/* ImgCourier — site styles */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-sunk: #eef1f8;
  --ink: #0d1424;
  --ink-2: #334058;
  --muted: #65728a;
  --line: #e1e6f0;
  --line-strong: #cdd4e3;
  --card: #ffffff;
  --accent: #2b59ff;
  --accent-2: #1a3fd6;
  --accent-ink: #ffffff;
  --accent-soft: #e9eeff;
  --volt: #c8f53a;
  --volt-ink: #18210a;
  --ok: #10a36b;
  --warn: #d98a00;
  --code-bg: #0b1122;
  --code-ink: #dbe3f4;
  --code-dim: #7c89a8;
  --code-key: #8fb0ff;
  --code-str: #c8f53a;
  --code-num: #ffb86b;
  --shadow: 0 1px 2px rgba(13, 20, 36, .05), 0 8px 24px -12px rgba(13, 20, 36, .14);
  --radius: 14px;
  --radius-sm: 9px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080d19;
    --bg-soft: #0d1424;
    --bg-sunk: #111a2e;
    --ink: #e7ecf7;
    --ink-2: #bcc6db;
    --muted: #8692ad;
    --line: #1b2640;
    --line-strong: #27355a;
    --card: #0e1628;
    --accent: #5a7dff;
    --accent-2: #8aa2ff;
    --accent-ink: #ffffff;
    --accent-soft: #141f44;
    --code-bg: #050913;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 760; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0 0 1em; color: var(--ink-2); }
code, pre, kbd { font-family: var(--mono); font-size: .9em; }
:not(pre) > code {
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  padding: .08em .38em;
  border-radius: 6px;
  color: var(--ink);
}
p > code, li > code, td > code { overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 99; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 760; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.brand .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: .94rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .btn { margin-left: 8px; }
.menu-btn {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; width: 40px; height: 40px; color: var(--ink); cursor: pointer;
}
.menu-btn svg { margin: auto; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 var(--sans); padding: 12px 18px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px var(--accent); }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.nav .btn-primary { color: var(--accent-ink); padding: 10px 14px; }
.nav .btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-grid > *, .split > *, .cards > *, .plans > *, .steps > *, .team > *, .foot-grid > *, .band > *, .quote > *, .release > *, .post-card > * { min-width: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .hero-art { max-width: 560px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .78rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 12px 7px 8px; margin-bottom: 22px;
}
.eyebrow b { background: var(--volt); color: var(--volt-ink); padding: 3px 7px; border-radius: 999px; font-weight: 700; }
.hero h1 .hl { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--ok); }

.url-demo {
  margin-top: 30px; background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius);
  font: .86rem/1.5 var(--mono); padding: 14px 16px; overflow-x: auto; white-space: nowrap;
  border: 1px solid var(--line-strong);
}
.url-demo .k { color: var(--code-key); }
.url-demo .v { color: var(--code-str); }
.url-demo .d { color: var(--code-dim); }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

