:root {
  --radius: 1rem;
  --ink: oklch(14.8% .022 262);
  --brand: oklch(51.1% .262 276.966);
  --brand-bright: oklch(58.5% .233 277.117);
  --glow: oklch(78.9% .154 211.7);
  --foreground: oklch(98.4% .003 247.858);
  --card: oklch(19.6% .03 264);
  --secondary: oklch(26% .04 264);
  --muted-foreground: oklch(72% .02 258);
  --border: oklch(100% 0 0/.12);
  --input: oklch(100% 0 0/.16);

  --gradient: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand) 42%, var(--glow) 100%);
  --glass: rgba(255, 255, 255, .045);
  --glass-strong: rgba(255, 255, 255, .06);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .08);
  --display: "Michroma", "Space Grotesk", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(60rem 40rem at 85% -10%, oklch(51.1% .262 276.966 / .28), transparent 60%),
    radial-gradient(50rem 36rem at -10% 30%, oklch(78.9% .154 211.7 / .12), transparent 60%),
    radial-gradient(40rem 30rem at 70% 110%, oklch(58.5% .233 277.117 / .16), transparent 60%);
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 14px);
  background-size: 64px 64px, 64px 64px, auto;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

p { margin: 0 0 1rem; }

h1, h2, h3 { margin: 0; }

h1, h2, .wordmark {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(1.5rem, .6rem + 4.2vw, 3.75rem); }
h1, h2 { overflow-wrap: break-word; }
h2 { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }

.em { color: var(--glow); }
.hl {
  background: linear-gradient(transparent 62%, oklch(51.1% .262 276.966 / .6) 62%);
  padding: 0 .1em;
}

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
  border-radius: .4rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--glow);
}
.eyebrow.muted { color: var(--muted-foreground); }

.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted-foreground); max-width: 40rem; }
.muted { color: var(--muted-foreground); }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 var(--pad);
}
.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1.1rem;
  background: oklch(14.8% .022 262 / .6);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow: var(--highlight), 0 10px 40px rgba(0, 0, 0, .25);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 30px; height: auto; }
.brand .wordmark { font-size: .95rem; letter-spacing: .02em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: .95rem;
  text-decoration: none;
  color: var(--muted-foreground);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--foreground); background: rgba(255, 255, 255, .06); }
