:root {
  --canvas: #f5f8ff;
  --paper: #ffffff;
  --paper-2: #eef3ff;
  --paper-3: #e6edff;
  --ink: #0b1530;
  --ink-2: #25324d;
  --copy: #526079;
  --muted: #5f6f89;
  --line: #d7e0ef;
  --line-strong: #bcc9df;
  --blue: #4f5de3;
  --blue-solid: #4f5de3;
  --blue-deep: #3e4fe1;
  --blue-soft: #dce3ff;
  --sky: #75d8ff;
  --violet: #8a6cff;
  --mint: #62deb3;
  --danger: #e86f87;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Inter Tight", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --shadow: 0 30px 92px rgba(30, 44, 86, 0.12);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #070c16;
  --paper: #0e182a;
  --paper-2: #111d32;
  --paper-3: #172440;
  --ink: #f3f6ff;
  --ink-2: #d1d9e8;
  --copy: #afbbd0;
  --muted: #8795ad;
  --line: #2b3954;
  --line-strong: #3a4b6d;
  --blue: #7180ff;
  --blue-solid: #4f5de3;
  --blue-deep: #96a2ff;
  --blue-soft: #263362;
  --sky: #76dcff;
  --violet: #a384ff;
  --mint: #68e3b8;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.36;
  background-image: radial-gradient(rgba(26, 42, 79, 0.14) 0.6px, transparent 0.6px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, #000, transparent 58%);
}

body::after {
  content: "";
  position: fixed;
  top: -390px;
  left: 50%;
  z-index: -4;
  width: min(1360px, 110vw);
  height: 850px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 52%, color-mix(in srgb, var(--sky) 54%, transparent), transparent 31%),
    radial-gradient(circle at 73% 25%, color-mix(in srgb, var(--violet) 42%, transparent), transparent 31%),
    radial-gradient(circle at 48% 46%, color-mix(in srgb, var(--blue) 28%, transparent), transparent 44%);
  filter: blur(48px);
  transform: translateX(-50%);
}

html[data-theme="dark"] body::before {
  opacity: 0.24;
  background-image: radial-gradient(rgba(185, 201, 233, 0.18) 0.6px, transparent 0.6px);
}

a { color: inherit; }
button, input, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.shell {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 18px;
}

.topbar {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 21px;
  border-radius: 21px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  box-shadow: 0 14px 42px rgba(25, 37, 70, 0.07);
  backdrop-filter: blur(22px);
}

html[data-theme="dark"] .topbar { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28); }

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-dot { color: var(--blue); }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.route-link {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--copy);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.route-link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.route-link:hover,
.route-link[aria-current="page"] {
  border-color: var(--line);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 58%, transparent);
  transform: translateY(-1px);
}

.route-link:hover::after,
.route-link[aria-current="page"]::after { transform: scaleX(1); }

.route-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
}

.theme-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--copy);
  background: color-mix(in srgb, var(--paper) 52%, transparent);
  font-size: 11px;
  font-weight: 750;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.theme-toggle:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-1px); }

.theme-icon {
  position: relative;
  display: inline-flex;
  width: 29px;
  height: 17px;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: var(--blue-soft);
}

.theme-icon i {
  width: 13px;
  height: 13px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 6px rgba(37, 50, 90, 0.18);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 180ms ease, background 180ms ease;
}

html[data-theme="dark"] .theme-icon i {
  border-color: var(--sky);
  transform: translateX(12px);
}

.nav-action,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(14, 23, 48, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-action { min-height: 42px; padding-inline: 17px; font-size: 13px; }
/* Desktop shows "открыть бота", narrow screens show just "бот". */
.nav-action-short { display: none; }
.nav-action:hover, .button:hover { border-color: var(--blue); background: var(--blue); transform: translateY(-2px); }
.button-primary { border-color: var(--blue-solid); background: var(--blue-solid); color: #fff; }
.button-quiet { border-color: var(--line-strong); color: var(--ink); background: var(--paper); box-shadow: none; }

.page-hero {
  display: grid;
  min-height: 520px;
  align-items: end;
  padding: 96px 0 58px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 64px;
}

.eyebrow,
.section-label,
.micro-label {
  color: var(--copy);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 28px;
}

.signal-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--blue) 13%, transparent);
}

