/* ============================================================
   demo.clientelemedia.com · Meet your AI secretary
   Scroll-driven demo. Brand: Clientele Media near-black, gold,
   Urbanist headings + Outfit body.
   ============================================================ */
:root {
  /* type ramp: 7 sizes, nothing else */
  --t-cap: 0.75rem;
  --t-ui: 0.875rem;
  --t-body: 1.0625rem;
  --t-lede: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --t-h3: clamp(1.625rem, 1.25rem + 1.4vw, 2.5rem);
  --t-h2: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  --t-hero: clamp(3rem, 1.4rem + 6.4vw, 7rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; --radius-xl: 1.25rem; --radius-full: 9999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Urbanist', 'Outfit', sans-serif;
  --font-display: 'Urbanist', 'Outfit', sans-serif;

  --color-bg: #0b0b0b;
  --color-surface: #141414;
  --color-surface-2: #191919;
  --color-surface-3: #202020;
  --color-border: #2a2a2a;
  --color-border-soft: #1c1c1c;
  --color-text: #ffffff;
  --color-text-muted: #b8b8b8;
  --color-text-faint: #8a8a8a;
  --color-text-inverse: #17130a;
  --color-primary: #f0ca6d;
  --color-primary-bright: #f7de9c;
  --color-primary-soft: rgba(240, 202, 109, 0.14);
  --color-primary-line: rgba(240, 202, 109, 0.38);
  --color-amber: #d9a05b;
  --color-amber-soft: rgba(217, 160, 91, 0.14);
  --color-green: #6cbf8a;
  --color-green-soft: rgba(108, 191, 138, 0.14);

  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);
  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body); font-size: var(--t-body); line-height: 1.6;
  color: var(--color-text); background: var(--color-bg); overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.08; text-wrap: balance; font-weight: 700; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul[role='list'], ol[role='list'] { list-style: none; }
:focus-visible { outline: 2px solid var(--color-primary-bright); outline-offset: 3px; border-radius: var(--radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums lining-nums; }
em.serif, .serif { font-family: var(--font-serif); font-style: normal; font-weight: 600; letter-spacing: -0.02em; }

@keyframes smsIn { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes feedIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 222, 156, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(247, 222, 156, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 0 clamp(var(--space-4), 3vw, var(--space-10));
  background: rgba(11, 11, 11, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-soft);
}
.brand { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.brand-sig { width: 48px; height: auto; }
.brand-text { font-weight: 500; font-size: var(--t-ui); letter-spacing: 0.02em; white-space: nowrap; }
.brand-dim { color: var(--color-text-faint); }
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap;
  padding: 0.6rem 1.1rem; border-radius: var(--radius-full); font-size: var(--t-ui); font-weight: 500;
  background: var(--color-primary); color: #17130a; transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn:hover { background: #2f98b8; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 0.95rem 1.6rem; font-size: var(--t-body); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--color-primary-bright); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- shared section bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--t-cap); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary-bright);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary-bright); animation: pulse 2.4s infinite; }
.track { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.wrap { width: min(1360px, 100% - 2 * clamp(var(--space-4), 4vw, var(--space-12))); margin-inline: auto; }

/* ---------- owner phone (dark) ---------- */
.phone {
  display: flex; flex-direction: column;
  width: 100%; max-width: 300px; border-radius: 36px; border: 1px solid #333; background: #161616;
  padding: 9px; box-shadow: var(--shadow-lg), 0 0 80px rgba(240, 202, 109, 0.12); position: relative;
}
.phone-screen { border-radius: 28px; background: #050505; overflow: hidden; display: flex; flex-direction: column; height: min(560px, 100svh - var(--topbar-h) - 120px); min-height: 380px; }
.phone-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 1.4rem var(--space-3) 0.7rem; border-bottom: 1px solid #1c1c1c; background: #0d0d0d; }
.phone-av {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #f7de9c, #f0ca6d 55%, #3d3215); box-shadow: 0 0 18px rgba(247, 222, 156, 0.35);
}
.phone-av svg { width: 20px; height: 20px; color: #fff; }
.phone-name { font-size: var(--t-cap); font-weight: 500; color: var(--color-text); }
.phone-thread { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 48px); mask-image: linear-gradient(transparent, #000 48px); padding: var(--space-3); display: flex; flex-direction: column; gap: 7px; scroll-behavior: smooth; }
.phone-thread > :first-child { margin-top: auto; }
.sms { max-width: 86%; padding: 0.5rem 0.7rem; font-size: var(--t-cap); line-height: 1.45; border-radius: 16px; word-break: break-word; animation: smsIn 380ms var(--ease-out); }
.sms.still { animation: none; }
.sms-in { align-self: flex-start; background: #232323; color: #fff; border-bottom-left-radius: 5px; }
.sms-out { align-self: flex-end; background: var(--color-primary); color: #17130a; border-bottom-right-radius: 5px; font-weight: 500; }
.sms b { font-weight: 600; }
.sms-day { align-self: center; font-size: var(--t-cap); color: #6f6f6f; padding: 2px 0; }
.sms-typing { align-self: flex-start; display: flex; gap: 4px; padding: 0.65rem 0.75rem; border-radius: 16px; background: #232323; }
.sms-typing.out { align-self: flex-end; background: var(--color-primary); }
.sms-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9a9a9a; animation: typing 1.1s infinite; }
.sms-typing.out i { background: #d8f1f6; }
.sms-typing i:nth-child(2) { animation-delay: 0.15s; }
.sms-typing i:nth-child(3) { animation-delay: 0.3s; }

/* ---------- close ---------- */
.close { padding: clamp(var(--space-20), 16vh, 10rem) 0; text-align: center; border-top: 1px solid var(--color-border-soft); background: radial-gradient(ellipse at 50% 0%, rgba(240, 202, 109, 0.16), transparent 60%); }
.close h2 { font-size: var(--t-h2); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; }
.close h2 .serif { display: block; text-transform: none; color: var(--color-primary-bright); font-size: 0.7em; margin-top: 0.15em; }
.close p { max-width: 40ch; margin: var(--space-5) auto var(--space-8); font-size: var(--t-lede); color: var(--color-text-muted); }
.close-logo { width: 240px; height: auto; margin: var(--space-10) auto 0; opacity: 0.95; }
.footer { padding: var(--space-8) 0; border-top: 1px solid var(--color-border-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--t-cap); color: var(--color-text-faint); }


/* ============================================================
   LAYOUT v3 · text scrolls normally, one phone stays put
   ============================================================ */
.phone-sub { font-size: var(--t-cap); color: var(--color-green); line-height: 1; }
.phone-thread { scroll-behavior: auto; }
.sms-out-old { opacity: 1; }
.sms.leaving { opacity: 0; transform: translateY(6px); transition: opacity 200ms, transform 200ms; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--topbar-h) + var(--space-10)) 0 var(--space-12); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(var(--space-8), 5vw, var(--space-20)); }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-6); }
.hero-title { font-size: min(var(--t-hero), 13vh); font-weight: 900; letter-spacing: -0.035em; line-height: 0.95; text-transform: uppercase; }
.hero-title .serif { display: block; text-transform: none; color: var(--color-primary-bright); font-size: 0.6em; line-height: 1.1; margin-top: 0.2em; }
.hero-lede { font-size: var(--t-lede); color: var(--color-text-muted); max-width: 32ch; line-height: 1.5; }
.scroll-cue { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--t-cap); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); }
.scroll-cue svg { width: 16px; height: 16px; animation: bob 1.8s ease-in-out infinite; }
.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { max-width: 300px; }
.hero-phone .phone-screen { height: min(540px, 70svh); }

/* how it works: three plain lines */
.how { padding: clamp(var(--space-16), 12vh, var(--space-24)) 0; border-top: 1px solid var(--color-border-soft); }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-10); }
.how-item { padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-3); }
.how-item b { font-size: var(--t-cap); color: var(--color-primary-bright); letter-spacing: 0.14em; font-weight: 500; }
.how-item h3 { font-size: var(--t-h3); }
.how-item p { color: var(--color-text-muted); }
.section-title { font-size: var(--t-h2); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; }
.section-sub { font-size: var(--t-lede); color: var(--color-text-muted); max-width: 44ch; margin-top: var(--space-4); }
.tools-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.tools-row span { padding: 0.5rem 0.95rem; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface-2); font-size: var(--t-ui); color: var(--color-text-muted); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* example chapters · a tall track with a pinned stage */
.ex { border-top: 1px solid var(--color-border-soft); }
.ex-track { --step: 95vh; position: relative; height: calc(var(--n) * var(--step) + 100vh); }
@supports (height: 1svh) { .ex-track { --step: 95svh; height: calc(var(--n) * var(--step) + 100svh); } }
@media (max-width: 899px) { .ex-track { --step: max(64vh, 540px); } @supports (height: 1svh) { .ex-track { --step: max(64svh, 540px); } } }
.ex-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: var(--topbar-h); }
.ex-grid { height: 100%; display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr); gap: clamp(var(--space-6), 4vw, var(--space-16)); align-items: center; }
.ex-copy { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; }
.ex-num { font-size: var(--t-cap); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary-bright); }
.ex-head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; margin-top: var(--space-3); max-width: 14ch; }
.caps { position: relative; min-height: 12rem; }
.cap { position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; gap: var(--space-3); opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); pointer-events: none; }
.cap.on { opacity: 1; transform: none; pointer-events: auto; }
.cap.past { transform: translateY(-16px); }
.step-n { font-size: var(--t-cap); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-bright); }
.cap h3 { font-size: var(--t-h3); letter-spacing: -0.025em; line-height: 1.08; }
.cap p { font-size: var(--t-lede); color: var(--color-text-muted); line-height: 1.45; max-width: 30ch; }
.dots { display: flex; gap: var(--space-2); }
.dots button { position: relative; width: 40px; height: 24px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.dots button::before { content: ''; width: 100%; height: 3px; border-radius: 2px; background: var(--color-surface-3); }
.dots button::after { content: ''; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--color-primary-bright); width: calc(var(--f, 0) * 100%); }

