/* =====================================================================
   Школа Здоровых Взрослых — design layer
   Palette: 60% cream · 30% burgundy/cherry · 10% olive/pistachio.
   One typeface (Didact Gothic, single weight): hierarchy by size + colour.
   Shadows exist only under collage objects (photo, sticker, props).
   ===================================================================== */

:root {
  color-scheme: light;
  --cream: #F5F3CE;
  --burgundy: #460007;
  --black-cherry: #640011;
  --cherry: #560417;
  --olive: #5B5E28;
  --pistachio: #D5DB89;

  --radius: 32px;
  --radius-card: 24px;
  --stroke: 4px;
  --pad: 20px;
  --gap: 64px;            /* cream space between blocks            */
  --pause: 96px;          /* longer cream pause between dark panels */
  --header-top: 10px;
  --header-h: 68px;

  --line-olive: color-mix(in srgb, var(--olive) 42%, transparent);
  --line-burgundy: color-mix(in srgb, var(--burgundy) 32%, transparent);
  --line-cream: color-mix(in srgb, var(--cream) 28%, transparent);
  --object-shadow:
    0 2px 3px color-mix(in srgb, var(--burgundy) 45%, transparent),
    0 14px 24px -12px color-mix(in srgb, var(--burgundy) 90%, transparent);
  --decor-shadow: drop-shadow(1px 4px 3px color-mix(in srgb, var(--burgundy) 40%, transparent));
}

/* ---------- base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-top) + var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: var(--header-top) 0 112px;
  background: var(--cream);
  color: var(--burgundy);
  font: 400 17px/1.45 "Didact Gothic", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
html:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.04em; text-wrap: balance;
  text-transform: lowercase;
}
h1 { font-size: clamp(44px, 12.7vw, 52px); line-height: .9; }
h2 { font-size: clamp(32px, 9.4vw, 36px); line-height: 1; }
h3 { font-size: 24px; line-height: 1.08; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--pistachio); color: var(--burgundy); }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 30;
  inset: 14px auto auto 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--cream);
}

/* ---------- layout primitives -------------------------------------- */
.shell { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }
.panel { padding: var(--pad); border-radius: var(--radius); }
.panel--dark, .panel--olive { color: var(--cream); border: var(--stroke) solid; }
.panel--dark { background: var(--burgundy); border-color: var(--olive); }
.panel--olive { background: var(--olive); border-color: var(--pistachio); }
.section-gap { margin-block-start: var(--gap); }
/* two dark panels never touch: a longer cream pause sits between them */
.panel--olive + .panel--dark,
.footer.section-gap { margin-block-start: var(--pause); }

.lead { font-size: clamp(20px, 5.6vw, 22px); line-height: 1.25; }

/* staging chip: marks copy that is still waiting for the client */
.draft-note {
  width: fit-content;
  max-width: 100%;
  padding: 6px 14px 7px;
  border: 1px dashed color-mix(in srgb, currentColor 60%, transparent);
  border-radius: 14px;
  color: var(--olive);
  font-size: 16px;
  line-height: 1.35;
}
.panel--dark .draft-note,
.panel--olive .draft-note { color: var(--cream); }

.section-tail { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.section-tail--end { align-items: stretch; }

/* ---------- buttons -------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: clamp(16px, 4.4vw, 18px);
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.arrow-icon {
  position: relative;
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  transform: rotate(-45deg);
}
.arrow-icon::before, .arrow-icon::after { content: ""; position: absolute; }
.arrow-icon::before { top: calc(50% - .75px); inset-inline: 12%; border-top: 1.5px solid currentColor; }
.arrow-icon::after {
  top: 50%;
  right: 12%;
  width: 44%;
  height: 44%;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
}
.arrow-icon--prev { transform: rotate(180deg); }
.arrow-icon--next { transform: none; }
.button--pistachio { background: var(--pistachio); color: var(--burgundy); }
.button--pistachio:hover:not(:disabled) { background: color-mix(in srgb, var(--pistachio) 84%, var(--olive)); }
.panel--dark .button--pistachio { background: var(--cream); }
.panel--dark .button--pistachio:hover:not(:disabled) { background: color-mix(in srgb, var(--cream) 86%, var(--olive)); }
.button--dark { background: var(--black-cherry); color: var(--cream); }
.button--dark:hover { background: var(--burgundy); }
.button--outline { border-color: var(--cream); background: transparent; color: var(--cream); }
.button--outline:hover { background: var(--black-cherry); }
.panel--dark .button:focus-visible,
.panel--olive .button:focus-visible { outline-color: var(--cream); }

.icon-button {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-olive);
  border-radius: 50%;
  background: transparent;
  color: var(--burgundy);
  font-size: 24px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease;
}
.icon-button:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--pistachio); border-color: var(--pistachio); }
.icon-button:disabled { opacity: .4; }
.icon-button[aria-disabled="true"] {
  border-color: color-mix(in srgb, var(--olive) 18%, transparent);
  color: color-mix(in srgb, var(--burgundy) 40%, transparent);
  cursor: not-allowed;
}
.icon-button[aria-disabled="true"]:focus-visible { outline-color: var(--burgundy); }

/* ---------- 1 · header: fixed translucent pill ----------------------- */
.header {
  position: fixed;
  z-index: 10;
  top: var(--header-top);
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--header-h);
  padding: 5px 5px 5px 7px;
  border: 1px solid color-mix(in srgb, var(--olive) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 66%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header { background: color-mix(in srgb, var(--cream) 95%, transparent); }
}
.header ~ main { padding-top: calc(var(--header-h) + 12px); }

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  border-radius: 999px;
  color: var(--burgundy);
  text-decoration: none;
}
.brand-short { display: flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1; letter-spacing: -.02em; }
.brand-short > span:last-child { width: min-content; }   /* three-line lockup, like the logo */
.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--burgundy);
}
.brand-mark img { width: 28px; height: auto; }
.brand-wide { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.header-actions .button { width: auto; padding-inline: 18px 16px; gap: 8px; font-size: 16px; }
.header-actions .button span { font-size: 18px; }
.menu-toggle { width: 50px; height: 50px; border-color: transparent; }
.menu-toggle span, .menu-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--burgundy);
}
.menu-toggle span { position: relative; transform: translateY(-3.5px); }
.menu-toggle span::after { content: ""; position: absolute; top: 7px; }