.signal-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--blue);
  border-radius: inherit;
  animation: pulse 2.8s ease-out infinite;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(64px, 7.6vw, 112px);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.accent {
  color: transparent;
  background: linear-gradient(102deg, var(--blue) 12%, #6b75ff 48%, var(--violet) 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-note {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.62;
}

.tariff-console {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  overflow: hidden;
  border-radius: 38px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.tariff-copy {
  display: flex;
  min-height: 690px;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 92%, color-mix(in srgb, var(--violet) 18%, transparent), transparent 30%),
    var(--paper);
}

.tariff-copy h2,
.document-title {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(52px, 5.6vw, 80px);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.tariff-copy p:not(.section-label) { max-width: 430px; margin-bottom: 0; color: var(--copy); font-size: 16px; line-height: 1.65; }

.ready-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 30px; }
.ready-plans span {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 10px;
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--copy);
  background: var(--paper-2);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.ready-plans span:hover { border-color: var(--blue); background: var(--paper-3); transform: translateY(-2px); }
.ready-plans b { color: var(--ink); font-family: var(--display); font-size: 18px; letter-spacing: -0.06em; }
.ready-plans small { grid-column: 1; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.ready-plans em { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--blue); font-family: var(--mono); font-size: 12px; font-style: normal; font-weight: 700; }

.calculator {
  display: grid;
  min-height: 690px;
  align-content: center;
  gap: 34px;
  padding: 58px;
  background:
    radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--sky) 26%, transparent), transparent 31%),
    var(--paper-2);
}

.calc-row { display: grid; gap: 15px; }
.calc-top { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.calc-top label { color: var(--ink-2); font-size: 14px; font-weight: 800; }
.calc-value { font-size: 34px; letter-spacing: -0.04em; }
.calc-value.is-changing,
.result-card strong.is-changing { animation: value-pop 260ms cubic-bezier(.2,.8,.2,1) both; }

input[type="range"] {
  width: 100%;
  height: 6px;
  margin: 0;
  appearance: none;
  border-radius: 99px;
  cursor: pointer;
  transition: background 180ms ease;
  background: linear-gradient(90deg, var(--blue) var(--fill, 0%), color-mix(in srgb, var(--blue) 28%, var(--paper-3)) var(--fill, 0%));
}

input[type="range"]::-webkit-slider-thumb {
  width: 23px;
  height: 23px;
  appearance: none;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--blue) 34%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--blue) 34%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.22); box-shadow: 0 0 0 8px color-mix(in srgb, var(--blue) 16%, transparent), 0 8px 20px color-mix(in srgb, var(--blue) 38%, transparent); }
input[type="range"]:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.22); box-shadow: 0 0 0 8px color-mix(in srgb, var(--blue) 16%, transparent), 0 8px 20px color-mix(in srgb, var(--blue) 38%, transparent); }

.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 21px;
  border-radius: 20px;
  background: var(--paper);
}
.result-card strong { font-size: 40px; letter-spacing: -0.06em; }
.result-card-primary { border-color: var(--blue-solid); color: #fff; background: var(--blue-solid); }
.result-card-primary .micro-label { color: rgba(255, 255, 255, 0.92); }
.calc-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.payment-section,
.include-section,
.info-section { padding: 110px 0 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.38fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.section-head h2 { margin-bottom: 0; font-family: var(--display); font-size: clamp(52px, 6.1vw, 86px); line-height: 0.87; letter-spacing: -0.035em; }
.section-head p { margin-bottom: 4px; color: var(--copy); font-size: 16px; line-height: 1.65; }

.payment-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background: var(--paper);
}

.payment-ledger article {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease;
}

.payment-ledger article:last-child { border-right: 0; }
.payment-ledger article:hover { background: var(--paper-2); }
.payment-ledger span { color: var(--blue); font-family: var(--mono); font-size: 10px; }
.payment-ledger strong { font-size: 20px; }
.payment-ledger small { color: var(--copy); font-size: 13px; line-height: 1.5; }

.include-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.include-card {
  min-height: 390px;
  padding: 38px;
  border-radius: 30px;
  background: var(--paper);
}

.include-card:first-child { background: radial-gradient(circle at 85% 18%, color-mix(in srgb, var(--mint) 18%, transparent), transparent 32%), var(--paper); }
.include-card h3 { max-width: 620px; margin: 90px 0 20px; font-family: var(--display); font-size: clamp(42px, 4.8vw, 66px); line-height: 0.9; letter-spacing: -0.07em; }
.include-card p { max-width: 600px; margin-bottom: 0; color: var(--copy); font-size: 15px; line-height: 1.65; }
.location-list { display: grid; gap: 0; margin-top: 42px; border-top: 1px solid var(--line); }
.location-list div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.location-list span { color: var(--muted); font-family: var(--mono); font-size: 10px; }

.info-hero { min-height: 520px; }
.info-hero .page-hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr); }

