/* faceping.ai landing page. Self-contained (doesn't use site.css). CSP: no inline styles; fonts and scripts are self-hosted. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-800.woff2") format("woff2"); }

:root {
  --text: #0f172a; --muted: #475569; --soft: #64748b; --border: #e2e8f0; --surface: #f6f8fc;
  --brand: #2563eb; --brand-dark: #1d4ed8; --brand-soft: #eef4ff; --logo: #0066ff;
  --cyan: #0891b2; --cyan-soft: #e0f7fb; --violet: #7c3aed; --violet-soft: #f3edff; --amber: #b45309; --amber-soft: #fff6e6;
  --ok: #047857; --ok-soft: #e7f8ef; --ok-solid: #10b981; --ink: #0b1220; --code-border: #1e293b;
  --bg: #ffffff; --card: #ffffff; --card-raised: #ffffff; --line-strong: #cbd5e1; --btn-bg: #2563eb; --btn-hover: #1d4ed8; --n-cyan: #0891b2; --n-violet: #7c3aed;
  --grad-a: #2563eb; --grad-b: #0891b2; --sh: 15, 23, 42; --nav-bg: rgba(255, 255, 255, .86); --nav-border: rgba(226, 232, 240, .8);
  --dots: #dbe4f3; --hero-glow: none; --eyebrow-border: #c7d7fe; --pill-border: #93b4fb; --opt-hover: #f6f8fc; --logo-chip: #f8fafc;
  --halo-1: #ffffff; --halo-2: #eef4ff; --halo-3: #dbeafe; --ring-c: #bfd2fb; --face-filter: none;
  --us-cell: #f5f8ff; --priv-1: #eef4ff; --priv-2: #e0f7fb; --on-panel: #ffffff; --icon-filter: none; --engine-edge: transparent;
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  color-scheme: light;
}
/* Dark: follows the system setting (same tokens as docs.faceping.ai). data-theme="dark" or "light" on <html> forces one. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1117; --card: #151c27; --card-raised: #1a2230; --surface: #121821; --text: #eef2f7; --muted: #aab4c3; --soft: #8a96a8; --border: #253041; --line-strong: #334155;
    --brand: #5b8cff; --brand-dark: #7aa2ff; --brand-soft: #16213a; --logo: #6d9cff; --btn-bg: #2563eb; --btn-hover: #2f6df0;
    --cyan: #38bdf8; --cyan-soft: #0f2a36; --violet: #a78bfa; --violet-soft: #241a3d; --amber: #fbbf24; --amber-soft: #2e2210;
    --ok: #34d399; --ok-soft: #0f2a1d; --ink: #0a0f18; --code-border: #253041; --n-cyan: #0891b2; --n-violet: #7c3aed;
    --grad-a: #7aa2ff; --grad-b: #38bdf8; --sh: 0, 0, 0; --nav-bg: rgba(13, 17, 23, .82); --nav-border: rgba(37, 48, 65, .9);
    --dots: #1c2533; --hero-glow: radial-gradient(640px 420px at 78% 42%, rgba(91, 140, 255, .14), rgba(91, 140, 255, 0) 70%);
    --eyebrow-border: #2b3e66; --pill-border: #3d5a99; --opt-hover: #232d3e; --logo-chip: #e6ebf3;
    --halo-1: #22305a; --halo-2: #18233f; --halo-3: #131c30; --ring-c: #34497a; --face-filter: brightness(1.45) saturate(1.05);
    --us-cell: #131c2d; --priv-1: #16213a; --priv-2: #0f2a36; --on-panel: #0d1117; --icon-filter: invert(1); --engine-edge: #1c2636;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .fpc {
    --fpc-bg: #121821; --fpc-text: #eef2f7; --fpc-muted: #aab4c3; --fpc-soft: #8a96a8; --fpc-border: #334155; --fpc-surface: #1a2230;
    --fpc-brand: #2563eb; --fpc-brand-dark: #7aa2ff; --fpc-btn-hover: #2f6df0; --fpc-brand-soft: #16213a; --fpc-ok-soft: #0f2a1d; --fpc-err: #f97066; --fpc-err-soft: #3b1614;
  }
}
:root[data-theme="dark"] {
    --bg: #0d1117; --card: #151c27; --card-raised: #1a2230; --surface: #121821; --text: #eef2f7; --muted: #aab4c3; --soft: #8a96a8; --border: #253041; --line-strong: #334155;
    --brand: #5b8cff; --brand-dark: #7aa2ff; --brand-soft: #16213a; --logo: #6d9cff; --btn-bg: #2563eb; --btn-hover: #2f6df0;
    --cyan: #38bdf8; --cyan-soft: #0f2a36; --violet: #a78bfa; --violet-soft: #241a3d; --amber: #fbbf24; --amber-soft: #2e2210;
    --ok: #34d399; --ok-soft: #0f2a1d; --ink: #0a0f18; --code-border: #253041; --n-cyan: #0891b2; --n-violet: #7c3aed;
    --grad-a: #7aa2ff; --grad-b: #38bdf8; --sh: 0, 0, 0; --nav-bg: rgba(13, 17, 23, .82); --nav-border: rgba(37, 48, 65, .9);
    --dots: #1c2533; --hero-glow: radial-gradient(640px 420px at 78% 42%, rgba(91, 140, 255, .14), rgba(91, 140, 255, 0) 70%);
    --eyebrow-border: #2b3e66; --pill-border: #3d5a99; --opt-hover: #232d3e; --logo-chip: #e6ebf3;
    --halo-1: #22305a; --halo-2: #18233f; --halo-3: #131c30; --ring-c: #34497a; --face-filter: brightness(1.45) saturate(1.05);
    --us-cell: #131c2d; --priv-1: #16213a; --priv-2: #0f2a36; --on-panel: #0d1117; --icon-filter: invert(1); --engine-edge: #1c2636;
    color-scheme: dark;
}
:root[data-theme="dark"] .fpc {
    --fpc-bg: #121821; --fpc-text: #eef2f7; --fpc-muted: #aab4c3; --fpc-soft: #8a96a8; --fpc-border: #334155; --fpc-surface: #1a2230;
    --fpc-brand: #2563eb; --fpc-brand-dark: #7aa2ff; --fpc-btn-hover: #2f6df0; --fpc-brand-soft: #16213a; --fpc-ok-soft: #0f2a1d; --fpc-err: #f97066; --fpc-err-soft: #3b1614;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
a { color: var(--brand-dark); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 2px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ── Header ── */
.nav { position: sticky; top: 0; z-index: 40; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--nav-border); }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 34px; height: 34px; filter: var(--icon-filter); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.04em; color: var(--text); line-height: 1; }
.wordmark span { color: var(--logo); }
.navlinks { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; align-items: center; font-size: 15px; }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 500; }
.navlinks a:hover { color: var(--text); }
.navlinks a.btn, .navlinks a.btn:hover { color: #fff; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: #fff; font: inherit; font-weight: 650; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(var(--sh), .08), 0 8px 20px rgba(37, 99, 235, .22), inset 0 1px 0 rgba(255, 255, 255, .18); transition: transform .15s, background-color .15s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: var(--card); color: var(--text); border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(var(--sh), .06); }
.btn.ghost:hover { background: var(--surface); color: var(--text); }
.btn.white { background: #fff; color: #1d4ed8; border-color: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .18); }
.btn.white:hover { background: #f1f5ff; border-color: #f1f5ff; color: #1d4ed8; }
.btn.outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.btn.outline-white:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.alt-link { font-size: 14.5px; font-weight: 600; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.alt-link:hover { color: var(--text); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn svg { flex: none; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: var(--hero-glow), radial-gradient(circle at 1px 1px, var(--dots) 1px, transparent 0) 0 0 / 24px 24px, var(--bg); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; color: var(--brand-dark); background: var(--card);
  border: 1px solid var(--eyebrow-border); padding: 6px 14px; border-radius: 999px; box-shadow: 0 1px 2px rgba(var(--sh), .05); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-solid); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.builtfor { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.picker { position: relative; max-width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 10px; width: 310px; max-width: 100%; height: 52px; padding: 0 16px 0 12px; border-radius: 14px; border: 2px dashed var(--pill-border);
  background: var(--card); font: inherit; color: var(--text); cursor: pointer; box-shadow: 0 6px 18px rgba(37, 99, 235, .12); transition: border-color .15s, transform .15s; }
.pill:hover, .pill[aria-expanded="true"] { border-style: solid; border-color: var(--brand); transform: translateY(-1px); }
.pill .pname { flex: 1; min-width: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill .caret { color: var(--brand); flex: none; transition: transform .15s; }
.pill[aria-expanded="true"] .caret { transform: rotate(180deg); }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--logo-chip); display: flex; align-items: center; justify-content: center; flex: none; }
.menu { position: absolute; z-index: 50; top: 62px; left: 0; width: 310px; max-width: calc(100vw - 48px); background: var(--card-raised); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(var(--sh), .18); padding: 8px; display: flex; flex-direction: column; gap: 2px; font-family: var(--body); letter-spacing: 0; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; font: inherit;
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left; }
.opt:hover, .opt:focus-visible { background: var(--opt-hover); }
.opt[aria-checked="true"] { background: var(--brand-soft); }
.status { margin-left: auto; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--soft); }
.status.live { color: var(--ok); }
.hintrow { min-height: 30px; margin-top: -12px; }
.hintrow.gone { visibility: hidden; }
.hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 999px; }
.lede { font-size: 19px; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--soft); font-weight: 500; }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure svg { color: var(--ok-solid); }
.visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.stage { position: relative; width: min(460px, 100%); aspect-ratio: 1 / 1; }
.halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--halo-1) 0%, var(--halo-2) 45%, var(--halo-3) 70%, color-mix(in srgb, var(--halo-3) 0%, transparent) 72%); }
.ring { position: absolute; inset: 3%; border-radius: 50%; border: 1.5px dashed var(--ring-c); animation: spin 40s linear infinite; }
.face { position: absolute; inset: 16%; filter: var(--face-filter); }
.face img { width: 100%; height: 100%; filter: var(--icon-filter); }
.badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: var(--card-raised); color: var(--text); border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(var(--sh), .12); font-size: 14px; font-weight: 650; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.badge .dot { width: 22px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; }
.b1 { top: 12%; right: -2%; } .b1 .dot { background: var(--ok-solid); }
.b2 { bottom: 18%; left: -4%; animation-delay: -2s; } .b2 .dot { background: var(--btn-bg); }
.b3 { bottom: 4%; right: 8%; animation-delay: -4s; } .b3 .dot { background: #f59e0b; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring, .badge { animation: none; } html { scroll-behavior: auto; } }

/* ── Platforms ── */
.platforms { padding: 8px 0 56px; }
.platforms .label { text-align: center; font-size: 14px; font-weight: 600; color: var(--soft); margin-bottom: 16px; }
.ptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ptile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); font: inherit; text-align: left;
  cursor: pointer; min-height: 64px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ptile:hover { border-color: var(--pill-border); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--sh), .08); }
