/* ===========================================================
   Aiplies — landing site
   Plain CSS. One accent: deep blue #1E3A8A.
   =========================================================== */

:root {
  --accent: #1E3A8A;
  --accent-600: #1b3578;
  --accent-700: #15295c;
  --accent-tint: #eef2fb;
  --gold: #C9A876;
  --gold-600: #b8945f;
  --text: #232A4D;
  --muted: #5b6178;
  --line: #e8e3da;
  --line-soft: #efebe3;
  --bg: #fff;              /* page background — one white across the whole site,
                              matching the hero video ("animation") surface --hero-bg */
  --stuck-bg: var(--bg);   /* stuck-header surface — follows the page background (the shared white) */
  --chat-guest: #f1f3f6;
  --chat-guest-text: #20242c;
  /* WhatsApp-style chat bubbles — mockups only; site chrome (nav/buttons) stays navy */
  --wa-sent: #dcf8c6;        /* assistant / sent bubble (green) */
  --wa-sent-text: #0b1f13;
  --wa-recv: #ffffff;        /* customer / received bubble (white) */
  --wa-recv-text: #111b21;
  --wa-chat-bg: #e7e8e2;     /* chat-card surface behind the bubbles */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --maxw: 720px;
  --maxw-wide: 1280px;
  --maxw-text: 640px;
  --gutter: 24px;
  --gutter-sm: 18px;
  --section-y: clamp(96px, 12vw, 160px);
  --section-y-sm: 72px;

  /* Gradient hues — used for washes only; the accent stays #1E3A8A */
  --indigo: #4F46E5;
  --violet: #7C3AED;
  --sky: #60A5FA;
  --wash-hero:
    radial-gradient(1200px 600px at 72% -12%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(900px 520px at -5% 0%, rgba(79, 70, 229, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f7fd 100%);
  --wash-soft: linear-gradient(180deg, #fbfbff 0%, #f3f5fd 100%);
  --overlay-blue: linear-gradient(180deg, rgba(30, 58, 138, 0) 28%, rgba(21, 41, 92, 0.55) 100%);

  /* Soft elevation — blue-tinted to match the brand */
  --shadow-sm: 0 1px 2px rgba(17, 20, 24, 0.05);
  --shadow-card: 0 2px 4px rgba(17, 20, 24, 0.04), 0 18px 40px -24px rgba(30, 58, 138, 0.28);
  --shadow-card-hover: 0 6px 12px rgba(17, 20, 24, 0.06), 0 28px 56px -24px rgba(30, 58, 138, 0.40);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-reveal: 0.7s;
  --dur-ui: 0.18s;
  --reveal-shift: 24px;
  --stagger-step: 90ms;

  /* Display serif (overlay-style elegant headline) */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Iridescent holographic mesh for the hero */
  --mesh:
    radial-gradient(46% 40% at 14% 22%, rgba(255, 209, 184, 0.85), transparent 62%),
    radial-gradient(46% 42% at 86% 16%, rgba(190, 205, 255, 0.90), transparent 62%),
    radial-gradient(50% 48% at 82% 74%, rgba(214, 196, 246, 0.85), transparent 62%),
    radial-gradient(46% 46% at 16% 82%, rgba(200, 236, 218, 0.80), transparent 62%),
    radial-gradient(60% 55% at 50% 45%, rgba(255, 255, 255, 0.55), transparent 72%),
    linear-gradient(180deg, #f4eefb 0%, #eef1fb 55%, #FAF8F5 100%);

  /* Hero (Sofia video section) — local forest/sage palette.
     The global brand accent stays #1E3A8A for the rest of the page. */
  --hero-forest: #1C2E1E;  /* active pill bg, strongest text accent */
  --hero-sage:   #5A635A;  /* description text */
  --hero-sage-2: #738273;  /* subtitle text */
  --hero-mist:   #F1F3F1;  /* pill borders + hover wash */
  --hero-paper:  #FAFBF9;  /* banner background */
  --hero-moss:   #4D6D47;  /* banner CTA text */
  --hero-select: #EAECE9;  /* hero-local text selection bg */
  --hero-bg:     #fff;     /* single hero/header surface — one white for the frame,
                              its media container, and the stuck header (no seam) */

  /* Sofia video DISPLAY-height cap — the video is object-fit: contain and is
     never rendered taller than this, so it only ever downscales (never upscales,
     which was the zoom + blur). This is a DISPLAY size, not the source
     resolution: the source is 2K (2582x1440) and simply renders sharper at this
     same height on hi-DPI screens. Keep it ~716px to hold Sofia at ~40–45% of
     the hero — do NOT raise it to match the source height. */
  --sofia-native-h: 716px;

  /* Buttons (tuned for legibility on the white hero) */
  --accent-hover:      #16307A;                 /* nav CTA hover */
  --pill-border:       rgba(28, 46, 30, 0.35);  /* inactive pill outline (forest @ 35%) */
  --pill-border-hover: rgba(28, 46, 30, 0.5);   /* pill hover outline */
  --pill-shadow:       0 1px 3px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-700);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-wide {
  width: 100%;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Scroll reveals ----------
   Hiding is scoped under .js, so without JavaScript (or for crawlers)
   everything renders fully visible. JS adds .is-visible on scroll. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger-step));
  will-change: opacity, transform;
}

.js [data-reveal="left"]  { transform: translateX(calc(-1 * var(--reveal-shift))); }
.js [data-reveal="right"] { transform: translateX(var(--reveal-shift)); }
.js [data-reveal="scale"] { transform: scale(0.96); }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Sticky header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-ui) ease, box-shadow var(--dur-ui) ease,
              border-color var(--dur-ui) ease;
}

