@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Tokens: light by default, dark from the system or the toggle ---------- */
:root {
  --lime: #b9ff66;
  --lime-deep: #a3f04a;
  --on-lime: #191a23;
  --bg: #ffffff;
  --grey: #f3f3f3;
  --surface: #ffffff;
  --text: #191a23;
  --text-2: #34353f;
  --muted: #5f6170;
  --edge: #191a23;          /* card borders */
  --drop: #191a23;          /* the offset shadow under cards */
  --hair: #e4e5ea;          /* quiet dividers */
  --hair-strong: #cfd1d9;
  --ink: #191a23;           /* the black cards and bands */
  --on-ink: #ffffff;
  --on-ink-muted: #b4b6c2;
  --btn-bg: #191a23;
  --btn-text: #ffffff;
  --high: #16a34a;
  --medium: #d97706;
  --ill-fill: #ffffff;
  --sun: none;
  --moon: block;
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c10;
    --grey: #16171e;
    --surface: #111218;
    --text: #f3f3f3;
    --text-2: #d6d8df;
    --muted: #9c9fad;
    --edge: #f3f3f3;
    --drop: #b9ff66;
    --hair: #24262f;
    --hair-strong: #383b48;
    --ink: #1c1e27;
    --on-ink: #f3f3f3;
    --on-ink-muted: #a6a9b6;
    --btn-bg: #b9ff66;
    --btn-text: #191a23;
    --high: #4ade80;
    --medium: #fbbf24;
    --ill-fill: #16171e;
    --sun: block;
    --moon: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c10;
  --grey: #16171e;
  --surface: #111218;
  --text: #f3f3f3;
  --text-2: #d6d8df;
  --muted: #9c9fad;
  --edge: #f3f3f3;
  --drop: #b9ff66;
  --hair: #24262f;
  --hair-strong: #383b48;
  --ink: #1c1e27;
  --on-ink: #f3f3f3;
  --on-ink-muted: #a6a9b6;
  --btn-bg: #b9ff66;
  --btn-text: #191a23;
  --high: #4ade80;
  --medium: #fbbf24;
  --ill-fill: #16171e;
  --sun: block;
  --moon: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--lime); color: var(--on-lime); }

/* The lime highlighter behind headings */
.tag {
  display: inline; padding: 0 0.22em; border-radius: 0.2em; background: var(--lime); color: var(--on-lime);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tag.ink { background: var(--ink); color: var(--on-ink); }

/* ---------- Nav ---------- */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav-bar.scrolled { border-bottom-color: var(--hair); }
.nav { display: flex; align-items: center; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.nav .links { margin-left: auto; display: flex; gap: 30px; font-size: 16px; align-items: center; }
.nav .links a:not(.btn) { color: var(--text); text-decoration: none; position: relative; }
.nav .links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav .links a:not(.btn):hover::after { transform: scaleX(1); }
.theme-toggle {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--edge); background: var(--surface); color: var(--text); transition: transform 0.2s, background 0.2s;
}
.theme-toggle:hover { transform: rotate(-12deg); background: var(--lime); color: var(--on-lime); }
.theme-toggle .sun { display: var(--sun); }
.theme-toggle .moon { display: var(--moon); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 30px; border-radius: 14px; font: 500 17px/1.1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid var(--edge); color: var(--text); background: transparent; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translate(-2px, -3px); box-shadow: 2px 5px 0 var(--drop); }
.btn:active { transform: none; box-shadow: none; }
.btn.primary { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.btn.primary:hover { box-shadow: 2px 5px 0 var(--lime); }
.btn.sm { padding: 12px 20px; font-size: 15.5px; border-radius: 12px; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); }
.btn:focus-visible, .theme-toggle:focus-visible, summary:focus-visible, .toggle button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; padding-block: 56px 40px; }
.eyebrow {
  display: inline-flex; gap: 9px; align-items: center; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--edge); font-size: 14.5px; font-weight: 500; color: var(--text);
}
.eyebrow .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--lime-deep); box-shadow: 0 0 0 0 rgba(163, 240, 74, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(163, 240, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(163, 240, 74, 0); } }
.hero h1 { font-size: clamp(42px, 5.8vw, 68px); line-height: 1.04; letter-spacing: -0.035em; margin: 24px 0 22px; font-weight: 600; }
/* A block of its own height, so the highlight never reaches into the line above. */
.hero h1 .tag { display: inline-block; white-space: nowrap; line-height: 1.08; padding: 0 0.16em 0.04em; margin-top: 0.2em; border-radius: 0.16em; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 540px; margin: 0 0 34px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 28px; font-size: 15px; color: var(--text-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--on-lime); }

