/* GeoData Cove — основная таблица стилей */
:root {
  --bg: #f5f7f6;
  --surface: #ffffff;
  --surface-2: #eef3f2;
  --ink: #10222a;
  --ink-2: #3b4f57;
  --muted: #66777d;
  --line: #dbe4e2;
  --deep: #0b3b47;
  --deep-2: #0f4c5b;
  --accent: #0e8f81;
  --accent-ink: #ffffff;
  --accent-soft: #d8f1ed;
  --mint: #5fd3c6;
  --warn: #b7791f;
  --ok: #1f9d55;
  --danger: #c0392b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 34, 42, .06), 0 8px 24px rgba(16, 34, 42, .06);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1619;
    --surface: #111f24;
    --surface-2: #16282e;
    --ink: #e6efee;
    --ink-2: #b5c6c8;
    --muted: #8a9da1;
    --line: #22383f;
    --accent: #3cc2b2;
    --accent-ink: #062226;
    --accent-soft: #123a3a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code { font-family: var(--mono); font-size: .92em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .62em 1.15em; border-radius: 10px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: #e9f6f4; }
.btn-lg { padding: .85em 1.5em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0 auto 0 12px; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.site-nav ul a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; }
.bars::before { position: absolute; top: -6px; }
.bars::after { position: absolute; top: 6px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; margin: 0; }
  .nav-actions { flex-direction: column; }
}

