:root {
  --paper: #f1ede4;
  --paper-2: #e8e2d5;
  --ink: #111315;
  --ink-2: #191d20;
  --muted: #6d6a62;
  --muted-2: #756f64;
  --line: #cfc7b8;
  --line-dark: #3a4148;
  --accent: #ff4d00;
  --accent-2: #ff6a1a;
  --green: #1f7a4d;
  --shell: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: Consolas, "SFMono-Regular", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.shell { width: min(var(--shell), calc(100% - 56px)); margin: 0 auto; }
section[id] { scroll-margin-top: 86px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 700;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 237, 228, .94);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(10px);
}
.topbar-inner { min-height: 66px; display: flex; align-items: center; gap: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.wordmark-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--serif); font-size: 21px; font-weight: 700;
}
.wordmark-text { font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.wordmark-text span { color: var(--accent); margin-left: .12em; }
.topbar-note {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted);
  border-left: 1px solid var(--line); padding-left: 18px; line-height: 1.4;
}
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.topbar-cta { margin-left: 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 2px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink:hover { background: var(--accent); border-color: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 34px; padding: 7px 12px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 13px 22px; font-size: 14px; }
.btn-xl { min-height: 62px; padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.text-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* hero */
.hero { padding: 76px 0 70px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(17,19,21,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,19,21,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
h1 {
  margin-top: 22px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 7.4vw, 94px); line-height: .91; letter-spacing: -.045em;
}
h1 em { font-style: italic; color: var(--accent); }
.hero-lead { max-width: 560px; margin-top: 26px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; align-items: flex-start; gap: 8px; }
.hero-facts strong { font-family: var(--serif); font-size: 34px; line-height: .9; font-weight: 400; color: var(--ink); }
.hero-facts span { font-family: var(--mono); font-size: 10.5px; line-height: 1.4; letter-spacing: .04em; color: var(--muted); padding-top: 2px; }

/* demo figure */
.demo-figure { margin: 0; border: 1px solid var(--ink); background: var(--ink); box-shadow: 12px 12px 0 rgba(17,19,21,.1); }
.figure-bar {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 14px; color: var(--paper); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  border-bottom: 1px solid var(--line-dark);
}
.figure-bar span:last-child { color: var(--accent-2); }
.demo-figure img { width: 100%; height: auto; }
.demo-figure figcaption { display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: #c9c2b5; font-size: 11px; border-top: 1px solid var(--line-dark); }
.fig-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; flex: 0 0 auto; }

/* marquee */
.marquee { background: var(--ink); color: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.marquee-inner { display: flex; gap: 38px; width: max-content; padding: 12px 0; animation: marquee 30s linear infinite; }
.marquee-inner span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--paper); white-space: nowrap; }
.marquee-inner span::before { content: "◆"; color: var(--accent); margin-right: 38px; font-size: 9.5px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* sections */
.section { padding: 78px 0; border-top: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: 190px 1fr; gap: 38px; align-items: start; }
.section-index { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); padding-top: 8px; }
.section-body h2, .split-grid h2, .reliability h2, .faq h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02; letter-spacing: -.035em;
}
.section-body h2 em { color: var(--accent); font-style: italic; }
.section-lead { max-width: 690px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.footnote { margin-top: 18px; color: var(--muted-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; }

/* product list */
.product-list { margin-top: 30px; border-top: 1px solid var(--ink); }
.product-row {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line); transition: background .15s ease, padding .15s ease;
}
.product-row:hover { background: rgba(255,77,0,.05); padding-left: 8px; }
.row-num { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.product-row strong { font-size: 16px; font-weight: 600; }
.row-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; }

/* dark section */
.section-dark { background: var(--ink); color: var(--paper); border-top-color: var(--ink); }
.section-dark .section-index { color: var(--accent-2); }
.section-dark .section-lead, .section-dark .footnote { color: #a8a196; }
.section-dark h2 em { color: var(--accent-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 38px; border-top: 1px solid var(--line-dark); }
.step { padding: 22px 22px 0 0; border-right: 1px solid var(--line-dark); }
.step:last-child { border-right: 0; padding-right: 0; }
.step > span { font-family: var(--mono); font-size: 11px; color: var(--accent-2); letter-spacing: .1em; }
.step h3 { margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.12; }
.step p { margin-top: 10px; color: #a8a196; font-size: 13px; line-height: 1.55; max-width: 270px; }

/* split */
.split-section { background: var(--paper-2); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.checklist { margin-top: 26px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14px; }
.checklist li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.cabinet-card { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 20px; box-shadow: 10px 10px 0 rgba(17,19,21,.12); }
.cabinet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: #a8a196; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.cabinet-pill { color: var(--green); border: 1px solid rgba(31,122,77,.7); padding: 3px 7px; font-size: 9.5px; }
.cabinet-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.cabinet-main { padding-top: 18px; }
.cab-avatar { width: 30px; height: 30px; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11px; flex: 0 0 auto; }
.cabinet-row strong { display: block; font-size: 13px; }
.cabinet-row small { display: block; color: #a8a196; font-size: 11px; }
.cab-status { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: var(--green); }
.cabinet-branch { margin-left: 15px; padding-left: 18px; border-left: 1px solid var(--accent); }
.cabinet-branch .cab-avatar { background: transparent; border: 1px solid #a8a196; color: var(--paper); }
.cabinet-foot { margin-top: 16px; color: #a8a196; font-size: 11px; line-height: 1.5; }

/* tariffs */
.tariff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.tariff-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--ink); padding: 20px; min-height: 100%; }
.tariff-card:nth-child(2) { border-top: 5px solid var(--accent); }
.tariff-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.tariff-top h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.tariff-price { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.tariff-price small { font-family: var(--mono); font-size: 9.5px; color: var(--muted); margin-left: 2px; }
.tariff-card > p { margin-top: 8px; min-height: 38px; color: var(--muted); font-size: 13px; }
.tariff-card ul { margin: 18px 0 22px; display: grid; gap: 7px; }
.tariff-card li { position: relative; padding-left: 16px; color: var(--muted); font-size: 12px; }
.tariff-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.tariff-card .btn { margin-top: auto; }
.tariff-limit { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); margin: -10px 0 16px; }
.tariff-note, .tariff-card .tariff-limit { line-height: 1.4; }

/* reliability */
.reliability { background: var(--ink); }
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 34px; border-top: 1px solid var(--line-dark); }
.rel-item { padding: 20px 22px 20px 0; border-bottom: 1px solid var(--line-dark); }
.rel-item:nth-child(odd) { border-right: 1px solid var(--line-dark); padding-right: 24px; }
.rel-item:nth-child(even) { padding-left: 24px; }
.rel-item strong { display: block; font-size: 14px; }
.rel-item p { margin-top: 8px; color: #a8a196; font-size: 12px; line-height: 1.5; max-width: 330px; }

/* demo strip */
.demo-strip { background: var(--accent); color: #fff; padding: 54px 0; }
.demo-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.demo-strip .kicker { color: #3a1a08; }
.demo-strip h2 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.5vw, 58px); line-height: .98; letter-spacing: -.04em; }
.demo-strip p { margin-top: 8px; color: #4b220d; font-size: 14px; }
.demo-strip .btn-accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-strip .btn-accent:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* faq */
.faq-list { margin-top: 24px; border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 18px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--muted); font-size: 13px; max-width: 680px; }

/* footer */
.footer { background: var(--ink); color: var(--paper); padding: 52px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { margin-top: 14px; color: #a8a196; font-size: 13px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; color: #c9c2b5; font-family: var(--mono); font-size: 11px; }
.footer-contact a:hover { color: var(--accent-2); }
.footer-col h3 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: #7f7a70; margin-bottom: 12px; text-transform: uppercase; }
.footer-col a { display: block; color: #c9c2b5; font-size: 12px; padding: 4px 0; }
.footer-col a:hover { color: var(--accent-2); }
.footer-legal { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line-dark); color: #7f7a70; font-size: 10.5px; line-height: 1.7; }
.footer-legal p + p { margin-top: 5px; }

/* cookie */
.cookie-banner {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 18px; width: min(780px, calc(100% - 32px));
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(17,19,21,.15); padding: 12px 14px; font-size: 12px;
}
.cookie-banner p { flex: 1; }
.cookie-banner a { text-decoration: underline; color: var(--accent); }
.cookie-banner.is-hidden { display: none; }

/* responsive */
@media (max-width: 1000px) {
  .topbar-note { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-facts { max-width: 560px; }
  .demo-figure { max-width: 700px; }
  .section-grid { grid-template-columns: 140px 1fr; gap: 22px; }
  .split-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 18px 0; }
  .step:last-child { border-bottom: 0; }
  .step p { max-width: 520px; }
  .tariff-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .shell { width: min(var(--shell), calc(100% - 32px)); }
  .nav { display: none; }
  .topbar-inner { min-height: 60px; }
  .hero { padding: 46px 0 44px; }
  h1 { font-size: 52px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 10px; }
  .hero-facts strong { font-size: 28px; }
  .section { padding: 52px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 12px; }
  .section-index { padding-top: 0; }
  .section-body h2, .split-grid h2, .reliability h2 { font-size: 36px; }
  .product-row { grid-template-columns: 30px 1fr; }
  .row-meta { grid-column: 2; text-align: left; }
  .tariff-grid, .rel-grid { grid-template-columns: 1fr; }
  .rel-item:nth-child(odd) { border-right: 0; padding-right: 0; }
  .rel-item:nth-child(even) { padding-left: 0; }
  .demo-strip-inner { flex-direction: column; align-items: flex-start; }
  .demo-strip .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cookie-banner { align-items: flex-start; flex-direction: column; gap: 10px; }
  .cookie-banner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
