/* Somewhat Vibed. One file. Strict CSP: JS only writes custom properties, classes and data attributes. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root, [data-theme="dark"] {
  --bg: #0B0B0C; --raised: #161617; --hairline: #2A2A2D;
  --text: #F5F5F7; --text-2: #A1A1A6; --text-3: #86868B; --link: #6F8CFF;
}
[data-theme="light"] {
  --bg: #FFFFFF; --raised: #F5F5F7; --hairline: #D2D2D7;
  --text: #1D1D1F; --text-2: #6E6E73; --text-3: #6E6E73; --link: #2B59FF;
  color-scheme: light;
}
.alt { --bg: #F5F5F7; --raised: #FFFFFF; }
:root {
  --accent: #2B59FF; --accent-hover: #2350F0; --accent-active: #1D46D6;
  --crit: #FF5A4E; --high: #FF9F0A; --med: #FFD60A; --low: #64D2FF; --ok: #3DDC97;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0, 0, .5, 1); --ease-ui: cubic-bezier(.4, 0, .6, 1);
  --side: clamp(16px, 5vw, 96px);
  --h1: clamp(36px, 5.6vw + 16px, 96px);
  --h2: clamp(32px, 3.2vw + 10px, 56px);
  --sub: 21px;
  color-scheme: dark;
  scrollbar-color: var(--text-3) var(--bg);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 48px; background: #0B0B0C; }
body {
  margin: 0; background: #0B0B0C; color: var(--text);
  font: 400 17px/1.5 var(--sans); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
a { color: var(--link); text-underline-offset: 3px; }
code { font: 13px/1.5 var(--mono); letter-spacing: 0; }
::selection { background: rgb(43 89 255 / .35); }
input, textarea, select { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px; border-radius: 980px; border: 1px solid transparent;
  font: 500 17px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms var(--ease-ui), border-color 200ms var(--ease-ui), color 200ms var(--ease-ui);
}
.btn-hero { height: 52px; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); }
.btn-primary:disabled { background: var(--text-3); cursor: wait; }
.btn-outline { background: transparent; color: var(--link); border-color: var(--link); }
.btn-outline:hover { background: rgb(43 89 255 / .1); }
.btn-outline:active { background: rgb(43 89 255 / .18); }
.more { display: inline-flex; align-items: center; gap: 6px; font: 500 17px/1 var(--sans); color: var(--link); text-decoration: none; }
.more:hover { text-decoration: underline; }
.chev { width: 8px; height: 8px; flex: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 48px;
  background: rgb(11 11 12 / .72); color: #F5F5F7;
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  --link: #6F8CFF; --text-2: #A1A1A6;
  transition: background-color 200ms var(--ease-ui), color 200ms var(--ease-ui);
}
html[data-nav="light"] .nav { background: rgb(255 255 255 / .72); color: #1D1D1F; --link: #2B59FF; --text-2: #6E6E73; box-shadow: 0 1px 0 rgb(0 0 0 / .06); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: #0B0B0C; }
  html[data-nav="light"] .nav { background: #FFFFFF; }
}
.nav-in { height: 100%; max-width: calc(1068px + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: -.02em; }
.logo-mark { width: 22px; height: 22px; flex: none; }
.logo-suffix { color: var(--text-2); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: inherit; text-decoration: none; font: 400 14px/1 var(--sans); opacity: .8; transition: opacity 200ms var(--ease-ui); }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 980px; background: var(--accent); color: #FFFFFF; font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color 200ms var(--ease-ui); }
.nav-cta:hover { background: var(--accent-hover); }

/* ---------- hero: a code-drawn silk ribbon behind the whole hero; the headline sits in front of it ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: #0B0B0C; overflow: hidden; }
.wave { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; animation: fade-in 1.6s var(--ease-out) backwards; }
/* fade into the next section, so the hero has no bottom edge */
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: -1; background: linear-gradient(rgb(11 11 12 / 0), #0B0B0C); pointer-events: none; }
.hero .pause {
  position: absolute; z-index: 3; right: var(--side); bottom: 24px;
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 980px; border: 0;
  background: rgb(22 22 23 / .8); color: var(--text-2); font: 500 13px/1 var(--sans); letter-spacing: 0; cursor: pointer;
  transition: color 200ms var(--ease-ui);
}
.hero .pause:hover { color: var(--text); }
html:not(.js) .pause { display: none; }
.hero-copy { position: relative; z-index: 2; text-align: center; width: 100%; max-width: calc(980px + 2 * var(--side)); margin: 0 auto; padding: 112px var(--side) 72px; }
/* gentle darkening behind the copy block: no visible shape, fully transparent at its edges */
.hero-copy::before { content: ""; position: absolute; inset: 0 -10%; z-index: -1; background: radial-gradient(closest-side, rgb(11 11 12 / .55), rgb(11 11 12 / .3) 55%, rgb(11 11 12 / 0)); pointer-events: none; }
.hero-copy h1 { font-size: var(--h1); line-height: 1.05; letter-spacing: -.015em; color: #FFFFFF; text-shadow: 0 2px 24px rgb(0 0 0 / .55), 0 0 64px rgb(0 0 0 / .45); }
.hero-copy h1 span { display: block; }
.sub { max-width: 680px; margin: 12px auto 0; font-size: var(--sub); line-height: 1.38; letter-spacing: .005em; color: #C7C7CC; text-wrap: balance; }
.ctas { display: flex; align-items: center; justify-content: center; gap: 16px 28px; flex-wrap: wrap; margin-top: 32px; }
.fine { margin: 24px auto 0; max-width: 640px; text-wrap: balance; font-size: 14px; line-height: 1.4; letter-spacing: 0; color: #C7C7CC; }
.hero-copy .l1, .hero-copy .l2, .sub, .ctas, .fine { animation: fade-in 900ms var(--ease-out) backwards, lift 700ms var(--ease-out) backwards; }
.hero-copy .l2 { animation-delay: 120ms; }
.sub { animation-delay: 240ms; }
.ctas { animation-delay: 360ms; }
.fine { animation-delay: 480ms; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes lift { from { translate: 0 24px; } }

/* ---------- demo: the visitor picks a plan; registered properties let the draft interpolate between states ---------- */
@property --f { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --s { syntax: "<number>"; inherits: true; initial-value: 0; }
.stage {
  --a: 1; --f: 0; --s: 0; --sp: var(--s); --ratio: 1.6;
  transition: --f 900ms var(--ease-out), --s 900ms var(--ease-out);
}
.stage[data-state="lockdown"] { --f: 1; }
.stage[data-state="polish"] { --f: 1; --s: 1; }
.tabs { display: inline-flex; gap: 4px; margin-top: 40px; padding: 4px; border-radius: 980px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.tab {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border: 0; border-radius: 980px;
  background: transparent; color: var(--text-2); font: 500 15px/1 var(--sans); letter-spacing: -.01em; cursor: pointer;
  transition: background-color 200ms var(--ease-ui), color 200ms var(--ease-ui);
}
.tab span { color: var(--text-3); font-variant-numeric: tabular-nums; transition: color 200ms var(--ease-ui); }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: #F5F5F7; color: #1D1D1F; }
.tab[aria-selected="true"] span { color: #6E6E73; }
html:not(.js) .tabs { display: none; }
.tab-caps { display: grid; margin-top: 20px; }
.tab-cap { grid-area: 1 / 1; color: var(--text-2); max-width: 68ch; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease-ui), visibility 0s 360ms; }
.stage[data-state="check"] .tc-check, .stage[data-state="lockdown"] .tc-lockdown, .stage[data-state="polish"] .tc-polish { opacity: 1; visibility: visible; transition: opacity 360ms var(--ease-ui), visibility 0s; }
.demo-cta { margin-top: 48px; }
html:not(.js) .fixed, html:not(.js) .sx, html:not(.js) .i6 { display: none; }

/* ---------- the fictional draft. Everything inside is in cqi so it scales like an image. ---------- */
.frame {
  container-type: inline-size; position: relative; aspect-ratio: var(--ratio); overflow: hidden;
  border-radius: 20px; background: #0B0B0C; border: 1px solid #2A2A2D; margin-top: 24px;
  font-family: var(--sans); letter-spacing: 0; color: #FFFFFF;
  -webkit-user-select: none; user-select: none;
}
.chrome { position: absolute; inset: 0 0 auto; height: 3.6cqi; display: flex; align-items: center; justify-content: center; background: #1C1C1E; border-bottom: 1px solid #2A2A2D; }
.addr { position: relative; display: inline-flex; align-items: center; height: 2.3cqi; padding: 0 3cqi; border-radius: 980px; background: #2A2A2D; color: #A1A1A6; font: 400 1.15cqi/1 var(--sans); }
.site { position: absolute; inset: 3.6cqi 0 0; padding: 0 6cqi; display: flex; flex-direction: column; background: linear-gradient(135deg, #7C3AED, #DB2777); }
.d-nav { display: flex; align-items: center; gap: 1.4cqi; height: 6.4cqi; font: 500 1.3cqi/1 var(--sans); }
.d-logo { width: 2.2cqi; height: 2.2cqi; }
.blob { display: block; width: 100%; height: 100%; border-radius: 40% 60% 55% 45%; background: linear-gradient(135deg, #F0ABFC, #22D3EE); }
.d-name { font-weight: 700; font-size: 1.6cqi; letter-spacing: -.02em; }
.d-links { display: flex; gap: 2.6cqi; margin-left: auto; color: rgb(255 255 255 / .85); }
.d-links > span { position: relative; }
.d-btn { margin-left: 1.6cqi; padding: .9cqi 1.6cqi; border-radius: 980px; background: #FFFFFF; color: #6D28D9; font-weight: 600; }
.d-hero { display: flex; flex-direction: column; align-items: center; text-align: center; margin-block: auto; padding-top: 2cqi; }
.d-h { font-size: 4.4cqi; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; max-width: 80cqi; text-wrap: balance; }
.d-sub { margin-top: 1.4cqi; font-size: 1.6cqi; line-height: 1.4; color: #A78BFA; max-width: 60cqi; }
.d-ask, .d-email, .d-join { position: relative; display: inline-flex; align-items: center; height: 4cqi; font-size: 1.35cqi; }
.d-ask { margin-top: 2.6cqi; width: 46cqi; padding: 0 1.6cqi; border-radius: 1.2cqi; background: #FFFFFF; color: #7C3AED; }
.d-wait { display: flex; gap: 1cqi; margin-top: 1.4cqi; align-items: flex-start; }
.d-email { width: 26cqi; padding: 0 1.4cqi; border-radius: .9cqi; background: #FFFFFF; color: #86868B; }
.d-join { padding: 0 2cqi; border-radius: .9cqi; font-weight: 600; color: #FFFFFF; background: #F472B6; translate: 0 .6cqi; } /* the draft's button sits off its baseline on purpose */
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqi; margin: 4cqi 0 5cqi; }
.d-card { position: relative; display: flex; flex-direction: column; gap: .8cqi; padding: 2.4cqi 2cqi 3cqi; border-radius: 2.4cqi; background: #FFFFFF; box-shadow: 0 1.4cqi 3.6cqi rgb(91 33 182 / .55); }
.d-dot { width: 3cqi; height: 3cqi; border-radius: 50%; background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.d-ct { font-size: 1.6cqi; font-weight: 700; line-height: 1.2; color: #3B0764; }
.d-cb { font-size: 1.2cqi; line-height: 1.4; color: #A78BFA; }

/* ---------- the polished yourapp: its own branded layer, faded in over the draft in the Polish tab ---------- */
.after {
  position: absolute; inset: 3.6cqi 0 0; display: flex; flex-direction: column; overflow: hidden;
  background: #F6F4EF; color: #1A1A19; font-weight: 450; letter-spacing: -.01em; opacity: var(--sp);
}
.a-nav { display: flex; align-items: center; gap: 3cqi; height: 5cqi; flex: none; padding: 0 4cqi; border-bottom: 1px solid #E3E0D8; font-size: 1.15cqi; }
.a-logo { display: inline-flex; align-items: center; gap: .8cqi; font-size: 1.45cqi; font-weight: 600; letter-spacing: -.02em; }
.a-logo svg { width: 2cqi; height: 2cqi; }
.a-links { display: flex; gap: 2.4cqi; margin-left: auto; color: #6B6A66; }
.a-cta { padding: .7cqi 1.4cqi; border-radius: 980px; background: #1A1A19; color: #FFFFFF; font-weight: 600; }
.a-hero { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 5cqi; align-items: center; padding: 0 5cqi 0 6cqi; }
.a-h { font-size: 5.4cqi; line-height: 1.02; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.a-sub { margin-top: 1.8cqi; font-size: 1.5cqi; line-height: 1.45; color: #6B6A66; max-width: 38cqi; }
.a-form { display: flex; gap: .8cqi; margin-top: 2.8cqi; }
.a-email { flex: 1; display: flex; align-items: center; height: 3.6cqi; padding: 0 1.2cqi; border: 1px solid #E3E0D8; border-radius: 1cqi; background: #FFFFFF; color: #9A9892; font-size: 1.25cqi; }
.a-join { display: flex; align-items: center; padding: 0 1.6cqi; border-radius: 1cqi; background: #1F6F4A; color: #FFFFFF; font-size: 1.25cqi; font-weight: 600; }
.a-note { margin-top: 1.2cqi; font-size: 1.1cqi; color: #6B6A66; }
.a-shot { margin-right: -1.5cqi; padding: 2.2cqi; border-radius: 1.6cqi; background: #FFFFFF; box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 2.4cqi 6cqi -2cqi rgb(26 26 25 / .18); }
.a-card-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.35cqi; font-weight: 600; }
.a-card-h span + span { font-size: 1.1cqi; font-weight: 450; color: #6B6A66; }
.a-input { display: flex; align-items: center; justify-content: space-between; height: 3.6cqi; margin-top: 1.6cqi; padding: 0 .7cqi 0 1.2cqi; border: 1px solid #E3E0D8; border-radius: 1cqi; font-size: 1.25cqi; }
.a-typed::after { content: ""; display: inline-block; width: 1px; height: 1.4cqi; margin-left: .2cqi; vertical-align: -.25cqi; background: #1F6F4A; }
.chip, .due { padding: .45cqi .9cqi; border-radius: 980px; font-size: 1.05cqi; font-weight: 600; white-space: nowrap; }
.chip { background: #E6F0EA; color: #1F6F4A; }
.due { background: #F1EFE9; color: #6B6A66; }
.a-tasks { margin-top: 1cqi; }
.a-tasks li { display: flex; align-items: center; gap: 1.1cqi; padding: 1.15cqi 0; font-size: 1.25cqi; }
.a-tasks li + li { border-top: 1px solid #E3E0D8; }
.a-tasks i { flex: none; display: grid; place-items: center; width: 1.7cqi; height: 1.7cqi; border-radius: 50%; border: 1.5px solid #CFCBC1; }
.a-tasks span { flex: 1; }
.a-tasks .done i { background: #1F6F4A; border-color: #1F6F4A; }
.a-tasks .done svg { width: 75%; height: 75%; }
.a-tasks .done span { color: #6B6A66; text-decoration: line-through; }
.a-feats { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 4cqi; border-top: 1px solid #E3E0D8; font-size: 1.15cqi; color: #6B6A66; }
.a-feats p { padding: 1.6cqi 2cqi 2cqi 0; }
.a-feats p + p { padding-left: 2cqi; border-left: 1px solid #E3E0D8; }
.a-feats b { font-weight: 600; color: #1A1A19; }
/* the 4:5 phone frame: one column, the app card full width */
@container (max-width: 599px) {
  .a-nav { height: 10cqi; gap: 3cqi; padding: 0 6cqi; font-size: 3cqi; }
  .a-logo { gap: 1.6cqi; font-size: 3.6cqi; }
  .a-logo svg { width: 4.6cqi; height: 4.6cqi; }
  .a-links, .a-note, .a-feats, .a-tasks .a-opt { display: none; }
  .a-cta { margin-left: auto; padding: 1.6cqi 3cqi; }
  .a-hero { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6cqi; padding: 6cqi 6cqi 0; }
  .a-h { font-size: 8.4cqi; }
  .a-sub { margin-top: 3cqi; font-size: 3.4cqi; max-width: none; }
  .a-form { gap: 2cqi; margin-top: 4.4cqi; }
  .a-email, .a-join { height: 8.4cqi; font-size: 3cqi; border-radius: 2.2cqi; }
  .a-email { padding: 0 3cqi; }
  .a-join { padding: 0 3.4cqi; }
  .a-shot { margin-right: 0; padding: 4.4cqi; border-radius: 3.4cqi; }
  .a-card-h { font-size: 3.2cqi; }
  .a-card-h span + span { font-size: 2.6cqi; }
  .a-input { height: 8cqi; margin-top: 3.4cqi; padding: 0 1.6cqi 0 3cqi; border-radius: 2.2cqi; font-size: 3cqi; }
  .a-typed::after { height: 3.4cqi; }
  .chip, .due { padding: 1cqi 2cqi; font-size: 2.5cqi; }
  .a-tasks { margin-top: 2cqi; }
  .a-tasks li { gap: 2.4cqi; padding: 2.6cqi 0; font-size: 3cqi; }
  .a-tasks i { width: 3.8cqi; height: 3.8cqi; }
}

/* markers: children of what they flag, so they cannot drift */
.t { --fx: clamp(0, calc(var(--f) * 5 - var(--i)), 1); --ax: clamp(0, calc(var(--a) * 5 - var(--i)), 1); }
.t, .row { --done: var(--ok); }
.t.i4, .t.i5 { --done: #86868B; }
.row.i4, .row.i5 { --done: var(--text-2); }
.crit { --sev: var(--crit); } .high { --sev: var(--high); } .med { --sev: var(--med); } .low { --sev: var(--low); }
.i1 { --i: 0; } .i2 { --i: 1; } .i3 { --i: 2; } .i4 { --i: 3; } .i5 { --i: 4; }
.t::after {
  content: ""; position: absolute; inset: -.45cqi; border-radius: inherit; pointer-events: none;
  border: 2px solid color-mix(in srgb, var(--sev) calc((1 - var(--fx)) * 100%), var(--done));
  opacity: calc(var(--ax) * (1 - var(--sp)));
}
.d-links .t::after { inset: -.5cqi -.7cqi; border-radius: .6cqi; }
.d-links .m { top: -1.7cqi; right: -1.9cqi; }
.m { position: absolute; z-index: 3; top: -1.65cqi; right: -1.65cqi; width: 2.4cqi; height: 2.4cqi; opacity: calc(var(--ax) * (1 - var(--sp))); font: 700 1.25cqi/1 var(--sans); }
.addr .m { top: calc(50% - 1.2cqi); right: -3cqi; }
.mf, .mx { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; }
.mf { --mc: color-mix(in srgb, var(--sev) calc((1 - var(--fx)) * 100%), var(--done)); background: #0B0B0C; color: var(--mc); box-shadow: inset 0 0 0 2px var(--mc); }
.mx { background: var(--ok); color: #0B0B0C; opacity: var(--fx); }
.mx svg { width: 60%; height: 60%; }
.i4 .mx, .i5 .mx { display: none; }

/* ---------- findings card ---------- */
.card { margin-top: 16px; padding: 4px 24px; border-radius: 18px; background: var(--raised); }
.rows { display: grid; }
.rows > li { padding: 16px 0; }
.rows > li + li { border-top: 1px solid var(--hairline); }
.row { --fx: clamp(0, calc(var(--f) * 5 - var(--i)), 1); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; align-content: start; }
.rk { display: flex; flex-direction: column; gap: 4px; }
.el { font-weight: 500; line-height: 1.5; }
.sv, .rv { display: grid; }
.sv > *, .rv > * { grid-area: 1 / 1; }
.sf, .sx { display: inline-flex; align-items: center; gap: 6px; font: 500 14px/1.5 var(--sans); letter-spacing: 0; }
.sf { color: var(--sev); opacity: calc(1 - var(--fx) * 3.4); }
.sx { color: var(--done); opacity: calc((var(--fx) - .3) * 3.4); }
.sf svg, .sx svg, .a-res svg { width: 10px; height: 10px; flex: none; }
.found { opacity: calc(1 - var(--fx) * 3.4); }
.fixed { opacity: calc((var(--fx) - .3) * 3.4); }
.found code { color: var(--text); }
.rv p { text-wrap: balance; }
.res { margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.res .del, .res .add { font: 13px/1.5 var(--mono); letter-spacing: 0; }
.res .add { margin-left: 12px; }
.res .del { color: var(--text-3); }
.res .add { color: var(--ok); }

.row.i6 { --fx: var(--sp); --sev: var(--text-3); --done: var(--ok); }

/* ---------- sections ---------- */
.sec { background: var(--bg); color: var(--text); padding: 144px 0 120px; }
.wrap { max-width: calc(1068px + 2 * var(--side)); margin: 0 auto; padding: 0 var(--side); }
.narrow { max-width: calc(720px + 2 * var(--side)); }
.sec h2 { font-size: var(--h2); line-height: 1.07; letter-spacing: -.012em; max-width: 22ch; }
.lead { margin-top: 12px; max-width: 46ch; font-size: var(--sub); line-height: 1.38; letter-spacing: .005em; color: var(--text-2); text-wrap: balance; }
.note { margin-top: 32px; font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--text-2); }

/* checks */
.rules { margin-top: 64px; border-top: 1px solid var(--hairline); }
.rules li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.rules h3 { font-size: 21px; line-height: 1.2; letter-spacing: 0; }
.rules p { color: var(--text-2); max-width: 60ch; }
.rules code { grid-column: 2; font-size: 12px; color: var(--text-3); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 80px; margin-top: 80px; }
.plan { display: flex; flex-direction: column; }
/* negative margin = padding, so the raised card's content stays on the same column grid as its neighbours */
.p-lock { background: var(--raised); border-radius: 18px; padding: 32px; margin: -32px; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px rgb(0 0 0 / .06); }
.tag { min-height: 18px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0; color: var(--accent); margin-bottom: 8px; }
.plan h3 { font-size: 21px; line-height: 1.2; letter-spacing: 0; }
.price { margin-top: 16px; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.desc { margin-top: 12px; color: var(--text-2); }
.plan ul { margin: 24px 0 32px; display: grid; gap: 10px; }
.plan li { padding-top: 10px; border-top: 1px solid var(--hairline); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.compare { margin-top: 80px; border-top: 1px solid var(--hairline); }
.compare summary, .faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.compare summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.compare summary { padding: 20px 0; font-weight: 500; color: var(--link); justify-content: flex-start; gap: 8px; }
.down { width: 12px; height: 12px; flex: none; transition: rotate 200ms var(--ease-ui); }
details[open] > summary .down { rotate: 180deg; }
.table-scroll { overflow-x: auto; margin-top: 8px; }
.compare-note { font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--text-2); margin: 4px 0 8px; }
.compare table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.compare thead th:first-child { width: 34%; }
.th-s { display: none; }
.compare .yes { width: 14px; height: 14px; color: var(--text); vertical-align: -2px; }
.compare .no { color: var(--text-3); }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 1.4; }
.compare thead th { font-weight: 600; color: var(--text); }
.compare tbody th { font-weight: 500; }
.compare td { color: var(--text-2); }
.compare tr > :first-child { padding-left: 0; }

/* how */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.steps li { border-top: 1px solid var(--hairline); padding-top: 20px; }
.when { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 8px; text-wrap: balance; }
.steps li p:not(.when) { color: var(--text-2); }
.limits { margin-top: 96px; padding: 40px; border-radius: 18px; background: var(--raised); }
.limits h3 { font-size: 21px; line-height: 1.2; letter-spacing: 0; }
.limits ul { margin-top: 16px; display: grid; gap: 6px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }
.data-line { margin-top: 24px; color: var(--text-2); max-width: 68ch; }
@media (min-width: 1069px) {
  .limits { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 32px; }
  .limits h3 { grid-row: span 2; }
  .limits ul { margin-top: 0; }
}

/* proof */
.audit { margin-top: 48px; padding: 24px 24px 20px; border-radius: 18px; background: var(--raised); }
.a-sum { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: 0; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.a-sum:empty { display: none; }
.a-rows li { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.2fr); gap: 8px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.a-name { font-weight: 500; }
.a-res { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1.5 var(--sans); letter-spacing: 0; color: var(--text-2); }
.a-res svg { display: none; }
.a-res[data-ok="1"] { color: var(--ok); }
.a-res[data-ok="0"] { color: var(--crit); }
.a-res[data-ok="1"] .y, .a-res[data-ok="0"] .n { display: block; }
.a-rows summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 13px/1.5 var(--mono); letter-spacing: 0; color: var(--text-3); width: fit-content; }
.a-rows summary::-webkit-details-marker { display: none; }
.a-rows summary .chev { transition: rotate 200ms var(--ease-ui); }
.a-rows details[open] > summary .chev { rotate: 90deg; }
.a-rows summary:hover { color: var(--text-2); }
.a-raw { display: block; margin-top: 8px; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.a-foot { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 13px; line-height: 1.4; letter-spacing: 0; color: var(--text-3); }
.nojs { margin-top: 24px; color: var(--text-2); }
.js .nojs { display: none; }
html:not(.js) .breaker, html:not(.js) .a-foot { display: none; }
.breaker { margin-top: 32px; }
.break-out { display: none; margin-top: 16px; }
.break-out.shown { display: block; }
.break-out .a-rows li { grid-template-columns: minmax(0, 1fr) auto; }
.break-out .a-res { font-size: 17px; }
.break-out .b3 { margin-top: 16px; color: var(--text-2); max-width: 60ch; text-wrap: balance; }

/* faq */
.faq-list { margin-top: 64px; border-top: 1px solid var(--hairline); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary { padding: 24px 0; font-size: 19px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.faq-list summary .down { color: var(--text-2); }
.faq-list details p { padding: 0 0 24px; max-width: 64ch; color: var(--text-2); }

/* intake */
.form { margin-top: 48px; display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: 0; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--hairline); background: var(--bg);
  color: var(--text); font: 400 17px/1.4 var(--sans); letter-spacing: -.01em;
  transition: border-color 200ms var(--ease-ui);
}
.form textarea { padding: 14px 16px; resize: none; min-height: 120px; field-sizing: content; }
#start .form { max-width: 720px; }
#start .lead { max-width: 52ch; }

/* ad-landing infographic: an honestly labelled report preview beside (or above) the form */
.ig { margin-top: 40px; }
.ig-card { position: relative; overflow: hidden; padding: 22px 22px 0; border-radius: 18px; background: var(--bg); color: var(--text); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.ig-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ig-title { font-size: 19px; font-weight: 600; }
.ig-tag { padding: 4px 10px; border-radius: 980px; box-shadow: inset 0 0 0 1px var(--hairline); font-size: 13px; line-height: 1.4; letter-spacing: 0; color: var(--text-2); white-space: nowrap; }
.ig-url { margin-top: 2px; font: 13px/1.5 var(--mono); letter-spacing: 0; color: var(--text-3); }
.ig-bar { display: flex; gap: 3px; height: 10px; margin-top: 20px; border-radius: 980px; overflow: hidden; transform-origin: left; }
.ig-bar i { flex: 1; background: var(--sev); }
.ig-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; line-height: 1.4; letter-spacing: 0; color: var(--text-2); }
.ig-legend li, .ig-sev { display: inline-flex; align-items: center; gap: 6px; }
.ig-legend svg, .ig-sev svg { width: 10px; height: 10px; flex: none; color: var(--sev); }
.ig-rows { margin-top: 16px; }
.ig-rows li { padding: 12px 0; border-top: 1px solid var(--hairline); }
.ig-sev { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--sev); }
.ig-rows p { margin-top: 2px; font-size: 15px; line-height: 1.45; }
.ig-diff { display: grid; margin-top: 8px; padding: 8px 12px; border-radius: 8px; background: var(--raised); }
.ig-diff .del { color: #FF8A80; }
.ig-diff .add { color: var(--ok); }
.ig-rows .high { --o: .6; } .ig-rows .med { --o: .38; } .ig-rows .low { --o: .2; }
.ig-rows li { opacity: var(--o, 1); }
/* the report keeps going under a fade */
.ig-card::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(rgb(11 11 12 / 0), #0B0B0C 85%); pointer-events: none; }
.ig-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.ig-steps li { position: relative; padding-top: 22px; font-size: 14px; line-height: 1.4; letter-spacing: 0; }
.ig-steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.ig-steps li:not(:last-child)::after { content: ""; position: absolute; top: 4px; left: 16px; right: -10px; height: 2px; border-radius: 1px; background: var(--hairline); }
.ig-steps b { display: block; font-weight: 600; color: var(--text); }
.ig-steps span { color: var(--text-2); }
/* reveal once when scrolled into view: the bar grows, then the rows arrive 80ms apart */
.js .ig-bar { transform: scaleX(0); transition: transform 700ms var(--ease-out); }
.js .ig-rows li { opacity: 0; transition: opacity 400ms var(--ease-out); }
.js .ig.ig-in .ig-bar { transform: none; }
.js .ig.ig-in .ig-rows li { opacity: var(--o, 1); }
.ig-rows li:nth-child(1) { transition-delay: 700ms; } .ig-rows li:nth-child(2) { transition-delay: 780ms; } .ig-rows li:nth-child(3) { transition-delay: 860ms; }
.ig-rows li:nth-child(4) { transition-delay: 940ms; } .ig-rows li:nth-child(5) { transition-delay: 1020ms; }
@media (min-width: 1069px) {
  .start-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 80px; align-items: start; }
  .start-copy, .start-grid .form { grid-column: 1; }
  .ig { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
/* stick beside the form only where the whole card and timeline fit on screen */
@media (min-width: 1069px) and (min-height: 860px) {
  .ig { position: sticky; top: 96px; }
}
@media (max-width: 1068px) {
  /* compact above the form: the two critical findings, no fading tail */
  .ig { max-width: 560px; }
  .ig-rows .faint, .ig-card::after { display: none; }
  .ig-card { padding-bottom: 10px; }
}
.form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%236E6E73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.form input::placeholder, .form textarea::placeholder { color: var(--text-2); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgb(43 89 255 / .3); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: none; }
.form input[aria-invalid="true"], .form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #D92D20; }
.form [aria-invalid="true"]:focus { border-color: #D92D20; box-shadow: 0 0 0 3px rgb(217 45 32 / .2); }
.checks-inline { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.checks-inline legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.form .chk { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 400; letter-spacing: -.01em; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; margin-top: 12px; }
.ts:empty { display: none; }
.form-note { font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--text-2); }
.form-msg { min-height: 24px; color: var(--text-2); }
.form-msg.ok { color: #1F7A4D; }
.form-msg.err { color: #C9302C; }

/* footer */
.foot { background: var(--bg); color: var(--text); padding: 64px 0 72px; border-top: 1px solid var(--hairline); }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 64px; }
.foot-copy { display: grid; gap: 4px; font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--text-2); flex: 1; min-width: 240px; }
.foot-copy .legal { font-size: 13px; color: var(--text-3); }
.foot-copy p:nth-child(3) { margin-top: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-link { font-size: 14px; text-decoration: none; }
.foot-link:hover { text-decoration: underline; }

/* privacy page */
.doc-head { padding: 22px 24px; max-width: 720px; margin: 0 auto; }
.doc { max-width: 720px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: 48px; line-height: 1.05; letter-spacing: -.015em; margin-bottom: 24px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p { color: var(--text-2); margin-bottom: 12px; }

/* ---------- tablet ---------- */
@media (max-width: 1068px) {
  .sec { padding: 112px 0 96px; }
  .plans { column-gap: 32px; }
  .p-lock { padding: 16px; margin: -16px; }
  .plan .btn { align-self: stretch; padding: 0 10px; font-size: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .rules li { grid-template-columns: 180px minmax(0, 1fr); gap: 6px 24px; }
}

/* ---------- mobile ---------- */
@media (max-width: 733px) {
  :root { --sub: 19px; }
  .nav-links { gap: 0; }
  .nav-links .wide { display: none; }
  .nav-in { gap: 16px; }
  .sec { padding: 96px 0 80px; }
  .ctas { flex-direction: column; gap: 14px; }
  .ctas .btn { width: 100%; }
  .stage { --ratio: .8; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 0 8px; gap: 6px; font-size: 14px; }

  /* draft stacks for the 4:5 frame */
  .chrome { height: 8cqi; }
  .addr { height: 5cqi; padding: 0 5cqi; font-size: 2.8cqi; }
  .addr .m { right: -6cqi; top: calc(50% - 2.6cqi); }
  .site, .after { inset: 8cqi 0 0; }
  .site { padding: 0 6cqi; }
  .d-nav { height: 12cqi; gap: 2.6cqi; font-size: 3.2cqi; }
  .d-logo { width: 5cqi; height: 5cqi; }
  .d-name { font-size: 3.8cqi; }
  .d-opt { display: none; }
  .d-btn { padding: 2cqi 3cqi; margin-left: 2cqi; }
  .d-h { font-size: 8cqi; max-width: 88cqi; }
  .d-sub { font-size: 3.6cqi; margin-top: 3cqi; max-width: 80cqi; }
  .d-ask, .d-email, .d-join { height: 9cqi; font-size: 3.4cqi; }
  .d-ask { width: 88cqi; margin-top: 5cqi; padding: 0 3.6cqi; border-radius: 2.4cqi; }
  .d-wait { width: 88cqi; gap: 2cqi; margin-top: 2.6cqi; }
  .d-email { flex: 1; width: auto; padding: 0 3cqi; border-radius: 2cqi; }
  .d-join { padding: 0 3.4cqi; border-radius: 2cqi; translate: 0 1.2cqi; }
  .d-cards { gap: 3cqi; margin: 6cqi 0 7cqi; }
  .d-card { padding: 3.4cqi; gap: 2cqi; border-radius: 4.8cqi; }
  .d-dot { width: 6cqi; height: 6cqi; }
  .d-ct { font-size: 3.4cqi; }
  .d-cb { display: none; }
  .t::after { inset: -1cqi; }
  .m { width: 5.2cqi; height: 5.2cqi; top: -3.4cqi; right: -3.4cqi; font-size: 3cqi; }
  .d-links .m { top: -3.6cqi; right: -3.6cqi; }
  .d-links .t::after { inset: -1cqi -1.2cqi; }

  .card { padding: 4px 16px; }
  .res .del, .res .add { display: block; margin-left: 0; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .rk { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; }
  .el { font-size: 15px; }
  .rv { font-size: 15px; line-height: 1.45; }
  .rules li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 0; }
  .rules code { grid-column: 1; }
  .plans { grid-template-columns: minmax(0, 1fr); row-gap: 56px; margin-top: 56px; }
  .p-lock { padding: 28px 16px; margin: -8px -16px; }
  .compare th, .compare td { padding: 12px 8px; font-size: 14px; }
  .compare thead th:first-child { width: 31%; }
  .th-l { display: none; }
  .th-s { display: inline; }
  .price { font-size: 48px; }
  .plan .btn { padding: 0 28px; font-size: 17px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .limits { padding: 28px 24px; margin-top: 64px; }
  .a-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .a-rows details { grid-column: 1 / -1; }
  .audit { padding: 20px 18px 18px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
}

@media (max-width: 400px) {
  .nav-in { gap: 12px; }
  .logo { font-size: 15px; gap: 6px; }
  .logo-mark { width: 18px; height: 18px; }
  .nav-cta { padding: 0 12px; }
  .rv, .el { font-size: 14px; }
}
/* ---------- reduced motion: no autoplay, no rise-in, instant plan switches ---------- */
@media (prefers-reduced-motion: reduce) {
  .wave, .hero-copy .l1, .hero-copy .l2, .sub, .ctas, .fine { animation: none; }
  .stage, .tab-cap { transition: none; }
  .js .ig-bar { transform: none; transition: none; }
  .js .ig-rows li { opacity: var(--o, 1); transition: none; }
  .pause { display: none !important; }
  .down, .a-rows summary .chev { transition: none; }
}