/* Scrolled state (JS toggles .is-stuck): opaque surface so hero text never
   bleeds through the fixed header. */
.site-head.is-stuck {
  background: var(--stuck-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* The whole site now shares one white surface (--bg == --hero-bg); this pins the
   homepage header to the hero white explicitly, should --bg ever diverge again. */
body.home { --stuck-bg: var(--hero-bg); }

/* No-JS fallback: give the header a permanent semi-opaque backdrop so content
   never bleeds through even when the .is-stuck toggle never runs. */
html:not(.js) .site-head {
  background: color-mix(in srgb, var(--stuck-bg) 92%, transparent);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.nav .wordmark {
  justify-self: start;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-mid {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-mid a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.nav-mid a:hover {
  color: var(--accent);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.nav-cta .dot {
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

/* ---------- Nav: "For your business" dropdown (native <details>, zero-JS) ----------
   Progressive enhancement: <details>/<summary> gives tap-toggle with no script,
   so it works under the no-JS contract. Desktop adds hover-to-open via CSS only. */
.nav-drop {
  position: relative;
  display: inline-flex;
}

.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  -webkit-user-select: none;
}
.nav-drop > summary::-webkit-details-marker { display: none; }  /* Safari default triangle */
.nav-drop > summary:hover { color: var(--accent); }
.nav-drop__sm { display: none; }   /* short label ("Sectors"); swapped in on mobile */
.nav-drop > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-drop__caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur-ui) ease;
}
.nav-drop[open] > summary .nav-drop__caret { transform: translateY(1px) rotate(-135deg); }

/* Panel — hidden until [open] (tap/click, and the no-JS regime) or desktop hover. */
.nav-drop__menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  z-index: 30;
}
.nav-drop[open] > .nav-drop__menu { display: block; }

@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover > .nav-drop__menu { display: block; }
}

.nav-drop__menu a {
  display: block;
  padding: 11px 13px;
  border-radius: var(--radius);
  text-decoration: none;
  text-transform: none;          /* reset the uppercase .nav-mid a inheritance */
  letter-spacing: normal;
  transition: background var(--dur-ui) ease;
}
.nav-drop__menu a:hover,
.nav-drop__menu a[aria-current="page"] { background: var(--accent-tint); }

.nav-drop__menu b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-drop__sector {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1px;
}
.nav-drop__hook {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 3px;
}

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

main {
  display: block;
  /* Clip the small horizontal travel of left/right scroll reveals so they
     never produce a transient horizontal scrollbar. Does not affect the
     sticky header (a sibling of <main>). */
  overflow-x: clip;
}

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative;
  background: transparent;
  overflow: clip;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 0;
  background: radial-gradient(42% 42% at 28% 30%, rgba(124, 58, 237, 0.10), transparent 70%);
  animation: drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  to { transform: translate3d(4%, -3%, 0) scale(1.06); }
}

/* Interior pages (contact) share the same mesh backdrop — no drifting glow */
.hero-wrap.soft {
  background: transparent;
}

.hero-wrap.soft::before {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 64px);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.4vw, 3.9rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 20px;
  max-width: 760px;
  text-wrap: balance;
}