/* ---------- 2 · ticker ---------------------------------------------- */
.ticker {
  display: flex;
  align-items: stretch;
  height: 40px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  font-size: 16px;
  line-height: 1;
}
.ticker-window { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker-track span { padding-inline-start: .85em; white-space: nowrap; word-spacing: .32em; }
.ticker[data-paused="true"] .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-control {
  display: grid;
  place-items: center;
  flex: none;
  min-width: 48px;
  padding: 0;
  border: 0;
  border-inline-start: 1px solid var(--line-cream);
  background: var(--olive);
  color: var(--cream);
  transition: background-color .2s ease;
}
.ticker-control:hover { background: color-mix(in srgb, var(--olive) 82%, var(--burgundy)); }
.ticker-control span { width: 10px; height: 11px; border-inline: 2px solid currentColor; }
.ticker-control[aria-pressed="true"] span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border: 6px solid transparent;
  border-left: 9px solid currentColor;
  border-right-width: 0;
}
.ticker-control:focus-visible { outline-offset: -5px; }

/* ---------- 3 · hero ------------------------------------------------- */
/* phones: title + figure → full portrait on felt → outcome → buttons   */
.hero {
  --fig: clamp(84px, 25vw, 104px);
  --photo: clamp(200px, 63vw, 280px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "art" "outcome";
  row-gap: 22px;
  padding-block: 26px 24px;
  overflow: hidden;
  border-color: var(--pistachio);
}
.hero-copy { grid-area: copy; }
.hero-lead { max-width: 27ch; margin-top: 18px; font-size: clamp(20px, 5.6vw, 22px); line-height: 1.22; }

/* the logo figure owns its own clear zone (≥ head height on all sides) */
.hero-symbol {
  grid-area: copy;
  justify-self: end;
  align-self: start;
  width: var(--fig);
  height: auto;
  margin-top: -4px;
}

.hero-art {
  grid-area: art;
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: calc(var(--photo) + 44px);
  max-width: 100%;
  padding: 40px 30px 50px 14px;
}
/* burgundy felt swatch under the print */
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px 0 0;
  border-radius: 8px;
  background: var(--cherry) url("assets/decor/felt.webp");
  transform: rotate(2.5deg);
}
/* photo-booth print: narrow dark frame, tilted, soft object shadow */
.photo-booth {
  position: relative;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--cream) 26%, var(--burgundy));
  background: var(--burgundy);
  box-shadow: var(--object-shadow);
  transform: rotate(-3deg);
}
.hero-portrait { width: 100%; height: auto; filter: grayscale(1) sepia(.12); }

.decoration { pointer-events: none; user-select: none; height: auto; filter: var(--decor-shadow); }
.photo-binder {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 27%;
  transform: translate(-50%, -62%) rotate(2deg);
}

.start-tag {
  position: absolute;
  z-index: 2;
  left: -16px;
  bottom: 10px;
  padding: 9px 16px 11px;
  border-radius: 6px;
  background: var(--black-cherry);
  color: var(--cream);
  box-shadow: var(--object-shadow);
  font-size: clamp(23px, 6.6vw, 30px);
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  transform: rotate(-6deg);
}
.start-tag span { display: block; margin-bottom: 5px; color: var(--pistachio); font-size: 16px; letter-spacing: 0; }
/* tape bridges the tag's top edge and the photo corner, above the label */
.start-tape { position: absolute; top: -13px; left: 22px; width: 64px; transform: rotate(-8deg); }

