/* ==========================================================================
   MJB AI — After Hours
   Warm dark · amber accent · editorial serif · premium boutique
   ========================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Warm dark palette */
  --bg: #0B0A08;
  --bg-elev: #100E0B;
  --surface: #141210;
  --surface-hi: #1C1A17;
  --surface-hi-2: #24211D;

  /* Warm-tinted borders */
  --border: rgba(255, 245, 220, 0.06);
  --border-hi: rgba(255, 245, 220, 0.12);
  --border-amber: rgba(255, 138, 61, 0.35);

  /* Warm text */
  --text: #F5EFE0;
  --text-mid: #C4BDAE;
  --text-mute: #8B8579;
  --text-dim: #5A554C;

  /* Amber accent — our signature */
  --amber: #FF8A3D;
  --amber-hi: #FFA362;
  --amber-glow: rgba(255, 138, 61, 0.28);
  --amber-glow-soft: rgba(255, 138, 61, 0.10);

  /* Success (for booked / positive) */
  --green: #4ADE80;
  --green-soft: rgba(74, 222, 128, 0.15);

  /* Typography */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-py: clamp(5rem, 12vw, 10rem);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-round: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--amber); color: var(--bg); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ==========================================================================
   AMBIENT BACKGROUND LAYERS
   ========================================================================== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(255, 245, 220, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 245, 220, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center top, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 20%, transparent 80%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 80vh;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(255, 138, 61, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 60%, rgba(255, 170, 100, 0.08), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: glow-drift 60s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-45%) translateY(30px) scale(1.05); }
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 0.9  0 0 0 0 0.7  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--amber-glow);
  animation: pulse 2.2s var(--ease-in-out) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

.section-head {
  max-width: 720px;
  margin-bottom: 4.5rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; display: flex; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-round);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out),
              background 220ms var(--ease-out),
              color 220ms var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--amber);
  color: #1A0F05;
  box-shadow:
    0 1px 0 rgba(255, 220, 180, 0.4) inset,
    0 10px 30px -8px var(--amber-glow),
    0 0 0 1px rgba(255, 138, 61, 0.4);
}

.btn--primary:hover {
  background: var(--amber-hi);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 220, 180, 0.5) inset,
    0 14px 40px -6px var(--amber-glow),
    0 0 0 1px rgba(255, 163, 98, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}

.btn--ghost:hover {
  background: var(--surface-hi);
  border-color: var(--border-amber);
  color: var(--amber-hi);
}

.btn--small {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}

.btn--large {
  padding: 1.15rem 1.85rem;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn__arrow {
  display: inline-block;
  transition: transform 220ms var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.15rem 0;
  transition: background 300ms var(--ease-out),
              backdrop-filter 300ms var(--ease-out),
              border-color 300ms var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(11, 10, 8, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
}

.nav__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.nav__dot {
  color: var(--amber);
}

.nav__eyebrow {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  padding-left: 0.6rem;
  border-left: 1px solid var(--border);
}

@media (min-width: 780px) {
  .nav__eyebrow { display: inline-flex; align-items: center; }
}

.nav__links {
  display: none;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: color 180ms var(--ease-out);
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 220ms var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding-top: clamp(7rem, 14vh, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
  }
}

.hero__copy > * + * { margin-top: 1.5rem; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-top: 1.75rem;
}

.hero__title em {
  font-style: italic;
  color: var(--amber);
  font-weight: 400;
  position: relative;
  font-family: var(--font-display);
}

.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-mid);
  max-width: 34rem;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  padding-top: 0.5rem;
}
.dot-sep { color: var(--text-dim); opacity: 0.5; }

/* Hero demo card */
.hero__demo {
  position: relative;
  perspective: 1200px;
}

.demo-card__glow {
  position: absolute;
  inset: -30% -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, var(--amber-glow), transparent 65%),
    radial-gradient(ellipse 50% 40% at 30% 70%, rgba(255, 100, 30, 0.15), transparent 60%);
  filter: blur(50px);
  animation: glow-pulse 6s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green);
  animation: pulse-ring 2s var(--ease-in-out) infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.demo-card__label::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(20, 18, 16, 0.6), transparent);
}

.trust-bar__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 3rem;
  text-align: center;
}

.trust-bar__label .line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--border);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  text-align: center;
}
@media (min-width: 720px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
}