/* Line illustrations: drawn with tokens so they follow the theme */
.ill { width: 100%; height: auto; overflow: visible; }
.ill .e { stroke: var(--edge); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ill .f-surface { fill: var(--ill-fill); }
.ill .f-grey { fill: var(--grey); }
.ill .f-lime { fill: var(--lime); }
.ill .f-ink { fill: var(--edge); }
.ill .f-drop { fill: var(--drop); }
.ill .f-none { fill: none; }
.ill .s-lime { stroke: var(--lime); }
.ill .t { font: 600 15px var(--font); fill: var(--on-lime); }
.ill .t-on-ink { font: 600 15px var(--font); fill: var(--bg); }
.twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.twinkle.d1 { animation-delay: -1.1s; } .twinkle.d2 { animation-delay: -2.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(0.55) rotate(45deg); } }
.float { animation: float 6s ease-in-out infinite; }
.float.slow { animation-duration: 8s; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.orbit { transform-box: view-box; transform-origin: 260px 220px; animation: orbit 40s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.fill-bar { transform-box: fill-box; transform-origin: left; animation: fillbar 5s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
.fill-bar.b2 { animation-delay: 0.35s; } .fill-bar.b3 { animation-delay: 0.7s; }
@keyframes fillbar { 0%, 8% { transform: scaleX(0); } 30%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* ---------- Logo strip ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 34px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: scroll 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 700; font-size: 25px; letter-spacing: -0.03em; color: var(--muted); white-space: nowrap; filter: grayscale(1); transition: color 0.2s; }
.marquee-track span:hover { color: var(--text); }
.marquee-track i { width: 14px; height: 14px; flex: none; background: var(--lime-deep); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section heads (tag + line beside it) ---------- */
section.block { padding-block: 84px; }
section[id] { scroll-margin-top: 72px; }
.sec-head { display: flex; align-items: center; gap: 40px; margin-bottom: 56px; }
.sec-head h2 { margin: 0; font-size: clamp(32px, 3.6vw, 42px); line-height: 1.15; flex: none; }
.sec-head p { margin: 0; max-width: 580px; font-size: 18px; color: var(--text-2); }

/* ---------- Live demo ---------- */
.demo-wrap { position: relative; max-width: 1100px; margin: 0 auto; }
.browser {
  position: relative; border-radius: 28px; background: var(--surface); border: 1px solid var(--edge);
  box-shadow: 0 8px 0 var(--drop); overflow: hidden; text-align: left;
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--edge); background: var(--grey); }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--edge); background: var(--surface); }
.dots i:first-child { background: var(--lime); }
.url {
  flex: 1; max-width: 460px; margin: 0 auto; display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 13.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--hair-strong); border-radius: 999px; padding: 5px 14px;
  min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.url svg { flex: none; }
.browser-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 540px; }
.page { position: relative; padding: 28px 32px 84px; }
.job-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.job-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-weight: 700; border: 1px solid var(--edge); }
.job-head h3 { margin: 0; font-size: 18px; }
.job-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
/* Every part of the demo has a fixed size, so the animation never moves the page around it. */
.f .box {
  position: relative; height: 40px; border: 1px solid var(--hair-strong); border-radius: 10px; padding: 9px 11px;
  font-size: 14px; line-height: 20px; background: var(--surface); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.f .box.select::after { content: "⌄"; position: absolute; right: 11px; top: 6px; color: var(--muted); }
.f .box.long { height: auto; min-height: 92px; white-space: normal; line-height: 1.5; }
.f .box.long .sizer { visibility: hidden; display: block; }
.f .box.long .typed { position: absolute; inset: 9px 11px; }
.f .box.focus { border-color: var(--edge); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 70%, transparent); }
.f .box.high { border-color: var(--high); box-shadow: 0 0 0 3px color-mix(in srgb, var(--high) 18%, transparent); }
.f .box.medium { border-color: var(--medium); box-shadow: 0 0 0 3px color-mix(in srgb, var(--medium) 22%, transparent); }
.f .box.empty-hint { border-style: dashed; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--text); vertical-align: -2px; margin-left: 1px; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.choices { display: flex; gap: 8px; }
.choices span {
  padding: 8px 18px; border: 1px solid var(--hair-strong); border-radius: 10px; font-size: 14px; background: var(--surface);
  transition: all 0.25s;
}
.choices span.on { background: var(--lime); border-color: var(--medium); color: var(--on-lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--medium) 22%, transparent); }
.fab {
  position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: #191a23; color: #f9fafb; font-size: 13px; font-weight: 600; box-shadow: 0 4px 0 var(--lime);
}
.fab .go { padding: 8px 14px; border-radius: 999px; background: var(--lime); color: #191a23; display: inline-flex; gap: 6px; align-items: center; transition: transform 0.15s; }
.fab .go.press { transform: scale(0.94); }
.fab .ai { padding: 8px 10px; font-size: 12px; color: #d1d5db; display: inline-flex; gap: 6px; align-items: center; }
.fab .ai i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.fab .ai.off i { background: #6b7280; }

/* Side panel */
.panel { border-left: 1px solid var(--edge); background: var(--grey); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.p-head { display: flex; align-items: center; gap: 10px; }
.p-logo { width: 32px; height: 32px; border-radius: 9px; background: var(--btn-bg); display: grid; place-items: center; color: var(--btn-text); }
.p-head strong { font-size: 14.5px; display: block; }
.p-head span { font-size: 12px; color: var(--muted); }
.p-card { background: var(--surface); border: 1px solid var(--edge); border-radius: 14px; padding: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: var(--grey); border-radius: 10px; font-size: 12px; font-weight: 600; }
.seg span { text-align: center; padding: 6px; border-radius: 8px; color: var(--muted); transition: all 0.25s; }
.seg span.on { background: var(--lime); color: var(--on-lime); }
.p-fill { margin-top: 8px; width: 100%; padding: 10px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-text); font-weight: 600; font-size: 13.5px; text-align: center; }
.p-status {
  display: flex; gap: 8px; align-items: center; font-size: 12.5px; line-height: 1.35; color: var(--text-2); background: var(--surface);
  border: 1px solid var(--hair-strong); border-radius: 12px; padding: 0 11px; height: 48px; overflow: hidden;
}
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--hair-strong); border-top-color: var(--text); animation: rot 0.8s linear infinite; flex: none; }
@keyframes rot { to { transform: rotate(360deg); } }
.p-list { display: flex; flex-direction: column; gap: 6px; overflow: hidden; height: calc(7 * 36px + 6 * 6px); flex: none; }
.p-row {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; background: var(--surface); border: 1px solid var(--hair-strong);
  border-radius: 10px; padding: 0 9px; height: 36px; flex: none; animation: rowIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.p-row b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--high); flex: none; }
