/* GetRehearsed: the website around the app (home, plans, sign-up, sign-in, account, dashboard, legal).
   Layout: a dark "stage" band where the product runs live, then white paper sections marked up like a
   rehearsal script (yellow highlighter, red-pen notes). One wide column; cards only where a thing is a thing.
   Deliberately one light theme with a dark hero, matching the app (white in every setting). */
:root {
  color-scheme: light;
  --paper: #FFFFFF; --paper-2: #F4F5F8; --paper-3: #E9EBF1;
  --ink: #11162B; --ink-2: #474D63; --ink-3: #6E7389; --rule: #E3E5EC; --rule-2: #CBCFDA;
  --stage: #0E1328; --stage-2: #161C36; --stage-3: #232A4B; --stage-ink: #F3F4F8; --stage-ink-2: #A9AECB; --stage-line: rgba(255,255,255,.1);
  --hl: #FFD23F; --hl-deep: #EDB800; --hl-soft: #FFF4C7; --hl-line: #F1DA86;
  --note: #E0483C; --good: #12805C; --good-soft: #E6F3EE; --bad: #B42318; --bad-soft: #FDEDEB; --warn: #8A5300;
  --shadow-sm: 0 1px 2px rgba(17,22,43,.06);
  --shadow: 0 1px 2px rgba(17,22,43,.05), 0 10px 30px rgba(17,22,43,.07);
  --shadow-lg: 0 2px 6px rgba(17,22,43,.08), 0 30px 70px rgba(17,22,43,.18);
  --f-display: "Bricolage Grotesque", "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-ui: "Instrument Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-note: "Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-ui); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
/* the footer sits at the bottom of short pages */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; } /* width: auto margins would otherwise shrink it to its content */
a { color: var(--ink); text-decoration-color: var(--hl-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
img, svg { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.narrow { max-width: 560px; margin: 0 auto; padding-block: 48px; padding-left: var(--gut); padding-right: var(--gut-r); }
.mid { max-width: 840px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.fine { color: var(--ink-3); font-size: 14px; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.center { text-align: center; }
mark.hl, .hl-text { background: linear-gradient(transparent 8%, var(--hl) 8%, var(--hl) 92%, transparent 92%); color: var(--ink); padding: 0 .12em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- header and footer ---------- */
.site-h { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: #FFFFFF; }
.site-h .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand .get { font-weight: 500; color: var(--ink-3); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a.link { color: var(--ink-2); text-decoration: none; padding: 8px 11px; border-radius: 9px; font-size: 15px; font-weight: 500; }
.site-nav a.link:hover { background: var(--paper-2); color: var(--ink); }
.site-f { background: var(--paper-2); border-top: 1px solid var(--rule); margin-top: 96px; padding-block: 44px 52px; color: var(--ink-3); font-size: 14px; }
.site-f .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-f .brand { font-size: 19px; color: var(--ink); }
.site-f h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.site-f nav { display: flex; flex-direction: column; gap: 6px; }
.site-f a { color: var(--ink-2); text-decoration: none; }
.site-f a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hl-deep); }
.site-f .legal-line { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; }

/* ---------- buttons, cards, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); border-radius: 11px; padding: 10px 16px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { border-color: var(--ink-3); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #FFFFFF; box-shadow: 0 1px 2px rgba(17,22,43,.25), inset 0 1px 0 rgba(255,255,255,.08); }
.btn.primary:hover { background: #232A47; border-color: #232A47; color: #FFFFFF; }
.btn.hl { background: var(--hl); border-color: var(--hl); color: var(--ink); box-shadow: 0 6px 20px rgba(255,210,63,.25); }
.btn.hl:hover { background: #FFDC63; border-color: #FFDC63; color: var(--ink); }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.28); color: var(--stage-ink); }
.btn.ghost-light:hover { border-color: rgba(255,255,255,.6); color: #FFFFFF; }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 13px; }
.btn.small { padding: 7px 12px; font-size: 14px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn.danger { color: var(--bad); border-color: #E7B4AE; }
.btn.danger:hover { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.btn.ghost { border-color: transparent; background: none; }
.btn.ghost:hover { background: var(--paper-2); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; color: var(--ink); border: 1px solid var(--rule-2); border-radius: 11px; padding: 12px 13px; background: var(--paper); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,210,63,.45); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.msg { border-radius: 11px; padding: 11px 13px; font-size: 14.5px; }
.msg.ok { background: var(--good-soft); border: 1px solid #B9DCCD; color: var(--ink); }
.msg.bad { background: var(--bad-soft); border: 1px solid #F2C3BD; color: var(--bad); }
.msg.warn { background: var(--hl-soft); border: 1px solid var(--hl-line); color: var(--ink); }

/* ---------- home: the stage ---------- */
.stage { background: var(--stage); color: var(--stage-ink); position: relative; overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; z-index: -1; inset: -30% auto auto 52%; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(255,210,63,.16), rgba(255,210,63,0) 70%); transform: translateX(-30%); pointer-events: none; }
.stage::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(var(--stage-line) 1px, transparent 1px); background-size: 100% 44px; opacity: .35; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.hero { padding-block: 72px 84px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--stage-ink-2); border: 1px solid var(--stage-line); background: rgba(255,255,255,.04); border-radius: 999px; padding: 6px 14px 6px 10px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #FF5A4E; box-shadow: 0 0 0 4px rgba(255,90,78,.18); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(42px, 5.9vw, 70px); font-weight: 800; letter-spacing: -0.045em; line-height: .98; margin: 22px 0 0; color: #FFFFFF; }
.hero h1 .hl-text { color: var(--hl); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C70 6 160 5 296 9' stroke='%23FFD23F' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 100% / 100% .2em; padding: 0 0 .1em; border-radius: 0; }
.hero .lede { font-size: 19px; line-height: 1.55; color: var(--stage-ink-2); margin: 22px 0 30px; max-width: 31em; }
.hero .lede b { color: var(--stage-ink); font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { list-style: none; padding: 0; margin: 30px 0 0; display: flex; gap: 10px 28px; flex-wrap: wrap; color: var(--stage-ink-2); font-size: 14.5px; }
.proof b { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: #FFFFFF; line-height: 1.1; }

/* the live console in the hero */
.live { position: relative; }
.console { background: #FFFFFF; color: var(--ink); border-radius: 20px; box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
.c-top { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--rule); background: var(--paper-2); font-size: 13.5px; }
.c-top .rec { width: 9px; height: 9px; border-radius: 50%; background: var(--note); flex: none; }
.c-top .rec.on { animation: rec 1.2s ease-in-out infinite; }
.c-firm { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-fmt { color: var(--ink-3); white-space: nowrap; }
.c-time { margin-left: auto; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); background: #FFFFFF; border: 1px solid var(--rule); border-radius: 7px; padding: 2px 8px; }
.c-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; position: relative; }
.c-who { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.c-q p { font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-top: 6px; min-height: 2.5em; }
.c-a { border-left: 3px solid var(--rule); padding-left: 12px; }
.c-a p { font-size: 15px; color: var(--ink-2); margin-top: 6px; min-height: 4.6em; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); vertical-align: -0.15em; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--good); transition: height .12s; }
.c-mark { border-top: 1px dashed var(--rule-2); padding-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: center; opacity: .18; transition: opacity .35s; }
.c-mark.on { opacity: 1; }
.c-score { display: flex; align-items: baseline; gap: 6px; }
.c-score b { font-family: var(--f-display); font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.c-score span { color: var(--ink-3); font-size: 15px; }
.c-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ticks { display: flex; gap: 4px; align-items: center; }
.ticks i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--rule-2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.ticks i.on { background: var(--ink); border-color: var(--ink); }
.ticks i.on::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: rotate(-45deg) translate(1px, -1px); }
.verdict { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; background: var(--paper-2); color: var(--ink-2); }
.verdict.strong { background: var(--good-soft); color: var(--good); }
.verdict.solid { background: #E8EBF7; color: #2C3A8C; }
.verdict.weak { background: var(--bad-soft); color: var(--bad); }
.c-bars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.c-bars div { font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.c-bars span { display: block; height: 6px; border-radius: 99px; background: var(--paper-3); margin-top: 5px; overflow: hidden; }
.c-bars span::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--ink); border-radius: 99px; transition: width .7s cubic-bezier(.2,.7,.2,1); }
.c-top-marks { grid-column: 1 / -1; background: var(--hl-soft); border: 1px solid var(--hl-line); border-radius: 12px; padding: 11px 13px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.c-top-marks.on { opacity: 1; transform: none; }
.c-top-marks p { font-size: 14.5px; margin-top: 5px; color: var(--ink); }
.c-top-marks mark { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 0 / 0% 100%; color: var(--ink); border-radius: 3px; padding: 0 2px; transition: background-size .6s ease; }
.c-top-marks.on mark { background-size: 100% 100%; }
.pen { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-note); font-size: 26px; font-weight: 700; line-height: 1; color: var(--note); transform: rotate(-3deg) scale(.7); transform-origin: left center; opacity: 0; transition: opacity .3s, transform .45s cubic-bezier(.2,1.4,.4,1); white-space: nowrap; pointer-events: none; min-height: 30px; }
.pen.on { opacity: 1; transform: rotate(-3deg) scale(1); }
.pen svg { width: 40px; height: 22px; flex: none; overflow: visible; }
.pen path { fill: none; stroke: var(--note); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset .6s .15s ease; }
.pen.on path { stroke-dashoffset: 0; }
.take { position: absolute; left: 18px; top: -13px; z-index: 3; background: var(--hl); color: var(--ink); font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 3px 9px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.scenes { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.scenes button { width: 34px; height: 5px; border-radius: 99px; border: 0; background: rgba(255,255,255,.2); cursor: pointer; padding: 0; }
.scenes button[aria-pressed="true"] { background: var(--hl); }

/* ---------- employers strip ---------- */
.firms { border-bottom: 1px solid var(--rule); padding-block: 26px 22px; overflow: hidden; }
.firms .label { text-align: center; font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.marquee { display: flex; width: max-content; gap: 44px; animation: slide 60s linear infinite; }
.firms:hover .marquee { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: #9AA0B4; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
.fade-x { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* ---------- sections ---------- */
.section { padding-block: 92px 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.04em; margin-top: 10px; }
.sec-head p { font-size: 18px; color: var(--ink-2); margin-top: 14px; }
.sec-head p.eyebrow { font-size: 12.5px; color: var(--ink-3); margin-top: 0; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; counter-reset: s; }
.step { background: var(--paper-2); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: .08em; }
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.mini { background: #FFFFFF; border: 1px solid var(--rule); border-radius: 14px; padding: 14px; margin-top: auto; box-shadow: var(--shadow-sm); min-height: 116px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.mini .search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--rule-2); border-radius: 10px; padding: 8px 10px; font-weight: 600; font-size: 14.5px; }
.mini .search svg { width: 16px; height: 16px; color: var(--ink-3); }
.mini .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mini .chip { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; background: var(--paper-2); color: var(--ink-2); }
.mini .chip.on { background: var(--ink); color: #FFFFFF; }
.mini .rec-row { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }
.mini .rec-row .rec { width: 10px; height: 10px; border-radius: 50%; background: var(--note); animation: rec 1.2s infinite; }
.bigwave { display: flex; gap: 3px; align-items: center; height: 34px; }
.bigwave i { flex: 1; border-radius: 3px; background: var(--ink); opacity: .85; }
.mini .scorelet { display: flex; align-items: center; gap: 12px; }
.mini .scorelet b { font-family: var(--f-display); font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.mini .note { font-family: var(--f-note); font-size: 22px; font-weight: 700; color: var(--note); line-height: 1; }

/* marked like an assessor */
.assess { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin-top: 8px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.points .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--hl); display: grid; place-items: center; }
.points .ico svg { width: 17px; height: 17px; color: var(--ink); }
.points b { display: block; font-size: 16.5px; }
.points span { color: var(--ink-2); font-size: 15.5px; }
.script { position: relative; background: #FFFFFF; border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 26px 26px 24px; }
.script .q { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.script .take-row { display: flex; gap: 10px; align-items: center; margin: 14px 0 10px; }
.script .take-row .t { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.script .take-row .sc { margin-left: auto; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.script .take-row .sc.up { color: var(--good); }
.script .ans { font-size: 16px; line-height: 1.75; color: var(--ink); }
.script .ans s { color: var(--ink-3); text-decoration-color: var(--note); text-decoration-thickness: 2px; }
.script .ans .add { background: linear-gradient(transparent 12%, var(--hl) 12%, var(--hl) 88%, transparent 88%); border-radius: 3px; padding: 0 2px; }
.script hr { border: 0; border-top: 1px dashed var(--rule-2); margin: 18px 0; }
.margin-note { position: absolute; font-family: var(--f-note); font-weight: 700; font-size: 24px; color: var(--note); line-height: 1.05; transform: rotate(-4deg); max-width: 190px; }
.margin-note.n1 { right: -36px; top: -30px; }
.margin-note.n2 { right: 18px; bottom: -40px; transform: rotate(3deg); }

/* feature grid */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.feat { border: 1px solid var(--rule); border-radius: 20px; padding: 24px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; background: #FFFFFF; }
.feat h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.feat p { color: var(--ink-2); font-size: 15.5px; }
.feat .vis { margin-top: 8px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--paper-2); border-radius: 14px; padding: 16px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale span { height: 34px; border-radius: 8px; background: #FFFFFF; border: 1px solid var(--rule); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.scale span.on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.scale-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.scale-q { font-size: 14.5px; margin-top: 12px; color: var(--ink); }
.scale-q i { color: var(--ink-3); font-style: normal; }
.stories { display: grid; gap: 7px; }
.stories .st { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; background: #FFFFFF; border: 1px solid var(--rule); border-radius: 11px; padding: 9px 12px; }
.stories .st b { font-size: 14px; letter-spacing: -0.01em; }
.stories .st small { grid-column: 1; font-size: 12px; color: var(--ink-3); }
.stories .st .ok { grid-row: 1 / span 2; grid-column: 2; font-size: 12px; font-weight: 600; color: var(--good); background: var(--good-soft); border-radius: 999px; padding: 2px 9px; }
.stories .st.gap { border-color: var(--hl-line); box-shadow: 0 0 0 3px var(--hl-soft); }
.stories .st .line { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); margin-top: 5px; padding-top: 6px; border-top: 1px dashed var(--rule-2); }
.stories .blank { display: inline-block; min-width: 3.2em; border-bottom: 2px dashed var(--note); background: var(--hl-soft); text-align: center; color: var(--note); font-weight: 700; line-height: 1.2; }
.stories .st .todo { grid-row: 1 / span 2; grid-column: 2; font-family: var(--f-note); font-size: 20px; font-weight: 700; color: var(--note); transform: rotate(-3deg); line-height: 1; white-space: nowrap; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.days div { border-radius: 8px; background: #FFFFFF; border: 1px solid var(--rule); padding: 6px 4px; text-align: center; font-size: 11px; color: var(--ink-3); }
.days div b { display: block; font-size: 15px; color: var(--ink); font-family: var(--f-display); }
.days div.today { background: var(--ink); border-color: var(--ink); color: var(--stage-ink-2); }
.days div.today b { color: #FFFFFF; }
.days div.day0 { background: var(--hl); border-color: var(--hl); color: var(--ink); }
.wc { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.wc .wq { font-weight: 600; color: var(--ink); font-size: 13.5px; }
.wc .wa { background: #FFFFFF; border: 1px solid var(--rule); border-radius: 11px; padding: 10px 12px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.wc .wa del { color: var(--ink-3); text-decoration-color: var(--note); text-decoration-thickness: 2px; }
.wc .wa ins { text-decoration: none; background: linear-gradient(transparent 10%, var(--hl) 10%, var(--hl) 90%, transparent 90%); border-radius: 3px; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wc .bar { height: 8px; border-radius: 99px; background: #FFFFFF; border: 1px solid var(--rule); overflow: hidden; }
.wc .bar span { display: block; height: 100%; width: 95%; background: var(--good); }
.wc .row2 { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); }
.wc .row2 b { color: var(--ink); }
.wc .row2 .up { color: var(--good); font-weight: 700; }

/* comparison */
.cmp-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--rule); border-radius: 20px; background: #FFFFFF; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.cmp th, .cmp td { padding: 15px 16px; border-bottom: 1px solid var(--rule); text-align: center; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-size: 14px; font-weight: 600; color: var(--ink-2); vertical-align: bottom; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink); font-weight: 500; }
.cmp .us { background: var(--hl-soft); }
.cmp th.us { color: var(--ink); font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; border-top: 3px solid var(--hl); }
.cmp .y { color: var(--good); font-weight: 700; }
.cmp .n { color: #B8BCCB; }
.cmp .p { color: var(--warn); font-size: 13.5px; }
.cmp-hint { display: none; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; border-radius: 22px; padding: 26px 24px 24px; text-align: left; }
.plan h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.plan .price b { font-family: var(--f-display); font-size: 44px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 22px; flex: 1; display: grid; gap: 9px; align-content: start; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 5px; background: var(--paper-2); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 7px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.plan.best { background: var(--stage); color: var(--stage-ink); border-color: var(--stage); box-shadow: var(--shadow-lg); }
.plan.best h3, .plan.best .price b { color: #FFFFFF; }
.plan.best .fine { color: var(--stage-ink-2); }
.plan.best li::before { background: var(--hl); }
.plan.best .btn.primary { background: var(--hl); border-color: var(--hl); color: var(--ink); }
.plan.best .btn.primary:hover { background: #FFDC63; }
.plan .flag { position: absolute; top: -13px; left: 22px; background: var(--hl); color: var(--ink); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 12px; box-shadow: 0 6px 16px rgba(17,22,43,.18); }
.free-line { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.guarantee { display: flex; gap: 12px 30px; flex-wrap: wrap; justify-content: center; margin-top: 22px; color: var(--ink-2); font-size: 14.5px; }
.guarantee span::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 6px; }

/* plan comparison (pricing page) */
.pcmp-wrap { margin-top: 56px; overflow-x: auto; }
table.pcmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.pcmp th, .pcmp td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: center; }
.pcmp th:first-child, .pcmp td:first-child { text-align: left; }
.pcmp thead th { font-family: var(--f-display); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.pcmp .grp td { background: var(--paper-2); font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.pcmp .pro { background: var(--hl-soft); }

/* faq */
.faq { margin-top: 34px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px; background: #FFFFFF; transition: border-color .15s; }
.faq details[open] { border-color: var(--rule-2); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--ink-3); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* closing band */
.closer { margin-top: 96px; }
.closer .band { background: var(--stage); color: var(--stage-ink); border-radius: 26px; padding: 56px 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.closer .band::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -200px; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(104,124,255,.32), rgba(104,124,255,0)); }
.closer h2 { color: #FFFFFF; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; }
.closer p { color: var(--stage-ink-2); margin-top: 10px; font-size: 17px; }

/* ---------- inner pages ---------- */
.page-top { padding-block: 64px 0; }
.page-top h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.045em; }
.page-top p.lede { font-size: 19px; color: var(--ink-2); margin-top: 14px; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 0; max-width: 1060px; margin: 44px auto 0; border: 1px solid var(--rule); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: #FFFFFF; }
.auth .form-side { padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.auth .form-side h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.auth .side { background: var(--stage); color: var(--stage-ink); padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; isolation: isolate; }
.auth .side::before { content: ""; position: absolute; z-index: -1; left: 30%; top: -30%; width: 560px; height: 560px; background: radial-gradient(closest-side, rgba(255,210,63,.18), rgba(255,210,63,0)); }
.auth .side h2 { color: #FFFFFF; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.auth .side ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: k; }
.auth .side li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--stage-ink-2); font-size: 15px; counter-increment: k; }
.auth .side li::before { content: counter(k); width: 28px; height: 28px; border-radius: 50%; background: var(--hl); color: var(--ink); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.auth .side li b { color: #FFFFFF; display: block; font-weight: 600; }
.auth .side .sample { margin-top: auto; background: #FFFFFF; color: var(--ink); border-radius: 16px; padding: 16px 18px 18px; display: grid; gap: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.35); transform: rotate(-1deg); }
.sample-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sample-row .big { font-family: var(--f-display); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.sample-row .of { color: var(--ink-3); font-size: 14px; margin-left: -4px; }
.sample-note { font-family: var(--f-note); font-size: 23px; font-weight: 700; line-height: 1; color: var(--note); transform: rotate(-2deg); transform-origin: left center; }
.sample .ready { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.sample .ready b { color: var(--ink); }
.sample .ready-bar { height: 8px; border-radius: 99px; background: var(--paper-3); overflow: hidden; }
.sample .ready-bar span { display: block; width: 64%; height: 100%; background: var(--ink); border-radius: 99px; }
.auth-solo { max-width: 460px; margin: 56px auto 0; }

/* ---------- account ---------- */
.acct-grid { display: grid; gap: 18px; margin-top: 28px; }
.acct-grid .card h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; font-size: 15.5px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.keepbox { border: 1px solid var(--hl-line); background: var(--hl-soft); border-radius: 14px; padding: 16px; }
.confirm-box { border: 1px solid #F2C3BD; background: var(--bad-soft); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.meter { height: 8px; background: var(--paper-3); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.meter span { display: block; height: 100%; background: var(--ink); }

/* ---------- dashboard ---------- */
.dash { padding-top: 32px; padding-bottom: 32px; }
.dash h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.tile { padding: 18px; }
.tile .k { font-size: 13px; color: var(--ink-3); }
.tile .v { font-family: var(--f-display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.tile .s { font-size: 13px; color: var(--ink-3); }
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.t th, table.t td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
table.t th { color: var(--ink-3); font-weight: 600; font-size: 13px; }
table.t td.n, table.t th.n { text-align: right; font-variant-numeric: tabular-nums; }
.fun { display: grid; gap: 8px; margin-top: 12px; }
.fun .r { display: grid; grid-template-columns: 170px minmax(0, 1fr) 110px; gap: 12px; align-items: center; font-size: 14.5px; }
.fun .bar { height: 22px; background: var(--paper-2); border-radius: 6px; position: relative; overflow: hidden; }
.fun .bar span { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 6px; }
.fun .r:last-child .bar span { background: var(--hl-deep); }
.fun .pc { color: var(--ink-3); font-size: 13px; text-align: right; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 11px; overflow: hidden; }
.seg button { border: 0; background: none; padding: 8px 13px; font: inherit; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

/* ---------- legal ---------- */
.legal { padding-top: 48px; padding-bottom: 40px; }
.legal h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 8px; }
.draft { background: var(--hl-soft); border: 1px solid var(--hl-line); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee { animation: none; }
}
@media (max-width: 960px) {
  .hero .wrap, .assess { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-block: 48px 64px; }
  .margin-note.n1 { right: 8px; top: -26px; }
  .margin-note.n2 { right: 10px; bottom: -34px; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth .side { order: 2; }
}
@media (max-width: 860px) {
  .steps, .feats, .plans, .split, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .plan.best { order: -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fun .r { grid-template-columns: 120px minmax(0, 1fr) 80px; }
  .site-nav a.link.hide-s { display: none; }
  .site-f .cols { grid-template-columns: 1fr 1fr; }
  .site-f .cols > :first-child { grid-column: 1 / -1; }
  .closer .band { grid-template-columns: minmax(0, 1fr); padding: 40px 26px; }
  .section { padding-block: 72px 0; }
  table.cmp { min-width: 640px; font-size: 14px; }
  .cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; z-index: 1; background: #FFFFFF; min-width: 150px; max-width: 170px; box-shadow: 1px 0 0 var(--rule); }
  .cmp-hint { display: block; text-align: right; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
}
@media (max-width: 520px) {
  .site-h .wrap { height: 60px; gap: 8px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .site-nav a.link { padding: 8px 7px; font-size: 14px; }
  .site-nav .btn.small { padding: 7px 10px; }
  .console { min-height: 0; }
  .c-q p { font-size: 18px; }
  .c-fmt { display: none; }
  .c-bars { grid-template-columns: repeat(3, 1fr); }
  .c-bars div:nth-child(n+4) { display: none; }
  .pen { font-size: 21px; white-space: normal; align-items: flex-start; }
  .pen svg { width: 28px; margin-top: 2px; }
  .pen span { min-width: 0; }
  .cta-row .btn { flex: 1 1 100%; }
  .proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 13px; line-height: 1.35; }
  .proof b { font-size: 22px; }
  .stories .st .todo { font-size: 18px; }
  /* all three plans side by side on a phone, no sideways scrolling */
  table.pcmp { min-width: 0; table-layout: fixed; font-size: 13px; line-height: 1.35; }
  .pcmp th, .pcmp td { padding: 10px 5px; }
  .pcmp th:first-child, .pcmp td:first-child { width: 34%; padding-left: 8px; }
  .pcmp thead th { font-size: 15px; }
  .auth .form-side, .auth .side { padding: 28px 22px; }
  .fun .r { grid-template-columns: 92px minmax(0, 1fr) 70px; gap: 8px; font-size: 13.5px; }
  .fun .pc { font-size: 12px; }
  table.t { font-size: 13.5px; }
  table.t th, table.t td { padding: 8px 6px; }
  .margin-note { font-size: 21px; }
}