.stat__label {
  margin-top: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.stat__source {
  max-width: 70ch;
  margin: 2rem auto 0;
  color: var(--text-mute);
  font-family: var(--font-body);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.problem {
  padding: var(--section-py) 0;
}

.problem__inner {
  max-width: 900px;
}

.problem__lines {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.problem__line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.problem__line--emphasis {
  color: var(--text-mid);
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.tick {
  font-family: var(--font-mono);
  font-size: 0.7em;
  color: var(--amber);
  padding: 0.15em 0.5em;
  background: rgba(255, 138, 61, 0.08);
  border: 1px solid var(--border-amber);
  border-radius: 6px;
  font-style: normal;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.underline-amber {
  position: relative;
  color: var(--amber);
  font-style: italic;
}

.underline-amber::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out);
}

.reveal-on-scroll.is-visible .underline-amber::after {
  transform: scaleX(1);
}

/* ==========================================================================
   HOW IT WORKS (TIMELINE)
   ========================================================================== */
.how {
  padding: var(--section-py) 0;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-left: 3.5rem;
}

@media (min-width: 900px) {
  .timeline {
    flex-direction: row;
    gap: 0;
    padding-left: 0;
    padding-top: 2rem;
  }
}

.timeline__line {
  position: absolute;
  top: 0;
  left: 1.15rem;
  width: 1px;
  height: 100%;
  background: var(--border);
}

.timeline__line-fill {
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--amber), transparent);
  transition: height 1.4s var(--ease-out);
}

@media (min-width: 900px) {
  .timeline__line {
    top: 3.2rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
  }
  .timeline__line-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--amber), transparent);
    transition: width 1.4s var(--ease-out);
  }
}

.step {
  position: relative;
  flex: 1;
  padding-inline: 0;
}

@media (min-width: 900px) {
  .step { padding-right: 2.5rem; padding-top: 5rem; }
  .step:last-child { padding-right: 0; }
}

.step__node {
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  display: grid;
  place-items: center;
  transition: border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}

@media (min-width: 900px) {
  .step__node {
    left: 0;
    top: 2rem;
  }
}

.reveal-on-scroll.is-visible .step__node {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.12), 0 0 30px var(--amber-glow-soft);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.05em;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.step__desc {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  max-width: 32ch;
}

.step__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.step__meta li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.03em;
  padding-left: 1rem;
  position: relative;
}
.step__meta li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-family: var(--font-body);
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries {
  padding: var(--section-py) 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 620px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }

.industry-card {
  position: relative;
  padding: 2rem 1.75rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 300ms var(--ease-out),
              border-color 300ms var(--ease-out),
              background 300ms var(--ease-out);
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-amber);
  background: var(--surface-hi);
}
.industry-card:hover::before { transform: scaleX(1); }

.industry-card__stat {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.industry-card__stat span {
  font-size: 0.55em;
  color: var(--text-mute);
  padding-left: 0.15em;
}

.industry-card__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.industry-card__desc {
  font-size: 0.9rem;
  color: var(--text-mute);
  line-height: 1.5;
}

/* ==========================================================================
   DEMO CTA (FORM)
   ========================================================================== */
.demo-cta {
  padding: var(--section-py) 0;
  position: relative;
}

.demo-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, var(--amber-glow-soft), transparent 70%);
  pointer-events: none;
}

.demo-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
}

@media (min-width: 900px) {
  .demo-cta__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
  }
}

.demo-cta__copy .section-title {
  margin-bottom: 1.25rem;
}

.demo-cta__lede {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 32rem;
}

.demo-form {
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.demo-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-form__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.85rem;
}
.demo-form__label:first-child { margin-top: 0; }

.demo-form__input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 200ms var(--ease-out),
              background 200ms var(--ease-out);
}

.demo-form__input::placeholder { color: var(--text-dim); }
.demo-form__input:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.12);
}

.demo-form button { margin-top: 1.25rem; }

.demo-form__note {
  font-size: 0.8rem;
  color: var(--text-mute);
  text-align: center;
  margin-top: 0.85rem;
}

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}

.founder__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
}

@media (min-width: 780px) {
  .founder__inner {
    grid-template-columns: 260px 1fr;
    gap: 4rem;
  }
}

.founder__photo {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--border-hi);
  display: grid;
  place-items: center;
  margin: 0 auto;
  overflow: visible;
}

.founder__initial {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 6rem;
  color: var(--amber);
  line-height: 1;
}

.founder__photo-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, var(--amber-glow), transparent 60%);
  filter: blur(30px);
  z-index: -1;
  opacity: 0.6;
}

.founder__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 1.5rem 0;
}

.founder__sig {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

.founder__name { color: var(--text); font-weight: 500; }
.founder__loc::before { content: '·'; margin-right: 0.65rem; color: var(--text-dim); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
  padding: var(--section-py) 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.tier {
  position: relative;
  padding: 2.25rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out);
}

.tier:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
}

.tier--featured {
  border-color: var(--border-amber);
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  box-shadow:
    0 30px 60px -30px var(--amber-glow),
    0 0 0 1px var(--border-amber);
}
.tier--featured:hover { transform: translateY(-6px); }

.tier__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #1A0F05;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-round);
  box-shadow: 0 6px 20px -6px var(--amber-glow);
}

