/* Supermortgage - styles. Every value flows from :root tokens (§3). */

@font-face { font-family: "Figtree"; src: url("../assets/fonts/Figtree-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/Figtree-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/Figtree-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/Figtree-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Colors */
  --red: #B73937;
  --red-hover: #9F3230;
  --red-active: #8A2B29;
  --red-tint: #F8EBEB;
  --red-tint-2: #FCF7F7;
  --ink: #1C1E21;
  --ink-2: #4F5F6F;
  --card: #F4F5F7;
  --band: #F6F7F9;
  --line: #DADDE1;
  --icon-circle: #3E4C5C;
  --carousel-btn: #2B2F33;
  --bubble: #F0F2F5;
  --white: #FFFFFF;
  --green: #2E9E5B;
  --overlay: rgba(28, 30, 33, .4);
  --nav-scrim: transparent;
  --nav-link-size: 14px;
  --nav-link-weight: 400;
  --nav-link-line: 20px;
  --nav-link-tracking: -0.14px;
  --sound-bg: rgba(0, 0, 0, .5);
  --notif-bg: rgba(255, 255, 255, .92);
  --banner-grad: linear-gradient(180deg, #F8EBEB 0%, #FCF7F7 100%);
  --mockup-grad: linear-gradient(160deg, #F8EBEB, #FCF7F7);

  /* Font */
  --font: "Figtree", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Type scale - desktop (≥1024) */
  --fs-h1: 48px;  --fs-h2: 36px;  --fs-h3: 26px;  --fs-sub: 18px;
  --fs-display: 64px; --lh-display: 1.16;          /* homepage hero only */
  --fs-eyebrow: 13px; --fs-banner-eyebrow: var(--fs-eyebrow); --fs-hero-eyebrow: 18px;
  --fs-h4: 22px;                                    /* longform section heads */
  --fs-lead: 18px; --fs-small: 14px; --fs-caption: 12px; --fs-longform: 16px;
  --fs-field: 16px; --fs-label: 14px;
  --fs-acc: 23px; --fs-faq: 25px; --fs-body: 16px; --fs-card-body: 16px;
  --fs-btn: 15px; --fs-link2: 18px; --fs-footer: 14px; --fs-legal: 13px;
  --lh-h: 1.15; --lh-h3: 1.2; --lh-sub: 1.45; --lh-acc: 1.25; --lh-body: 1.5; --lh-card: 1.55;
  --lh-lead: 1.5; --lh-long: 1.7; --lh-eyebrow: 1.4;
  --ls-h: -0.01em; --ls-h3: -0.005em; --ls-eyebrow: 0.06em; --ls-banner: var(--ls-eyebrow);
  /* Weight roles - restrained display, firmer titles */
  --fw-display: 500; --fw-title: 600; --fw-eyebrow: 600; --fw-label: 500; --fw-strong: 600;
  /* Fields */
  --field-h: 50px; --field-px: 16px; --r-field: 12px; --r-card: 24px; --r-dialog: 24px;
  /* Page (non-home) rhythm */
  --page-top: var(--s-46); --page-bottom: var(--s-100); --page-gutter: 20px;

  /* Spacing scale (§3) */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px; --s-24: 24px;
  --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-100: 100px; --s-120: 120px;
  /* Spec-mandated off-scale values (reported as conflicts) */
  --s-14: 14px; --s-28: 28px; --s-36: 36px; --s-44: 44px; --s-46: 46px; --s-50: 50px; --s-72: 72px; --s-75: 75px; --s-88: 88px; --s-96: 96px;

  /* Layout */
  --gutter: 30px;
  --max: 1380px;
  --section-pad: var(--s-120);
  --nav-h: 62px;
  --wordmark-h: 24px;
  --wordmark-ratio: calc(2061 / 172); --wordmark-w: calc(var(--wordmark-h) * var(--wordmark-ratio));
  --nav-left: 30px;
  --wordmark-left: 75px;
  --drawer-w: 360px;
  --hit: 40px;

  /* Radii */
  --r-pill: 999px; --r-secure: 28px; --r-illus: 32px; --r-story: 36px; --r-media: 24px;
  --r-mockup: 24px; --r-banner: 24px; --r-appicon: 18px; --r-bubble: 18px; --r-doc: 12px;
  --r-focus: 8px; --r-phone: 40px; --r-tile: 12px; --r-approval: 16px; --r-pdf: 8px;

  /* Shadows */
  --shadow-media: 0 30px 80px rgba(0,0,0,.12);
  --shadow-card: 0 12px 32px rgba(0,0,0,.08);
  --shadow-icon: 0 8px 24px rgba(0,0,0,.08);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --fast: 150ms; --base: 300ms; --slow: 600ms;
  --headline-fade: 400ms; --illus-fade: 300ms;
  --float-dur: 7s; --float-step: .7s; --float-y: -8px;

  /* Component dimensions */
  --glyph: 40px; --glyph-mr: 12px;
  --hero-min: 640px; --hero-max: 900px; --hero-h1-max: 620px;
  --h2-max: 900px; --sub-max: 800px;
  --toggle: 24px; --bar-w: 18px; --bar-h: 2px;
  --acc-pad: var(--s-44); --acc-body-max: 520px;
  --faq-pad: var(--s-24); --faq-body-max: 800px;
  --secure-min: 345px; --secure-icon: 40px; --secure-icon-svg: 20px; --secure-h3-max: 460px; --secure-body-gap: var(--s-64);
  --secure-pad: var(--s-48) var(--s-24) var(--s-32);
  --frame-w: 66%; --frame-max: 800px; --frame-min: 560px;
  --stories-col: 300px; --stories-gap: var(--s-46); --stories-h2-max: 280px;
  --story-w: 362px; --story-gap: var(--s-48); --sound: 36px;
  --arrow: 40px; --arrow-icon: 16px; --arrow-inset: 30px;
  --phone-w: 300px; --phone-k: 1;
  --app-sub-max: 440px; --btn-h: 44px; --btn-px: 28px; --circle-link: 30px; --circle-border: 1.5px;
  --banner-min: 350px; --banner-pad: var(--s-48) var(--s-24); --app-icon: 80px;
  --ph-alpha: .6; --ph-fs: 12px; --ph-prop-fs: 10px;
  /* Component literals (illustration internals, icons, fixed dims) */
  --fs-10: 10px;
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-22: 22px;
  --fs-5: 5px;
  --fs-64: 64px;
  --fs-7: 7px;
  --lh-1_2: 1.2;
  --lh-1_25: 1.25;
  --lh-1_3: 1.3;
  --lh-1_35: 1.35;
  --lh-1_4: 1.4;
  --lh-1_5: 1.5;
  --lh-1_55: 1.55;
  --ls-1: 1px;
  --ls-_04em: .04em;
  --ls-_08em: .08em;
  --o-_04: .04;
  --o-_06: .06;
  --o-_7: .7;
  --r-16: 16px;
  --r-2: 2px;
  --r-34: 34px;
  --r-44: 44px;
  --r-7: 7px;
  --sw-2: 2;
  --sz-1: 1px;
  --sz-10: 10px;
  --sz-11: 11px;
  --sz-128: 128px;
  --sz-130: 130px;
  --sz-135: 135px;
  --sz-1379: 1379px;
  --sz-140: 140px;
  --sz-150: 150px;
  --sz-17: 17px;
  --sz-18: 18px;
  --sz-180: 180px;
  --sz-19: 19px;
  --sz-1_5: 1.5px;
  --sz-2: 2px;
  --sz-262: 262px;
  --sz-300: 300px;
  --sz-352: 352px;
  --sz-400: 400px;
  --sz-420: 420px;
  --sz-440: 440px;
  --sz-5: 5px;
  --sz-540: 540px;
  --sz-560: 560px;
  --sz-567: 567px;
  --sz-6: 6px;
  --sz-600: 600px;
  --sz-70: 70px;
  --sz-800: 800px;
  --sz-90: 90px;
  --sz-964: 964px;
  --sz-_8: .8px;
  --sz-n1: -1px;
  --sz-n40_5: -40.5px;
  --ph-icon: 24px; --ph-stroke: 1.5px; --glyph-stroke: 2.5;
}

@media (max-width: 1023px) {
  :root {
    --fs-h1: 42px; --fs-h2: 32px; --fs-h3: 24px; --fs-sub: 17px;
    --fs-display: 48px; --fs-lead: 17px; --fs-h4: 21px;
    --fs-acc: 21px; --fs-faq: 22px; --fs-link2: 17px;
    --section-pad: var(--s-96);
    --hero-min: 600px;
    --acc-pad: var(--s-36);
    --frame-w: 80%;
    --stories-col: 260px; --stories-gap: var(--s-32); --story-w: 320px;
  }
}
@media (max-width: 767px) {
  :root {
    --fs-h1: 34px; --fs-h2: 28px; --fs-h3: 22px; --fs-sub: 16px;
    --fs-eyebrow: 12px; --fs-hero-eyebrow: 14px;
    --fs-display: 36px; --fs-lead: 16px; --fs-h4: 20px; --fs-longform: 15px; --lh-long: 1.65;
    --page-top: var(--s-32); --page-bottom: var(--s-64); --r-card: 16px; --r-dialog: 18px;
    --fs-acc: 19px; --fs-faq: 20px; --fs-card-body: 15px; --fs-link2: 16px;
    --gutter: 20px; --section-pad: var(--s-72);
    --nav-h: 56px; --wordmark-h: 20px; --nav-left: 20px; --wordmark-left: 60px;
    --drawer-w: 100%;
    --glyph: 30px; --hero-min: 560px; --hero-h1-max: 320px;
    --acc-pad: var(--s-28); --faq-pad: var(--s-20);
    --secure-pad: var(--s-36) var(--s-20) var(--s-28); --secure-body-gap: var(--s-40);
    --story-w: 280px; --story-gap: var(--s-20);
    --phone-k: .8;
    --banner-min: 300px; --banner-pad: var(--s-40) var(--s-20);
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-locked { overflow: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, svg { display: block; max-width: none; }
svg.ico { fill: none; stroke: currentColor; stroke-width: var(--sw-2); stroke-linecap: round; stroke-linejoin: round; }
:focus { outline: none; }
:focus-visible { outline: var(--sz-2) solid var(--red); outline-offset: var(--sz-2); border-radius: var(--r-focus); }
.sr-only { position: absolute; width: var(--sz-1); height: var(--sz-1); padding: 0; margin: var(--sz-n1); overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-8); top: var(--s-8); z-index: 300; padding: var(--s-12) var(--s-16); background: var(--red); color: var(--white); border-radius: var(--r-pill); font-weight: 600; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }

/* Placeholders (§17) - remove with one search for .ph */
.ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--red-tint); pointer-events: none; }
/* SVG icon placeholders only (mark.svg, app-icon.svg): red outlined square, no fill */
.mock__mark .ph, .appicon .ph, .notif__icon .ph { background: transparent; }
.mock__mark .ph::before, .appicon .ph::before, .notif__icon .ph::before { content: ""; width: 100%; aspect-ratio: 1; border: var(--ph-stroke) solid var(--red); }
.mock__mark .ph > span, .appicon .ph > span, .notif__icon .ph > span { display: none; }
.ph > span { font-family: var(--font); font-size: var(--ph-fs); line-height: 1; font-weight: 500; color: var(--red); opacity: var(--ph-alpha); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.ph--prop { border-radius: 50%; }
.ph--prop > span { font-size: var(--ph-prop-fs); }
.media-slot { position: relative; }
.media-slot > img, .media-slot > video { position: relative; z-index: 1; }
.is-missing { visibility: hidden; }
.is-loaded + .ph, .ph.is-hidden { display: none; }

/* Type */
.eyebrow { font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); font-weight: var(--fw-eyebrow); color: var(--red); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h); font-weight: var(--fw-display); color: var(--ink); letter-spacing: var(--ls-h); }
.subhead { font-size: var(--fs-sub); line-height: var(--lh-sub); font-weight: 400; color: var(--ink-2); }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-12); height: var(--btn-h); padding: 0 var(--btn-px); border-radius: var(--r-pill); background: var(--red); color: var(--white); font-size: var(--fs-btn); line-height: 1; font-weight: 600; white-space: nowrap; transition: background-color var(--fast) var(--ease); }
.pill:hover { background: var(--red-hover); }
.pill:active { background: var(--red-active); }
.pill:focus-visible { border-radius: var(--r-pill); }
.pill svg { width: var(--s-20); height: var(--s-20); }
.link2 { display: inline-flex; align-items: center; gap: var(--s-12); font-size: var(--fs-link2); line-height: 1; font-weight: 600; color: var(--red); }
.link2 .link2__txt { text-decoration: underline transparent; text-decoration-thickness: var(--sz-1_5); text-underline-offset: var(--s-4); transition: text-decoration-color var(--fast) var(--ease); }
.link2:hover .link2__txt { text-decoration-color: currentColor; }
.link2__circle { width: var(--circle-link); height: var(--circle-link); border-radius: 50%; border: var(--circle-border) solid var(--red); display: grid; place-items: center; flex: none; }
.link2__circle svg { width: var(--s-12); height: var(--s-12); }