.hero .sub {
  font-size: clamp(1.12rem, 2.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: var(--maxw-text);
}

.hero h1 .kw,
.kw {
  color: var(--accent);
}

/* Hero visual — atmospheric image with blue overlay wash */
.hero-visual {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin: clamp(36px, 6vw, 64px) 0 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
}

/* ---------- Overlay-style hero (home) ---------- */
.hero-wrap.mesh {
  background: var(--mesh);
  overflow: clip;
}

.hero-wrap.mesh::before {
  display: none;
}

.xhero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  min-height: calc(100svh - 72px);
  padding: clamp(24px, 4vw, 48px) 0;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7.6vw, 7.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--accent);
  max-width: 12ch;
  margin: 0 0 22px;
  text-wrap: balance;
}

.xhero .lede {
  max-width: 30ch;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.link-how {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 58, 138, 0.35);
  padding-bottom: 2px;
}

.link-how:hover {
  border-bottom-color: var(--accent);
}

/* Portrait with prismatic light + outlined ellipse */
.portrait {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 0 0 auto;
  aspect-ratio: 3 / 4;
}

.portrait img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  /* Cutout is already transparent; fade only the bottom so the
     shoulders/neckline dissolve into the mesh (no visible clothing). */
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 52%, transparent 82%);
  /* Breathing glow: saturate() amplifies the prismatic rainbow on her
     cheek/neck while barely touching low-saturation skin; a hair of
     brightness adds the "light". Slow ~7s ease-in-out loop. */
  animation: sofiaBreath 7s ease-in-out infinite;
  will-change: filter;
}

@keyframes sofiaBreath {
  0%, 100% { filter: saturate(1) brightness(1); }
  50%      { filter: saturate(1.15) brightness(1.04); }
}

/* ---------- Sections ---------- */
section {
  padding: var(--section-y) 0;
}

/* Bands now share the site-wide mesh backdrop (kept as a hook) */
section.band {
  background: transparent;
}

section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 18ch;
  text-wrap: balance;
}

section p {
  margin: 0 0 16px;
  max-width: var(--maxw-text);
}

section p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.06rem;
}

/* Alternating image + text row */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.media-row.reverse .media-figure {
  order: -1;
}

.media-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.media-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* on-brand legibility wash over photography */
.media-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-blue);
  pointer-events: none;
}

.media-copy .eyebrow {
  margin-bottom: 12px;
}

/* Feature pillars — 2x2 grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: 52px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-ui) var(--ease-out),
              box-shadow var(--dur-ui) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 168, 118, 0.16);
  color: var(--gold-600);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  max-width: none;
  color: var(--muted);
}

/* Centered closing CTA */
.cta-center {
  text-align: center;
}

.cta-center h2,
.cta-center p {
  margin-left: auto;
  margin-right: auto;
}

.cta-center h2 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.4vw, 4.25rem);
}

.cta-center p {
  color: var(--muted);
  font-size: 1.1rem;
}

.cta-center .eyebrow {
  margin-bottom: 12px;
}

/* Editorial statement (brand differentiator) */
.statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--accent);
  max-width: 26ch;
  margin: 0 0 14px;
  text-wrap: balance;
}

.statement-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* How it works — numbered steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 44px);
  margin-top: 44px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.step .step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  max-width: none;
  color: var(--muted);
}

/* Conversation caption */
.chat-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Voice capability section ---------- */
.voice-sub {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.5;
}

/* Ambient pastel visualization — soft drifting mesh inside a rounded
   rectangle with a subtle grid (matches the hero --mesh palette). */
.voice-viz {
  position: relative;
  margin-top: clamp(36px, 5vw, 56px);
  aspect-ratio: 5 / 2;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: #f1ecfa;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.voice-viz::before {
  content: "";
  position: absolute;
  inset: -28%;
  background:
    radial-gradient(38% 52% at 22% 38%, rgba(214, 196, 246, 0.95), transparent 60%),
    radial-gradient(40% 54% at 70% 30%, rgba(247, 201, 222, 0.92), transparent 60%),
    radial-gradient(44% 52% at 60% 78%, rgba(200, 236, 218, 0.92), transparent 60%),
    radial-gradient(40% 52% at 30% 76%, rgba(190, 205, 255, 0.92), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
  animation: voiceDrift 14s ease-in-out infinite alternate;
}

@keyframes voiceDrift {
  to { transform: translate3d(6%, -5%, 0) scale(1.15); }
}

.voice-viz::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 42, 77, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 42, 77, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.voice-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  margin-top: clamp(32px, 4vw, 48px);
}