.vis { height: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(var(--space-4), 2vw, var(--space-8)); min-width: 0; padding-block: var(--space-6); }
.vis-card { position: relative; flex: 1; max-width: 400px; min-width: 0; height: min(560px, 100%); }
.vis-card .card { position: absolute; inset: 50% 0 auto 0; transform: translateY(-50%); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
.vis-card .card.out { opacity: 0; transform: translateY(calc(-50% - 14px)) scale(0.98); pointer-events: none; }
.vis-card .card.pre { opacity: 0; transform: translateY(calc(-50% + 18px)) scale(0.98); }
.vis .phone { flex: none; width: 290px; }
.vis .phone-screen { height: min(580px, 100svh - var(--topbar-h) - 64px); min-height: 0; }

/* the "what the customer sees" card */
.card { display: flex; flex-direction: column; gap: var(--space-2); }
.card-label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-cap); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-faint); }
.card-label svg { width: 13px; height: 13px; color: var(--color-primary); }
.card-body { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.card-body.clip { max-height: 470px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.card-body > .form-card, .card-body > .cal, .card-body > .doc, .card-body > .res, .card-body > .lead-card, .card-body > .score-card { border-radius: var(--radius-xl); }
.card-body .fb-ad { max-width: none; border: none; }
.card-body .tc-email { margin: 0; max-width: none; }
.card-stack { display: flex; flex-direction: column; gap: var(--space-3); }

/* light customer thread */
.ct { background: #fff; color: #111; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', var(--font-body); }
.ct-head { display: flex; align-items: center; gap: 8px; padding: 0.7rem 0.85rem; background: #f6f6f6; border-bottom: 1px solid #e8e8e8; }
.ct-head .cp-av { width: 30px; height: 30px; }
.ct-head span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ct-head strong { font-size: var(--t-ui); font-weight: 600; }
.ct-head em { font-style: normal; font-size: var(--t-cap); color: #888; }
.ct-body { display: flex; flex-direction: column; gap: 6px; padding: 0.8rem; }
.ct-body .cp-msg { animation: none; max-width: 86%; }
.ct-foot { font-size: var(--t-cap); color: #888; text-align: center; padding: 0.5rem; border-top: 1px solid #eee; background: #f6f6f6; }

/* close */
.close { border-top: 1px solid var(--color-border-soft); }

/* ============================================================
   STORY SECTIONS · sound familiar, a day with it, why each example, recap
   ============================================================ */
.pain, .day, .recap { padding: clamp(var(--space-16), 12vh, var(--space-24)) 0; border-top: 1px solid var(--color-border-soft); }
.pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-10); }
.pain-item { padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-3); border-top: 2px solid var(--color-amber); }
.pain-item h3 { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem); line-height: 1.2; }
.pain-item p { color: var(--color-text-muted); }
.pain-fix { margin-top: var(--space-10); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.25; max-width: 30ch; }
.pain-fix span { font-family: var(--font-serif); font-weight: 400; color: var(--color-primary-bright); }

.day-list { list-style: none; padding: 0; margin: var(--space-10) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.day-item { min-width: 0; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-3); }
.day-time { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: var(--t-cap); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary-bright); padding: 0.3rem 0.65rem; border-radius: var(--radius-full); background: var(--color-primary-soft); border: 1px solid var(--color-primary-line); }
.day-time svg { width: 13px; height: 13px; flex: none; }
.day-item h3 { font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem); line-height: 1.2; }
.day-sms { display: flex; flex-direction: column; gap: 6px; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--color-bg); border: 1px solid var(--color-border-soft); flex: 1; }
.day-sms .sms { max-width: 92%; animation: none; }
.day-why { font-size: var(--t-ui); color: var(--color-text-muted); line-height: 1.45; }
.day-why b { display: block; font-size: var(--t-cap); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-green); font-weight: 500; margin-bottom: 2px; }
.day-next { margin-top: var(--space-10); font-size: var(--t-lede); color: var(--color-text-muted); }

.ex-intro { padding: clamp(var(--space-16), 12vh, var(--space-24)) 0 var(--space-6); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-10); align-items: end; }
.ex-intro .section-sub { max-width: 52ch; }
.ex-why { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.ex-why li { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); font-size: var(--t-ui); }
.ex-why li svg { width: 18px; height: 18px; flex: none; color: var(--color-green); margin-top: 1px; }

.recap-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-10); }
.recap-item { padding: var(--space-6) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-3); }
.recap-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary-bright); }
.recap-ic svg { width: 20px; height: 20px; }
.recap-item h3 { font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem); line-height: 1.2; }
.recap-item p { color: var(--color-text-muted); }

