/* Colours are the Cookday app's tokens (app/src/ui/tokens.ts), so the page
   and the app read as one brand. */

@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-cyrillic.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-cyrillic-italic.woff2') format('woff2');
  font-weight: 400 700; font-style: italic; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-cyrillic.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2B2135;
  --ink2: #5D5566;
  --paper: #F3F5F1;
  --surface: #FFFFFF;
  --muted: #ECEEE9;
  --line: #E3E6DF;
  --yolk: #F5B83D;
  --yolk-soft: #FDF0D2;
  --heat: #B26A00;
  --basil: #2E7A4E;
  --basil-soft: #E4F1E8;
  --plan-soft: #E1EBF4;
  --plan-ink: #314F72;
  --on-ink-2: #CFC8D8;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  --shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(43, 33, 53, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html.consent-open { scroll-padding-bottom: 270px; }
#main:focus { outline: none; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; margin-bottom: .5em; }
h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; }
p, li { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.final :focus-visible, .foot :focus-visible { outline-color: var(--yolk); }
.sec--basil :focus-visible, .cred :focus-visible { outline-color: #fff; }
html:not(.js) .period, html:not(.js) .plan__price, html:not(.js) .plan__note { display: none; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; }

.sub, .hint { color: var(--ink2); }
.sub { font-size: 1.125rem; max-width: 56ch; margin-bottom: 2.5rem; }
.hint { font-size: .9375rem; margin-top: .9em; }

/* Buttons: the app's 52 pt height and 14 pt radius */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 14px;
  font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--wide { width: 100%; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #3d3049; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--surface); }
.btn--yolk { background: var(--yolk); color: var(--ink); }
.btn--yolk:hover { background: #f7c45f; }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--light:hover { border-color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 245, 241, .88);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { font: 600 1.25rem/1 var(--serif); text-decoration: none; margin-right: auto; }
.nav { display: none; gap: 26px; font-size: .9375rem; }
.nav a { text-decoration: none; color: var(--ink2); }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(24px, 5vw, 64px) 0 var(--sec); }
.hero__in { display: grid; gap: 40px; align-items: center; }
.hero__who { color: var(--ink2); font-size: 1rem; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 1.03; letter-spacing: -0.025em; margin-bottom: .45em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 28px; margin-top: 2rem; }
.btn--big { min-height: 60px; padding: 0 36px; font-size: 1.125rem; }
.hero__trial { margin: 8px 0 0; font-size: .9375rem; color: var(--basil); font-weight: 500; text-align: center; }
.hero__plans { align-self: center; margin-bottom: 26px; color: var(--ink); font-weight: 500; text-underline-offset: 4px; }

/* Full-width banner */
.hero { padding: 0 0 var(--sec); }
.stage { position: relative; }
.stage__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 30%; }
.stage .stage__note { left: auto; right: 14px; top: 14px; }
.stage__text { padding-top: 32px; }
.join { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.join__t { margin: 0 6px 0 0; font-weight: 500; }
.join__i { display: block; width: 44px; height: 44px; border-radius: 12px; transition: transform .15s ease; }
.join__i svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(43, 33, 53, .18)); }
.join__i:hover { transform: translateY(-2px); }

/* Free PDF strip under the hero */
.gift {
  position: relative; z-index: 2;
  display: grid; gap: 20px; align-items: center; margin-top: clamp(40px, 6vw, 72px);
  padding: 22px; background: var(--surface); border-radius: 26px; box-shadow: var(--shadow);
}
.gift__ph { display: flex; }
.gift__ph img { width: 76px; height: 76px; object-fit: cover; border-radius: 16px; border: 3px solid var(--surface); }
.gift__ph img + img { margin-left: -18px; }
.gift h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .3em; }
.gift__text p { margin: 0; color: var(--ink2); max-width: 46ch; }
.gift__cta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px; }
.gift__cta .hint { flex-basis: 100%; margin: 0; font-size: .8125rem; }
.app-i { display: grid; justify-items: center; gap: 6px; text-decoration: none; font-size: .8125rem; color: var(--ink2); }
.app-i svg { width: 60px; height: 60px; filter: drop-shadow(0 8px 14px rgba(43, 33, 53, .2)); transition: transform .15s ease; }
.app-i:hover svg { transform: translateY(-2px); }

.banner { position: relative; margin: 0; }
.banner img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%;
  border-radius: 28px; background: var(--muted);
}
.ph-note {
  position: absolute; left: 14px; top: 14px;
  background: rgba(255, 255, 255, .92); color: var(--ink2);
  font-size: .75rem; padding: 3px 10px; border-radius: 999px;
}

/* Sections */
.sec { padding: var(--sec) 0; }
.sec--surface { background: var(--surface); }
.sec--yolk { background: var(--yolk-soft); }