.nav-links .btn { color: #fff; margin-left: .4rem; }
.nav-links .btn:hover { background: var(--gradient); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--foreground);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .nav-links { width: 100%; flex-direction: column; align-items: stretch; padding: .5rem 0 .25rem; }
  .nav-links a { display: block; padding: .8rem 1rem; }
  .nav-links .btn { margin: .4rem 0 0; text-align: center; }
  .js .nav-links { display: none; }
  .js .nav.open .nav-links { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: var(--gradient);
  color: #fff;
  font: 600 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 30px oklch(51.1% .262 276.966 / .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 40px oklch(58.5% .233 277.117 / .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--highlight);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: var(--highlight); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--highlight);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 0 20px oklch(58.5% .233 277.117 / .45), inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-head h2 { margin-bottom: 1rem; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Payroll card visual */
.card-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem 0;
  perspective: 1200px;
}
.card-stage::before {
  content: "";
  position: absolute;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(58.5% .233 277.117 / .45), oklch(78.9% .154 211.7 / .15) 45%, transparent 70%);
  filter: blur(30px);
}
.pay-card {
  position: relative;
  width: min(100%, 23rem);
  aspect-ratio: 1.586;
  border-radius: 1.4rem;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .28), transparent 40%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 40%, oklch(62% .2 250) 65%, var(--glow) 100%);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 30px 80px oklch(51.1% .262 276.966 / .5), 0 0 60px oklch(78.9% .154 211.7 / .25), inset 0 1px 0 rgba(255, 255, 255, .4);
  transform: rotateX(10deg) rotateY(-16deg) rotateZ(4deg);
  transform-style: preserve-3d;
  animation: card-float 7s ease-in-out infinite;
}
.pay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%);
  background-size: 250% 100%;
  animation: card-sheen 7s ease-in-out infinite;
  pointer-events: none;
}
.pay-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pay-card-top img { width: 2.6rem; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.pay-card-label { font-size: .7rem; font-weight: 700; letter-spacing: .3em; opacity: .9; }
.chip {
  width: 3rem; height: 2.3rem;
  border-radius: .45rem;
  background:
    linear-gradient(90deg, transparent 32%, rgba(0, 0, 0, .18) 32% 35%, transparent 35% 65%, rgba(0, 0, 0, .18) 65% 68%, transparent 68%),
    linear-gradient(0deg, transparent 45%, rgba(0, 0, 0, .18) 45% 55%, transparent 55%),
    linear-gradient(135deg, #f3e3b0, #c9a95a 55%, #f0dc9c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
.pay-card-name { font-family: var(--display); font-size: clamp(.95rem, .8rem + .6vw, 1.2rem); letter-spacing: .02em; }
@keyframes card-float {
  0%, 100% { transform: rotateX(10deg) rotateY(-16deg) rotateZ(4deg) translateY(0); }
  50% { transform: rotateX(4deg) rotateY(-8deg) rotateZ(2deg) translateY(-14px); }
}
@keyframes card-sheen {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 1rem; padding: 0 .5rem; margin: 0; list-style: none; }
.marquee-list li {
  white-space: nowrap;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--highlight), 0 0 24px oklch(78.9% .154 211.7 / .12);
  font-weight: 500;
}
.marquee-list li::before {
  content: "";
  display: inline-block;
  width: .45rem; height: .45rem;
  margin-right: .6rem;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
  vertical-align: middle;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.why-grid .section-head { margin-bottom: 0; }
.aside-note {
  display: inline-block;
  margin: .5rem 0 1.5rem;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--glow);
  transform: rotate(-2deg);
  border-bottom: 1px dashed oklch(78.9% .154 211.7 / .5);
}
@media (max-width: 860px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

/* Tabs */
.flow { padding: clamp(1.25rem, 3vw, 2rem); }
.tablist {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}
.tablist::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
.tab-progress {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 1;
  height: 2px;
  width: 25%;
  border-radius: 2px;
  background: var(--gradient);
  box-shadow: 0 0 12px var(--glow);
  transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  padding: .8rem 1rem;
  border-radius: .9rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted-foreground);
  font: 500 1rem/1.3 var(--body);
  text-align: left;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab .tab-num { font-size: .75rem; letter-spacing: .15em; color: var(--glow); }
.tab:hover { color: var(--foreground); background: rgba(255, 255, 255, .04); }
.tab[aria-selected="true"] { color: var(--foreground); background: rgba(255, 255, 255, .07); border-color: var(--border); }
.panels { display: grid; gap: 1.5rem; }
.panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); margin: .2rem 0 .75rem; }
.panel p { color: var(--muted-foreground); max-width: 42rem; }
.panel .badge { width: 3rem; height: 3rem; font-size: .9rem; }
.js .panel { animation: fade-up .45s ease both; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--glow);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.text-link::after { content: "\2192"; }
@media (max-width: 640px) {
  .tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-progress { display: none; }
  .panel { grid-template-columns: minmax(0, 1fr); }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Card grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.tile {
  position: relative;
  padding: 1.6rem;
  border-radius: 1.4rem;
  transition: transform .3s, border-color .3s, background .3s;
}
.tile:hover { transform: translateY(-3px); border-color: oklch(78.9% .154 211.7 / .35); background: rgba(255, 255, 255, .06); }
.tile h3 { margin: 1.1rem 0 .6rem; }
.tile p { color: var(--muted-foreground); margin: 0; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { border-radius: 1.1rem; overflow: hidden; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--glow);
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: oklch(78.9% .154 211.7 / .3); }
.faq .answer { padding: 0 1.4rem 1.25rem; color: var(--muted-foreground); }
.faq .answer p { margin: 0; }

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: 1.75rem;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(ellipse at center, oklch(51.1% .262 276.966 / .35), transparent 65%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { max-width: 44rem; margin: 0 auto 1.25rem; }
.cta p { max-width: 38rem; margin: 0 auto; color: var(--muted-foreground); }
.cta .actions { justify-content: center; }

/* Long form / guide */
.page-intro { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-intro h1 { max-width: 52rem; }
.doc-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.toc { position: sticky; top: 6.5rem; padding: 1.25rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.toc a {
  display: flex;
  gap: .6rem;
  padding: .5rem .6rem;
  border-radius: .6rem;
  font-size: .92rem;
  line-height: 1.35;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.toc a:hover, .toc a.active { color: var(--foreground); background: rgba(255, 255, 255, .06); }
.toc a .n { color: var(--glow); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}
.doc { max-width: 46rem; }
.doc section { padding: 0 0 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--border); }
.doc section:last-child { border-bottom: 0; margin-bottom: 0; }
.doc h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.1rem, .95rem + .8vw, 1.55rem);
  margin-bottom: 1.25rem;
}
.doc p, .doc li { color: oklch(88% .01 258); }
.doc ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.doc li { margin-bottom: .45rem; }
.doc li::marker { color: var(--glow); }
.doc a { color: var(--glow); text-underline-offset: .2em; }
.doc .intro-p { font-size: 1.15rem; color: var(--muted-foreground); }

.checklist { padding: clamp(1.5rem, 4vw, 2.25rem); }
.checklist h2 { margin-bottom: 1.5rem; }
.checklist ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; }
.checklist li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .8rem 1rem;
  border-radius: .9rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  margin: 0;
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.3rem; height: 1.3rem;
  margin-top: .2rem;
  border-radius: .4rem;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='6'/%3E%3C/svg%3E") center/contain;
  box-shadow: 0 0 12px oklch(78.9% .154 211.7 / .4);
}
.checklist li { position: relative; }
.checklist li::after {
  content: "";
  position: absolute;
  left: 1.42rem; top: 1.12rem;
  width: .35rem; height: .65rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Company */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.behind { padding: clamp(1.75rem, 5vw, 3rem); border-radius: 1.75rem; }
.behind h2 { margin-bottom: 1.25rem; }
.behind p { color: var(--muted-foreground); max-width: 46rem; margin: 0; }
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Signup */
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.signup-grid h1 { font-size: clamp(1.5rem, .6rem + 2.6vw, 2.25rem); }
@media (max-width: 900px) { .signup-grid { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--muted-foreground); }
.ticks li::before {
  content: "";
  flex-shrink: 0;
  width: .55rem; height: .55rem;
  margin-top: .55rem;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
}
.notice {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: oklch(78.9% .154 211.7 / .08);
  border: 1px solid oklch(78.9% .154 211.7 / .4);
  color: var(--foreground);
}
.notice p { margin: 0; }
.notice::before {
  content: "i";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--glow);
  color: var(--ink);
  font-weight: 700;
  font-size: .85rem;
  font-style: italic;
}
.form { padding: clamp(1.5rem, 4vw, 2.25rem); }
.field { display: grid; gap: .45rem; margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: .45rem; }
.input {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: .8rem;
  border: 1px solid var(--input);
  background: rgba(255, 255, 255, .04);
  color: var(--foreground);
  font: 400 1rem/1.4 var(--body);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.input::placeholder { color: oklch(62% .02 258); }
.input:hover { border-color: oklch(100% 0 0 / .26); }
.input:focus { outline: none; border-color: var(--glow); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 3px oklch(78.9% .154 211.7 / .25); }
textarea.input { min-height: 8rem; resize: vertical; }
.input[aria-invalid="true"] { border-color: oklch(70% .19 22); }
.toggles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }

.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle span {
  display: block;
  padding: .7rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--input);
  background: rgba(255, 255, 255, .03);
  text-align: center;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background .2s, color .2s, border-color .2s;
}
.toggle input:hover + span { color: var(--foreground); border-color: oklch(100% 0 0 / .26); }
.toggle input:checked + span { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 6px 20px oklch(51.1% .262 276.966 / .35); }
.toggle input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 3px; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: var(--muted-foreground); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex-shrink: 0; accent-color: var(--brand-bright); }
.check a { color: var(--glow); }
.error { min-height: 0; margin: 0; font-size: .88rem; color: oklch(76% .15 22); }
.error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border-radius: .9rem;
  border: 1px solid oklch(78.9% .154 211.7 / .4);
  background: oklch(78.9% .154 211.7 / .08);
}
.form-status:empty { display: none; }

