@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/golos-text-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 900;
  font-display: swap;
  src: url("/fonts/golos-text-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 {
  --canvas: oklch(0.97 0.008 210);
  --surface: oklch(0.995 0.002 210);
  --surface-soft: oklch(0.94 0.014 207);
  --ink: oklch(0.22 0.03 220);
  --ink-soft: oklch(0.38 0.03 218);
  --muted: oklch(0.44 0.024 220);
  --line: oklch(0.82 0.018 213);
  --line-dark: oklch(0.67 0.025 213);
  --teal: oklch(0.44 0.09 203);
  --teal-deep: oklch(0.32 0.075 205);
  --teal-ink: oklch(0.27 0.065 205);
  --coral: oklch(0.7 0.16 43);
  --coral-light: oklch(0.81 0.12 50);
  --green: oklch(0.54 0.115 155);
  --green-soft: oklch(0.93 0.045 155);
  --blue: oklch(0.59 0.16 246);
  --blue-soft: oklch(0.93 0.04 246);
  --amber: oklch(0.68 0.13 75);
  --amber-soft: oklch(0.94 0.055 82);
  --red: oklch(0.57 0.17 29);
  --red-soft: oklch(0.94 0.045 29);
  --white: oklch(1 0 0);
  --header-height: 76px;
  --shell: 1180px;
  --radius: 10px;
  --radius-small: 6px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 30;
  --z-toast: 50;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: "Golos Text", Arial, sans-serif;
}

::selection {
  color: var(--ink);
  background: var(--coral-light);
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

.section {
  padding: clamp(78px, 9vw, 128px) 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: var(--z-toast);
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-small);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: var(--z-sticky);
  top: 0;
  min-height: var(--header-height);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--coral);
  border-radius: 5px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.08em;
  transform: rotate(-2deg);
  transition: transform 220ms var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(2deg);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 560;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}

.button:hover {
  background: var(--teal-deep);
}

.button:hover > span:last-child,
.button:hover > i:last-child {
  transform: translateX(3px);
}

.button:active {
  transform: translateY(2px);
}

.button > span:last-child,
.button > i:last-child {
  font-style: normal;
  transition: transform 180ms var(--ease-out);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 14px;
}

.button-large {
  min-height: 56px;
  padding: 15px 24px;
  font-size: 16px;
}

.button-full {
  width: 100%;
}

.button-accent {
  color: var(--teal-ink);
  background: var(--coral-light);
}

.button-accent:hover {
  color: var(--ink);
  background: var(--coral);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-dark);
}

.button-ghost:hover {
  color: var(--white);
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.plain-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 640;
  text-decoration-thickness: 1px;
  transition: color 180ms ease;
}

.plain-link span {
  transition: transform 180ms var(--ease-out);
}

.plain-link:hover span {
  transform: translateY(3px);
}

.dark-link {
  color: var(--teal-deep);
}

.light-link {
  color: var(--coral-light);
}

.preview-banner {
  padding: 10px 0;
  color: var(--ink);
  background: var(--amber-soft);
  border-bottom: 1px solid color-mix(in oklch, var(--amber) 50%, var(--line));
  font-size: 14px;
}

.preview-banner[hidden] {
  display: none;
}

.preview-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 7px;
  background: var(--amber);
  border-radius: 50%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 112px) 0 clamp(82px, 8vw, 126px);
  color: var(--white);
  background: var(--teal-deep);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(30vw, 420px);
  height: 10px;
  background: var(--coral);
  content: "";
}

.hero-layout {
  display: grid;
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
}

.hero-copy {
  max-width: 680px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: oklch(0.9 0.02 202);
  font-size: 15px;
  font-weight: 560;
}

.hero-kicker span {
  padding: 5px 8px;
  color: var(--teal-deep);
  background: var(--coral-light);
  border-radius: 4px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  max-width: 11.5ch;
  margin-bottom: 28px;
  font-size: clamp(3.15rem, 5.7vw, 5rem);
  font-weight: 760;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--coral-light);
}

