:root {
  color-scheme: dark;
  --paper: #ffffff;
  --ink: #231f20;
  --orange: #f5b01b;
  --night: #0f0d0e;
  --night-2: #181516;
  --text: #f4f1ec;
  --dim: #9a9396;
  --line: rgba(255, 255, 255, 0.08);
  --max: 1120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 16px/1.6 "Inter", "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  animation: pagein 0.8s var(--ease) 0.05s forwards;
}
body.leaving { animation: pageout 0.3s var(--ease) forwards; }
@keyframes pagein { to { opacity: 1; } }
@keyframes pageout { from { opacity: 1; } to { opacity: 0; } }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 65%);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 20%), rgba(245, 176, 27, 0.1), transparent 60%);
}
main, .site-footer { position: relative; z-index: 1; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 6px; }
.shell { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled { background: rgba(15, 13, 14, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: auto; height: 26px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a.button { color: var(--ink); }

.button {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 999px;
  background: var(--orange); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.button:hover { box-shadow: 0 10px 40px rgba(245, 176, 27, 0.35); }
.button.ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.18); }
.button.ghost:hover { box-shadow: none; border-color: rgba(255, 255, 255, 0.4); }
.nav-links .button { min-height: 0; padding: 9px 16px; font-size: 14px; }
.button:disabled { cursor: wait; opacity: 0.65; }

.page-head { padding: 120px 0 64px; }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -0.05em; }
h2 { margin: 56px 0 14px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { margin: 30px 0 8px; font-size: 1.2rem; letter-spacing: -0.02em; }
.lede { max-width: 640px; margin: 0; color: var(--dim); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.content { padding-bottom: 120px; }
.content > * { max-width: 760px; }
.content p, .content li { color: #c9c3c5; }
.content ul { padding-left: 22px; }
.content a, .article a { color: var(--orange); text-decoration-color: rgba(245, 176, 27, 0.4); text-underline-offset: 3px; }

/* demo form */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr); gap: 68px; padding-bottom: 120px; }
.form-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label, legend { font-weight: 600; font-size: 14px; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
  background: rgba(0, 0, 0, 0.3); color: var(--text); font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 176, 27, 0.15); }
select option { background: var(--night-2); }
textarea { min-height: 128px; resize: vertical; }
.optional { color: var(--dim); font-size: 0.87rem; font-weight: 500; }
.consent { grid-column: 1 / -1; padding-top: 4px; }
.consent label { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: 0.88rem; font-weight: 400; color: #c9c3c5; }
.consent input { width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--orange); }
.consent p { margin: 8px 0 0 33px; color: var(--dim); font-size: 0.8rem; }
.consent a { color: var(--orange); text-underline-offset: 2px; }
.turnstile { min-height: 65px; grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; gap: 16px; grid-column: 1 / -1; }
.form-status { min-height: 1.5em; margin: 0; color: var(--dim); }
.form-status[data-state="success"] { color: #3ddc84; }
.form-status[data-state="error"] { color: #ff7a6b; }
.side-note { align-self: start; padding-top: 12px; }
.side-note ol { padding-left: 22px; color: #c9c3c5; }
.side-note li { margin-bottom: 14px; }
.trust-line { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.9rem; }

.site-footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--text); }

/* blog */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 0 120px; }
.article-card {
  position: relative; display: flex; min-height: 320px; flex-direction: column; padding: 32px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 24px; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.article-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 50%), rgba(245, 176, 27, 0.14), transparent 60%);
}
.article-card:hover { border-color: rgba(245, 176, 27, 0.35); transform: translateY(-4px); }
.article-card:hover::before { opacity: 1; }
.article-card .meta { margin: 0 0 24px; color: var(--orange); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.article-card h2 { margin: 0 0 16px; font-size: 1.55rem; }
.article-card p { margin: 0; color: var(--dim); }
.article-card .read { margin-top: auto; padding-top: 28px; font-weight: 600; color: var(--orange); }
.article { padding-bottom: 120px; }
.article > * { max-width: 720px; }
.article p, .article li { color: #c9c3c5; font-size: 1.05rem; line-height: 1.7; }
.article > p:first-of-type { font-size: 1.2rem; color: var(--text); }
.article li { margin-bottom: 9px; }
.article .source-list { font-size: 0.94rem; }

/* onboarding */
.center { text-align: center; }
.center h1, .center .lede { margin-inline: auto; }
.timer {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 36px; padding: 14px 22px; border-radius: 18px;
  border: 1px solid rgba(245, 176, 27, 0.35); background: rgba(245, 176, 27, 0.06);
}
.timer b { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.04em; color: var(--orange); font-variant-numeric: tabular-nums; }
.timer span { color: var(--dim); }
.track { position: relative; max-width: 820px; margin: 40px auto 0; padding: 0 0 40px; }
.track::before { content: ""; position: absolute; left: 35px; top: 10px; bottom: 60px; width: 2px; background: var(--line); }
.track .fill { position: absolute; left: 35px; top: 10px; width: 2px; height: 0; background: linear-gradient(var(--orange), rgba(245,176,27,0.3)); box-shadow: 0 0 12px var(--orange); transition: height 0.2s linear; }
.stage { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 0 0 96px; }
.stage .dot {
  position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px;
  background: var(--night-2); border: 1px solid var(--line); color: var(--dim);
  transition: background 0.5s, border-color 0.5s, color 0.5s, box-shadow 0.5s;
}
.stage.in .dot { background: rgba(245, 176, 27, 0.12); border-color: rgba(245, 176, 27, 0.45); color: var(--orange); box-shadow: 0 0 40px rgba(245, 176, 27, 0.18); }
.stage .dot svg { width: 28px; height: 28px; }
.stage .when { color: var(--dim); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.stage h2 { margin: 8px 0 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.stage .who { display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.who.you { background: rgba(255,255,255,0.08); color: var(--text); }
.who.us { background: rgba(245, 176, 27, 0.14); color: var(--orange); }
.stage p { margin: 14px 0 0; color: var(--dim); font-size: 1.1rem; max-width: 46ch; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; max-width: 560px; }
.counters div { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.counters b { display: block; font-size: 1.7rem; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.counters span { color: var(--dim); font-size: 13px; }
.bar { height: 6px; margin-top: 16px; max-width: 560px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: inherit; transition: width 2.4s var(--ease); }
.stage.in .bar i { width: 100%; }
.nope { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 980px; margin: 64px auto 0; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.nope div { padding: 32px 24px; background: var(--night); text-align: left; }
.nope s { display: block; color: var(--dim); text-decoration-color: var(--orange); text-decoration-thickness: 2px; font-size: 1.1rem; }
.nope span { display: block; margin-top: 8px; font-size: 15px; }
.big-cta { padding: 160px 0 180px; }
.big-cta h2 { margin: 0 auto; max-width: 14ch; font-size: clamp(2.4rem, 5.6vw, 4.5rem); }
.big-cta .button { margin-top: 40px; }
section.block { padding: 120px 0 0; }

.footnote { max-width: 620px; margin: 72px auto 0; color: var(--dim); font-size: 14px; line-height: 1.6; }
sup { color: #6b6467; font-size: 0.8em; font-weight: 400; line-height: 0; vertical-align: super; margin-left: 2px; }
.footnote sup { font-size: 0.85em; margin: 0 2px 0 0; }

.next { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.side-note .next { padding: 0; }
.next li { position: relative; padding: 0 0 26px 52px; counter-increment: n; }
.next li::before {
  content: counter(n); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 11px; background: rgba(245, 176, 27, 0.12); border: 1px solid rgba(245, 176, 27, 0.35); color: var(--orange); font-weight: 600; font-size: 14px;
}
.next b { display: block; color: var(--text); font-size: 17px; }
.next span { display: block; color: var(--dim); font-size: 15px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 140px; }
.trust-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 32px; border-radius: 24px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transition: border-color 0.3s;
}
.trust-row:hover { border-color: rgba(245, 176, 27, 0.35); }
.trust-row:last-child { grid-column: 1 / -1; }
.trust-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: rgba(245, 176, 27, 0.1); border: 1px solid rgba(245, 176, 27, 0.25); color: var(--orange); }
.trust-icon svg { width: 24px; height: 24px; }
.trust-row h2 { margin: 4px 0 8px; font-size: 1.3rem; letter-spacing: -0.02em; }
.trust-row p { margin: 0; color: var(--dim); }
.trust-row a { color: var(--orange); }
.lost { min-height: calc(100vh - 180px); display: grid; align-content: center; }
.lost h1 { font-size: clamp(3rem, 9vw, 7rem); }
.lost-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } .trust-row { padding: 24px; grid-template-columns: 48px 1fr; gap: 16px; } .trust-icon { width: 48px; height: 48px; } }

/* reveal */
.r { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.r.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 860px) {
  .nope { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links a:not(.button) { display: none; }
  .page-head { padding-top: 72px; }
  .form-layout { grid-template-columns: 1fr; gap: 38px; }
  .field-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .field.full, .consent, .turnstile, .form-actions { grid-column: auto; }
  .stage { grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 72px; }
  .stage .dot { width: 52px; height: 52px; border-radius: 16px; }
  .track::before, .track .fill { left: 25px; }
  .counters { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .counters div { padding: 12px; }
  .counters b { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .form-actions { align-items: stretch; flex-direction: column; }
  .nope { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  body { opacity: 1; }
  .r { opacity: 1; transform: none; filter: none; }
  .bar i { width: 100%; }
}
