/* Tokens ---------------------------------------------------------------- */
:root {
  --ground: #fafafa;
  --paper: #ffffff;
  --neutral: #dfdfdf;
  --neutral-deep: #cdcdcd;
  --ink: #333333;
  --ink-soft: #4a4a4a;
  --muted: #5f5f5f;
  --line: #d6d6d6;
  --accent: #9b6400;
  --accent-hover: #845500;
  --accent-text: #7a4f00;     /* accent for small text on light and neutral grounds */
  --on-accent: #ffffff;
  --on-accent-soft: #fdf8f0;  /* secondary text on accent (≥4.5:1 on #9b6400) */
  --accent-line: rgba(255, 255, 255, .28);
  --error: #a3341f;

  --font: "Onest", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Fira Sans Extra Condensed", "Onest", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --inset: clamp(8px, 1vw, 14px);
  --max: 1440px;
  --section: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
  scrollbar-color: var(--neutral-deep) var(--ground);
}
::selection { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Type ------------------------------------------------------------------ */
.h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  --bg: var(--accent); --fg: #fff; --disc: #fff; --arrow: var(--accent); --hover: var(--accent-hover);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 22px;
  min-height: 48px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--hover); }
.btn:active { transform: scale(.98); }
.btn__disc {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--disc);
  transition: transform .35s var(--ease);
}
.btn__disc svg { width: 16px; height: 16px; fill: none; stroke: var(--arrow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__disc { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 4px 4px 4px 16px; font-size: 15px; gap: 10px; }
.btn--sm .btn__disc { width: 30px; height: 30px; }
.btn--lg { min-height: 64px; padding: 8px 8px 8px 30px; font-size: 18px; gap: 20px; }
.btn--lg .btn__disc { width: 48px; height: 48px; }
.btn--lg .btn__disc svg { width: 20px; height: 20px; }
.btn--ink { --bg: var(--ink); --arrow: var(--ink); --hover: #1f1f1f; }
.btn--light { --bg: #fff; --fg: var(--accent-text); --disc: var(--accent); --arrow: #fff; --hover: #f6efe3; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--accent-text); text-decoration: underline; text-underline-offset: .22em;
}
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-text); font-weight: 500; text-decoration: none;
}
.arrow-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arrow-link:hover { text-decoration: underline; }

/* Hero: inset accent panel on a fine grid -------------------------------- */
.hero {
  position: relative;
  margin: var(--inset);
  min-height: calc(100svh - 2 * var(--inset));
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: clamp(16px, 2.4vh, 32px);
  padding: 0 clamp(16px, 3vw, 44px) clamp(16px, 2.6vh, 32px);
  border-radius: 10px;
  color: var(--on-accent);
  background-color: var(--accent);
  background-image:
    linear-gradient(to right, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: calc(100% / 16) 90px;
  background-position: -1px -1px;
}
.hero__nav {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 18px 0 0;
}
.hero__links { display: flex; gap: clamp(16px, 2vw, 32px); font-size: 15px; font-weight: 500; }
.hero__links a { text-decoration: none; color: var(--on-accent); }
.hero__links a:hover { text-decoration: underline; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(3rem, 7.4vw, 8rem);
  line-height: .86;
  letter-spacing: 0;
  text-wrap: balance;
  margin: clamp(8px, 2vh, 24px) auto 0;
}

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.hero__band {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 8px;
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  margin-top: clamp(16px, 3vh, 36px);
}
.hero__band p { display: grid; gap: 4px; }
.hero__band strong { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1; letter-spacing: .01em; }
.hero__band span { font-size: 15px; color: var(--on-accent-soft); }
.hero__band--right { text-align: right; }
.hero__icon { flex: none; width: 68px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.hero__card {
  background: #fff;
  border-radius: 8px;
  padding: clamp(6px, .8vw, 12px);
  box-shadow: 0 28px 50px -28px rgba(0, 0, 0, .45);
  justify-self: center;
  width: 100%;
  max-width: min(560px, calc((100svh - 540px) * 1.5));
  position: relative;
}
.hero__card img { border-radius: 4px; width: 100%; }
.hero__card figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500;
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 24px;
}
.hero__badge {
  justify-self: start;
  display: grid; gap: 2px;
  padding: 10px 14px; border-radius: 8px;
  background: #fff; color: var(--accent-text);
  font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1;
}
.hero__badge span { font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--ink-soft); }
.hero__cta { display: grid; justify-items: center; gap: 18px; text-align: center; }
.hero__sub { max-width: 52ch; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.5; color: var(--on-accent); text-wrap: balance; }
.hero__down {
  justify-self: end;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 8px;
  background: #fff; color: var(--accent);
  transition: transform .3s var(--ease);
}
.hero__down svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero__down:hover { transform: translateY(3px); }

/* Apply form (under the hero) ------------------------------------------ */
.apply {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter) 0;
}
.apply__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr);
  gap: clamp(24px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.apply__aside { color: var(--muted); max-width: 44ch; }
.apply__form {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px 20px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 22px;
  background: var(--neutral);
}
.field--chips, .apply__submit, .apply__status { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; align-content: start; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 9px; }
.field legend span { color: var(--muted); font-weight: 400; }
.field input[type="url"], .field input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--paper);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #707070; }
.field input:hover { border-color: var(--neutral-deep); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155, 100, 0, .18); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 13.5px; line-height: 1.35; color: var(--error); }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--neutral-deep);
  font-size: 15px; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover span { background: #fff; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.apply__submit {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--neutral-deep);
}
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.4; color: var(--ink-soft); cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--paper); border: 1px solid var(--neutral-deep);
  display: grid; place-items: center;
  transition: background-color .2s, border-color .2s;
}
.check__box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--error); }
.check a { color: var(--accent-text); }
.apply__status { font-size: 14.5px; color: var(--error); }
.apply__status:empty { display: none; }