.voice-point {
  display: flex;
  align-items: center;
  gap: 13px;
}

.vp-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(214, 196, 246, 0.35);
  color: var(--accent);
}

.vp-icon svg {
  width: 20px;
  height: 20px;
}

.vp-text {
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
}

/* ---------- Capabilities strip (compact text, after hero) ---------- */
.caps-strip {
  padding: clamp(22px, 4vw, 40px) 0;
}

.caps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.caps-list li {
  display: inline-flex;
  align-items: center;
}

.caps-list li:not(:last-child)::after {
  content: "·";
  margin: 0 16px;
  color: var(--accent);
  opacity: 0.45;
}

@media (max-width: 767px) {
  /* Capabilities strip: stack vertically, no separators */
  .caps-list {
    flex-direction: column;
    gap: 9px;
    text-align: center;
  }
  .caps-list li:not(:last-child)::after {
    display: none;
  }
  /* Hero CTAs: stack full-width on mobile */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .hero-actions .btn-wa,
  .hero-actions .btn-outline {
    width: 100%;
  }
  .btn-wa {
    justify-content: center;
  }
  .btn-wa-text {
    align-items: center;
  }
  .hero-actions .link-how {
    align-self: center;
    margin-top: 4px;
  }
  /* Voice section: full-width viz, single-column points */
  .voice-viz {
    aspect-ratio: 4 / 3;
  }
  .voice-points {
    grid-template-columns: 1fr;
  }
}

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--accent-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(45, 36, 25, 0.1),
              0 12px 28px -14px rgba(201, 168, 118, 0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--gold-600);
  color: var(--accent-700);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(45, 36, 25, 0.12),
              0 18px 34px -14px rgba(201, 168, 118, 0.75);
}

.btn:active {
  transform: translateY(0);
}

/* Primary WhatsApp CTA — "Try Sofia now" (gold solid, like .btn) */
.btn-wa {
  gap: 12px;
  padding: 12px 26px;
}

.btn-wa .wa-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-wa-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-wa-label {
  font-weight: 700;
  font-size: 16px;
}

.btn-wa-sub {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.78;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(45, 36, 25, 0.14),
              0 22px 40px -14px rgba(201, 168, 118, 0.85);
}

/* Secondary outlined CTA (demoted "See a demo") */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border: 1px solid rgba(30, 58, 138, 0.4);
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent-700);
}

.cta-row {
  margin-top: 28px;
}

/* ---------- Chat block ---------- */
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--wash-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
  max-width: 560px;
  margin-top: 36px;
}

.bubble {
  max-width: 82%;
  padding: 11px 15px 12px;
  border-radius: 16px;
  font-size: 0.97rem;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.09);
}

.bubble .who {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
  opacity: 0.72;
}

.bubble.guest {
  align-self: flex-start;
  background: var(--wa-recv);
  color: var(--wa-recv-text);
  border-bottom-left-radius: 5px;
}

.bubble.sofia {
  align-self: flex-end;
  background: var(--wa-sent);
  color: var(--wa-sent-text);
  border-bottom-right-radius: 5px;
}

/* ---------- Contact page ---------- */
.contact-email {
  display: inline-block;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-decoration: none;
  margin: 10px 0 16px;
  word-break: break-word;
}

.contact-email:hover {
  color: var(--accent-700);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.note {
  color: var(--muted);
  margin: 0;
}

/* ---------- Privacy / prose ---------- */
.page-head {
  padding: 56px 0 8px;
}

.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
}

.page-head .updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.prose {
  padding: 24px 0 8px;
}

.prose h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 28px 0 8px;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 14px;
  max-width: 640px;
  color: #23272e;
}

/* ---------- Footer ---------- */
footer {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 40px 0 48px;
  font-size: 15px;
  color: var(--muted);
}