/* Header block (§4) */
.shead { position: relative; margin-bottom: var(--s-50); }
.shead .h2 { margin-top: var(--s-12); max-width: var(--h2-max); }
.shead .subhead { margin-top: var(--s-20); max-width: var(--sub-max); }
.shead .pill { position: absolute; top: 0; right: 0; }
@media (min-width: 768px) { .shead .h2, .shead .subhead { padding-right: 0; } }
@media (max-width: 767px) { .shead .pill { position: static; margin-top: var(--s-24); } }

/* ---------- Nav & drawer (§5) ---------- */
.nav { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); z-index: 100; background: var(--nav-scrim); transition: background-color var(--base) var(--ease); }
.nav.is-scrolled { background-color: rgba(24, 26, 28, .86); }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--white); }
.page-shell > main { flex: 1; padding-top: var(--nav-h); }
.page-shell .nav { background: var(--white); }
.page-shell .nav__links { color: #000; }
.page-shell .nav__brand img { filter: brightness(0); }
.page-shell .nav__burger span { background: #000; }
.page-shell .footer__links a, .page-shell .footer__legal { color: #000; }
.page-shell .footer .wordmark-slot img { filter: brightness(0); }
.nav__burger { position: absolute; left: var(--nav-left); top: 50%; width: var(--hit); height: var(--hit); margin-top: calc(var(--hit) / -2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sz-6); transition: opacity var(--fast) var(--ease); }
.nav__burger span { width: var(--bar-w); height: var(--bar-h); border-radius: var(--r-pill); background: var(--white); }
.nav__brand { position: absolute; left: var(--wordmark-left); top: 50%; transform: translateY(-50%); height: var(--wordmark-h); width: calc(var(--wordmark-h) * var(--wordmark-ratio)); transition: opacity var(--fast) var(--ease); }
.nav__brand img { height: var(--wordmark-h); width: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.nav__links { display: none; }
.nav__actions { position: absolute; right: var(--nav-left); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 24px; }
.nav__portal { color: var(--white); font-size: var(--nav-link-size); white-space: nowrap; }
.nav__portal:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-shell .nav__portal { color: #000; }
@media (max-width: 767px) {
  .nav__burger { left: var(--s-4); }
  .nav .nav__brand { left: var(--s-48); width: var(--s-120); }
  .nav__cta { right: var(--s-12); height: var(--s-40); padding-inline: var(--s-12); font-size: var(--nav-link-size); }
}
@media (max-width: 600px) {
  :root { --nav-h: 108px; }
  .nav__burger, .nav .nav__brand { top: 28px; }
  .nav__actions { top: 78px; right: 16px; left: 16px; justify-content: flex-end; gap: 20px; }
}
@media (max-width: 359px) {
  .nav__cta { width: var(--s-120); white-space: normal; text-align: center; line-height: var(--nav-link-line); }
}
@media (min-width: 1024px) {
  .nav__burger { display: none; }
  .nav__brand { left: var(--nav-left); }
  .nav__links { display: flex; position: absolute; left: calc(var(--nav-left) + var(--wordmark-h) * var(--wordmark-ratio) + var(--s-48)); top: 0; height: var(--nav-h); align-items: center; gap: var(--s-32); color: var(--white); font-size: var(--nav-link-size); font-weight: var(--nav-link-weight); line-height: var(--nav-link-line); letter-spacing: var(--nav-link-tracking); }
  .nav__links a:hover { text-decoration: underline; text-underline-offset: var(--s-4); }
}
.nav__burger:hover, .nav__brand:hover { opacity: var(--o-_7); }
.wordmark-slot { display: block; position: relative; height: var(--wordmark-h); width: calc(var(--wordmark-h) * var(--wordmark-ratio)); }
.wordmark-slot img { height: 100%; width: 100%; object-fit: contain; }
.wordmark-slot .ph { border-radius: var(--r-2); }

.overlay { position: fixed; inset: 0; z-index: 199; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity var(--base) var(--ease), visibility 0s linear var(--base); }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 200; width: var(--drawer-w); background: var(--white); transform: translateX(-100%); visibility: hidden; transition: transform var(--base) var(--ease), visibility 0s linear var(--base); display: flex; flex-direction: column; padding: var(--s-88) var(--s-32) var(--s-32); }
.drawer.is-open { transform: none; visibility: visible; transition: transform var(--base) var(--ease); }
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity var(--base) var(--ease); }
.drawer__close { position: absolute; top: calc((var(--nav-h) - var(--hit)) / 2); left: var(--nav-left); width: var(--hit); height: var(--hit); display: grid; place-items: center; color: var(--ink); transition: opacity var(--fast) var(--ease); }
.drawer__close:hover { opacity: var(--o-_7); }
.drawer__close svg { width: var(--s-24); height: var(--s-24); }
.drawer__links { display: flex; flex-direction: column; gap: var(--s-24); }
.drawer__links a { font-size: var(--fs-22); line-height: var(--lh-1_2); font-weight: 600; color: var(--ink); align-self: flex-start; }
.drawer__links a:hover { opacity: var(--o-_7); }
.drawer .pill { margin-top: auto; align-self: flex-start; }

/* Closed-beta waitlist */
.waitlist { width: min(100% - 32px, 480px); max-height: min(90dvh, 720px); padding: var(--s-44); border: 0; border-radius: var(--r-dialog); box-shadow: 0 28px 90px rgba(28,30,33,.24); color: var(--ink); overflow-y: auto; }
.waitlist::backdrop { background: rgba(16,19,23,.6); }
.waitlist [hidden] { display: none; }
.waitlist__close { position: absolute; right: 17px; top: 12px; width: 40px; height: 40px; font-size: 30px; line-height: 1; color: var(--ink-2); }
.waitlist__eyebrow { color: var(--red); font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); font-weight: var(--fw-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); }
.waitlist h2 { margin: var(--s-12) 0 var(--s-14); font-size: var(--fs-h2); line-height: var(--lh-h); letter-spacing: var(--ls-h); font-weight: var(--fw-display); }
.waitlist__form-view > p:not(.waitlist__eyebrow), .waitlist__success > p { color: var(--ink-2); line-height: var(--lh-card); }
.waitlist__form { display: grid; gap: var(--s-8); margin-top: var(--s-28); }
.waitlist__form label { font-size: var(--fs-label); line-height: var(--lh-1_4); font-weight: var(--fw-label); color: var(--ink-2); }
.waitlist__form input { width: 100%; height: var(--field-h); border: var(--sz-1) solid var(--line); border-radius: var(--r-field); padding: 0 var(--field-px); margin-bottom: var(--s-12); background: var(--white); font: inherit; font-size: var(--fs-field); color: var(--ink); }
.waitlist__form input:focus-visible { outline: none; box-shadow: 0 0 0 var(--sz-2) var(--red); border-color: transparent; border-radius: var(--r-field); }
.waitlist__form input::placeholder { color: var(--ink-2); opacity: .65; }
.waitlist__submit { width: 100%; margin-top: 10px; }
.waitlist__submit:disabled { opacity: .7; cursor: wait; }
.waitlist__error { color: var(--red); font-size: var(--fs-small); line-height: var(--lh-1_4); }
.waitlist__privacy { margin-top: var(--s-16); font-size: var(--fs-caption); line-height: var(--lh-1_5); color: var(--ink-2); }
.waitlist__privacy a { color: var(--red); text-decoration: underline; }
.waitlist__success { text-align: center; padding: 18px 0 4px; }
.waitlist__check { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%; background: var(--red-tint); color: var(--red); font-size: 26px; }
.waitlist__done { margin-top: 28px; min-width: 140px; }
@media (max-width: 767px) { .waitlist { padding: var(--s-40) var(--s-24) var(--s-28); } }

/* ---------- Hero (§6) ---------- */
.hero { position: relative; height: 100svh; min-height: var(--hero-min); max-height: var(--hero-max); overflow: hidden; background: var(--red-tint); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity var(--slow) var(--ease); z-index: 1; }
.hero__video.is-active { opacity: 1; z-index: 2; }
.hero .ph { z-index: 0; }
.hero__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__intro { position: absolute; z-index: 3; top: 60%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 40px); max-width: 1100px; text-align: center; color: var(--white); }
.hero__eyebrow { font-size: var(--fs-hero-eyebrow); line-height: var(--lh-eyebrow); font-weight: 400; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: var(--s-16); }
.hero__title { font-size: var(--fs-display); font-weight: var(--fw-display); line-height: var(--lh-display); letter-spacing: var(--ls-h); text-wrap: balance; }
.hero__stores { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
.hero__stores a { display: flex; align-items: center; min-height: 44px; border-radius: 6px; }
.hero__stores img { display: block; height: 40px; width: auto; }
.hero__video { background: var(--red-tint) center / cover no-repeat; }
.hero__glyph { display: inline-block; width: var(--glyph); height: var(--glyph); vertical-align: middle; margin-right: var(--glyph-mr); fill: none; stroke: var(--white); stroke-width: var(--glyph-stroke); stroke-linecap: round; stroke-linejoin: round; }

/* ---------- How it works (§7) ---------- */
.logo-ticker { position: relative; padding: 28px 0; background: var(--band); border-bottom: 1px solid var(--line); }
.logo-ticker__intro { margin: 0 auto var(--s-24); padding-inline: var(--gutter); max-width: 960px; text-align: center; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-2); }
.logo-ticker__viewport { overflow: hidden; }
.logo-ticker__track { display: flex; width: max-content; }
.logo-ticker__group { display: flex; flex-shrink: 0; align-items: center; justify-content: space-around; gap: 48px; padding-inline: 24px; min-width: 100vw; animation: logo-ticker-right 42.667s linear infinite; }
.logo-ticker__group img { flex: none; width: 200px; height: 60px; object-fit: contain; }
.logo-ticker__viewport:hover .logo-ticker__group { animation-play-state: paused; }
@keyframes logo-ticker-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (max-width: 767px) {
  .logo-ticker__group { gap: 28px; padding-inline: 14px; }
  .logo-ticker__group img { width: 160px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-ticker { padding: 24px 0; }
  .logo-ticker__group { animation: none; min-width: 0; flex-wrap: wrap; justify-content: center; width: 100%; }
  .logo-ticker__track { width: 100%; }
  .logo-ticker__group[aria-hidden="true"] { display: none; }
}
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-48); align-items: start; }
.acc { border-top: var(--sz-1) solid var(--line); }
.acc__item { border-bottom: var(--sz-1) solid var(--line); padding: var(--acc-pad) 0; }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-24); text-align: left; font-size: var(--fs-acc); line-height: var(--lh-acc); font-weight: 400; color: var(--ink); }
.faq .acc__btn { font-size: var(--fs-faq); font-weight: var(--fw-display); letter-spacing: var(--ls-h3); }
.toggle { position: relative; flex: none; width: var(--toggle); height: var(--toggle); }
.toggle::before, .toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--bar-w); height: var(--bar-h); margin: calc(var(--bar-h) / -2) 0 0 calc(var(--bar-w) / -2); background: var(--ink); border-radius: var(--r-pill); transition: transform var(--base) var(--ease), opacity var(--base) var(--ease); }
.toggle::after { transform: rotate(90deg); }
[aria-expanded="true"] .toggle::after { transform: rotate(180deg); opacity: 0; }
.acc__panel { overflow: hidden; height: 0; transition: height var(--base) var(--ease); }
.acc__panel.is-open { height: auto; }
.acc__panel[hidden] { display: none; }
.acc__body { padding-top: var(--s-24); max-width: var(--acc-body-max); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-2); }
.acc__slot:empty { display: none; }
.acc__slot { margin-top: var(--s-24); }

