/* app/static/site/ssr.css
   ────────────────────────────────────────────────────────────────────────
   Static twin of the <style> blocks the marketing React components inject
   at render time (app/static/site/src/*.jsx). The server-rendered frame in
   app/templates/site/_ssr.html uses the same class names, so linking these
   rules from _layout.html makes the pre-hydration paint lay out exactly like
   the React paint that replaces it — no jump when the bundle mounts. Once
   React has mounted, its own <style> blocks carry identical rules; the two
   never disagree because this file is a copy. Edit a rule in the .jsx and
   copy it here in the same commit. Not part of the esbuild bundle on
   purpose: no rebuild is needed to ship an SSR change. */

/* ── hero.jsx ─────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-showpiece { grid-template-columns: 1fr !important; }
  .hero-stat-row { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-stat-row > div { border-right: none !important; border-bottom: 1px solid var(--line); }
  .hero-stat-row > div:nth-child(n+3) { border-bottom: none; }
}
@media (max-width: 600px) {
  .hero-dispatch { display: none !important; }
  .hero-stat-row { grid-template-columns: 1fr !important; }
  .hero-stat-row > div { border-right: none !important; border-bottom: 1px solid var(--line); }
  .hero-stat-row > div:last-child { border-bottom: none; }
}

/* ── feature_row.jsx ──────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr !important; padding: 28px 0 !important; }
  .feature-row > .feature-row__visual { order: -1; }
}

/* ── stat_grid.jsx ────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr !important; }
}

/* ── pricing.jsx ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .pricing-grid .card > div:first-child { padding: 22px 20px 18px !important; }
  .pricing-grid ul { padding: 16px 20px !important; }
  .pricing-grid > div > div:last-child { padding: 0 20px 20px !important; }
}

/* ── cta.jsx ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ── faq.jsx (server frame only: <details> stands in for the button) ─── */
.ssr-faq > summary::-webkit-details-marker { display: none; }
.ssr-faq > summary::marker { content: ""; }
.ssr-faq[open] > summary > span[aria-hidden] { visibility: hidden; }