@media (max-width: 1199px) {
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .day-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-intro { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
}
@media (max-width: 899px) {
  .ex-intro { padding-top: var(--space-16); padding-bottom: var(--space-4); }
}
@media (max-width: 639px) {
  .pain-grid, .day-list, .recap-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   RENT VS OWN
   ============================================================ */
.own { padding: clamp(var(--space-16), 12vh, var(--space-24)) 0; border-top: 1px solid var(--color-border-soft); }
.own-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-10); }
.own-card { min-width: 0; padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-5); }
.own-card-own { border-color: var(--color-primary-line); background: linear-gradient(180deg, rgba(240, 202, 109,0.10), var(--color-surface) 55%); }
.own-tag { font-size: var(--t-cap); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--color-text-faint); }
.own-card-own .own-tag { color: var(--color-primary-bright); }
.own-diag { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 0.82; margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); place-items: center; }
.own-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.own-lines line { stroke-width: 2; vector-effect: non-scaling-stroke; }
.own-diag-rent .own-lines line { stroke: #3a3a3a; stroke-dasharray: 3 7; }
.own-diag-own .own-lines line { stroke: var(--color-primary); stroke-dasharray: 6 6; animation: ownFlow 1.6s linear infinite; }
@keyframes ownFlow { to { stroke-dashoffset: -24; } }
.own-chip { position: relative; z-index: 1; padding: 0.35rem 0.7rem; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 500; white-space: nowrap; border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text-faint); }
.own-diag-own .own-chip { border-color: var(--color-primary-line); background: #2a2312; color: #fff; }
.own-hub { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 0.7rem 0.8rem; border-radius: 18px; min-width: 112px; }
.own-hub > svg { width: 24px; height: 24px; }
.own-hub b { font-size: 0.82rem; font-weight: 600; line-height: 1.15; }
.own-hub em { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--radius-full); }
.own-hub em svg { width: 11px; height: 11px; }
.own-hub-rent { background: #1d1d1d; border: 1px solid #333; color: var(--color-text-muted); }
.own-hub-rent em { background: var(--color-amber-soft); color: var(--color-amber); }
.own-hub-own { background: var(--color-primary); color: #17130a; box-shadow: 0 0 0 6px rgba(240, 202, 109,0.18), 0 10px 30px rgba(240, 202, 109,0.35); }
.own-hub-own em { background: rgba(255,255,255,0.2); color: #17130a; }
.own-you { position: relative; z-index: 1; align-self: end; margin-bottom: -0.2rem; font-size: 0.72rem; color: var(--color-amber); text-align: center; line-height: 1.2; }
.own-you-ok { color: var(--color-green); }
.own-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.own-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--t-ui); color: var(--color-text-muted); line-height: 1.45; }
.own-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.own-card-rent .own-list svg { color: var(--color-amber); }
.own-card-own .own-list svg { color: var(--color-green); }
.own-card-own .own-list li { color: var(--color-text); }
.own-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-6); }
.own-why-item { padding: var(--space-6) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-3); }
.own-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary-bright); }
.own-ic svg { width: 20px; height: 20px; }
.own-why-item h3 { font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem); line-height: 1.2; }
.own-why-item p { color: var(--color-text-muted); }
@media (max-width: 1099px) { .own-grid, .own-why { grid-template-columns: minmax(0, 1fr); } .own-grid { max-width: 640px; } .own-why { max-width: 640px; } }
@media (max-width: 479px) { .own-card { padding: var(--space-5) var(--space-4); } .own-chip { font-size: 0.7rem; padding: 0.3rem 0.5rem; } .own-hub { min-width: 0; padding: 0.55rem 0.6rem; } .own-hub b { font-size: 0.74rem; } .own-hub { width: max-content; max-width: 132px; } .own-hub em { letter-spacing: 0.02em; font-size: 0.62rem; padding: 2px 6px; } }
@media (prefers-reduced-motion: reduce) { .own-diag-own .own-lines line { animation: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1099px) {
  .ex-grid { grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr); }
  .vis .phone { width: 240px; }
  .vis-card { max-width: 320px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 899px) {
  /* phone stays pinned on top, steps scroll underneath with their card */
  :root { --topbar-h: 56px; }
  .brand-text { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--topbar-h) + var(--space-8)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .hero-title { font-size: clamp(2.5rem, 11.5vw, 4rem); }
  .hero-lede { font-size: var(--t-body); }
  .hero-phone .phone-screen { height: 440px; }
  /* stacked stage: caption on top, then the card, then the texts */
  .ex-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: stretch; gap: var(--space-3); padding-top: var(--space-4); }
  .ex-copy { gap: var(--space-3); }
  .ex-head h2 { font-size: 1.15rem; max-width: none; margin-top: 4px; }
  .caps { min-height: 7.6rem; }
  .cap h3 { font-size: 1.5rem; }
  .cap p { font-size: var(--t-body); max-width: none; }
  .dots button { width: 30px; }
  .vis { padding-block: 0 var(--space-4); align-items: stretch; position: relative; }
  .vis-card { max-width: 440px; height: 100%; margin-inline: auto; transition: opacity 350ms var(--ease-out); }
  .vis-card .card-body.clip { max-height: 50svh; }
  .vis .phone { position: absolute; inset: 0 0 var(--space-4); width: min(320px, 100%); margin-inline: auto; transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out); }
  .vis .phone-screen { height: 100%; }
  .vis[data-focus='card'] .phone { opacity: 0; transform: translateY(24px); pointer-events: none; }
  .vis[data-focus='phone'] .vis-card { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   SCREENS (customer-facing mocks)
   ============================================================ */
/* generic screen */
.scr { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.scr-split { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--space-5); align-items: start; }
.scr-center { align-items: center; }
.scr-center .cp { width: 100%; max-width: 340px; }
.scr-label {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-cap); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-2);
}
.scr-label svg { width: 13px; height: 13px; color: var(--color-primary); flex: none; }
.scr-foot { font-size: var(--t-cap); color: var(--color-text-faint); }
.scr-foot .num { color: var(--color-text); }