.illus { position: relative; width: 100%; aspect-ratio: 14 / 19; background: transparent; overflow: hidden; }
.illus__shot { position: absolute; top: 12px; left: 50%; width: 360px; max-width: none; height: auto; transform: translateX(-50%); display: block; }
.illus__canvas { position: absolute; left: 50%; top: 50%; width: var(--sz-560); height: 760px; transform: translate(-50%, -50%) scale(var(--illus-s, 1)); opacity: 0; transition: opacity var(--illus-fade) var(--ease); }
.illus__canvas.is-active { opacity: 1; }
@media (max-width: 767px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__aside { display: none; }
  .illus { aspect-ratio: 14 / 19; }
}
@media (min-width: 768px) and (max-width: 1023px) { .how__grid { gap: var(--s-32); } }

/* Illustration internals - fixed 560×600 canvas */
.ill-card { position: absolute; background: var(--white); border-radius: var(--r-secure); box-shadow: var(--shadow-card); width: var(--sz-400); }
.i1 { background: var(--red-tint); }
.i1__doodle { position: absolute; inset: 0; background: url("../assets/img/doodle-pattern.png") repeat; opacity: var(--o-_06); }
.i1__phone { position: absolute; left: var(--s-32); top: var(--s-32); width: var(--sz-300); height: var(--sz-540); border-radius: var(--r-phone); background: var(--white); display: flex; align-items: center; gap: var(--s-12); flex-direction: column; padding-top: var(--s-24); }
.mascot { position: relative; width: var(--s-44); height: var(--s-44); border-radius: 50%; overflow: hidden; background: var(--red-tint); flex: none; }
.mascot img { width: 100%; height: 100%; object-fit: cover; }
.mascot .ph > span { font-size: var(--fs-7); }
.i-name { font-size: var(--fs-14); line-height: var(--lh-1_2); font-weight: 600; color: var(--ink); }
.i1__card { left: var(--sz-128); top: var(--s-40); padding: var(--s-20); display: flex; flex-direction: column; gap: var(--s-16); }
.i1__head { display: flex; flex-direction: column; align-items: center; gap: var(--s-8); }
.bubble { border-radius: var(--r-bubble); padding: var(--sz-10) var(--s-14); font-size: var(--fs-16); line-height: var(--lh-1_35); color: var(--ink); }
.bubble--in { background: var(--bubble); align-self: flex-start; max-width: 100%; }
.bubble--out { background: var(--red-tint); align-self: flex-end; }
.doc { border: var(--sz-1) solid var(--line); border-radius: var(--r-doc); padding: var(--s-14); background: var(--white); }
.doc__label { font-size: var(--fs-10); font-weight: 700; letter-spacing: var(--ls-_08em); color: var(--ink-2); line-height: 1; margin-bottom: var(--s-8); }
.doc__row { font-size: var(--fs-12); line-height: var(--lh-1_55); color: var(--ink); }
.chip { display: flex; align-items: center; gap: var(--s-12); }
.chip__pdf { width: var(--s-40); height: var(--s-40); border-radius: var(--r-pdf); background: var(--red); color: var(--white); display: grid; place-items: center; font-size: var(--fs-10); font-weight: 700; flex: none; }
.chip__txt { flex: 1; }
.chip__t { font-size: var(--fs-15); font-weight: 600; line-height: var(--lh-1_25); }
.chip__s { font-size: var(--fs-13); color: var(--ink-2); line-height: var(--lh-1_25); }
.chip__more { font-size: var(--fs-18); color: var(--ink-2); letter-spacing: var(--ls-1); }
.typing { display: flex; gap: var(--s-4); }
.typing i { width: var(--s-8); height: var(--s-8); border-radius: 50%; background: var(--ink-2); }
.composer { height: var(--s-44); border: var(--sz-1) solid var(--line); border-radius: var(--r-pill); display: flex; align-items: center; gap: var(--s-12); padding: 0 var(--s-4) 0 var(--s-16); background: var(--white); }
.composer__plus { font-size: var(--fs-20); line-height: 1; color: var(--ink); }
.composer__txt { flex: 1; font-size: var(--fs-15); color: var(--ink); }
.composer__send { width: var(--s-36); height: var(--s-36); border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; }
.composer__send svg { width: var(--sz-18); height: var(--sz-18); }
.i1__laptop { position: absolute; left: var(--s-40); top: var(--sz-440); width: var(--sz-180); height: var(--sz-135); z-index: 2; }
.i1__laptop img { width: 100%; height: 100%; object-fit: contain; }

