/* ==========================================================================
   WayIn — website styles
   by Prospect · wayin-ai.com

   Structure
   01 Tokens            06 Hero + app mount      11 Pricing
   02 Base              07 Problem / chat UI     12 FAQ
   03 Layout            08 How it works          13 CTA band + footer
   04 Type + buttons    09 Before / after        14 Consulting page
   05 Header + nav      10 Video, outputs, learn 15 Contact page
                                                  16 Motion + utilities
   ========================================================================== */

/* 01 · Tokens ------------------------------------------------------------- */
:root {
  /* Brand palette (from the WayIn logo package + Prospect tokens) */
  --forest:        #122113;   /* primary dark */
  --forest-deep:   #0C1710;   /* footer */
  --forest-raise:  #1B2B1C;   /* raised surface on dark */
  --forest-card:   #2C392D;   /* card on dark (as in the ads) */
  --forest-line:   #3A4A3A;   /* hairlines on dark */
  --moss:          #425E37;
  --linen:         #F3EFE6;   /* primary light */
  --cream:         #EAE5D9;   /* raised surface on light */
  --parchment:     #E0D8C6;   /* hairlines on light */
  --ash:           #CFC6B2;
  --gold:          #825A0A;   /* gold for text/lines on light */
  --gold-ink:      #6A4908;   /* gold hover on light */
  --gold-pale:     #D6AD66;   /* gold on dark */
  --gold-card:     #D4AA66;   /* gold fill (ads) */
  --gold-wash:     #E6C489;

  /* Text */
  --ink:           #122113;
  --ink-soft:      #364236;
  --ink-muted:     #5A6455;   /* ≥ 5:1 on linen */
  --on-dark:       #F3EFE6;
  --on-dark-soft:  #C9C6BA;
  --on-dark-muted: #A9A99D;   /* ≥ 6:1 on forest */

  /* Type */
  --font-display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero:  clamp(2.6rem, 1.5rem + 4.4vw, 4.75rem);
  --fs-h2:    clamp(2.1rem, 1.4rem + 3vw, 4rem);
  --fs-h3:    clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  --fs-lead:  clamp(1.15rem, 1.05rem + .5vw, 1.45rem);
  --fs-body:  1.125rem;   /* 18px — legible for older readers */
  --fs-small: 1rem;
  --fs-tiny:  .875rem;

  /* Space + shape */
  --gutter:   clamp(16px, 4vw, 48px);
  --max:      1200px;
  --max-text: 40rem;
  --sec-y:    clamp(72px, 10vw, 140px);
  --r-xl:     32px;
  --r-lg:     24px;
  --r-md:     16px;
  --r-sm:     10px;
  --r-pill:   999px;

  --shadow-card: 0 24px 60px -24px rgba(12, 23, 16, .35);
  --shadow-soft: 0 10px 30px -12px rgba(12, 23, 16, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .28s;

  --header-h: 72px;
}

/* 02 · Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 76px); }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold-wash); color: var(--forest); }

:focus-visible { outline: 3px solid var(--gold-pale); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible, .section--light :focus-visible, .section--cream :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold-pale); color: var(--forest);
  padding: 12px 18px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 03 · Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec-y) 0; position: relative; }
.section--dark  { background: var(--forest); color: var(--on-dark); }
.section--raise { background: var(--forest-raise); color: var(--on-dark); }
.section--light { background: var(--linen); color: var(--ink); }
.section--cream { background: var(--cream); color: var(--ink); }

.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left  { grid-template-columns: 1.1fr .9fr; }
  .split--wide-right { grid-template-columns: .9fr 1.1fr; }
  .split--top { align-items: start; }
}
@media (max-width: 959px) { .split .order-last-mobile { order: 2; } }

.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* 04 · Type + buttons ----------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.section--dark .eyebrow, .section--raise .eyebrow, .on-dark .eyebrow { color: var(--gold-pale); }
/* the signature mark: the gold leaf of the Folded Portal, as a bullet */
.eyebrow::before {
  content: ""; width: 9px; height: 22px; flex: none;
  background: currentColor;
  clip-path: polygon(0 0, 100% 19%, 100% 100%, 0 81%);
}
.section-head--center .eyebrow { justify-content: center; }

.h-hero { font-size: var(--fs-hero); letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); font-weight: 400; }
.section--dark .lead, .section--raise .lead, .on-dark .lead { color: var(--on-dark-soft); }
.sub-quiet { color: var(--ink-muted); }
.section--dark .sub-quiet, .section--raise .sub-quiet { color: var(--on-dark-muted); }
.h2 + .lead, .h-hero + .lead { margin-top: 24px; }
.prose p + p { margin-top: 1em; }
.prose { max-width: var(--max-text); }
.muted-line { color: var(--on-dark-muted); font-weight: 300; }
.section--light .muted-line, .section--cream .muted-line { color: var(--ink-muted); }