.star { position: absolute; z-index: 1; width: 30px; }
.star--hero-1 { top: 22px; right: 0; transform: rotate(12deg); }

.hero-outcome { grid-area: outcome; }
.hero-outcome p { max-width: 34ch; font-size: 18px; line-height: 1.45; }
mark {
  padding: .02em .24em .1em;
  border-radius: .32em;
  background: var(--cream);
  color: var(--burgundy);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-actions { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- 4 · chat messages --------------------------------------- */
.chat-board { padding-block: 0; }
.chat-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px 0;
  margin-top: 28px;
}
.chat-bubble {
  --tilt: -1.2deg;
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 13px 18px 15px 12px;
  border-radius: 24px 24px 24px 6px;
  background: var(--burgundy);
  color: var(--cream);
  line-height: 1.38;
  transform: rotate(var(--tilt));
}
.chat-bubble:nth-child(even) {
  --tilt: 1.3deg;
  border-radius: 24px 24px 6px 24px;
  background: var(--olive);
}
.chat-bubble p { padding-top: 5px; }
.chat-bubble--1 { grid-column: 1 / -2; }
.chat-bubble--2 { grid-column: 3 / -1; }
.chat-bubble--3 { grid-column: 1 / -3; --tilt: -.7deg; }
.chat-bubble--4 { grid-column: 2 / -1; }
.chat-bubble--5 { grid-column: 1 / -2; --tilt: -1.6deg; }
.chat-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pistachio);
  color: var(--burgundy);
  font-size: 17px;
  line-height: 1;
}
.chat-pin { position: absolute; top: -17px; right: 22px; width: 30px; transform: rotate(14deg); }
.chat-bubble--5 .chat-pin { right: auto; left: 56%; transform: rotate(-10deg); }

/* ---------- 6 · audience (olive) ------------------------------------ */
.audience { display: grid; gap: 22px; padding-block: 30px; }
.audience-list { list-style: none; }
.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-cream);
}
.audience-list li:first-child { padding-top: 0; }
.audience-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.check-dot {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pistachio);
  color: var(--olive);
}
.check-dot::before {
  content: "";
  width: 10px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}

/* ---------- 8 · formats --------------------------------------------- */
.formats { padding-block: 0; }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.format-card {
  --format-padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: var(--format-padding);
  border: 1px solid var(--line-olive);
  border-radius: var(--radius-card);
}
.format-card:last-child { grid-column: 1 / -1; }
.format-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  padding: 10px;
}
.format-card h3 { font-size: clamp(20px, 5.6vw, 22px); overflow-wrap: anywhere; }
.format-card p { color: var(--olive); font-size: 17px; line-height: 1.3;
  overflow-wrap: anywhere;
}
.format-card--photo {
  --format-padding: 17px 15px 19px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: var(--burgundy);
  color: var(--cream);
}
.format-photo, .format-card--photo::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.format-photo { z-index: -2; object-fit: cover; }
.format-card--photo::before {
  content: "";
  z-index: -1;
  background: color-mix(in srgb, var(--burgundy) 55%, transparent);
}
.format-card--photo h3, .format-card--photo p { color: inherit; text-shadow: 0 1px 3px var(--burgundy); }

/* ---------- 9 · programme tiles ------------------------------------- */
.program { padding-block: 0; }
.month-grid { display: grid; gap: 30px; margin-top: 38px; padding-inline: 4px; }
.month-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 236px;
  padding: 20px 20px 22px;
  border: var(--stroke) solid var(--olive);
  border-radius: 28px;
  background: var(--burgundy) url("assets/decor/paper.webp");
  color: var(--cream);
  text-align: left;
  transition: background-color .2s ease;
}
.month-tile--december { transform: rotate(-1.6deg); }
.month-tile--january { border-color: var(--pistachio); background-color: var(--olive); transform: rotate(1.2deg); }
.month-tile--february { background-color: var(--cherry); transform: rotate(-.9deg); }
.month-tile:hover { background-color: var(--black-cherry); }
.month-tile:focus-visible { outline: 3px solid var(--olive); outline-offset: 5px; }
.month-number { color: var(--pistachio); font-size: 64px; line-height: .9; letter-spacing: -.06em; }
.month-date {
  margin-top: auto;
  padding-top: 22px;
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  font-size: 17px;
  line-height: 1.2;
}
.month-name { font-size: clamp(30px, 9vw, 36px); line-height: 1.02; letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.month-start {
  margin-top: 12px;
  padding: 5px 12px 6px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--burgundy);
  font-size: 16px;
  line-height: 1.1;
}
.month-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid color-mix(in srgb, var(--cream) 45%, transparent);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.month-tile:hover .month-arrow { border-color: var(--cream); background: var(--cream); color: var(--burgundy); }
/* fasteners sit top-centre: clear of the number (left) and the arrow (right) */
.month-fastener { position: absolute; z-index: 1; top: -28px; left: 42%; width: 56px; transform: rotate(6deg); }
.month-tile--january .month-fastener { top: -22px; left: 54%; width: 26px; transform: rotate(-8deg); }
.month-tile--february .month-fastener { top: -16px; left: 46%; width: 36px; transform: rotate(-14deg); }