/* Секции */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* Первый экран */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 14em; }
.hero .lead { max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: .9rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); margin-bottom: 20px; text-decoration: none; }
.badge b { background: var(--accent-soft); color: var(--accent); padding: 2px 8px; border-radius: 999px; font-size: .75rem; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* Демонстрация интерфейса */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: .85rem; min-width: 0; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 10px; color: var(--muted); font-size: .78rem; }
.mock-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); height: 372px; }
.mock-side { border-right: 1px solid var(--line); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.mock-side button { text-align: left; border: 0; background: transparent; padding: 7px 10px; border-radius: 7px; color: var(--ink-2); font: inherit; cursor: pointer; }
.mock-side button:hover { background: var(--surface-2); color: var(--ink); }
.mock-side button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mock-side .usage { margin: auto 10px 4px; font-size: .75rem; color: var(--muted); }
.meter { height: 6px; background: var(--surface-2); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.meter > span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.meter .w38 { width: 38%; }
.mock-main { display: flex; flex-direction: column; min-width: 0; padding: 10px 14px 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; margin-bottom: 4px; }
.mock-path { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mock-path .cur { color: var(--ink); font-weight: 600; }
.crumb { border: 0; background: none; padding: 0; color: var(--muted); font: inherit; cursor: pointer; }
.crumb:hover { color: var(--accent); text-decoration: underline; }
.mock-upload, .mini { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: 4px 10px; font: 600 .78rem var(--font); cursor: pointer; }
.mock-upload { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mock-upload[disabled] { opacity: .6; cursor: progress; }
.mini:hover { border-color: var(--accent); color: var(--accent); }
.mock-list { flex: 1; overflow-y: auto; min-height: 0; }
.mock-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; width: 100%; padding: 8px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: left; border-radius: 0; }
button.mock-row { cursor: pointer; }
button.mock-row:hover { background: var(--surface-2); }
.mock-row.sel { background: var(--accent-soft); }
.mock-row.off { opacity: .55; }
.mock-row.with-action { grid-template-columns: 20px minmax(0, 1fr) auto auto auto; }
.mock-row small { color: var(--muted); text-align: right; white-space: nowrap; }
.mock-row .st-ok { color: var(--ok); }
.mock-row .st-run { color: var(--warn); }
.nm { display: flex; align-items: center; gap: 6px; min-width: 0; position: relative; }
.nm-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tag { flex: none; font-size: .68rem; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.tag-lock { background: var(--surface-2); color: var(--ink-2); }
.prog { position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.prog > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s; }
.mock-empty { color: var(--muted); padding: 24px 6px; margin: 0; }
.mock-detail { border-top: 1px solid var(--line); margin: 0 -14px; padding: 9px 14px; min-height: 40px; color: var(--ink-2); font-size: .78rem; background: var(--surface-2); }
.ficon { width: 18px; height: 20px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); }
.ficon.dir { background: #f2c94c; border-color: #e0b33a; height: 15px; }
.ficon.geo { background: #6fcf97; border-color: #4fb27a; }
.ficon.arc { background: #9b8cf0; border-color: #7f6fe0; }
.ficon.doc { background: #7fb3f5; border-color: #5c98e6; }
.ficon.img { background: #f2a07b; border-color: #e0845c; }
.ficon.vid { background: #e87fa4; border-color: #d4608a; }
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; height: auto; }
  .mock-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .mock-side button { white-space: nowrap; }
  .mock-side .usage { display: none; }
  .mock-list { max-height: 300px; }
  .mock-row { grid-template-columns: 20px minmax(0, 1fr) auto; }
  .mock-row small:last-of-type { display: none; }
  .mock-row.with-action { grid-template-columns: 20px minmax(0, 1fr) auto auto; }
}

/* Полоса фактов */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fact b { display: block; font-size: 1.7rem; letter-spacing: -.02em; }
.fact span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Карточки */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card p { color: var(--ink-2); }

/* Карта узлов */
.regions { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.region-map { background: #0b3b47; border-radius: 18px; overflow: hidden; }
.region-map img { width: 100%; height: auto; }
.region-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; list-style: none; padding: 0; margin: 20px 0 0; }
.region-list li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
@media (max-width: 900px) { .regions { grid-template-columns: 1fr; } }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.dot-warn { background: var(--warn); }

/* Сценарии */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.persona { padding: 32px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.persona.dark { background: var(--deep); color: #e6f3f1; border-color: var(--deep); }
.persona.dark p, .persona.dark li { color: #bfdcd8; }
.persona ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.persona li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--ink-2); }
.persona li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.persona.dark li::before { border-color: var(--mint); }

/* Отзывы-цитаты */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.quote p { flex: 1; }
.quote footer { font-size: .9rem; color: var(--muted); }
.quote footer b { color: var(--ink); display: block; font-weight: 600; }

/* Призыв */
.cta-band { background: var(--deep); color: #eaf6f4; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #b9d8d4; margin: 0; max-width: 36em; }

/* Тарифы */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin: 8px 0 32px; }
.billing-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font: 600 .9rem var(--font); color: var(--ink-2); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.billing-toggle em { font-style: normal; color: var(--accent); font-size: .8rem; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; }
.plan.featured { border: 2px solid var(--accent); }
.plan .ribbon { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin-bottom: .2em; }
.plan .for { color: var(--muted); font-size: .9rem; min-height: 3.2em; }
.price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 2.2rem; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: .9rem; }
.price-note { color: var(--muted); font-size: .82rem; min-height: 1.4em; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: .93rem; }
.plan li { padding: 6px 0 6px 24px; position: relative; color: var(--ink-2); border-top: 1px dashed var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 1em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan-body { flex: 1; margin-bottom: 22px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 680px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface-2); font-size: .85rem; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare tr.group th { background: var(--bg); font-weight: 700; color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.compare td { text-align: center; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }

/* Вопросы */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

/* Формы и вход */
.auth { background: var(--bg); }
.auth-main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; gap: 24px; }
.auth-brand { font-size: 1.2rem; }
.auth-card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.5rem; margin-bottom: .3em; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-foot { color: var(--muted); font-size: .85rem; text-align: center; }
.auth-foot a { color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.field label a { font-weight: 400; }
.input { width: 100%; padding: .7em .85em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 1rem var(--font); }
.input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); background: var(--surface); }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); margin-bottom: 20px; }
.alert { display: none; padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 16px; }
.alert.show { display: block; }
.alert-error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.alert-info { background: var(--accent-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt { text-align: center; font-size: .9rem; color: var(--ink-2); margin: 20px 0 0; }

/* 404 */
.notfound { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; letter-spacing: -.04em; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.notfound .lead { max-width: 30em; margin: 0 auto 28px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Подвал */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--surface); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.footer-brand p { color: var(--ink-2); max-width: 26em; margin-top: 14px; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.status-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.more { text-align: center; margin: 32px 0 0; }

/* Внутренние страницы */
.page-hero { padding: clamp(48px, 7vw, 80px) 0 clamp(28px, 4vw, 40px); }
.page-hero h1 { max-width: 18em; }
.page-hero .lead { max-width: 40em; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }

.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose pre { background: var(--deep); color: #d9f1ee; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font: .88rem/1.55 var(--mono); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); }
.note { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 1.2em 0; color: var(--ink); }
.note p { margin: 0; color: var(--ink); }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }

.with-side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.side-nav { position: sticky; top: 88px; font-size: .93rem; }
.side-nav h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.side-nav ul { list-style: none; padding: 0; margin: 0 0 24px; }
.side-nav a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.side-nav a:hover { background: var(--surface-2); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
@media (max-width: 860px) { .with-side { grid-template-columns: minmax(0, 1fr); } .side-nav { position: static; order: 2; border-top: 1px solid var(--line); padding-top: 24px; } }

.link-card { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.link-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.link-card h3 { color: var(--ink); }
.link-card .meta { margin: 0 0 8px; font-size: .82rem; }
.kicker { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.feature-row:first-child { border-top: 0; }
.feature-row ul { padding-left: 1.1em; color: var(--ink-2); }
.feature-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); font-size: .9rem; }
.feature-panel .line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.feature-panel .line:last-child { border-bottom: 0; }
.feature-panel .line b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .feature-row { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.status-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-radius: 14px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); font-weight: 600; font-size: 1.1rem; margin-bottom: 28px; }
.status-list { list-style: none; padding: 0; margin: 0 0 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.status-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.status-list li:last-child { border-bottom: 0; }
.status-list .ok { color: var(--ok); font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline > li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline > li:first-child { border-top: 0; }
.timeline .when { color: var(--muted); font-size: .9rem; }
.timeline .when b { display: block; color: var(--ink); font-size: 1.15rem; }
.timeline ul { padding-left: 1.1em; color: var(--ink-2); margin: 0; }
.timeline h2 { font-size: 1.2rem; }
@media (max-width: 640px) { .timeline > li { grid-template-columns: 1fr; gap: 8px; } }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: auto; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { display: block; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .platforms { grid-template-columns: 1fr; } }
.platform .ver { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.pill { display: inline-block; font-size: .75rem; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); margin-right: 4px; }
.h3 { font-size: 1.15rem; }
.steps { padding-left: 1.3em; margin: 0 0 32px; }
.steps li { margin-bottom: .8em; color: var(--ink-2); }
.steps b { color: var(--ink); }
.page-hero .hero-cta { margin-bottom: 0; }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; } .prose pre { font-size: .8rem; } }
.prose, .auth-card, .contact-list, .auth-foot { overflow-wrap: anywhere; }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
.incidents { list-style: none; padding: 0; margin: 0 0 32px; }
.incidents > li { padding: 18px 0; border-top: 1px solid var(--line); }
.incidents h3 { font-size: 1.02rem; margin: 6px 0; }
.incidents p { margin: 0; color: var(--ink-2); }
.inc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; }
.inc-meta time { color: var(--muted); margin-right: 6px; }
