/* Space Grotesk, the brand font (SIL Open Font License), hosted with the site. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-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;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #171a24;
  --muted: #5b6275;
  --line: #dfe3ee;
  --accent: #3d5afe;
  --on-accent: #ffffff;
  --danger: #b3261e;
  --width: 960px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1117;
    --surface: #171a24;
    --text: #e8eaf2;
    --muted: #a0a7ba;
    --line: #2a2f3d;
    --accent: #8c9eff;
    --on-accent: #0f1117;
    --danger: #ff8a80;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 'Space Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2 { line-height: 1.2; letter-spacing: -0.01em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

.top, main, .bottom { max-width: var(--width); margin: 0 auto; padding-inline: 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { font-weight: 700; font-size: 21px; text-decoration: none; }

.button {
  display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.button.small { padding: 7px 14px; font-size: 15px; }

.hero { padding: 56px 0 24px; max-width: 760px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin: 0 0 20px; font-size: clamp(36px, 7vw, 60px); }
.lede { margin: 0; font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); }

section { margin-block: 32px; }
.grid.three { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h2 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.muted { color: var(--muted); margin: 0 0 8px; }

/* How it works / Request invite */
.tabs { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tablist { display: flex; border-bottom: 1px solid var(--line); }
.tablist button {
  flex: 1; padding: 16px 12px; border: 0; border-bottom: 3px solid transparent; background: none;
  color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
}
.tablist button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tablist button:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 8px; }
.panel { padding: 26px 22px; }
.panel:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 0 0 16px 16px; }
.steps { margin: 0; padding-left: 22px; max-width: 640px; }
.steps li { margin-bottom: 10px; padding-left: 4px; }
.steps li:last-child { margin-bottom: 0; }

form { display: grid; gap: 6px; max-width: 480px; }
label { font-weight: 600; margin-top: 12px; }
.optional { font-weight: 400; color: var(--muted); }
input, textarea, button {
  font-family: inherit;
}
input, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); font: inherit;
}
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--danger); }
.error { margin: 0; color: var(--danger); font-size: 15px; }
form .button { justify-self: start; margin-top: 18px; cursor: pointer; font: inherit; font-weight: 600; }
form .button:disabled { opacity: 0.6; cursor: default; }
.status { margin: 10px 0 0; min-height: 1.6em; }
.status.ok { font-weight: 600; }
.status.bad { color: var(--danger); }
/* Off screen rather than display:none, which some form-fillers skip. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* From the network */
.network { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.network h2 { margin: 0 0 6px; font-size: 22px; }
.network .muted { margin-bottom: 16px; }
.network .muted:last-child { margin-bottom: 0; }
/* The ad sits in the middle of the panel. */
.slot { max-width: 640px; margin-inline: auto; }

.bottom { padding-block: 28px 44px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); margin-top: 48px; }
.bottom p { margin: 0 0 4px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand-mark { display: block; }
.wordmark { font-weight: 700; letter-spacing: -0.02em; }
.wordmark .z { color: var(--accent); }

/* Footer links */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Long-form pages: questions and privacy */
.prose { max-width: 720px; padding: 40px 0 8px; }
.prose h1 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 44px); }
.prose h2 { margin: 36px 0 10px; font-size: 22px; }
.prose p { margin: 0 0 14px; }
.prose .lede { margin-bottom: 14px; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 0 0 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--accent); }
.faq[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 12px; }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--muted); }
.cta { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.text-link { font-weight: 600; }