.btn {
  --btn-bg: var(--forest); --btn-fg: var(--linen); --btn-bd: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border-radius: var(--r-pill); border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold   { --btn-bg: var(--gold-pale); --btn-fg: var(--forest); --btn-bd: var(--gold-pale); }
.btn--gold:hover { --btn-bg: var(--gold-wash); --btn-bd: var(--gold-wash); }
.btn--dark:hover { --btn-bg: var(--forest-raise); --btn-bd: var(--forest-raise); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(243, 239, 230, .35); }
.btn--ghost-dark:hover { --btn-bd: var(--on-dark); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: rgba(18, 33, 19, .3); }
.btn--ghost:hover { --btn-bd: var(--forest); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.text-link {
  font-weight: 700; color: var(--gold); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--gold-ink); }
.section--dark .text-link, .section--raise .text-link { color: var(--gold-pale); }

/* 05 · Header + nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 33, 19, .92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--forest-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 32px; width: auto; }
.brand__by {
  font-size: .8rem; color: var(--on-dark-muted); letter-spacing: .02em;
  padding-left: 14px; border-left: 1px solid var(--forest-line); line-height: 1.2;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; list-style: none; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  color: var(--on-dark-soft); transition: color var(--dur), background var(--dur);
}
.nav__link:hover { color: var(--on-dark); background: rgba(243, 239, 230, .06); }
.nav__link[aria-current="page"] { color: var(--on-dark); }
.nav__link[aria-current="page"]::after {
  content: ""; width: 5px; height: 12px; margin-left: 8px; background: var(--gold-pale);
  clip-path: polygon(0 0, 100% 19%, 100% 100%, 0 81%);
}
.nav__cta { margin-left: 12px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px;
  background: transparent; border: 1px solid var(--forest-line); cursor: pointer;
  align-items: center; justify-content: center; color: var(--on-dark);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .brand__by { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest); border-bottom: 1px solid var(--forest-line);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur), visibility 0s linear var(--dur);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { min-height: 56px; font-size: 1.25rem; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--forest-line); }
  .nav__link:hover { background: transparent; }
  .nav__cta { margin: 20px 0 0; width: 100%; }
}

/* 06 · Hero + app mount --------------------------------------------------- */
.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); overflow: hidden; }
.hero::before {
  /* warm light from a door left ajar — the WayIn ad's key light */
  content: ""; position: absolute; pointer-events: none;
  width: 900px; height: 900px; right: -260px; top: -200px;
  background: radial-gradient(closest-side, rgba(214, 173, 102, .16), rgba(214, 173, 102, 0) 70%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.hero__title .line-2 { display: block; color: var(--gold-pale); }
.hero .lead { max-width: 34rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; list-style: none; color: var(--on-dark-soft); font-size: var(--fs-small); }
.hero__points li { display: inline-flex; align-items: center; gap: 10px; }
.hero__points svg { width: 18px; height: 18px; color: var(--gold-pale); flex: none; }

/* The product card — the developer mounts the live app inside #wayin-app */
.app-card {
  position: relative;
  background: var(--forest-card);
  border: 1px solid var(--forest-line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.app-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.app-card__head img { height: 26px; width: auto; }
.app-card__step { font-size: var(--fs-tiny); color: var(--on-dark-muted); font-weight: 600; letter-spacing: .04em; }
.app-card__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -.02em; line-height: 1.15; color: var(--on-dark); }
.app-card__hint { margin-top: 8px; color: var(--on-dark-muted); font-size: var(--fs-small); }
.app-card__field {
  margin-top: 22px;
  display: block; width: 100%; min-height: 128px; resize: vertical;
  background: var(--linen); color: var(--ink);
  border: 2px solid transparent; border-radius: var(--r-lg);
  padding: 18px 20px; font-size: 1.1875rem; line-height: 1.5;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.app-card__field::placeholder { color: #7C8276; }
.app-card__field:focus { outline: none; border-color: var(--gold-pale); box-shadow: 0 0 0 5px rgba(214, 173, 102, .22); }
.app-card__field[aria-invalid="true"] { border-color: #E08B6F; }
.app-card__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 18px; }
.app-card__fine { font-size: var(--fs-tiny); color: var(--on-dark-muted); flex: 1 1 180px; }
.app-card__error { margin-top: 10px; color: #F0A68C; font-size: var(--fs-small); min-height: 0; }
.app-card__note {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md);
  background: rgba(214, 173, 102, .12); color: var(--on-dark-soft); font-size: var(--fs-small);
}
.app-card__examples { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--forest-line); }
.app-card__examples p { font-size: var(--fs-tiny); color: var(--on-dark-muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--forest-line);
  background: transparent; color: var(--on-dark-soft); font-size: .9375rem; font-weight: 500;
  cursor: pointer; transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.chip:hover { border-color: var(--gold-pale); color: var(--on-dark); }
.chip--static { cursor: default; }
.chips--light .chip { border-color: var(--parchment); color: var(--ink-soft); background: var(--linen); }

/* 07 · Problem / chat UI -------------------------------------------------- */
.chat {
  background: var(--linen);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 44px);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--parchment);
}
.section--light .chat { background: #FBF9F4; }
.chat__bar { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--parchment); font-weight: 600; font-size: var(--fs-small); color: var(--ink-soft); }
.chat__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ash); flex: none; }
.chat__bar img { height: 22px; width: auto; }
.bubble-user {
  margin-left: auto; width: fit-content; max-width: 88%;
  background: var(--forest); color: var(--on-dark);
  padding: 14px 22px; border-radius: 26px 26px 6px 26px;
  font-size: 1.1875rem;
}
.bubble-reply { margin-top: 26px; font-size: 1.125rem; line-height: 1.55; }
.bubble-reply ul { margin-top: 8px; padding-left: 1.3em; }
.bubble-reply li { margin: 4px 0; }
.bubble-reply ol { margin-top: 10px; padding-left: 1.4em; }
.bubble-reply ol li { margin: 8px 0; padding-left: 4px; }
.bubble-reply p + p { margin-top: 12px; }
.bubble-reply strong { font-weight: 700; }

.gaps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; list-style: none; }
.gaps li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border: 1.5px dashed var(--ash); border-radius: var(--r-md);
  color: var(--ink-muted); font-weight: 600; font-size: var(--fs-small); line-height: 1.3;
}
.gaps svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.callout {
  margin-top: 36px; padding-left: 22px; border-left: 4px solid var(--gold);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em;
}