.hero-lede {
  max-width: 61ch;
  margin-bottom: 31px;
  color: oklch(0.91 0.017 205);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.53;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-note {
  display: flex;
  max-width: 61ch;
  align-items: flex-start;
  gap: 9px;
  margin: 23px 0 0;
  color: oklch(0.84 0.02 205);
  font-size: 14px;
  line-height: 1.5;
}

.hero-note span {
  color: var(--coral-light);
  font-weight: 800;
}

.sheet-figure {
  position: relative;
  margin: 0;
}

.migration-sheet {
  position: relative;
  padding: clamp(22px, 2.8vw, 34px);
  color: var(--ink);
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 9px 9px 0 oklch(0.23 0.055 205 / 0.75);
}

.migration-sheet::before {
  position: absolute;
  top: -9px;
  left: 44px;
  width: 72px;
  height: 18px;
  background: color-mix(in oklch, var(--coral-light) 78%, white);
  content: "";
  opacity: 0.9;
  transform: rotate(-1.5deg);
}

.sheet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.sheet-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.sheet-top h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 740;
  letter-spacing: -0.03em;
}

.sheet-stamp {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: var(--teal-deep);
  border: 1px dashed var(--teal);
  border-radius: 4px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  transform: rotate(2deg);
}

.sheet-route {
  display: grid;
  align-items: center;
  gap: 8px;
  margin: 22px 0;
  grid-template-columns: auto minmax(18px, 1fr) auto minmax(18px, 1fr) auto;
}

.route-node {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.route-node img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sheet-route > i {
  position: relative;
  height: 1px;
  background: var(--line-dark);
}

.sheet-route > i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  content: "";
  transform: rotate(45deg);
}

.route-core {
  min-width: 126px;
  padding: 9px 12px;
  color: var(--teal-deep);
  background: var(--surface-soft);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.route-core small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 520;
}

.sheet-table-wrap {
  overflow-x: auto;
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  line-height: 1.35;
}

.sheet-table th,
.sheet-table td {
  padding: 10px 7px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.sheet-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.sheet-table th:first-child,
.sheet-table td:first-child {
  width: 30%;
  padding-left: 0;
  font-weight: 620;
}

.sheet-table th:nth-child(2),
.sheet-table td:nth-child(2) {
  width: 31%;
}

.sheet-table th:last-child,
.sheet-table td:last-child {
  width: 39%;
  padding-right: 0;
  color: var(--ink-soft);
}

.sheet-table tbody tr {
  transition: background 160ms ease;
}

.sheet-table tbody tr:hover {
  background: var(--surface-soft);
}

.status,
.decision {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  font-weight: 670;
  white-space: nowrap;
}

.status {
  padding: 4px 7px;
  font-size: 10px;
}

.status::before,
.decision::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
}

.status-ok,
.decision-direct {
  color: oklch(0.34 0.105 155);
  background: var(--green-soft);
}

.status-ok::before,
.decision-direct::before {
  background: var(--green);
}

.status-keep {
  color: oklch(0.34 0.11 246);
  background: var(--blue-soft);
}

.status-keep::before {
  background: var(--blue);
}

.status-check,
.decision-review {
  color: oklch(0.38 0.095 75);
  background: var(--amber-soft);
}

.status-check::before,
.decision-review::before {
  background: var(--amber);
}

.status-no,
.decision-none {
  color: oklch(0.39 0.13 29);
  background: var(--red-soft);
}

.status-no::before,
.decision-none::before {
  background: var(--red);
}

.sheet-total {
  display: grid;
  gap: 0;
  margin-top: 22px;
  grid-template-columns: 0.9fr 0.85fr 1.25fr;
}

.sheet-total > div {
  min-width: 0;
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.sheet-total > div:first-child {
  padding-left: 0;
}

.sheet-total > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.sheet-total span,
.sheet-total strong {
  display: block;
}

.sheet-total span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
}

.sheet-total strong {
  font-size: 12px;
  line-height: 1.35;
}

.sheet-figure figcaption {
  max-width: 52ch;
  margin: 17px 8px 0;
  color: oklch(0.82 0.02 205);
  font-size: 12px;
  line-height: 1.5;
}

.promise-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.promise-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.promise-row > div {
  min-height: 150px;
  padding: 34px clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.promise-row > div:first-child {
  padding-left: 0;
}

.promise-row > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.promise-row span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 720;
}

.promise-row p {
  max-width: 30ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.48;
}

