@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --bg: #fbfbfc;
  --surface: #ffffff;
  --ink: #111014;
  --muted: #5e5b66;
  --line: #e6e4ec;
  --line-strong: #d9d6e2;
  --accent: #8550f6;
  --accent-hover: #6f3be0;
  --dark: #111014;
  --on-dark: #f4f3f7;
  --on-dark-muted: #a9a5b5;
  --dark-line: #2c2a33;
  --dark-accent: #b79bfb;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; z-index: 10; padding: 10px 16px; background: var(--surface); border-radius: 8px; }
.kicker { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: #fff; border: 0;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn svg { width: 16px; height: 16px; }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font: 500 16px/1 var(--sans); text-decoration: none;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { padding: 12px 14px; font-size: 15px; font-weight: 500; text-decoration: none; }
.nav .nav-cta { margin-left: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); }
.nav .nav-cta:hover { color: var(--ink); border-color: var(--ink); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: clamp(56px, 9vw, 128px) clamp(72px, 10vw, 136px); }
.hero-copy { flex: 1 1 640px; min-width: 0; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: 0.95; letter-spacing: -0.055em; }
.hero .lead { margin-top: 36px; max-width: 36rem; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-art { flex: 0 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 320px; height: auto; }

/* Build, invest, acquire */
.pillars-band { border-block: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar { padding: 48px 32px 56px 0; }
.pillar .num { font: 500 13px/1 var(--mono); color: var(--accent); }
.pillar h2 { margin-top: 20px; font-size: 28px; letter-spacing: -0.03em; }
.pillar p { margin-top: 12px; color: var(--muted); }

/* Work */
.work { padding-block: clamp(72px, 10vw, 128px); }
.section-title { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.045em; }
.work-grid { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 48px 24px; }
.work-grid a { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; font-size: 14px; font-weight: 500; text-align: center; line-height: 1.35; }
.work-grid img {
  width: 100%; max-width: 128px; aspect-ratio: 1; border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(17, 16, 20, .06), 0 12px 32px rgba(40, 24, 90, .10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-grid a:hover { color: var(--ink); }
.work-grid a:hover img { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(17, 16, 20, .06), 0 18px 40px rgba(40, 24, 90, .16); }

/* For founders */
.founders { background: var(--dark); color: var(--on-dark); padding-block: clamp(72px, 10vw, 128px); }
.founders .kicker { color: var(--on-dark-muted); }
.founders h2 { margin-top: 20px; max-width: 16ch; font-size: clamp(36px, 4.8vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.founders-cols { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 48px 72px; }
.founders-cols > div { flex: 1 1 420px; min-width: 0; }
.founders h3 { font-size: 15px; }
.rule-list { list-style: none; margin: 20px 0 0; padding: 0; font-size: 17px; line-height: 1.5; border-bottom: 1px solid var(--dark-line); }
.rule-list li { padding: 16px 0; border-top: 1px solid var(--dark-line); }
.steps li { display: flex; gap: 20px; padding-block: 18px; }
.steps .num { font: 500 13px/1.9 var(--mono); color: var(--dark-accent); }
.steps strong { display: block; font-size: 17px; }
.steps p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px 72px; padding-block: clamp(72px, 10vw, 128px); }
.contact-intro { flex: 1 1 380px; min-width: 0; }
.contact-intro h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.contact-intro p { margin-top: 20px; max-width: 30rem; font-size: 18px; color: var(--muted); }
.contact-form { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
  color: var(--ink); font: 16px/1.4 var(--sans);
}
.field textarea { min-height: 144px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235e5b66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status[data-state="error"] { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 40px; font-size: 14px; color: var(--muted); }
.site-footer .brand-small { display: flex; align-items: center; gap: 12px; }
.site-footer img { width: 24px; height: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { padding-block: 12px; }

/* Policy pages */
.policy { max-width: 720px; padding-block: clamp(48px, 8vw, 104px) clamp(72px, 9vw, 120px); }
.policy h1 { margin-top: 24px; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.045em; }
.policy .body { margin-top: 40px; font-size: 19px; line-height: 1.65; }
.policy .body p + p, .policy .body p + ul { margin-top: 20px; }
.policy .body ul { margin: 0; padding-left: 1.25em; }
.policy .body li + li { margin-top: 8px; }
.policy .updated { margin-top: 20px; font-size: 15px; color: var(--muted); }
.policy h2 { margin-top: 56px; font-size: 15px; }
.policy h2 + .body { margin-top: 16px; }
.support h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.app-row { margin-top: 16px; display: flex; align-items: center; gap: 16px; padding: 16px 0; border-block: 1px solid var(--line); text-decoration: none; font-size: 17px; font-weight: 500; }
.app-row img { width: 48px; height: 48px; border-radius: 11px; }

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { gap: 40px; }
  .hero-art { justify-content: flex-start; }
  .hero-art svg { max-width: 200px; }
  .pillar { padding: 32px 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .work-grid { margin-top: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
  .work-grid a { font-size: 13px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