/* ---------- 10 · author --------------------------------------------- */
.author { padding-block: 0; }
.author-grid { display: grid; gap: 36px; margin-top: 26px;
  grid-template-columns: minmax(0, 1fr);
}
.profile {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line-olive);
  border-radius: var(--radius);
}
.profile-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.profile-top > div { min-width: 0; overflow-wrap: anywhere; }
.profile-top img {
  flex: none;
  width: 104px;
  height: 104px;
  border: 3px solid var(--pistachio);
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}
.profile-top a { font-size: 20px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.profile-top p { margin-top: 2px; color: var(--olive); font-size: 16px; }
.profile h3 { margin-bottom: 8px; font-size: clamp(30px, 8.8vw, 34px); text-transform: none; }
.profile-education { margin-top: 14px; padding-left: 20px; color: var(--olive); }
.profile-education li + li { margin-top: 6px; }
.author-note {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 260px;
  padding: 36px 22px 26px;
  border: var(--stroke) solid var(--pistachio);
  border-radius: var(--radius);
  background: var(--olive) url("assets/decor/paper.webp");
  color: var(--cream);
  transform: rotate(-1.4deg);
}
.note-tape { position: absolute; top: -18px; left: calc(50% - 56px); width: 112px; transform: rotate(-6deg); }
.note-phrase { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.author-quote { display: grid; gap: 12px; font-size: 18px; line-height: 1.45; }
.author-quote em { font-synthesis: style; }

/* ---------- 11 · reviews -------------------------------------------- */
.reviews {
  padding: 26px 14px 24px;
  border: 1px solid var(--line-olive);
  background: var(--cream) url("assets/decor/grid.webp");
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 6px;
}
.carousel-actions { display: flex; align-items: center; gap: 6px; }
.carousel-actions > span { margin-right: 4px; color: var(--olive); font-size: 16px; }
.carousel-actions .icon-button { background: var(--cream); font-size: 20px; }
.review-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  align-items: start;
  gap: 14px;
  margin-top: 6px;
  padding: 28px 8px 16px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-olive) transparent;
}
.review-track:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; border-radius: 18px; }
.review-card {
  position: relative;
  padding: 8px;
  border: 1px solid var(--line-olive);
  border-radius: 18px;
  background: var(--cream);
  transform: rotate(-.8deg);
  scroll-snap-align: start;
}
.review-card:nth-child(even) { transform: rotate(.9deg); }
.review-card--group { display: grid; gap: 8px; }
.review-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  border-radius: 11px;
  object-fit: contain;
  object-position: top;
}
.review-fastener { position: absolute; top: -16px; right: 14%; width: 32px; transform: rotate(10deg); }
.review-card:nth-child(even) .review-fastener { top: -14px; right: auto; left: 16%; width: 16px; transform: rotate(-28deg); }
.reviews .section-tail { padding-inline: 6px; }

/* ---------- 12 · tariffs -------------------------------------------- */
.tariffs {
  padding-block: 30px 26px;
  border-color: var(--pistachio);
  background: var(--burgundy) url("assets/decor/dots.webp");
}
.tariffs .lead { max-width: 24ch; margin-top: 12px; }
.price-grid { display: grid; gap: 22px; margin-top: 26px; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 18px 18px;
  border: var(--stroke) solid var(--olive);
  border-radius: 28px;
  background: var(--cherry);
}
.price-card--featured { border-color: var(--pistachio); }
.price-card h3 { font-size: 30px; }
.price-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.price-badge {
  padding: 5px 13px 7px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--burgundy);
  font-size: 16px;
  line-height: 1.1;
  animation: price-badge-breathe 2s ease-in-out infinite;
}
@keyframes price-badge-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px color-mix(in srgb, var(--cream) 20%, transparent); }
  50% { transform: scale(1.06); box-shadow: 0 0 17px color-mix(in srgb, var(--cream) 58%, transparent); }
}
.price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 18px 0 8px;
  line-height: 1;
}
.price-amount s {
  flex-basis: 100%;
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  font-size: 20px;
  text-decoration-thickness: 1.5px;
}
.price-amount span { font-size: clamp(42px, 12.5vw, 50px); letter-spacing: -.05em; overflow-wrap: anywhere; }
.price-currency { display: flex; gap: 12px; color: color-mix(in srgb, var(--cream) 78%, transparent); font-size: 16px; }
.price-list { margin: 20px 0 22px; list-style: none; border-top: 1px solid var(--line-cream); }
.price-list li {
  display: flex;
  gap: 10px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line-cream);
  line-height: 1.3;
}
.price-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin: .45em .3em 0 .12em;
  border: solid var(--cream);
  border-width: 1.5px 1.5px 0 0;
}
.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: auto; }
.check-row { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.35; cursor: pointer;
  min-height: 44px;
}
.check-row > span { min-width: 0; overflow-wrap: anywhere; }
.check-row input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin: -1px 0 0;
  border: 2px solid color-mix(in srgb, var(--cream) 75%, transparent);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.check-row input::before {
  content: "";
  width: 11px;
  height: 6px;
  border: solid var(--burgundy);
  border-width: 0 0 2px 2px;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}
