/* Public website: landing, docs, legal pages. Tokens and buttons come from app.css. */
.site-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(8px);
}
.site-header .inner { display: flex; align-items: center; gap: 22px; max-width: 1180px; margin: 0 auto; padding: 12px 24px; }
.site-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.2px; color: var(--ink); text-decoration: none; }
.site-brand .mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--accent); color: var(--on-accent); }
.site-brand .mark svg { width: 19px; height: 19px; }
.site-nav { display: flex; gap: 4px; flex: 1; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--accent-wash); color: var(--accent); }
.site-actions { display: flex; align-items: center; gap: 10px; }
a.btn { text-decoration: none; }
a.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
a.btn.solid:hover { filter: brightness(1.08); background: var(--accent); color: var(--on-accent); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hero { padding: 76px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--accent-wash); color: var(--accent); font-size: 12.5px; font-weight: 700; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.08; }
.hero h1 span { color: var(--accent); }
.hero p.lead { margin: 18px 0 26px; max-width: 52ch; color: var(--muted); font-size: 17px; line-height: 1.6; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn { height: 46px; padding: 0 22px; font-size: 14.5px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 12.5px; }
.sample { padding: 0; overflow: hidden; }
.sample .tabs { padding: 0 8px; }
.sample .code { margin: 0; }
.sample .code pre { border: 0; border-radius: 0; background: transparent; min-height: 220px; }
section.block { padding: 64px 0; }
section.block.alt { background: var(--panel); border-block: 1px solid var(--border); }
.block h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 10px; }
.block .sub { max-width: 62ch; margin: 0 0 32px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 22px; }
.feature .icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 10px; background: var(--accent-wash); color: var(--accent); }
.feature .icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.steps-wide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -.6px; }
.plan .price small { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.plan li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { padding: 0; }
.faq summary { padding: 16px 18px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.cta-band { padding: 44px; text-align: center; background: var(--accent-wash); border: 1px solid var(--border); border-radius: 16px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .cta { justify-content: center; margin-top: 22px; }
.site-footer { margin-top: 40px; padding: 36px 0 44px; border-top: 1px solid var(--border); background: var(--panel); color: var(--muted); font-size: 13.5px; }
.site-footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .fine { margin-top: 22px; font-size: 12.5px; max-width: 80ch; line-height: 1.6; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-dot.up::before { background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 25%, transparent); }
.status-dot.down::before { background: var(--danger); }
/* documents (legal, docs) */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 24px 24px; }
.doc h1 { font-size: 34px; font-weight: 800; letter-spacing: -.7px; margin-bottom: 6px; }
.doc .meta-line { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.doc h2 { margin: 30px 0 8px; font-size: 20px; }
.doc p, .doc li { color: var(--ink); line-height: 1.75; font-size: 15px; }
.doc ul { padding-left: 22px; }
.draft-banner { margin-bottom: 26px; padding: 14px 16px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }
.docs-page { max-width: 1280px; margin: 0 auto; padding: 36px 24px 24px; }
.docs-page h1 { font-size: 32px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 6px; }
.docs-page .lead { color: var(--muted); margin: 0 0 22px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .features, .steps-wide { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .site-header .inner { justify-content: space-between; }
}
@media (max-width: 560px) { .features, .steps-wide { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }
/* polish */
section.block { scroll-margin-top: 64px; }
.hero-note a, .doc a, .faq .answer a, .site-footer .fine a { color: var(--accent); font-weight: 600; }
