@font-face { font-family: Outfit; src: url(fonts/outfit-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Outfit; src: url(fonts/outfit-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Figtree; src: url(fonts/figtree-latin-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; src: url(fonts/figtree-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --bg: #f5f5f4;
  --surface: #fff;
  --text: #111;
  --muted: #5e5e5e;
  --line: #e2e2df;
  --ok: #16a34a;
  --slow: #d97706;
  --down: #dc2626;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --surface: #161618;
    --text: #f2f2f2;
    --muted: #a3a3a3;
    --line: #2a2a2e;
    --ok: #4ade80;
    --slow: #fbbf24;
    --down: #f87171;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 Figtree, system-ui, sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
img, svg { display: block; }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; font-weight: 500; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.unit { stroke: currentColor; fill: none; stroke-width: 5; }
.slot { stroke: currentColor; fill: none; stroke-width: 4; stroke-linecap: round; }
.led { fill: currentColor; }
.dot { fill: var(--ok); }

header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 500 24px/1 Outfit, system-ui, sans-serif; letter-spacing: -0.01em; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--muted); font-size: 15px; }

.hero { display: grid; gap: 40px; padding-top: 32px; padding-bottom: 72px; align-items: center; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; }
.lead { margin-top: 20px; max-width: 34em; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.states { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; font: 500 19px/1.3 Outfit, system-ui, sans-serif; }
.states li { display: flex; align-items: center; gap: 8px; }
.pip { width: 11px; height: 11px; border-radius: 50%; background: var(--ok); flex: none; }
.pip.warn { background: var(--slow); }
.pip.crit { background: var(--down); }
.soon { margin-top: 28px; font-size: 16px; }
.soon strong { font-weight: 600; }
.soon span { color: var(--muted); }

.shot { width: 100%; height: auto; border-radius: 22px; background: var(--surface); }
.hero picture { display: block; }
.hero .shot { max-width: 410px; margin: 0 auto; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 880px) { .hero { grid-template-columns: 1fr 410px; gap: 64px; padding-top: 48px; padding-bottom: 96px; } }

section { padding: 64px 0; border-top: 1px solid var(--line); }
section > .wrap > h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; }

.features { display: grid; gap: 28px 40px; margin-top: 36px; }
.features h3 { font-size: 20px; line-height: 1.25; }
.features p { margin-top: 6px; color: var(--muted); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.gallery { display: grid; gap: 24px; margin: 36px 0 0; align-items: start; }
.gallery figure { margin: 0; }
.gallery .shot { box-shadow: 0 0 0 1px var(--line); }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.plans { display: grid; gap: 16px; margin-top: 36px; }
.plan { padding: 24px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.plan h3 { font-size: 24px; }
.plan ul { margin: 14px 0 0; padding: 0; list-style: none; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.note { margin-top: 16px; color: var(--muted); font-size: 15px; }

.promises { margin: 28px 0 0; padding: 0; list-style: none; max-width: 44em; }
.promises li { padding: 12px 0; border-top: 1px solid var(--line); }
.promises li:first-child { border-top: 0; }

footer { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

.notfound { padding-top: 96px; padding-bottom: 96px; }
.notfound h1 { font-size: 40px; }
.notfound p { margin-top: 12px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 2; padding: 10px 14px; border-radius: 8px; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.cta { display: inline-flex; align-items: center; min-height: 48px; margin-top: 28px; padding: 0 22px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; }

.faq { margin-top: 28px; max-width: 44em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { padding: 14px 0; min-height: 44px; font-weight: 600; cursor: pointer; }
.faq p { padding-bottom: 16px; color: var(--muted); }

footer .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer .copy { margin-right: auto; }

.doc { max-width: 720px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 16px 0 24px; }
.doc h2 { font-size: 26px; margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 19px; margin: 24px 0 4px; }
.doc p, .doc ul { margin: 8px 0; }
.doc .lang { color: var(--muted); font-size: 15px; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 5px; border-radius: 6px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.term code { padding: 0; background: none; box-shadow: none; font: inherit; }
.term { margin: 28px 0 0; padding: 18px 20px; max-width: 44em; overflow-x: auto; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