.p-row .dot.medium { background: var(--medium); }
.p-row.need { border-style: dashed; color: var(--muted); }
.pill { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--grey); color: var(--muted); }
.pill.ai { background: var(--lime); color: var(--on-lime); }
.pill.learned { background: #191a23; color: var(--lime); }
@keyframes rowIn { from { opacity: 0; transform: translateX(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.cursor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; transition: transform 0.9s cubic-bezier(0.45, 0, 0.2, 1); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.3)); }
.cursor .ring { position: absolute; left: -12px; top: -12px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--lime-deep); opacity: 0; }
.cursor.click .ring { animation: ring 0.5s ease-out; }
@keyframes ring { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(1.6); } }

.demo-controls { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.toggle { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--edge); background: var(--surface); }
.toggle button { font: 600 14px/1 var(--font); color: var(--muted); background: transparent; border: 0; padding: 10px 15px; border-radius: 10px; cursor: pointer; transition: all 0.2s; }
.toggle button[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); }
.demo-caption { flex-basis: 100%; height: 2.9em; margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); text-align: center; }

/* ---------- Cards (grey / lime / ink, with the offset shadow) ---------- */
.card {
  position: relative; border: 1px solid var(--edge); border-radius: 40px; box-shadow: 0 6px 0 var(--drop);
  background: var(--grey); color: var(--text); transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--drop); }