.apply__done {
  display: grid; gap: 14px; justify-items: start;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 22px; background: var(--neutral);
  outline: none;
}
.apply__done p { color: var(--ink-soft); max-width: 56ch; }
.apply__done-title { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -0.02em; }
.apply__tick { width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.apply__tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .7s .15s var(--ease) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }

/* Section heads --------------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr);
  gap: clamp(24px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head__aside { color: var(--muted); max-width: 44ch; text-wrap: pretty; }

/* Case: report stack ---------------------------------------------------- */
.case { background: var(--neutral); margin-top: var(--section); }
.case__stage { height: 300vh; position: relative; }
.case__sticky {
  position: sticky; top: 0;
  height: 100vh;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(24px, 4vh, 48px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}
.case__side { display: grid; gap: clamp(28px, 4vh, 48px); align-content: center; }
.case__head { display: grid; gap: 16px; }
.case__head .h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.case__intro { color: var(--muted); }

.case__index { display: grid; gap: 8px; justify-items: start; }
.pill {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 14px;
  text-align: left;
  max-width: 360px;
  padding: 10px 10px 10px 18px;
  border: 0; border-radius: 22px;
  background: rgba(51, 51, 51, .08);
  color: var(--ink);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.pill:hover { background: rgba(51, 51, 51, .14); }
.pill__plus { position: relative; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .75); }
.pill__plus::before, .pill__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%);
  transition: transform .45s var(--ease);
}
.pill__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.pill__body {
  grid-column: 1 / -1;
  display: block; max-height: 0; overflow: hidden; opacity: 0;
  font-size: 15px; font-weight: 400; line-height: 1.45;
  transition: opacity .4s var(--ease) .08s;
}
.pill.is-active { background: var(--ink); color: #fff; padding: 14px 14px 18px 20px; }
.pill.is-active .pill__plus { background: rgba(255, 255, 255, .16); }
.pill.is-active .pill__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.pill.is-active .pill__body { max-height: 9em; opacity: 1; margin-top: 8px; color: rgba(255, 255, 255, .8); }

.case__deck { position: relative; height: min(100%, 78vh); perspective: 1600px; }
.slide {
  position: absolute;
  left: 50%; top: 40px;
  width: min(100%, calc((78vh - 40px) * 1350 / 1340));
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 24px 60px -24px rgba(0, 0, 0, .3);
  transform-origin: 50% 0%;
  transform: translate(-50%, 0);
  will-change: transform, opacity;
}
.slide img { width: 100%; height: auto; }
.slide__open { display: block; position: relative; cursor: zoom-in; }
.slide__cap, .slide__more { display: none; }
.slide__open::after {
  content: 'Открыть крупно'; position: absolute; right: 16px; bottom: 16px;
  padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.slide__open:hover::after, .slide__open:focus-visible::after { opacity: 1; transform: none; }

/* Criteria -------------------------------------------------------------- */
.criteria, .price, .faq {
  max-width: var(--max); margin: 0 auto;
  padding: var(--section) var(--gutter) 0;
}
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.group { border-top: 1px solid var(--ink); padding-top: 22px; }
.group h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; min-height: 2.4em; text-wrap: balance; }
.group__lead { color: var(--muted); font-size: 15px; line-height: 1.45; margin: 10px 0 24px; min-height: 2.9em; }
.group ol { counter-reset: h; display: grid; }
.group:nth-child(2) ol { counter-reset: h 3; }
.group:nth-child(3) ol { counter-reset: h 6; }
.group:nth-child(4) ol { counter-reset: h 10; }
.group li {
  counter-increment: h;
  display: grid; grid-template-columns: 2.2em 1fr; gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.4;
  text-wrap: pretty;
}
.group li::before { content: counter(h); color: var(--accent-text); font-variant-numeric: tabular-nums; font-size: 15px; padding-top: 1px; }

/* Pricing --------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.plan {
  display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start;
  padding: clamp(28px, 3.4vw, 52px);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan__amount { font-size: clamp(4rem, 9vw, 8rem); line-height: .9; font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__name { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 400; letter-spacing: -0.02em; margin: 18px 0 32px; }
.ticks { display: grid; width: 100%; margin-bottom: 40px; }
.ticks li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); line-height: 1.4; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px;
  background: currentColor; color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m3.5 9.5 3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m3.5 9.5 3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan--full { background: var(--accent); color: #fff; box-shadow: none; }
.plan--full .ticks li { color: var(--on-accent-soft); border-top-color: var(--accent-line); }
.plan--full .ticks li::before { color: #fff; }

/* FAQ ------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7.6fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.25; letter-spacing: -0.02em;
  cursor: pointer;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(51, 51, 51, .07); transition: background-color .3s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { background: var(--accent); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: #fff; }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; gap: 12px; padding: 0 64px 28px 0; color: var(--ink-soft); max-width: 62ch; }
.faq__a a { color: var(--accent-text); }

/* Close ----------------------------------------------------------------- */
.close {
  margin: var(--section) var(--gutter) 0;
  background: var(--accent);
  color: #fff;
  border-radius: 28px;
  padding: clamp(48px, 7vw, 112px) clamp(24px, 5vw, 80px);
  display: grid; gap: clamp(28px, 3vw, 44px); justify-items: start;
}
@media (min-width: 1537px) { .close { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; } }
.close__title { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.04; font-weight: 400; letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }

/* Footer ---------------------------------------------------------------- */
.footer {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 6vw, 88px) var(--gutter) 40px;
  display: grid; gap: 32px;
  font-size: 15px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 40px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--accent-text); text-decoration: underline; }