.i2__card { left: var(--s-80); top: var(--sz-70); padding: var(--s-24); }
.i-title { font-size: var(--fs-16); font-weight: 600; line-height: var(--lh-1_3); }
.i-meta { font-size: var(--fs-13); color: var(--ink-2); line-height: var(--lh-1_4); margin-top: var(--sz-2); }
.i2__chart { margin-top: var(--s-16); width: var(--sz-352); height: var(--sz-140); }
.i2__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); margin-top: var(--s-16); }
.tile { background: var(--bubble); border-radius: var(--r-tile); padding: var(--s-12); }
.tile__l { font-size: var(--fs-11); font-weight: 500; color: var(--ink-2); line-height: var(--lh-1_2); }
.tile__v { font-size: var(--fs-22); font-weight: 700; line-height: var(--lh-1_2); margin-top: var(--s-4); }
.status { display: inline-flex; align-items: center; gap: var(--s-8); margin-top: var(--s-16); padding: var(--sz-6) var(--s-12); border-radius: var(--r-pill); background: var(--bubble); font-size: var(--fs-13); font-weight: 500; }
.status i { width: var(--s-8); height: var(--s-8); border-radius: 50%; background: var(--green); }

.i3__phone { position: absolute; left: var(--sz-130); top: 0; width: var(--sz-300); height: var(--sz-600); border-radius: var(--r-phone); overflow: hidden; background: var(--ink); }
.i3__phone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.i3__content { position: relative; z-index: 2; padding: var(--s-64) var(--s-12) 0; }
.i3__time { font-size: var(--fs-64); font-weight: 300; line-height: 1; text-align: center; color: var(--white); }
.i3__notifs { margin-top: var(--s-48); display: flex; flex-direction: column; gap: var(--s-8); }
.notif { background: var(--notif-bg); border-radius: var(--r-bubble); padding: var(--s-12); }
.notif__top { display: flex; align-items: center; gap: var(--s-8); }
.notif__icon { position: relative; width: var(--s-28); height: var(--s-28); border-radius: var(--r-7); overflow: hidden; flex: none; background: var(--white); }
.notif__icon img { width: 100%; height: 100%; }
.notif__icon .ph > span { font-size: var(--fs-5); }
.notif__app { flex: 1; font-size: var(--fs-11); font-weight: 600; letter-spacing: var(--ls-_04em); color: var(--ink-2); }
.notif__when { font-size: var(--fs-11); color: var(--ink-2); }
.notif__msg { margin-top: var(--sz-6); font-size: var(--fs-13); line-height: var(--lh-1_35); color: var(--ink); }

