/* Geist and Geist Mono (Vercel, SIL Open Font License 1.1: /geist-LICENSE.txt), served from this site */
@font-face { font-family: "Geist"; src: url("/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Public site: same tokens as the dashboard. Dark first, light under prefers-color-scheme. */
:root {
  --bg: #000; --panel: #0a0a0a; --raised: #111; --text: #ededed; --muted: #a1a1a1; --faint: #666;
  --border: #1f1f1f; --border-strong: #2e2e2e; --hover: rgba(255, 255, 255, .05);
  --accent: #ededed; --accent-text: #0a0a0a; --glow: rgba(255, 255, 255, .08); --focus: #3b82f6;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fff; --panel: #fff; --raised: #fafafa; --text: #171717; --muted: #4d4d4d; --faint: #8f8f8f;
    --border: #ebebeb; --border-strong: #d4d4d4; --hover: rgba(0, 0, 0, .04);
    --accent: #0a0a0a; --accent-text: #fff; --glow: rgba(0, 0, 0, .05); color-scheme: light;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "liga" 1, "calt" 1; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
code, pre { font-family: var(--mono); font-size: .875em; }
:not(pre) > code { background: var(--raised); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* header and footer */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -.03em; text-decoration: none; }
.site-head nav { display: flex; gap: 22px; flex: 1; }
.site-head nav a, .site-foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-head nav a:hover, .site-foot nav a:hover { color: var(--text); }
.head-cta { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border-strong); font-size: 14px; font-weight: 500; text-decoration: none; background: var(--panel); white-space: nowrap; }
.btn:hover { background: var(--raised); }
.btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); font-weight: 600; }
.btn.primary:hover { opacity: .88; }
.btn.ghost { border-color: transparent; background: none; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }
.site-foot { border-top: 1px solid var(--border); margin-top: 96px; padding: 48px 0 64px; font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 56px; flex-wrap: wrap; }
.site-foot nav div { display: grid; gap: 8px; align-content: start; }
.site-foot h2 { font-size: 13px; font-weight: 500; margin: 0 0 4px; }
.site-foot p { margin: 8px 0 0; }