/* 08 · How it works ------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 8px; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--forest-line); }
.step:last-child { border-bottom: 1px solid var(--forest-line); }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .06em;
  color: var(--forest); background: var(--gold-pale);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px;
}
.step h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); letter-spacing: -.015em; line-height: 1.2; }
.step p { margin-top: 8px; color: var(--on-dark-soft); }

.qa {
  background: var(--forest-card); border: 1px solid var(--forest-line);
  border-radius: var(--r-xl); padding: clamp(24px, 3.6vw, 44px);
}
.qa__head { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.qa__head img { height: 28px; width: auto; }
.qa__opener {
  margin-left: auto; width: fit-content; max-width: 90%;
  background: rgba(243, 239, 230, .1); color: var(--on-dark); border-radius: 22px 22px 6px 22px;
  padding: 12px 20px; font-size: 1.0625rem; margin-bottom: 26px;
}
.qa__item + .qa__item { margin-top: 22px; }
.qa__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.015em; line-height: 1.2; color: var(--on-dark); }
.qa__a {
  display: flex; align-items: center; gap: 12px; margin: 12px 0 0 auto; width: fit-content; max-width: 92%;
  background: var(--linen); color: var(--ink); padding: 14px 22px; border-radius: 22px 22px 6px 22px;
  font-size: 1.125rem; line-height: 1.35;
}
.qa__a svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.qa__playback {
  margin-top: 30px; padding: 18px 20px; border-radius: var(--r-md);
  border: 1px solid rgba(214, 173, 102, .4); color: var(--on-dark-soft); font-size: var(--fs-small);
}
.qa__playback strong { color: var(--gold-pale); font-weight: 700; display: block; margin-bottom: 4px; font-family: var(--font-display); letter-spacing: .02em; }
.caption { margin-top: 16px; font-size: var(--fs-tiny); color: var(--on-dark-muted); }
.section--light .caption, .section--cream .caption { color: var(--ink-muted); }

/* 09 · Before / after ----------------------------------------------------- */
.compare-switch {
  display: inline-flex; padding: 6px; border-radius: var(--r-pill);
  background: var(--cream); border: 1px solid var(--parchment); margin-bottom: 28px;
}
.compare-switch button {
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: transparent; color: var(--ink-soft); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  transition: background var(--dur), color var(--dur);
}
.compare-switch button[aria-selected="true"] { background: var(--forest); color: var(--on-dark); }
.compare { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .compare-switch { display: none; }
  .compare { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .compare__panel[hidden] { display: block !important; }
}
.compare__panel { display: flex; flex-direction: column; }
.compare__panel[hidden] { display: none; }
.compare__label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
}
.compare__label--win { color: var(--gold); }
.compare__panel .chat { flex: 1; }
.chat--win { background: var(--forest) !important; color: var(--on-dark); border-color: var(--forest); }
.chat--win .chat__bar { border-bottom-color: var(--forest-line); color: var(--on-dark-soft); }
.chat--win .chat__avatar { background: var(--forest-line); }
.prompt-chip {
  margin-left: auto; max-width: 92%;
  background: var(--forest-card); border: 1px solid var(--forest-line); border-radius: 22px 22px 6px 22px;
  padding: 16px 20px;
}
.prompt-chip__tag {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale);
}
.prompt-chip__tag img { height: 14px; width: auto; }
.prompt-chip p { margin-top: 8px; font-size: 1rem; color: var(--on-dark-soft); line-height: 1.5; }
.prompt-chip .fade { color: var(--on-dark-muted); }
.chat--win .bubble-reply { color: var(--on-dark); }
.chat--win .bubble-reply strong { color: var(--gold-pale); }

/* 10 · Video, outputs, learn --------------------------------------------- */
.video-frame {
  position: relative; width: min(100%, 360px); margin: 0 auto;
  aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden;
  background: var(--forest); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  border: 1px solid var(--forest-line);
}
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px;
  border: 0; cursor: pointer; color: var(--on-dark);
  background: linear-gradient(180deg, rgba(18, 33, 19, 0) 45%, rgba(18, 33, 19, .7));
  align-content: end; padding-bottom: 56px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
}
.video-play__icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--gold-pale); color: var(--forest);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  transition: transform var(--dur) var(--ease);
}
.video-play:hover .video-play__icon { transform: scale(1.06); }
.video-play__icon svg { width: 30px; height: 30px; margin-left: 4px; }
.video-frame.is-playing .video-play { display: none; }

/* Full screen: the phone-shaped frame grows to the screen's height, so the
   whole ad stays visible (no cropping top and bottom). */