.check-row input:checked { border-color: var(--pistachio); background: var(--pistachio); }
.check-row input:checked::before { opacity: 1; }
.check-row input:focus-visible { outline: 2px solid var(--pistachio); outline-offset: 3px; }
.check-row a { text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); }
.checkout .button { margin-top: 6px; }
.checkout .button:disabled {
  border-color: color-mix(in srgb, var(--cream) 40%, transparent);
  background: transparent;
  color: color-mix(in srgb, var(--cream) 72%, transparent);
}

/* ---------- 13 · free lecture --------------------------------------- */
.lecture {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid var(--line-olive);
  background: var(--cream) url("assets/decor/paper.webp");
}
.play-disc {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
}
.play-disc::before {
  content: "";
  margin-left: 5px;
  border: 10px solid transparent;
  border-left: 15px solid currentColor;
  border-right-width: 0;
}
.lecture p { margin-top: 6px; }
.lecture .button { grid-column: 1 / -1; margin-top: 4px; }

/* ---------- 14 · FAQ / accordion ------------------------------------ */
.faq { padding-block: 0; }
.accordion { margin-top: 24px; border-top: 1px solid var(--line-burgundy); }
.accordion details { border-bottom: 1px solid var(--line-burgundy); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(19px, 5.4vw, 21px);
  line-height: 1.22;
  letter-spacing: -.02em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-burgundy);
  border-radius: 50%;
  color: var(--burgundy);
  font-size: 24px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease;
}
.accordion summary:hover::after { background: color-mix(in srgb, var(--pistachio) 60%, transparent); }
.accordion details[open] summary::after { content: "−"; border-color: var(--pistachio); background: var(--pistachio); }
.accordion summary:focus-visible { outline-offset: 2px; }
.accordion details > :not(summary) { margin: 0 48px 18px 0; }
.accordion details[open] > :not(summary) { animation: reveal .3s ease both; }

/* ---------- 15 · final ---------------------------------------------- */
.final { position: relative; isolation: isolate; padding-top: clamp(124px, 22vw, 250px); }
/* halftone lily peeks out from behind the card */
.final-lily {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 3%;
  width: clamp(236px, 40vw, 540px);
  height: auto;
  transform: rotate(-8deg);
}
.final-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-block: 40px 30px;
  overflow: hidden;
  border-color: var(--pistachio);
  text-align: center;
}
.final-logo { width: 72px; height: auto; }
.final-card h2 { max-width: 13ch; }
.star--final-1 { top: 18px; right: 18px; transform: rotate(10deg); }
.star--final-3 { top: 26px; left: 20px; width: 26px; transform: rotate(-16deg); }

/* ---------- 16 · footer --------------------------------------------- */
.footer {
  display: grid;
  gap: 26px;
  padding: 30px 20px 26px;
  border: var(--stroke) solid var(--pistachio);
  background: var(--olive);
  color: var(--cream);
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
}
.footer-logo { width: 196px; height: auto; border-radius: 999px;
  grid-column: 1 / -1;
}
.footer h2 { margin-bottom: 10px; color: var(--pistachio); font-size: 22px; letter-spacing: -.03em; }
.footer a { display: block; width: fit-content; margin-bottom: 8px; font-size: 14px; line-height: 1.3;
  overflow-wrap: anywhere;
}
.footer-details { grid-column: 1 / -1; font-size: 14px; overflow-wrap: anywhere; }
.footer-details a { display: inline; font-size: inherit; }