.info-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 42px;
  padding-bottom: 110px;
}

.contents-rail {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper);
}

.contents-rail a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--copy);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.contents-rail a:last-child { border-bottom: 0; }
.contents-rail a:hover { color: var(--ink); background: var(--paper-2); }
.contents-rail b { color: var(--blue); font-family: var(--mono); font-size: 9px; font-weight: 500; }

.document {
  overflow: hidden;
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.document-section {
  padding: 54px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.document-section:last-child { border-bottom: 0; }
.document-section > .section-label { display: block; margin-bottom: 58px; }
.document-section h2 { max-width: 760px; margin-bottom: 24px; font-family: var(--display); font-size: clamp(46px, 5.2vw, 72px); line-height: 0.89; letter-spacing: -0.03em; }
.document-section h3 { margin: 38px 0 14px; font-size: 20px; letter-spacing: -0.025em; }
.document-section p, .document-section li { color: var(--copy); font-size: 15px; line-height: 1.72; }
.document-section p { max-width: 820px; }
.document-section ul { max-width: 820px; margin: 0; padding-left: 20px; }
.document-section li + li { margin-top: 8px; }

.faq-document { background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 7%, var(--paper)), var(--paper)); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 25px 56px 25px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.faq-item[open] summary::after { border-color: var(--blue); color: #fff; background: var(--blue); transform: translateY(-50%) rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms cubic-bezier(.2,.8,.2,1); }
.faq-answer > div { overflow: hidden; }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { max-width: 720px; margin: 0; padding: 0 56px 28px 0; }

.plain-note {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  margin: 34px 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--paper-2);
}

.plain-note b { color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 600; }
.plain-note p { margin: 0; color: var(--ink-2); }

.data-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.data-card,
.contact-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border-radius: 22px;
  background: var(--paper-2);
}

.data-card span,
.contact-card span { color: var(--blue); font-family: var(--mono); font-size: 9px; }
.data-card strong,
.contact-card strong { margin: 44px 0 12px; font-size: 21px; }
.data-card p,
.contact-card p { margin: 0; font-size: 13px; line-height: 1.55; }
.contact-card { min-height: 230px; text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.contact-card:hover { border-color: var(--blue); background: var(--paper-3); transform: translateY(-3px); }
.contact-card em { color: var(--blue); font-style: normal; font-weight: 800; }

.revision { display: inline-flex; margin-top: 28px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--paper-2); font-family: var(--mono); font-size: 9px; }

.page-cta {
  margin-top: 110px;
  padding-bottom: 26px;
}

.cta-panel {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  align-items: end;
  padding: 48px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(117, 216, 255, 0.31), transparent 25%),
    radial-gradient(circle at 22% 89%, rgba(138, 108, 255, 0.42), transparent 29%),
    #101b46;
  box-shadow: var(--shadow);
}

.cta-panel::after {
  content: "d.";
  position: absolute;
  right: 32px;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--display);
  font-size: 230px;
  letter-spacing: -0.12em;
}

.cta-panel h2 { position: relative; z-index: 1; max-width: 800px; margin: 0 0 30px; font-family: var(--display); font-size: clamp(54px, 7vw, 96px); line-height: 0.85; letter-spacing: -0.04em; }
.cta-panel .button { position: relative; z-index: 1; border-color: #fff; color: var(--ink); background: #fff; box-shadow: none; }

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 126px;
  align-items: center;
  gap: 24px;
  color: var(--copy);
  font-size: 13px;
}

.footer p { margin: 0; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; }
.footer a { text-decoration: none; }

.brand:focus-visible,
.route-link:focus-visible,
.theme-toggle:focus-visible,
.nav-action:focus-visible,
.button:focus-visible,
.contents-rail a:focus-visible,
.contact-card:focus-visible,
input:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 4px;
}

@keyframes pulse {
  0% { opacity: 0.65; transform: scale(0.4); }
  78%, 100% { opacity: 0; transform: scale(1.55); }
}