footer .fmark {
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

footer .tagline {
  margin: 8px 0 18px;
  max-width: 460px;
  line-height: 1.55;
}

footer .links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

footer .links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

footer .links a:hover {
  color: var(--accent);
}

footer .sep {
  color: #c9ccd4;
}

footer .copy {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Tablet: stack grids ---------- */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .media-row {
    grid-template-columns: 1fr;
  }
  .media-row.reverse .media-figure {
    order: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .xhero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding: clamp(40px, 8vw, 72px) 0 0;
  }
  .display {
    margin-left: auto;
    margin-right: auto;
  }
  .xhero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .portrait {
    margin: 8px auto 0;
    max-width: 480px;
  }
  .statement {
    max-width: none;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .wrap,
  .wrap-wide {
    padding: 0 var(--gutter-sm);
  }
  section {
    padding: var(--section-y-sm) 0;
  }
  .chat {
    padding: 18px;
  }
  .bubble {
    max-width: 88%;
  }
  .page-head {
    padding: 40px 0 8px;
  }
  /* Keep the "For your business" dropdown reachable on mobile; hide the
     secondary link and let the panel span full width under the sticky header. */
  .nav-drop__adj { display: none; }
  /* Content-sized columns so the CTA keeps its natural width (the symmetric
     1fr auto 1fr forces the CTA column to the wordmark's width → it wrapped). */
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-cta { white-space: nowrap; padding: 9px 15px; }
  .nav-mid { gap: 0; }
  .nav-drop { position: static; }
  .nav-drop__lg { display: none; }
  .nav-drop__sm { display: inline; }
  .nav-drop__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-wrap::before {
    animation: none;
  }
  .voice-viz::before {
    animation: none;
  }
  /* Freeze Sofia's glow on a mid-pulse state (visible, but static) */
  .portrait img {
    animation: none !important;
    filter: saturate(1.08) brightness(1.02);
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================
   ── HERO ── Sofia video + typewriter + sector inquiry
   New homepage hero (index.html #hero). Local palette: forest/sage
   (tokens in :root). Scoped to #hero so it never touches contact's
   .hero. Headline is Inter (not the site's Fraunces serif).
   ============================================================ */

#hero {
  position: relative;
  background: var(--hero-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;   /* cancel the global `section { padding: var(--section-y) 0 }` */
}

/* Hero-local selection color (leaves the global ::selection intact). */
#hero ::selection { background: var(--hero-select); color: var(--hero-forest); }

/* --- Media (Sofia video) --- */
.hero__media {
  order: 2;                 /* mobile: content first, media below */
  position: relative;
  width: 100%;
  background: var(--hero-bg); /* same token as #hero + stuck header → no seam */
  pointer-events: none;     /* scrubbing reads from window, never the element */
  line-height: 0;           /* kill the inline descender gap under the video */
}
/* object-fit: contain + a max-height capped at the display height means the
   frame downscales on narrow screens but never upscales (which was the blur).
   The mask feathers the frame's left + top edges so its internal pastel
   background melts into --hero-bg instead of showing a hard seam. It rides on
   the element, so the poster (no-JS regime) is feathered identically. */
.hero__video {
  display: block;
  width: 100%;
  height: auto;             /* mobile: natural aspect → only ever downscales */
  max-height: min(var(--sofia-native-h), 88vh);
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%),
    linear-gradient(to bottom, transparent 0%, #000 8%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%),
    linear-gradient(to bottom, transparent 0%, #000 8%);
  mask-composite: intersect;
}

/* --- Content --- */
.hero__content {
  order: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 96px var(--gutter) 48px;
}

/* --- Typewriter headline (Inter, not the site serif) --- */
.hero__title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #000;
  white-space: pre-wrap;
  margin: 0 0 1.75rem;
  min-height: 3.24em;       /* reserve 3 lines so typing doesn't shift content */
}
.hero__title .tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #000;
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* --- Description --- */
.hero__desc {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--hero-sage);
  max-width: 42rem;
  margin: 0 0 3.5rem;
}

/* --- Inquiry widget --- */
.hero__inquiry-title {
  /* Override the global `section h2 { font-family: var(--serif) }` — the hero is Inter-led. */
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--hero-forest);
  margin: 0 0 0.5rem;
}
.hero__inquiry-sub {
  color: var(--hero-sage-2);
  margin: 0 0 2rem;
}
.hero__pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.pill {
  font: inherit;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--pill-border);
  background: #fff;
  color: var(--hero-forest);
  box-shadow: var(--pill-shadow);
  cursor: pointer;
  transition: background .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pill:hover { background: var(--hero-mist); border-color: var(--pill-border-hover); }
.pill[aria-pressed="true"] {
  background: var(--hero-forest);
  color: #fff;
  border-color: var(--hero-forest);
  box-shadow: 0 4px 14px rgba(6, 40, 20, 0.08);
}
.pill[aria-pressed="true"]::before {
  content: "\2713";        /* ✓ — no icon library */
  margin-right: 0.45rem;
  display: inline-block;
  animation: pillCheck .25s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes pillCheck {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* --- Inquiry banner --- */
.hero__banner { margin-top: 1.5rem; min-height: 2.5rem; }
.hero__banner-empty {
  opacity: 0.5;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--hero-sage);
  margin: 0;
}
.hero__banner-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--hero-paper);
  border: 1px solid var(--hero-mist);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  animation: bannerIn .3s ease;
}
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.hero__banner-text { color: var(--hero-forest); font-weight: 500; }
.hero__banner-cta {
  color: var(--hero-moss);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}
.hero__banner-cta:hover { opacity: 0.7; }

/* --- No-JS contract ---
   data-reveal hiding is already scoped under .js (see the reveal block above),
   so the hero's [data-reveal] elements degrade correctly with no JavaScript.
   The video keeps its poster frame (Sofia) since it never plays without JS. */
.js [data-banner-active][hidden] { display: none; }
html:not(.js) [data-banner-active]  { display: flex !important; }
html:not(.js) [data-banner-empty]   { display: none; }

/* --- Desktop: video fills the section, content flows left over it --- */
@media (min-width: 1024px) {
  #hero { min-height: 100vh; }
  .hero__media {
    order: 0;
    position: absolute;
    inset: 0;
    width: auto;
    height: 100%;
    background: transparent;   /* the white #hero shows through around the contained frame */
  }
  /* Anchor the contained frame to the hero's bottom-right, capped at native
     height so it renders 1:1 (no upscale) on desktop. */
  .hero__video {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(var(--sofia-native-h), 88vh);
    max-height: none;
    object-fit: contain;
    object-position: right bottom;
  }
  .hero__content {
    order: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* top-align so the inquiry pills clear the fold */
    padding: 128px 48px 64px;
  }
  .hero__title,
  .hero__inquiry { max-width: 44rem; }
}

/* --- Reduced motion: JS also skips typewriter + scrub (see main.js) --- */
@media (prefers-reduced-motion: reduce) {
  .hero__title .tw-cursor { animation: none; }
  .pill[aria-pressed="true"]::before { animation: none; }
  .hero__banner-active { animation: none; }
}

/* ============================================================
   ── HOMEPAGE V2 · storytelling sections ──
   S2 day · S3 what · S4 trust · S5 soundwave · S6 sectors · S7 cta.
   Section h2 headings inherit the site display serif via `section h2`.
   ============================================================ */

/* ---------- Section 2 · A day with Sofia ---------- */
.day-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 clamp(32px, 4vw, 52px);
  max-width: 22ch;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.tl-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 2vw, 28px);
  box-shadow: var(--shadow-card);
}
.tl-time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--accent);
}
.tl-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Compact chat (reuses .chat/.bubble) */
.chat.mini {
  margin: 0;
  padding: 14px;
  gap: 8px;
  max-width: none;
  box-shadow: none;
  background: var(--wa-chat-bg);
}
.chat.mini .bubble {
  max-width: 90%;
  font-size: 0.9rem;
  padding: 9px 12px 10px;
}

