html, body { background: var(--bg); color: var(--ink); }

/* fonts: self-hosted (SIL Open Font License, see fonts/OFL-*.txt) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-tight-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-tight-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f3f2ef;
  --paper: #ffffff;
  --panel: #e9e7e2;
  --ink: #121212;
  --muted: #5a5853;
  --faint: #8a8781;
  --line: rgba(18,18,18,.12);
  --line-strong: rgba(18,18,18,.22);
  --accent: #ff5b1f;
  --accent-ink: #b33a0c;
  --accent-soft: #ffe4d8;
  --accent2: #2b59ff;
  --accent2-ink: #1f45d6;
  --on-accent2: #ffffff;
  --offer-accent: #7f9bff;
  --good: #1f7a4d;
  --invert-bg: #121212;
  --invert-ink: #f4f3f0;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px -12px rgba(0,0,0,.14);
  --r: 14px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22,1,0.36,1);
  /* type scale */
  --fs-xs: 13px;
  --fs-sm: 14.5px;
  --fs-body: 16px;
  --fs-lede: clamp(17px, 1.5vw, 19px);
  /* rhythm */
  --sec-pad: clamp(72px, 9vw, 120px);
  --gap-head: 44px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0d; --paper: #171716; --panel: #1f1f1d; --ink: #f2f1ed; --muted: #a6a39c; --faint: #75726c;
    --line: rgba(255,255,255,.10); --line-strong: rgba(255,255,255,.2);
    --accent: #ff6b33; --accent-ink: #ff9a70; --accent-soft: rgba(255,107,51,.16); --good: #4fc98a;
    --accent2: #6f8cff; --accent2-ink: #9ab0ff; --on-accent2: #0d0d0d; --offer-accent: #2b59ff;
    --invert-bg: #f2f1ed; --invert-ink: #121212;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 20px 50px -20px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0d; --paper: #171716; --panel: #1f1f1d; --ink: #f2f1ed; --muted: #a6a39c; --faint: #75726c;
  --line: rgba(255,255,255,.10); --line-strong: rgba(255,255,255,.2);
  --accent: #ff6b33; --accent-ink: #ff9a70; --accent-soft: rgba(255,107,51,.16); --good: #4fc98a;
  --accent2: #6f8cff; --accent2-ink: #9ab0ff; --on-accent2: #0d0d0d; --offer-accent: #2b59ff;
  --invert-bg: #f2f1ed; --invert-ink: #121212;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 20px 50px -20px rgba(0,0,0,.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow .idx { font-family: var(--display); font-stretch: 100%; color: var(--ink); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); flex: none; }
.h2 { font-family: var(--display); font-stretch: 92%; font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1; letter-spacing: -.035em; margin-top: 16px; max-width: 20ch; text-wrap: balance; }
.lede { color: var(--muted); font-size: var(--fs-lede); max-width: 58ch; margin-top: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: var(--fs-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent2); color: var(--on-accent2); }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: 96%; font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-decoration: none; min-height: 44px; transition: opacity .2s var(--ease); }
.brand:hover { opacity: .8; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { white-space: nowrap; }
.nav-links { display: flex; gap: 2px; list-style: none; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.nav-links a { display: block; padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .2s var(--ease), background-color .2s var(--ease); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--panel); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nav-right .btn .short { display: none; }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.theme-btn:active { transform: scale(.97); }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: block; }
}
@media (max-width: 1020px) { .nav-links { display: none; } }
@media (max-width: 480px) {
  .brand { gap: 8px; } .brand-mark { width: 28px; height: 28px; }
  .brand-text { font-size: 15.5px; }
  .nav-right { gap: 6px; }
  .nav-right .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .nav-right .btn .long { display: none; } .nav-right .btn .short { display: inline; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 var(--sec-pad); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-family: var(--display); font-stretch: 88%; font-weight: 750; font-size: clamp(44px, 5.4vw, 80px); line-height: .94; letter-spacing: -.04em; word-spacing: .06em; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--faint); display: block; }
.hero .lede { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--accent2); flex: none; }