/* prospect search */
.pf-brief { padding: var(--space-4); border: 1px solid var(--color-primary-line); background: var(--color-primary-soft); border-radius: var(--radius-lg); }
.pf-brief p { font-family: var(--font-serif); font-size: var(--t-lede); line-height: 1.4; color: var(--color-text); }
.pf-sources { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pf-src {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-cap); color: var(--color-text-muted);
  padding: 0.3rem 0.65rem; border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface);
}
.pf-src svg { width: 12px; height: 12px; color: var(--color-green); }
.pf-table { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.pf-tr {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 120px; gap: var(--space-3);
  align-items: center; padding: 0.7rem var(--space-4); border-top: 1px solid var(--color-border-soft);
  animation: feedIn 420ms var(--ease-out) both;
}
.pf-th { border-top: none; background: var(--color-surface); font-size: var(--t-cap); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-faint); animation: none; }
.pf-tr.is-top { background: var(--color-primary-soft); }
.pf-tr > span { min-width: 0; }
.pf-tr strong { display: block; font-size: var(--t-ui); font-weight: 600; }
.pf-tr em { display: block; font-style: normal; font-size: var(--t-cap); color: var(--color-text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-why { font-size: var(--t-ui); color: var(--color-text-muted); }
.pf-fit { display: flex; align-items: center; gap: var(--space-2); }
.pf-bar { flex: 1; height: 5px; border-radius: 3px; background: var(--color-surface-3); overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: var(--color-primary); border-radius: 3px; }
.pf-fit b { font-size: var(--t-ui); width: 22px; text-align: right; }

/* link reader */
.url-bar {
  display: flex; align-items: center; gap: var(--space-3); padding: 0.55rem 0.55rem 0.55rem var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface);
}
.url-bar > svg { width: 16px; height: 16px; color: var(--color-primary); flex: none; }
.url-text { flex: 1; min-width: 0; font-family: var(--font-body); font-size: var(--t-ui); color: var(--color-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url-text em { font-family: var(--font-body); font-style: normal; color: var(--color-text); margin-left: 6px; }
.url-go { flex: none; font-size: var(--t-cap); font-weight: 600; padding: 0.35rem 0.85rem; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-text-inverse); }
.url-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.url-col { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.url-list, .opener-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.url-list li { display: flex; gap: var(--space-2); font-size: var(--t-ui); line-height: 1.45; color: var(--color-text-muted); }
.url-list svg { width: 14px; height: 14px; color: var(--color-green); flex: none; margin-top: 3px; }
.opener-list li { display: flex; flex-direction: column; gap: 3px; padding-left: var(--space-3); border-left: 2px solid var(--color-primary-line); }
.opener-list strong { font-size: var(--t-cap); font-weight: 600; color: var(--color-text); }
.opener-list span { font-family: var(--font-serif); font-size: var(--t-body); line-height: 1.35; color: var(--color-text-muted); }

/* email (Theodora brand) */
.mail { margin: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: #e9e6df; }
.mail-meta { background: #fff; color: #1D2A24; padding: 0.6rem var(--space-4); border-bottom: 1px solid #DCD8CF; }
.mail-row { display: flex; align-items: baseline; gap: var(--space-2); font-size: var(--t-ui); padding: 2px 0; min-width: 0; }
.mail-row span { width: 54px; flex: none; color: #62685F; }
.mail-row strong { font-weight: 600; white-space: nowrap; }
.mail-row em { font-style: normal; color: #62685F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mail-subj strong { white-space: normal; }
.tc-email {
  max-width: 520px; margin: var(--space-5) auto; background: #F6F4EF; color: #1D2A24;
  font-family: 'Switzer', 'Helvetica Neue', Arial, sans-serif; border: 1px solid #DCD8CF;
}
.tc-head { display: flex; justify-content: center; padding: var(--space-5) 0 var(--space-4); }
.tc-head img { width: 76px; height: auto; }
.tc-hero { margin: 0; position: relative; }
.tc-hero img { display: block; width: 100%; height: 200px; object-fit: cover; }
.tc-hero figcaption {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-cap); font-weight: 500; color: #fff; background: rgba(29, 42, 36, 0.78); padding: 0.35rem 0.7rem 0.35rem 0.4rem; border-radius: 999px;
}
.tc-play { width: 20px; height: 20px; border-radius: 50%; background: #F6F4EF; position: relative; flex: none; }
.tc-play::after { content: ''; position: absolute; left: 8px; top: 6px; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #2C4831; }
.tc-body { padding: var(--space-5) var(--space-6) var(--space-4); display: flex; flex-direction: column; gap: 0.8rem; font-size: var(--t-ui); line-height: 1.6; }
.tc-body p:first-child { font-family: 'Sentient', Georgia, serif; font-size: var(--t-body); }
.tc-cta-wrap { text-align: center; padding: 0.3rem 0; }
.tc-cta { display: inline-block; background: #47704C; color: #F6F4EF; font-weight: 600; font-size: var(--t-ui); letter-spacing: 0.02em; padding: 0.7rem 1.3rem; border-radius: 2px; }
.tc-sign { display: flex; align-items: center; gap: var(--space-3); margin-top: 0.4rem; padding-top: var(--space-4); border-top: 1px solid #DCD8CF; }
.tc-sign img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.tc-sign div { display: flex; flex-direction: column; font-size: var(--t-cap); color: #62685F; line-height: 1.45; }
.tc-sign strong { font-family: 'Sentient', Georgia, serif; font-weight: 500; font-size: var(--t-body); color: #1D2A24; }
.tc-foot { font-size: var(--t-cap); color: #62685F; text-align: center; padding: var(--space-3) var(--space-5) var(--space-4); border-top: 1px solid #DCD8CF; line-height: 1.5; }

/* customer phone (light) */
.cp {
  border-radius: 26px; border: 7px solid #1b1b1b; background: #fff; color: #111; overflow: hidden;
  display: flex; flex-direction: column; height: 460px; box-shadow: var(--shadow-lg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', var(--font-body);
}
.cp-head { display: flex; align-items: center; gap: 8px; padding: 0.7rem 0.8rem; border-bottom: 1px solid #ececec; background: #f7f7f7; }
.cp-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(#a6abb5, #868b95); color: #fff; display: grid; place-items: center; font-size: var(--t-cap); font-weight: 600; flex: none; }
.cp-who { display: flex; flex-direction: column; min-width: 0; }
.cp-who strong { font-size: var(--t-ui); font-weight: 600; }
.cp-who span { font-size: var(--t-cap); color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-thread { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0.7rem; display: flex; flex-direction: column; gap: 6px; }
.cp-day { align-self: center; font-size: var(--t-cap); color: #8a8a8a; margin: 4px 0; animation: smsIn 400ms var(--ease-out); }
.cp-msg { max-width: 84%; font-size: var(--t-cap); line-height: 1.42; padding: 0.45rem 0.65rem; border-radius: 15px; animation: smsIn 400ms var(--ease-out); word-break: break-word; }
.cp-in { align-self: flex-start; background: #e9e9eb; color: #111; border-bottom-left-radius: 5px; }
.cp-out { align-self: flex-end; background: #34c759; color: #fff; border-bottom-right-radius: 5px; }
.cp-note { font-size: var(--t-cap); color: #8a8a8a; text-align: center; padding: 0.45rem 0.6rem; border-top: 1px solid #ececec; background: #f7f7f7; }

/* opens + inquiries */
.opens, .inq { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.opens li, .inq li { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); padding: 0.75rem var(--space-4); }
.opens li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.opens li.is-top, .inq li.is-top { border-color: var(--color-primary-line); background: var(--color-primary-soft); }
.op-who { display: flex; flex-direction: column; min-width: 0; }
.op-who strong, .inq-top strong { font-size: var(--t-ui); font-weight: 600; }
.op-who em, .inq-top em { font-style: normal; font-size: var(--t-cap); color: var(--color-text-faint); }
.op-act { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-cap); color: var(--color-text-muted); padding: 0.25rem 0.6rem; border-radius: var(--radius-full); border: 1px solid var(--color-border); white-space: nowrap; }
.op-act svg { width: 12px; height: 12px; flex: none; }
.op-green { color: var(--color-green); border-color: rgba(108, 191, 138, 0.4); background: var(--color-green-soft); }
.op-dim { color: var(--color-text-faint); }
.inq li { display: flex; flex-direction: column; gap: 6px; }
.inq-top { display: flex; justify-content: space-between; gap: var(--space-3); align-items: baseline; }
.inq-q { font-family: var(--font-serif); font-size: var(--t-body); line-height: 1.35; color: var(--color-text); }
.inq-a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-cap); color: var(--color-green); }
.inq-a svg { width: 12px; height: 12px; flex: none; }

/* facebook ad */
.fb-ad { background: #fff; color: #050505; border-radius: var(--radius-lg); overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; border: 1px solid #dadde1; max-width: 500px; width: 100%; }
.fb-top { display: flex; align-items: center; gap: 8px; padding: 0.7rem 0.8rem 0.4rem; }
.fb-top img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.fb-top span { display: flex; flex-direction: column; min-width: 0; }
.fb-top strong { font-size: var(--t-ui); font-weight: 600; }
.fb-top em { font-style: normal; font-size: var(--t-cap); color: #65676b; display: inline-flex; align-items: center; gap: 4px; }
.fb-top em svg { width: 11px; height: 11px; }
.fb-copy { font-size: var(--t-ui); line-height: 1.42; padding: 0.2rem 0.8rem 0.65rem; }
.fb-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.fb-link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); background: #f0f2f5; padding: 0.6rem 0.8rem; }
.fb-link span:first-child { display: flex; flex-direction: column; min-width: 0; }
.fb-link em { font-style: normal; font-size: var(--t-cap); color: #65676b; letter-spacing: 0.02em; }
.fb-link strong { font-size: var(--t-ui); font-weight: 600; }
.fb-btn { flex: none; font-size: var(--t-ui); font-weight: 600; background: #e4e6eb; padding: 0.45rem 0.8rem; border-radius: 6px; }
.fb-legal { font-size: var(--t-cap); color: #65676b; padding: 0.45rem 0.8rem 0.6rem; }
.ad-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.ad-steps li { display: flex; gap: var(--space-3); align-items: flex-start; }
.ad-steps b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-cap); font-family: var(--font-body); color: #fff; background: #ba1011; }
.ad-steps span { display: flex; flex-direction: column; gap: 2px; font-size: var(--t-ui); color: var(--color-text-muted); line-height: 1.45; }
.ad-steps strong { font-size: var(--t-ui); color: var(--color-text); font-weight: 600; }
.scr-ad { grid-template-columns: minmax(0, 1fr) 240px; }

/* lead card + score card */
.lead-card, .score-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.lead-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.lead-top .scr-label { margin: 0; }
.lead-time { font-size: var(--t-cap); color: var(--color-text-faint); }
.lead-card h4, .score-card h4 { font-size: var(--t-lede); font-weight: 700; }
.lead-sub { font-size: var(--t-ui); color: var(--color-text-faint); margin-top: -6px; }
.lead-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: 0; }
.lead-dl div { padding: 0.55rem 0.75rem; border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); background: var(--color-bg-2); }
.lead-dl dt { font-size: var(--t-cap); letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-text-faint); }
.lead-dl dd { margin: 2px 0 0; font-size: var(--t-ui); font-weight: 500; }
.lead-consent, .lead-fast, .score-foot { display: flex; align-items: center; gap: 6px; font-size: var(--t-cap); color: var(--color-text-muted); }
.lead-consent svg, .lead-fast svg, .score-foot svg { width: 13px; height: 13px; flex: none; color: var(--color-green); }
.lead-fast { color: var(--color-text); }
.score-top { display: flex; gap: var(--space-4); align-items: center; }
.score-top p { font-size: var(--t-ui); color: var(--color-text-muted); margin-top: 2px; }
.score-ring {
  flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--color-surface) 78%, transparent 80% 100%), conic-gradient(var(--color-green) 86%, var(--color-surface-3) 0);
}
.score-ring b { font-size: var(--t-lede); line-height: 1; }
.score-ring em { font-style: normal; font-size: var(--t-cap); color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.score-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.score-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: var(--space-2); align-items: center; padding: 0.5rem 0; border-top: 1px solid var(--color-border-soft); font-size: var(--t-ui); }
.score-list svg { width: 13px; height: 13px; color: var(--color-green); }
.score-list em { font-style: normal; font-size: var(--t-cap); color: var(--color-text-faint); text-align: right; }

/* new screens for chapter 01 */
.form-card, .cal, .doc, .tl, .res { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.form-card { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.form-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.form-top em { font-style: normal; font-size: var(--t-cap); color: var(--color-text-faint); }
.form-field { display: flex; flex-direction: column; gap: 3px; padding: 0.55rem 0.75rem; border-radius: var(--radius-md); background: var(--color-surface-3); }
.form-field span { font-size: var(--t-cap); color: var(--color-text-faint); }
.form-field strong { font-size: var(--t-ui); font-weight: 500; }
.form-field.msg strong { font-family: var(--font-serif); font-weight: 400; font-size: var(--t-body); line-height: 1.4; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-cap); padding: 0.3rem 0.65rem; border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.chip svg { width: 12px; height: 12px; }
.chip-green { color: var(--color-green); border-color: rgba(108, 191, 138, 0.4); background: var(--color-green-soft); }
.chip-amber { color: var(--color-amber); border-color: rgba(217, 160, 91, 0.4); background: var(--color-amber-soft); }
.chip-teal { color: var(--color-primary-bright); border-color: var(--color-primary-line); background: var(--color-primary-soft); }
.cal { overflow: hidden; }
.cal-head { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem var(--space-4); border-bottom: 1px solid var(--color-border); font-size: var(--t-ui); font-weight: 500; }
.cal-head em { font-style: normal; font-size: var(--t-cap); color: var(--color-text-faint); font-weight: 400; }
.cal-grid { display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); font-size: var(--t-cap); }
.cal-grid > div { border-right: 1px solid var(--color-border-soft); border-bottom: 1px solid var(--color-border-soft); min-height: 38px; padding: 4px 6px; color: var(--color-text-faint); position: relative; }
.cal-grid .cal-day { text-align: center; color: var(--color-text-muted); font-weight: 500; min-height: 0; padding: 6px; }
.cal-ev { position: absolute; inset: 3px; border-radius: 6px; padding: 4px 7px; font-size: var(--t-cap); line-height: 1.3; color: var(--color-text); background: var(--color-surface-3); border-left: 3px solid #555; overflow: hidden; }
.cal-ev.hot { background: var(--color-primary-soft); border-left-color: var(--color-primary-bright); }
.cal-ev.due { background: var(--color-amber-soft); border-left-color: var(--color-amber); }
.sent-note { display: flex; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.sent-note svg { width: 16px; height: 16px; color: var(--color-green); flex: none; margin-top: 3px; }
.sent-note div { display: flex; flex-direction: column; gap: 4px; }
.sent-note strong { font-size: var(--t-ui); font-weight: 500; }
.sent-note span { font-size: var(--t-ui); color: var(--color-text-muted); line-height: 1.5; }
.doc { background: #fbfaf7; color: #1b1b1b; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); border-color: #ddd; }
.doc h4 { font-family: var(--font-serif); font-weight: 400; font-size: var(--t-lede); letter-spacing: 0; }
.doc-sub { font-size: var(--t-cap); color: #6b6b6b; margin-top: -6px; }
.doc ul { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-ui); }
.doc li { display: flex; gap: 8px; }
.doc li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #f0ca6d; flex: none; margin-top: 0.55em; }
.doc li.added { background: #fff3c8; border-radius: 4px; padding: 2px 6px; margin-inline: -6px; }
.doc-total { display: flex; justify-content: space-between; padding-top: var(--space-3); border-top: 1px solid #e3e0d8; font-size: var(--t-ui); }
.doc-total strong { font-size: var(--t-body); }
.doc-sign { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; padding: 0.7rem 0.9rem; border-radius: var(--radius-md); background: #eef4f6; border: 1px dashed #9cc3cf; }
.doc-sign span { font-size: var(--t-cap); color: #33525c; }
.doc-sign b { display: inline-block; font-size: var(--t-cap); font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 4px; background: #f2c94c; color: #1b1b1b; }
.tl { padding: var(--space-5); display: flex; flex-direction: column; }
.tl li { display: grid; grid-template-columns: 70px 16px minmax(0, 1fr); gap: var(--space-3); padding-bottom: var(--space-4); position: relative; }
.tl li:last-child { padding-bottom: 0; }
.tl-when { font-size: var(--t-cap); color: var(--color-text-faint); padding-top: 2px; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; margin-top: 5px; background: var(--color-surface-3); border: 2px solid var(--color-text-faint); position: relative; z-index: 1; }
.tl li:not(:last-child) .tl-dot::after { content: ''; position: absolute; left: 50%; top: 11px; width: 1px; height: calc(100% + 40px); background: var(--color-border); transform: translateX(-50%); }
.tl-dot.on { border-color: var(--color-primary-bright); background: var(--color-primary); }
.tl-dot.amber { border-color: var(--color-amber); }
.tl-what { display: flex; flex-direction: column; gap: 3px; }
.tl-what strong { font-size: var(--t-ui); font-weight: 500; }
.tl-what span { font-size: var(--t-ui); color: var(--color-text-muted); line-height: 1.5; }
.res { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.res-big { display: flex; align-items: center; gap: var(--space-4); }
.res-big .ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--color-green-soft); border: 1px solid rgba(108, 191, 138, 0.45); color: var(--color-green); flex: none; }
.res-big .ring svg { width: 24px; height: 24px; }
.res-big h4 { font-size: var(--t-lede); }
.res-big p { font-size: var(--t-ui); color: var(--color-text-muted); }
.res-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.res-stat { padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-3); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-stat b { font-size: var(--t-lede); font-weight: 700; }
.res-stat span { font-size: var(--t-cap); color: var(--color-text-faint); line-height: 1.35; }
.res-bars { display: flex; flex-direction: column; gap: var(--space-2); }
.res-bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 42px; gap: var(--space-3); align-items: center; font-size: var(--t-cap); color: var(--color-text-muted); }
.res-bar i { display: block; height: 8px; border-radius: 4px; background: var(--color-surface-3); overflow: hidden; }
.res-bar i::after { content: ''; display: block; height: 100%; width: var(--w); background: var(--c, var(--color-primary)); border-radius: 4px; }
.res-bar b { text-align: right; color: var(--color-text); font-weight: 500; }
.res-list { display: flex; flex-direction: column; }
.res-list li { display: flex; justify-content: space-between; gap: var(--space-3); padding: 0.55rem 0; border-top: 1px solid var(--color-border-soft); font-size: var(--t-ui); }
.res-list li span { color: var(--color-text-muted); min-width: 0; }
.res-list li em { font-style: normal; flex: none; }

/* screens inside a narrow panel */
@container (max-width: 560px) {
  .scr { padding: var(--space-3); }
  .scr-split, .scr-ad { grid-template-columns: minmax(0, 1fr); }
  .scr-split .cp { max-width: 320px; width: 100%; justify-self: center; height: 420px; }
  .mail { margin: var(--space-2); }
  .tc-email { margin: var(--space-3) var(--space-2); }
  .tc-body { padding: var(--space-4); }
  .url-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-tr { grid-template-columns: minmax(0, 1fr) 84px; }
  .pf-why, .pf-th span:nth-child(2) { display: none; }
  .res-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lead-dl { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- v3.1 · hero chat intake ---------- */
.chat-dock { padding: 0 var(--space-3) var(--space-3); display: flex; flex-direction: column; gap: 6px; }
.chat-dock:empty { padding: 0; }
.chat-form { display: flex; gap: 6px; align-items: center; background: #161616; border: 1px solid #2c2c2c; border-radius: 999px; padding: 4px 4px 4px 14px; }
.chat-form:focus-within { border-color: var(--color-primary); }
.chat-form input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 16px; padding: 0.45rem 0; outline: none; }
.chat-form input::placeholder { color: #8a8a8a; }
.chat-form button { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; background: var(--color-primary); color: #17130a; display: grid; place-items: center; cursor: pointer; }
.chat-form button svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; animation: smsIn 380ms var(--ease-out); }
.chat-chips button { font: inherit; font-size: var(--t-cap); font-weight: 500; color: #fff; background: transparent; border: 1px solid var(--color-primary); border-radius: 999px; padding: 0.5rem 0.75rem; cursor: pointer; }
.chat-chips button:hover { background: var(--color-primary); }
.chat-skip { align-self: center; background: none; border: 0; color: #9a9a9a; font: inherit; font-size: var(--t-cap); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px; }
.chat-go { justify-content: center; width: 100%; animation: smsIn 380ms var(--ease-out); }
.chat-go svg { width: 16px; height: 16px; transform: rotate(90deg); }

/* generic branded email + ad */
.gm-email .tc-head { align-items: center; gap: 10px; }
.gm-email .tc-head strong { font-family: 'Sentient', Georgia, serif; font-weight: 500; font-size: var(--t-body); }
.gm-mono { width: 40px; height: 40px; border-radius: 50%; background: #1D2A24; color: #F6F4EF; display: grid; place-items: center; font-weight: 600; font-size: var(--t-ui); letter-spacing: 0.04em; flex: none; }
.gm-mono.sm { width: 46px; height: 46px; background: #47704C; }
.gm-vid { position: relative; height: 170px; overflow: hidden; background: #1d2a24; color: #fff; }
.gm-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.gm-vid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.65)); }
.vid-play { position: absolute; left: 50%; top: 46%; z-index: 1; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,0.92); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.vid-play::after { content: ''; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 10px 0 10px 15px; border-color: transparent transparent transparent #1d2a24; }
.vid-len { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,0.75); font-size: 0.7rem; font-weight: 600; }
.vid-title { position: absolute; left: 12px; right: 56px; bottom: 10px; z-index: 1; font-size: var(--t-cap); font-weight: 600; line-height: 1.25; text-shadow: 0 1px 3px rgba(0,0,0,0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-av { width: 38px; height: 38px; border-radius: 50%; background: #f0ca6d; color: #17130a; display: grid; place-items: center; font-weight: 600; font-size: var(--t-ui); flex: none; }
.fb-art { aspect-ratio: 1200 / 630; background: #3d3215; overflow: hidden; }
.fb-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-art span { font-size: var(--t-cap); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.fb-art strong { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.15; font-weight: 700; max-width: 16ch; }

/* try it for real */
.try-form { max-width: 620px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(var(--space-5), 3vw, var(--space-8)); }
.try-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.try-form label:not(.try-consent) { display: flex; flex-direction: column; gap: 6px; font-size: var(--t-cap); font-weight: 500; color: var(--color-text-muted); }
.try-form input[type='text'], .try-form input[type='tel'], .try-form input[type='email'] { font: inherit; font-size: 16px; color: var(--color-text); background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0.75rem 0.9rem; min-height: 48px; }
.try-form input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(240, 202, 109, 0.25); }
.try-consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-cap); line-height: 1.5; color: var(--color-text-muted); cursor: pointer; }
.try-consent a, .footer a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 2px; }
.try-form .try-fine { font-size: 0.72rem !important; max-width: none !important; line-height: 1.5; color: var(--color-text-faint); margin: 0 !important; text-align: left; }
.try-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--color-primary); }
.try-err { min-height: 1.2em; margin: 0 !important; font-size: var(--t-cap) !important; color: var(--color-amber, #d9a05b) !important; }
.try-form .btn { align-self: flex-start; }
.try-done { text-align: center; padding: var(--space-6) 0; }
.try-done svg { display: block; margin: 0 auto; width: 40px; height: 40px; color: var(--color-green); }
.try-done h3 { font-size: var(--t-h3, 1.6rem); margin-top: var(--space-3); }
.try-done p { margin: var(--space-2) auto 0 !important; }
.close .try-or { font-size: var(--t-ui); margin: var(--space-6) auto 0; }
.try-or a { color: var(--color-primary-bright); }
@media (max-width: 599px) { .try-row { grid-template-columns: minmax(0, 1fr); } .try-form .btn { align-self: stretch; justify-content: center; } }

@media (max-width: 899px) {
  .hero { padding-top: calc(var(--topbar-h) + var(--space-6)); padding-bottom: var(--space-10); }
  .hero-grid { gap: var(--space-5); }
  .hero .scroll-cue { display: none; }
  .hero-phone .phone-screen { height: 420px; min-height: 0; }
}

/* ============================================================
   v3.2 · Jarvis HUD + livelier motion
   ============================================================ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinBack { to { transform: rotate(-360deg); } }
@keyframes shimmer { 0% { background-position: 200% 50%; } 100% { background-position: -200% 50%; } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 222, 156, 0.55), 0 0 18px rgba(240, 202, 109, 0.35); } 50% { box-shadow: 0 0 0 7px rgba(247, 222, 156, 0), 0 0 28px rgba(240, 202, 109, 0.6); } }
@keyframes nudgeX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@keyframes nudgeY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes popIn { 0% { opacity: 0; transform: translateY(14px) scale(0.85); } 60% { opacity: 1; transform: translateY(-2px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes itemIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ringPop { 0% { transform: scale(0.4) rotate(-30deg); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
@keyframes ping { 0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(247, 222, 156, 0.55); } 100% { box-shadow: var(--shadow-lg), 0 0 0 22px rgba(247, 222, 156, 0); } }
@keyframes voice { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes scan { 0% { transform: translateY(-50%); opacity: 0; } 15%, 85% { opacity: 0.7; } 100% { transform: translateY(50%); opacity: 0; } }
@keyframes sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(220%) skewX(-18deg); } }

/* hero: Jarvis wordmark */
.hero-title .jarvis {
  display: inline-block; position: relative;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 35%, #f7de9c 48%, #f0ca6d 52%, #ffffff 65%, #ffffff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite; filter: drop-shadow(0 0 22px rgba(240, 202, 109, 0.45));
}
.hero-lede { max-width: 36ch; }

/* hero: start prompt */
.start-cue {
  display: inline-flex; align-items: center; gap: var(--space-3); align-self: flex-start;
  padding: 0.7rem 1rem 0.7rem 0.7rem; border-radius: var(--radius-full);
  background: rgba(240, 202, 109, 0.14); border: 1px solid rgba(247, 222, 156, 0.45);
  font-size: var(--t-ui); color: var(--color-text); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.start-cue strong { color: var(--color-primary-bright); font-weight: 700; }
.start-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--color-primary); color: #17130a; font-weight: 700; font-size: var(--t-cap); animation: glowPulse 1.8s infinite; }
.start-arrow { width: 20px; height: 20px; color: var(--color-primary-bright); flex: none; animation: nudgeX 1.1s ease-in-out infinite; }
.cue-below { display: none; }
.hero.started .start-cue { opacity: 0.35; transform: scale(0.97); }
.hero.started .start-cue .start-num, .hero.started .start-arrow { animation: none; }


/* phones: glow on new text, voice bars while typing */
.phone.ping { animation: ping 900ms var(--ease-out); }
.phone-av { animation: glowPulse 2.6s infinite; }
.voice { display: inline-flex; gap: 2px; height: 12px; align-items: center; margin-top: 2px; opacity: 0.25; transition: opacity 250ms; }
.voice i { width: 3px; height: 100%; border-radius: 2px; background: var(--color-primary-bright); transform: scaleY(0.3); }
.phone.talking .voice { opacity: 1; }
.phone.talking .voice i { animation: voice 700ms ease-in-out infinite; }
.phone.talking .voice i:nth-child(2) { animation-delay: -120ms; }
.phone.talking .voice i:nth-child(3) { animation-delay: -360ms; }
.phone.talking .voice i:nth-child(4) { animation-delay: -220ms; }
.phone.talking .voice i:nth-child(5) { animation-delay: -480ms; }
.phone.talking .phone-av { animation-duration: 0.9s; }
.sms { animation: popIn 520ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both; transform-origin: bottom left; }
.sms-out { transform-origin: bottom right; }
.sms-in:not([style]) { box-shadow: 0 0 0 1px rgba(247, 222, 156, 0.12); }

/* hero chat: the input can't be missed */
.dock-hint { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: var(--t-cap); font-weight: 600; color: var(--color-primary-bright); letter-spacing: 0.02em; animation: rise 400ms var(--ease-out); }
.dock-hint svg { width: 14px; height: 14px; animation: nudgeY 1s ease-in-out infinite; }
.chat-form.glow { border-color: var(--color-primary-bright); animation: glowPulse 1.8s infinite, rise 400ms var(--ease-out); background: #221c0e; }
.chat-form.glow:focus-within { animation: rise 400ms var(--ease-out); box-shadow: 0 0 0 3px rgba(247, 222, 156, 0.35), 0 0 26px rgba(240, 202, 109, 0.55); }
.chat-form input::placeholder { color: #b8d9e1; }
.chat-chips button { animation: popIn 420ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.chat-chips button:nth-child(2) { animation-delay: 50ms; } .chat-chips button:nth-child(3) { animation-delay: 100ms; }
.chat-chips button:nth-child(4) { animation-delay: 150ms; } .chat-chips button:nth-child(5) { animation-delay: 200ms; }
.chat-chips button:nth-child(6) { animation-delay: 250ms; } .chat-chips button:nth-child(7) { animation-delay: 300ms; }
.chat-chips button:nth-child(8) { animation-delay: 350ms; }
.chat-go { position: relative; overflow: hidden; animation: popIn 520ms cubic-bezier(0.2, 0.9, 0.3, 1.2) both, glowPulse 1.8s 600ms infinite; }
.chat-go::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: sheen 2.4s 800ms ease-in-out infinite; }

/* how it works: cards lift in, one after another */
.how-item { position: relative; overflow: hidden; transition: border-color 300ms, transform 300ms var(--ease-out); }
.how-item::before { content: ''; position: absolute; inset: 0 auto auto 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-primary-bright)); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out) 200ms; }
.how-item.in::before { transform: scaleX(1); }
.how-item:hover { border-color: var(--color-primary-line); transform: translateY(-3px); }
.tools-row span { opacity: 0; transform: translateY(10px) scale(0.95); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), border-color 300ms, color 300ms; }
.tools-row.in span { opacity: 1; transform: none; }
.tools-row.in span:hover { border-color: var(--color-primary-line); color: var(--color-text); }


/* customer cards: pieces animate in every time a card appears */
.vis-card .card .card-label { animation: rise 450ms var(--ease-out) both; }
.vis-card .card :is(.form-field, .doc li, .res-list li, .pf-tr, .score-list li, .res-stat, .cp-msg, .cal-grid > div, .tc-body > p, .sent-note, .cal) { animation: itemIn 500ms var(--ease-out) both; }
.vis-card .card :is(.form-field, .doc li, .res-list li, .pf-tr, .score-list li, .res-stat, .cp-msg, .tc-body > p):nth-child(1) { animation-delay: 220ms; }
.vis-card .card :is(.form-field, .doc li, .res-list li, .pf-tr, .score-list li, .res-stat, .cp-msg, .tc-body > p):nth-child(2) { animation-delay: 340ms; }
.vis-card .card :is(.form-field, .doc li, .res-list li, .pf-tr, .score-list li, .res-stat, .cp-msg, .tc-body > p):nth-child(3) { animation-delay: 460ms; }
.vis-card .card :is(.form-field, .doc li, .res-list li, .pf-tr, .score-list li, .res-stat, .cp-msg, .tc-body > p):nth-child(4) { animation-delay: 580ms; }
.vis-card .card :is(.form-field, .doc li, .res-list li, .pf-tr, .score-list li, .res-stat, .cp-msg, .tc-body > p):nth-child(n+5) { animation-delay: 700ms; }
.vis-card .card .pf-bar i { transform-origin: left; animation: barFill 900ms 400ms var(--ease-out) both; }
.vis-card .card :is(.score-ring, .res-big .ring) { animation: ringPop 700ms 250ms cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
.vis-card .card .res-stat b { display: inline-block; animation: popIn 600ms 400ms cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }

/* the closing form gets a little glow */
.try-form { position: relative; box-shadow: 0 0 0 1px rgba(240, 202, 109, 0.15), 0 30px 80px -30px rgba(240, 202, 109, 0.45); }
.try-form .btn { animation: glowPulse 2.2s infinite; }

@media (max-width: 899px) {
  .cue-side { display: none; }
  .cue-below { display: inline; }
  .start-arrow { transform: rotate(90deg); animation: none; }
  .start-cue { font-size: var(--t-ui); }
}
@media (prefers-reduced-motion: reduce) {
  .jarvis, .start-num, .start-arrow, .phone-av, .dock-hint svg, .chat-form.glow, .chat-go, .chat-go::after, .try-form .btn,
  .vis-card .card *, .vis-card .card-body::after, .phone.ping, .sms, .cap.on * { animation: none !important; }
  .tools-row span { opacity: 1; transform: none; }
}
.tools-row.in span:nth-child(1) { transition-delay: 70ms; }
.tools-row.in span:nth-child(2) { transition-delay: 140ms; }
.tools-row.in span:nth-child(3) { transition-delay: 210ms; }
.tools-row.in span:nth-child(4) { transition-delay: 280ms; }
.tools-row.in span:nth-child(5) { transition-delay: 350ms; }
.tools-row.in span:nth-child(6) { transition-delay: 420ms; }
.tools-row.in span:nth-child(7) { transition-delay: 490ms; }
.tools-row.in span:nth-child(8) { transition-delay: 560ms; }
.tools-row.in span:nth-child(9) { transition-delay: 630ms; }
.tools-row.in span:nth-child(10) { transition-delay: 700ms; }
.hero { overflow-x: clip; } .how { overflow-x: clip; }
.start-cue { cursor: pointer; } .start-cue:hover { background: rgba(240, 202, 109, 0.24); }

/* ---------- v3.3 · the phone is the star ---------- */
.ex-stage::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at 70% 50%, rgba(240, 202, 109, 0.10), transparent 65%); }
.ex-grid { position: relative; z-index: 1; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-phone { position: relative; }
.phone-glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 620px; max-width: 120%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(240, 202, 109, 0.38), rgba(240, 202, 109, 0.08) 60%, transparent); filter: blur(10px); pointer-events: none; }
.hero-phone .phone { position: relative; z-index: 1; max-width: 360px; border-color: rgba(247, 222, 156, 0.45); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(247, 222, 156, 0.15), 0 0 70px rgba(240, 202, 109, 0.35); }
.hero-phone .phone-screen { height: min(600px, 74svh); }
.hero-phone .sms { font-size: var(--t-ui); }
.hero-phone .phone-name { font-size: var(--t-ui); }
.hero-phone .chat-dock { padding: var(--space-3) var(--space-3) var(--space-4); gap: var(--space-2); background: linear-gradient(transparent, rgba(240, 202, 109, 0.10)); }
.hero-phone .dock-hint { font-size: var(--t-ui); }
.hero-phone .chat-form { padding: 6px 6px 6px 18px; border-width: 2px; }
.hero-phone .chat-form input { font-size: 18px; padding: 0.7rem 0; }
.hero-phone .chat-form button { width: 46px; height: 46px; }
.hero-phone .chat-form button svg { width: 20px; height: 20px; }
.hero-phone .chat-chips button { font-size: var(--t-ui); padding: 0.6rem 0.9rem; }
.start-cue { font-size: var(--t-lede); padding: 0.85rem 1.2rem 0.85rem 0.85rem; }
.start-num { width: 34px; height: 34px; font-size: var(--t-ui); }
.cap { transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
.vis-card .card { will-change: opacity, transform; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-lede { display: none; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-phone .phone { max-width: 100%; }
  .hero-phone .phone-screen { height: min(520px, 72svh); }
  .phone-glow { width: 110%; height: 110%; }
  .start-cue { font-size: var(--t-ui); }
}
@media (max-width: 899px) {
  .hero { padding-top: calc(var(--topbar-h) + var(--space-4)); }
  .hero-copy { gap: var(--space-3); }
  .hero .eyebrow { display: none; }
  .hero-phone .phone-screen { height: max(330px, calc(100svh - 330px)); }
  .hero-phone .phone-head { padding: 0.7rem var(--space-3) 0.5rem; flex-direction: row; justify-content: center; gap: 8px; }
  .hero-phone .phone-av { width: 30px; height: 30px; }
  .hero-phone .phone-av svg { width: 16px; height: 16px; }
  .hero-phone .voice { display: none; }
  .start-cue { padding: 0.6rem 0.9rem 0.6rem 0.6rem; }
}

/* ---------- v3.4 right-edge scroll cue ---------- */
.scroll-cue {
  position: fixed; z-index: 60; right: clamp(10px, 2vw, 28px); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 9px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(11, 11, 11, 0.72); color: #f7de9c;
  border: 1.5px solid rgba(247, 222, 156, 0.55);
  box-shadow: 0 0 0 4px rgba(240, 202, 109, 0.12), 0 0 28px rgba(240, 202, 109, 0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transform: translate(14px, -50%);
  transition: opacity .35s ease, transform .35s ease;
  font: 700 12px/1 Roboto, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-cue.on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.scroll-cue:hover { background: rgba(240, 202, 109, 0.25); }
.sc-mouse { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.sc-wheel { position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: scWheel 1.5s ease-in-out infinite; }
.sc-label { writing-mode: vertical-rl; white-space: nowrap; color: #fff; }
.sc-arrows { width: 22px; height: 22px; animation: scBob 1.5s ease-in-out infinite; }
@keyframes scWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes scBob { 0%, 100% { transform: translateY(-3px); opacity: .6; } 50% { transform: translateY(4px); opacity: 1; } }
@media (max-width: 899px) {
  .scroll-cue { right: 6px; top: auto; bottom: calc(32svh + env(safe-area-inset-bottom)); transform: translateX(10px); padding: 10px 6px 8px; gap: 7px; font-size: 11.5px; }
  .scroll-cue.on { transform: none; }
  .sc-mouse { width: 18px; height: 28px; }
  .sc-wheel { top: 5px; height: 6px; }
  .sc-arrows { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .sc-wheel, .sc-arrows { animation: none; } }

/* ---------- v3.5 step snapping ---------- */
@media (max-width: 899px) { html.snap-on { scroll-snap-type: y mandatory; } }
.snap { position: absolute; left: 0; top: calc(var(--t) * var(--step)); width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
.snap-m { scroll-snap-align: none; }
@media (max-width: 899px) { .snap-m { scroll-snap-align: start; } .snap-d { scroll-snap-align: none; } }
@media (max-width: 899px) { .ex .vis, .hero-phone { margin-right: 34px; } }

@media (max-width: 899px) {
  .vis-card .card { inset: 0; margin-block: auto; height: fit-content; max-height: none; transform: none; }
  .vis-card .card.out { transform: translateY(-14px) scale(0.98); }
  .vis-card .card.pre { transform: translateY(18px) scale(0.98); }
}

@media (max-width: 899px) and (max-height: 700px) {
  .caps { min-height: 6.4rem; }
  .cap h3 { font-size: 1.3rem; }
  .ex-grid { gap: var(--space-2); padding-top: var(--space-2); }
}
@media (min-width: 900px) and (max-width: 1599px) { .ex .vis { margin-right: 56px; } }
/* caps take the height of the tallest caption so nothing collides */
.caps { display: grid; min-height: 0 !important; }
.cap { position: relative; inset: auto; grid-area: 1 / 1; }
@media (max-width: 899px) { .hero-phone .phone { max-width: 420px; margin-inline: auto; } .ex .vis .phone { width: min(360px, 100%); } }
@media (max-width: 899px) and (max-height: 700px) { .vis-card .card { scale: 0.92; transform-origin: top center; } .vis-card .card-body.clip { max-height: 42svh; } }

/* hero chat: readable pace, scrollable thread, "new text" pill */
.hero-phone .phone-screen { position: relative; }
.hero-phone .phone-thread { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3a3a transparent; -webkit-overflow-scrolling: touch; }
.hero-phone .phone-thread::-webkit-scrollbar { width: 4px; }
.hero-phone .phone-thread::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 4px; }
.sms-new { position: absolute; left: 50%; transform: translate(-50%, 8px); z-index: 3; display: none; align-items: center; gap: 4px; padding: 0.4rem 0.8rem; border: 0; border-radius: var(--radius-full); background: var(--color-primary); color: #17130a; font: inherit; font-size: var(--t-cap); font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,0.45); cursor: pointer; opacity: 0; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.sms-new svg { width: 13px; height: 13px; }
.sms-new.on { display: inline-flex; opacity: 1; transform: translate(-50%, 0); }
.hero-phone .phone-thread { -webkit-mask-image: linear-gradient(transparent, #000 18px); mask-image: linear-gradient(transparent, #000 18px); padding-top: var(--space-5); }

/* ============================================================
   HERO · 3D holographic Jarvis rig behind the phone
   ============================================================ */
.hud { position: absolute; inset: -8% -30%; z-index: 0; pointer-events: none; perspective: 1100px; perspective-origin: 50% 40%; }
.hud-scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg)); transition: transform 600ms var(--ease-out); }
/* wireframe globe: meridians spin around the vertical axis */
.hud-globe { position: absolute; left: 50%; top: 44%; width: 560px; height: 560px; margin: -280px 0 0 -280px; transform-style: preserve-3d; animation: hudSpinY 26s linear infinite; }
.hud-globe .g { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(247, 222, 156, 0.22); }
.hud-globe .g1 { transform: rotateY(0deg); }
.hud-globe .g2 { transform: rotateY(45deg); }
.hud-globe .g3 { transform: rotateY(90deg); }
.hud-globe .g4 { transform: rotateY(135deg); }
.hud-globe .geq { transform: rotateX(90deg); border-color: rgba(247, 222, 156, 0.35); border-style: dashed; }
/* projector base: tilted rings the phone floats over */
.hud-base { position: absolute; left: 50%; bottom: 4%; width: 520px; height: 520px; margin-left: -260px; transform-style: preserve-3d; transform: translateY(46%) rotateX(76deg); }
.hud-base .b { position: absolute; border-radius: 50%; }
.hud-base .b1 { inset: 0; border: 2px solid rgba(247, 222, 156, 0.55); -webkit-mask: conic-gradient(#000 0 62%, transparent 0 68%, #000 0 88%, transparent 0); mask: conic-gradient(#000 0 62%, transparent 0 68%, #000 0 88%, transparent 0); animation: spin 18s linear infinite; box-shadow: 0 0 30px rgba(240, 202, 109, 0.45); }
.hud-base .b2 { inset: 9%; background: repeating-conic-gradient(rgba(247, 222, 156, 0.55) 0 1.2deg, transparent 1.2deg 7.5deg); -webkit-mask: radial-gradient(closest-side, transparent 90%, #000 91%, #000 99%, transparent 100%); mask: radial-gradient(closest-side, transparent 90%, #000 91%, #000 99%, transparent 100%); animation: spinBack 40s linear infinite; }
.hud-base .b3 { inset: 22%; border: 1px dashed rgba(247, 222, 156, 0.5); animation: spin 12s linear infinite; }
.hud-base .b4 { inset: 34%; background: radial-gradient(closest-side, rgba(247, 222, 156, 0.55), rgba(240, 202, 109, 0.25) 55%, transparent 72%); border: 2px solid rgba(247, 222, 156, 0.7); box-shadow: 0 0 40px rgba(247, 222, 156, 0.55), inset 0 0 30px rgba(247, 222, 156, 0.4); animation: hudPulse 3.2s ease-in-out infinite; }
.hud-beam { position: absolute; left: 50%; bottom: 4%; width: 300px; height: 70%; margin-left: -150px; background: linear-gradient(to top, rgba(247, 222, 156, 0.18), transparent 80%); -webkit-mask: radial-gradient(ellipse 50% 100% at 50% 100%, #000, transparent); mask: radial-gradient(ellipse 50% 100% at 50% 100%, #000, transparent); filter: blur(6px); }
/* floating status chips in 3D space */
.hud-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 0.5rem 0.8rem; border-radius: 12px; font-size: 0.78rem; font-weight: 600; color: #fff; white-space: nowrap; background: rgba(30, 25, 12, 0.72); border: 1px solid rgba(247, 222, 156, 0.45); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(240, 202, 109, 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: hudFloat 6s ease-in-out infinite; }
.hud-chip b { width: 8px; height: 8px; border-radius: 50%; background: var(--color-green); box-shadow: 0 0 10px var(--color-green); }
.hud-chip em { font-style: normal; font-weight: 500; color: var(--color-primary-bright); font-size: 0.72rem; }
.hud-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; perspective: 900px; transform-style: preserve-3d; }
.hud-chip.c1 { right: calc(50% + 215px); top: 30%; --z: 40px; --ry: 18deg; }
.hud-chip.c2 { display: none; left: calc(50% + 215px); top: 50%; --z: 40px; --ry: -18deg; animation-delay: -2s; }
.hud-chip.c3 { right: calc(50% + 215px); top: 66%; --z: 40px; --ry: 14deg; animation-delay: -4s; }
@keyframes hudSpinY { from { transform: rotateX(-14deg) rotateY(0deg); } to { transform: rotateX(-14deg) rotateY(360deg); } }
@keyframes hudPulse { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@keyframes hudFloat { 0%, 100% { transform: translateZ(var(--z)) rotateY(var(--ry)) translateY(0); } 50% { transform: translateZ(var(--z)) rotateY(var(--ry)) translateY(-10px); } }
@media (max-width: 1359px) { .hud-chip { display: none; } }
/* keep the intro calm until they type their name */
.hud-chips { opacity: 0; transition: opacity 900ms var(--ease-out); }
.hero.started .hud-chips { opacity: 1; }
.hud-globe { opacity: 0.55; transition: opacity 900ms var(--ease-out); }
.hero.started .hud-globe { opacity: 1; }
.start-cue { font-size: 1.05rem; border-width: 2px; border-color: rgba(247, 222, 156, 0.7); background: rgba(240, 202, 109, 0.2); }
@media (max-width: 899px) {
  .hud { inset: -4% -12%; }
  .hud-globe { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .hud-base { width: 380px; height: 380px; margin-left: -190px; }
  .hud-beam { width: 220px; margin-left: -110px; }
}
@media (prefers-reduced-motion: reduce) { .hud-globe, .hud-base .b, .hud-chip { animation: none; } }

/* how it works: tools line on one line, a little more room above */
.how .section-sub { max-width: none; margin-top: var(--space-10); }
@media (min-width: 900px) { .how .section-sub { white-space: nowrap; } }

/* center the run-through button */
.try-form .btn { align-self: center; justify-content: center; }

/* Clientele Media brand */
h1, h2, h3, h4, .hero-title, .section-title { font-family: var(--font-display); }
.brand-logo { height: 38px; width: auto; display: block; }
@media (max-width: 599px) { .brand-logo { height: 30px; } }
.own-hub-own em { color: #17130a; background: rgba(0,0,0,0.12); }

/* ---- White sections, mixed in between the dark ones ---- */
.light {
  --color-bg: #ffffff;
  --color-surface: #f7f5f0;
  --color-surface-2: #f1eee6;
  --color-surface-3: #e9e4d8;
  --color-border: #e4ded0;
  --color-border-soft: #ece7dc;
  --color-text: #141210;
  --color-text-muted: #55504a;
  --color-text-faint: #77716a;
  --color-primary-bright: #8a6512;
  --color-primary-soft: rgba(240, 202, 109, 0.22);
  --color-primary-line: rgba(176, 134, 40, 0.5);
  --color-amber: #c9932f;
  background: var(--color-bg);
  color: var(--color-text);
  border-top-color: transparent;
  position: relative; z-index: 1;
}
.light .eyebrow { color: #8a6512; }
.light .pain-item, .light .how-item, .light .recap-item { box-shadow: 0 1px 2px rgba(20, 18, 16, 0.04), 0 10px 28px rgba(20, 18, 16, 0.06); }
.light .how-item b { color: #8a6512; }
.light .tools-row span { background: #ffffff; }