.footer__legal { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero__links { display: none; }
  .hero__nav { justify-content: flex-end; }
  .hero__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__card { grid-column: 1 / -1; grid-row: 1; max-width: 560px; }
  .hero__band { margin-top: 0; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .section-head, .apply__head { grid-template-columns: 1fr; align-items: start; }
  .hero__foot { grid-template-columns: 1fr; justify-items: center; }
  .hero__badge, .hero__down { display: none; }
  .apply__form { grid-template-columns: 1fr; }
  /* the stack becomes a plain sequence of slides with captions */
  .case { padding-top: var(--section); }
  .case__stage { height: auto; }
  .case__sticky { position: static; height: auto; grid-template-columns: 1fr; padding-bottom: var(--section); }
  .case__side { gap: 0; margin-bottom: 32px; }
  .case__index { display: none; }
  .case__deck { height: auto; display: grid; gap: 36px; perspective: none; }
  .slide { position: relative; left: auto; top: auto; width: 100%; transform: none !important; opacity: 1 !important; filter: none !important; clip-path: none !important; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .slide__cap { display: block; font-size: 15px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 10px; }
  .slide__open { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px -22px rgba(0,0,0,.3); }
  .slide__open::after { display: none; }
  .slide__more { display: inline-block; margin-top: 10px; color: var(--accent-text); font-size: 14.5px; font-weight: 500; }
  .plans { grid-template-columns: 1fr; }
  .footer__links { flex-direction: column; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { border-radius: 8px; min-height: 0; padding-bottom: 28px; }
  .hero__title { font-size: clamp(2.6rem, 13.5vw, 3.6rem); line-height: .9; }
  .hero__stage { grid-template-columns: 1fr; gap: 0; }
  .hero__card { margin-bottom: 28px; }
  .hero__band { border-bottom: 0; padding: 14px 0; justify-content: flex-start; }
  .hero__band--right { flex-direction: row-reverse; justify-content: flex-end; text-align: left; border-bottom: 1px solid var(--accent-line); }
  .hero__icon { width: 56px; height: 28px; }
  .btn--lg { font-size: 16px; padding-left: 22px; gap: 14px; min-height: 58px; }
  .btn--lg .btn__disc { width: 44px; height: 44px; }
  .hero__cta .btn--lg, .close .btn--lg { width: 100%; justify-content: space-between; }
  .apply__submit { flex-direction: column; align-items: stretch; }
  .apply__submit .btn { justify-content: space-between; }
  .groups { grid-template-columns: 1fr; row-gap: 48px; }
  .group h3, .group__lead { min-height: 0; }
  .faq__a { padding-right: 0; }
  .close { border-radius: 22px; }
}

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