.video-stage { position: relative; }
/* WayIn video controls */
.video-fs__close { display: none; }
.vc {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: none; padding: 36px 12px 10px;
  background: linear-gradient(180deg, rgba(12, 23, 16, 0), rgba(12, 23, 16, .88));
  color: var(--linen); transition: opacity .3s var(--ease);
}
.video-frame.is-playing .vc { display: block; }
.video-frame.is-playing video { cursor: pointer; }
.vc.is-idle { opacity: 0; }
.video-frame.is-idle-cursor, .video-frame.is-idle-cursor video { cursor: none; }
.vc__row { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.vc__spacer { flex: 1; }
.vc__btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit;
  display: grid; place-items: center; cursor: pointer; transition: background var(--dur);
}
.vc__btn:hover { background: rgba(243, 239, 230, .14); }
.vc__btn svg { width: 22px; height: 22px; }
.vc__time { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; padding-left: 4px; white-space: nowrap; }
.vc__i-play, .vc__i-muted { display: none; }
.vc.is-paused .vc__i-play, .vc.is-muted .vc__i-muted { display: block; }
.vc.is-paused .vc__i-pause, .vc.is-muted .vc__i-vol { display: none; }
.vc__seek {
  --p: 0%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 22px; margin: 0;
  background: transparent; cursor: pointer;
}
.vc__seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-pale) var(--p), rgba(243, 239, 230, .3) var(--p));
}
.vc__seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(243, 239, 230, .3); }
.vc__seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold-pale); }
.vc__seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%;
  background: var(--gold-pale); border: 0; box-shadow: 0 0 0 4px rgba(214, 173, 102, .25);
}
.vc__seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold-pale); border: 0; }
.vc__seek:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 2px; }

.video-stage:fullscreen,
.video-stage.is-fs {
  position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--forest-deep);
}
.video-stage:-webkit-full-screen {
  position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--forest-deep);
}
.video-stage:fullscreen .video-frame,
.video-stage.is-fs .video-frame {
  margin: 0; height: auto; aspect-ratio: 9 / 16;
  width: min(calc(100vw - 48px), calc((100vh - 48px) * 9 / 16));
  border-radius: clamp(24px, 4vh, 44px);
}
.video-stage:-webkit-full-screen .video-frame {
  margin: 0; height: auto; aspect-ratio: 9 / 16;
  width: min(calc(100vw - 48px), calc((100vh - 48px) * 9 / 16));
  border-radius: clamp(24px, 4vh, 44px);
}
@supports (height: 100dvh) {
  .video-stage.is-fs .video-frame { width: min(calc(100vw - 48px), calc((100dvh - 48px) * 9 / 16)); }
}
.video-stage:fullscreen .video-frame video,
.video-stage.is-fs .video-frame video { object-fit: contain; }
.video-stage:fullscreen .video-fs__open, .video-stage.is-fs .video-fs__open { display: none; }
.video-stage:fullscreen .video-fs__close, .video-stage.is-fs .video-fs__close { display: block; }
.video-stage:-webkit-full-screen .video-fs__open { display: none; }
.video-stage:-webkit-full-screen .video-fs__close { display: block; }
body.is-video-fs { overflow: hidden; }
/* Safety net: if a browser still puts the bare video full screen, never crop it */
video:fullscreen { object-fit: contain; }
video:-webkit-full-screen { object-fit: contain; }

.outputs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); list-style: none; }
.output {
  background: var(--linen); border: 1px solid var(--parchment); border-radius: var(--r-lg);
  padding: 30px 28px 32px; display: flex; flex-direction: column;
}
.output__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--forest); color: var(--gold-pale);
  display: grid; place-items: center; margin-bottom: 22px;
}
.output__icon svg { width: 26px; height: 26px; }
.output h3 { font-size: 1.4rem; letter-spacing: -.015em; line-height: 1.2; }
.output p { margin-top: 10px; color: var(--ink-soft); font-size: 1.0625rem; }
.output__when {
  margin-top: auto; padding-top: 20px; font-size: var(--fs-tiny); font-weight: 700; color: var(--gold);
  letter-spacing: .02em;
}
.output--feature { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.output--feature .output__icon { background: var(--gold-pale); color: var(--forest); }
.output--feature p { color: var(--on-dark-soft); }
.output--feature .output__when { color: var(--gold-pale); }

.handoff {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 24px 28px; border-radius: var(--r-lg); border: 1.5px dashed var(--ash);
}
.handoff p { color: var(--ink-soft); max-width: 44rem; }
.handoff strong { color: var(--ink); }

/* Let AI learn you */
.learn { list-style: none; display: grid; gap: 20px; }
@media (min-width: 900px) { .learn { grid-template-columns: repeat(3, 1fr); } }
.learn__card {
  position: relative; padding: 34px 30px 32px; border-radius: var(--r-lg);
  background: var(--linen); border: 1px solid var(--parchment);
}
.learn__card::before {
  /* the gold leaf of the Folded Portal */
  content: ""; position: absolute; top: 34px; right: 30px; width: 12px; height: 30px;
  background: var(--gold); clip-path: polygon(0 0, 100% 19%, 100% 100%, 0 81%);
}
.learn__k {
  font-family: var(--font-display); font-weight: 600; font-size: .875rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.learn__card h3 { margin-top: 14px; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); letter-spacing: -.02em; line-height: 1.15; }
.learn__card p { margin-top: 10px; color: var(--ink-soft); }
.learn__foot { margin-top: 32px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--ink); }

/* Go deeper — the recommended round */
.tag-recommend {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--gold-pale); color: var(--forest); font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  position: relative; top: -2px;
}
.step--recommend .step__num { background: var(--linen); box-shadow: 0 0 0 3px var(--gold-pale); }