/* ---------- cookie banner ------------------------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 9;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 540px;
  margin-inline: auto;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--olive);
  border-radius: 30px;
  background: var(--cream);
  color: var(--burgundy);
}
.cookie-banner p { font-size: 15px; line-height: 1.3; }
.cookie-banner .button { flex: none; justify-content: center; width: auto; min-width: 76px; }

/* ---------- dialogs -------------------------------------------------- */
.dialog {
  width: min(680px, calc(100% - 24px));
  max-width: none;
  max-height: min(92dvh, 820px);
  margin: auto;
  padding: 28px 22px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 2px solid var(--olive);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--burgundy);
}
.dialog::backdrop { background: color-mix(in srgb, var(--burgundy) 72%, transparent); }
.dialog[open] { animation: reveal .25s ease both; }
.dialog-dismiss { position: absolute; top: 14px; right: 14px; }
.dialog h2 { margin-right: 52px; overflow-wrap: anywhere; }
.dialog .lead { margin-block: 14px 8px; }
.month-dialog { padding: 0; overflow: hidden; }
.month-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.month-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 14px 22px;
  border-bottom: 1px solid var(--line-olive);
}
.month-dialog-header .dialog-dismiss { position: static; flex: none; }
.month-dialog-content { min-width: 0; padding: 0 22px 24px; overflow: auto; overscroll-behavior: contain; }
.month-dialog h2, .month-dialog h3 { text-transform: none; }
.month-dialog h2 { margin-right: 0; }
.month-dialog .lead { font-size: clamp(18px, 4.7vw, 21px); line-height: 1.42; }
.month-formats { color: var(--olive); font-size: 17px; line-height: 1.3; }
.month-dialog .accordion .week-entries { margin: 0 0 18px; }
.week-entries, .month-extras section { display: grid; gap: 10px; }
.week-entries h3, .month-extras h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; text-wrap: wrap; }
.week-entries h3:not(:first-child) { margin-top: 7px; }
.week-entries ul, .month-extras ul { padding-inline-start: 1.25em; }
.week-entries li + li, .month-extras li + li { margin-top: .35em; }
.week-entries strong { font-synthesis: weight; }
.month-extras { display: grid; gap: 12px; margin-block: 22px; }
.month-extras section { padding: 16px 18px; border: 1px solid var(--line-olive); border-radius: 22px; }
.month-dialog-content > .button { margin-top: 4px; }
.navigation-dialog { width: min(460px, calc(100% - 24px)); }
.navigation-dialog nav { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
.navigation-dialog nav a {
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-burgundy);
  font-size: 20px;
  text-decoration: none;
}
.navigation-dialog nav a:hover { text-decoration: underline; }
.navigation-docs { color: var(--olive); }
.navigation-dialog .navigation-docs a { padding-block: 9px; font-size: 16px; }

/* ---------- legal pages --------------------------------------------- */
.legal-page { width: min(860px, calc(100% - 32px)); margin-top: 20px; }
.legal-page .text-link { display: inline-block; padding-block: 8px; color: var(--olive); }
.legal-document { margin-top: 16px; border: 1px solid var(--line-olive); overflow-wrap: anywhere; font-synthesis: weight style; }
.legal-document h1, .legal-document h2, .legal-document h3 { text-transform: none; text-wrap: wrap; }
.legal-document h1 { margin-bottom: 14px; font-size: clamp(32px, 7vw, 58px); line-height: 1.06; }
.legal-document h2 { margin: 1.1em 0 .55em; font-size: clamp(22px, 5vw, 30px); line-height: 1.18; }
.legal-document h3 { margin: .9em 0 .45em; font-size: 19px; }
.legal-document p, .legal-document ul { margin-block: .65em; }
.legal-document ul { padding-inline-start: 1.3em; }
.legal-document li + li { margin-block-start: .3em; }

