/* Quarters shared styles: tokens, type, buttons, nav, FAQ, closing CTA */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #0C0C0C;
  --ink-hover: #3A3A3A;
  --muted: #5F5F5F;
  --muted-dark: #B9BCBF;
  --line: #E3E5E7;
  --line-soft: #ECEEF0;
  --soft: #F0F2F4;
  --bg: #FDFEFF;
  --green: #1F4D3A;
  --green-deep: #123524;
  --night: #0C1611;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-card: 0 16px 56px rgba(0,0,0,.16);
  --shadow-float: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.1), 0 48px 96px rgba(0,0,0,.16);
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 24px; letter-spacing: -0.02em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--ink-hover); }
::selection { background: var(--green); color: var(--bg); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }
h1, h2, h3, p { margin: 0; }

/* ── Type ─────────────────────────── */
.h1 { font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: 24px; line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.lede { color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.lede-lg { font-size: 18px; line-height: 28px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid #C9CDD1; border-radius: 999px; padding: 2px 8px; line-height: 16px; color: var(--muted); }

/* Headings soften in as they scroll into view (see /assets/site.js) */
h2 { transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); }
h2.is-pre { opacity: .2; filter: blur(8px); transform: translateY(10px); }

/* ── Layout ───────────────────────── */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding-bottom: 120px; scroll-margin-top: 80px; }

/* ── Buttons ──────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--green); color: var(--bg); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0; padding: 14px 26px; border-radius: 999px; line-height: 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-dark { background: var(--ink); }
.btn-sm { font-size: 13px; padding: 12px 18px; line-height: 16px; }

/* ── Nav ──────────────────────────── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(253,254,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.nav-left { display: flex; align-items: center; gap: 14px; }
/* The mark as the web app sets it: the Q, then the rest of the name in Geist Medium beside it. */
.nav-logo { display: inline-flex; align-items: flex-end; color: var(--ink); text-decoration: none; }
.nav-logo svg { display: block; width: 17px; height: 23px; flex-shrink: 0; }
.nav-logo span { font-family: var(--sans); font-size: 21px; font-weight: 500; line-height: 24px; letter-spacing: -0.6px; margin-left: 1px; }
.pill { text-decoration: none; padding: 10px 16px; border-radius: 999px; transition: background .3s var(--ease); }
.pill:hover { background: var(--bg); }
.pill-solo { font-size: 12px; font-weight: 500; letter-spacing: 0; padding: 8px 12px; background: var(--soft); }
.pill-solo:hover { background: var(--line); }
.nav-links { display: flex; gap: 2px; background: var(--soft); border-radius: 999px; padding: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-login { font-size: 13px; font-weight: 500; letter-spacing: 0; text-decoration: none; padding: 12px 14px; border-radius: 999px; }
.nav-login:hover { background: var(--soft); }

/* ── Hero ─────────────────────────── */
.hero { max-width: 820px; margin: 0 auto; padding: 88px 24px 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero .lede { max-width: 620px; }
.hero .btn { margin-top: 8px; }

/* ── FAQ ──────────────────────────── */
.faq { max-width: 760px; }
.faq .h2 { margin-bottom: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 18px; line-height: 26px; letter-spacing: -0.01em; border-radius: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq-sign { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--soft); display: grid; place-items: center; font-family: var(--mono); font-size: 16px; transition: background .3s; }
.faq summary:hover .faq-sign { background: var(--line); }
.faq-sign::before { content: "+"; }
.faq details[open] .faq-sign::before { content: "\2212"; }
.faq details p { padding: 0 56px 24px 0; color: var(--muted); max-width: 62ch; }

/* ── Closing CTA ──────────────────── */
.closing { max-width: 720px; margin: 0 auto; padding: 0 24px 136px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.closing .btn { margin-top: 12px; }

/* ── Responsive (shared) ──────────── */
@media (max-width: 760px) {
  .nav-links, .hide-sm { display: none !important; }
  .nav-inner { padding: 14px 16px; gap: 8px; }
  .nav-left { gap: 8px; }
  .nav-right { gap: 2px; }
  .nav-login { padding: 12px 10px; }
  .nav-right .btn-sm { padding: 12px 14px; }
  .pill-solo, .nav-login, .nav-right .btn-sm { white-space: nowrap; }
  .nav-logo { flex-shrink: 0; }
  .section { padding-bottom: 88px; }
  .hero { padding-top: 56px; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 374px) {
  .nav-login { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, h2 { transition: none; }
}

/* Cards that rise in on scroll (see /assets/site.js) */
.rise { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.is-waiting { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) { .rise { transition: none; } }