.tier__head { }

.tier__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.tier__desc {
  font-size: 0.88rem;
  color: var(--text-mute);
  line-height: 1.5;
}

.tier__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.tier__price-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.tier__price-unit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

.tier__price-monthly {
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 0.4rem;
}

.tier__features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.tier__features li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.tier__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(45deg);
}

.pricing__guarantee {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border: 1px dashed var(--border-amber);
  border-radius: var(--r-lg);
  background: rgba(255, 138, 61, 0.03);
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing__guarantee strong {
  color: var(--amber);
  font-weight: 500;
}

.pricing__guarantee-mark {
  color: var(--amber);
  margin-right: 0.5rem;
  font-size: 1.1em;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 250ms var(--ease-out);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 200ms var(--ease-out);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.75rem;
  color: var(--amber);
  line-height: 1;
  transition: transform 350ms var(--ease-out);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary { color: var(--amber-hi); }

.faq-item__body {
  padding-bottom: 1.75rem;
  padding-right: 3rem;
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.65;
  animation: faq-in 400ms var(--ease-out);
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 60% at 50% 100%, var(--amber-glow), transparent 70%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.final-cta__inner .eyebrow { justify-content: center; display: inline-flex; }

.final-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 1.75rem 0 2.5rem;
}

.final-cta__title span {
  display: block;
  color: var(--amber);
  font-style: italic;
}

.final-cta__note {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 700px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.footer__tagline {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-mute);
}

.footer__meta {
  text-align: left;
}

@media (min-width: 700px) {
  .footer__meta { text-align: right; }
}

.footer__meta p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.footer__meta a {
  color: var(--text);
  transition: color 200ms var(--ease-out);
}
.footer__meta a:hover { color: var(--amber); }

.footer__consent {
  padding: 0;
  color: var(--text-mute);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer__consent:hover { color: var(--amber); }

.consent-banner {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: 760px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-md);
  background: var(--surface-hi);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.consent-banner[hidden] { display: none; }

.consent-banner__copy { max-width: 52ch; }
.consent-banner__title {
  margin-bottom: 0.2rem;
  color: var(--text);
  font-weight: 600;
}
.consent-banner__copy p:last-child {
  color: var(--text-mid);
  font-size: 0.82rem;
  line-height: 1.45;
}
.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .consent-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .consent-banner__actions { justify-content: flex-end; }
}

/* ==========================================================================
   TRUST BADGES STRIP
   ========================================================================== */
.trust-badges {
  padding: clamp(3rem, 5vw, 4rem) 0 0;
}

.badge-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}

@media (min-width: 620px) { .badge-strip { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } }
@media (min-width: 980px) { .badge-strip { grid-template-columns: repeat(5, 1fr); } }

.badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  transition: background 200ms var(--ease-out);
}

.badge:hover { background: var(--surface-hi); }

.badge__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--amber);
  stroke-width: 1.5;
}

.badge__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.2;
}

.badge__link,
.trust-link {
  color: inherit;
  text-decoration: none;
}

.badge__link:hover,
.trust-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.badge__sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-mute);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   INLINE EXPLAINER — auto-playing SaaS mockup animation
   ========================================================================== */
.explainer {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}

.explainer__stage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  background: radial-gradient(ellipse at center, var(--bg-elev), var(--bg));
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.8),
    0 20px 60px -20px var(--amber-glow-soft),
    inset 0 1px 0 rgba(255, 245, 220, 0.05);
}

.explainer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  background: var(--bg);
  display: none;
}
.explainer__stage.has-video .explainer__video {
  display: block;
}
.explainer__stage.has-video .scene,
.explainer__stage.has-video .stage__grid,
.explainer__stage.has-video .stage__glow,
.explainer__stage.has-video .stage__progress,
.explainer__stage.has-video .stage__dots {
  display: none;
}

.stage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 245, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 245, 220, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.stage__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, var(--amber-glow), transparent 65%);
  filter: blur(50px);
  opacity: 0.7;
  animation: stage-glow-shift 8s var(--ease-in-out) infinite alternate;
}

@keyframes stage-glow-shift {
  0%   { transform: translate(-5%, 0); opacity: 0.5; }
  100% { transform: translate(5%, -5%); opacity: 0.8; }
}

/* Scenes */
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms var(--ease-out), visibility 600ms;
  z-index: 2;
}

.scene.is-active {
  opacity: 1;
  visibility: visible;
}

.scene__eyebrow {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  padding: 0.35rem 0.7rem;
  background: rgba(20, 18, 16, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-round);
  backdrop-filter: blur(8px);
}

.scene__caption {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--text);
  margin-top: 2rem;
  text-align: center;
}

.scene__caption-2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--amber);
  text-align: center;
  margin-top: 0.5rem;
}

