/* PenVanta public website — "report-grade light".
   Paper tones, precise hairlines, numbered sections and purple used like a report's brand ink.
   No framework, no external fonts. Product imagery is real screenshots with sample data. */

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --paper: #fbfaf8;
  --paper-2: #f4f2ee;
  --surface: #ffffff;
  --ink: #15121c;
  --ink-2: #4a4556;
  --muted: #7a7486;
  --line: rgb(21 18 28 / .08);
  --line-strong: rgb(21 18 28 / .14);
  --brand: #7237c6;
  --brand-600: #5e2aab;
  --brand-900: #2b1150;
  --brand-50: #f5f0fc;
  --brand-100: #ebe0fa;
  --crit: #c3322b; --high: #d9651c; --med: #c99416; --low: #2f7d62; --ok: #2f7d62;
  --radius: 14px;
  --shadow-frame: 0 1px 2px rgb(21 18 28 / .04), 0 24px 48px -24px rgb(43 17 80 / .25);
  --shadow-float: 0 1px 2px rgb(21 18 28 / .06), 0 30px 60px -28px rgb(43 17 80 / .35);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --container: 1200px;
  --section: clamp(88px, 11vw, 150px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.6;
  letter-spacing: -.005em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body::before { /* grain */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("/assets/img/noise.svg");
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-100); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* ---------- Type ---------- */
.display { font-size: clamp(2.6rem, 5.2vw + .5rem, 4.9rem); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(2rem, 3.2vw + .4rem, 3.25rem); line-height: 1.07; letter-spacing: -.033em; }
.h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.018em; }
.h4 { font-size: 1.0625rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem, .5vw + .95rem, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--muted); }
.accent { color: var(--brand); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.eyebrow b { color: var(--brand); font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); font-size: .8125rem; color: var(--ink-2); box-shadow: 0 1px 2px var(--line);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.mono { font-family: var(--mono); font-size: .8125rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: .9375rem; font-weight: 600; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .15s; }
.btn:hover svg.go { transform: translateX(2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 1px 2px rgb(43 17 80 / .3), 0 8px 18px -8px rgb(114 55 198 / .6); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: 0 1px 2px var(--line); }
.btn-secondary:hover { border-color: rgb(21 18 28 / .3); color: var(--ink); }
.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { color: var(--ink); background: rgb(21 18 28 / .04); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .875rem; border-radius: 9px; }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 1rem; border-radius: 11px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link svg { width: 15px; height: 15px; transition: transform .15s; }
.link:hover svg { transform: translateX(3px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.site-header.is-scrolled { background: rgb(251 250 248 / .78); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 650; font-size: 1.1875rem; letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand img { width: 24px; }
.primary-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav-list { display: flex; gap: 2px; list-style: none; }
.nav-list a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav-list a:hover { color: var(--ink); background: rgb(21 18 28 / .04); }
.nav-list a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-actions { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .js .primary-nav { display: none; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-frame); }
  .js .primary-nav.is-open { display: flex; }
  .no-js .primary-nav { position: static; box-shadow: none; border: 0; padding: 0 0 16px; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 12px 8px; font-size: 1.0625rem; }
  .nav-actions { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-actions .btn { min-height: 46px; }
}

/* ---------- Sections, rails and grid ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-sm { padding: clamp(56px, 7vw, 88px) 0; position: relative; }
.band { background: var(--paper-2); }
.rule { border-top: 1px solid var(--line); }
.cross { position: relative; }
.cross::before { /* crosshair at the section boundary, on the container edge */
  content: "+"; position: absolute; top: -10px; left: max(6px, calc((100% - var(--container)) / 2 + 6px));
  font: 300 18px/1 var(--mono); color: rgb(21 18 28 / .3);
}
.cross::after {
  content: "+"; position: absolute; top: -10px; right: max(6px, calc((100% - var(--container)) / 2 + 6px));
  font: 300 18px/1 var(--mono); color: rgb(21 18 28 / .3);
}
.gridbg { position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head .h2 { margin-top: 16px; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Product frames (real screenshots) ---------- */
.frame { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-frame); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fcfbfd; }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(21 18 28 / .12); }
.frame-url { margin: 0 auto; transform: translateX(-20px); font-family: var(--mono); font-size: .72rem; color: var(--muted); padding: 3px 12px; border-radius: 6px; background: var(--paper-2); display: inline-flex; gap: 6px; align-items: center; }
.frame-url svg { width: 11px; height: 11px; }
.frame img { width: 100%; }
.frame.fade img { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.shot-caption { margin-top: 12px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.beam { /* the single animated gradient border: hero frame only */
  position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 5;
  background: conic-gradient(from var(--angle), transparent 0 70%, rgb(114 55 198 / .9) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 7s linear infinite;
}
@keyframes beam { to { --angle: 360deg; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 0; isolation: isolate; }
.hero-wash { position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 55% at 70% 55%, rgb(114 55 198 / .12), transparent 70%), radial-gradient(30% 40% at 15% 20%, rgb(114 55 198 / .06), transparent 70%); }
.hero-copy { max-width: 900px; }
.hero .display { margin-top: 26px; }
.hero .lead { margin-top: 24px; max-width: 660px; font-size: clamp(1.1rem, .6vw + .95rem, 1.3rem); }
.hero .btn-row { margin-top: 34px; }
.proofline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .875rem; color: var(--ink-2); list-style: none; }
.proofline li { display: inline-flex; align-items: center; gap: 8px; }
.proofline svg { width: 16px; height: 16px; color: var(--brand); }
.hero-switch { margin-top: 18px; font-size: .9rem; color: var(--ink-2); }

/* Scan → findings → approved report sequence */
.sequence { position: relative; margin-top: clamp(56px, 7vw, 88px); height: clamp(360px, 44vw, 600px); }
.seq-card { position: absolute; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-float); }
.seq-card > .frame, .seq-card > img { border-radius: 13px; }
.seq-card img { width: 100%; border-radius: 0 0 13px 13px; }
.seq-label { position: absolute; z-index: 6; top: -13px; left: 18px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
.seq-label b { color: #c9a8ff; font-weight: 600; }
.seq-a { left: 0; top: 80px; width: 38%; z-index: 1; }
.seq-b { left: 21%; top: 0; width: 54%; z-index: 2; }
.seq-b .frame { border: 0; box-shadow: none; }
.seq-c { right: 0; top: 50px; width: 30%; z-index: 3; }
.seq-c img { border-radius: 13px; }
.stamp { position: absolute; right: 14px; top: 18px; z-index: 4; transform: rotate(-8deg); border: 2px solid var(--ok); color: var(--ok); background: rgb(255 255 255 / .92); border-radius: 7px; padding: 3px 9px; font: 700 .75rem/1.2 var(--font); letter-spacing: .12em; }
.seq-link { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.seq-link path { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: .5; }
.motion .sequence .seq-card { opacity: 0; transform: translateY(26px) scale(.98); }
.motion .sequence .stamp { opacity: 0; transform: rotate(-8deg) scale(1.6); }
.motion .sequence.is-playing .seq-card { animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.motion .sequence.is-playing .seq-b { animation-delay: .35s; }
.motion .sequence.is-playing .seq-c { animation-delay: .7s; }
.motion .sequence.is-playing .stamp { animation: stamp .45s cubic-bezier(.3,1.4,.5,1) 1.6s forwards; }
.motion .sequence.is-playing .seq-link path { animation: flow 2.4s linear infinite; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes stamp { to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes flow { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.sequence.is-played .seq-card, .sequence.is-played .stamp { opacity: 1; }
@media (max-width: 900px) {
  .sequence { height: auto; display: grid; gap: 28px; }
  .seq-card { position: relative; left: auto; right: auto; top: auto; width: auto; }
  .seq-a, .seq-link { display: none; }
  .seq-c { width: 72%; margin: -70px 0 0 auto; }
}

/* ---------- Tools strip ---------- */
.tools { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tools-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.tools:hover .tools-track { animation-play-state: paused; }
.tool { font-family: var(--mono); font-size: .875rem; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tools-caption { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; align-items: baseline; margin-bottom: 22px; }
.fineprint { font-size: .75rem; color: var(--muted); }

/* ---------- Before / after ---------- */
.compare { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-frame); --split: 50%; aspect-ratio: 16 / 8.6; }
.compare-layer { position: absolute; inset: 0; }
.compare-after { clip-path: inset(0 0 0 var(--split)); background: var(--surface); }
.compare-before { background: repeating-linear-gradient(-45deg, #f6f4f1, #f6f4f1 12px, #f1eee9 12px, #f1eee9 24px); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: var(--brand); transform: translateX(-1px); pointer-events: none; z-index: 3; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 6px 16px rgb(43 17 80 / .35);
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5'/%3E%3Cpath d='m15 7 5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.compare input[type="range"]:focus-visible ~ .compare-handle::after { box-shadow: 0 0 0 5px var(--brand-100); }
.compare-tag { position: absolute; top: 16px; z-index: 2; font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 6px; }
.compare-before .compare-tag { left: 16px; background: rgb(21 18 28 / .75); color: #fff; }
.compare-after .compare-tag { right: 16px; background: var(--brand); color: #fff; }
.mess { position: absolute; background: #fff; border: 1px solid rgb(21 18 28 / .12); border-radius: 8px; padding: 12px 14px; box-shadow: 0 10px 24px -14px rgb(21 18 28 / .35); font-size: .8125rem; color: var(--ink-2); width: 29%; }
.mess b { display: block; color: var(--ink); font-size: .8125rem; margin-bottom: 6px; }
.mess i { display: block; height: 6px; border-radius: 3px; background: #ece9e4; margin-top: 6px; }
.mess i:nth-of-type(odd) { width: 80%; }
.mess .doc { font-family: var(--mono); font-size: .75rem; color: #2b579a; }
.mess .xl { font-family: var(--mono); font-size: .75rem; color: #217346; }
.mess .red { color: var(--crit); font-weight: 600; }
.m1 { left: 4%; top: 15%; transform: rotate(-4deg); }
.m2 { left: 27%; top: 46%; transform: rotate(3deg); }
.m3 { left: 6%; top: 60%; transform: rotate(2deg); }
.m4 { left: 35%; top: 9%; transform: rotate(5deg); }
.m5 { left: 58%; top: 32%; transform: rotate(-3deg); }
.m6 { left: 66%; top: 64%; transform: rotate(4deg); }
.compare-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.contrast-rows { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.contrast-rows > div { padding: 22px 24px 0 0; }
.contrast-rows s { color: var(--muted); font-size: .875rem; text-decoration-color: rgb(195 50 43 / .55); }
.contrast-rows .h4 { margin-top: 6px; }
.contrast-rows p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 820px) { .compare { aspect-ratio: 4 / 3.8; } .mess { width: 46%; font-size: .75rem; } .contrast-rows { grid-template-columns: 1fr; } .m5, .m6 { display: none; } }

/* ---------- Tabs (tour, audiences) ---------- */
.tablist { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { position: relative; appearance: none; border: 0; background: none; font: inherit; font-size: .9375rem; font-weight: 550; color: var(--ink-2); padding: 9px 16px; border-radius: 9px; cursor: pointer; white-space: nowrap; overflow: hidden; display: inline-flex; gap: 8px; align-items: center; }
.tab .mono { color: var(--muted); font-size: .6875rem; }
.tab:hover { color: var(--ink); background: rgb(21 18 28 / .035); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab[aria-selected="true"] .mono { color: #c9a8ff; }
.tab-progress { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; transform-origin: left; transform: scaleX(0); opacity: 0; background: #c9a8ff; }
.tab.is-running .tab-progress { opacity: 1; animation: progress 7s linear forwards; }
.is-paused .tab.is-running .tab-progress { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tour-panel { margin-top: 28px; display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.tour-panel[hidden] { display: none; }
.tour-copy .h3 { margin-top: 12px; }
.tour-copy > p { margin-top: 12px; color: var(--ink-2); }
.tour-panel.is-active .tour-copy, .tour-panel.is-active .frame { animation: panelIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.callout { margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--brand-50); border: 1px solid var(--brand-100); font-size: .875rem; color: var(--brand-900); }
.callout svg { width: 16px; height: 16px; margin-top: 3px; color: var(--brand); flex: none; }
@media (max-width: 960px) { .tour-panel { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Ticks ---------- */
.ticks { list-style: none; display: grid; gap: 11px; margin-top: 20px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink-2); font-size: .9375rem; }
.ticks svg { width: 17px; height: 17px; color: var(--brand); margin-top: 3px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; min-height: 280px; }
.tile-copy { padding: 24px 24px 0; position: relative; z-index: 2; }
.tile-copy .h4 { margin-top: 10px; }
.tile-copy p { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; max-width: 460px; }
.tile-media { margin-top: auto; padding: 22px 0 0 24px; position: relative; }
.tile-media img { border-radius: 10px 0 0 0; border: 1px solid var(--line-strong); border-right: 0; border-bottom: 0; box-shadow: var(--shadow-frame); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.tile-media.full { padding: 22px 24px 0; }
.tile-media.full img { border-radius: 10px 10px 0 0; border-right: 1px solid var(--line-strong); }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.tile-dark { background: var(--brand-900); border-color: transparent; color: #efe8fb; }
.tile-dark .h4 { color: #fff; }
.tile-dark p { color: #cbbde6; }
.tile-dark .eyebrow { color: #b99ae8; }
.tile-dark .big { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.25rem); font-weight: 600; letter-spacing: -.04em; color: #fff; line-height: 1; padding: 0 24px 24px; margin-top: auto; }
.tile-dark .big small { font-size: .9rem; letter-spacing: 0; color: #cbbde6; font-weight: 500; margin-left: 6px; }
.spotlight::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 1;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgb(114 55 198 / .08), transparent 60%); }
.spotlight:hover::after { opacity: 1; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .span-4, .span-3 { grid-column: span 2; } .span-2 { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .span-4, .span-3, .span-2 { grid-column: auto; } }

/* ---------- Sticky scroll steps ---------- */
.steps-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.step-block { padding: 26vh 0 26vh 28px; border-left: 1px solid var(--line); position: relative; transition: opacity .3s; }
.step-block:first-child { padding-top: 4vh; }
.step-block::before { content: ""; position: absolute; left: -4px; top: calc(26vh + 8px); width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background .3s, box-shadow .3s; }
.step-block:first-child::before { top: calc(4vh + 8px); }
.step-block .h3 { margin-top: 10px; }
.step-block > p { margin-top: 10px; color: var(--ink-2); }
.is-enhanced .step-block { opacity: .35; }
.is-enhanced .step-block.is-current { opacity: 1; }
.step-block.is-current::before { background: var(--brand); box-shadow: 0 0 0 5px var(--brand-100); }
.steps-visual { position: sticky; top: 110px; align-self: start; }
.steps-visual .frame + .frame { display: none; }
.is-enhanced .steps-visual { display: grid; }
.is-enhanced .steps-visual .frame { grid-area: 1 / 1; display: block; opacity: 0; transform: translateY(10px) scale(.99); transition: opacity .45s, transform .45s; }
.is-enhanced .steps-visual .frame.is-current { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .steps-wrap { grid-template-columns: 1fr; gap: 24px; }
  .steps-visual { position: relative; top: 0; order: -1; }
  .step-block, .step-block:first-child { padding: 22px 0 22px 22px; }
  .step-block::before, .step-block:first-child::before { top: 30px; }
  .is-enhanced .step-block { opacity: 1; }
}

/* ---------- Security band ---------- */
.secure { background: var(--brand-50); border-top: 1px solid var(--brand-100); border-bottom: 1px solid var(--brand-100); position: relative; isolation: isolate; }
.secure-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.secure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proof { background: var(--surface); border: 1px solid var(--brand-100); border-radius: 16px; padding: 22px; }
.proof .h4 { display: flex; gap: 10px; align-items: center; }
.proof .h4 svg { width: 19px; height: 19px; color: var(--brand); flex: none; }
.proof p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.proof .mono { display: inline-block; margin-top: 12px; color: var(--brand-900); background: var(--brand-50); border-radius: 6px; padding: 3px 8px; font-size: .72rem; }
.arch-card { margin-top: 16px; background: var(--surface); border: 1px solid var(--brand-100); border-radius: 16px; padding: 22px; }
@media (max-width: 960px) { .secure-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .secure-grid { grid-template-columns: 1fr; } }
.cred-demo { background: var(--ink); color: #eae4f5; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 16px; --left: 1; box-shadow: var(--shadow-float); }
.cred-demo .eyebrow { color: #a99bc2; }
.cred-demo .h3 { color: #fff; }
.cred-demo > p { color: #b9aed0; font-size: .9375rem; }
.cred-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .08); }
.cred-row small { display: block; color: #a99bc2; font-size: .75rem; margin-bottom: 2px; }
.cred-value { font-family: var(--mono); font-size: 1rem; color: #fff; letter-spacing: .06em; word-break: break-all; }
.cred-ring { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; opacity: .25; transition: opacity .2s;
  background: conic-gradient(#c9a8ff calc(var(--left) * 360deg), rgb(255 255 255 / .12) 0); }
.cred-ring span { width: 28px; height: 28px; border-radius: 50%; background: #221c2e; display: grid; place-items: center; font: 600 .625rem var(--mono); color: #fff; }
.cred-demo.is-revealed .cred-ring { opacity: 1; }
.cred-demo .btn { background: #fff; color: var(--ink); align-self: flex-start; }
.cred-demo .btn:disabled { opacity: .6; cursor: default; }
.cred-log { list-style: none; font-family: var(--mono); font-size: .72rem; color: #a99bc2; display: grid; gap: 6px; min-height: 64px; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 14px; margin-top: auto; }
.cred-log time { color: #c9a8ff; }
.arch { width: 100%; }
.arch text { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); }
.arch .t-strong { font-family: var(--font); font-weight: 600; font-size: 12.5px; fill: var(--ink); }
.arch .t-brand { fill: var(--brand); }
.arch .box { fill: #fff; stroke: rgb(21 18 28 / .14); stroke-width: 1; }
.arch .box-you { fill: #fff; stroke: var(--brand); stroke-width: 1.8; }
.arch .box-dim { fill: rgb(255 255 255 / .5); stroke: rgb(21 18 28 / .14); stroke-dasharray: 4 4; }
.arch .line { stroke: var(--brand); stroke-width: 1.5; fill: none; }
.arch .line-dim { stroke: rgb(21 18 28 / .18); stroke-width: 1.2; fill: none; stroke-dasharray: 3 4; }
.arch .inner { fill: var(--brand-50); stroke: var(--brand-100); }

/* ---------- Deployment ---------- */
.deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deploy-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.deploy-card .h3 { margin-top: 14px; }
.deploy-card > p { margin-top: 8px; color: var(--ink-2); }
.badge { display: inline-flex; align-self: flex-start; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--brand-50); color: var(--brand-900); }
.ticker { list-style: none; margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--paper); }
.ticker li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; font-size: .875rem; color: var(--muted); transition: color .2s; }
.ticker li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; background: center / 10px no-repeat; }
.ticker li.is-active { color: var(--ink); }
.ticker li.is-active::before { border-color: var(--brand); border-top-color: transparent; animation: spin .7s linear infinite; }
.ticker li.is-done { color: var(--ink-2); }
.ticker li.is-done::before { border-color: var(--ok); background-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ticker-note { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-family: var(--mono); font-size: .72rem; color: var(--muted); opacity: .4; transition: opacity .3s; }
.ticker.is-complete + .ticker-note { opacity: 1; color: var(--ok); }
.no-js .ticker li::before, .ticker-static li::before { border-color: var(--ok); background-color: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }
.ws { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.ws-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-family: var(--mono); font-size: .8125rem; color: var(--ink-2); }
.ws-row.you { border-color: var(--brand); background: var(--brand-50); color: var(--brand-900); }
.ws-row span:last-child { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ws-row.you span:last-child { color: var(--brand); }
@media (max-width: 860px) { .deploy { grid-template-columns: 1fr; } .deploy-card { padding: 24px; } }

/* ---------- Audience ---------- */
.aud-panel { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud-panel[hidden] { display: none; }
.aud-item { padding: 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); }
.aud-item .mono { color: var(--brand); }
.aud-item .h4 { margin-top: 10px; }
.aud-item p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 860px) { .aud-panel { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; border-radius: 26px; background: var(--brand-900); color: #efe8fb; padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000, transparent 70%); }
.final::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -140px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgb(150 92 230 / .55), transparent 65%); }
.final .h2 { color: #fff; margin-top: 16px; }
.final .lead { color: #cbbde6; margin-top: 16px; }
.final .eyebrow { color: #b99ae8; }
.final .btn-row { margin-top: 30px; }
.final .btn-primary { background: #fff; color: var(--brand-900); box-shadow: none; }
.final .btn-primary:hover { background: var(--brand-50); color: var(--brand-900); }
.final .btn-secondary { background: transparent; color: #fff; border-color: rgb(255 255 255 / .3); box-shadow: none; }
.final .btn-secondary:hover { border-color: #fff; color: #fff; }
.final-list { list-style: none; display: grid; gap: 12px; font-size: .9375rem; color: #ddd2f0; }
.final-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.final-list svg { width: 17px; height: 17px; color: #c9a8ff; margin-top: 3px; }
@media (max-width: 860px) { .final { grid-template-columns: 1fr; } }

/* ---------- Inner page heroes ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 5vw, 64px); isolation: isolate; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw + .4rem, 4.25rem); line-height: 1.04; letter-spacing: -.038em; margin-top: 20px; max-width: 940px; }
.page-hero .lead { margin-top: 20px; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero .frame { margin-top: clamp(40px, 6vw, 72px); }
.kicker { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- Product page ---------- */
.subnav { position: sticky; top: 68px; z-index: 40; background: rgb(251 250 248 / .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 6px 12px; border-radius: 8px; font-size: .875rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: rgb(21 18 28 / .04); color: var(--ink); }
.feature-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(80px, 10vw, 128px); }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy .h2 { margin-top: 14px; font-size: clamp(1.8rem, 2.4vw + .5rem, 2.6rem); }
.feature-copy .lead { margin-top: 14px; font-size: 1.0625rem; }
.feature-media { position: relative; }
.feature-media .inset { position: absolute; width: 44%; right: -18px; bottom: -32px; border-radius: 12px; box-shadow: var(--shadow-float); border: 1px solid var(--line-strong); overflow: hidden; background: #fff; }
.feature-media .inset img { width: 100%; }
@media (max-width: 960px) { .feature-row { grid-template-columns: 1fr; } .feature-row.flip .feature-copy { order: 0; } .feature-media .inset { right: 8px; bottom: -20px; } }
.minor-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); border-radius: 2px; }
.minor { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.minor .h4 { display: flex; gap: 10px; align-items: center; }
.minor .h4 svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.minor p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 900px) { .minor-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .minor-grid { grid-template-columns: 1fr; } }

/* ---------- Security page ---------- */
.spec { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding: 52px 0; border-top: 1px solid var(--line); }
.spec-title .mono { color: var(--brand); }
.spec-title .h3 { margin-top: 10px; }
.spec-title p { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; }
.spec-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; align-content: start; }
.fact .h4 { font-size: 1rem; }
.fact p { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; }
.spec-body .wide { grid-column: 1 / -1; }
.limits { background: var(--surface); border: 1px dashed rgb(21 18 28 / .25); border-radius: 16px; padding: 28px; }
.limits ul { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.limits li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink-2); }
.limits li::before { content: "–"; color: var(--muted); }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr; gap: 20px; } .spec-body { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100), var(--shadow-frame); }
.plan .badge { position: absolute; top: 26px; right: 26px; }
.plan .h3 { font-size: 1.5rem; }
.plan > p { margin-top: 8px; color: var(--ink-2); }
.price { margin-top: 26px; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; letter-spacing: -.035em; }
.price small { font-family: var(--font); font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .ticks { margin-bottom: 28px; flex: 1; }
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.included h3 { font-size: .75rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); font-weight: 500; }
.included .ticks { margin-top: 12px; }
.included .ticks li { font-size: .875rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } .plan { padding: 26px; } }
/* Products (Testing, Remediation, Complete) above where they run */
.plans.three { grid-template-columns: repeat(3, 1fr); }
.plans.three .plan .badge { position: static; align-self: flex-start; margin-bottom: 14px; }
.plans.three .price { font-size: 1.6rem; }
@media (max-width: 1080px) { .plans.three { grid-template-columns: 1fr; } }
.plans + .plans-label { margin-top: 56px; }
.plans-label { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); }
.table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { text-align: left; padding: 15px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.table thead th { border-top: 0; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; background: var(--paper); }
.table tbody th { font-weight: 550; }
.table td { color: var(--ink-2); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 600; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Generic cards (about/contact) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; padding: 26px; }
.card .mono { color: var(--brand); }
.card .h4 { margin-top: 10px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.manifesto { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw + .6rem, 2.5rem); line-height: 1.25; letter-spacing: -.03em; font-weight: 550; max-width: 1000px; }
.manifesto span { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.contact-card.primary { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.contact-card .mono { color: var(--brand); }
.contact-card p { color: var(--ink-2); font-size: .9375rem; }
.contact-card .email { font-family: var(--mono); font-size: .875rem; color: var(--ink); word-break: break-all; }
.contact-card .btn-row { margin-top: auto; padding-top: 12px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Prose (privacy) ---------- */
.section-tight { padding: 8px 0 96px; }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 44px 0 12px; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.125rem; margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }
.prose .updated { color: var(--muted); font-size: .875rem; }
.notice { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 12px; padding: 16px 18px; color: var(--ink-2); }
.table-scroll { overflow-x: auto; }

/* ---------- Sign-in ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: clamp(40px, 8vw, 96px) 16px clamp(64px, 10vw, 120px); position: relative; isolation: isolate; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-float); }
.auth-card .brand-mark { width: 30px; margin-bottom: 20px; }
.auth-card h1 { font-size: 1.75rem; letter-spacing: -.03em; }
.auth-card > p { color: var(--ink-2); margin-top: 8px; }
.auth-card form { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.input-group { display: flex; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.input-group:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.input-group input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; }
.input-suffix { display: flex; align-items: center; padding: 0 12px; background: var(--paper-2); color: var(--muted); font-family: var(--mono); font-size: .8125rem; border-left: 1px solid var(--line); white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.field-hint { font-size: .8125rem; color: var(--muted); margin-top: 8px; }
.field-error { font-size: .875rem; color: var(--crit); margin-top: 6px; }
.field-error:empty, .preview-url:empty { display: none; }
.is-invalid .input-group { border-color: var(--crit); }
.preview-url { font-size: .875rem; color: var(--muted); margin-top: 6px; }
.preview-url b { color: var(--ink); }
.checkbox { display: flex; gap: 10px; align-items: center; font-size: .9375rem; color: var(--ink-2); }
.checkbox input { width: 17px; height: 17px; accent-color: var(--brand); }
.auth-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 520px) { .auth-card { padding: 26px 20px; } }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: clamp(80px, 12vw, 150px) 0; position: relative; isolation: isolate; }
.lost .display { margin-top: 16px; }
.lost p { color: var(--ink-2); margin: 16px auto 0; max-width: 460px; }
.lost .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 320px; font-size: .9375rem; }
.site-footer h2 { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-links .link-button { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.footer-links a:hover, .footer-links .link-button:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer-bottom p:first-child { max-width: 44rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Cookie banner ---------- */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 440px; margin-left: auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow-float); padding: 20px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1rem; }
.consent p { margin-top: 6px; font-size: .875rem; color: var(--ink-2); }
.consent .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Reveal motion ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(12px); filter: blur(4px); transition: opacity .6s ease var(--delay, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--delay, 0ms), filter .6s ease var(--delay, 0ms); }
.motion [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tools-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .tools-track .dup { display: none; }
}
.center-note { text-align: center; margin-top: 22px; font-size: .875rem; }
.secure > .container > p:last-child { margin-top: 36px; }
/* Bento media: consistent, cropped heights so rows stay balanced */
.tile-media img { width: 100%; height: clamp(210px, 21vw, 290px); object-fit: cover; object-position: left top; }
.span-4 .tile-media img { height: clamp(240px, 24vw, 330px); }
.tile-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 24px 0; }
.tile-tools span { font-family: var(--mono); font-size: .72rem; padding: 4px 9px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); color: #ddd2f0; }
.steps-visual .frame img { aspect-ratio: 16 / 10.5; height: auto; object-fit: cover; object-position: left top; }
.cred-log li.placeholder { color: #756a8c; }
.arch .t-dim { fill: var(--muted); font-size: 10px; }
/* Hosting: the two options, comparison and answers */
.deploy-card .ticks strong { color: var(--ink); font-weight: 600; }
.deploy-more { margin-top: auto; padding-top: 22px; }
.table-compare tbody th { width: 26%; }
.faq details p + p { margin-top: -10px; }
.auth-actions { margin-top: 26px; }
.two-col > div > .h2 { margin-top: 16px; }
.two-col > div > .lead { margin-top: 16px; }