.card.lime { background: var(--lime); color: var(--on-lime); }
.card.ink { background: var(--ink); color: var(--on-ink); }
.card.lime .tag { background: #fff; color: #191a23; }
.card.ink .tag { background: var(--on-ink); color: var(--ink); }
.card.lime p { color: #2b2c35; }
.card.ink p { color: var(--on-ink-muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { padding: 36px 34px 38px; }
.step .num { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; }
.step .num svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--surface); color: var(--text); border: 1px solid var(--edge); }
.card.lime .num svg { background: #191a23; color: var(--lime); border-color: #191a23; }
.card.ink .num svg { background: var(--lime); color: #191a23; border-color: var(--lime); }
.step h3 { margin: 0 0 10px; font-size: 24px; }
.step p { margin: 0; font-size: 16.5px; color: var(--text-2); }

/* Features */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.service { padding: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 26px; align-items: center; min-height: 300px; }
.service h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.32; }
.service p { margin: 0; font-size: 16px; color: var(--text-2); }
.visual { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.visual .line {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 10px 12px; border-radius: 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--edge);
}
.card.ink .visual .line { background: rgba(255, 255, 255, 0.06); color: var(--on-ink); border-color: rgba(255, 255, 255, 0.16); }
.card.lime .visual .line { background: #fff; color: #191a23; border-color: #191a23; }
.visual .line b { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--edge); background: var(--surface); font-size: 14px; line-height: 1.5; color: var(--text-2); box-shadow: 0 4px 0 var(--drop); }
.quote small { display: inline-block; margin-bottom: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--on-lime); }
.chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; flex: none; }
.chip.lime { background: var(--lime); color: #191a23; }
.chip.ink { background: #191a23; color: var(--lime); }
.chip.amber { background: #fde68a; color: #78350f; }
.chip.plain { background: rgba(255, 255, 255, 0.12); color: inherit; }
.cipher-box { display: flex; align-items: center; gap: 10px; font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.cipher-box svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--lime); color: #191a23; }
.cipher-box .cipher { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; padding: 11px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--edge); color: var(--text); }
.dropdown { border: 1px solid #191a23; border-radius: 12px; background: #fff; color: #191a23; overflow: hidden; font-size: 13.5px; }
.dropdown div { padding: 9px 12px; display: flex; justify-content: space-between; }
.dropdown .head { border-bottom: 1px solid #191a23; font-weight: 600; }
.dropdown .hit { background: #191a23; color: var(--lime); }
.undo-viz { display: grid; place-items: center; }
.undo-viz svg { width: 100%; max-width: 220px; height: auto; }

/* CTA card */
.cta-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 24px;
  border-radius: 40px; background: var(--grey); padding: 56px 60px; overflow: hidden;
}
.cta-card h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 34px); line-height: 1.2; }
.cta-card p { margin: 0 0 28px; color: var(--text-2); max-width: 500px; font-size: 18px; }
.cta-card .ill { max-width: 360px; margin: -40px 0 -60px auto; }

/* Trust band: black, columns split by thin rules */
.band { border-radius: 40px; background: #191a23; color: #f3f3f3; padding: 64px 60px; position: relative; overflow: hidden; }
.band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band-grid > div { padding: 4px 32px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.band-grid > div:first-child { padding-left: 0; border-left: 0; }
.band-grid svg { width: 26px; height: 26px; color: var(--lime); margin-bottom: 16px; }
.band-grid h3 { margin: 0 0 8px; font-size: 19px; color: #fff; }
.band-grid p { margin: 0; font-size: 15.5px; color: #b4b6c2; }
.band-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; color: var(--lime); font-weight: 500; text-decoration: none; }
.band-link svg { transform: rotate(-45deg); transition: transform 0.2s; }
.band-link:hover svg { transform: rotate(0); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 940px; margin: 0 auto; }
.plan { padding: 40px 42px; }
.plan .plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { margin: 0; font-size: 24px; }
.plan .badge { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--lime); color: #191a23; }
.price { font-size: 60px; font-weight: 600; letter-spacing: -0.045em; margin: 18px 0 2px; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; letter-spacing: 0; opacity: 0.7; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.plan li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; margin-top: 1px; background: var(--lime); color: #191a23; }
.card.ink.plan li { color: var(--on-ink); }
.plan .btn { margin-top: 32px; width: 100%; }
.card.ink .btn.primary { background: var(--lime); color: #191a23; border-color: var(--lime); }
.card.ink .btn.primary:hover { box-shadow: 2px 5px 0 #f3f3f3; }

/* FAQ: numbered accordion cards */
.faq { display: grid; gap: 26px; max-width: 1000px; margin: 0 auto; }
.faq details { border: 1px solid var(--edge); border-radius: 40px; background: var(--grey); box-shadow: 0 6px 0 var(--drop); padding: 0 46px; transition: background-color 0.3s; }
.faq details[open] { background: var(--lime); color: var(--on-lime); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 24px; padding-block: 32px; font-weight: 600; font-size: 22px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-size: 46px; letter-spacing: -0.04em; flex: none; }
.faq summary .q { flex: 1; }
.faq summary .pm {
  flex: none; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--edge); background: var(--surface); position: relative;
}
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 3px; margin: -1.5px 0 0 -10px; border-radius: 2px; background: var(--text); transition: transform 0.25s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { border-color: #191a23; background: #fff; }
.faq details[open] .pm::before { background: #191a23; }
.faq details[open] .pm::after { transform: rotate(0); background: #191a23; }
.faq details p { margin: 0; padding: 26px 0 36px; border-top: 1px solid #191a23; font-size: 17px; color: #2b2c35; }
.faq details a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
footer { margin-top: 40px; }
.foot { border-radius: 40px 40px 0 0; background: #191a23; color: #f3f3f3; padding: 56px 60px 40px; }
.foot-top { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot .brand { color: #fff; }
.foot nav { display: flex; gap: 28px; flex-wrap: wrap; margin-left: auto; }
.foot nav a { color: #f3f3f3; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.foot nav a:hover { text-decoration-color: var(--lime); }
.foot-mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; margin-top: 52px; align-items: center; }
.foot-mid .tag { font-size: 19px; font-weight: 600; }
.foot-mid ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: #d6d8df; }
.foot-mid a { color: #f3f3f3; }
.foot-cta { background: #292a32; border-radius: 18px; padding: 34px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.foot-cta p { margin: 0; flex: 1 1 220px; color: #d6d8df; }
.foot-cta .btn { background: var(--lime); color: #191a23; border-color: var(--lime); }
.foot-cta .btn:hover { box-shadow: 2px 5px 0 #f3f3f3; }
.foot-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.22); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; color: #b4b6c2; font-size: 15px; }
.foot-bottom a { color: #b4b6c2; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.25s, box-shadow 0.25s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Long-form pages (privacy policy) ---------- */
.doc { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.035em; margin: 12px 0 6px; line-height: 1.1; }
.doc h2 { font-size: 23px; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc a { color: var(--text); text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 14px 0; border: 1px solid var(--edge); border-radius: 18px; overflow: hidden; border-spacing: 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hair-strong); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { color: var(--on-lime); font-weight: 600; background: var(--lime); border-bottom-color: var(--edge); }
.doc .summary { background: var(--grey); border: 1px solid var(--edge); border-radius: 28px; padding: 22px 28px; box-shadow: 0 6px 0 var(--drop); margin: 28px 0 8px; }
.doc .summary p { margin: 0; }
.simple-foot { padding-block: 32px 48px; color: var(--muted); font-size: 15px; }
.simple-foot .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.simple-foot a { color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 36px; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .band-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 900px) {
  .browser-body { grid-template-columns: minmax(0, 1fr); }
  .panel { border-left: 0; border-top: 1px solid var(--edge); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cta-card { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
  .cta-card .ill { max-width: 260px; margin: 0 auto -20px; }
  .foot-mid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .wrap { padding-inline: 16px; }
  .nav { padding-block: 12px; gap: 10px; }
  .nav .links { gap: 10px; }
  .nav .links a.hide-sm { display: none; }
  .brand { font-size: 18px; }
  .brand .mark { width: 30px; height: 30px; }
  .theme-toggle { width: 38px; height: 38px; }
  .btn { padding: 16px 22px; }
  .btn.sm { padding: 10px 14px; font-size: 14.5px; }
  .ctas .btn { flex: 1 1 100%; }
  .page { padding: 20px 16px 76px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .cursor { display: none; }
  section.block { padding-block: 60px; }
  .sec-head { margin-bottom: 36px; }
  .card, .faq details, .cta-card, .band { border-radius: 28px; }
  .service { grid-template-columns: minmax(0, 1fr); padding: 30px 26px; min-height: 0; }
  .service h3 { font-size: 24px; }
  .step { padding: 30px 26px; }
  .band { padding: 40px 26px; }
  .band-grid { grid-template-columns: minmax(0, 1fr); }
  .band-grid > div, .band-grid > div:nth-child(3) { padding: 0 0 26px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .band-grid > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 32px 26px; }
  .faq { gap: 18px; }
  .faq details { padding: 0 22px; }
  .faq summary { gap: 14px; font-size: 18px; padding-block: 24px; }
  .faq summary .n { font-size: 30px; }
  .faq summary .pm { width: 42px; height: 42px; }
  .faq summary .pm::before, .faq summary .pm::after { width: 16px; margin-left: -8px; }
  .foot { padding: 40px 22px 32px; border-radius: 28px 28px 0 0; }
  .foot nav { margin-left: 0; gap: 18px; }
  .foot-cta { padding: 24px; }
  .foot-cta .btn { width: 100%; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-bottom: 0; padding: 4px 14px; }
  .doc tr { border-bottom: 1px solid var(--hair-strong); padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
