/* Shared styles for every public page. Page-specific styles live in each page. */

@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0F1012; --surface: rgba(255,255,255,0.03); --ink: #FFFFFF; --ink-soft: #B5B6B8; --ink-dim: #A7A8AA;
  --ink-body: #C9CACC; --line: rgba(255,255,255,0.28); --rule: rgba(255,255,255,0.14);
  --green: #253E2E; --green-hover: #2E4C39; --green-ink: #9CC7AC; --error: #F97066;
  color-scheme: dark; box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--ink); font-family: "Manrope", "Helvetica Neue", Arial, sans-serif; line-height: 1.6;
  background: radial-gradient(120% 60% at 15% 0%, #232426 0%, var(--bg) 55%) no-repeat, var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

/* Header */
.topbar { max-width: 1200px; margin: 0 auto; padding: 22px 32px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.3); }
.topbar img { height: 28px; width: auto; display: block; max-width: 60vw; }
.wordmark { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.navlink { color: var(--ink-body); text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.navlink:hover { color: var(--ink); }

/* Layout */
.wrap { position: relative; isolation: isolate; max-width: 800px; margin: 0 auto; padding: 56px 24px 96px; display: flex; flex-direction: column; gap: 48px; }
.diamonds { position: absolute; left: -260px; top: -40px; width: 600px; height: 600px; pointer-events: none; z-index: -1; }
.diamonds i { position: absolute; border: 1px solid rgba(255,255,255,0.07); transform: rotate(45deg); background: rgba(255,255,255,0.012); }
.diamonds i:nth-child(1) { width: 230px; height: 230px; left: 170px; top: 0; }
.diamonds i:nth-child(2) { width: 280px; height: 280px; left: 40px; top: 150px; }
.diamonds i:nth-child(3) { width: 340px; height: 340px; left: 190px; top: 220px; }
.stack { display: flex; flex-direction: column; gap: 48px; }

/* Type */
.eyebrow { font-size: 14px; color: var(--ink-dim); margin: 0 0 14px; }
h1 { margin: 0 0 18px; font-weight: 400; font-size: clamp(38px, 7vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.intro { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-body); max-width: 620px; }
h2 { margin: 0; font-size: 26px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
.sub { margin: 6px 0 0; font-size: 15px; color: var(--ink-dim); }
.n { font-size: 14px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-ink); }

/* Buttons */
.primary {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 24px 10px 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--green); color: #FFFFFF; font: 500 16px "Manrope", sans-serif; text-decoration: none;
}
.primary:hover { background: var(--green-hover); }
.primary[disabled] { opacity: 0.6; cursor: progress; }
.circle { width: 32px; height: 32px; border: 1px solid #FFFFFF; border-radius: 50%; display: grid; place-items: center; flex: none; }
.secondary {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,0.4); font: 500 15px "Manrope", sans-serif;
}
.secondary:hover { border-color: rgba(255,255,255,0.7); }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 3px; }

/* Footer */
.legal { max-width: 800px; margin: 0 auto; padding: 0 24px 40px; font-size: 13px; color: var(--ink-dim); }
.legal div { border-top: 1px solid rgba(255,255,255,0.3); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
.legal a { color: inherit; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 600px) { .topbar { padding: 18px 20px; } }
