@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/golos-text-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/golos-text-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/golos-text-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/golos-text-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/golos-text-600-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/golos-text-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/ibm-plex-mono-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/ibm-plex-mono-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f4f1ea;
  --paper-alt: #ece8de;
  --sheet: #faf8f3;
  --ink: #141311;
  --muted: #6e6a62;
  --rule: #dbd6ca;
  --rule-strong: #bdb6a7;
  --ok: #1f5c3a;
  --r: 3px;
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

.site-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.header-logo img { height: 24px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 18px; font-size: 13.5px; }
.header-nav a { text-decoration: none; color: var(--muted); }
.header-nav a:hover { color: var(--ink); }
.header-nav .nav-cta {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
}

.wrap { max-width: 960px; margin: 0 auto; padding: 32px 24px 72px; }

.hero {
  padding: 12px 0 36px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 32px;
}
.hero-logo { max-width: 440px; width: 100%; height: auto; display: block; margin-bottom: 20px; }
.hero-lead { max-width: 560px; font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2b2926; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--paper-alt); }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.grid-3 strong { display: block; margin-bottom: 6px; font-weight: 600; }
.grid-3 p { margin: 0; font-size: 13.5px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.plan-muted { opacity: 0.78; }
.status-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { font-size: 18px; font-weight: 600; }
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em;
}
.status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); }
.status.neutral { color: var(--muted); }
.price { font-size: 26px; font-weight: 600; margin: 10px 0; }
.price span { font-size: 13px; font-weight: 400; color: var(--muted); }
.plan-list { margin: 0 0 16px; padding-left: 18px; color: var(--muted); font-size: 13.5px; display: grid; gap: 4px; }

.calc-box {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--sheet);
  padding: 14px;
  margin-bottom: 14px;
}
.calc-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 10px; }
.term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.term-btn {
  border: 1px solid var(--rule-strong);
  background: transparent;
  border-radius: var(--r);
  padding: 8px 6px;
  cursor: pointer;
  text-align: center;
}
.term-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.term-btn strong { display: block; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.term-btn span { display: block; font-family: var(--mono); font-size: 11.5px; opacity: 0.75; }

.stepper-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.step-btn {
  width: 30px; height: 30px; border: 1px solid var(--rule-strong);
  background: var(--paper); border-radius: var(--r); cursor: pointer; font-family: var(--mono);
}
.custom-hint { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 2px; background: var(--rule-strong); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); cursor: pointer;
}

.notice { border-left: 2px solid var(--ink); background: var(--paper-alt); padding: 12px 14px; font-size: 13px; }
.notice strong { display: block; margin-bottom: 2px; }

.section { padding-bottom: 32px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.section:last-child { border-bottom: 0; margin-bottom: 0; }

details { border-top: 1px solid var(--rule); padding: 13px 0; }
details:first-of-type { border-top: 0; padding-top: 0; }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; }
code { font-family: var(--mono); font-size: 12.5px; background: var(--paper-alt); padding: 1px 4px; border-radius: 2px; }

.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; }
.doc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--rule); text-decoration: none;
}
.doc-row strong { display: block; font-size: 14px; font-weight: 500; }
.doc-row small { display: block; font-size: 12px; color: var(--muted); }
.doc-row span { font-size: 11.5px; color: var(--muted); flex-shrink: 0; }