/* Daily-calendar mock — a WhatsApp image attachment inside a Sofia bubble */
.cal-bubble { max-width: 94%; }
.cal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(17, 20, 24, 0.12);
}
.cal-head {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
}
.cal-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.85rem;
}
.cal-t {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent);
  flex: none;
  width: 46px;
}
.cal-s { color: var(--text); }

/* ---------- Section 3 · What Sofia is ---------- */
.what-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1rem;
}
.what-intro {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  margin: 0 0 clamp(36px, 4.5vw, 56px);
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.col-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent-tint);
}
.col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.col-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}
.col-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Section 4 · How she works (trust) — the differentiator ---------- */
.trust { background: #fff; }        /* explicit white — matches the page; the key section */
.trust > .wrap-wide {
  padding-block: clamp(8px, 2vw, 32px);
}
.trust-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 clamp(24px, 3vw, 40px);
}
.trust-body { max-width: 62ch; }
.trust-body p {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 1.1em;
}
.trust-body p:last-child {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0;
}
.trust-row {
  list-style: none;
  margin: clamp(36px, 4.5vw, 60px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
}
.trust-row li {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- Section 5 · Sofia speaks — animated sound wave ---------- */
.voice-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 26px);
}
.soundwave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: clamp(80px, 16vw, 120px);
}
.soundwave span {
  width: 4px;
  height: 24px;                 /* per-bar override via inline style */
  border-radius: 999px;
  background: linear-gradient(to top, #7C8FE0, #C9A7E0, #E8A7C4);
  transform: scaleY(0.35);
  animation: wave 1.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.35); }
  50%      { transform: scaleY(1); }
}
.voice-greet {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.01em;
}
/* Deliberate trilingual greeting: English primary, TR/AR as smaller secondary */
.vg-primary {
  font-size: clamp(0.82rem, 1.5vw, 0.98rem);
  color: var(--text);
}
.vg-alt {
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  color: var(--muted);
  opacity: 0.85;
}