/* Scene 1: Clock */
.clock {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(5rem, 14vw, 10rem);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 40px var(--amber-glow);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.clock__ampm {
  font-family: var(--font-mono);
  font-size: 0.18em;
  color: var(--amber);
  letter-spacing: 0.15em;
}

.scene--clock.is-active .clock {
  animation: clock-pulse 2s var(--ease-in-out) infinite alternate;
}

@keyframes clock-pulse {
  0%   { text-shadow: 0 0 20px var(--amber-glow); }
  100% { text-shadow: 0 0 60px var(--amber-glow), 0 0 100px rgba(255, 138, 61, 0.3); }
}

/* Scene 2: Browser mock */
.browser-mock {
  width: min(90%, 640px);
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: var(--surface-hi);
  border-bottom: 1px solid var(--border);
}

.browser-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-hi-2);
}
.browser-mock__dot:nth-child(1) { background: rgba(255, 100, 100, 0.5); }
.browser-mock__dot:nth-child(2) { background: rgba(255, 200, 100, 0.5); }
.browser-mock__dot:nth-child(3) { background: rgba(100, 220, 130, 0.5); }

.browser-mock__url {
  flex: 1;
  margin-left: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg);
  border-radius: var(--r-round);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  text-align: center;
}

.browser-mock__body {
  padding: 1.5rem;
}

.browser-mock__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.browser-mock__input {
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.9rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  position: relative;
}

.scene--miss.is-active .typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typewriter-in 2s steps(45) 0.5s forwards;
}

@keyframes typewriter-in {
  to { width: 100%; }
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--amber);
  margin-left: 2px;
  animation: caret-blink 0.9s infinite;
}

@keyframes caret-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.browser-mock__btn {
  margin-top: 1rem;
  padding: 0.7rem 1.2rem;
  background: var(--amber);
  color: #1A0F05;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(4px);
}

.scene--miss.is-active .browser-mock__btn {
  animation: fade-up 400ms var(--ease-out) 2.7s forwards;
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.inbox-empty {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px dashed rgba(255, 100, 100, 0.35);
  border-radius: var(--r-md);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  background: rgba(255, 100, 100, 0.03);
}

.scene--miss.is-active .inbox-empty {
  animation: fade-up 500ms var(--ease-out) 3.6s forwards;
}

.inbox-empty__mail {
  font-size: 1.8rem;
  color: rgba(255, 100, 100, 0.6);
  margin-bottom: 0.5rem;
}

.inbox-empty p {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255, 130, 130, 0.9);
  font-style: italic;
}

.inbox-empty__sub {
  font-family: var(--font-mono) !important;
  font-size: 0.7rem !important;
  color: var(--text-mute) !important;
  font-style: normal !important;
  margin-top: 0.35rem;
  letter-spacing: 0.03em;
}

/* Scene 3: MJB reveal */
.mjb-reveal {
  text-align: center;
}

.mjb-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 60px var(--amber-glow);
}

.mjb-wordmark span {
  color: var(--amber);
  animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.mjb-tag {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--amber);
}

.scene--enter.is-active .mjb-wordmark {
  animation: reveal-scale 900ms var(--ease-out);
}

.scene--enter.is-active .mjb-tag {
  animation: fade-up 700ms var(--ease-out) 0.5s both;
}

@keyframes reveal-scale {
  from { opacity: 0; transform: scale(0.85); filter: blur(8px); }
  to   { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Scene 4: Chat */
.chat-mock {
  width: min(90%, 460px);
  background: var(--surface-hi);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 40px var(--amber-glow-soft);
}

.chat-mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.chat-mock__id {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chat-mock__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #C0552B);
  color: #1A0F05;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.chat-mock__name {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
}

.chat-mock__status {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-mute);
  margin-top: 2px;
}

.chat-mock__time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-mute);
}

.chat-mock__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 240px;
}

.chat-msg {
  max-width: 85%;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
}

.chat-msg--bot {
  background: var(--surface-hi-2);
  color: var(--text);
  border-top-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid var(--border);
}

.chat-msg--user {
  background: var(--amber);
  color: #1A0F05;
  border-top-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}

.chat-msg--success {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.3);
  align-self: flex-start;
}

.scene--chat.is-active .chat-anim-1 { animation: fade-up 500ms var(--ease-out) 0.3s forwards; }
.scene--chat.is-active .chat-anim-2 { animation: fade-up 500ms var(--ease-out) 2.0s forwards; }
.scene--chat.is-active .chat-anim-3 { animation: fade-up 500ms var(--ease-out) 3.8s forwards; }
.scene--chat.is-active .chat-anim-4 { animation: fade-up 500ms var(--ease-out) 6.0s forwards; }
.scene--chat.is-active .chat-anim-5 { animation: fade-up 600ms var(--ease-out) 8.0s forwards; }