@keyframes value-pop {
  0% { opacity: 0.42; transform: translateY(5px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .page-hero-grid, .section-head { grid-template-columns: 1fr; gap: 32px; }
  .info-hero .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 500px; }
  .tariff-console { grid-template-columns: 1fr; }
  .tariff-copy { min-height: 500px; border-right: 0; border-bottom: 1px solid var(--line); }
  .payment-ledger { grid-template-columns: 1fr 1fr; }
  .payment-ledger article:nth-child(2) { border-right: 0; }
  .payment-ledger article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .include-board { grid-template-columns: 1fr; }
  .info-layout { grid-template-columns: 1fr; }
  .contents-rail { position: static; grid-template-columns: repeat(5, 1fr); }
  .contents-rail a { grid-template-columns: 1fr; border-right: 1px solid var(--line); border-bottom: 0; }
  .contents-rail a:last-child { border-right: 0; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1260px); }
  .topbar-wrap { padding-top: 10px; }
  .topbar { min-height: 58px; padding-left: 15px; border-radius: 17px; }
  .nav { gap: 3px; }
  .route-link { gap: 0; padding: 9px 7px; font-size: 10px; }
  .route-index, .theme-label, .nav-action-wide { display: none; }
  .nav-action-short { display: inline; }
  .theme-toggle { min-height: 38px; padding: 0 6px; }
  .nav-action { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .page-hero { min-height: 520px; padding: 84px 0 56px; }
  .page-hero h1 { font-size: clamp(50px, 14.5vw, 66px); line-height: 0.9; }
  .hero-note { font-size: 16px; }
  .tariff-console { border-radius: 28px; }
  .tariff-copy { min-height: 480px; padding: 34px 27px; }
  .tariff-copy h2, .document-title { font-size: clamp(49px, 14.8vw, 66px); }
  .calculator { min-height: 640px; padding: 36px 25px; }
  .calc-result { grid-template-columns: 1fr; }
  .result-card { min-height: 116px; }
  .payment-section, .include-section, .info-section { padding-top: 88px; }
  .section-head h2 { font-size: clamp(50px, 15vw, 68px); }
  .payment-ledger { grid-template-columns: 1fr; border-radius: 24px; }
  .payment-ledger article { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .payment-ledger article:last-child { border-bottom: 0; }
  .include-card { min-height: 340px; padding: 27px; border-radius: 24px; }
  .include-card h3 { margin-top: 70px; font-size: clamp(44px, 13vw, 58px); }
  .info-hero { min-height: 500px; }
  .info-layout { gap: 18px; padding-bottom: 86px; }
  .contents-rail { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .contents-rail a { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .contents-rail a:nth-child(2n) { border-right: 0; }
  .contents-rail a:last-child { grid-column: 1 / -1; border-right: 0; }
  .document { border-radius: 26px; }
  .document-section { padding: 36px 26px; }
  .document-section > .section-label { margin-bottom: 42px; }
  .document-section h2 { font-size: clamp(44px, 13.6vw, 60px); }
  .plain-note { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .data-grid, .contact-grid { grid-template-columns: 1fr; }
  .data-card, .contact-card { min-height: 190px; }
  .ready-plans { grid-template-columns: 1fr; }
  .faq-item summary { padding-block: 22px; font-size: 20px; }
  .faq-answer p { padding-right: 12px; font-size: 14px; }
  .page-cta { margin-top: 86px; }
  .cta-panel { min-height: 470px; padding: 32px 27px; border-radius: 27px; }
  .cta-panel h2 { font-size: clamp(48px, 14vw, 68px); }
  .cta-panel::after { right: 12px; font-size: 160px; }
  .footer { grid-template-columns: 1fr; align-content: center; gap: 14px; padding: 28px 0; }
  .footer p { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 430px) {
  /* Brand + 4 links + theme toggle + CTA cannot share one 360px row — stack. */
  .topbar { flex-direction: column; align-items: center; gap: 7px; min-height: 0; padding: 12px 10px 10px; }
  .brand { font-size: 20px; }
  .nav { gap: 2px; }
  .route-link { padding: 8px 6px; font-size: 10px; }
  .nav-action { min-height: 36px; padding-inline: 10px; font-size: 11px; }
  .theme-toggle { min-height: 36px; padding: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