/* ---------- logos strip ---------- */
.logos { padding: 34px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.logos p { text-align: center; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; align-items: center; }
.logo-row span {
  font-weight: 760; letter-spacing: -0.02em; color: var(--muted); font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 8px; opacity: .85;
}
.logo-row svg { width: 20px; height: 20px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font: 700 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: relative;
}
.card h3 { margin-top: 14px; }
.card p { font-size: .95rem; margin-bottom: 0; }
.card .ico {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.card .ico svg { width: 22px; height: 22px; }
.card .tag { position: absolute; top: 20px; right: 20px; font: 600 .7rem/1 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split, .split.rev { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 5px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232b59ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.stats > div { padding: 26px 22px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 2rem; letter-spacing: -0.03em; font-weight: 760; color: var(--ink); }
.stats span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- code ---------- */
.code {
  background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius);
  border: 1px solid var(--line-strong); overflow: hidden; box-shadow: var(--shadow);
}
.code-head {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07); font: .78rem/1 var(--mono); color: var(--code-dim);
}
.code-head .tabs { display: flex; gap: 4px; }
.code-head .tabs span { padding: 6px 9px; border-radius: 6px; }
.code-head .tabs span.on { background: rgba(255, 255, 255, .08); color: var(--code-ink); }
.copy {
  margin-left: auto; background: transparent; color: var(--code-dim); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px; font: .74rem/1 var(--mono); padding: 6px 9px; cursor: pointer;
}
.copy:hover { color: var(--code-ink); border-color: rgba(255, 255, 255, .3); }
.code pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font-size: .84rem; line-height: 1.65; }
.code .c { color: var(--code-dim); }
.code .k { color: var(--code-key); }
.code .s { color: var(--code-str); }
.code .n { color: var(--code-num); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 .82rem/1 var(--mono); color: var(--accent); display: block; margin-bottom: 12px; }
.step p { font-size: .95rem; }

/* ---------- quote ---------- */
.quote { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; max-width: 860px; margin: 0 auto; }
.quote blockquote { margin: 0; font-size: clamp(1.15rem, 2.3vw, 1.45rem); line-height: 1.45; color: var(--ink); letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: .92rem; color: var(--muted); }
.quote cite b { color: var(--ink); }
.avatar { width: 56px; height: 56px; }
@media (max-width: 560px) { .quote { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.band {
  background: var(--accent); color: #fff; border-radius: 20px; padding: 48px 40px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .08);
}
.band h2, .band p { color: #fff; }
.band p { opacity: .88; margin: 0; }
.band .btn { background: var(--volt); color: var(--volt-ink); position: relative; z-index: 1; }
.band .btn:hover { background: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 34px 22px; } }

/* ---------- pricing ---------- */
.page-head { padding: 64px 0 36px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-head p { font-size: 1.1rem; max-width: 40em; }
.billing-note { font-size: .88rem; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.pop { border: 2px solid var(--accent); position: relative; }
.plan.pop .badge { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 6px 9px; border-radius: 6px; }
.plan h3 { margin: 0 0 4px; }
.plan .for { font-size: .88rem; color: var(--muted); margin-bottom: 18px; min-height: 2.8em; }
.price { font-size: 2.4rem; font-weight: 780; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; align-content: start; gap: 9px; font-size: .92rem; color: var(--ink-2); flex: 1; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; color: var(--ink); background: var(--bg-soft); }
td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.table-wrap table tr:last-child td { border-bottom: 0; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 640; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.4rem/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 80px; }
.docs > * { min-width: 0; }
@media (max-width: 900px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.side { position: sticky; top: 84px; align-self: start; font-size: .92rem; }
.side h4 { font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 22px 0 10px; }
.side h4:first-child { margin-top: 0; }
.side ul { list-style: none; padding: 0; margin: 0; }
.side a { display: block; padding: 5px 10px; border-left: 2px solid var(--line); color: var(--ink-2); }
.side a:hover { border-left-color: var(--accent); color: var(--ink); text-decoration: none; }
@media (max-width: 900px) {
  .side { position: static; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
  .side ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .side a { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: var(--card); }
}
.doc h2 { margin-top: 56px; padding-top: 8px; scroll-margin-top: 80px; font-size: 1.6rem; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 30px; scroll-margin-top: 80px; }
.doc .code { margin: 16px 0 24px; }
.doc .table-wrap { margin: 16px 0 24px; }
.doc td code, .doc th code { white-space: nowrap; overflow-wrap: normal; }
.method { font: 700 .72rem/1 var(--mono); padding: 4px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); margin-right: 6px; }
.method.del { background: #ffe9e6; color: #c8321e; }
@media (prefers-color-scheme: dark) { .method.del { background: #3a1611; color: #ff8a77; } }
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--bg-soft);
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem; margin: 18px 0;
}
.note.warn { border-left-color: var(--warn); }
.note p:last-child { margin: 0; }

/* ---------- prose (blog / legal) ---------- */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 0 88px; }
.prose h2 { margin-top: 2.2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.8em; }
.prose li { color: var(--ink-2); margin-bottom: .35em; }
.prose .code { margin: 1.4em 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.meta { font: .82rem/1.4 var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 18px; }
.back { font-size: .9rem; display: inline-block; margin-bottom: 26px; }

.posts { display: grid; gap: 18px; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); color: inherit; }
.post-card:hover { border-color: var(--accent); text-decoration: none; }
.post-card h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.post-card p { margin: 0; font-size: .95rem; }
.post-card .thumb { border-radius: 10px; overflow: hidden; background: var(--bg-sunk); }
.post-card .thumb svg { width: 100%; height: 100%; }
@media (max-width: 680px) { .post-card { grid-template-columns: 1fr; } .post-card .thumb { aspect-ratio: 16 / 8; } }

/* ---------- changelog ---------- */
.log { max-width: 820px; padding: 48px 0 88px; }
.release { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.release:last-child { border-bottom: 0; }
.release time { font: .85rem/1.4 var(--mono); color: var(--muted); }
.release .ver { display: inline-block; margin-top: 6px; font: 700 .78rem/1 var(--mono); background: var(--bg-sunk); border: 1px solid var(--line); padding: 4px 7px; border-radius: 6px; color: var(--ink); }
.release h3 { margin-top: 0; }
.release ul { padding-left: 0; list-style: none; margin: 0; }
.release li { color: var(--ink-2); margin-bottom: 8px; padding-left: 74px; position: relative; font-size: .95rem; }
.release li b { position: absolute; left: 0; top: .2em; font: 700 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; padding: 4px 0; width: 62px; text-align: center; border-radius: 5px; }
.t-new { background: var(--accent-soft); color: var(--accent); }
.t-fix { background: #e3f7ee; color: #0d7a50; }
.t-imp { background: #fff3d9; color: #8a5a00; }
@media (prefers-color-scheme: dark) { .t-fix { background: #0f2c22; color: #5fd6a5; } .t-imp { background: #2d230d; color: #f3c25d; } }
@media (max-width: 620px) { .release { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- about ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team { grid-template-columns: 1fr; } }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.person svg { width: 56px; height: 56px; margin-bottom: 14px; }
.person b { display: block; color: var(--ink); }
.person span { font-size: .88rem; color: var(--muted); }
.timeline { border-left: 2px solid var(--line); margin: 0; padding: 0 0 0 24px; list-style: none; }
.timeline li { position: relative; padding-bottom: 22px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -31px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline b { font-family: var(--mono); font-size: .85rem; color: var(--accent); display: block; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 80px 0 110px; }
.nf svg { margin: 0 auto 28px; width: min(380px, 100%); height: auto; }
.nf p { max-width: 30em; margin-left: auto; margin-right: auto; }
.nf .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--bg-soft); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }
.footer h4 { font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--accent); }
.footer p { font-size: .9rem; max-width: 26em; }
.news { display: flex; gap: 8px; margin-top: 14px; max-width: 360px; }
.news input {
  flex: 1; min-width: 0; font: inherit; font-size: .9rem; padding: 10px 12px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink);
}
.news input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.news .btn { padding: 10px 14px; }
.news-msg { font-size: .85rem; color: var(--ok); min-height: 1.3em; margin-top: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }

/* ---------- svg art helpers ---------- */
.a-card { fill: var(--card); stroke: var(--line-strong); }
.a-soft { fill: var(--bg-sunk); }
.a-line { stroke: var(--line-strong); fill: none; }
.a-ink { fill: var(--ink); }
.a-ink2 { fill: var(--ink-2); }
.a-muted { fill: var(--muted); }
.a-accent { fill: var(--accent); }
.a-accent-s { stroke: var(--accent); fill: none; }
.a-accent-soft { fill: var(--accent-soft); }
.a-volt { fill: var(--volt); }
.a-code { fill: var(--code-bg); }
.a-mono { font-family: var(--mono); }
.a-sans { font-family: var(--sans); }

@media (prefers-reduced-motion: no-preference) {
  .flow { stroke-dasharray: 5 7; animation: flow 1.6s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -24; } }
}