.depth {
  background: var(--forest-card); border: 1px solid var(--forest-line); border-radius: var(--r-xl);
  padding: clamp(8px, 2vw, 20px);
}
.depth__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.depth__table th, .depth__table td { padding: 16px 14px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--forest-line); }
.depth__table th[scope="row"] { text-align: left; font-weight: 500; color: var(--on-dark-soft); font-size: 1.0625rem; line-height: 1.35; }
.depth__table thead th { vertical-align: bottom; padding-top: 28px; padding-bottom: 18px; }
.depth__table thead th:first-child { text-align: left; }
.depth__table col, .depth__table thead th:first-child { width: 40%; }
.depth__q { font-family: var(--font-display); font-weight: 600; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.depth__col { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); color: var(--on-dark); letter-spacing: -.01em; line-height: 1.15; }
.depth__sub { display: block; margin-top: 4px; font-size: .875rem; color: var(--on-dark-muted); font-weight: 500; }
.depth__badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--gold-pale); color: var(--forest); font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.depth__table .c-deep { background: rgba(214, 173, 102, .10); }
.depth__table thead .c-deep { border-top-left-radius: 18px; border-top-right-radius: 18px; box-shadow: inset 0 3px 0 var(--gold-pale); }
.depth__table tfoot .c-deep { border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
.depth__table tfoot th, .depth__table tfoot td { border-bottom: 0; padding-top: 22px; padding-bottom: 24px; font-size: 1rem; color: var(--on-dark-soft); line-height: 1.35; }
.depth__table tfoot th[scope="row"] { color: var(--on-dark); font-family: var(--font-display); font-weight: 600; }
.depth__table tfoot .c-deep strong { color: var(--gold-pale); font-weight: 700; }
.mark-yes { width: 24px; height: 24px; margin: 0 auto; color: var(--gold-pale); }
.c-one .mark-yes { color: var(--on-dark-muted); }
.mark-no { display: block; width: 14px; height: 2px; margin: 0 auto; background: var(--forest-line); border-radius: 2px; }
@media (max-width: 680px) {
  .depth__table .c-one { display: none; }
  .depth__table thead th:first-child { width: 48%; }
  .depth__table th, .depth__table td { padding: 14px 8px; }
  .depth__table th[scope="row"] { font-size: .98rem; }
  .depth__sub { font-size: .78rem; }
  .depth__table thead th:first-child { width: 50%; }
  .depth__badge { display: none; }
  .depth__table thead .c-deep .depth__col { color: var(--gold-pale); }
  .depth__q { font-size: .75rem; letter-spacing: .08em; }
}

.deeper-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.deeper-cta p { max-width: 46rem; color: var(--on-dark-soft); }
.deeper-cta strong { color: var(--on-dark); }

.output--recommend { position: relative; border: 2px solid var(--gold); }
.output__badge {
  position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--gold); color: var(--linen); font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
}
.output--recommend .output__icon { background: var(--gold); color: var(--linen); }

/* 11 · Pricing ------------------------------------------------------------ */
.billing-switch {
  display: inline-flex; align-items: center; padding: 6px; border-radius: var(--r-pill);
  background: var(--cream); border: 1px solid var(--parchment); margin-top: 32px;
}
.billing-switch button {
  min-height: 46px; padding: 0 22px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: transparent; color: var(--ink-soft); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-switch button[aria-pressed="true"] { background: var(--forest); color: var(--on-dark); }
.billing-switch .save { font-size: .8125rem; font-weight: 700; color: var(--gold); }
.billing-switch button[aria-pressed="true"] .save { color: var(--gold-pale); }

.price-start { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 820px) { .price-start { grid-template-columns: 1fr 1fr; } }
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative; background: var(--linen); border: 1px solid var(--parchment); border-radius: var(--r-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.section--light .plan { background: #FBF9F4; }
.plan--free { background: var(--forest) !important; color: var(--on-dark); border-color: var(--forest); }
.plan--free .plan__desc, .plan--free .plan__list { color: var(--on-dark-soft); }
.plan--free .plan__price-note { color: var(--on-dark-muted); }
.plan--free .plan__list svg { color: var(--gold-pale); }
.plan--best { border: 2px solid var(--gold); }
.plan__badge {
  position: absolute; top: -14px; left: 28px; padding: 4px 14px; border-radius: var(--r-pill);
  background: var(--gold); color: var(--linen); font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
}
.plan__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.plan__desc { margin-top: 4px; color: var(--ink-muted); font-size: 1.0625rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.plan__amount { font-family: var(--font-display); font-weight: 700; font-size: 3.25rem; letter-spacing: -.04em; line-height: 1; }
.plan__per { font-size: 1.0625rem; color: var(--ink-muted); font-weight: 600; }
.plan--free .plan__per { color: var(--on-dark-muted); }
.plan__price-note { margin-top: 8px; font-size: var(--fs-tiny); color: var(--ink-muted); min-height: 1.4em; }
.plan__list { list-style: none; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 1.0625rem; color: var(--ink-soft); }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.plan__list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.price-note { margin-top: 28px; text-align: center; color: var(--ink-muted); font-size: var(--fs-small); }
.price-note strong { color: var(--ink); }

/* 12 · FAQ ---------------------------------------------------------------- */
.faq { max-width: 52rem; margin: 0 auto; border-top: 1px solid var(--parchment); }
.faq details { border-bottom: 1px solid var(--parchment); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none; margin-right: 6px;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .faq__a { padding: 0 4px 26px; color: var(--ink-soft); max-width: 44rem; }
.faq .faq__a p + p { margin-top: .8em; }

/* 13 · CTA band + footer -------------------------------------------------- */
.cta-band { text-align: center; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: 50%; bottom: -420px; width: 1000px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 173, 102, .18), rgba(214, 173, 102, 0) 70%); pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band .mark { width: 44px; margin: 0 auto 28px; }
.cta-band .lead { margin: 22px auto 0; max-width: 36rem; }
.cta-band .btn-row { justify-content: center; }

.site-footer { background: var(--forest-deep); color: var(--on-dark-soft); padding: 64px 0 40px; font-size: var(--fs-small); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 820px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 24rem; color: var(--on-dark-muted); }
.footer__title { font-family: var(--font-display); font-weight: 600; color: var(--on-dark); margin-bottom: 14px; font-size: 1rem; letter-spacing: .02em; }
.footer__links { list-style: none; display: grid; gap: 4px; }
.footer__links a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--on-dark-soft); }
.footer__links a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer__base {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--forest-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--on-dark-muted); font-size: var(--fs-tiny);
}
.footer__base a { color: var(--on-dark-muted); }

/* 14 · Consulting page ---------------------------------------------------- */
.page-hero { padding: clamp(56px, 9vw, 128px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; pointer-events: none; width: 820px; height: 820px; right: -240px; top: -260px;
  background: radial-gradient(closest-side, rgba(214, 173, 102, .14), rgba(214, 173, 102, 0) 70%);
}
.page-hero .container { position: relative; }
.page-hero .h-hero { max-width: 14ch; }
.page-hero .lead { max-width: 40rem; }
.page-hero--compact .h-hero { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); }

.elements { display: grid; gap: 16px; list-style: none; }
@media (min-width: 620px) { .elements { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .elements { grid-template-columns: repeat(3, 1fr); } }
.element { padding: 26px 26px 28px; border-radius: var(--r-lg); background: var(--linen); border: 1px solid var(--parchment); }
.element__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--gold-pale); }
.element__icon svg { width: 24px; height: 24px; }
.element h3 { margin-top: 18px; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.2; }
.element p { margin-top: 8px; color: var(--ink-muted); font-size: 1.0625rem; }