/* 404 */
.notfound { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 6rem 0; }
.notfound h1 { margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 0 0 2rem; margin-top: 2rem; }
.footer-panel { padding: clamp(1.75rem, 5vw, 3rem); border-radius: 1.75rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .7fr);
  gap: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-lead { grid-column: 1 / -1; } }
.footer-tagline { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.05rem, .9rem + .7vw, 1.4rem); line-height: 1.35; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.footer-lead .fine { color: var(--muted-foreground); font-size: .92rem; margin-top: 1.5rem; max-width: 34rem; }
.footer-col h2 { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .22em; color: var(--muted-foreground); margin-bottom: .9rem; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a { text-decoration: none; color: var(--foreground); opacity: .85; }
.footer-col a:hover { opacity: 1; color: var(--glow); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted-foreground);
}
.footer-bottom p { margin: 0; }
.footer-bottom .brand img { width: 22px; }
.footer-bottom .brand .wordmark { font-size: .8rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; }
  .marquee-list { flex-wrap: wrap; justify-content: center; }
  .marquee-list[aria-hidden="true"] { display: none; }
}

/* ---------- Overrides ---------- */
.doc .checklist { padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--border); margin-bottom: 0; }
.doc .checklist h2 { display: block; }
.doc .btn, .nav-links .btn, .nav-links .btn[aria-current="page"] { color: #fff; text-decoration: none; background: var(--gradient); }
.toggles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.toggle span { white-space: nowrap; }
.doc .intro-p { margin-bottom: 2.5rem; }