.section-intro {
  display: grid;
  align-items: start;
  gap: clamp(36px, 8vw, 112px);
  margin-bottom: clamp(46px, 6vw, 76px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
}

.section-intro h2,
.process-heading h2,
.faq-heading h2,
.audit-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.6vw, 4.35rem);
  font-weight: 735;
  letter-spacing: -0.035em;
}

.section-intro > div > p,
.process-heading > p,
.faq-heading > p,
.audit-copy > p {
  max-width: 57ch;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.58;
}

.human-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 15px !important;
}

.human-note span {
  color: var(--coral);
  font-size: 23px;
  line-height: 1;
}

.compatibility-table-wrap {
  overflow: hidden;
  background: var(--surface);
  border-top: 4px solid var(--teal);
}

.compatibility-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compatibility-table th,
.compatibility-table td {
  padding: 22px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compatibility-table th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 650;
}

.compatibility-table th:first-child,
.compatibility-table td:first-child {
  width: 35%;
}

.compatibility-table th:nth-child(2),
.compatibility-table td:nth-child(2) {
  width: 25%;
}

.compatibility-table td:last-child {
  color: var(--ink-soft);
  font-size: 15px;
}

.compatibility-table td > strong,
.compatibility-table td > span:not(.decision) {
  display: block;
}

.compatibility-table td > strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.compatibility-table td > span:not(.decision) {
  color: var(--muted);
  font-size: 13px;
}

.decision {
  padding: 7px 10px;
  font-size: 12px;
}

.decision-adapt {
  color: oklch(0.31 0.075 205);
  background: var(--surface-soft);
}

.decision-adapt::before {
  background: var(--teal);
}

.boundary-note {
  display: grid;
  gap: 28px;
  margin-top: 26px;
  padding: 28px clamp(24px, 4vw, 48px);
  color: var(--ink);
  background: color-mix(in oklch, var(--coral-light) 46%, var(--canvas));
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
}

.boundary-note strong {
  font-size: 18px;
}