/* Знакомо? */
.pains { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
.pains li { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pains__q { font: italic 500 clamp(1.4rem, 2.6vw, 1.9rem)/1.25 var(--serif); margin: 0; }
.pains__a { color: var(--ink2); margin: 0; max-width: 44ch; }

/* Обо мне */
.about { display: grid; gap: 40px; align-items: center; }
.about__ph { position: relative; margin: 0; }
.about__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 30%; border-radius: 28px; }
.about__motto { font: italic 500 clamp(1.35rem, 2.4vw, 1.75rem)/1.3 var(--serif); max-width: 26ch; }
.about__text p { max-width: 56ch; font-size: 1.125rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2rem 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.facts dt { color: var(--ink2); font-size: .9375rem; line-height: 1.35; }
.facts dd { margin: 0 0 6px; font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--serif); color: var(--basil); }
.creds { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.cred { padding: 28px; background: var(--basil); color: #fff; border-radius: 22px; }
.cred h3 { font: 600 1.35rem/1.25 var(--serif); margin-bottom: 12px; }
.cred p { margin: 0; color: #fff; }
.cred ul { display: grid; gap: 6px; color: #fff; }
.cred li { position: relative; padding-left: 18px; }
.cred li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--yolk); }
.cred__more { margin-top: 16px; padding: 0; border: 0; background: none; color: #fff; font: 600 .9375rem var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: zoom-in; }
.viewer__ph {
  display: grid; place-items: center; aspect-ratio: 3 / 4;
  background: var(--paper); border: 1.5px dashed #C9CCC4; border-radius: 12px;
  color: var(--ink2); text-align: center; padding: 8px;
}

.docs__h { margin: clamp(40px, 5vw, 56px) 0 14px; font: 500 1rem/1.3 var(--sans); color: var(--ink2); }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; }
.doc { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: zoom-in; }
.doc img {
  width: 100%; aspect-ratio: 800 / 566; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform .2s ease;
}
.doc:hover img { transform: translateY(-3px) rotate(-.6deg); }
.doc span { display: block; margin-top: 8px; font-size: .8125rem; line-height: 1.35; color: var(--ink2); }
.viewer { width: min(900px, 94vw); }
.viewer__img { width: 100%; height: auto; margin-bottom: 16px; border-radius: 8px; }
@media (max-width: 759px) {
  .docs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .docs li { scroll-snap-align: start; }
}

/* Клуб для вас, если */
.fit { display: grid; gap: 14px; margin-top: 1.5rem; }
.fit li { padding: 26px 26px 22px; background: var(--basil-soft); border-radius: 22px; }
.fit h3 { font: 600 1.3rem/1.25 var(--serif); margin-bottom: 8px; }
.fit p { margin: 0; color: var(--ink2); }

/* Знакомо? + the 9-container box, the page's one bold element */
.pain { display: grid; gap: 48px; align-items: center; }

/* Результаты */
.ba {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 330px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.ba__item { scroll-snap-align: start; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba__ph {
  display: grid; place-items: end start; aspect-ratio: 3 / 4; padding: 10px 12px;
  background: var(--muted); border: 1.5px dashed #C9CCC4; color: var(--ink2); font-size: .875rem;
}
.ba__ph:first-child { border-radius: 16px 4px 4px 16px; }
.ba__ph:last-child { border-radius: 4px 16px 16px 4px; }
.ba__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.ba__name { margin: 0; font: 600 1.15rem/1.25 var(--serif); }
.ba__stats { margin: 0; text-align: right; font-size: .875rem; line-height: 1.35; color: var(--basil); font-weight: 600; }
.ba__quote { margin: 12px 0 0; color: var(--ink2); font-size: .9375rem; }

.chat { display: grid; gap: 14px; margin-top: 56px; }
.msg {
  margin: 0; max-width: 40ch; padding: 14px 18px 10px;
  background: var(--basil-soft); border-radius: 20px 20px 20px 6px;
}
.msg:nth-child(2) { justify-self: end; border-radius: 20px 20px 6px 20px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.msg blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.msg figcaption { margin-top: 6px; font-size: .8125rem; color: var(--ink2); text-align: right; }

.box { margin: 0; }
.box__grid {
  display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 8px; align-items: center;
  padding: 14px; background: var(--surface); border-radius: 30px; box-shadow: var(--shadow);
}
.box__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--muted); }
.box__h { font-size: .8125rem; color: var(--ink2); padding: 0 2px 2px; }
.box__d {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .8125rem; color: var(--ink2); white-space: nowrap;
}
.box__cap { margin-top: 14px; color: var(--ink2); font-size: .9375rem; }
.js .box__grid img { opacity: 0; transform: translateY(6px) scale(.97); }
.js .box.is-in .box__grid img { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .box__grid img { opacity: 1; transform: none; }
}

/* Как устроен клуб: a real sequence, so numbered */
.steps { counter-reset: step; display: grid; gap: 32px; margin-top: 2rem; }
.steps li { counter-increment: step; display: grid; align-content: start; grid-template-columns: 48px 1fr; column-gap: 18px; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yolk); font: 600 1.375rem/1 var(--serif);
}
.steps h3 { min-height: 48px; display: flex; align-items: center; }
.steps p { color: var(--ink2); margin: 2px 0 0; max-width: 36ch; }

/* Бесплатно: соцсети */
.sec--basil { background: var(--basil); color: #fff; }
.free { display: grid; gap: 40px; align-items: center; }
.free__text > p { color: #fff; font-size: 1.125rem; max-width: 44ch; }
.chan { margin-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.chan li { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.chan a { display: grid; gap: 2px; padding: 16px 40px 16px 0; text-decoration: none; position: relative; }
.chan a::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border: solid #fff; border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.chan b { font: 600 1.25rem/1.25 var(--serif); }
.chan span { color: #fff; font-size: .9375rem; }
.chan a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.apps { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 2rem; }
.app-i--light { color: #fff; font-size: .9375rem; }
.app-i--light svg { width: 72px; height: 72px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
.free__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.free__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }

/* Приложение */
.app { display: grid; gap: 56px; align-items: center; }
.badge {
  display: inline-block; margin-bottom: 1.1rem; padding: 6px 14px; border-radius: 999px;
  background: var(--basil-soft); color: var(--basil); font-size: .875rem; font-weight: 500;
}
.app__text h2 { margin-bottom: .7em; }
.family { margin-top: 1.75rem; padding: 18px 20px; background: var(--paper); border-radius: 16px; max-width: 48ch; }

.phone {
  justify-self: center; width: min(310px, 82vw);
  padding: 10px; background: var(--ink); border-radius: 46px;
  box-shadow: 0 40px 80px -40px rgba(43, 33, 53, .55);
}
.phone__screen {
  height: 540px; overflow: hidden; border-radius: 37px; background: var(--paper);
  padding: 0 14px; font-family: system-ui, -apple-system, Roboto, sans-serif; font-size: 13px; line-height: 1.35;
}
.phone__bar { padding: 14px 8px 6px; font-size: 12px; font-weight: 600; }
.phone__title { margin: 6px 4px 12px; font-size: 22px; font-weight: 700; }
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-bottom: 12px; }
.band__d { display: grid; justify-items: center; gap: 1px; padding: 7px 0 8px; border-radius: 10px; }
.band__d span { font-size: 11px; color: var(--ink2); }
.band__d b { font-size: 15px; }
.band__d--cook { background: var(--yolk); }
.band__d--cook span { color: var(--ink); }
.band__d--eat { background: var(--basil-soft); }
.pot { position: relative; display: block; width: 14px; height: 8px; margin-top: 3px; background: var(--ink); border-radius: 0 0 4px 4px; }
.pot::before { content: ''; position: absolute; left: -2px; right: -2px; top: -3px; height: 2px; background: var(--ink); border-radius: 2px; }
.rcard { background: var(--surface); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.rcard__h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.tagp { padding: 3px 7px; border-radius: 8px; background: var(--plan-soft); color: var(--plan-ink); font-size: 12px; }
.rcard__ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.rcard__ph div { position: relative; }
.rcard__ph img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.slot { position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 6px; background: rgba(255, 255, 255, .92); font-size: 10px; }
.rcard__d { margin: 8px 0 8px; color: var(--ink2); font-size: 12px; }
.rcard__tag { display: inline-block; margin: 0; padding: 3px 9px; border-radius: 8px; background: var(--yolk); font-size: 11px; font-weight: 600; }
.rcard--muted img { opacity: .9; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ''; position: absolute; left: 3px; top: .38em;
  width: 7px; height: 12px; border: solid var(--basil); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.ticks b { font-weight: 600; }

/* Цены */
.period {
  display: inline-flex; gap: 4px; padding: 4px; margin: 1rem 0 2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.period button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: none;
  font: 500 1rem/1.2 var(--sans); color: var(--ink2); cursor: pointer;
}
.period button[aria-checked='true'] { background: var(--ink); color: #fff; }
.period__gift { display: block; font-size: .75rem; font-weight: 500; color: var(--basil); }
.period button[aria-checked='true'] .period__gift { color: var(--yolk); }
.plans { display: grid; gap: 32px 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
}
.plan--pro { position: relative; background: var(--yolk-soft); border: 2px solid var(--yolk); }
.plan__badge {
  position: absolute; top: -15px; left: 26px; margin: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--yolk); font-size: .875rem; font-weight: 600;
}
.plan__t { font: 600 1.6rem/1.2 var(--serif); }
.plan__price { margin: 14px 0 2px; font: 600 clamp(2.6rem, 5vw, 3.4rem)/1 var(--serif); letter-spacing: -0.02em; }
.plan__price small { font: 400 1rem var(--sans); color: var(--ink2); letter-spacing: 0; margin-left: 4px; }
.plan__note { color: var(--ink2); font-size: .9375rem; min-height: 3em; }
.plan .ticks { margin: 8px 0 28px; }
.plan .btn { margin-top: auto; }
.trial {
  display: grid; gap: 18px; align-items: center; max-width: 960px; margin-top: 20px; padding: 26px 28px;
  background: var(--paper); border: 2px dashed var(--yolk); border-radius: 24px;
}
.trial h3 { font: 600 1.35rem/1.3 var(--serif); margin-bottom: 6px; }
.trial p { margin: 0; color: var(--ink2); max-width: 52ch; }
#prices > .wrap > .hint { max-width: 60ch; margin-top: 1.5rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0; font: 600 clamp(1.15rem, 2vw, 1.35rem)/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); max-width: 62ch; margin: -4px 0 22px; }
.faq__more { margin-top: 2rem; }

/* Final + footer */
.final { background: var(--ink); color: #fff; padding: var(--sec) 0; text-align: center; }
.final h2 { max-width: 18ch; margin: 0 auto .9em; }
.final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.foot { background: var(--ink); color: var(--on-ink-2); padding: 28px 0 40px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9375rem; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot__name { margin: 0; color: #fff; font-family: var(--serif); font-weight: 600; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-right: auto; }

/* Mobile pinned bar */
.stick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 245, 241, .94); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* Consent */
.consent {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
  max-width: 440px; padding: 20px 20px 18px;
  background: var(--surface); border-radius: 20px; box-shadow: 0 20px 50px -20px rgba(43, 33, 53, .45), 0 0 0 1px var(--line);
  font-size: .9375rem; color: var(--ink2);
}
.consent__t { font: 600 1.125rem/1.3 var(--serif); color: var(--ink); margin-bottom: .5em; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Certificate viewer */
.viewer { width: min(560px, 92vw); padding: 20px; border: 0; border-radius: 20px; }
.viewer::backdrop { background: rgba(43, 33, 53, .6); }
.viewer__ph { margin-bottom: 16px; font-size: 1rem; }
.viewer form { display: flex; justify-content: flex-end; }

/* ≥ 760 px */
@media (min-width: 760px) {
  .hero__in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .chat { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .msg:nth-child(2) { justify-self: auto; margin-top: 40px; }
  .gift { grid-template-columns: auto 1fr auto; gap: 28px; padding: 22px 28px; }
  .gift__cta { width: 220px; }
  .fit { grid-template-columns: 1fr 1fr; }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .pains { grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 0; }
  .pains li { border-bottom: 0; border-top: 1px solid var(--line); grid-row: span 2; grid-template-rows: subgrid; row-gap: 12px; }
  .free { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .trial { grid-template-columns: 1fr auto; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; row-gap: 10px; }
  .steps li::before { grid-row: auto; }
  .steps h3 { min-height: 0; }
  .app { grid-template-columns: .8fr 1.2fr; }
  .plans { grid-template-columns: 1fr 1fr; max-width: 960px; }
  .stick { display: none; }
}
@media (min-width: 900px) {
  .stage { min-height: max(600px, 42.4vw); display: flex; align-items: center; overflow: hidden; }
  .stage h1 { font-size: clamp(2.8rem, 4.4vw, 4.4rem); }
  .stage__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 75% 50%; }
  .stage::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(243, 245, 241, .97) 0%, rgba(243, 245, 241, .92) 34%, rgba(243, 245, 241, .55) 52%, rgba(243, 245, 241, 0) 66%);
  }
  .stage__in { position: relative; z-index: 2; width: 100%; }
  .stage__text { max-width: 620px; padding: 40px 0 48px; }
  .stage__note { z-index: 3; }
  .gift { margin-top: 40px; }
}
@media (min-width: 1000px) {
  .nav { display: flex; }
  .about { grid-template-columns: .8fr 1.2fr; gap: 72px; }
}
@media (max-width: 759px) {
  .top .btn { display: none; }
  .hero__main, .hero__main .btn, .gift__cta .btn { flex: 1 1 100%; width: 100%; }
  .hero__plans { margin: 0 auto; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .facts div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; }
  .facts dd { margin: 0; min-width: 4.2em; }
  html.has-stick { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .has-stick body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
