/* =========================================================
   Dynepta: the same design as the console (console/static/styles.css):
   square, dark, the green-to-blue gradient on what matters, soft tags,
   coloured edges for state. Little else.
   ========================================================= */
:root {
  --bg: #070d12;
  --bg-alt: #0a1219;
  --surface: #0e1820;
  --surface-2: #122029;
  --surface-3: #172832;
  --line: rgba(232, 238, 242, 0.08);
  --line-2: rgba(232, 238, 242, 0.14);

  --text: #e8eef2;
  --text-2: #adbcc7;
  --text-3: #6f808d;

  --green: #33e0a1;
  --teal: #37b4e8;
  --blue: #3b8cf6;
  --grad: linear-gradient(90deg, #33e0a1 0%, #37b4e8 50%, #3b8cf6 100%);
  --on-grad: #03140d;

  --ok: #2bf5a8;   --warn: #ffc93c;   --bad: #ff5470;   --run: #6eb0ff;
  --tint-ok: linear-gradient(90deg, rgba(43, 245, 168, 0.07), transparent 45%);
  --tint-warn: linear-gradient(90deg, rgba(255, 201, 60, 0.08), transparent 45%);

  /* The main elements' edge and glow, as in the console. */
  --edge: rgba(55, 180, 232, 0.17);
  --edge-grad: linear-gradient(90deg, rgba(51, 224, 161, 0.36), rgba(55, 180, 232, 0.24) 50%, rgba(59, 140, 246, 0.36));
  --glow: 0 0 28px -18px rgba(51, 224, 161, 0.22), 0 0 28px -18px rgba(59, 140, 246, 0.22);

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --gutter: 40px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
main [id] { scroll-margin-top: var(--nav-h); }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--text);
  background:
    radial-gradient(1100px 560px at 12% -6%, rgba(51, 224, 161, 0.06), transparent 65%),
    radial-gradient(1100px 600px at 92% -4%, rgba(59, 140, 246, 0.075), transparent 65%),
    var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
::selection { background: rgba(51, 224, 161, 0.3); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
code, pre, .mono { font-family: var(--mono); }
.dim { color: var(--text-3); }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label { font-size: 13px; font-weight: 500; color: var(--teal); }

/* ---------- Buttons: filled in the gradient, or outlined ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; font-size: 15px; font-weight: 500; line-height: 1.3; white-space: nowrap;
  background: transparent; border: 1px solid transparent; cursor: pointer; transition: filter .15s ease, border-color .15s ease, background-color .15s ease;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-primary { background: var(--grad) border-box; color: var(--on-grad); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(232, 238, 242, 0.32); background: rgba(232, 238, 242, 0.04); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--teal); }
.text-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn:focus-visible, .text-btn:focus-visible, summary:focus-visible, .nav-toggle:focus-visible, a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 13, 18, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad); opacity: .8; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-full { display: block; height: 26px; width: auto; aspect-ratio: 437.88 / 104.76; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links > a { font-size: 14.5px; font-weight: 500; color: var(--text-2); padding: 8px 12px; transition: color .15s ease; }
.nav-links > a:hover { color: var(--text); }
.nav-mobile-ctas { display: none; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 1px solid var(--line-2); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 112px 0 0; overflow: hidden; }
.hero-head { position: relative; text-align: center; }
/* The backdrop: a faint grid fading out from the centre, and a soft green and blue glow behind the console. */
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .7; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; left: 50%; top: 420px; width: 1100px; height: 520px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side at 35% 50%, rgba(51, 224, 161, 0.18), transparent), radial-gradient(closest-side at 65% 50%, rgba(59, 140, 246, 0.2), transparent);
  filter: blur(20px);
}
.hero h1 { font-size: 76px; line-height: 1.02; letter-spacing: -0.045em; }
.hero-sub { margin: 24px auto 36px; max-width: 560px; font-size: 18.5px; color: var(--text-2); }
.hero .btn-row { justify-content: center; }
.hero-stage { position: relative; margin-top: 72px; }

