/* ============================================================
   Chief — an alternate landing page for ReMynd
   Executive-editorial · warm ivory + ink · Fraunces display, Inter, JetBrains Mono
   A deliberate departure from the homepage (styles.css): quiet-luxury,
   typographic, generous whitespace. Reuses the homepage's video assets.
   ============================================================ */

:root {
  --bg:       #F4F0E6;   /* warm ivory paper */
  --bg-2:     #EEE8DA;   /* subtly deeper band */
  --panel:    #FBF9F3;   /* cards */
  --ink:      #1A1611;   /* near-black warm ink */
  --ink-soft: #4B453B;   /* body */
  --faint:    #8B8474;   /* captions / mono labels */
  --line:     rgba(26,22,17,.14);
  --line-2:   rgba(26,22,17,.26);
  --accent:   #8A6A38;   /* muted brass — used sparingly */
  --accent-2: #6E5228;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1140px;
  --gut:  24px;
  --r:    6px;
  --r-lg: 12px;
  --shadow: 0 40px 90px -50px rgba(48,36,18,.45);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0; font-family: var(--serif);
  font-weight: 600; letter-spacing: -.015em; line-height: 1.05;
  font-optical-sizing: auto;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(138,106,56,.22); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(84px, 12vw, 148px); position: relative; }
.band { background: var(--bg-2); }
.band-deep { background: var(--bg-2); }
/* editorial hairline between stacked sections */
.section + .section:not(.band):not(.final) { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .6; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 20px; font-weight: 600; }
.section-head p { color: var(--ink-soft); font-size: clamp(17px, 2vw, 20px); margin-top: 20px; max-width: 620px; font-family: var(--sans); }

.grad-text { color: var(--accent); font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: var(--r);
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(26,22,17,.6); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .ic { width: 17px; height: 17px; }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }

.linkcta, .link-cta {
  color: var(--accent); font-weight: 600; font-family: var(--sans);
  display: inline-flex; align-items: center; gap: 7px; font-size: 16px;
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.linkcta:hover, .link-cta:hover { border-bottom-color: var(--accent); }

/* ---------- nav ---------- */
.railwrap { display: none !important; }   /* homepage's scrub rail is dropped here */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,240,230,.78);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(244,240,230,.94); }
.nav-inner { display: flex; align-items: center; gap: 30px; height: 74px; }
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -.01em;
  display: inline-flex; align-items: baseline; gap: 10px;
}
.brand img { display: none; }   /* wordmark-only, editorial */
.brand-by { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.nav-links { display: flex; gap: 30px; margin-left: 12px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-right .signin { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-right .signin:hover { color: var(--ink); }

/* ---------- hero (typographic copy + an iPhone showing a text with Chief) ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  padding-block: clamp(32px, 4.5vh, 60px) clamp(48px, 7vh, 84px); overflow: hidden;
}
/* faint warm field */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(110% 80% at 8% -10%, rgba(138,106,56,.11), transparent 55%),
    radial-gradient(90% 90% at 105% 108%, rgba(26,22,17,.05), transparent 55%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.hero-split { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,360px); gap: clamp(40px, 6vw, 84px); align-items: center; }
.hero-copy { text-align: left; }
.hero-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 12px; margin-bottom: clamp(16px, 3vh, 28px);
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); opacity: .55; }
.hero-title {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(64px, 9.5vw, 138px); line-height: .9; letter-spacing: -.035em;
}
.hero-lede { max-width: 470px; margin-top: clamp(16px, 3vh, 26px); }
.hero-kicker { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(21px, 2.4vw, 30px); color: var(--ink); letter-spacing: -.01em; }
.hero-sub { color: var(--ink-soft); font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.6; margin-top: 14px; }
.hero-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: clamp(22px, 4vh, 34px); }
.platforms { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .04em; margin-top: clamp(18px, 3vh, 28px); }
.platforms b { color: var(--ink-soft); font-weight: 500; }