.i4__card { left: var(--s-80); top: var(--s-100); padding: var(--s-24); }
.conn { margin-top: var(--s-16); display: flex; flex-direction: column; gap: var(--s-16); }
.conn__row { display: flex; align-items: center; gap: var(--s-12); }
.conn__icon { width: var(--s-32); height: var(--s-32); border-radius: 50%; background: var(--bubble); display: grid; place-items: center; color: var(--ink); flex: none; }
.conn__icon svg { width: var(--s-16); height: var(--s-16); }
.conn__txt { flex: 1; }
.conn__l { font-size: var(--fs-15); font-weight: 500; line-height: var(--lh-1_3); }
.conn__s { font-size: var(--fs-13); color: var(--ink-2); line-height: var(--lh-1_3); }
.conn__ok { color: var(--green); width: var(--s-20); height: var(--s-20); }
.conn__foot { margin-top: var(--s-20); padding-top: var(--s-16); border-top: var(--sz-1) solid var(--line); font-size: var(--fs-13); color: var(--ink-2); }

/* ---------- Secure (§8) ---------- */
.secure { padding-top: var(--s-100); }
.secure .eyebrow { margin-bottom: var(--s-32); }
.secure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-32); align-items: stretch; }
.scard { min-height: var(--secure-min); background: var(--card); border-radius: var(--r-secure); padding: var(--secure-pad); }
.scard__top { display: flex; align-items: flex-start; gap: var(--s-14); }
.scard__icon { width: var(--secure-icon); height: var(--secure-icon); border-radius: 50%; background: var(--icon-circle); color: var(--white); display: grid; place-items: center; flex: none; }
.scard__icon svg { width: var(--secure-icon-svg); height: var(--secure-icon-svg); }
.scard h3 { max-width: var(--secure-h3-max); font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-title); letter-spacing: var(--ls-h3); color: var(--ink); }
.scard p { margin-top: var(--secure-body-gap); font-size: var(--fs-card-body); line-height: var(--lh-card); color: var(--ink); }
@media (max-width: 1023px) { .secure__grid { gap: var(--s-20); } }
@media (max-width: 767px) { .secure__grid { grid-template-columns: 1fr; } }