.boundary-note p {
  max-width: 70ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.process-section {
  color: var(--white);
  background: var(--teal-deep);
}

.process-heading {
  display: grid;
  align-items: end;
  gap: 44px;
  margin-bottom: clamp(48px, 6vw, 74px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
}

.process-heading > p {
  margin-bottom: 4px;
  color: oklch(0.87 0.02 205);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
}

.process-list li {
  display: grid;
  min-height: 260px;
  gap: 26px;
  padding: 34px clamp(28px, 4vw, 54px) 42px 0;
  border-top: 1px solid oklch(0.57 0.045 205);
  grid-template-columns: auto 1fr;
}

.process-list li:nth-child(odd) {
  border-right: 1px solid oklch(0.57 0.045 205);
}

.process-list li:nth-child(even) {
  padding-right: 0;
  padding-left: clamp(28px, 4vw, 54px);
}

.step-number {
  color: var(--coral-light);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 750;
}

.process-list h3 {
  margin-bottom: 15px;
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 690;
  letter-spacing: -0.025em;
}

.process-list p {
  max-width: 48ch;
  margin: 0;
  color: oklch(0.84 0.02 205);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-section {
  background: var(--canvas);
}

.pricing-intro {
  margin-bottom: 48px;
}

.estimate {
  display: grid;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--coral);
  grid-template-columns: 0.9fr 1.2fr 0.85fr;
}

.estimate > div {
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.estimate > div:last-child {
  border-right: 0;
}

.estimate-name > span,
.rate-options article > div > span,
.estimate-includes > p {
  display: block;
  margin-bottom: 11px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
}

.estimate-name h3 {
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 49px);
  letter-spacing: -0.035em;
}

.estimate-name p,
.estimate-action p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.estimate-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 28px;
}

.estimate-price strong {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 770;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.estimate-price span {
  font-size: 22px;
  font-weight: 650;
}

.estimate-includes ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.estimate-includes li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.estimate-includes li::before {
  position: absolute;
  top: 0.46em;
  left: 0;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  content: "";
  transform: rotate(-45deg);
}

.estimate-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background: var(--surface-soft);
}

.rate-options {
  margin-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.rate-options article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.rate-options h3 {
  display: inline;
  margin: 0 12px 0 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.rate-options p {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.rate-price {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 28px;
}

.rate-price strong {
  font-size: 21px;
  white-space: nowrap;
}

.rate-price a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
}

.support-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.support-note strong {
  color: var(--ink);
}

.faq-section {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  align-items: start;
  gap: clamp(54px, 10vw, 136px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.faq-heading h2 {
  margin-bottom: 24px;
}

.faq-heading > p {
  margin-bottom: 24px;
  font-size: 16px;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--teal-deep);
  background: var(--surface-soft);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 500;
  transition: transform 220ms var(--ease-out), background 180ms ease;
}

.faq-list summary:hover span {
  background: color-mix(in oklch, var(--coral-light) 42%, var(--surface));
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 68ch;
  margin: -4px 0 24px;
  padding-right: 54px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.64;
}

.audit-section {
  color: var(--ink);
  background: var(--coral);
}

.audit-layout {
  display: grid;
  align-items: start;
  gap: clamp(54px, 8vw, 112px);
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.02fr);
}

.audit-copy {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.audit-kicker {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 9px;
  color: var(--surface);
  background: var(--teal-deep);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 680;
}

.audit-copy h2 {
  max-width: 10ch;
  margin-bottom: 26px;
}

.audit-copy > p {
  color: var(--ink);
}

.audit-points {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid oklch(0.43 0.09 43 / 0.45);
  list-style: none;
}

.audit-points li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid oklch(0.43 0.09 43 / 0.45);
  font-size: 15px;
  font-weight: 590;
}

.audit-points span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--teal-deep);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 750;
}

.audit-form {
  padding: clamp(26px, 4vw, 46px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 oklch(0.39 0.09 43 / 0.55);
}

.form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-topline strong {
  font-size: 19px;
}

.form-topline span {
  color: var(--muted);
  font-size: 13px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field > span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.field > span b {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  outline: 0;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: oklch(0.47 0.02 220);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--teal);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px oklch(0.44 0.09 203 / 0.15);
  background: var(--surface);
}

.field [aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px oklch(0.57 0.17 29 / 0.12);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-error {
  min-height: 18px;
  color: var(--red);
  font-size: 12px;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.form-more {
  margin: 10px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-more summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 680;
  list-style: none;
}

.form-more summary::-webkit-details-marker {
  display: none;
}

.form-more summary span {
  font-size: 20px;
  transition: transform 200ms var(--ease-out);
}

.form-more[open] summary span {
  transform: rotate(45deg);
}

.form-more-body {
  padding: 12px 0 8px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.consent-row {
  display: grid;
  align-items: start;
  gap: 12px;
  margin: 2px 0 0;
  cursor: pointer;
  grid-template-columns: 22px 1fr;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.consent-row span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.52;
}

.consent-row a {
  color: var(--teal-deep);
  font-weight: 620;
}

.consent-error {
  display: block;
  margin: 6px 0 14px 34px;
}

.submit-button {
  margin-top: 20px;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.form-safe {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.form-safe span {
  color: var(--teal);
  font-size: 17px;
  line-height: 1;
}

.form-status {
  display: none;
  margin-top: 15px;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  font-size: 13px;
  line-height: 1.48;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: oklch(0.31 0.095 155);
  background: var(--green-soft);
}

.form-status.is-error {
  color: oklch(0.39 0.13 29);
  background: var(--red-soft);
}

.telegram-followup {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid oklch(0.84 0.05 225);
  border-radius: var(--radius-small);
  background: oklch(0.98 0.012 225);
}

.telegram-followup[hidden] {
  display: none;
}

.telegram-followup-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: oklch(0.64 0.16 235);
  font-size: 18px;
  font-weight: 760;
}

.telegram-followup strong,
.telegram-followup p {
  display: block;
  margin: 0;
}

.telegram-followup strong {
  font-size: 13px;
}

.telegram-followup p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.telegram-followup .button {
  white-space: nowrap;
}

@media (max-width: 620px) {
  .telegram-followup {
    grid-template-columns: auto 1fr;
  }

  .telegram-followup .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.site-footer {
  padding: 56px 0 34px;
  color: var(--white);
  background: var(--ink);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-top {
  padding-bottom: 42px;
  border-bottom: 1px solid oklch(0.42 0.025 220);
}

.brand-light {
  color: var(--white);
}

.footer-top p {
  margin: 0;
  color: oklch(0.78 0.018 220);
  font-size: 16px;
}

.footer-bottom {
  align-items: flex-start;
  padding-top: 26px;
}

.footer-bottom p {
  max-width: 66ch;
  margin: 0;
  color: oklch(0.68 0.018 220);
  font-size: 11px;
}

.footer-bottom nav {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: oklch(0.76 0.018 220);
  font-size: 11px;
}

.mobile-cta {
  display: none;
}

/* Legal and admin surfaces */
.legal-page,
.admin-page {
  min-height: 100vh;
  background: var(--canvas);
}

.legal-header,
.admin-header {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.legal-wrap {
  width: min(calc(100% - 40px), 860px);
  margin: 54px auto 96px;
}

.legal-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: oklch(0.37 0.09 75);
  background: var(--amber-soft);
  border-radius: var(--radius-small);
  font-size: 14px;
}

.legal-document {
  padding: clamp(26px, 6vw, 64px);
  background: var(--surface);
  border-top: 4px solid var(--teal);
}

.legal-document .eyebrow {
  margin-bottom: 10px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
}

.legal-document h1 {
  margin-bottom: 34px;
  font-size: clamp(34px, 6vw, 54px);
  letter-spacing: -0.035em;
}

.legal-document h2 {
  margin: 38px 0 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.legal-document p,
.legal-document li,
.legal-document dd {
  max-width: 72ch;
  color: var(--ink-soft);
  font-size: 15px;
}

.legal-updated {
  color: var(--muted) !important;
  font-size: 13px !important;
}

.requisites {
  display: grid;
  margin: 28px 0 38px;
  grid-template-columns: minmax(170px, 0.45fr) 1fr;
}

.requisites dt,
.requisites dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.requisites dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.admin-header > div {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.admin-main {
  padding: 34px max(22px, calc((100vw - 1480px) / 2)) 80px;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-top: 4px solid var(--teal);
}

.admin-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
}

.admin-table td span,
.admin-table td code {
  color: var(--muted);
  font-size: 11px;
}

.admin-empty {
  padding: 54px !important;
  color: var(--muted);
  text-align: center !important;
}

@media (max-width: 1060px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .sheet-figure {
    width: min(100%, 720px);
  }

  .estimate {
    grid-template-columns: 1fr 1.15fr;
  }

  .estimate-action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    border-top: 1px solid var(--line);
  }

  .estimate-includes {
    border-right: 0 !important;
  }

  .audit-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(400px, 1.05fr);
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 68px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .desktop-nav {
    display: none;
  }

  .header-inner > .button {
    display: none;
  }

  .section-intro,
  .process-heading,
  .faq-layout,
  .audit-layout {
    grid-template-columns: 1fr;
  }

  .faq-heading,
  .audit-copy {
    position: static;
  }

  .audit-copy h2 {
    max-width: 12ch;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(even) {
    min-height: auto;
    padding: 30px 0 36px;
    border-right: 0;
  }

  .promise-row {
    grid-template-columns: 1fr;
  }

  .promise-row > div,
  .promise-row > div:first-child,
  .promise-row > div:last-child {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .promise-row > div:last-child {
    border-bottom: 0;
  }

  .promise-row p {
    max-width: 58ch;
  }

  .boundary-note {
    grid-template-columns: 1fr;
  }

  .rate-options article {
    align-items: flex-start;
  }

  .rate-options h3,
  .rate-options p {
    display: block;
  }

  .rate-options h3 {
    margin: 0 0 6px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    z-index: var(--z-sticky);
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    display: flex;
    min-height: 52px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: opacity 220ms ease, transform 280ms var(--ease-out);
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-footer {
    padding-bottom: 100px;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 58px 0 76px;
  }

  .hero-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .hero h1 {
    max-width: 12ch;
    margin-bottom: 22px;
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button,
  .hero-actions .plain-link {
    width: 100%;
    justify-content: center;
  }

  .migration-sheet {
    padding: 20px 17px;
    box-shadow: 6px 6px 0 oklch(0.23 0.055 205 / 0.75);
  }

  .sheet-top {
    gap: 12px;
  }

  .sheet-top h2 {
    font-size: 27px;
  }

  .sheet-stamp {
    font-size: 12px;
  }

  .sheet-route {
    gap: 5px;
  }

  .route-node {
    width: 34px;
    height: 34px;
  }

  .route-core {
    min-width: 112px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .route-core small {
    font-size: 11px;
  }

  .sheet-label {
    font-size: 13px;
  }

  .sheet-table {
    font-size: 14px;
  }

  .sheet-table,
  .sheet-table tbody,
  .sheet-table tr,
  .sheet-table td {
    display: block;
    width: 100% !important;
  }

  .sheet-table thead {
    display: none;
  }

  .sheet-table tr {
    display: grid;
    align-items: center;
    gap: 7px 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sheet-table td,
  .sheet-table td:first-child,
  .sheet-table td:nth-child(2),
  .sheet-table td:last-child {
    width: auto;
    padding: 0;
    border: 0;
  }

  .sheet-table td:first-child {
    grid-column: 1;
  }

  .sheet-table td:nth-child(2) {
    grid-column: 2;
  }

  .sheet-table td:last-child {
    font-size: 14px;
    grid-column: 1 / -1;
  }

  .status {
    padding: 5px 7px;
    font-size: 12px;
  }

  .status::before {
    width: 5px;
    height: 5px;
  }

  .sheet-total {
    grid-template-columns: 1fr 1fr;
  }

  .sheet-total > div:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .sheet-total > div:last-child {
    margin-top: 13px;
    padding-top: 13px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
  }

  .sheet-total span {
    font-size: 12px;
  }

  .sheet-total strong,
  .sheet-figure figcaption {
    font-size: 14px;
  }

  .section-intro h2,
  .process-heading h2,
  .faq-heading h2,
  .audit-copy h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .section-intro {
    gap: 28px;
    margin-bottom: 40px;
  }

  .compatibility-table,
  .compatibility-table thead,
  .compatibility-table tbody,
  .compatibility-table tr,
  .compatibility-table td {
    display: block;
    width: 100% !important;
  }

  .compatibility-table thead {
    display: none;
  }

  .compatibility-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .compatibility-table td {
    display: grid;
    align-items: start;
    gap: 12px;
    padding: 7px 18px;
    border: 0;
    grid-template-columns: 102px 1fr;
  }

  .compatibility-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 650;
  }

  .compatibility-table td > strong,
  .compatibility-table td > span:not(.decision) {
    grid-column: 2;
  }

  .compatibility-table td > span:not(.decision) {
    margin-top: -7px;
  }

  .boundary-note {
    gap: 10px;
    padding: 23px 20px;
  }

  .process-heading {
    gap: 24px;
  }

  .process-list li {
    grid-template-columns: 38px 1fr;
  }

  .estimate {
    display: block;
  }

  .estimate > div {
    padding: 28px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .estimate > div:last-child {
    border-bottom: 0;
  }

  .estimate-action {
    align-items: stretch;
    flex-direction: column;
  }

  .rate-options article {
    flex-direction: column;
    gap: 18px;
  }

  .rate-price {
    width: 100%;
    justify-content: space-between;
  }

  .faq-list summary {
    min-height: 68px;
    font-size: 16px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .audit-form {
    padding: 24px 18px;
    box-shadow: 5px 5px 0 oklch(0.39 0.09 43 / 0.55);
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }

  .form-topline span,
  .field > span,
  .consent-row span,
  .form-safe,
  .footer-bottom p,
  .footer-bottom a {
    font-size: 14px;
  }

  .hero-kicker span,
  .sheet-label,
  .sheet-stamp,
  .route-node,
  .route-core,
  .route-core small,
  .status,
  .compatibility-table td > span:not(.decision),
  .decision,
  .step-number,
  .estimate-includes > p,
  .audit-kicker,
  .form-status,
  .sheet-total span,
  .estimate-name > span,
  .rate-options article > div > span,
  .audit-points span {
    font-size: 14px;
  }

  .legal-wrap {
    width: min(calc(100% - 28px), 860px);
    margin-top: 28px;
  }

  .requisites {
    grid-template-columns: 1fr;
  }

  .requisites dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .requisites dd {
    padding-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
