@import url('assets/fonts.css');

:root {
  --paper: #F5F2ED;
  --card: #FFFFFF;
  --ink: #101114;
  --muted: #6E6A63;
  --line: #E3DED5;
  --accent: #FFCE3D;
  --ink-2: #1C1E24;
  --soft: #EBE6DD;
  --container: 1360px;
  --pad: 24px;
  --radius: 24px;
  --radius-pill: 999px;
  --header-h: 72px;
  --promo-h: 52px;
  --top-h: calc(var(--header-h) + var(--promo-h));
  --transition: 180ms ease;
  --shadow: 0 2px 3px rgba(16, 17, 20, .04), 0 12px 32px -18px rgba(16, 17, 20, .22);
  --shadow-hover: 0 4px 8px rgba(16, 17, 20, .06), 0 20px 40px -16px rgba(16, 17, 20, .28);
}

@media (min-width: 1600px) {
  :root { --container: 1440px; }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.has-mobile-bar { padding-bottom: 56px; }
body.modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(46px, 7vw, 104px);
  line-height: 1.02;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container--narrow { max-width: 800px; }

.num-nowrap { white-space: nowrap; }

.icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marker {
  background: linear-gradient(transparent 62%, var(--accent) 62%);
}

.slash {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.slash-sep { display: none; }

/* Section headings */
.section-head {
  position: relative;
  margin-bottom: 32px;
}

.section-head__num {
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY(-58%);
  font-size: clamp(100px, 14vw, 180px);
  font-weight: 700;
  line-height: 1;
  color: #EBE6DD;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.section-title {
  position: relative;
  z-index: 1;
  font-size: clamp(32px, 3.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.title-word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section--soft { background: var(--soft); }

/* Editorial layout */
.editorial {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.editorial + .editorial { margin-top: 40px; }

.editorial__aside {
  position: sticky;
  top: 96px;
  align-self: start;
}

.editorial__aside--spacer { visibility: hidden; }

.editorial__body { min-width: 0; }

.editorial__body--text { max-width: 720px; }

.editorial__body--full { max-width: none; }

.editorial__aside:empty {
  display: block;
  visibility: hidden;
}

/* Read progress */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 110;
  pointer-events: none;
}

.read-progress__bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 80ms linear;
}

/* Nav active */
.header__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header__nav a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.header__nav a.is-active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.scroll-top:not([hidden]) { display: flex; }

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.scroll-top .icon { width: 22px; height: 22px; }

body.has-mobile-bar .scroll-top { bottom: 72px; }

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 20px;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento__tile {
  position: relative;
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.bento__tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.bento__tile--card { background: var(--card); }
.bento__tile--paper { background: var(--paper); }
.bento__tile--dark {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: #fff;
}

.bento__tile--accent {
  background: linear-gradient(160deg, #FFF8E0 0%, #FFFDF7 100%);
  border-color: #F0E4B8;
}

.bento__tile--lg { grid-column: span 8; grid-row: span 2; }
.bento__tile--md { grid-column: span 4; grid-row: span 2; }
.bento__tile--sm { grid-column: span 4; grid-row: span 1; }
.bento__tile--wide { grid-column: span 8; grid-row: span 1; }
.bento__tile--half { grid-column: span 6; grid-row: span 1; }
.bento__tile--third { grid-column: span 4; grid-row: span 1; }

.bento__tile.is-anim-ready {
  opacity: 0;
  transform: translateY(28px);
}

.bento__tile.is-anim-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 220ms ease;
}

.bento__tile.is-anim-ready:hover.is-visible {
  transform: translateY(-3px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}

.btn--outline {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--paper);
}

/* Site top */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-top.is-promo-hidden { --promo-h: 0px; }

.promo-bar {
  height: var(--promo-h);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  transition: height var(--transition);
}

.promo-bar.is-hidden { display: none; }

.promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: var(--promo-h);
  position: relative;
}

.promo-bar__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 0 48px;
}

.promo-bar__icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.promo-bar__date { font-weight: 700; }
.promo-bar__text--short { display: none; }

.promo-bar__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
}

.promo-bar__close:hover { opacity: 1; }

/* Header */
.header {
  height: var(--header-h);
  background: rgba(245, 242, 237, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.header__logo img { display: block; }

.header__nav {
  display: flex;
  gap: 20px;
  margin: 0 auto;
}

.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.header__nav a:hover { color: var(--ink); }

.header__nav a.is-active:hover { color: var(--ink); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header__phone {
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header__phone--icon { display: none; }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.header__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

.header.is-open .header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .header__burger span:nth-child(2) { opacity: 0; }
.header.is-open .header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 0;
  background:
    radial-gradient(60% 50% at 70% 0%, #FFFDF7 0%, transparent 70%),
    var(--paper);
  overflow-x: clip;
}

.hero__content { display: flex; flex-direction: column; max-width: 100%; }

.hero__h1-light { font-weight: 400; }
.hero__h1-strong { font-weight: 700; }

.hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 560px;
  margin: 28px 0 0;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__prototype {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 560px;
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__prototype .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--ink);
}

.hero__prototype p {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.hero__trust {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 28px 0 0;
}

.hero__quiz-band {
  position: relative;
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__quiz-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 24px 32px;
  align-items: center;
}

.hero__quiz-band-text { min-width: 0; }

.hero__quiz-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line);
}

.hero__quiz-progress-bar {
  height: 100%;
  width: 16.66%;
  background: var(--accent);
  transition: width 400ms ease;
}

.hero__quiz-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 8px;
}

.hero__quiz-title {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0;
  letter-spacing: -0.03em;
}

.hero__quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.hero__quiz-option {
  flex: 1 1 auto;
  min-height: 48px;
  min-width: 0;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.hero__quiz-option:hover {
  border-color: var(--ink);
  background: var(--card);
}

.hero__quiz-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 16px 0 0;
}

/* Facts bento */
.hero__facts {
  margin-top: 56px;
  padding-bottom: 72px;
}

.facts__num {
  display: block;
  font-size: clamp(26px, 3.2vw, 64px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  line-height: 1.04;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bento__tile--dark .facts__num { color: #fff; }

.facts__label {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.bento__tile--dark .facts__label { color: rgba(255, 255, 255, .7); }

.bento--facts .facts__item--lg { grid-column: span 8; grid-row: span 2; }
.bento--facts .facts__item--md { grid-column: span 4; grid-row: span 2; }
.bento--facts .facts__item--sm { grid-column: span 4; grid-row: span 1; }

/* Contract */
.contract {
  padding: 96px 0;
  background: var(--card);
}

.contract__lead {
  color: var(--muted);
  margin: 0;
}

.contract__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  min-width: 0;
}

.contract__col-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  color: var(--muted);
}

.contract__col-letter {
  color: var(--ink);
  margin-right: 6px;
  font-weight: 700;
}

.contract__chain { display: flex; flex-direction: column; gap: 0; }

.contract__card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 500;
  text-align: center;
  background: var(--paper);
  color: var(--muted);
}

.contract__gap {
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contract__gap .slash-sep { display: none; }

.contract__unified {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contract__unified-title {
  font-size: 20px;
  font-weight: 700;
}

.contract__services.bento {
  gap: 12px;
}

.contract__service.bento__tile {
  padding: 20px;
  border-radius: 16px;
  box-shadow: none;
}

.contract__service.bento__tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contract__service {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.contract__service--lg { grid-column: span 8; grid-row: span 1; }
.contract__service--md { grid-column: span 4; grid-row: span 1; }
.contract__service--sm { grid-column: span 4; grid-row: span 1; }

.contract__service-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contract__service-name { font-weight: 600; font-size: 16px; }
.contract__service-sub { font-size: 14px; color: var(--muted); line-height: 1.4; }
.contract__service .icon { color: var(--ink); width: 22px; height: 22px; }

.contract__unified-divider { height: 1px; background: var(--line); }

.contract__checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contract__checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.contract__checks .icon { width: 18px; height: 18px; color: var(--ink); }

.contract__unified-total {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.contract__unified-extra {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}

.contract__docs {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.contract__docs-title {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.contract__docs-desc {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  max-width: 480px;
}

.contract__document {
  position: relative;
  width: 480px;
  max-width: 100%;
  min-height: 280px;
  padding: 32px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contract__document-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(225deg, var(--paper) 0 50%, transparent 50%);
}

.contract__document-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 20px;
}

.contract__document-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contract__document-lines span {
  display: block;
  height: 8px;
  background: var(--paper);
  border-radius: 4px;
}

.contract__document-lines span:nth-child(1) { width: 85%; }
.contract__document-lines span:nth-child(2) { width: 100%; }
.contract__document-lines span:nth-child(3) { width: 70%; }
.contract__document-lines span:nth-child(4) { width: 55%; }

.contract__document-stamp {
  position: absolute;
  right: 32px;
  bottom: 24px;
  width: 88px;
  height: 88px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
}

/* Prices */
.prices { padding: 96px 0; }

.prices__table-wrap {
  margin-bottom: 32px;
  min-width: 0;
}

.prices__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
}

.prices__table-head {
  position: sticky;
  top: 64px;
  z-index: 2;
}

.prices__table-head th,
.prices__table-head td {
  background: var(--paper);
  padding: 16px 20px;
  vertical-align: bottom;
  border-bottom: 1px solid var(--line);
}

.prices__table-head tr:first-child th {
  padding-top: 24px;
}

.prices__table-label { width: 22%; min-width: 140px; }

.prices__table-col { width: 26%; }

.prices__table-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
}

.prices__table-plan .icon { width: 22px; height: 22px; color: var(--ink); }

.prices__table-badge {
  display: inline-block;
  margin-bottom: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.prices__table-sum {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.prices__table tbody th,
.prices__table tbody td {
  padding: 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.prices__table-row-label {
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  width: 22%;
  min-width: 140px;
}

.prices__table-col--featured {
  background: var(--card);
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.prices__table-head .prices__table-col--featured {
  border-top: 2px solid var(--ink);
  border-radius: 16px 16px 0 0;
}

.prices__table tbody tr:last-child .prices__table-col--featured {
  border-bottom: 2px solid var(--ink);
  border-radius: 0 0 16px 16px;
}

.prices__table-gift {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.prices__table-gift .icon { width: 20px; height: 20px; }

.prices__table-gift-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.prices__table-actions td { vertical-align: middle; }

.prices__table-btn { width: 100%; min-height: 48px; padding: 10px 16px; font-size: 15px; }

.prices__cards-mobile { display: none; margin-bottom: 32px; }

.bento--prices { margin-bottom: 0; }

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.bento--prices .price-card--landing { grid-column: span 4; grid-row: span 2; }
.bento--prices .price-card--featured { grid-column: span 5; grid-row: span 2; }
.bento--prices .price-card--shop { grid-column: span 3; grid-row: span 2; }

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.price-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.price-card__head .icon { color: var(--ink); }
.price-card__name { font-size: clamp(20px, 2vw, 24px); }

.price-card__sum {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  margin-bottom: 6px;
}

.price-card__term {
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.price-card__desc {
  color: var(--muted);
  font-size: 16px;
  flex: 1;
  margin-bottom: 20px;
}

.price-card__gift {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.price-card__gift-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.price-card__gift-text {
  flex: 1 1 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.price-card__btn { width: 100%; margin-top: auto; }

.prices__included {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.prices__included-label {
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.prices__included-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 24px;
}

.prices__included-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.prices__gifts {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prices__gift {
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.prices__gift-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.prices__gift-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.prices__gift-text {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

/* Quiz */
.quiz { padding: 96px 0; }

.quiz__lead {
  color: var(--muted);
  margin: 0;
}

.quiz__box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quiz__progress {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  background: var(--accent);
  width: 16.66%;
  transition: width 400ms ease;
}

.quiz__step { display: none; }
.quiz__step.is-active { display: block; }

.quiz__question {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.quiz__options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.quiz__option {
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.quiz__option:hover { border-color: var(--ink); }

.quiz__option.is-selected {
  border-color: var(--ink);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.quiz__form {
  display: grid;
  gap: 16px;
  max-width: 400px;
}

.quiz__field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--muted);
}

.quiz__field input[type="text"],
.quiz__field input[type="tel"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.quiz__field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.quiz__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.quiz__radios label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  cursor: pointer;
}

.quiz__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.quiz__consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.quiz__nav { margin-top: 24px; }
.quiz__back { min-width: 120px; }

.quiz__result-title {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.quiz__result-title span {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.quiz__result-note { color: var(--muted); margin-bottom: 16px; }

.quiz__result-promo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  padding: 22px 24px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.quiz__result-promo-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.quiz__result-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.quiz__result-case {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--paper);
}

.quiz__result-case h4 { font-size: 16px; margin-bottom: 4px; }
.quiz__result-case p { font-size: 14px; color: var(--muted); margin: 0; }
.quiz__result-referral { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Cases */
.cases {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 96px 40px;
  overflow-x: clip;
  background: var(--paper);
}

.cases__inner { width: 100%; max-width: none; }

.cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.cases__head-text { min-width: 0; flex: 1 1 320px; }

.cases__title {
  position: relative;
  z-index: 1;
  font-size: clamp(32px, 3.6vw, 56px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.05;
}

.cases__head .section-head { margin-bottom: 8px; }

.cases__subtitle {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
}

.cases__filters {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 420px;
  min-width: 0;
  scrollbar-width: none;
}

.cases__filters::-webkit-scrollbar { display: none; }

.cases__filter {
  flex: 0 0 auto;
  white-space: nowrap;
  height: 44px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.cases__filter:hover { border-color: var(--ink); }

.cases__filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.case-tile {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
}

.case-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.case-tile.is-hidden { display: none; }

.case-tile__browser {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.case-tile__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.case-tile__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  font-style: normal;
}

.case-tile__domain {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: var(--card);
  border-radius: 8px;
  padding: 4px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-tile__shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.case-tile__caption {
  margin: 0;
  padding: 18px 24px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.case-tile__result {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 12px 16px;
  align-items: center;
  padding: 16px 24px 24px;
}

.case-tile__divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  flex-shrink: 0;
}

.case-tile__stat { min-width: 0; }

.case-tile__stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.case-tile__stat-value {
  display: block;
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  line-height: 1.1;
}

.case-tile__stat-metric {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.case-tile__growth {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  text-align: left;
  min-width: 130px;
  padding-left: 28px;
}

.case-tile__growth::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.case-tile__growth-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  line-height: 1.2;
}

.case-tile__growth-label {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: rgba(255, 255, 255, .72);
}

.cases__footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.cases__footer-btn { min-width: 220px; }

.cases__footnote {
  margin: 32px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

@media (min-width: 1025px) {
  .cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-tile:nth-child(even) { margin-top: 88px; }
}

/* Case modal */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.case-modal[hidden] { display: none; }

.case-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 20, .55);
}

.case-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--card);
  overflow-y: auto;
  max-height: 100vh;
}

.case-modal__close {
  position: sticky;
  top: 0;
  float: right;
  width: 44px;
  height: 44px;
  margin: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.case-modal__body { padding: 0 var(--pad) 48px; clear: both; }

.case-modal__section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.case-modal__section:last-child { border-bottom: none; }
.case-modal__section h3 { font-size: 22px; margin-bottom: 16px; }
.case-modal__about { color: var(--muted); max-width: 640px; }

.case-modal__pains li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--muted);
}

.case-modal__pains li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ink);
}

.case-modal__old-shot {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.case-modal__solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-modal__solution {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.case-modal__solution-shot {
  height: 120px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.case-modal__solution p { padding: 12px 14px; font-size: 14px; margin: 0; }

.case-modal__metric { margin-bottom: 16px; }

.case-modal__metric-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.case-modal__metric-bar {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.case-modal__metric-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 4px;
}

.case-modal__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.case-modal__quote {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--accent);
}

.case-modal__quote p { font-style: italic; margin-bottom: 12px; }
.case-modal__quote footer { font-size: 14px; color: var(--muted); font-style: normal; }

/* Subscriptions */
.subscriptions { padding: 96px 0; }

.subscriptions__lead {
  color: var(--muted);
  margin: 0;
}

.bento--subs .sub-card--start { grid-column: span 4; grid-row: span 2; }
.bento--subs .sub-card--featured { grid-column: span 5; grid-row: span 2; }
.bento--subs .sub-card--max { grid-column: span 3; grid-row: span 2; }

.sub-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sub-card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.sub-card__name { font-size: 22px; margin-bottom: 10px; }

.sub-card__price {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  margin-bottom: 12px;
}

.sub-card__desc { font-size: 16px; color: var(--muted); }

.subscriptions__compare,
.subscriptions__installment {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.5;
  background: var(--card);
  box-shadow: var(--shadow);
}

.subscriptions__compare { font-weight: 600; }
.subscriptions__installment { color: var(--muted); font-weight: 400; }

/* Process */
.process { padding: 96px 0; overflow-x: clip; }

.process__wrap { min-width: 0; }

.process__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-inline: 0;
}

.process__track::-webkit-scrollbar { display: none; }

.process__step {
  flex: 0 0 300px;
  min-width: 300px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.process__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.process__num {
  display: block;
  font-size: 64px;
  font-weight: 700;
  color: var(--soft);
  line-height: 1;
  margin-bottom: 8px;
}

.process__step h3 {
  font-size: 18px;
  margin-bottom: auto;
  line-height: 1.35;
}

.process__step p {
  font-size: 14px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 12px;
}

.process__scroll-progress {
  height: 2px;
  background: var(--line);
  margin-top: 20px;
  border-radius: 1px;
  overflow: hidden;
}

.process__scroll-progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 80ms linear;
}

/* Guarantees */
.guarantees { padding: 96px 0; background: var(--paper); }

.bento--guarantees {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, auto);
  margin-bottom: 24px;
}

.guarantees__card--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.guarantees__card--wide {
  grid-column: span 2;
  grid-row: span 1;
}

.guarantees__card--sm {
  grid-column: span 1;
  grid-row: span 1;
}

.guarantees__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.guarantees__card .icon { color: var(--ink); width: 22px; height: 22px; }
.bento__tile--dark .guarantees__card .icon { color: #fff; }

.guarantees__card-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.guarantees__card-desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.bento__tile--dark .guarantees__card-desc { color: rgba(255, 255, 255, .7); }

.guarantees__excluded {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.guarantees__excluded-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guarantees__excluded p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Team */
.team { padding: 96px 0; background: var(--card); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 24px;
}

.team__member { margin: 0; text-align: center; }

.team__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid var(--line);
}

.team__member figcaption {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.team__note { color: var(--muted); margin-bottom: 8px; }
.team__tagline { font-size: 14px; color: var(--muted); letter-spacing: 0.04em; }

/* Partners bento */
.partners-band { padding: 96px 0; }

.partners-band__note {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.bento--partners {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(88px, auto);
}

.bento--partners .partners-band__badge {
  grid-column: span 1;
  grid-row: span 1;
}

.partners-band__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink);
}

.partners-band__sep { display: none; }

/* FAQ */
.faq { padding: 96px 0; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--card);
}

.faq__question {
  width: 100%;
  min-height: 44px;
  padding: 22px 24px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  background: var(--card);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}

.faq__question:hover { background: var(--paper); }

.faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
}

.faq__item.is-open .faq__question::after { content: '−'; }

.faq__answer { padding: 0 24px 24px; }
.faq__answer p { color: var(--muted); font-size: 16px; }

/* CTA bar */
.cta-bar {
  background: var(--soft);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-bar__text {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
}

/* Referral bar */
.referral-bar {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.referral-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px var(--pad);
  flex-wrap: wrap;
}

.referral-bar__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.referral-bar__note {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 48px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}

.footer__logo img { filter: brightness(0) invert(1); }

.footer__col h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.footer__col ul li { margin-bottom: 8px; font-size: 14px; }
.footer__col a:hover { color: #fff; }
.footer__social { margin-top: 12px; font-size: 14px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
  margin: 0;
}

/* Mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 56px;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.mobile-bar .btn { flex: 1; font-size: 14px; padding: 8px 12px; }

/* Scroll margin */
.contract, .prices, .quiz, .cases, .subscriptions, .process, .team, .faq, .guarantees, .partners-band {
  scroll-margin-top: var(--top-h);
}

/* Reduced motion */
@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;
  }

  .title-word,
  .bento__tile.is-anim-ready {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .contract__compare { grid-template-columns: 1fr; }
  .contract__docs { grid-template-columns: 1fr; gap: 32px; }
  .contract__document { width: 100%; }
  .case-modal__solutions { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .editorial {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial + .editorial { margin-top: 32px; }

  .editorial__aside {
    position: static;
  }

  .editorial__aside:empty { display: none; }

  .section-head { margin-bottom: 0; }

  .bento,
  .bento--facts,
  .bento--prices,
  .bento--subs,
  .bento--guarantees,
  .bento--partners,
  .contract__services.bento {
    grid-template-columns: 1fr;
  }

  .bento__tile--lg,
  .bento__tile--md,
  .bento__tile--sm,
  .bento__tile--wide,
  .bento__tile--half,
  .bento__tile--third,
  .bento--facts .facts__item--lg,
  .bento--facts .facts__item--md,
  .bento--facts .facts__item--sm,
  .bento--prices .price-card--landing,
  .bento--prices .price-card--featured,
  .bento--prices .price-card--shop,
  .bento--subs .sub-card--start,
  .bento--subs .sub-card--featured,
  .bento--subs .sub-card--max,
  .bento--guarantees .guarantees__card--hero,
  .bento--guarantees .guarantees__card--wide,
  .bento--guarantees .guarantees__card--sm,
  .bento--partners .partners-band__badge,
  .contract__service--lg,
  .contract__service--md,
  .contract__service--sm {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento__tile--lg,
  .bento--facts .facts__item--lg,
  .bento--prices .price-card--featured {
    min-height: 200px;
  }

  .cases__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cases__filters {
    width: 100%;
    justify-content: flex-start;
  }

  .guarantees__excluded { grid-column: span 1; }

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

@media (max-width: 767px) {
  .prices__table-wrap { display: none; }

  .prices__cards-mobile {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__quiz-band-inner { grid-template-columns: 1fr; }

  .hero__quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero__quiz-option { flex: none; }
}

@media (max-width: 620px) {
  .process__step {
    flex: 0 0 min(72vw, 300px);
    min-width: min(72vw, 300px);
  }
}

@media (max-width: 767px) {
  :root { --pad: 16px; }

  .promo-bar__text--full { display: none; }
  .promo-bar__text--short { display: inline; }

  .header__nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--pad);
    gap: 0;
  }

  .header__nav.is-open { display: flex; }

  .header__nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .header__nav a:last-child { border-bottom: none; }
  .header__phone--text { display: none; }
  .header__phone--icon { display: inline-flex; }
  .header__burger { display: flex; }
  .header__cta { display: none; }
  .header__inner { position: relative; }

  .hero { padding: 40px 0 0; }
  .hero__facts { margin-top: 40px; padding-bottom: 48px; }
  .hero__quiz-band { margin-top: 32px; padding: 24px 20px 20px; }

  .contract, .prices, .quiz, .team, .faq, .guarantees, .partners-band, .subscriptions, .process {
    padding: 56px 0;
  }

  .cases { padding: 56px 20px; }
  .case-tile:nth-child(even) { margin-top: 0; }

  .case-tile__result {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .case-tile__divider { display: none; }
  .case-tile__growth { width: 100%; }
  .case-tile__shot { min-height: 220px; aspect-ratio: auto; }

  .quiz__result-cases { grid-template-columns: 1fr; }
  .cta-bar__inner { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .referral-bar__inner { flex-direction: column; align-items: flex-start; }
  .referral-bar__btn { width: 100%; }
  .cases__footer { flex-direction: column; }
  .cases__footer-btn { width: 100%; }
  .mobile-bar:not([hidden]) { display: flex; }
  .case-modal__panel { max-height: 100%; height: 100%; }
  .section-head__num { left: 0; font-size: 88px; }
}

/* фикс: в колоночном flex базис применяется к ВЫСОТЕ и давал пустой провал на мобильном */
@media (max-width: 900px) {
  .cases__head { gap: 20px; }
  .cases__head-text { flex: 0 0 auto; }
  .cases__filters { flex: 0 0 auto; width: 100%; justify-content: flex-start; }
}

/* плитки услуг внутри карточки «Одна команда»: узкая колонка резала названия */
.contract__services.bento {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: stretch;
}
.contract__service.bento__tile { grid-column: auto !important; grid-row: auto !important; min-width: 0; }
.contract__service-name { overflow-wrap: anywhere; }
.contract__service-sub { overflow-wrap: anywhere; }