/* ---------- In action (§9) ---------- */
.frame { width: clamp(var(--frame-min), var(--frame-w), var(--frame-max)); max-width: 100%; margin: var(--s-50) auto 0; aspect-ratio: 16 / 10; border-radius: var(--r-media); box-shadow: var(--shadow-media); overflow: hidden; position: relative; background: var(--card); }
.action .shead { margin-bottom: 0; }
.frame video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .frame { width: 100%; border-radius: var(--r-16); } }

/* ---------- Stories (§10) ---------- */
.stories { position: relative; background: var(--band); padding-block: var(--s-100); overflow-x: clip; --edge: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.stories__grid { display: grid; grid-template-columns: var(--stories-col) 1fr; gap: var(--stories-gap); align-items: center; }
.stories__text .h2 { margin-top: var(--s-12); max-width: var(--stories-h2-max); }
.stories__text p { margin-top: var(--s-16); font-size: var(--fs-lead); line-height: var(--lh-sub); color: var(--ink); }
.stories__text .pill { margin-top: var(--s-32); }
.track { display: flex; gap: var(--story-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; width: calc(100% + var(--edge)); margin-right: calc(var(--edge) * -1); min-width: 0; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: var(--s-4); }
.story { flex: none; position: relative; width: var(--story-w); aspect-ratio: 9 / 16; border-radius: var(--r-story); overflow: hidden; background: var(--card); scroll-snap-align: start; }
.story:last-child { margin-right: var(--edge); }
.story.testimonial { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--white); }
.testimonial header { padding: 24px; }
.testimonial h3 { font-size: var(--fs-20); font-weight: var(--fw-title); line-height: var(--lh-1_3); }
.testimonial header p { margin-top: var(--sz-6); font-size: var(--fs-small); color: var(--ink-2); }
.testimonial__image { position: relative; aspect-ratio: 2 / 3; background: var(--red-tint); }
.testimonial__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonial__quote { margin: 0; padding: 24px; min-height: 120px; color: var(--ink-2); line-height: 1.6; }
.story video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.story .ph { z-index: 0; }
.sound { position: absolute; right: var(--s-16); bottom: var(--s-16); z-index: 2; width: var(--sound); height: var(--sound); border-radius: 50%; background: var(--sound-bg); color: var(--white); display: grid; place-items: center; }
.sound svg { width: var(--sz-18); height: var(--sz-18); }
.sound .ico-on { display: none; }
.sound[aria-pressed="true"] .ico-on { display: block; }
.sound[aria-pressed="true"] .ico-off { display: none; }
.sound:focus-visible { border-radius: 50%; }
.arrow { position: absolute; top: 50%; width: var(--arrow); height: var(--arrow); margin-top: calc(var(--arrow) / -2); border-radius: 50%; background: var(--carousel-btn); color: var(--white); display: grid; place-items: center; z-index: 5; transition: opacity var(--fast) var(--ease); }
.arrow svg { width: var(--arrow-icon); height: var(--arrow-icon); }
.arrow--next { right: var(--arrow-inset); }
.arrow--prev { left: var(--arrow-inset); }
.arrow--prev svg { transform: scaleX(-1); }
.arrow[hidden] { display: none; }
.arrow:focus-visible { border-radius: 50%; }
@media (max-width: 767px) {
  .stories__grid { grid-template-columns: 1fr; gap: var(--s-32); }
  .arrow { display: none !important; }
}

/* ---------- Get the app (§11) ---------- */
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-48); align-items: center; }
.app__text { padding-left: var(--s-40); }
.app__text .subhead { margin-top: var(--s-16); max-width: var(--app-sub-max); }
.app__btns { margin-top: var(--s-40); display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-24); }
.mock { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-mockup); overflow: hidden; background: var(--mockup-grad); }
.app__phone-shot { position: absolute; top: 32px; left: 50%; width: 64%; height: auto; transform: translateX(-50%); }
.mock__mark { position: absolute; right: 0; bottom: 0; width: var(--sz-420); height: var(--sz-420); opacity: var(--o-_04); }
.mock__mark img { width: 100%; height: 100%; }
.mock__mark .ph { opacity: 1; }
.phone { position: absolute; left: 50%; top: var(--s-32); width: var(--phone-w); height: var(--sz-600); transform: translateX(-50%) scale(var(--phone-k)); transform-origin: top center; }
.phone > .ph { border-radius: var(--r-44); z-index: 0; align-items: flex-end; padding-bottom: var(--s-40); }
.phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; }
.screen { position: absolute; left: var(--sz-19); top: var(--sz-17); width: var(--sz-262); height: var(--sz-567); z-index: 2; background: var(--white); border-radius: var(--r-34); overflow: hidden; padding: var(--sz-10) var(--s-12) var(--s-12); display: flex; flex-direction: column; gap: var(--sz-10); font-size: var(--fs-13); }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: var(--sz-2) var(--sz-10) 0; font-size: var(--fs-13); font-weight: 600; }
.sbar__r { display: flex; gap: var(--sz-5); align-items: center; }
.sbar svg { height: var(--sz-11); width: auto; }
.shdr { display: flex; align-items: center; justify-content: center; gap: var(--s-8); font-size: var(--fs-15); font-weight: 600; margin-top: var(--s-8); }
.shdr .mascot { width: var(--s-32); height: var(--s-32); }
.stime { text-align: center; font-size: var(--fs-11); color: var(--ink-2); }
.sb { border-radius: var(--r-bubble); padding: var(--s-8) var(--s-12); font-size: var(--fs-13); line-height: var(--lh-1_35); max-width: 86%; }
.sb--out { align-self: flex-end; background: var(--red); color: var(--white); }
.sb--in { align-self: flex-start; background: var(--bubble); color: var(--ink); }
.approve { border: var(--sz-1) solid var(--line); border-radius: var(--r-approval); padding: var(--s-14); background: var(--white); }
.approve__h { display: flex; align-items: center; gap: var(--sz-6); font-size: var(--fs-13); font-weight: 600; }
.approve__h svg { width: var(--s-14); height: var(--s-14); color: var(--red); }
.approve__ts { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-8); font-size: var(--fs-11); font-weight: 600; color: var(--ink-2); }
.approve__ts svg { width: var(--s-12); height: var(--s-12); transform: rotate(90deg); }
.approve__d { margin-top: var(--s-4); font-size: var(--fs-12); line-height: var(--lh-1_4); color: var(--ink); }
.approve__btns { margin-top: var(--sz-10); display: flex; flex-wrap: wrap; gap: var(--s-8); }
.mbtn { height: var(--s-28); padding: 0 var(--s-12); border-radius: var(--r-pill); font-size: var(--fs-12); font-weight: 600; display: inline-flex; align-items: center; border: var(--sz-1) solid var(--line); background: var(--white); color: var(--ink); white-space: nowrap; }
.mbtn--p { background: var(--red); border-color: var(--red); color: var(--white); }
.scomp { margin-top: auto; height: var(--s-36); border: var(--sz-1) solid var(--line); border-radius: var(--r-pill); display: flex; align-items: center; gap: var(--sz-10); padding: 0 var(--s-12); }
.scomp__plus { font-size: var(--fs-18); line-height: 1; }
.scomp__txt { flex: 1; font-size: var(--fs-13); color: var(--ink-2); }
.scomp svg { width: var(--s-16); height: var(--s-16); color: var(--ink-2); }
@media (max-width: 1023px) { .app__grid { gap: var(--s-32); } }
@media (max-width: 767px) {
  .app__grid { grid-template-columns: 1fr; }
  .app__text { padding-left: 0; order: -1; }
  .mock { aspect-ratio: 4 / 5; }
  .app__btns { flex-direction: column; align-items: flex-start; gap: var(--s-16); }
}