.flow { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; } }
.flow__card { padding: 26px; border-radius: var(--r-lg); background: var(--linen); border: 1px solid var(--parchment); height: 100%; }
.flow__card--dark { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.flow__tag { font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 8px; }
.flow__card--dark .flow__tag { color: var(--gold-pale); }
.flow__tag img { height: 14px; width: auto; }
.flow__card h3 { margin-top: 12px; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.2; }
.flow__card p { margin-top: 8px; color: var(--ink-soft); font-size: 1.0625rem; }
.flow__card--dark p { color: var(--on-dark-soft); }
.flow__arrow { display: grid; place-items: center; color: var(--gold); }
.flow__arrow svg { width: 32px; height: 32px; }
@media (max-width: 899px) { .flow__arrow svg { transform: rotate(90deg); } }

/* 15 · Contact page ------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.25fr .75fr; align-items: start; } }

.form { background: #FBF9F4; border: 1px solid var(--parchment); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field + .field, .form__row + .field, .field + .form__row, .form__row + .form__row, .form fieldset + .field { margin-top: 22px; }
.form__row > .field { margin-top: 0; }
.field label, .form legend { display: block; font-weight: 700; font-size: 1.0625rem; margin-bottom: 8px; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--ink-muted); }
.input {
  width: 100%; min-height: 56px; padding: 14px 18px; border-radius: var(--r-md);
  border: 1.5px solid var(--ash); background: var(--linen); font-size: 1.125rem; color: var(--ink);
  transition: border-color var(--dur), box-shadow var(--dur);
}
textarea.input { min-height: 160px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(130, 90, 10, .15); }
.input[aria-invalid="true"] { border-color: #A6432A; }
.field__error { margin-top: 6px; color: #8A2F1C; font-size: var(--fs-small); font-weight: 600; }
.field__error:empty { display: none; }
.form fieldset { border: 0; padding: 0; margin: 22px 0 0; }
.topic-options { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-options input { position: absolute; opacity: 0; pointer-events: none; }
.topic-options label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; margin: 0;
  border-radius: var(--r-pill); border: 1.5px solid var(--ash); background: var(--linen);
  font-weight: 600; font-size: 1.0625rem; cursor: pointer; transition: border-color var(--dur), background var(--dur), color var(--dur);
}
.topic-options label:hover { border-color: var(--forest); }
.topic-options input:checked + label { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
.topic-options input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.form__privacy { font-size: var(--fs-tiny); color: var(--ink-muted); max-width: 26rem; }
.form__status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); font-weight: 600; }
.form__status:empty { display: none; }
.form__status--error { background: #F6E1D9; color: #6E2616; }
.form-success { text-align: left; }
.form-success .mark { width: 40px; margin-bottom: 22px; }
.form-success h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); letter-spacing: -.025em; }
.form-success p { margin-top: 12px; color: var(--ink-soft); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.contact-aside { display: grid; gap: 16px; }
.aside-card { padding: 26px 26px 28px; border-radius: var(--r-lg); background: var(--cream); border: 1px solid var(--parchment); }
.aside-card--dark { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.aside-card h2 { font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.2; }
.aside-card p { margin-top: 8px; color: var(--ink-soft); font-size: 1.0625rem; }
.aside-card--dark p { color: var(--on-dark-soft); }
.aside-card .big-link { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; word-break: break-word; }
.aside-card--dark .big-link { color: var(--gold-pale); }
.aside-card .text-link { display: inline-block; margin-top: 12px; }

/* 16 · Motion + utilities ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.qa [data-seq] { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.qa.is-playing [data-seq].is-shown { opacity: 1; transform: none; }
.no-js .reveal, .no-js .qa [data-seq] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal, .qa [data-seq] { opacity: 1 !important; transform: none !important; }
}

.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }

/* Consulting hero — illustrative Problem Brief */
.page-hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.brief-card {
  background: var(--linen); color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); transform: rotate(1.2deg);
}
.brief-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--parchment); }
.brief-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.015em; }
.brief-card__tag { font-size: .8125rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.brief-card__rows { list-style: none; display: grid; gap: 16px; margin-top: 20px; }
.brief-card__rows li { display: grid; gap: 6px; }
.brief-card__k { font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.brief-card__v { font-size: 1.0625rem; line-height: 1.4; }
.brief-card__bar { height: 10px; border-radius: 6px; background: var(--parchment); }
.brief-card__bar--s { width: 62%; }
.brief-card__tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.brief-card__tiers span { font-size: .875rem; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: var(--cream); border: 1px solid var(--parchment); }
.brief-card__tiers span:first-child { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.brief-card__foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--parchment); display: flex; align-items: center; gap: 10px; font-size: var(--fs-tiny); color: var(--ink-muted); }
.brief-card__foot img { height: 16px; width: auto; }
@media (prefers-reduced-motion: reduce) { .brief-card { transform: none; } }

/* ==========================================================================
   17 · Section navigation (product + consulting pages)
   ========================================================================== */
.subnav {
  position: sticky; top: var(--header-h); z-index: 45;
  background: rgba(243, 239, 230, .95);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--parchment);
  transition: transform .32s var(--ease), opacity .24s var(--ease), visibility 0s linear 0s;
}
/* Hidden while scrolling down, back as soon as you scroll up */
.subnav.is-hidden {
  transform: translateY(calc(-100% - 2px)); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .32s var(--ease), opacity .24s var(--ease), visibility 0s linear .32s;
}
.subnav__inner {
  display: flex; align-items: center; gap: 4px; height: 60px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__label {
  flex: none; margin-right: 10px; padding-right: 14px; border-right: 1px solid var(--parchment);
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.subnav a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-soft);
  transition: background var(--dur), color var(--dur);
}
.subnav a:hover { background: var(--cream); color: var(--ink); }
.subnav a.is-active { background: var(--forest); color: var(--on-dark); }
.subnav a.subnav__out { color: var(--gold); margin-left: auto; }
.subnav a.subnav__out:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .subnav__label { display: none; } .subnav a.subnav__out { margin-left: 0; } }