/* page tops */
.hero, .page-hero { background: radial-gradient(60% 80% at 50% 0%, var(--glow), transparent 70%); border-bottom: 1px solid var(--border); }
.hero { padding: 112px 0 88px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: -.055em; margin: 0 auto 24px; font-weight: 600; max-width: 14ch; text-wrap: balance; }
.hero .answer { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 600px; margin: 0 auto; text-wrap: pretty; }
.hero .ctas .btn { height: 44px; padding: 0 22px; border-radius: 9999px; font-size: 15px; }
.hero .ctas { justify-content: center; }
.page-hero { padding: 64px 0 48px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -.05em; margin: 0 0 16px; font-weight: 600; text-wrap: balance; }
.page-hero .answer { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 640px; text-wrap: pretty; }
.page-hero .ctas .btn { height: 40px; padding: 0 18px; border-radius: 9999px; }
.ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
/* docs: contents list above the page on phones, a sidebar on wide screens */
.docs-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 0 20px; margin-bottom: 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
.docs-nav a { color: var(--muted); text-decoration: none; }
.docs-nav a:hover { color: var(--text); }
.docs-nav [aria-current] { color: var(--text); font-weight: 600; }
@media (min-width: 1180px) {
  .content:has(> .docs-nav) { position: relative; }
  .docs-nav { position: absolute; right: calc(100% + 40px); top: 0; width: 200px; flex-direction: column; flex-wrap: nowrap; border-bottom: none; padding-top: 28px; }
}
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* body content */
.content section { padding-top: 48px; }
.content h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.04em; margin: 0 0 16px; font-weight: 600; text-wrap: balance; }
.content p { margin: 0 0 14px; color: var(--muted); }
.content ul, .content ol { margin: 0 0 14px; padding-left: 22px; color: var(--muted); }
.content li { margin: 6px 0; }
.content li strong, .content p strong { color: var(--text); font-weight: 600; }
pre.code { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; overflow: auto; margin: 0 0 14px; line-height: 1.6; color: var(--text); }
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
thead th { font-weight: 500; color: var(--muted); background: var(--raised); }
tbody th { font-weight: 500; color: var(--muted); }
tr:last-child th, tr:last-child td { border-bottom: none; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { display: inline; font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin: 0; }
.faq summary { padding: 14px 0 6px; }
.faq details p { margin: 0 0 14px; }

@media (max-width: 760px) {
  .site-head .wrap { gap: 12px; height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .site-head nav { order: 3; width: 100%; overflow-x: auto; gap: 18px; flex: none; }
  .head-cta { margin-left: auto; }
  .hero { padding: 72px 0 56px; }
  .wrap { padding: 0 16px; }
}
.subscribe { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.subscribe label { color: var(--muted); font-size: 14px; }
.subscribe input { flex: 1; min-width: 220px; height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--border-strong); background: var(--panel); color: var(--text); font: inherit; font-size: 14px; }
.subscribe input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.prelaunch { background: var(--raised); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); padding: 9px 0; text-align: center; }

/* type details */
h1, h2, h3, .brand { font-feature-settings: "ss01" 1; }
.content section { padding-top: 56px; }
.content li { margin: 8px 0; }
:not(pre) > code { font-size: .85em; }
@media (max-width: 760px) {
  .hero h1 { letter-spacing: -.05em; }
  .hero .answer { font-size: 16px; }
  .page-hero .answer { font-size: 16px; }
  .content h2 { font-size: 24px; }
}

.hero .lede { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 520px; margin: 0 auto; text-wrap: balance; letter-spacing: -.01em; }
.content .intro p.answer { font-size: 18px; line-height: 1.65; color: var(--text); margin: 0; }
@media (max-width: 760px) {
  .hero .lede { font-size: 17px; }
  .prelaunch .wide { display: none; }
  .content .intro p.answer { font-size: 17px; }
}

/* ---------- glass ----------
   Frosted, translucent surfaces: the page shows through the header as you scroll, and
   panels carry a faint fill with a light top edge. Without backdrop-filter support the
   surfaces fall back to solid colours, so text never loses contrast. */
:root { --glass: rgba(0, 0, 0, .72); --glass-fill: rgba(255, 255, 255, .035); --glass-fill-2: rgba(255, 255, 255, .012);
  --glass-edge: rgba(255, 255, 255, .09); --glass-hi: rgba(255, 255, 255, .07); --grid: rgba(255, 255, 255, .045); }
@media (prefers-color-scheme: light) {
  :root { --glass: rgba(255, 255, 255, .75); --glass-fill: rgba(0, 0, 0, .025); --glass-fill-2: rgba(0, 0, 0, .008);
    --glass-edge: rgba(0, 0, 0, .08); --glass-hi: rgba(255, 255, 255, .8); --grid: rgba(0, 0, 0, .05); }
}
.site-head { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border-bottom: 1px solid var(--glass-edge); }
.site-head .prelaunch { background: transparent; border-bottom: 0; border-top: 1px solid var(--glass-edge); }
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -220px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(40px); pointer-events: none; }
pre.code, .table-wrap, .subscribe input {
  background: linear-gradient(180deg, var(--glass-fill), var(--glass-fill-2)); border-color: var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
thead th { background: var(--glass-fill); }
.btn:not(.primary):not(.ghost) { background: var(--glass-fill); border-color: var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn:not(.primary):not(.ghost):hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.btn.primary { box-shadow: 0 0 0 1px var(--glass-edge), 0 8px 24px -12px color-mix(in srgb, var(--text) 45%, transparent); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-head { background: var(--bg); }
  pre.code, .table-wrap { background: var(--panel); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-head { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.site-head .prelaunch .wrap { display: block; height: auto; padding-top: 0; padding-bottom: 0; }
.site-head .prelaunch { padding: 8px 0; }

/* currency switcher: a small segmented control above the plans */
.currency-switch { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 14px; border: 1px solid var(--glass-edge); border-radius: 9999px; background: var(--glass-fill); }
.currency-switch[hidden] { display: none; }
.currency-switch button { font: inherit; font-size: 13px; font-weight: 500; height: 28px; padding: 0 14px; border: 0; border-radius: 9999px; background: none; color: var(--muted); cursor: pointer; }
.currency-switch button:hover { color: var(--text); }
.currency-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
.currency-switch button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.price .amount { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