/* ---------- motion: soft, no spins or bounces ----------------------- */
@keyframes reveal {
  from { opacity: .15; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}
/* props are "set down on the table": settle from slightly above, fade in */
@keyframes place {
  from { opacity: 0; scale: 1.08; }
  to { opacity: 1; scale: 1; }
}
.appear { animation: reveal .6s cubic-bezier(.2, .7, .2, 1) both; }
.decoration.appear { animation: place .7s cubic-bezier(.2, .7, .2, 1) both; }

/* =====================================================================
   phones only: max three props per screen
   hero = binder + tape + one star · final = lily + two stars
   ===================================================================== */
@media (max-width: 639.98px) {
  .lecture h2 { overflow-wrap: anywhere; }
  .start-tag {
    top: 52px;
    bottom: auto;
    left: -14px;
    padding: 8px 12px 10px;
    font-size: clamp(21px, 5.8vw, 25px);
  }
  .start-tag span { margin-bottom: 3px; }

  .star--hero-2, .star--hero-3, .star--hero-4, .star--hero-5, .star--hero-6,
  .star--final-2, .star--final-4, .star--final-5 { display: none; }
}

/* =====================================================================
   ≥ 640 · large phones / tablets
   ===================================================================== */
@media (min-width: 640px) {
  :root {
    --radius: 36px;
    --pad: 32px;
    --gap: 88px;
    --pause: 120px;
    --header-top: 14px;
    --header-h: 78px;
  }
  body { font-size: 18px; }
  .shell { width: min(1280px, calc(100% - 48px)); }
  h1 { font-size: clamp(60px, 9vw, 88px); }
  h2 { font-size: clamp(40px, 6vw, 56px); }
  .lead { font-size: 24px; }

  .header { padding: 6px; }
  .brand-wide { display: block; width: 196px; height: auto; border-radius: 999px; }
  .brand-short { display: none; }
  .header-actions { gap: 8px; }
  .header-actions .button { padding-inline: 24px 20px; font-size: 17px; }
  .button { width: auto; padding-inline: 26px 22px; font-size: 18px; }
  .ticker { height: 42px; margin-bottom: 14px; font-size: 17px; }

  .hero { --fig: clamp(110px, 15vw, 150px); padding-block: 40px 36px; }
  .hero-lead { font-size: 24px; }
  .hero-symbol { margin-top: 0; }
  .hero-outcome p { font-size: 19px; }
  .hero-actions .button { width: 100%; }
  .start-tag { left: -30px; padding: 10px 20px 13px; }
  .start-tape { left: 30px; width: 74px; }
  .star--hero-1 { top: 16%; right: -20px; width: 44px; transform: rotate(14deg); }
  .star--hero-2 { bottom: 26%; right: -14px; width: 30px; transform: rotate(-12deg); }
  .star--hero-3 { top: 10px; left: 10%; width: 32px; transform: rotate(20deg); }
  .star--hero-4 { bottom: -4px; right: 20%; width: 46px; transform: rotate(-16deg); }
  .star--hero-5 { bottom: 38%; left: -46px; width: 26px; transform: rotate(10deg); }
  .star--hero-6 { top: -2px; right: 14%; width: 34px; transform: rotate(4deg); }

  .chat-grid { gap: 20px 0; margin-top: 34px; }
  .chat-bubble { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 24px 18px 14px; }
  .chat-avatar { width: 40px; height: 40px; font-size: 19px; }
  .chat-bubble--1 { grid-column: 1 / 9; }
  .chat-bubble--2 { grid-column: 5 / 13; }
  .chat-bubble--3 { grid-column: 2 / 10; }
  .chat-bubble--4 { grid-column: 4 / 13; }
  .chat-bubble--5 { grid-column: 1 / 10; }
  .chat-pin { width: 34px; top: -19px; }

  .audience { padding-block: 44px; }
  .section-tail { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-tail--end { justify-content: flex-end; }
  .section-tail > .button { flex: none; }

  .format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .format-card { --format-padding: 18px 16px 20px; min-height: 176px; }
  .format-card--photo { --format-padding: 19px 17px 21px; }

  .reviews { padding: 34px 26px 30px; }
  .review-track { grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; }

  .tariffs { padding-block: 44px 36px; }
  .price-card { padding: 26px 24px 22px; }
  .checkout .button { width: 100%; }

  .final-card { gap: 24px; padding-block: 56px 48px; }
  .final-logo { width: 84px; }
  .final-card h2 { max-width: none; }
  .star--final-1 { top: 14%; right: 7%; width: 34px; }
  .star--final-2 { top: 46%; right: 4%; width: 28px; transform: rotate(-15deg); }
  .star--final-3 { top: auto; bottom: 12%; left: auto; right: 13%; width: 40px; transform: rotate(24deg); }
  .star--final-4 { top: 18%; left: 8%; width: 40px; transform: rotate(-12deg); }
  .star--final-5 { bottom: 16%; left: 5%; width: 26px; transform: rotate(13deg); }

  .dialog { padding: 40px 36px 32px; }
  .month-extras { grid-template-columns: 1fr 1fr; }
}

/* tablets: copy across the top, portrait beside the outcome */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero {
    --photo: clamp(196px, 30vw, 300px);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "copy copy" "art outcome";
    column-gap: 28px;
    row-gap: 30px;
  }
  .hero-outcome { align-self: center; }
  .hero-actions .button { padding-inline: 22px 18px; font-size: 17px; }
}

@media (min-width: 768px) {
  .format-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .format-card:last-child { grid-column: span 2; }

  .month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .month-tile { min-height: 268px; }
  .month-number { font-size: clamp(64px, 8vw, 104px); }
  /* "сексуальность" must fit one tile line at every width */
  .month-name { font-size: clamp(22px, 2.6vw, 38px); }

  .author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 28px; }

  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-amount s { flex-basis: auto; }

  .lecture { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; padding: 30px 32px; }
  .lecture .button { grid-column: auto; margin-top: 0; }
  .play-disc { width: 72px; height: 72px; }
  .play-disc::before { border-width: 12px 0 12px 18px; margin-left: 6px; }
  .footer { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; padding: 40px var(--pad) 32px; }
  .footer-logo { grid-column: auto; }
  .footer a { font-size: 15px; }
  .footer-details { margin-top: 4px; }
}

@media (min-width: 880px) {
  /* desktop opens on the three strongest reviews: О7, О13, О10 */
  .review-track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; }
}

/* =====================================================================
   ≥ 1024 · desktop
   ===================================================================== */
