@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;700;800&display=swap');

:root {
  --black: #000000;
  --surface: #141414;
  --gray: #545454;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --dim: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.25);
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Sora', sans-serif;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
a { color: var(--white); text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
a:hover { text-decoration-color: var(--white); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 2px; }

/* Header */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: clamp(34px, 4vw, 44px); width: auto; display: block; }
.brand .me {
  font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); border-left: 1px solid var(--border-strong); padding-left: 14px;
}
.bar nav { display: flex; gap: 22px; font-size: 13px; font-weight: 500; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--white); }

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
}
p { color: var(--muted); }

/* Home */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  align-items: end; padding: clamp(64px, 12vw, 160px) var(--gutter) clamp(56px, 8vw, 112px);
}
.hero h1 {
  font-weight: 800; letter-spacing: -0.055em; line-height: 0.98;
  font-size: clamp(44px, 7.4vw, 104px); margin-top: 22px;
}
.hero .lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 46ch; margin-top: 28px; color: var(--muted); }
.hero .mark { justify-self: end; width: min(100%, 360px); opacity: 0.92; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-block; font-family: inherit; font-weight: 500; font-size: 14px;
  padding: 11px 20px; border-radius: 6px; text-decoration: none;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: rgba(255, 255, 255, 0.85); }
.btn-secondary { border: 1px solid var(--border-strong); color: var(--white); }
.btn-secondary:hover { background: var(--dim); }

.section { padding: clamp(56px, 8vw, 104px) var(--gutter); border-top: 1px solid var(--border); }
.section .eyebrow + h2 { margin-top: 14px; }
.section h2 { font-weight: 700; letter-spacing: -0.05em; line-height: 1.05; font-size: clamp(28px, 3.6vw, 48px); max-width: 18ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 96px); }

.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-bottom: 1px solid var(--border); }
.steps li:first-child { padding-top: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-weight: 500; font-size: 13px; color: var(--gray); padding-top: 3px; }
.steps h3 { font-weight: 500; letter-spacing: -0.02em; font-size: 18px; }
.steps p { margin-top: 6px; font-size: 15px; }

.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.caps div { padding: 20px 0; border-top: 1px solid var(--border); }
.caps h3 { font-weight: 500; letter-spacing: -0.02em; font-size: 16px; }
.caps p { font-size: 14.5px; margin-top: 4px; }

.proof { background: var(--surface); }
.proof dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 44px; }
.proof dt { font-weight: 700; letter-spacing: -0.04em; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; }
.proof dd { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

.note { font-size: 14px; max-width: var(--measure); }

/* Legal pages */
.doc { padding: clamp(56px, 9vw, 120px) var(--gutter) 96px; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, var(--measure)); gap: clamp(28px, 6vw, 96px); }
.doc aside { position: sticky; top: 32px; align-self: start; }
.doc aside ol { list-style: none; margin-top: 16px; font-size: 13px; }
.doc aside li { padding: 5px 0; }
.doc aside a { text-decoration: none; color: var(--muted); }
.doc aside a:hover { color: var(--white); }
.doc h1 { font-weight: 800; letter-spacing: -0.055em; font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.doc .meta { margin-top: 18px; font-size: 13px; color: var(--gray); }
.doc h2 { font-weight: 700; letter-spacing: -0.04em; font-size: 22px; margin-top: 52px; scroll-margin-top: 24px; }
.doc h3 { font-weight: 500; letter-spacing: -0.02em; font-size: 16px; margin-top: 26px; }
.doc p, .doc li { font-size: 15.5px; color: var(--muted); margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc li { margin-top: 8px; }
.doc strong { color: var(--white); font-weight: 500; }
.doc .callout { border: 1px solid var(--border-strong); border-radius: 12px; padding: 20px 22px; margin-top: 28px; }
.doc .callout p:first-child { margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.doc th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border-strong); }
.doc td { color: var(--muted); padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc td:first-child { color: var(--white); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px var(--gutter) 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray); }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--white); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.in { animation: fadeUp 420ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.in-2 { animation-delay: 80ms; } .in-3 { animation-delay: 160ms; }
@media (prefers-reduced-motion: reduce) { .in { animation: none; } }

@media (max-width: 860px) {
  .hero, .split, .doc { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 48px; }
  .hero .mark { justify-self: start; width: 104px; order: -1; }
  .caps, .proof dl { grid-template-columns: minmax(0, 1fr); }
  .doc aside { position: static; }
  .bar nav { gap: 16px; }
}
@media (max-width: 520px) { .brand .me { display: none; } }
