/* The public home page (docs/home-page.md): calm and monochrome, oversized Geist type, big rounded
   cards, Nathan Net blue as the only accent. Light and dark follow the site's theme (theme.js sets
   html.dark). Motion lives in landing.js and turns off under reduced motion. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --card: #f2f4f7;
  --ink: #0b0d12;
  --muted: #5b616b;
  --line: rgba(11, 13, 18, 0.1);
  --brand: #2563eb;
  --brand-ink: #ffffff;
  --green: #16803c;
  --orange: #c4570a;
  --red: #d92d20;
  --radius: 20px;
  color-scheme: light;
}
html.dark {
  --bg: #0b0d12;
  --bg-2: #111318;
  --card: #1f2125;
  --ink: #ffffff;
  --muted: #9aa0aa;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #3b82f6;
  --brand-ink: #0b1222;
  --green: #32d583;
  --orange: #f79009;
  --red: #f25c54;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.lp {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.lp-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.lp-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.lp-skip:focus { left: 16px; }

/* Nav */
.lp-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.lp-nav-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.lp-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.lp-links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.lp-links a:hover { color: var(--ink); }
.lp-nav nav { margin-left: auto; }
.lp-nav-actions { display: flex; gap: 8px; }
@media (max-width: 720px) { .lp-nav nav { display: none; } .lp-nav-actions { margin-left: auto; } }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.lp-btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.lp-btn-brand { background: var(--brand); color: var(--brand-ink); }
.lp-btn-ink { background: var(--ink); color: var(--bg); }
.lp-btn-outline { border-color: var(--line); background: transparent; }
.lp-btn-ghost { background: transparent; }
.lp-btn:hover { transform: translateY(-1px); }

/* Hero */
.lp-hero { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 32px; padding: 72px 0 40px; }
@media (max-width: 860px) { .lp-hero { grid-template-columns: 1fr; padding-top: 40px; } .lp-hero-art { order: -1; max-width: 220px; } }
.lp-display { font-size: clamp(42px, 6.6vw, 84px); line-height: .95; letter-spacing: -0.045em; font-weight: 650; margin: 0 0 24px; }
.lp-line { display: block; overflow: hidden; padding-bottom: .06em; }
.lp-line > span { display: inline-block; }
.lp-lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.lp-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--muted); }
.lp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 0%, transparent); }
.lp-dot.is-on { background: var(--green); }
.lp-dot.is-maint { background: var(--orange); }
.lp-dot.is-off { background: var(--red); }
.lp-hero-art { display: grid; place-items: center; }
.lp-cube { width: min(100%, 360px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 36px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%), var(--bg-2); will-change: transform; }
.lp-cube img { width: 62%; }

/* Cards */
.lp-card { background: var(--card); border-radius: var(--radius); padding: 28px; }
.lp-section { padding: 56px 0; }
.lp-eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.lp-h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1; letter-spacing: -0.035em; font-weight: 650; margin: 0 0 18px; max-width: 18ch; }
.lp-h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 0 0 10px; }
.lp-body { color: var(--muted); max-width: 52ch; margin: 0; font-size: 19px; }
.lp-note { color: var(--muted); font-size: 15px; margin: 18px 0 0; }

.lp-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.lp-stat { display: flex; flex-direction: column; gap: 4px; }
.lp-stat-n { font-size: clamp(40px, 6vw, 64px); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.lp-stat-l { color: var(--muted); font-size: 15px; }

.lp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-feature { min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.lp-feature-wide { grid-column: span 2; background: var(--ink); color: var(--bg); }
.lp-feature-wide p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
@media (max-width: 600px) { .lp-feature-wide { grid-column: auto; } }
.lp-feature h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.lp-feature p { margin: 0; color: var(--muted); }
.lp-feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); margin-bottom: auto; }
.lp-feature-icon svg { width: 22px; height: 22px; }

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .lp-split { grid-template-columns: 1fr; } }

.lp-glance { display: flex; align-items: center; gap: 28px; background: #1f2125; color: #fff; }
.lp-ring { --p: .5; width: 132px; aspect-ratio: 1; position: relative; display: grid; place-items: center; flex: none; }
.lp-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#4c8df6 calc(var(--p) * 360deg), rgba(255,255,255,.12) 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.lp-ring span { position: relative; font-size: 30px; font-weight: 650; }
.lp-glance { position: relative; }
.lp-glance .lp-ring + .lp-glance-rows { display: grid; gap: 10px; }
.lp-glance-rows span { color: #9aa0aa; }
.lp-glance-rows b { color: #fff; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-steps h3 { margin: 8px 0 6px; font-size: 22px; }
.lp-steps p { margin: 0; color: var(--muted); }
.lp-step-n { font-size: 14px; color: var(--brand); font-weight: 600; }

.lp-cta { display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-size: 22px; font-weight: 600; min-height: 140px; }
.lp-cta svg { width: 28px; height: 28px; }
.lp-rules { display: flex; gap: 20px; align-items: flex-start; }
.lp-rules p { margin: 0; color: var(--muted); }

.lp-statuscard { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 22px; font-weight: 600; min-height: 120px; }
.lp-news { list-style: none; margin: 0; padding: 0; }
.lp-news li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lp-news a { text-decoration: none; font-weight: 500; }
.lp-news a:hover { text-decoration: underline; }
.lp-news time { color: var(--muted); font-size: 14px; white-space: nowrap; }

.lp-faq { display: grid; gap: 12px; }
.lp-faq details { padding: 0; }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; font-size: 19px; font-weight: 600; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-plus { font-size: 26px; line-height: 1; transition: transform .2s ease; }
.lp-faq details[open] .lp-plus { transform: rotate(45deg); }
.lp-answer { padding: 0 28px 22px; color: var(--muted); }

.lp-banner { margin: 16px 0 0; padding: 12px 18px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, transparent); }

.lp-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; margin-top: 40px; }
.lp-footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.lp-fine { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* Motion: hidden start states only when landing.js runs with motion allowed (html.lp-motion). */
html.lp-motion [data-stagger] > * { opacity: 0; transform: translateY(18px); }
html.lp-motion [data-stagger] > *.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }

/* Pages cross-fade (same-origin navigations), only when motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}