.ptile[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.ptile .logo { width: 38px; height: 38px; border-radius: 10px; }
.ptile b { display: block; font-size: 15px; color: var(--text); }
.ptile .status { margin: 0; display: block; font-size: 12.5px; text-transform: none; letter-spacing: 0; font-weight: 600; }

/* ── Proof band ── */
.proof { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0891b2 100%); color: #fff; }
.proof .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.proof-item { padding: 30px 24px; display: flex; flex-direction: column; gap: 2px; }
.proof-item b { font-family: var(--display); font-size: 28px; letter-spacing: -.03em; }
.proof-item span { font-size: 14.5px; color: #dbeafe; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section.tint { background: var(--surface); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 740px; margin-bottom: 44px; }
.kicker { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 8px; }
.head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.head p { font-size: 18.5px; color: var(--muted); }
.narrow { max-width: 900px; }

.codewrap { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.codecol { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); font: inherit;
  font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab .logo { width: 26px; height: 26px; border-radius: 7px; }
.tab[aria-pressed="true"] { border-color: var(--brand); color: var(--text); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.code-card { background: var(--ink); border-radius: 20px; overflow: hidden; border: 1px solid var(--code-border); box-shadow: 0 30px 60px rgba(var(--sh), .18); }
.code-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #1e293b; color: #94a3b8; font-size: 13px; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.tag { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #063b2c; color: #34d399; white-space: nowrap; }
.code-card pre { margin: 0; min-height: 378px; padding: 22px 24px 26px; color: #e2e8f0; font: 13.5px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow-x: auto; }
.sidecol { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-top: 56px; }
.mini { display: flex; gap: 14px; }
.mini .n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--display); color: #fff; }
.n1 { background: var(--btn-bg); } .n2 { background: var(--n-cyan); } .n3 { background: var(--n-violet); }
.mini b { display: block; font-size: 16px; }
.mini span { color: var(--muted); font-size: 15px; }
.self-start { align-self: flex-start; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(var(--sh), .04);
  transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(var(--sh), .08); }
.card h3 { font-size: 20px; font-weight: 750; }
.card p { color: var(--muted); font-size: 15.5px; }
.tile { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.t-blue { background: var(--brand-soft); color: var(--brand); } .t-cyan { background: var(--cyan-soft); color: var(--cyan); }
.t-violet { background: var(--violet-soft); color: var(--violet); } .t-amber { background: var(--amber-soft); color: var(--amber); }
.stepn { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }

.tablebox { overflow-x: auto; border: 1px solid var(--border); border-radius: 20px; background: var(--card); box-shadow: 0 1px 2px rgba(var(--sh), .04); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 660px; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-size: 13px; color: var(--soft); font-weight: 650; background: var(--surface); }
.cmp th.us { background: var(--btn-bg); color: #fff; font-size: 15px; }
.cmp td.us { background: var(--us-cell); font-weight: 650; }
.yes { color: var(--ok); font-weight: 650; }
.no { color: var(--soft); }

.priv { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.priv-panel { flex: 1 1 380px; min-width: 0; border-radius: 24px; padding: 36px; background: linear-gradient(160deg, var(--priv-1) 0%, var(--priv-2) 100%); display: flex; flex-direction: column; gap: 16px; }
.priv-panel .kicker { background: var(--on-panel); }
.priv-panel h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.priv-panel p { font-size: 18px; color: var(--muted); }
.priv-panel .btn { align-self: flex-start; margin-top: auto; }
.ticks { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--card); }
.ticks b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.ticks b svg { color: var(--ok-solid); flex: none; }
.ticks span { color: var(--muted); font-size: 15px; }

/* ── Pricing ── */
.cur { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 22px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); }
.cur button { font: inherit; font-size: 14px; font-weight: 650; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--btn-bg); color: #fff; }
.cur button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 2px rgba(var(--sh), .04); }
.plan.pick { background: linear-gradient(160deg, #2563eb 0%, #1d4ed8 100%); border-color: #1d4ed8; color: #fff; box-shadow: 0 24px 50px rgba(37, 99, 235, .3); }
.plan .name { display: flex; align-items: center; gap: 8px; font-weight: 750; font-size: 17px; }
.plan .pbadge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); }
.plan.pick .pbadge { background: rgba(255, 255, 255, .18); color: #fff; }
.plan .price { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--soft); letter-spacing: 0; white-space: nowrap; }
.plan.pick .price small { color: #dbeafe; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); flex: 1; }
.plan.pick ul { color: #e0ebff; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; color: var(--ok-solid); margin-top: 4px; }
.plan.pick li svg { color: #a7f3d0; }
.free-strip { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; justify-content: center; padding: 18px 20px; border-radius: 16px;
  background: var(--ok-soft); color: var(--ok); font-weight: 650; font-size: 15px; }
.free-strip span { display: inline-flex; align-items: center; gap: 7px; }
.fine { font-size: 14px; color: var(--soft); }
.center { text-align: center; margin-top: 14px; }

/* ── FAQ (native <details>) ── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 0 22px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 650; padding: 18px 0; min-height: 48px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 760px; }

/* ── Closing band + footer ── */
.band { background: linear-gradient(120deg, #1d4ed8 0%, #2563eb 50%, #0891b2 100%); color: #fff; padding: 84px 0; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.band h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; max-width: 660px; }
.band p { color: #dbeafe; margin-top: 12px; font-size: 18px; }
.foot { padding: 44px 0; font-size: 14.5px; color: var(--soft); border-top: 1px solid var(--border); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .brand img { width: 28px; height: 28px; }
.foot .wordmark { font-size: 19px; }

/* ── Phones ── */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .navlinks .hide-sm, .navlinks .hide-xs { display: none; }
  .nav .wrap { flex-wrap: nowrap; }
  .navlinks { gap: 4px 14px; }
  .hero { padding: 36px 0 44px; }
  .hero .wrap { gap: 28px; }
  .lede { font-size: 17px; }
  .builtfor { gap: 8px 10px; }
  .pill { width: 100%; }
  .picker { flex: 1 1 100%; }
  .menu { width: 100%; max-width: none; }
  .stage { width: min(300px, 86%); }
  .builtfor .apps { display: none; }
  .b1 { right: 0; } .b2 { left: 0; }
  .badge { font-size: 13px; padding: 7px 11px; }
  .platforms { padding: 0 0 44px; }
  .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .head { margin-bottom: 32px; }
  .head p { font-size: 17px; }
  .sidecol { padding-top: 0; }
  .code-card pre { min-height: 0; font-size: 12.5px; padding: 18px; }
  .card, .plan { padding: 22px; }
  .priv-panel { padding: 26px; }
  .band { padding: 60px 0; }
  .band .cta-row .btn { flex: 1 1 100%; }
  .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 8px; }
  .proof-item { padding: 18px 12px; }
  .proof-item b { font-size: 21px; }
  .proof-item span { font-size: 13.5px; }
  /* Comparison table becomes one card per row */
  .tablebox { border: 0; background: none; box-shadow: none; overflow: visible; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; min-width: 0; width: 100%; }
  .cmp thead { display: none; }
  .cmp tr { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
  .cmp td { padding: 4px 0; border: 0; display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
  .cmp td:first-child { font-weight: 700; font-size: 16px; padding-bottom: 8px; }
  .cmp td[data-label]::before { content: attr(data-label); color: var(--soft); font-weight: 500; }
  .cmp td.us { background: var(--brand-soft); border-radius: 8px; padding: 6px 8px; margin: 2px -8px; width: calc(100% + 16px); }
  .cmp td.us::before { color: var(--brand-dark); font-weight: 700; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 20px; }
  .navlinks .btn.small { padding: 0 12px; }
}

/* Events route under the hero (ticketing and events buyers talk to us) */
.events-note { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.linklike { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.linklike:hover { text-decoration: underline; }

/* Under the hood: the Rust core, on a dark band */
.section.engine { background: radial-gradient(90% 120% at 100% 0%, rgba(37, 99, 235, .35) 0%, rgba(37, 99, 235, 0) 60%), var(--ink); color: #e2e8f0; border-block: 1px solid var(--engine-edge); }
.engine .kicker { color: #bfdbfe; background: rgba(255, 255, 255, .08); }
.engine .head h2 { color: #fff; }
.engine .head p { color: #94a3b8; }
.engine .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.engine .card:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, .3); }
.engine .card h3 { color: #fff; }
.engine .card p { color: #94a3b8; }
.engine .tile { background: rgba(96, 165, 250, .14); color: #93c5fd; }
.engine-more { margin-top: 28px; font-weight: 600; }
.engine-more a { color: #93c5fd; }
.engine-more a::after { content: " \2192"; }

/* Code sample colours (same palette as the docs) */
.code-card pre .k { color: #c792ea; }
.code-card pre .t { color: #ffcb6b; }
.code-card pre .f { color: #82aaff; }
.code-card pre .s { color: #c3e88d; }
.code-card pre .n { color: #f78c6c; }
.code-card pre .c { color: #7f8ea3; font-style: italic; }