/* The console, as it looks: a picture of the product, with fictional data. */
.shot {
  position: relative; max-width: 1080px; margin: 0 auto; background: var(--bg-alt);
  border: 1px solid var(--edge); border-image: var(--edge-grad) 1; box-shadow: var(--glow), 0 50px 120px -50px rgba(0, 0, 0, 0.9);
  mask-image: linear-gradient(#000 70%, transparent 100%); -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
  font-size: 13px;
}
.shot-top { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.shot-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad); opacity: .8; }
.console-brand { display: flex; align-items: center; }
.console-logo { display: block; height: 14px; width: auto; aspect-ratio: 437.88 / 104.76; }
.shot-div { width: 1px; height: 20px; background: var(--line-2); }
.shot-env { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 500; }
.shot-env i { width: 6px; height: 6px; background: var(--ok); box-shadow: 0 0 8px rgba(43, 245, 168, 0.45); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; font-size: 11.5px; font-weight: 500; font-style: normal; line-height: 1.5; white-space: nowrap; }
.tag.prod { color: var(--warn); background: rgba(255, 201, 60, 0.13); }
.tag.ok { color: var(--ok); background: rgba(43, 245, 168, 0.1); }
.tag.warn { color: var(--warn); background: rgba(255, 201, 60, 0.11); }
.tag.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.shot-av { margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: linear-gradient(135deg, rgba(51, 224, 161, 0.22), rgba(59, 140, 246, 0.28)); border: 1px solid var(--line-2); }
.shot-tabs { display: flex; gap: 2px; padding: 0 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.shot-tabs span { position: relative; padding: 11px 12px; font-weight: 500; color: var(--text-3); }
.shot-tabs span.on { color: var(--text); }
.shot-tabs span.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--grad); }
.shot-body { padding: 22px 22px 26px; }
.shot-title { font-size: 21px; letter-spacing: -0.03em; }
.shot-sub { margin-top: 2px; color: var(--text-2); font-size: 12.5px; }
.panel { border: 1px solid var(--line); background: var(--bg-alt); }
.panel.main { border-color: var(--edge); border-image: var(--edge-grad) 1; box-shadow: var(--glow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
.panel-head small { font-weight: 400; color: var(--text-3); font-size: 12px; }
.shot .panel { margin-top: 14px; }

/* The data flow, with a pulse travelling along it, layer by layer. */
.flow { display: flex; align-items: stretch; padding: 16px 14px; }
.flow > li:not(.gate) { flex: 1 1 0; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-2); background: var(--surface); }
.flow b { display: block; font-weight: 500; }
.flow span { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.flow small { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gate { position: relative; flex: 0 0 34px; }
.gate::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(43, 245, 168, 0.35); }
.gate::after {
  content: ""; position: absolute; top: calc(50% - 0.5px); left: 0; width: 14px; height: 2px;
  background: var(--ok); box-shadow: 0 0 8px var(--ok); opacity: 0; animation: pulse-x 3.6s linear infinite; animation-delay: calc(var(--i) * 0.45s);
}
@keyframes pulse-x { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 30% { left: calc(100% - 14px); opacity: 1; } 36%, 100% { left: calc(100% - 14px); opacity: 0; } }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { padding: 13px 16px; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi > span { display: block; font-size: 12px; color: var(--text-3); }
.kpi b { display: block; margin-top: 4px; font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -0.035em; }
.kpi b small { font-size: 13px; color: var(--text-3); font-weight: 400; }
.kpi em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: var(--text-3); }
.kpi em.ok { color: var(--ok); }
.kpi b.kpi-state { display: flex; align-items: center; gap: 9px; margin: 9px 0 6px; font-size: 15px; letter-spacing: 0; color: var(--ok); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* A list item's state as a coloured edge and a tint, as in the console. */
.items li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.items .ok { box-shadow: inset 3px 0 0 rgba(43, 245, 168, 0.75); background: var(--tint-ok); }
.items .warn { box-shadow: inset 3px 0 0 var(--warn); background: var(--tint-warn); }
.items .run { box-shadow: inset 3px 0 0 var(--run); background: linear-gradient(90deg, rgba(110, 176, 255, 0.09), transparent 45%); }
.items .txt { flex: 1; min-width: 0; }
.items .txt b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.items .txt small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.items time { font-size: 12px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.dot.ok { background: var(--ok); box-shadow: 0 0 6px rgba(43, 245, 168, 0.5); }
.dot.warn { background: var(--warn); }
.dot.run { background: var(--run); animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(110, 176, 255, 0.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(110, 176, 255, 0); } }
.items li.is-new { animation: arrive .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.head { max-width: 640px; margin-bottom: 48px; }
.head h2 { margin-top: 10px; font-size: 44px; line-height: 1.08; letter-spacing: -0.04em; }
.head p { margin-top: 14px; font-size: 17px; color: var(--text-2); }
.head .label { margin: 0; font-size: 13px; color: var(--teal); }

/* How it works: the four steps, drawn like the console's data flow. */
.steps { display: flex; align-items: stretch; padding: 22px; }
.steps > li:not(.gate) { flex: 1 1 0; min-width: 0; padding: 18px; border: 1px solid var(--line-2); background: var(--surface); }
.steps i { display: block; font-style: normal; font-size: 12px; font-weight: 500; color: var(--teal); }
.steps b { display: block; margin-top: 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.steps small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.steps .gate { flex-basis: 30px; }
.steps-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.steps-foot span { display: inline-flex; align-items: center; gap: 9px; }
.steps-foot svg { width: 16px; height: 16px; color: var(--ok); }

/* What's included: an icon, a name, one line. */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid > li { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--teal); background: linear-gradient(135deg, rgba(51, 224, 161, 0.13), rgba(59, 140, 246, 0.17)); border: 1px solid var(--line-2); }
.icon svg { width: 19px; height: 19px; }
.grid h3 { margin-top: 18px; font-size: 18px; letter-spacing: -0.015em; }
.grid p { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* Who it's for: what hurts, and what changes. */
.fits { border: 1px solid var(--line); }
.fits li { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--line); box-shadow: inset 3px 0 0 rgba(43, 245, 168, 0.75); background: var(--tint-ok); }
.fits li:first-child { border-top: 0; }
.fits b { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.fits svg { width: 18px; height: 18px; color: var(--text-3); }
.fits span { font-size: 16px; color: var(--ok); }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 28px; }
.sectors li { padding: 6px 12px; font-size: 14px; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); }
.sectors li:first-child { border-color: var(--edge); border-image: var(--edge-grad) 1; }

/* How we start: four steps, one line each. */
.start { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.start li { position: relative; padding: 26px 24px 0 0; }
.start li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--grad); }
.start i { font-style: normal; font-size: 12px; font-weight: 500; color: var(--teal); }
.start b { display: block; margin-top: 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.start p { margin-top: 6px; font-size: 15px; color: var(--text-2); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 72px; align-items: start; }
.faq .head { position: sticky; top: calc(var(--nav-h) + 40px); margin: 0; }
.faq .text-btn { margin-top: 22px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 17.5px; font-weight: 500; letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .25s ease; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--teal); }
.faq-list details p { padding: 0 40px 22px 0; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }

/* Contact */
.cta { padding: 88px 40px; text-align: center; background: var(--bg-alt); border: 1px solid var(--edge); border-image: var(--edge-grad) 1; box-shadow: var(--glow); }
.cta h2 { font-size: 44px; line-height: 1.08; letter-spacing: -0.04em; }
.cta p { margin: 14px auto 32px; max-width: 520px; font-size: 17px; color: var(--text-2); }
.cta .btn-row { justify-content: center; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-top: 0; }
.details-grid > div { padding: 18px 22px; min-width: 0; }
.details-grid > div + div { border-left: 1px solid var(--line); }
.details-grid span { display: block; font-size: 12px; color: var(--text-3); }
.details-grid b, .details-grid a { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.details-grid a:hover { color: var(--teal); }

/* Details still to be filled in before launch: loud on purpose. */
mark.ph { background: rgba(255, 201, 60, 0.12); color: var(--warn); border: 1px dashed rgba(255, 201, 60, 0.6); padding: 0 5px; font-family: var(--mono); font-size: 0.88em; }

/* ---------- Footer ---------- */
.footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 48px 0 0; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; }
.footer-brand p { margin-top: 12px; max-width: 320px; font-size: 14px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; max-width: 560px; justify-content: flex-end; }
.footer-links a, .footer-link-btn { font-size: 14px; color: var(--text-2); background: none; border: 0; padding: 0; cursor: pointer; }
.footer-links a:hover, .footer-link-btn:hover { color: var(--text); }
.footer-legal { padding: 18px 0; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.7; color: var(--text-3); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 18px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* ---------- Legal pages and sign-in ---------- */
.legal-hero { position: relative; overflow: hidden; padding: 88px 0 48px; border-bottom: 1px solid var(--line); }
.legal-hero .wrap { position: relative; }
.legal-hero .hero-grid-bg { mask-image: radial-gradient(ellipse 60% 90% at 20% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 20% 0%, #000 10%, transparent 70%); }
.legal-hero h1 { margin-top: 12px; font-size: 48px; line-height: 1.08; letter-spacing: -0.04em; }
.legal-hero .lede { margin-top: 16px; max-width: 680px; font-size: 17.5px; color: var(--text-2); }
.legal-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; color: var(--text-3); }
.legal-meta b { color: var(--text-2); font-weight: 500; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); border-left: 1px solid var(--line); }
.toc p { font-size: 12px; font-weight: 500; color: var(--text-3); padding: 0 0 10px 16px; }
.toc a { display: block; padding: 5px 0 5px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--text-2); }
.toc a:hover { color: var(--text); border-left-color: var(--teal); }
.prose { max-width: 760px; }
.prose > section + section { margin-top: 52px; padding-top: 52px; border-top: 1px solid var(--line); }
.prose h2 { font-size: 25px; line-height: 1.25; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2 .n { font-size: 14px; color: var(--teal); margin-right: 12px; letter-spacing: 0; vertical-align: 3px; }
.prose h3 { margin-top: 30px; font-size: 18px; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.prose p { margin-top: 14px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a:not(.btn) { color: var(--text); border-bottom: 1px solid rgba(55, 180, 232, 0.5); }
.prose a:not(.btn):hover { color: var(--teal); }
.prose ul, .prose ol { margin-top: 12px; }
.prose ul li { position: relative; padding-left: 20px; margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; background: var(--grad); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 32px; margin-top: 10px; counter-increment: li; }
.prose ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-size: 13px; font-weight: 500; color: var(--teal); }
.prose table { width: 100%; margin-top: 18px; border-collapse: collapse; border: 1px solid var(--line); font-size: 14.5px; }
.prose th { text-align: left; font-weight: 500; font-size: 13px; color: var(--text-3); background: var(--surface); padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); line-height: 1.6; }
.prose td:first-child { color: var(--text); width: 34%; }
.table-scroll { overflow-x: auto; }
.prose dl { margin-top: 18px; border: 1px solid var(--line); }
.prose dl > div { display: grid; grid-template-columns: 210px 1fr; border-bottom: 1px solid var(--line); }
.prose dl > div:last-child { border-bottom: 0; }
.prose dt { padding: 13px 14px; background: var(--surface); font-size: 13.5px; color: var(--text-3); }
.prose dd { margin: 0; padding: 13px 14px; font-size: 15px; color: var(--text); line-height: 1.6; overflow-wrap: anywhere; }
.callout { margin-top: 22px; padding: 18px 20px; background: var(--bg-alt); border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--blue); }
.callout p { margin-top: 0; font-size: 15px; }
.callout p + p { margin-top: 10px; }
.callout-green { box-shadow: inset 3px 0 0 var(--green); }
.doc-list { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-card { display: block; padding: 20px; border: 1px solid var(--line); background: var(--bg-alt); transition: border-color .2s ease; }
.prose a.doc-card, .prose a.doc-card:hover { border-bottom: 1px solid var(--line); color: inherit; }
.doc-card:hover, .prose a.doc-card:hover { border-color: var(--teal); }
.doc-card b { display: block; font-size: 16px; font-weight: 500; color: var(--text); }
.doc-card span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.signin-hero { min-height: calc(100vh - var(--nav-h) - 160px); }
.signin-card { margin-top: 32px; max-width: 460px; padding: 28px; border: 1px solid var(--edge); border-image: var(--edge-grad) 1; box-shadow: var(--glow); background: var(--bg-alt); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.signin-button { width: 100%; min-height: 44px; }
.signin-status { min-height: 1.5em; font-size: 15px; color: var(--text-2); }
.signin-status:empty { display: none; }
.signin-status[data-tone="ok"] { color: var(--ok); }
.signin-status[data-tone="bad"] { color: var(--warn); }
.signin-switch { font-size: 14px; color: var(--text-3); border-bottom: 1px solid var(--line-2); }
.signin-switch:hover { color: var(--text); border-color: var(--teal); }
.signin-notes { margin-top: 28px; max-width: 620px; display: flex; flex-direction: column; gap: 8px; }
.signin-notes li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text-3); }
.signin-notes li::before { content: "→"; position: absolute; left: 0; }
.signin-notes a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.notfound { min-height: calc(100vh - var(--nav-h) - 200px); display: flex; align-items: center; padding: 96px 0; }
.notfound h1 { margin-top: 12px; font-size: 60px; letter-spacing: -0.045em; }
.notfound p { margin: 14px 0 30px; font-size: 18px; color: var(--text-2); max-width: 520px; }

/* ---------- Cookie consent (js/consent.js) ---------- */
.cc-banner { position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(540px, calc(100vw - 48px)); background: rgba(14, 24, 32, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8); padding: 20px 22px; animation: ccIn .4s cubic-bezier(.2,.7,.2,1) both; }
.cc-banner::before, .cc-dialog::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--grad); }
.cc-banner[hidden], .cc-modal[hidden] { display: none; }
@keyframes ccIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cc-title { font-size: 16px; font-weight: 500; }
.cc-banner-text p:not(.cc-title) { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.cc-banner a, .cc-dialog-head a { color: var(--text); border-bottom: 1px solid rgba(55, 180, 232, 0.5); }
.cc-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.cc-actions .btn { flex: 1 1 auto; }
.cc-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(3, 7, 10, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cc-dialog { position: relative; width: min(540px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9); animation: ccIn .3s cubic-bezier(.2,.7,.2,1) both; }
.cc-dialog-head { padding: 26px 26px 18px; }
.cc-dialog-head h2 { margin-top: 8px; font-size: 24px; }
.cc-dialog-head p:not(.label) { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.cc-cat { padding: 16px 26px; border-top: 1px solid var(--line); }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cc-cat-head b { display: block; font-size: 15px; font-weight: 500; }
.cc-cat-head span:not(.cc-switch) { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.cc-cat > p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.cc-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cc-switch { flex-shrink: 0; position: relative; width: 44px; height: 24px; background: rgba(232, 238, 242, 0.1); border: 1px solid var(--line-2); cursor: pointer; padding: 0; transition: background-color .2s ease, border-color .2s ease; }
.cc-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--text-2); transition: transform .2s ease, background-color .2s ease; }
.cc-switch[aria-checked="true"], .cc-switch.is-locked { background: rgba(51, 224, 161, 0.2); border-color: rgba(51, 224, 161, 0.55); }
.cc-switch[aria-checked="true"] i, .cc-switch.is-locked i { transform: translateX(20px); background: var(--green); }
.cc-switch.is-locked { cursor: not-allowed; opacity: .6; }
body.cc-lock { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1023px) {
  :root { --gutter: 24px; }
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  /* The nav's blur would make it the box a fixed menu measures from (64px tall): no blur while open,
     and the menu's own height, so it always fills the screen under the bar. */
  .nav:has(.nav-links.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100dvh - var(--nav-h)); margin: 0; padding: 8px var(--gutter) 32px; background: var(--bg); overflow-y: auto; z-index: 60; }
  .nav-links.is-open > a { padding: 18px 0; font-size: 20px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links.is-open .nav-mobile-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero { padding-top: 80px; }
  .hero h1 { font-size: 54px; }
  .shot-tabs span:nth-child(n+5) { display: none; }
  .section { padding: 88px 0; }
  .head h2, .cta h2 { font-size: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq .head { position: static; }
  .legal-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .toc { position: static; }
  .legal-hero h1 { font-size: 40px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-stage { margin-top: 48px; overflow: hidden; }
  .shot { width: 760px; max-width: none; }
  .steps { flex-direction: column; padding: 16px; }
  .steps .gate { flex-basis: 22px; }
  .steps .gate::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps .gate::after { left: calc(50% - 0.5px); top: 0; width: 2px; height: 12px; animation-name: pulse-y; }
  .grid { grid-template-columns: 1fr; }
  .fits li { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .fits svg { transform: rotate(90deg); }
  .start { grid-template-columns: 1fr; }
  .cta { padding: 60px 22px; }
  .head h2, .cta h2 { font-size: 30px; }
  .details-grid { grid-template-columns: 1fr; }
  .details-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-links { justify-content: flex-start; }
  .legal-hero h1 { font-size: 32px; }
  .prose dl > div { grid-template-columns: 1fr; }
  .doc-list { grid-template-columns: 1fr; }
  .cc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .cc-actions .btn { flex: 1 1 calc(50% - 5px); }
  .cc-actions .btn-primary { flex-basis: 100%; }
}
@keyframes pulse-y { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 30% { top: calc(100% - 12px); opacity: 1; } 36%, 100% { top: calc(100% - 12px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