/* iPhone device — accurate iOS Messages UI inside (SF Pro, real iMessage colors) */
.hero-device { display: flex; flex-direction: column; align-items: center; }
.iphone {
  position: relative; width: 100%; max-width: 320px;
  background: #0c0c0e; border-radius: 56px; padding: 11px;
  box-shadow: 0 60px 120px -44px rgba(30,24,12,.55), 0 3px 8px rgba(0,0,0,.28),
              inset 0 0 0 2px #303034, inset 0 0 0 3px #0c0c0e;
}
.iphone-island { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); width: 82px; height: 25px; background: #000; border-radius: 100px; z-index: 6; }
.iphone-screen {
  position: relative; background: #fff; border-radius: 46px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 632px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
/* iOS status bar */
.ios-status { display: flex; align-items: center; justify-content: space-between; padding: 16px 27px 5px; color: #000; }
.ios-status .t { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.ios-status .i { display: inline-flex; gap: 6px; align-items: center; }
.ios-status .i svg { display: block; }
/* Messages header */
.im-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 44px 11px; border-bottom: 1px solid #d8d8dc; background: #f7f7f7; }
.im-head .chev { position: absolute; left: 15px; top: 14px; color: #007AFF; font-size: 30px; line-height: 1; font-weight: 300; }
.im-head .ft { position: absolute; right: 16px; top: 20px; color: #007AFF; }
.im-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(155deg,#48484a,#1c1c1e); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.im-name { font-size: 12px; color: #000; font-weight: 500; display: inline-flex; align-items: center; gap: 3px; }
.im-name .down { color: #8e8e93; font-size: 9px; }
/* thread */
.im-thread { flex: 1; padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.im-stamp { text-align: center; font-size: 10.5px; color: #8e8e93; margin: 6px 0 8px; }
.im-stamp b { font-weight: 600; color: #6b6b70; }
.im-bubble { max-width: 76%; padding: 8px 13px 9px; font-size: 15px; line-height: 1.3; border-radius: 19px; }
.im-bubble.recv { align-self: flex-start; background: #e9e9eb; color: #000; border-bottom-left-radius: 5px; }
.im-bubble.sent { align-self: flex-end; color: #fff; border-bottom-right-radius: 5px;
  background: linear-gradient(180deg, #38AAFF 0%, #1E8CFF 48%, #0A84FF 100%); }
.im-gap { height: 8px; }
/* input bar */
.im-input { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px; background: #fff; }
.im-field { flex: 1; border: 1px solid #c8c8cd; border-radius: 100px; padding: 7px 14px; font-size: 14px; color: #8e8e93; }
.im-send { width: 29px; height: 29px; border-radius: 50%; background: #0A84FF; color: #fff; display: grid; place-items: center; flex: none; }
.im-send svg { width: 15px; height: 15px; }
.ios-home { width: 130px; height: 5px; background: #000; border-radius: 100px; margin: 4px auto 9px; opacity: .9; }
.hero-device-caption { margin-top: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
/* live-chat animation — bubbles pop in one by one, with a typing indicator */
.im-bubble.pop { animation: imbubble .34s cubic-bezier(.2,.9,.3,1.25) both; }
.im-bubble.sent.pop { transform-origin: bottom right; }
.im-bubble.recv.pop { transform-origin: bottom left; }
@keyframes imbubble { from { opacity: 0; transform: translateY(9px) scale(.72); } to { opacity: 1; transform: none; } }
.im-typing { display: inline-flex; align-items: center; gap: 4px; padding: 13px 15px; }
.im-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9a9aa0; }
.im-typing span:nth-child(1) { animation: imtype 1.25s infinite ease-in-out; }
.im-typing span:nth-child(2) { animation: imtype 1.25s infinite ease-in-out .16s; }
.im-typing span:nth-child(3) { animation: imtype 1.25s infinite ease-in-out .32s; }
@keyframes imtype { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .im-bubble.pop { animation: none; } .im-typing span { animation: none; } }

/* ---------- problem / manifesto ---------- */
.ambient-bg { display: none; }   /* keep the editorial field quiet */
.problem { text-align: center; }
.problem h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6vw, 66px); max-width: 18ch; margin-inline: auto; line-height: 1.08; }
.problem p { color: var(--ink-soft); font-size: clamp(18px, 2.2vw, 22px); max-width: 640px; margin: 26px auto 0; }
.problem .strike { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--accent); }

/* ---------- capabilities (pillars) ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.pillar {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.pillar-demo { line-height: 0; background: #201c16; border-bottom: 1px solid var(--line); }
.pillar-demo video { width: 100%; height: auto; }
.pillar-body { padding: 28px 30px 32px; }
.pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pillar .ico { width: 42px; height: 42px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(138,106,56,.1); border: 1px solid rgba(138,106,56,.25); }
.pillar .ico svg { width: 21px; height: 21px; stroke: var(--accent); }
.pillar h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.pillar p { color: var(--ink-soft); font-size: 15px; font-family: var(--sans); }

/* ---------- use-cases ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.uc { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; overflow: hidden; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.uc:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.uc-ico { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: rgba(138,106,56,.1); border: 1px solid rgba(138,106,56,.22); margin-bottom: 18px; }
.uc-ico svg { width: 19px; height: 19px; stroke: var(--accent); }
.uc .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.uc h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 12px 0 12px; line-height: 1.2; }
.uc-pain { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; font-family: var(--sans); }
.uc-ask { display: flex; gap: 10px; align-items: flex-start; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; margin-bottom: 10px; }
.uc-ask svg { flex: none; margin-top: 3px; width: 13px; height: 13px; stroke: var(--accent); }
.uc-answer { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink); font-weight: 500; font-family: var(--sans); background: rgba(138,106,56,.07); border: 1px solid rgba(138,106,56,.25); border-left: 3px solid var(--accent); border-radius: 8px; padding: 11px 13px; }
.uc-answer svg { flex: none; margin-top: 3px; width: 13px; height: 13px; stroke: var(--accent); }

/* ---------- deep-dive rows ---------- */
.dive { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.dive + .dive { margin-top: clamp(64px, 9vw, 112px); }
.dive.flip .dive-media { order: -1; }
.dive h3 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; margin: 16px 0 18px; }
.dive p { color: var(--ink-soft); font-size: 17px; font-family: var(--sans); }
.dive .example { margin-top: 24px; }
.prompt-chip { font-family: var(--mono); font-size: 13.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 15px 17px; line-height: 1.5; }
.prompt-chip .you { color: var(--accent); }

.macwin, .videoframe { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: var(--shadow); }
.macwin-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.macwin-bar .tl { width: 12px; height: 12px; border-radius: 50%; }
.tl.r { background: #d98b6a; } .tl.y { background: #d9b45a; } .tl.g { background: #8aa96a; }
.macwin-bar .addr { margin-left: 14px; font-family: var(--mono); font-size: 12px; color: var(--faint); background: rgba(26,22,17,.05); border-radius: 5px; padding: 4px 12px; flex: 1; max-width: 360px; }
.macwin-body { background: var(--bg); }
.macwin-body img, .macwin-body video { width: 100%; height: auto; }
.videoframe { line-height: 0; }
.videoframe video { width: 100%; height: auto; }

/* ---------- agent spotlight ---------- */
.agent { position: relative; overflow: hidden; }
.agent-glow, .final-glow { display: none; }
.agent-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(36px, 5vw, 68px); align-items: center; }
.agent h2 { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 54px); font-weight: 600; }
.agent .sub { color: var(--ink-soft); font-size: clamp(17px, 2vw, 20px); margin-top: 20px; max-width: 520px; font-family: var(--sans); }
.agent .moat { margin-top: 24px; font-family: var(--mono); font-size: 12.5px; color: var(--accent-2); display: inline-flex; align-items: center; gap: 9px; }
.vision-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #201c16; box-shadow: var(--shadow); }
.vision-frame video { width: 100%; height: auto; }
.vf-corner { position: absolute; width: 24px; height: 24px; z-index: 3; pointer-events: none; }
.vf-corner.tl { top: 14px; left: 14px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); border-radius: 4px 0 0 0; }
.vf-corner.tr { top: 14px; right: 14px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); border-radius: 0 4px 0 0; }
.vf-corner.bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); border-radius: 0 0 0 4px; }
.vf-corner.br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); border-radius: 0 0 4px 0; }
.vf-hud, .vf-tag { position: absolute; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; border-radius: 100px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 7px; backdrop-filter: blur(6px); }
.vf-hud { top: 14px; left: 46px; color: #F4F0E6; background: rgba(26,22,17,.62); border: 1px solid rgba(244,240,230,.18); }
.vf-hud .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.vf-tag { top: 14px; right: 46px; color: #E8D8B8; background: rgba(26,22,17,.62); border: 1px solid rgba(138,106,56,.4); }

/* ---------- privacy ---------- */
.privacy { text-align: center; }
.priv-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 56px; text-align: left; }
.priv { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; }
.priv .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(138,106,56,.1); border: 1px solid rgba(138,106,56,.22); margin-bottom: 18px; }
.priv .ico svg { width: 22px; height: 22px; stroke: var(--accent); }
.priv h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.priv p { color: var(--ink-soft); font-size: 14.5px; font-family: var(--sans); }
.trust-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.trust-pill { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px; padding: 10px 17px; display: inline-flex; gap: 9px; align-items: center; }
.trust-pill svg { width: 14px; height: 14px; stroke: var(--accent); }

/* ---------- social proof ---------- */
.proof { text-align: center; }
.quote-lg { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4.4vw, 48px); max-width: 20ch; margin: 0 auto; letter-spacing: -.02em; line-height: 1.22; }
.proof .attr { margin-top: 26px; font-family: var(--mono); font-size: 13px; color: var(--faint); letter-spacing: .04em; }
.proof-note { margin-top: 44px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); border: 1px dashed var(--line-2); border-radius: 8px; padding: 11px 15px; display: inline-block; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .1em; }
.step h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 14px 0 10px; }
.step p { color: var(--ink-soft); font-size: 15px; font-family: var(--sans); }

/* ---------- pricing teaser ---------- */
.price-teaser { text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(40px, 5vw, 64px); }
.price-teaser h2 { font-family: var(--serif); font-size: clamp(28px, 3.8vw, 44px); font-weight: 600; }
.price-teaser p { color: var(--ink-soft); margin: 18px auto 30px; max-width: 480px; font-family: var(--sans); }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 24px; font-family: var(--serif); font-weight: 600; font-size: 19px; display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-left: auto; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .25s ease; flex: none; }
.faq[open] summary .pm { transform: rotate(45deg); }
.faq .a { padding: 0 24px 24px; color: var(--ink-soft); font-size: 15.5px; max-width: 64ch; font-family: var(--sans); }

/* ---------- final cta ---------- */
.final { text-align: center; position: relative; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); }
.final h2 { font-family: var(--serif); font-size: clamp(36px, 6vw, 68px); font-weight: 600; max-width: 16ch; margin-inline: auto; line-height: 1.05; }
.final p { color: var(--ink-soft); font-size: clamp(17px, 2.2vw, 21px); margin: 22px auto 34px; max-width: 520px; font-family: var(--sans); }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 60px 42px; }
.footer-top { display: grid; grid-template-columns: minmax(0,1.6fr) repeat(3, minmax(0,1fr)); gap: 34px; }
.footer .brand { margin-bottom: 16px; }
.footer .tagline { color: var(--faint); font-size: 14px; max-width: 32ch; font-family: var(--sans); }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; font-weight: 500; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; display: block; padding: 5px 0; font-family: var(--sans); transition: color .2s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom .copy { font-size: 13px; color: var(--faint); }
.footer-bottom .legal { margin-left: auto; display: flex; gap: 20px; }
.footer-bottom .legal a { font-size: 13px; color: var(--faint); }
.footer-bottom .legal a:hover { color: var(--ink-soft); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { min-height: auto; padding-block: clamp(28px,5vh,52px) clamp(48px,8vh,80px); }
  .hero-split { grid-template-columns: minmax(0,1fr); gap: clamp(40px,7vw,60px); }
  .hero-copy { text-align: center; }
  .hero-copy .hero-eyebrow { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .text-chief-grid { grid-template-columns: minmax(0,1fr); gap: 44px; }
  .text-chief .chat-phone { order: -1; }
  .pillars-grid, .uc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .agent-grid, .dive { grid-template-columns: minmax(0,1fr); }
  .dive.flip .dive-media { order: 0; }
  .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 800px) { .nav-links, .nav-right .signin { display: none; } }
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav .brand-by { display: none; }   /* free nav width for the Download button */
  .pillars-grid, .uc-grid, .priv-grid, .steps { grid-template-columns: minmax(0,1fr); }
  .footer-top { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .footer-bottom .legal { margin-left: 0; }
  .hero { min-height: auto; }
  /* the long mono eyebrow can't wrap as an inline-flex row — at phone widths its
     intrinsic width pushes the page past 100vw, and overflow-x:hidden then clips
     the nav/platforms right edges. Let it flow as centered, wrapping text. */
  .hero-eyebrow { display: block; white-space: normal; text-align: center; max-width: 340px; margin-inline: auto; line-height: 1.7; font-size: 10.5px; letter-spacing: .12em; }
  .hero-eyebrow::before { display: none; }
  .hero-title { font-size: clamp(64px, 22vw, 120px); }
  .hero-sub { font-size: 15px; }
  .platforms { font-size: 11px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .link-cta { justify-content: center; }
  .iphone { max-width: 300px; }
}
