:root {
  --bg: #f7f7f4;
  --ink: #050505;
  --muted: #5d5d5d;
  --line: #d9d9d2;
  --panel: #ffffff;
  --panel-dark: #050505;
  --panel-dark-2: #121212;
  --accent: rgb(39, 255, 1);
  --accent-soft: rgba(39, 255, 1, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  --radius: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% -10%, rgba(39,255,1,0.16), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #efefea 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  color: #fff;
  background: #000;
  border-radius: 999px;
}
.skip-link:focus { left: 1rem; }

.site-header {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 14px;
  z-index: 5;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  padding-left: 10px;
}
.brand img {
  display: block;
  height: 38px;
  width: auto;
  mix-blend-mode: multiply;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.94rem;
}
.nav a[aria-current="page"], .nav a:hover {
  color: #fff;
  background: #050505;
}

main { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.hero {
  margin: 36px 0 24px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 10px);
  background: #050505;
  color: #fff;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 15% 0%, #000, transparent 72%);
  pointer-events: none;
}
.hero-copy, .hero-card { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.eyebrow::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  font-weight: 950;
}
.doc-shell h1 {
  color: #fff;
  background: #050505;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 28px;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  margin-bottom: 30px;
}
.lede {
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
  line-height: 1.36;
  max-width: 780px;
  color: rgba(255,255,255,0.9);
}
.hero p { max-width: 760px; color: rgba(255,255,255,0.76); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.button.secondary { background: transparent; color: #fff; }
.button:hover { transform: translateY(-1px); }
.hero-card {
  padding: 26px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 30px;
  backdrop-filter: blur(12px);
}
.hero-card img { border-radius: 24px; box-shadow: 0 18px 50px rgba(0,0,0,0.28); }
.hero-card h2 { color: #fff; margin: 22px 0 8px; font-size: 1.5rem; }
.fineprint { font-size: 0.92rem; color: rgba(255,255,255,0.58) !important; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 18px;
}
.cards article, .legal-links, .doc-shell {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}
.cards article { padding: 28px; }
.cards h2 { font-size: 1.35rem; margin: 0 0 10px; letter-spacing: -0.03em; }
.cards p, .legal-links p, .doc-shell p, .doc-shell li { color: #303030; }
.legal-links { padding: 24px 28px; margin-bottom: 38px; }
.legal-links p { margin: 0.35rem 0; }

.doc-page { margin: 36px 0 52px; }
.doc-shell { padding: clamp(22px, 4vw, 46px); }
.doc-shell h2 {
  margin: 2rem 0 0.55rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.doc-shell p, .doc-shell li { font-size: 1rem; max-width: 850px; }
.doc-shell ul { padding-left: 1.25rem; }
.doc-shell li + li { margin-top: 0.32rem; }

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,0.78);
  background: #050505;
  border-radius: 28px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.footer-links a { color: #fff; }

@media (max-width: 820px) {
  .site-header { align-items: stretch; border-radius: 28px; flex-direction: column; }
  .brand { justify-content: center; padding-left: 0; }
  .nav { justify-content: center; }
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .cards { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-color-scheme: dark) {
  :root { --bg: #090909; --ink: #f5f5f5; --muted: #b8b8b8; --line: #2c2c2c; --panel: #111; }
  body { background: #090909; color: #f5f5f5; }
  .site-header, .cards article, .legal-links, .doc-shell { background: rgba(18,18,18,0.9); border-color: #2c2c2c; }
  .brand img { mix-blend-mode: screen; filter: invert(1); }
  .cards p, .legal-links p, .doc-shell p, .doc-shell li { color: #d8d8d8; }
  .hero { border: 1px solid #2c2c2c; }
}