/* ==========================================================================
   18 · Chat mode (wayin-ai.com/chat)
   ========================================================================== */
.chat-expander {
  position: fixed; z-index: 190; pointer-events: none;
  background: var(--forest-card); border: 1px solid var(--forest-line); border-radius: var(--r-xl);
  transition: top .6s var(--ease), left .6s var(--ease), width .6s var(--ease), height .6s var(--ease),
              border-radius .6s var(--ease), background-color .6s var(--ease);
}
.chat-expander.is-full { border-radius: 0; background-color: var(--forest); border-color: transparent; }
body.is-chat-open { overflow: hidden; }

.chat-mode {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  background: var(--forest); color: var(--on-dark);
  opacity: 0; transition: opacity .3s var(--ease);
}
.chat-mode[hidden] { display: none; }
.chat-mode.is-visible { opacity: 1; }
.chat-mode__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--forest-line);
}
.chat-mode__bar img { height: 28px; width: auto; }
.chat-mode__close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--forest-line); background: transparent;
  color: var(--on-dark-soft); font-weight: 600; font-size: 1rem; cursor: pointer;
}
.chat-mode__close:hover { color: var(--on-dark); border-color: var(--on-dark-muted); }
.chat-mode__close svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .chat-mode__close span { display: none; } .chat-mode__close { padding: 0 12px; } }

.chat-mode__body { flex: 1; overflow-y: auto; }
.chat-mode__app { max-width: 760px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) var(--gutter) 32px; }
.chat-mode__thread { display: flex; flex-direction: column; gap: 22px; }
.cm-user {
  align-self: flex-end; max-width: 85%; background: var(--linen); color: var(--ink);
  padding: 14px 22px; border-radius: 24px 24px 6px 24px; font-size: 1.1875rem; line-height: 1.45;
}
.cm-wayin { display: flex; gap: 14px; align-items: flex-start; max-width: 92%; }
.cm-wayin__mark { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--forest-card); display: grid; place-items: center; }
.cm-wayin__mark img { width: 13px; height: auto; }
.cm-wayin__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.3; letter-spacing: -.01em; padding-top: 2px; }
.cm-note { margin-left: 48px; font-size: var(--fs-tiny); color: var(--on-dark-muted); }
.cm-typing { display: inline-flex; gap: 6px; padding: 12px 0 0; }
.cm-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-pale); animation: cm-dot 1.1s infinite ease-in-out; }
.cm-typing i:nth-child(2) { animation-delay: .15s; }
.cm-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cm-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.cm-in { animation: cm-in .45s var(--ease) both; }
@keyframes cm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chat-mode__composer {
  flex: none; display: flex; align-items: flex-end; gap: 12px;
  width: 100%; max-width: calc(760px + var(--gutter) * 2); margin: 0 auto;
  padding: 16px var(--gutter) max(20px, env(safe-area-inset-bottom));
}
.chat-mode__composer textarea {
  flex: 1; min-height: 56px; max-height: 180px; resize: none; padding: 15px 20px;
  border-radius: 28px; border: 2px solid var(--forest-line); background: var(--forest-card); color: var(--on-dark);
  font-size: 1.125rem; line-height: 1.4;
}
.chat-mode__composer textarea::placeholder { color: var(--on-dark-muted); }
.chat-mode__composer textarea:focus { outline: none; border-color: var(--gold-pale); }
.chat-mode__composer .btn { min-height: 56px; }