/* Scene 5: Result */
.result-split {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  width: min(90%, 700px);
}

.result-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 200px;
}

.result-side--sleep {
  background: linear-gradient(135deg, #0a0808, #141010);
}

.moon {
  font-size: 3rem;
  color: rgba(255, 245, 220, 0.4);
  animation: moon-drift 4s ease-in-out infinite alternate;
}

@keyframes moon-drift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.result-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--amber), transparent);
  opacity: 0.5;
}

.notif-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.notif {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  background: var(--surface-hi);
  border: 1px solid rgba(74, 222, 128, 0.35);
  box-shadow: inset 0 0 0 1px var(--green-soft);
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateX(20px);
}

.scene--result.is-active .notif-anim-1 { animation: notif-slide 500ms var(--ease-out) 0.3s forwards; }
.scene--result.is-active .notif-anim-2 { animation: notif-slide 500ms var(--ease-out) 1.0s forwards; }
.scene--result.is-active .notif-anim-3 { animation: notif-slide 500ms var(--ease-out) 1.7s forwards; }

@keyframes notif-slide {
  to { opacity: 1; transform: translateX(0); }
}

.notif__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.notif__title {
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
}

.notif__sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-mute);
  margin-top: 1px;
}

.result-stat {
  margin-top: 1.5rem;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border: 1px dashed var(--border-amber);
  border-radius: var(--r-round);
  background: rgba(255, 138, 61, 0.04);
  opacity: 0;
}

.scene--result.is-active .result-stat {
  animation: fade-up 600ms var(--ease-out) 2.3s forwards;
}

.result-stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--amber);
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.result-stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

/* Scene 6: CTA */
.cta-reveal {
  text-align: center;
}

.cta-wordmark {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 1rem;
}

.cta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--text);
  margin-bottom: 1.25rem;
}

.cta-url {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--amber);
  color: #1A0F05;
  border-radius: var(--r-round);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px -8px var(--amber-glow);
}

/* Progress bar + dots */
.stage__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 5;
}

.stage__progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--amber), var(--amber-hi));
  box-shadow: 0 0 12px var(--amber-glow);
  transition: width 100ms linear;
}

.stage__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 5;
}

.stage__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-hi);
  transition: background 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.stage__dot.is-active {
  background: var(--amber);
  transform: scale(1.4);
}

.explainer__caption {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* ==========================================================================
   GUARANTEE SEAL STRIP
   ========================================================================== */
.guarantee-seal-strip {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.seal-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border-amber);
  border-radius: var(--r-xl);
  box-shadow: 0 30px 80px -30px var(--amber-glow);
  position: relative;
  overflow: hidden;
}

.seal-row::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 30% 30% at 20% 50%, var(--amber-glow-soft), transparent 60%);
  pointer-events: none;
  animation: seal-glow 6s ease-in-out infinite alternate;
}

@keyframes seal-glow {
  0%   { opacity: 0.5; transform: translate(0, 0); }
  100% { opacity: 1; transform: translate(5%, -3%); }
}

@media (min-width: 780px) {
  .seal-row {
    grid-template-columns: 180px 1fr;
    gap: 3.5rem;
  }
}

.seal {
  position: relative;
  margin: 0 auto;
}

.seal__badge {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  animation: seal-rotate 40s linear infinite;
}

@keyframes seal-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.seal__inner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: seal-rotate-reverse 40s linear infinite;
}

@keyframes seal-rotate-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.seal__top {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.03em;
}

.seal__mid {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text);
  letter-spacing: 0.2em;
}

.seal__bot {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-mute);
  letter-spacing: 0.15em;
}

.seal__ring {
  width: 100%;
  height: 100%;
  fill: var(--amber);
}

.seal__text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.seal-copy__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  color: var(--text);
  margin: 1rem 0;
  letter-spacing: -0.015em;
}

.seal-copy__desc {
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.seal-copy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.seal-copy__meta li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   DEMO FORM TRUST LIST
   ========================================================================== */
.demo-form__trust {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.demo-form__trust li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   FOOTER MARKS
   ========================================================================== */
.footer__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}

.footer__mark {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-round);
}

