/* =========================================================================
   HomeLogix · marketing site
   Palette: Blue + Signal Orange. Type: Optima (display) + PT Serif (body).
   No framework, no build step. Fonts are self-hosted in /fonts.

   Brand is fixed and does not follow the palette: the italic HL mark
   (Helvetica Bold, white on #0B6FD4) and the "HomeLogix" wordmark in
   Helvetica Neue semibold, exactly as in the app.
   ========================================================================= */

@font-face { font-family: 'PT Serif'; src: local('PT Serif'), url(fonts/pt-serif-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Serif'; src: local('PT Serif Bold'), url(fonts/pt-serif-700.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Serif'; src: local('PT Serif Italic'), url(fonts/pt-serif-400i.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
/* Stand-in for Optima on devices that don't ship it (Windows, Android). */
@font-face { font-family: 'HL Display'; src: url(fonts/tenor-sans-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;

  --bg: #FFFFFF;
  --bg-2: #F6F4EF;          /* warm white, alternate sections */
  --surface: #FFFFFF;
  --ink: #0B0F17;
  --ink-2: #4E5666;
  --ink-3: #7D8594;
  --line: #E4DFD5;
  --line-2: #EFEBE3;

  --brand: #0B6FD4;         /* HomeLogix Blue — logo, links, highlights */
  --brand-deep: #0A5CB2;
  --brand-soft: #E8F1FC;
  --cta: #FF6A1A;           /* Signal Orange — primary actions only */
  --cta-2: #FF8440;
  --cta-ink: #0B0F17;
  --dark: #0B0F17;
  --dark-ink: #F6F4EF;
  --dark-muted: #9AA3B2;

  --ok: #1F7A45;  --ok-soft: #E3F2E8;
  --warn: #9A6410; --warn-soft: #FBF0DA;
  --bad: #B02A1E;  --bad-soft: #FAE8E5;

  --display: Optima, 'Optima nova', 'Optima LT Std', 'HL Display', Candara, 'Segoe UI', sans-serif;
  --body: 'PT Serif', Georgia, 'Times New Roman', serif;
  --brand-font: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif;
  --mono: ui-monospace, Menlo, 'SF Mono', Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 22px;
  --max: 1200px;
  --gutter: 32px;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
::selection { background: var(--cta); color: var(--cta-ink); }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-family: var(--display); text-decoration: none; transition: top .25s; }
.skip:focus { top: 12px; color: #fff; }

/* Page transitions (cross-document View Transitions where supported) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(14px); } }
.nav { view-transition-name: site-nav; }
/* Fallback for browsers without them: site.js adds .leaving before navigating */
body.leaving main, body.leaving footer { opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
main { animation: page-in .6s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }

/* Scroll progress */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand), var(--cta)); pointer-events: none; }

/* ------------------------------------------------------------ brand (fixed) */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: #0B6FD4; color: #fff; display: grid; place-items: center;
  font-family: var(--brand-font); font-style: italic; font-weight: 700; font-size: 15px; letter-spacing: -.02em; line-height: 1;
  transition: transform .5s var(--ease);
}
.brand:hover .mark { transform: rotate(-6deg) scale(1.06); }
.wordmark { font-family: var(--brand-font); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }

/* ------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav-links { display: flex; gap: 28px; font-family: var(--display); font-size: 15.5px; }
.nav-links a { color: var(--ink-2); text-decoration: none; position: relative; padding: 6px 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--cta); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 14.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.drawer { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--bg); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; overflow-y: auto; }
.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a { font-family: var(--display); font-size: 30px; color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-2);
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .drawer a { opacity: 1; transform: none; }
.menu-open .drawer a:nth-child(2) { transition-delay: .04s; } .menu-open .drawer a:nth-child(3) { transition-delay: .08s; }
.menu-open .drawer a:nth-child(4) { transition-delay: .12s; } .menu-open .drawer a:nth-child(5) { transition-delay: .16s; }
.drawer .btn { margin-top: 22px; justify-content: center; font-size: 17px; padding: 16px; border-bottom: 0; }
.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ buttons */
.btn {
  font-family: var(--display); font-size: 15.5px; letter-spacing: .01em; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-cta { background: linear-gradient(135deg, var(--cta), var(--cta-2)); color: var(--cta-ink); font-weight: 600; box-shadow: 0 8px 24px -10px rgba(255,106,26,.7); }
.btn-cta:hover { color: var(--cta-ink); box-shadow: 0 14px 32px -10px rgba(255,106,26,.75); }
.btn-blue { background: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 8px 24px -12px rgba(11,111,212,.8); }
.btn-blue:hover { color: #fff; background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: default; transform: none; }

/* ------------------------------------------------------------ type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cta); animation: ping 2.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,106,26,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255,106,26,0); } }
.h-xl { font-size: clamp(42px, 5vw, 68px); line-height: 1.03; }
.h-lg { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.07; }
.h-md { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.fineprint { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.fineprint a { color: var(--ink-2); }
em.hl { font-style: italic; color: var(--brand); }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 110px); isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(11,15,23,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,15,23,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 25%, transparent 78%); }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 560px; height: 560px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(11,111,212,.16), transparent 70%); }
.blob.b2 { width: 480px; height: 480px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(255,106,26,.14), transparent 70%); animation-duration: 23s; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .07em; }
.hero h1 .ln > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero h1 em { font-style: italic; color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .3em; overflow: visible; }
.hero h1 em path { fill: none; stroke: var(--cta); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .after { display: flex; gap: 18px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.textlink { font-family: var(--display); color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1.5px solid var(--line); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.textlink:hover { color: var(--brand); border-color: var(--brand); }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line-2); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px circle at 90% 0%, rgba(11,111,212,.10), transparent 60%),
  radial-gradient(500px circle at 0% 100%, rgba(255,106,26,.08), transparent 60%); }
.page-hero h1 { margin: 18px 0 20px; }

/* ------------------------------------------------------------ capture form */
.capture { display: flex; gap: 8px; padding: 6px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); max-width: 520px;
  transition: border-color .3s, box-shadow .4s var(--ease); position: relative; }
.capture:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.capture input[type="email"], .capture input[type="text"] { flex: 1; min-width: 0; border: 0; background: transparent; font: 16px var(--body); color: var(--ink); padding: 0 16px; outline: none; }
.capture input.zip { flex: 0 0 96px; border-left: 1px solid var(--line); padding-left: 14px; }
.capture input::placeholder { color: var(--ink-3); }
.capture-note { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.capture-note b { color: var(--ink); }
.capture-msg { margin-top: 12px; font-size: 15px; min-height: 1.4em; }
.capture-msg.ok { color: var(--ok); }
.capture-msg.err { color: var(--bad); }
.capture.done { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.capture.done input, .capture.done button { pointer-events: none; }

/* Honeypot: off-screen rather than display:none; some bots skip unrendered fields. */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ phone mock */
.stage { position: relative; height: 610px; display: grid; place-items: center; }
.phone { width: 292px; height: 594px; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #2a2f3a, #0c0e13);
  box-shadow: 0 50px 90px -30px rgba(11,15,23,.45), inset 0 0 0 1.5px rgba(255,255,255,.08); animation: float 7s ease-in-out infinite; position: relative; z-index: 2; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-.6deg); } }
.screen { height: 100%; border-radius: 36px; background: #FAF8F4; color: var(--ink); overflow: hidden; position: relative; padding: 18px 16px; }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 96px; height: 27px; border-radius: 20px; background: #000; }
.sbar { display: flex; justify-content: space-between; font: 600 12px var(--brand-font); padding: 2px 10px 0; }
.app-h { font-family: var(--display); font-size: 24px; margin: 26px 4px 12px; }
.plate { position: relative; border-radius: 14px; padding: 14px; background: linear-gradient(145deg, #cdd2d9, #9ea5b0); color: #1b1f26; font: 600 10.5px/1.55 var(--mono); letter-spacing: .04em; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.plate .t { font-size: 9px; opacity: .65; }
.plate .m { font-size: 13px; letter-spacing: .06em; }
.scan { position: absolute; left: 0; right: 0; height: 38px; top: -40px; background: linear-gradient(180deg, transparent, rgba(255,106,26,.5), transparent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { to { top: 110%; } }
.corner { position: absolute; width: 16px; height: 16px; border: 2.5px solid var(--cta); }
.corner.a { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; }
.corner.b { top: 6px; right: 6px; border-left: 0; border-bottom: 0; border-radius: 0 5px 0 0; }
.corner.c { bottom: 6px; left: 6px; border-right: 0; border-top: 0; border-radius: 0 0 0 5px; }
.corner.d { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; }
.result { margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: #F3F6FA; }
.result .k { font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.result .v { font-family: var(--display); font-size: 17px; margin-top: 5px; height: 46px; overflow: hidden; transition: opacity .35s, transform .35s var(--ease); }
.result .v.swap { opacity: 0; transform: translateY(6px); }
.pills { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pill { font: 600 10.5px var(--brand-font); padding: 5px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.pill.g { background: #E3F2E8; color: #1F7A45; }
.screen .btn { width: 100%; justify-content: center; margin-top: 14px; padding: 12px; font-size: 15px; }
.steps-mini { margin-top: 14px; display: grid; gap: 8px; }
.steps-mini div { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.steps-mini i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font: 600 10px var(--brand-font); font-style: normal; flex: none; }
.floater { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 40px -18px rgba(11,15,23,.28); font-size: 13px; display: flex; gap: 10px; align-items: center; animation: float 8s ease-in-out infinite; }
.floater .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 15px; flex: none; }
.floater b { display: block; font-family: var(--display); font-weight: 400; font-size: 14px; }
.floater small { color: var(--ink-3); }
.floater.f1 { left: -64px; top: 14px; animation-delay: -2s; }
.floater.f2 { right: -84px; top: 292px; animation-delay: -4s; }
.floater.f2 .ic { background: #FFEBDD; color: #D2520B; }
.floater.f3 { left: -54px; bottom: 54px; animation-delay: -6s; }

/* ------------------------------------------------------------ ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; white-space: nowrap; background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .row { display: inline-flex; gap: 48px; animation: tick 48s linear infinite; font-family: var(--display); font-size: 22px; color: var(--ink-2); }
.ticker:hover .row { animation-play-state: paused; }
.ticker .row span::after { content: "◆"; color: var(--cta); font-size: 10px; margin-left: 48px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ problem statement */
.options { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.options li { font-family: var(--display); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.2; color: var(--ink-3); position: relative; width: fit-content; }
.options li s { text-decoration: none; position: relative; }
.options li s::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: 3px; background: var(--cta); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.options.in li s::after { transform: scaleX(1); }
.options.in li:nth-child(2) s::after { transition-delay: .25s; }
.options.in li:nth-child(3) s::after { transition-delay: .5s; }
.options li.win { color: var(--ink); margin-top: 18px; }
.options li.win em { color: var(--brand); }

/* ------------------------------------------------------------ cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(11,111,212,.08), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--cta)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,15,23,.25); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card > * { position: relative; }
.card .num { font-family: var(--display); font-size: 15px; letter-spacing: .1em; color: var(--brand); }
.card .ico { width: 52px; height: 52px; border-radius: 15px; background: var(--brand-soft); display: grid; place-items: center; margin-top: 22px; color: var(--brand); }
.card h3 { font-size: 25px; margin: 34px 0 12px; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; margin: 0; }

/* Bento (What makes it different) */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.bento > * { grid-column: span 6; }
.bento .card h3 { margin-top: 16px; }
.bento .span-7 { grid-column: span 7; } .bento .span-5 { grid-column: span 5; }
.bento .span-4 { grid-column: span 4; } .bento .span-8 { grid-column: span 8; }

/* Safety tiers */
.tiers { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.tier { font-family: var(--display); font-size: 14px; padding: 9px 14px; border-radius: 99px; display: inline-flex; gap: 8px; align-items: center; transition: transform .3s var(--ease); }
.tier:hover { transform: translateY(-2px); }
.tier i { width: 8px; height: 8px; border-radius: 50%; }
.tier.g { background: #E3F2E8; color: #1F7A45; } .tier.g i { background: #1F9D55; }
.tier.y { background: #FBF0DA; color: #8F5D0F; } .tier.y i { background: #D69E2E; }
.tier.r { background: #FAE8E5; color: #B02A1E; } .tier.r i { background: #D64545; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.checks svg { flex: none; margin-top: 3px; color: var(--brand); }

/* ------------------------------------------------------------ split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split p.body { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* ------------------------------------------------------------ photo slots */
.slot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(11,111,212,.22), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255,106,26,.16), transparent 60%),
    linear-gradient(160deg, #EEF3FA, #F6F1EA); }
.slot::before { /* blueprint grid shown until a photo is in place */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(11,111,212,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(11,111,212,.10) 1px, transparent 1px);
  background-size: 28px 28px; }
.slot .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(11,111,212,.55); }
.slot .ph svg { width: 22%; max-width: 120px; height: auto; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.slot.filled img { opacity: 1; transform: none; }
.slot.filled .ph { display: none; }
.slot.zoom:hover img { transform: scale(1.04); }
.slot figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; font-family: var(--display); font-size: 17px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.slot:not(.filled) figcaption { color: var(--ink); text-shadow: none; }
.slot figcaption small { font-size: 13px; opacity: .85; }
.slot.filled::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); }
.slot.plain::after { display: none; }
.slot.r-45 { aspect-ratio: 4 / 5; } .slot.r-34 { aspect-ratio: 3 / 4; } .slot.r-32 { aspect-ratio: 3 / 2; } .slot.r-169 { aspect-ratio: 16 / 9; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Edit mode (visit any page with ?edit) */
.edit-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; display: flex; gap: 12px; align-items: center; padding: 10px 12px 10px 18px; border-radius: 18px;
  background: rgba(11,15,23,.9); color: #fff; font-family: var(--display); font-size: 14px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: calc(100vw - 24px); }
.edit-bar button { all: unset; cursor: pointer; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.12); }
.edit-bar button:hover { background: rgba(255,255,255,.2); }
.editing .slot { outline: 2px dashed rgba(11,111,212,.55); outline-offset: -2px; cursor: pointer; }
.editing .slot.over { outline-color: var(--cta); outline-style: solid; }
.slot .edit { display: none; }
.editing .slot .edit { display: grid; position: absolute; inset: 0; z-index: 5; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 16px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); font-family: var(--display); color: var(--ink); transition: opacity .3s; }
.editing .slot.filled .edit { opacity: 0; background: rgba(11,15,23,.55); color: #fff; }
.editing .slot.filled:hover .edit { opacity: 1; }
.slot .edit code { font: 13px var(--mono); background: #fff; color: var(--brand); border: 1px solid var(--line); padding: 4px 9px; border-radius: 8px; }
.slot .edit small { font-size: 13px; opacity: .8; }
.slot .edit .dl { font: 600 13px var(--brand-font); background: var(--cta); color: var(--cta-ink); border: 0; padding: 8px 12px; border-radius: 99px; cursor: pointer; }
.slot .edit .focus-hint { font-size: 12px; opacity: .75; }

/* ------------------------------------------------------------ dark band */
.dark { background: var(--dark); color: var(--dark-ink); position: relative; overflow: hidden; }
.dark h2, .dark h3 { color: var(--dark-ink); }
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at 85% 20%, rgba(11,111,212,.32), transparent 60%), radial-gradient(500px circle at 0% 100%, rgba(255,106,26,.10), transparent 60%); }
.dark .wrap { position: relative; }
.dark .eyebrow { color: #7FB6F0; }
.dark p.body { color: var(--dark-muted); }
.sched { display: grid; gap: 12px; }
.task { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px;
  background: rgba(246,244,239,.06); border: 1px solid rgba(246,244,239,.1); transition: transform .45s var(--ease), background-color .3s; }
.task:hover { transform: translateX(6px); background: rgba(246,244,239,.1); }
.task .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(11,111,212,.4); font-size: 17px; }
.task b { font-family: var(--display); font-weight: 400; font-size: 17px; display: block; }
.task small { color: var(--dark-muted); font-size: 14px; }
.bar { height: 5px; border-radius: 9px; background: rgba(246,244,239,.12); margin-top: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--brand), var(--cta)); width: var(--w); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.in .bar i, .bar.in i { transform: scaleX(1); }
.due { font-family: var(--display); font-size: 13px; padding: 6px 11px; border-radius: 99px; background: var(--cta); color: var(--cta-ink); white-space: nowrap; }

/* ------------------------------------------------------------ statement */
.statement { font-family: var(--display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; max-width: 22em; margin: 0 auto; text-align: center; }
.statement em { font-style: italic; color: var(--brand); }
.statement-sub { max-width: 40em; margin: 26px auto 0; text-align: center; color: var(--ink-2); font-size: 18px; }

/* ------------------------------------------------------------ final CTA band */
.band { margin: 0 var(--gutter) var(--gutter); border-radius: 32px; background: linear-gradient(125deg, var(--brand), var(--brand-deep)); color: #fff; position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 9vw, 116px) 28px; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.band::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,26,.45), transparent 65%); filter: blur(30px); }
.band h2 { color: #fff; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; margin-top: 16px; }
.band .eyebrow { color: rgba(255,255,255,.85); }
.band p { margin: 18px auto 0; max-width: 34em; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.86); }
.band .capture { margin: 36px auto 0; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.band .capture:focus-within { border-color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.15); }
.band .capture input { color: #fff; }
.band .capture input.zip { border-left-color: rgba(255,255,255,.28); }
.band .capture input::placeholder { color: rgba(255,255,255,.72); }
.band .capture-note { color: rgba(255,255,255,.75); }
.band .capture-msg.ok { color: #fff; }
.band .capture-msg.err { color: #FFD9C7; }
.badges { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.appstore { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.3); font: 500 12px/1.1 var(--brand-font); text-align: left; text-decoration: none; }
.appstore b { display: block; font-size: 17px; font-weight: 600; }
.appstore[aria-disabled="true"] { opacity: .88; cursor: default; }
.soon { font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* ------------------------------------------------------------ note */
.note { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 18px; padding: 18px 20px; font-size: 16px; line-height: 1.6; margin: 24px 0; }
.note strong { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 400; font-size: 18px; }
.form-card > .note:first-of-type { margin-top: 0; }
.note.warm { background: #FFF3EA; border-color: #FFD4BA; }

/* ------------------------------------------------------------ forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 80px -60px rgba(11,15,23,.35); }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
legend { font-family: var(--display); font-size: 22px; padding: 0; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; color: var(--ink); }
legend .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 14px; transition: background-color .35s, color .35s; }
fieldset.complete legend .n { background: var(--brand); color: #fff; }
.label, label { display: block; margin-bottom: 18px; font-family: var(--display); font-size: 15px; color: var(--ink-2); }
.label span[aria-hidden], label span[aria-hidden] { color: var(--cta); }
label small { display: block; font-family: var(--body); color: var(--ink-3); font-size: 13.5px; margin-top: 7px; line-height: 1.5; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="url"], input[type="number"], select, textarea {
  display: block; width: 100%; margin-top: 7px; font-family: var(--body); font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px;
  transition: border-color .25s, box-shadow .3s var(--ease); -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234E5666' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea { resize: vertical; line-height: 1.55; }
input:hover, select:hover, textarea:hover { border-color: #D3CCBF; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--bad); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-family: var(--body); color: var(--ink-2); font-size: 15px; line-height: 1.5; margin: 22px 0; cursor: pointer; }
.check input { margin-top: 3px; width: 19px; height: 19px; flex: none; accent-color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { position: relative; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); font-family: var(--display); font-size: 15px; color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); background: var(--surface); }
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #CFC8BB; transition: all .25s var(--ease); }
.chip input[type="checkbox"] + span::before { border-radius: 4px; }
.chip:hover span { border-color: var(--brand); color: var(--ink); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.chip input:checked + span::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px var(--brand-soft); }
.chip input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }
button[type="submit"]:not(.btn) { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: .01em; width: 100%; padding: 17px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--cta), var(--cta-2)); color: var(--cta-ink); box-shadow: 0 10px 28px -12px rgba(255,106,26,.8); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s; }
button[type="submit"]:not(.btn):hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255,106,26,.85); }
button[type="submit"]:disabled { opacity: .55; cursor: default; transform: none; }
.status { margin-top: 16px; font-size: 15.5px; line-height: 1.55; min-height: 1.5em; }
.status.ok { color: var(--ok); background: var(--ok-soft); padding: 18px 20px; border-radius: 16px; animation: pop .6s var(--ease); }
.status.err { color: var(--bad); background: var(--bad-soft); padding: 16px 18px; border-radius: 16px; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* Form layout with a sticky progress aside */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.rail { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.rail h3 { font-size: 18px; margin-bottom: 14px; }
.rail ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; position: relative; }
.rail li { display: flex; gap: 12px; align-items: center; font-family: var(--display); font-size: 15.5px; color: var(--ink-3); padding: 8px 0; transition: color .3s; }
.rail li i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 12px; background: var(--surface); transition: all .35s var(--ease); flex: none; }
.rail li.active { color: var(--ink); }
.rail li.active i { border-color: var(--brand); color: var(--brand); }
.rail li.done { color: var(--ink); }
.rail li.done i { background: var(--brand); border-color: var(--brand); color: #fff; }
.meter { height: 6px; border-radius: 9px; background: var(--line-2); overflow: hidden; margin-top: 16px; }
.meter i { display: block; height: 100%; width: calc(var(--m, 0) * 100%); background: linear-gradient(90deg, var(--brand), var(--cta)); border-radius: 9px; transition: width .6s var(--ease); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.timeline li b { display: block; font-family: var(--display); font-weight: 400; color: var(--ink); font-size: 16px; }
.timeline .dot { width: 26px; height: 26px; border-radius: 50%; background: #FFEBDD; color: #D2520B; display: grid; place-items: center; font-size: 13px; font-family: var(--display); }

/* ------------------------------------------------------------ FAQ */
.faq-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.search { position: relative; flex: 1 1 320px; max-width: 520px; }
.search input { margin: 0; padding-left: 46px; border-radius: 999px; }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.filter { font-family: var(--display); font-size: 14.5px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.filter:hover { border-color: var(--brand); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 52px 0 16px; }
.faq h2:first-child { margin-top: 0; }
details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 10px; overflow: hidden; transition: border-color .3s, box-shadow .4s var(--ease); interpolate-size: allow-keywords; }
details:hover { border-color: #D3CCBF; }
details[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 20px 40px -30px rgba(11,15,23,.3); }
details summary { padding: 20px 22px; cursor: pointer; font-family: var(--display); font-size: 19px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230B6FD4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .4s var(--ease), background-color .3s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-soft); }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
details[open]::details-content { block-size: auto; }
details .body { padding: 0 22px 20px; color: var(--ink-2); font-size: 16.5px; }
details .body p:last-child { margin-bottom: 0; }
details.hide, .faq h2.hide { display: none; }
mark { background: #FFE2CF; color: inherit; border-radius: 3px; padding: 0 2px; }
.no-results { display: none; padding: 30px; text-align: center; color: var(--ink-3); border: 1.5px dashed var(--line); border-radius: 18px; }
.no-results.show { display: block; }

/* ------------------------------------------------------------ legal */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; font-family: var(--display); font-size: 14.5px; }
.toc b { display: block; font-weight: 400; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc a { display: block; color: var(--ink-2); text-decoration: none; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); transition: all .25s; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--brand); border-left-color: var(--brand); }
.prose { max-width: 720px; font-size: 17px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 52px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.prose th { font-family: var(--display); font-weight: 400; color: var(--ink-3); }
.prose > .note:first-child { margin-top: 0; }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; color: var(--ink-2); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-family: var(--display); }
.foot a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--brand); }
.foot .blurb { margin-top: 16px; max-width: 28em; color: var(--ink-3); font-size: 14.5px; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13.5px; }

/* ------------------------------------------------------------ reveal on scroll */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }


/* ------------------------------------------------------------ utilities + page extras */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bento .slot { aspect-ratio: auto; min-height: 340px; height: 100%; }
.stack { display: grid; gap: 22px; }

/* Partner job-request mock */
.req { background: #fff; color: var(--ink); border-radius: 26px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); max-width: 420px; margin-left: auto; font-size: 15px; transform: rotate(1.2deg); transition: transform .6s var(--ease); }
.req:hover { transform: rotate(0) translateY(-4px); }
.req .top { display: flex; align-items: center; gap: 10px; font-family: var(--brand-font); font-weight: 600; font-size: 13px; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.req .top .mark { width: 24px; height: 24px; font-size: 11px; border-radius: 6px; }
.req .top span:last-child { margin-left: auto; font-family: var(--display); font-weight: 400; color: #D2520B; background: #FFEBDD; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; }
.req h3 { font-size: 23px; margin: 16px 0 2px; }
.req .sub { color: var(--ink-3); font-size: 14px; }
.req .rep { margin: 14px 0; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); line-height: 1.5; }
.req .likely { font-family: var(--display); font-size: 15px; }
.req .likely span { color: var(--ink-3); font-size: 13px; }
.req .slots { display: grid; gap: 8px; margin: 14px 0; }
.req .slots label { margin: 0; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14.5px; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.req .slots label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.req .slots input { accent-color: var(--brand); }
.req .fee { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.req .acts { display: grid; gap: 8px; margin-top: 12px; }
.req .acts .btn { justify-content: center; }

.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: perk; }
.perks li { border-top: 2px solid var(--ink); padding-top: 18px; font-size: 17px; color: var(--ink-2); }
.perks li b { display: block; font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--ink); margin-bottom: 8px; line-height: 1.2; }
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.err-page .code { font-family: var(--display); font-size: clamp(90px, 16vw, 180px); line-height: 1; background: linear-gradient(120deg, var(--brand), var(--cta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 980px) { .perks { grid-template-columns: 1fr; } .req { margin: 0 auto; } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .form-layout { grid-template-columns: 1fr; }
  .aside { position: static; order: -1; }
  .aside .timeline-card { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .split.flip > :first-child { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .bento > *, .bento .span-7, .bento .span-5, .bento .span-4, .bento .span-8 { grid-column: 1 / -1; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-block; }
  .stage { height: 580px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .nav .wrap { height: 64px; }
  .drawer { inset: 64px 0 0; }
  .nav-cta .btn-cta { display: none; }
  .capture { flex-direction: column; border-radius: 22px; }
  .capture input[type="email"], .capture input[type="text"] { padding: 12px 14px; }
  .capture input.zip { flex: none; border-left: 0; border-top: 1px solid var(--line); }
  .band .capture input.zip { border-top-color: rgba(255,255,255,.28); }
  .capture .btn { justify-content: center; }
  .floater { display: none; }
  .stage { height: 540px; }
  .phone { transform: scale(.92); animation: none; }
  .gallery { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .band { margin: 0 12px 12px; border-radius: 24px; }
  .task { grid-template-columns: auto 1fr; }
  .task .due { grid-column: 2; justify-self: start; }
  .foot-grid { grid-template-columns: 1fr; }
  .options li { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .hero h1 em path { stroke-dashoffset: 0; }
  .ticker .row { animation: none; }
}
@media print {
  .nav, .progress, .foot, .band, .edit-bar, .toc { display: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
