@font-face { font-family: Inter; src: url(/fonts/Inter_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/Inter_600SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/Inter_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #000;
  --surface: #0d0e10;
  --hairline: #1f2125;
  --text: #f2f3f5;
  --text-2: #b4b8bf;
  --text-3: #7c818a;
  --ice: #a9e8ff;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 16px/1.65 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--text); text-decoration-color: var(--text-3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
a:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Nav and footer */
.nav { border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); text-decoration: none; font-size: 18px; }
.nav nav, .foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.nav nav a, .foot nav a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.nav nav a:hover, .foot nav a:hover { color: var(--text); }
.foot { border-top: 1px solid var(--hairline); margin-top: 96px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; }
.foot-brand { font-size: 13px; color: var(--text-3); }

.wordmark .mark { width: 26px; height: 26px; background: #000; border: 1px solid var(--hairline); border-radius: 7px; padding: 3px; }

/* Home */
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before { content: ''; position: absolute; inset: 8% 10%; background: radial-gradient(closest-side, rgba(169,232,255,0.16), transparent 70%); filter: blur(10px); }
.hero-art img { position: relative; width: 100%; max-width: 440px; height: auto; border-radius: 22%; border: 1px solid var(--hairline); }
.connect { margin: 0 0 0; padding: 88px 0 0; text-align: center; }
.connect p:last-child { max-width: 40em; margin: 0 auto; font-size: 17px; }
.flow { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 28px; flex-wrap: wrap; }
.flow span { color: var(--text); font-weight: 600; font-size: clamp(20px, 3vw, 28px); letter-spacing: -0.01em; padding: 12px 24px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); }
.flow i { width: 48px; height: 2px; background: linear-gradient(90deg, var(--hairline), var(--ice), var(--hairline)); border-radius: 2px; }
.pillar { transition: background .2s; }
.pillar:hover { background: #111316; }
.hero { padding: 120px 0 88px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 20px; }
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.02; letter-spacing: -0.03em; color: var(--text); font-weight: 700; margin: 0 0 28px; max-width: 12ch; }
.hero h1 .accent { color: var(--ice); }
.lede { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; max-width: 36em; margin: 0 0 36px; }
.status { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--hairline); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: var(--text); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.pillar { background: var(--surface); padding: 32px 28px 36px; }
.pillar .num { font-size: 13px; color: var(--text-3); font-weight: 600; letter-spacing: 0.08em; }
.pillar h2 { font-size: 21px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; margin: 18px 0 10px; }
.pillar p { margin: 0; font-size: 15px; }

.standard { padding: 96px 0 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.standard h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.02em; color: var(--text); font-weight: 700; margin: 0; }
.standard ul { list-style: none; margin: 0; padding: 0; }
.standard li { padding: 18px 0; border-top: 1px solid var(--hairline); }
.standard li:last-child { border-bottom: 1px solid var(--hairline); }
.standard li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* Document pages */
.doc { max-width: 720px; padding-top: 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.02em; color: var(--text); font-weight: 700; margin: 0 0 12px; }
.doc .updated { font-size: 14px; color: var(--text-3); margin: 0 0 48px; }
.doc h2 { font-size: 19px; color: var(--text); font-weight: 600; margin: 44px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li strong, .doc p strong { color: var(--text); font-weight: 600; }
.doc .caps { text-transform: uppercase; font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 24px 26px; margin: 28px 0; }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.mail { font-size: 20px; font-weight: 600; color: var(--ice); text-decoration: none; }
.mail:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .hero { padding: 72px 0 56px; }
  .pillars { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art img { max-width: 280px; }
  .flow i { width: 20px; }
  .standard { grid-template-columns: 1fr; gap: 24px; padding-top: 64px; }
  .nav nav { gap: 18px; }
  .foot nav { gap: 16px; }
  .doc { padding-top: 48px; }
}