/* ---------- Section 6 · Sector intelligence ---------- */
.sectors { text-align: center; }
.sectors-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 auto 1rem;
  max-width: 24ch;
}
.sectors-line {
  max-width: 62ch;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.55;
}
.sector-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.pill-static { cursor: default; font-weight: 500; }
.pill-static:hover {
  background: #fff;
  border-color: var(--pill-border);   /* neutralize the interactive pill hover */
}

/* ---------- Five-sister row (replaces the old 3-sector labels) ---------- */
.sisters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  margin-top: clamp(28px, 3.5vw, 44px);
  text-align: left;
}
.sister-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: clamp(18px, 1.6vw, 24px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform var(--dur-ui) ease, box-shadow var(--dur-ui) ease,
              border-color var(--dur-ui) ease;
}
.sister-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--pill-border);
}
.sister-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.sister-sector {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}
.sister-hook {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 900px) {
  .sisters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sisters { grid-template-columns: 1fr; }
}

/* ---------- Sector sub-page bits ---------- */
/* System / event line inside a mini chat (missed call, receipt verified, owner alert) */
.chat.mini .chat-sys {
  align-self: center;
  max-width: 94%;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
  background: rgba(35, 42, 77, 0.06);
  padding: 4px 11px;
  border-radius: 999px;
}
.chat.mini .chat-sys--alert {
  color: #b42318;
  background: rgba(180, 35, 24, 0.09);
}
/* Pain columns — one bold statement per column (no bullet list) */
.pain-line {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}
/* Money engine closing line (under the beats) */
.money-close {
  max-width: 68ch;
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.55;
}

/* Rebooking rhythm — the revenue twin: copy beside a single invitation */
.rebook-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.rebook-copy { max-width: 48ch; }
.rebook .day-title { margin-bottom: 16px; }
.rebook .what-intro { margin-bottom: 22px; max-width: none; }
.rebook-demo .chat.mini { max-width: 30rem; margin-inline: auto; }

/* "Arriving with design partners" roadmap tag — drop this element when the feature ships */
.soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.soon-tag::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
}

/* Sena's upcoming pain line — spans the full pain grid, set off by a hairline */
.col--soon {
  grid-column: 1 / -1;
  margin-top: clamp(6px, 1.5vw, 14px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .rebook-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Section 7 · Final CTA ---------- */
.final-cta .cta-center { text-align: center; }
.btn-navy {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12),
              0 12px 28px -14px rgba(30, 58, 138, 0.55);
}
.btn-navy:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.16),
              0 18px 34px -14px rgba(30, 58, 138, 0.7);
}
.cta-note {
  margin: 22px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- V2 responsive: stack the 3-up grids ---------- */
@media (max-width: 900px) {
  .timeline,
  .cols,
  .trust-row { grid-template-columns: 1fr; }
  .cols { gap: 32px; }
}

/* ---------- V2 reduced motion: freeze the wave at its shaped base heights ---------- */
@media (prefers-reduced-motion: reduce) {
  .soundwave span {
    animation: none;
    transform: none;   /* full inline height → still reads as a waveform */
  }
}
