:root {
  --bg: #000;
  --ink: #f4f1ec;
  --ink-2: rgba(244, 241, 236, 0.66);
  --ink-3: rgba(244, 241, 236, 0.42);
  --line: rgba(244, 241, 236, 0.16);
  --display: "Archivo", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --pad: 24px;
  --hold: 3600ms;
}
@media (min-width: 900px) { :root { --pad: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--ink-2); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid rgba(244, 241, 236, 0.7); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- home ---------- */
body.home { display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; overflow-x: hidden; }

.glow { display: none; position: fixed; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(60vmax 40vmax at 78% 40%, rgba(255, 236, 205, 0.10), transparent 60%),
  radial-gradient(50vmax 50vmax at 10% 100%, rgba(255, 255, 255, 0.04), transparent 60%); }

.beam { position: fixed; left: -40vw; top: -40vh; width: 180vw; height: 180vh; z-index: 0; pointer-events: none; will-change: transform; transform-origin: 50% 50%;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.055), rgba(255,255,255,0) 100%) 18% 22% / 90vw 80vh no-repeat,
    radial-gradient(closest-side, rgba(255,248,236,0.045), rgba(255,248,236,0) 100%) 78% 68% / 84vw 84vh no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,0.03), rgba(255,255,255,0) 100%) 55% 20% / 110vw 70vh no-repeat;
  animation: shimmer 28s ease-in-out infinite alternate; }
@keyframes shimmer {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  50%  { transform: translate3d(2%, 3%, 0) scale(1.08); }
  100% { transform: translate3d(4%, -3%, 0) scale(1.03); }
}

.top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad) 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.brand-icon { width: 28px; height: 28px; border-radius: 7px; display: block; }
.top-note { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

.hero-copy { container-type: inline-size; min-width: 0; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 40px; align-content: center; padding: 32px var(--pad) 40px; max-width: 1320px; margin: 0 auto; width: 100%; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 0; padding-bottom: 0; } }

.hero-visual { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; height: 46vh; }
#build { display: block; width: 100%; height: 100%; }
@media (min-width: 960px) { .hero-visual { height: auto; min-height: 520px; align-self: center; }
  #build { height: 60vh; min-height: 520px; max-height: 760px; } }

.title { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.9; font-size: clamp(40px, 13.2cqw, 120px); white-space: nowrap; color: var(--ink); }

.pill { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 460px; margin-top: 32px; padding: 6px 6px 6px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color 200ms, box-shadow 200ms; }
.pill:focus-within { border-color: rgba(244, 241, 236, 0.45); box-shadow: 0 0 0 4px rgba(244, 241, 236, 0.07); }
.pill input[type="email"] { flex: 1 1 auto; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; }
.pill input[type="email"]::placeholder { color: var(--ink-3); }
.pill button { flex: 0 0 auto; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #000; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: transform 160ms, background 160ms; }
.pill button:hover { background: #fff; }
.pill button:active { transform: scale(0.98); }
.pill button[disabled] { opacity: 0.6; cursor: default; }
.btn-short { display: none; }
@media (max-width: 480px) { .btn-long { display: none; } .btn-short { display: inline; } .pill button { padding: 0 18px; } }
.cf-turnstile:not(:empty) { flex-basis: 100%; }
.form-status { position: absolute; left: 0; right: 0; top: calc(100% + 10px); margin: 0; font-size: 13px; color: var(--ink-3); }
.form-status[data-state="error"] { color: #f2b8a2; }
.form-status[data-state="ok"] { position: static; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 16px; color: var(--ink); padding: 10px 0; }
.hero-note { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }
.hero-note a { color: var(--ink-2); }

.steps { position: relative; margin-top: 30px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; min-height: 3.2em; font-size: clamp(20px, 4.6cqw, 34px); }
.step { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: 3px 1fr; gap: 16px; align-items: start; margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 100%; text-transform: uppercase; letter-spacing: 0; line-height: 0.98; font-size: inherit; color: var(--ink); opacity: 0; transform: translateY(22px); pointer-events: none; transition: opacity 620ms cubic-bezier(.22,1,.36,1), transform 620ms cubic-bezier(.22,1,.36,1); }
.step-bar { position: relative; display: block; width: 3px; height: 100%; min-height: 2em; border-radius: 2px; background: rgba(244, 241, 236, 0.12); overflow: hidden; }
.step-bar i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--ink); transform: scaleY(0); transform-origin: top; }
.step-text { display: block; }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step.is-active .step-bar i { animation: fill var(--hold) linear forwards; }
.step.is-leaving { opacity: 0; transform: translateY(-22px); }
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.steps-dots { display: flex; gap: 8px; margin-top: 20px; }
.steps-dots span { width: 22px; height: 2px; border-radius: 1px; background: rgba(244, 241, 236, 0.16); transition: background 300ms; }
.steps-dots span.on { background: var(--ink); }
@media (max-width: 959px) { .steps-list { font-size: clamp(22px, 6.4cqw, 34px); min-height: 3.4em; } }

.bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; padding: 0 var(--pad) 24px; font-size: 12px; color: var(--ink-3); }
.bottom nav { display: flex; gap: 18px; }
.bottom p { margin: 0; }

.hero-copy > * { animation: rise 900ms cubic-bezier(.22,1,.36,1) both; }
.hero-copy > :nth-child(2) { animation-delay: 140ms; }
.hero-copy > :nth-child(3) { animation-delay: 240ms; }
.hero-copy > :nth-child(4) { animation-delay: 320ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- legal pages ---------- */
.site-header { padding: 28px var(--pad) 0; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.site-nav { display: flex; gap: 18px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.page { padding: 64px var(--pad) 96px; }
.wrap--narrow { max-width: 680px; margin: 0 auto; }
.page-body { background: var(--bg); }
.content-card h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: clamp(36px, 5vw, 56px); line-height: 0.95; letter-spacing: -0.01em; }
.content-card h2 { margin: 40px 0 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 20px; line-height: 1.15; }
.content-card h3 { margin: 28px 0 6px; font-size: 16px; font-weight: 600; }
.content-card p, .content-card li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.content-card a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
.meta { font-size: 13px; color: var(--ink-3); }
.error-page { text-align: center; padding-top: 20vh; }
.error-page h1 { font-family: var(--display); font-weight: 400; font-size: 44px; }
.site-footer { padding: 0 var(--pad) 28px; font-size: 12px; color: var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 14px; }
.footer-sep { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > * { animation: none !important; }
  .step, .step.is-active { transition: none; transform: none; }
  .step.is-active .step-bar i { animation: none; transform: scaleY(1); }
  .beam { animation: none; }
}