@media (min-width: 1024px) {
  :root {
    --pad: clamp(48px, 5vw, 72px);
    --gap: clamp(104px, 9vw, 136px);
    --pause: clamp(136px, 11.5vw, 176px);
  }
  body { font-size: 20px; }
  .shell { width: min(1280px, calc(100% - 96px)); }
  h1 { font-size: clamp(88px, 7.8vw, 110px); }
  h2 { font-size: clamp(56px, 4.6vw, 64px); }
  .lead { font-size: clamp(26px, 2.1vw, 30px); }
  .header { padding-inline: 7px 8px; }

  /* hero: editorial type left; figure + photo-booth right, each with room */
  .hero {
    --fig: clamp(104px, 10vw, 136px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "copy art" "outcome art";
    column-gap: clamp(40px, 4.4vw, 64px);
    row-gap: 32px;
    min-height: min(860px, calc(100vh - 160px));
    min-height: min(860px, calc(100svh - 160px));
    padding: var(--pad);
    border-radius: 40px;
  }
  .hero-lead { margin-top: 26px; font-size: clamp(26px, 2.1vw, 30px); }
  .hero-symbol { grid-area: art; justify-self: start; align-self: start; }
  /* art box never enters the figure's clear zone: 1.32 × figure width */
  .hero-art {
    align-self: center;
    justify-self: end;
    width: min(392px, calc(100% - var(--fig) * 1.32));
    padding: 48px 34px 58px 16px;
  }
  .hero-outcome { align-self: end; }
  .hero-outcome p { max-width: 36ch; font-size: 20px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .hero-actions .button { width: auto; padding-inline: 22px 18px; }
  .start-tag { left: -40px; }
  .start-tape { left: 32px; width: 78px; }

  .chat-grid { gap: 26px 28px; margin-top: 44px; }
  .chat-bubble { padding: 18px 28px 20px 16px; }
  .chat-bubble p { font-size: 19px; }
  .chat-bubble--1 { grid-column: 1 / 6; }
  .chat-bubble--2 { grid-column: 7 / 12; margin-top: 34px; }
  .chat-bubble--3 { grid-column: 2 / 7; }
  .chat-bubble--4 { grid-column: 8 / 13; margin-top: 30px; }
  .chat-bubble--5 { grid-column: 4 / 10; }

  .audience {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: 64px;
    align-items: start;
    padding-block: var(--pad);
  }
  .audience-list li { gap: 18px; padding-block: 16px; }
  .check-dot { width: 30px; height: 30px; }

  .format-grid { margin-top: 36px; }
  .format-card h3 { font-size: 24px; }

  .month-grid { gap: 28px; margin-top: 52px; }
  .month-tile { min-height: 320px; padding: 26px 26px 28px; border-radius: 32px; }
  .month-arrow { top: 24px; right: 24px; width: 52px; height: 52px; }
  .month-fastener { top: -34px; width: 68px; }
  .month-tile--january .month-fastener { top: -26px; width: 32px; }
  .month-tile--february .month-fastener { top: -20px; width: 44px; }

  .author-grid { gap: 40px; margin-top: 40px; }
  .profile { padding: 40px; }
  .profile-top { gap: 26px; }
  .profile-top img { width: 140px; height: 140px; }
  .profile-top a { font-size: 24px; }
  .profile h3 { font-size: 44px; }
  .author-note { padding: 48px 44px 40px; }
  .note-tape { top: -22px; width: 136px; left: calc(50% - 68px); }
  .note-phrase { font-size: clamp(42px, 4vw, 56px); }
  .author-quote { font-size: 19px; }

  .reviews { padding: 48px 44px 40px; }
  .review-card { padding: 10px; border-radius: 22px; }
  .review-image { border-radius: 13px; }

  .tariffs { padding-block: var(--pad); }
  .tariffs .lead { margin-top: 16px; }
  .price-grid { gap: 28px; margin-top: 40px; }
  .price-card { padding: 34px 32px 28px; border-radius: 34px; }
  .price-card h3 { font-size: 34px; }
  .price-amount span { font-size: clamp(56px, 5vw, 72px); }
  .price-amount s { font-size: 24px; }
  .check-row { font-size: 17px; }

  .lecture { max-width: 1040px; margin-inline: auto; padding: 36px 40px; gap: 32px; }
  .lecture h2 { font-size: 56px; }
  .play-disc { width: 84px; height: 84px; }

  .faq {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: 64px;
    align-items: start;
  }
  .faq .accordion { margin-top: 0; }
  .accordion summary { min-height: 76px; font-size: 26px; }
  .accordion summary::after { width: 44px; height: 44px; }

  .final-card { padding-block: 72px 64px; }
  .final-logo { width: 92px; }

  .footer h2 { font-size: 24px; }
  .footer-details { font-size: 15px; }
}

/* seven formats in a single strip */
@media (min-width: 1120px) {
  .format-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
  .format-card:last-child { grid-column: auto; }
}

@media (max-width: 359px) {
  .header { gap: 6px; }
  .brand-short { gap: 7px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark img { width: 25px; }
  .header-actions .button { padding-inline: 12px; }
  .header-actions .button span { display: none; }
  .menu-toggle { width: 44px; height: 44px; }
}
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
  .accordion details { interpolate-size: allow-keywords; }
  .accordion details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .26s ease, content-visibility .26s allow-discrete;
  }
  .accordion details[open]::details-content { block-size: auto; }
}
@media (forced-colors: active) {
  .check-row input { -webkit-appearance: auto; appearance: auto; }
  .check-row input::before { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .accordion details::details-content { transition: none; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