/* ==========================================================================
   19 · Consulting: how we work, who we are, getting started
   ========================================================================== */
.hero-note { margin-top: 22px; font-size: var(--fs-small); color: var(--on-dark-muted); }

.stage-label {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em;
}
.stage-label span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--gold-pale); font-size: 1rem;
}
.understand { list-style: none; display: grid; gap: 16px; margin-bottom: 64px; }
@media (min-width: 900px) { .understand { grid-template-columns: repeat(3, 1fr); } }
.understand__card { padding: 28px 26px 30px; border-radius: var(--r-lg); background: #FBF9F4; border: 1px solid var(--parchment); }
.understand__n { font-family: var(--font-display); font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.understand__card h3 { margin-top: 12px; font-size: 1.45rem; letter-spacing: -.015em; line-height: 1.2; }
.understand__card p { margin-top: 8px; color: var(--ink-soft); }
.understand__card .text-link { display: inline-block; margin-top: 12px; }

.ladder { list-style: none; max-width: 820px; }
.ladder__step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 26px 28px; border-radius: var(--r-lg); background: #FBF9F4; border: 1px solid var(--parchment);
}
.ladder__k {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--forest); color: var(--gold-pale); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
}
.ladder__k svg { width: 26px; height: 26px; }
.ladder__step h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); letter-spacing: -.015em; line-height: 1.2; }
.ladder__step p { margin-top: 8px; color: var(--ink-soft); }
.ladder__step--loop { border: 2px dashed var(--gold); background: transparent; }
.ladder__step--loop .ladder__k { background: var(--gold); color: var(--linen); }
.ladder__if {
  position: relative; margin-left: 27px; padding: 14px 0 14px 36px;
  border-left: 2px solid var(--ash);
  font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--gold); letter-spacing: .02em;
}
.ladder__if::before {
  content: ""; position: absolute; left: -7px; bottom: 2px; width: 12px; height: 12px;
  border-right: 2px solid var(--ash); border-bottom: 2px solid var(--ash); transform: rotate(45deg);
}
.teach {
  margin-top: 40px; max-width: 820px; display: flex; gap: 18px; align-items: center;
  padding: 24px 28px; border-radius: var(--r-lg); background: var(--forest); color: var(--on-dark-soft);
}
.teach strong { color: var(--on-dark); }
.teach__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-pale); color: var(--forest); }
.teach__icon svg { width: 26px; height: 26px; }

.roles { list-style: none; display: grid; gap: 16px; }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role { padding: 30px 28px; border-radius: var(--r-lg); background: var(--forest-card); border: 1px solid var(--forest-line); }
.role__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-pale); color: var(--forest); }
.role__icon svg { width: 26px; height: 26px; }
.role h3 { margin-top: 20px; font-size: 1.6rem; letter-spacing: -.02em; color: var(--on-dark); }
.role p { margin-top: 8px; color: var(--on-dark-soft); }

.paths { display: grid; gap: 20px; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--r-lg); background: #FBF9F4; border: 1px solid var(--parchment); }
.path--recommend { border: 2px solid var(--gold); }
.path h3 { margin-top: 10px; font-size: 1.75rem; letter-spacing: -.02em; }
.path__steps { margin: 18px 0 28px; padding-left: 1.3em; color: var(--ink-soft); display: grid; gap: 8px; }
.path__steps li::marker { color: var(--gold); font-weight: 700; }
.path .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   20 · Pricing page: consulting
   ========================================================================== */
.consult-price { display: grid; gap: 20px; }
@media (min-width: 820px) { .consult-price { grid-template-columns: 1fr 1fr; } }
.consult-price__card { padding: 32px 30px; border-radius: var(--r-lg); background: var(--forest-card); border: 1px solid var(--forest-line); }
.consult-price__card--gold { border: 2px solid var(--gold-pale); }
.consult-price__k { font-family: var(--font-display); font-weight: 600; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale); }
.consult-price__v { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); letter-spacing: -.03em; line-height: 1.05; color: var(--on-dark); }
.consult-price__card p:last-child { margin-top: 14px; color: var(--on-dark-soft); }
.cta-band--light::before { background: radial-gradient(closest-side, rgba(130, 90, 10, .10), rgba(130, 90, 10, 0) 70%); }

@media (prefers-reduced-motion: reduce) {
  .chat-expander { transition: none; }
  .cm-typing i { animation: none; opacity: .7; }
}

/* Subscriptions are not on sale at launch (#39) ------------------------- */