/* industry tabs (JS only) */
.chat-tabs { display: none; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.js .chat-tabs { display: flex; }
.chat-tab { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.chat-tab:active { transform: scale(.97); }
.chat-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.chat-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* chat mock */
.chat { position: relative; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.chat-top .dots { display: flex; gap: 6px; }
.chat-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.chat-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--panel); color: var(--muted); }
.chat-body { padding: 22px 20px 20px; display: grid; gap: 16px; }
.msg-user { justify-self: end; max-width: 88%; background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 18px 18px 4px 18px; font-size: var(--fs-body); font-weight: 500; }
.msg-user .who { display: block; font-size: 12px; font-weight: 600; opacity: .62; margin-bottom: 3px; letter-spacing: .02em; }
.msg-ai { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.ai-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--accent2); color: var(--on-accent2); display: grid; place-items: center; }
.ai-icon svg { width: 16px; height: 16px; }
.ai-text { font-size: 15px; }
.picks { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; }
.picks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; }
.picks .n { font-family: var(--display); font-weight: 700; color: var(--accent2-ink); }
.picks b { font-weight: 650; }
.picks .d { color: var(--muted); }
.typing { display: none; gap: 5px; padding: 8px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ai-stack { position: relative; }

.missing { position: relative; margin: 0 20px 20px; padding: 16px 18px; border-radius: 14px; border: 1.5px dashed var(--accent); background: var(--accent-soft); display: flex; align-items: center; gap: 14px; }
.missing svg { width: 22px; height: 22px; color: var(--accent-ink); flex: none; }
.missing strong { font-family: var(--display); font-stretch: 96%; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.missing mark { background: none; color: var(--accent-ink); white-space: nowrap; }
.missing small { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 1px; }
.chat-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 20px 16px; font-size: 12.5px; color: var(--muted); }
.replay { display: none; border: 0; background: none; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; min-height: 44px; padding: 0 10px; margin: -10px -10px -10px 0; gap: 6px; align-items: center; border-radius: 999px; transition: color .2s var(--ease), transform .2s var(--ease); }
.replay:active { transform: scale(.97); }
.js .replay { display: inline-flex; }
.replay:hover { color: var(--ink); }
.replay svg { width: 14px; height: 14px; }

/* hero chat animation states: only applied once JS has started the sequence */
.js-anim .q .c { opacity: 0; }
.js-anim .q .c.on { opacity: 1; }
.js-anim .msg-user { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-anim .msg-user.on { opacity: 1; transform: none; }
.js-anim .msg-ai { opacity: 0; transition: opacity .4s var(--ease); }
.js-anim .msg-ai.on { opacity: 1; }
.js-anim .ai-text, .js-anim .picks li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js-anim .ai-text.on, .js-anim .picks li.on { opacity: 1; transform: none; }
.js-anim .missing { opacity: 0; transform: scale(.96); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js-anim .missing.on { opacity: 1; transform: none; animation: thud .7s var(--ease) .1s; }
@keyframes thud { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.js-anim .typing.show { display: flex; position: absolute; top: 0; left: 0; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
}

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.sec { padding: var(--sec-pad) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 24px; }
.sec-body { margin-top: var(--gap-head); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; justify-items: start; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; }
.pill svg { width: 18px; height: 18px; color: var(--accent2); flex: none; }

/* bordered grid shared by steps and industries */
.grid-box { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.grid-box > li { background: var(--paper); }

/* steps */
.steps { grid-template-columns: repeat(4, 1fr); }
.step { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.step .when { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent2-ink); }
.step .num { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.04em; color: var(--faint); }
.step h3 { font-family: var(--display); font-stretch: 96%; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin-top: 4px; }
.step p { color: var(--muted); font-size: 15px; }
.math { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 15px; }
.math span { padding: 2px 8px; border-radius: 6px; background: var(--panel); }
.math .eq { background: var(--accent2); color: var(--on-accent2); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.qs { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.qs b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.qs span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }

/* industries */
.biz-grid { grid-template-columns: repeat(4, 1fr); }
.biz { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.biz h3 { font-family: var(--display); font-stretch: 96%; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
.biz p { color: var(--muted); font-size: 15px; }
.biz-note { margin-top: 24px; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 960px) { .biz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .biz-grid { grid-template-columns: 1fr; } .biz { padding: 20px; } }

/* report */
.sample-flag { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--panel); font-size: var(--fs-sm); font-weight: 600; }
.sample-flag svg { width: 18px; height: 18px; flex: none; }
.report-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
@media (max-width: 960px) { .report-grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 30px); }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-title h3 { font-family: var(--display); font-stretch: 96%; font-weight: 700; font-size: 20px; letter-spacing: -.015em; }
.card-title span { font-size: var(--fs-xs); color: var(--muted); }
.score-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; margin-top: 24px; }
.ring { position: relative; width: 156px; height: 156px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: var(--panel); }
.ring .val { stroke: var(--accent); stroke-linecap: round; }
.ring .lbl { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .lbl b { font-family: var(--display); font-stretch: 85%; font-size: 54px; line-height: .9; letter-spacing: -.05em; font-weight: 750; }
.ring .lbl small { font-size: var(--fs-xs); color: var(--muted); }
.bars { list-style: none; padding: 0; display: grid; gap: 14px; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.bar-top span { color: var(--muted); }
.bar-top b { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-top b small { color: var(--muted); font-weight: 600; }
.track-bar { height: 8px; border-radius: 99px; background: var(--panel); margin-top: 6px; overflow: hidden; }
.track-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); width: var(--w); }
@media (max-width: 520px) { .score-row { grid-template-columns: 1fr; justify-items: center; } .bars { width: 100%; } }
.defs { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; font-size: var(--fs-xs); color: var(--muted); }
.defs b { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .defs { grid-template-columns: 1fr; } }

.rank { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 15px; }
.rank th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 0 8px; }
.rank th:last-child, .rank td:last-child { text-align: right; }
.rank td { padding: 12px 0; border-top: 1px solid var(--line); }
.rank td:first-child { width: 36px; font-family: var(--display); font-weight: 700; color: var(--muted); }
.rank .mini { display: inline-block; width: 70px; height: 6px; border-radius: 99px; background: var(--panel); vertical-align: middle; margin-right: 10px; overflow: hidden; }
.rank .mini i { display: block; height: 100%; background: var(--faint); width: var(--w); }
.rank td b { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.rank tr.you td { background: var(--accent-soft); }
.rank tr.you td:first-child { padding-left: 10px; border-radius: 10px 0 0 10px; }
.rank tr.you td:last-child { padding-right: 10px; border-radius: 0 10px 10px 0; }
.rank tr.you .mini i { background: var(--accent); }
.rank tr.you td:nth-child(2) { font-weight: 650; }
.right-col { display: grid; gap: 20px; align-content: start; }
.fixes { list-style: none; padding: 0; margin-top: 4px; counter-reset: f; }
.fixes li { counter-increment: f; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.fixes li:first-child { border-top: 0; }
.fixes li::before { content: counter(f); width: 28px; height: 28px; border-radius: 50%; background: var(--accent2); color: var(--on-accent2); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; }
.fixes b { display: block; font-weight: 650; font-size: 15.5px; line-height: 1.35; }
.fixes span { display: block; color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.promise { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--line-strong); }
.promise svg { width: 22px; height: 22px; margin-top: 1px; color: var(--accent2); }
.promise p { font-size: var(--fs-body); }
.promise p b { font-weight: 650; }

/* offer */
.offer { background: var(--invert-bg); color: var(--invert-ink); border-radius: 24px; padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.offer .eyebrow { color: color-mix(in srgb, var(--invert-ink) 65%, transparent); }
.offer .eyebrow .idx { color: var(--invert-ink); }
.offer .h2 { max-width: 14ch; }
.offer .lede { color: color-mix(in srgb, var(--invert-ink) 72%, transparent); }
.offer .big { font-family: var(--display); font-stretch: 78%; font-weight: 750; font-size: clamp(88px, 12vw, 160px); line-height: .82; letter-spacing: -.06em; color: var(--offer-accent); }
.offer .big small { display: block; font-size: 17px; font-stretch: 100%; letter-spacing: 0; font-weight: 600; margin-top: 14px; color: var(--invert-ink); opacity: .7; }
.terms { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.terms div { padding: 16px 18px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--invert-ink) 18%, transparent); }
.terms h3 { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; opacity: .65; margin-bottom: 6px; }
.terms p { font-size: 15px; }
.offer .btn-primary { background: var(--invert-ink); color: var(--invert-bg); margin-top: 28px; }
.offer .btn-primary:hover { background: var(--offer-accent); color: var(--invert-bg); }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .offer-num { order: -1; } }
@media (max-width: 520px) { .terms { grid-template-columns: 1fr; } }

/* about */
.about-copy p { color: var(--muted); font-size: var(--fs-lede); max-width: 60ch; }
.about-copy p + p { margin-top: 16px; }
.about-copy p b { color: var(--ink); font-weight: 600; }

/* contact */
.contact { text-align: center; }
.contact .h2 { margin-inline: auto; max-width: 16ch; }
.contact .lede { margin-inline: auto; }
.email-box { margin: 36px auto 0; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.email-box code { font-family: var(--display); font-stretch: 100%; font-weight: 600; font-size: clamp(16px, 2.2vw, 22px); letter-spacing: -.01em; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; text-align: left; }
.email-box .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.copied { min-height: 20px; margin-top: 10px; font-size: 14px; color: var(--good); font-weight: 600; }
.copied:empty { min-height: 0; margin-top: 0; }
.phone-line { margin-top: 10px; color: var(--muted); font-size: var(--fs-lede); }
.phone-line a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; }
.phone-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.include { margin: 28px auto 0; max-width: 720px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; }
.include li { padding: 14px; border-radius: 12px; border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.include li b { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .include { grid-template-columns: 1fr; } .email-box { flex-direction: column; border-radius: 20px; padding: 18px; width: 100%; } .email-box code { text-align: center; } .email-box .btn { width: 100%; } }

footer { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: var(--fs-xs); color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

footer .wrap > * { margin: 0; }
footer .wrap { align-items: center; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- legal page ---------- */
.legal-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.legal-hero h1 { font-family: var(--display); font-stretch: 88%; font-weight: 750; font-size: clamp(40px, 5vw, 64px); line-height: .98; letter-spacing: -.04em; margin-top: 20px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.legal-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; transition: border-color .2s var(--ease); }
.legal-toc a:hover { border-color: var(--ink); }
.prose { max-width: 68ch; }
.prose h3 { font-family: var(--display); font-stretch: 96%; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; margin-top: 32px; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: var(--fs-body); }
.prose p { margin-top: 10px; }
.prose ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose .placeholder { background: var(--accent-soft); color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.effective { margin-top: 16px; color: var(--muted); font-size: var(--fs-sm); }

/* scroll reveal: hidden state only after the main script has set things up */
.reveal-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* hero entrance (CSS only, ends visible) */
.js .enter { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js.entered .enter { opacity: 1; transform: none; animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .enter, .reveal-ready .reveal { opacity: 1; transform: none; }
}

main:focus { outline: none; }