/* ── logos.jsx ────────────────────────────────────────────────────────── */
.lg-head {
  text-align: center; font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.16em;
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.lg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.lg-item { padding: 22px 24px 22px 0; border-right: 1px solid var(--line); }
.lg-item:last-child { border-right: 0; padding-right: 0; }
.lg-item + .lg-item { padding-left: 24px; }
.lg-k { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 7px; }
.lg-v { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
@media (max-width: 880px) {
  .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-item { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
  .lg-item:nth-child(2n) { border-right: 0; padding-right: 0; }
  .lg-item:nth-child(2n+1) { padding-left: 0; }
  .lg-item:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-item { padding: 18px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .lg-item:last-child { border-bottom: 0; }
}

/* ── workflow.jsx ─────────────────────────────────────────────────────── */
.wf-rail { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 0 clamp(28px, 3vw, 40px); }
.wf-rail-item { display: inline-flex; align-items: center; gap: 8px; }
.wf-rail-n { font-size: 11px; color: var(--ink-4); letter-spacing: 0.06em; }
.wf-rail-label {
  font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 13px; background: var(--bg-1); white-space: nowrap;
}
.wf-rail-arrow { color: var(--ink-4); font-size: 13px; margin: 0 2px; }
.wf-shot { padding: 0; overflow: hidden; margin: 0 0 clamp(20px, 2.5vw, 28px); }
.wf-shot-scroll { overflow-x: auto; border-bottom: 1px solid var(--line); }
.wf-shot img { display: block; width: 100%; height: auto; }
.wf-shot figcaption { padding: 14px 20px; font-size: 13px; line-height: 1.55; color: var(--ink-3); margin: 0; }
.wf-shot-hint { display: none; }
.wf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wf-card { padding: 0; display: flex; flex-direction: column; }
.wf-card-summary { list-style: none; cursor: default; padding: 24px 24px 0; position: relative; }
.wf-card-summary::-webkit-details-marker { display: none; }
.wf-chev { display: none; }
.wf-card-body { padding: 0 24px 26px; display: flex; flex-direction: column; flex: 1; }
.wf-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.wf-card-n { font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.wf-card-label { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em; }
.wf-card-title { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 8px; line-height: 1.25; }
.wf-card-lede { margin: 10px 0 18px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.wf-list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 0; }
.wf-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start;
  padding: 11px 0; border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.wf-list li svg { color: var(--accent); margin-top: 3px; }
.wf-foot { margin: clamp(28px, 3vw, 40px) 0 0; font-size: 13.5px; color: var(--ink-3); }
.wf-foot .ulink { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 1000px) {
  .wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wf-grid { grid-template-columns: 1fr; gap: 10px; }
  .wf-rail { gap: 8px; }
  .wf-rail-label { padding: 4px 11px; font-size: 12.5px; }
  .wf-card-summary { cursor: pointer; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .wf-card-summary .wf-card-head { margin-bottom: 5px; }
  .wf-card-title { font-size: 17px; }
  .wf-chev { display: block; grid-row: 1 / -1; grid-column: 2; color: var(--ink-3); transition: transform 0.18s ease; }
  details[open] > .wf-card-summary .wf-chev { transform: rotate(180deg); }
  .wf-card-body { padding: 0 18px 18px; }
  .wf-shot-scroll { -webkit-overflow-scrolling: touch; }
  .wf-shot-scroll img { width: 720px; max-width: none; }
  .wf-shot figcaption { padding: 12px 16px; font-size: 12.5px; }
  .wf-shot-hint { display: block; margin-top: 5px; color: var(--ink-4); }
  .wf-card-lede { margin: 4px 0 14px; }
  .wf-list li { padding: 10px 0; font-size: 13px; }
}

/* ── community.jsx ────────────────────────────────────────────────────── */
.cm-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.cm-board { padding: 0; overflow: hidden; }
.cm-board-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cm-board-title { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em; }
.cm-list { list-style: none; margin: 0; padding: 6px 0; }
.cm-list li { display: flex; align-items: center; gap: 14px; padding: 11px 20px; }
.cm-pos { flex: 0 0 auto; width: 18px; text-align: right; font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; }
.cm-insignia { flex: 0 0 auto; width: 34px; height: 34px; object-fit: contain; }
.cm-insignia--blank { border-radius: 50%; background: var(--bg-3); }
.cm-who { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cm-handle { font-size: 14.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-rank { font-size: 12px; color: var(--ink-3); }
.cm-board-foot { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.cm-side { display: grid; gap: 16px; }
.cm-side--solo { grid-column: 1 / -1; }
.cm-quote { padding: 26px 28px; margin: 0; }
.cm-quote-mark { color: var(--accent); opacity: 0.6; margin-bottom: 14px; display: block; }
.cm-quote blockquote { margin: 0 0 18px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); }
.cm-quote figcaption { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.cm-quote-name { color: var(--ink-2); font-weight: 500; }
.cm-quote-handle { color: var(--accent); }
.cm-what { padding: 26px 28px; }
.cm-what-title { margin: 0 0 4px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.cm-what-list { list-style: none; padding: 0; margin: 0 0 20px; }
.cm-what-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cm-what-list li:last-child { border-bottom: 0; }
.cm-what-list strong { color: var(--ink); font-weight: 550; }
@media (max-width: 900px) {
  .cm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cm-quote, .cm-what { padding: 22px 20px; }
  .cm-list li { padding: 10px 16px; gap: 12px; }
}

/* ── ecosystem.jsx ────────────────────────────────────────────────────── */
.eco-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; align-items: stretch; }
.eco-card { padding: 26px 26px 24px; display: flex; flex-direction: column; }
.eco-card--pod { background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 7%, transparent), transparent 55%); }
.eco-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.eco-badge {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 12px; color: var(--accent); background: var(--bg-1);
}
.eco-kicker { display: block; font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 5px; }
.eco-title { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; margin: 0; line-height: 1.2; }
.eco-body { margin: 0 0 20px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.eco-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.eco-note { font-size: 12px; color: var(--ink-3); }
.eco-pod-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.eco-cover { flex: none; width: 84px; height: 84px; border-radius: 14px; border: 1px solid var(--line); object-fit: cover; background: var(--bg-2); }
.eco-pod-sub { margin: 5px 0 0; font-size: 12.5px; color: var(--ink-3); }
.eco-listen { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.eco-svc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink); background: var(--bg-1);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.eco-svc:hover { border-color: var(--ink-3); background: var(--bg-2); transform: translateY(-1px); }
@media (max-width: 1000px) {
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .eco-card--pod { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) {
  .eco-grid { grid-template-columns: 1fr; gap: 12px; }
  .eco-card--pod { order: 0; }
  .eco-card { padding: 22px 20px 20px; }
  .eco-cover { width: 72px; height: 72px; }
}

/* ── founding_seats.jsx ───────────────────────────────────────────────── */
.fs-wrap { position: relative; text-align: center; max-width: 820px; }
.fs-eyebrow { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 18px; }
.fs-title { font-size: clamp(30px, 4.6vw, 58px); margin: 0 0 20px; text-wrap: balance; }
.fs-count { color: var(--accent); }
.fs-open { color: var(--accent); }
.fs-lede { color: var(--ink-2); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; margin: 0 auto; max-width: 46em; }
.fs-meter { height: 5px; border-radius: 999px; background: var(--bg-3); overflow: hidden; margin: 30px auto 0; max-width: 460px; }
.fs-meter > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 55%, transparent), var(--accent)); }
.fs-perks { list-style: none; padding: 0; margin: clamp(32px, 4vw, 44px) auto 0; max-width: 560px; text-align: left; }
.fs-perks li {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.5; color: var(--ink-2);
}
.fs-perks li:last-child { border-bottom: 1px solid var(--line); }
.fs-perks .mono { font-size: 11px; color: var(--ink-4); letter-spacing: 0.08em; }
.fs-actions { display: flex; justify-content: center; gap: 12px; margin-top: clamp(30px, 4vw, 40px); flex-wrap: wrap; }
.fs-fine { margin: 22px auto 0; max-width: 44em; font-size: 12.5px; line-height: 1.6; color: var(--ink-4); }
@media (max-width: 560px) {
  .fs-actions { flex-direction: column; align-items: stretch; }
  .fs-actions .btn { width: 100%; justify-content: center; }
}

/* ── audiences.jsx ────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .audience-card { grid-template-columns: 1fr !important; }
  .audience-copy { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .audience-panel { min-height: 360px !important; }
  .audience-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .audience-tabs button { white-space: nowrap; flex-shrink: 0; }
}
@media (max-width: 600px) {
  .audience-panel { min-height: 320px !important; }
}

/* ── nav.jsx (header only — the mobile menu is React's) ───────────────── */
.hover-link { transition: color 0.15s ease; }
.hover-link:hover { color: var(--ink); }
.nav-burger {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); cursor: pointer; padding: 0;
}
.nav-burger:hover { background: var(--bg-1); }
.burger-bars { display: inline-block; position: relative; width: 18px; height: 12px; }
.burger-bars span { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; border-radius: 2px; }
.burger-bars span:nth-child(1) { top: 0; }
.burger-bars span:nth-child(2) { top: 5px; }
.burger-bars span:nth-child(3) { top: 10px; }
@media (max-width: 1100px) {
  .nav-search { display: none; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-signup { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ── footer.jsx ───────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; margin-bottom: 40px !important; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}