.footer__copyright {
  margin-top: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.js .reveal, .js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.js .reveal { animation: reveal-in 900ms var(--ease-out) 0.15s forwards; }
.reveal--delay-1 { animation-delay: 0.35s; }
.reveal--delay-2 { animation-delay: 0.55s; }
.reveal--delay-3 { animation-delay: 0.75s; }

@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Split words hero title animation */
.split-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: word-in 700ms var(--ease-out) forwards;
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bg-glow, .demo-card__glow { animation: none; }
  .js .reveal, .js .reveal-on-scroll { opacity: 1; transform: none; }
  .split-words .word { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO PREVIEW — client website + docked MJB widget
   The widget only reads as "real" if it's sitting on someone else's page.
   The client site is deliberately light + generic-sans (a typical local
   business site); the widget is our warm dark + amber. That contrast is
   the whole point.
   ========================================================================== */

.preview {
  position: relative;
  perspective: 1400px;
}

/* ---------- Browser chrome ---------- */
.brw {
  position: relative;
  z-index: 2;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 20px 40px -15px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 245, 220, 0.05);
  transform-style: preserve-3d;
  transition: transform 400ms var(--ease-out);
}

.brw__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(180deg, #1E1B17 0%, #171512 100%);
  border-bottom: 1px solid var(--border);
}

.brw__lights { display: flex; gap: 5px; flex-shrink: 0; }
.brw__lights i {
  width: 9px;
  height: 9px;
  border-radius: var(--r-round);
  background: #3A352E;
}
.brw__lights i:nth-child(1) { background: #FF5F57; }
.brw__lights i:nth-child(2) { background: #FEBC2E; }
.brw__lights i:nth-child(3) { background: #28C840; }

.brw__tab {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 42%;
  padding: 3px 9px;
  border-radius: 6px 6px 0 0;
  background: var(--surface-hi);
  font-size: 0.62rem;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
}
.brw__tabname { overflow: hidden; text-overflow: ellipsis; }
.brw__favicon {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-radius: 3px;
  background: #24483A;
  color: #EAF3EE;
  font-size: 0.5rem;
  font-weight: 700;
}

.brw__url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 3px 10px;
  border-radius: var(--r-round);
  background: rgba(255, 245, 220, 0.045);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brw__lock { width: 9px; height: 9px; flex-shrink: 0; color: var(--green); }

.brw__clock {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.brw__view {
  position: relative;
  height: clamp(330px, 44vw, 400px);
  overflow: hidden;
  background: #F7F4EE;
}

/* Night dimming — it's 2:17 AM, nobody is minding this site */
.brw__view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(11, 10, 8, 0.05), rgba(11, 10, 8, 0.22));
}

/* ---------- The client's site (decorative background) ---------- */
.cs {
  position: absolute;
  inset: 0;
  padding: 0.75rem 0.85rem 0;
  background: #F7F4EE;
  color: #2A2621;
  /* Deliberately generic — real local-business sites look like this */
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.62rem;
  line-height: 1.45;
  user-select: none;
}

.cs__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(36, 72, 58, 0.13);
}
.cs__logo {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #24483A;
}
.cs__logo em { font-style: normal; font-weight: 400; opacity: 0.65; }
.cs__links { display: flex; gap: 0.7rem; font-size: 0.56rem; color: #5E6B64; }
.cs__links span:first-child { color: #24483A; font-weight: 600; }
.cs__tel {
  font-size: 0.56rem;
  font-weight: 600;
  color: #24483A;
  padding: 2px 7px;
  border: 1px solid rgba(36, 72, 58, 0.25);
  border-radius: var(--r-round);
}

.cs__hero { padding: 0.9rem 0 0.75rem; }
.cs__eyebrow {
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  color: #8A9691;
  margin-bottom: 0.3rem;
}
.cs__h {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1B332A;
  margin-bottom: 0.55rem;
}
.cs__search {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #FFF;
  border: 1px solid rgba(36, 72, 58, 0.16);
  border-radius: 7px;
  box-shadow: 0 2px 8px -4px rgba(27, 51, 42, 0.25);
}
.cs__pill {
  padding: 3px 8px;
  border-radius: 4px;
  background: #F1EEE7;
  font-size: 0.54rem;
  color: #4A554F;
}
.cs__pill--max { color: #24483A; font-weight: 600; }
.cs__searchbtn {
  margin-left: auto;
  padding: 3px 11px;
  border-radius: 4px;
  background: #24483A;
  color: #F2F7F4;
  font-size: 0.54rem;
  font-weight: 600;
}

.cs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.cs__card {
  background: #FFF;
  border: 1px solid rgba(36, 72, 58, 0.1);
  border-radius: 7px;
  overflow: hidden;
  padding-bottom: 0.4rem;
  box-shadow: 0 2px 10px -6px rgba(27, 51, 42, 0.3);
}
.cs__photo {
  position: relative;
  height: 48px;
  overflow: hidden;
}
.cs__photo svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  fill: #1B332A;
}
.cs__photo--a { background: linear-gradient(160deg, #C9D6CF, #9FB3AA); }
.cs__photo--b { background: linear-gradient(160deg, #D8CFC0, #B0A392); }
.cs__photo--c { background: linear-gradient(160deg, #C4CEDA, #97A6B6); }

.cs__price {
  padding: 0.35rem 0.45rem 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: #1B332A;
}
.cs__price small { font-size: 0.46rem; font-weight: 400; color: #7C8681; }
.cs__addr { padding: 0 0.45rem; font-size: 0.52rem; color: #4A554F; }
.cs__spec { padding: 0 0.45rem; font-size: 0.48rem; color: #8A9691; }

.cs__closed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.6rem;
  padding: 3px 9px;
  border-radius: var(--r-round);
  background: rgba(160, 60, 40, 0.09);
  font-size: 0.5rem;
  color: #9C4B36;
}
.cs__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.cs__more {
  font-size: 0.5rem;
  font-weight: 600;
  color: #24483A;
  white-space: nowrap;
}

.cs__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 7px;
  background: linear-gradient(135deg, #24483A, #1B332A);
  color: #EAF3EE;
}
.cs__bandh {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.66rem;
  line-height: 1.2;
  margin-bottom: 1px;
}
.cs__bandsub {
  font-size: 0.5rem;
  line-height: 1.35;
  color: rgba(234, 243, 238, 0.62);
  max-width: 25ch;
}
.cs__bandbtn {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 4px;
  background: #F7F4EE;
  color: #1B332A;
  font-size: 0.52rem;
  font-weight: 700;
  white-space: nowrap;
}

.cs__closeddot {
  width: 5px;
  height: 5px;
  border-radius: var(--r-round);
  background: #C25A3E;
}

/* ---------- The MJB widget ---------- */
.wg {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.wg__panel {
  width: min(244px, 72vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface-hi) 0%, var(--surface) 100%);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 48px -18px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 138, 61, 0.08),
    inset 0 1px 0 rgba(255, 245, 220, 0.06);
  transform-origin: 100% 100%;
  transition:
    transform 480ms var(--ease-out),
    opacity 320ms var(--ease-out);
}

.wg[data-state="closed"] .wg__panel {
  transform: scale(0.86) translateY(12px);
  opacity: 0;
  pointer-events: none;
}
.wg[data-state="open"] .wg__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.wg__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.65rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 138, 61, 0.045);
}
.wg__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: var(--r-round);
  background: linear-gradient(150deg, var(--amber-hi), var(--amber));
  color: #2A1405;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
}
.wg__online {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border-radius: var(--r-round);
  background: var(--green);
  border: 1.5px solid var(--surface-hi);
}
.wg__meta { min-width: 0; flex: 1; }
.wg__name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wg__sub {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.55rem;
  color: var(--text-mute);
}
.wg__min { width: 13px; height: 13px; color: var(--text-dim); flex-shrink: 0; }
.wg__min svg { width: 100%; height: 100%; }

.wg__log {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  height: 208px;
  padding: 0.65rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.wg__log::-webkit-scrollbar { display: none; }

/* Anchor messages to the bottom like a real chat log. margin-top:auto on the
   first child (not justify-content:flex-end) so overflow still scrolls. */
.wg__log > *:first-child { margin-top: auto; }

/* Fade the top edge so a scrolled-away message reads as history, not a bug */
.wg__log {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15px);
          mask-image: linear-gradient(180deg, transparent 0, #000 15px);
}

/* Message bubbles */
.wg__row {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  animation: wg-in 420ms var(--ease-out) both;
}
.wg__row--bot { align-self: flex-start; align-items: flex-start; }
.wg__row--user { align-self: flex-end; align-items: flex-end; }

@keyframes wg-in {
  from { opacity: 0; transform: translateY(7px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wg__bubble {
  padding: 0.4rem 0.6rem;
  font-size: 0.66rem;
  line-height: 1.42;
}
.wg__row--bot .wg__bubble {
  background: var(--surface-hi-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 13px 13px 13px 4px;
}
.wg__row--user .wg__bubble {
  background: linear-gradient(160deg, var(--amber-hi), var(--amber));
  color: #2A1405;
  font-weight: 500;
  border-radius: 13px 13px 4px 13px;
}
.wg__time {
  margin-top: 2px;
  padding: 0 2px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* Typing indicator */
.wg__typing {
  display: flex;
  align-items: center;
  gap: 3px;
  align-self: flex-start;
  padding: 0.48rem 0.62rem;
  background: var(--surface-hi-2);
  border: 1px solid var(--border);
  border-radius: 13px 13px 13px 4px;
  animation: wg-in 300ms var(--ease-out) both;
}
.wg__typing i {
  width: 4px;
  height: 4px;
  border-radius: var(--r-round);
  background: var(--text-mute);
  animation: wg-pulse 1.25s var(--ease-in-out) infinite;
}
.wg__typing i:nth-child(2) { animation-delay: 0.16s; }
.wg__typing i:nth-child(3) { animation-delay: 0.32s; }

@keyframes wg-pulse {
  0%, 60%, 100% { opacity: 0.45; }
  30%           { opacity: 1; }
}

/* Booking confirmation — a rich card, which is what real bots send */
.wg__booking {
  align-self: flex-start;
  display: flex;
  gap: 0.5rem;
  width: 92%;
  padding: 0.5rem;
  background: var(--green-soft);
  border: 1px solid rgba(74, 222, 128, 0.32);
  border-radius: 13px 13px 13px 4px;
  animation: wg-in 460ms var(--ease-out) both;
}
.wg__cal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(11, 10, 8, 0.4);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.wg__calmon {
  width: 100%;
  padding: 1px 0;
  background: var(--green);
  color: #06240F;
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}
.wg__calday {
  padding: 1px 0 2px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  line-height: 1;
  color: var(--text);
}
.wg__bookmeta { min-width: 0; }
.wg__booktitle {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1px;
}
.wg__bookline { font-size: 0.58rem; color: var(--text-mid); line-height: 1.35; }
.wg__bookline strong { color: var(--text); font-weight: 600; }
.wg__booktag {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.5rem;
  color: var(--text-mute);
}

/* Quick-reply chips */
.wg__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 0.65rem;
}
.wg__chips:not(:empty) { padding-bottom: 0.45rem; }
.wg__chip {
  padding: 3px 8px;
  border: 1px solid var(--border-amber);
  border-radius: var(--r-round);
  background: rgba(255, 138, 61, 0.06);
  font-size: 0.58rem;
  color: var(--amber-hi);
  white-space: nowrap;
  animation: wg-in 340ms var(--ease-out) both;
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.wg__chip--tapped {
  background: var(--amber);
  color: #2A1405;
  transform: scale(0.94);
}

/* Input bar */
.wg__input {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0.65rem 0.4rem;
  padding: 5px 5px 5px 10px;
  background: rgba(11, 10, 8, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--r-round);
}
.wg__field {
  flex: 1;
  min-width: 0;
  font-size: 0.62rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}
.wg__ph { color: var(--text-dim); }
.wg__field::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.72rem;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--amber);
  opacity: 0;
}
.wg--typing .wg__field::after {
  opacity: 1;
  animation: wg-caret 1s steps(1) infinite;
}
@keyframes wg-caret {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.wg__send {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border-radius: var(--r-round);
  background: var(--surface-hi-2);
  color: var(--text-dim);
  transition:
    background 240ms var(--ease-out),
    color 240ms var(--ease-out),
    transform 240ms var(--ease-out);
}
.wg__send svg { width: 10px; height: 10px; }
.wg--armed .wg__send {
  background: linear-gradient(150deg, var(--amber-hi), var(--amber));
  color: #2A1405;
}
.wg--sending .wg__send { transform: scale(0.85); }

.wg__brand {
  padding-bottom: 0.45rem;
  text-align: center;
  font-size: 0.5rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.wg__brand strong { color: var(--text-mute); font-weight: 600; }

/* Launcher */
.wg__launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-round);
  background: linear-gradient(150deg, var(--amber-hi), var(--amber));
  color: #2A1405;
  box-shadow:
    0 10px 26px -8px rgba(255, 138, 61, 0.6),
    0 4px 10px -3px rgba(0, 0, 0, 0.5);
  transition: transform 420ms var(--ease-out), opacity 260ms var(--ease-out);
}
.wg__launchicon { width: 19px; height: 19px; }

.wg[data-state="open"] .wg__launcher {
  transform: scale(0.55);
  opacity: 0;
  pointer-events: none;
}
.wg[data-state="closed"] .wg__launcher {
  animation: wg-nudge 2.6s var(--ease-in-out) infinite;
}
@keyframes wg-nudge {
  0%, 82%, 100% { transform: scale(1) translateY(0); }
  88%           { transform: scale(1.06) translateY(-3px); }
  94%           { transform: scale(1) translateY(0); }
}

.wg__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: var(--r-round);
  background: #E5484D;
  border: 1.5px solid var(--surface);
  color: #FFF;
  font-size: 0.5rem;
  font-weight: 700;
  transition: opacity 200ms var(--ease-out);
}
.wg[data-state="open"] .wg__badge { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 999px) {
  .preview { max-width: 540px; margin-inline: auto; }
}

@media (max-width: 560px) {
  .brw__view { height: 340px; }
  .brw__tab { display: none; }
  .cs__grid { grid-template-columns: repeat(2, 1fr); }
  .cs__card:nth-child(3) { display: none; }
  .wg__panel { width: min(232px, 80%); }
  .wg__log { height: 178px; }
}

@media (prefers-reduced-motion: reduce) {
  .wg[data-state="closed"] .wg__launcher { animation: none; }
  .wg__panel,
  .wg__row,
  .wg__booking,
  .wg__chip,
  .wg__typing {
    animation: none !important;
    transition: none !important;
  }
  .wg__typing i { animation: none; }
  .wg__log { scroll-behavior: auto; }
}