/* ---------- CTA banner (§12) ---------- */
.banner { position: relative; width: 100%; min-height: var(--banner-min); border-radius: var(--r-banner); overflow: hidden; padding: var(--banner-pad); background: var(--banner-grad); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; container-type: inline-size; }
.banner__stack { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.appicon { position: relative; width: var(--app-icon); height: var(--app-icon); border-radius: var(--r-appicon); box-shadow: var(--shadow-icon); background: var(--white); overflow: hidden; }
.appicon img { width: 100%; height: 100%; }
.banner__eyebrow { margin-top: var(--s-24); font-size: var(--fs-banner-eyebrow); line-height: var(--lh-eyebrow); font-weight: var(--fw-eyebrow); letter-spacing: var(--ls-banner); text-transform: uppercase; color: var(--ink); }
.banner .h2 { margin-top: var(--s-12); }
.banner .pill { margin-top: var(--s-24); }
.banner--homeowners { padding: 0; min-height: 0; aspect-ratio: 1024 / 285; }
.banner__photo { display: block; width: 100%; height: auto; }
.banner--homeowners .banner__stack { position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%); width: 46%; }
.banner--homeowners .banner__eyebrow { margin-top: 0; }
.banner--homeowners .h2 { font-size: clamp(24px, 2.5vw, 36px); }
.banner--homeowners .pill { margin-top: 16px; }
@media (max-width: 767px) {
  .banner--homeowners { aspect-ratio: auto; }
  .banner--homeowners .banner__photo { display: none; }
  .banner--homeowners .banner__stack { position: relative; left: auto; top: auto; transform: none; width: 100%; padding: 24px 20px 32px; }
}
.prop { position: absolute; z-index: 1; pointer-events: none; left: var(--x); top: var(--y); width: calc(var(--w) * clamp(var(--sz-964), 100cqw, var(--sz-1379)) / 1160); aspect-ratio: 1; animation: float var(--float-dur) ease-in-out infinite; animation-delay: calc(var(--i) * var(--float-step)); }
.prop img { width: 100%; height: 100%; object-fit: contain; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--float-y)); } }
@media (max-width: 1023px) { .prop { width: calc(var(--w) * var(--sz-_8)); } }
@media (max-width: 767px) {
  .prop { display: none; width: var(--sz-90); }
  .prop--m { display: block; }
  .prop--mascot { left: var(--sz-n40_5); top: var(--sz-n40_5); }
  .prop--keys { left: auto; right: var(--sz-n40_5); top: var(--sz-n40_5); }
  .prop--calendar { left: var(--sz-n40_5); top: auto; bottom: var(--sz-n40_5); }
  .prop--box { left: auto; right: var(--sz-n40_5); top: auto; bottom: var(--sz-n40_5); }
}

/* ---------- FAQ (§13) ---------- */
.faq__label { display: flex; align-items: center; gap: var(--s-8); margin-bottom: var(--s-32); color: var(--red); }
.faq__label svg { width: var(--s-16); height: var(--s-16); }
.faq .acc__item { padding: 0; }
.faq .acc__btn { padding: var(--faq-pad) 0; min-height: var(--s-80); }
.faq .acc__body { padding: 0 0 var(--s-32); max-width: var(--faq-body-max); }
@media (max-width: 767px) { .faq .acc__btn { min-height: 0; } }

/* ---------- Footer (§14) ---------- */
.footer { background: var(--band); padding: var(--s-48) 0 var(--s-40); }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-24); }
.footer .wordmark-slot { --wordmark-h: var(--s-20); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--s-28); }
.footer__links a { font-size: var(--fs-footer); line-height: var(--lh-1_5); font-weight: 500; color: var(--ink); text-decoration: underline transparent; text-decoration-thickness: var(--sz-1_5); text-underline-offset: var(--s-4); transition: text-decoration-color var(--fast) var(--ease); }
.footer__links a:hover { text-decoration-color: currentColor; }
.footer__legal { margin-top: var(--s-32); max-width: var(--sz-800); font-size: var(--fs-legal); line-height: var(--lh-1_5); color: var(--ink-2); }
@media (max-width: 767px) {
  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__links { gap: var(--s-16); }
}

/* ---------- Reduced motion (§16) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video, .illus__canvas, .overlay, .drawer, .overlay.is-open, .drawer.is-open { transition: none; }
  .prop { animation: none; }
  .track { scroll-behavior: auto; }
}

/* Inline SVG presentation colors routed through tokens */
.i2__chart line { stroke: var(--line); }
.i2__chart text { fill: var(--ink-2); }
.i2__chart path { stroke: var(--red); }
.sbar svg rect { fill: var(--ink); }
.sbar svg rect[fill="none"] { fill: none; stroke: var(--ink); }
