/* Fit Vegan — "Вкусна Коледа" landing. Mobile-first; all colors come from :root tokens. */
:root {
  /* Brand palette (docs/brand.md) */
  --cream: #F0EDE6;
  --sand: #D7C8B3;
  --clay: #AE8569;
  --walnut: #77553C;
  --sage: #676D51;
  --ink: #3A2A1E;
  --white: #FFFFFF;
  --bg: #FFFFFF; /* page background (round 2: whole site white) */

  /* Derived shades */
  --ink-soft: #5E4A3B;
  --walnut-deep: #5C412E;
  --sage-deep: #4F543E;
  --sage-soft: #8C9270;
  --sage-light: #E3E5DA;
  --sand-light: #E6DCCD;
  --device: #1E1A17;

  /* Tints derived from the palette */
  --walnut-08: rgba(119, 85, 60, .08);
  --walnut-12: rgba(119, 85, 60, .12);
  --walnut-18: rgba(119, 85, 60, .18);
  --walnut-45: rgba(119, 85, 60, .45);
  --sage-55: rgba(103, 109, 81, .55);
  --clay-25: rgba(174, 133, 105, .25);
  --clay-35: rgba(174, 133, 105, .35);
  --ink-35: rgba(58, 42, 30, .35);
  --ink-50: rgba(58, 42, 30, .5);
  --ink-60: rgba(58, 42, 30, .6);
  --cream-0: rgba(240, 237, 230, 0);
  --cream-30: rgba(240, 237, 230, .3);
  --cream-50: rgba(240, 237, 230, .5);
  --white-06: rgba(255, 255, 255, .06);
  --white-10: rgba(255, 255, 255, .1);
  --white-14: rgba(255, 255, 255, .14);
  --white-25: rgba(255, 255, 255, .25);
  --white-50: rgba(255, 255, 255, .5);
  --white-88: rgba(255, 255, 255, .88);
  --white-95: rgba(255, 255, 255, .95);
  --white-92: rgba(255, 255, 255, .92);

  --radius-lg: 24px;
  --radius: 16px;
  --wrap: 1180px;
  --serif: "Lora", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --script: "Marck Script", cursive;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: clamp(16px, .95rem + .15vw, 17px); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--walnut); outline-offset: 3px; border-radius: 6px; }
.strip :focus-visible, .story :focus-visible, .final :focus-visible { outline-color: var(--cream); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--walnut); letter-spacing: -.005em; overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.16; letter-spacing: -.012em; }
h3 { font-size: 21px; line-height: 1.25; }
p { max-width: 62ch; }
.lead { font-size: clamp(17px, 1rem + .3vw, 19px); color: var(--ink-soft); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.pt-0 { padding-top: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sage); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
.ph-note { font-size: 12px; line-height: 1.3; background: var(--white-88); color: var(--ink-soft); padding: 5px 9px; border-radius: 8px; border: 1px dashed var(--walnut-45); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.3; text-align: center; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 16px 28px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn-primary { background: var(--sage); color: var(--white); box-shadow: 0 10px 30px -10px var(--sage-55); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--walnut-deep); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--sage-deep); padding: 16px 8px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { flex: none; color: var(--sage); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: var(--white-92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--walnut-08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 48px; width: auto; }
.nav-links { display: none; gap: 28px; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--sage-deep); }
.nav .btn { display: none; padding: 12px 22px; font-size: 15px; margin-left: auto; }
/* Burger (below 981px): the same links drop down under the sticky bar */
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.nav .btn + .nav-toggle { margin-left: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 16px 14px; background: var(--white); border-bottom: 1px solid var(--walnut-12); box-shadow: 0 14px 28px var(--walnut-12); font-size: 17px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--walnut-08); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* Hero */
.hero { padding: 28px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -12%; top: -20%; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--sand) 0%, var(--cream-0) 68%); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero-script { font-family: var(--script); color: var(--walnut); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin-bottom: 14px; display: block; }
.hero h1 { font-size: clamp(32px, 5vw, 62px); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

/* Bundle visual */
.bundle { position: relative; height: 420px; width: 100%; max-width: 520px; margin: 0 auto; perspective: 1600px; }
.book { position: absolute; left: 4%; top: 30px; width: 210px; height: 280px; transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.book-cover { position: absolute; inset: 0; border-radius: 4px 14px 14px 4px; background: radial-gradient(120% 80% at 80% 0%, var(--clay-35), transparent 60%), linear-gradient(160deg, var(--walnut) 0%, var(--walnut-deep) 70%); box-shadow: inset 6px 0 10px var(--ink-35), 30px 40px 60px -20px var(--walnut-45); padding: 26px 20px; color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.book-cover::after { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--white-14); }
.bc-small { font-size: 11px; letter-spacing: .3em; color: var(--sand); font-weight: 700; }
.bc-title { font-family: var(--script); font-size: 44px; line-height: .95; color: var(--cream); }
.bc-sub { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--sand); }
.bc-star { position: absolute; right: -30px; bottom: -30px; width: 180px; height: 180px; opacity: .18; color: var(--cream); }
.book-pages { position: absolute; top: 6px; bottom: 6px; right: -16px; width: 18px; background: repeating-linear-gradient(90deg, var(--white) 0 2px, var(--sand-light) 2px 3px); transform: rotateY(90deg) translateZ(-2px); transform-origin: left; }
.tablet { position: absolute; right: 0; top: 0; width: 170px; height: 230px; border-radius: 22px; background: var(--device); padding: 10px; box-shadow: 0 30px 60px -24px var(--sage-55); transform: rotate(6deg); }
.tablet .screen { width: 100%; height: 100%; border-radius: 14px; background: var(--white); padding: 18px 14px; overflow: hidden; }
.s-tag { font-size: 10px; font-weight: 700; color: var(--clay); letter-spacing: .2em; }
.s-h { font-family: var(--serif); font-size: 16px; color: var(--walnut); margin: 8px 0 12px; line-height: 1.15; }
.s-img { height: 60px; border-radius: 10px; background: linear-gradient(135deg, var(--clay), var(--walnut) 70%); margin-bottom: 12px; }
.s-line { height: 7px; border-radius: 4px; background: var(--sand-light); margin: 7px 0; }
.s-line.short { width: 60%; }
.phone { position: absolute; right: -2%; bottom: 0; width: 120px; height: 240px; border-radius: 30px; background: var(--device); padding: 8px; box-shadow: 0 30px 60px -20px var(--ink-60); transform: rotate(-5deg); }
.phone .screen { position: relative; height: 100%; border-radius: 23px; background: linear-gradient(170deg, var(--sage-soft), var(--sage-deep)); display: flex; flex-direction: column; justify-content: flex-end; }
.play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--white-95); display: grid; place-items: center; color: var(--sage-deep); }
.p-cap { display: none; padding: 14px; color: var(--cream); font-size: 12px; line-height: 1.3; }
.p-cap b { display: block; font-family: var(--serif); font-size: 15px; font-weight: 600; }
.p-bar { height: 3px; background: var(--white-25); margin: 8px 14px 16px; border-radius: 2px; overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 42%; background: var(--sand); }
.chip { position: absolute; background: var(--white); border-radius: 999px; padding: 8px 12px 8px 8px; font-size: 12px; font-weight: 700; color: var(--walnut-deep); display: flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px -14px var(--ink-35); white-space: nowrap; }
.chip .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--white); font-size: 12px; }
.chip-1 { left: 0; top: 300px; }
.chip-2 { right: 0; top: 20px; }
.chip-3 { left: 0; top: 348px; }
@keyframes float { 0%, 100% { transform: rotateY(-22deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-22deg) rotateX(4deg) translateY(-10px); } }

/* Strip */
.strip { background: var(--sage); color: var(--cream); padding: 20px 0; overflow: hidden; }
.strip-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; font-family: var(--serif); font-size: 19px; font-style: italic; }
.strip-track span { display: inline-flex; align-items: center; gap: 48px; }
.strip-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pain */
.pain .wrap { display: grid; gap: 36px; align-items: start; }
.pain-list { display: grid; gap: 16px; }
.pain-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--walnut-08); }
.pain-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--walnut); }
.pain-answer { margin-top: 22px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.35; color: var(--sage-deep); font-style: italic; max-width: 30ch; }

/* Story */
.story { background: var(--sage); color: var(--cream); }
.story h2 { color: var(--white); }
.story .wrap { display: grid; gap: 40px; align-items: center; }
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, transparent 40%, var(--ink-60)), radial-gradient(90% 70% at 30% 20%, var(--sage-soft), var(--sage-deep) 70%); aspect-ratio: 4 / 5; max-width: 480px; display: flex; align-items: flex-end; padding: 24px; }
.photo .ph-note { position: absolute; top: 16px; left: 16px; right: 16px; width: fit-content; }
.photo blockquote { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; font-style: italic; color: var(--white); }
.photo cite { display: block; margin-top: 12px; font-family: var(--script); font-style: normal; font-size: 26px; color: var(--sand); }
.story-video { width: 100%; max-width: min(300px, 82vw); margin: 0 auto; }
.sv-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-deep); box-shadow: 0 40px 70px -40px var(--ink-60); }
.sv-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sv-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border: 0; border-radius: 50%; background: var(--white-88); color: var(--walnut); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px var(--white-06); transition: transform .2s ease; }
.sv-play svg { margin-left: 4px; }
.sv-play:hover { transform: scale(1.06); }
.sv-play[hidden], .story-video.is-playing .sv-play { display: none; }
.story-video blockquote { margin-top: 22px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; font-style: italic; color: var(--white); }
.story-video cite { display: block; margin-top: 10px; font-family: var(--script); font-style: normal; font-size: 26px; color: var(--sand); }
.story .lead { color: var(--cream); margin: 18px 0 34px; }
.timeline { list-style: none; position: relative; display: grid; gap: 24px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sand), var(--white-14)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sage); border: 3px solid var(--sand); }
.timeline li:last-child::before { background: var(--sand); }
.timeline .yr { font-family: var(--serif); font-size: 20px; color: var(--cream); font-weight: 600; }
.timeline p { color: var(--cream); font-size: 16.5px; }
.disclaimer { margin-top: 30px; font-size: 13px; color: var(--cream); }

/* Why */
.why-head { display: grid; gap: 28px; align-items: start; margin-bottom: 48px; }
.letter { font-size: 18px; color: var(--ink-soft); }
.letter p + p { margin-top: 14px; }
.sign { font-family: var(--script); font-size: 34px; color: var(--sage-deep); margin-top: 10px; }
.benefits { display: grid; gap: 1px; background: var(--walnut-12); border-radius: var(--radius-lg); overflow: hidden; }
.benefit { background: var(--bg); padding: 30px 22px; }
.benefit svg { margin-bottom: 18px; color: var(--walnut); }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--ink-soft); font-size: 16px; }
.pairs { display: grid; gap: 16px; margin-top: 48px; }
.pair { border-radius: var(--radius); background: var(--sand-light); padding: 22px; }
.pair .from { font-size: 14px; color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--clay); }
.pair .to { font-family: var(--serif); font-size: 20px; color: var(--walnut-deep); margin-top: 6px; line-height: 1.25; }

/* For you */
.foryou { background: var(--sand); border-radius: var(--radius-lg); padding: 32px 20px; display: grid; gap: 28px; align-items: center; }
.foryou h2 { color: var(--walnut-deep); }
.foryou ul { list-style: none; display: grid; gap: 14px; }
.foryou li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 17px; font-weight: 500; color: var(--ink); }
.foryou li svg { margin-top: 3px; color: var(--walnut-deep); }

/* Section head */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head p { max-width: 52ch; }

/* Inside the book */
.chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.chapter { background: var(--cream); border-radius: var(--radius); padding: 22px 18px; border: 1px solid var(--walnut-08); display: flex; flex-direction: column; gap: 6px; }
.chapter b { font-family: var(--serif); font-size: 42px; line-height: 1; color: var(--sage); }
.chapter h3 { font-size: 19px; }
.chapter p { font-size: 14.5px; color: var(--ink-soft); }
.total-line { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
.total-line strong { color: var(--walnut-deep); }

.anatomy { display: grid; gap: 40px; align-items: center; margin-top: clamp(64px, 8vw, 96px); }
.anatomy h3 { font-size: clamp(24px, 3vw, 36px); }
.page-mock { position: relative; background: var(--white); border: 1px solid var(--walnut-12); border-radius: 20px; padding: 20px 20px 88px; box-shadow: 0 40px 70px -40px var(--walnut-45); }
.pm-img { height: 160px; border-radius: 12px; position: relative; background: var(--sand-light); }
.pm-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.pm-title { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--walnut); margin: 18px 0 8px; }
.pm-meta { position: relative; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding-right: 36px; }
.pm-meta span:not(.pin) { font-size: 12px; font-weight: 700; background: var(--cream); color: var(--sage-deep); border-radius: 999px; padding: 5px 10px; }
.pm-cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; font-size: 11.5px; line-height: 1.45; color: var(--ink-soft); }
.pm-col { position: relative; }
.pm-col b { display: block; font-size: 12px; color: var(--walnut-deep); margin-bottom: 6px; }
.pm-col ul, .pm-col ol { padding-left: 14px; display: grid; gap: 3px; }
.pm-col ul { list-style: disc; }
.pm-qr { position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 8px; background: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 13px 13px; border: 5px solid var(--white); outline: 1px solid var(--walnut-12); }
.pin { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--white); font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--clay-25); font-family: var(--sans); }
.pm-img .pin { top: 10px; right: 10px; background: var(--walnut); }
.pm-meta .pin { top: -2px; right: 0; }
.pm-col .pin { left: -16px; top: -26px; width: 24px; height: 24px; font-size: 12px; }
.pm-qr .pin { left: -22px; top: -22px; }
.anatomy-list { list-style: none; display: none; gap: 18px; margin-top: 26px; } /* desktop legend: shown at ≥981px */
.anatomy-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.anatomy-list .pin { position: static; box-shadow: none; }
.anatomy-list b { display: block; font-family: var(--serif); font-size: 19px; color: var(--walnut); font-weight: 600; line-height: 1.3; }
.anatomy-list span:not(.pin) { color: var(--ink-soft); font-size: 16px; }
/* ≤980px: the pinned mock + legend become annotated cards (book-page slice, then its numbered caption) */
.anatomy .page-mock { display: none; }
.anatomy-steps { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.as-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; background: var(--white); border: 1px solid var(--walnut-12); border-radius: 18px; padding: 14px; box-shadow: 0 28px 50px -38px var(--walnut-45); }
.as-slice { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; min-width: 0; overflow: hidden; background: var(--cream); border: 1px dashed var(--walnut-18); border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.as-card-1 .as-slice { padding: 8px; }
.as-slice .pm-img { height: auto; border-radius: 8px; }
.as-slice .pm-img img { aspect-ratio: 16 / 10; height: auto; border-radius: 8px; }
.as-slice .pm-title { font-size: clamp(18px, 4.6vw, 21px); margin: 0 0 10px; }
.as-slice .pm-meta { padding-right: 0; margin-bottom: 0; }
.as-slice .pm-meta span { background: var(--white); }
.as-slice .pm-col b { font-size: 13px; }
.as-slice .pm-col ul, .as-slice .pm-col ol { gap: 4px; padding-left: 18px; }
.as-card-4 .as-slice { justify-content: flex-start; max-height: 196px; }
.as-card-4 .as-slice::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(var(--cream-0), var(--cream) 85%); }
.as-card-5 { flex-direction: row; align-items: center; }
.as-card-5 .as-slice { flex: none; align-items: center; padding: 10px 12px; }
.as-qr { display: grid; justify-items: center; gap: 6px; }
.as-qr-code { display: block; width: 84px; height: 84px; fill: var(--ink); border-radius: 6px; }
.as-qr-bg { fill: var(--white); }
.as-qr-hint { font-size: 12px; font-weight: 700; line-height: 1; color: var(--sage-deep); white-space: nowrap; }
.as-cap { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.as-cap .pin { position: static; box-shadow: none; }
.as-cap b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--walnut); overflow-wrap: break-word; }
.as-cap span:not(.pin) { display: block; margin-top: 4px; font-size: clamp(15px, 14px + .3vw, 16px); line-height: 1.55; color: var(--ink-soft); }

.perfect { margin-top: clamp(64px, 8vw, 96px); }
.perfect h3 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 26px; }
.perfect-grid { display: grid; gap: 14px; }
.perfect-card { background: var(--sand); border-radius: var(--radius); padding: 24px 20px; }
.perfect-card svg { color: var(--walnut-deep); }
.perfect-card h4 { font-size: 20px; color: var(--walnut-deep); margin: 12px 0 6px; }
.perfect-card p { font-size: 15px; color: var(--ink); }

/* Recipes */
.recipes { background: var(--cream); }
.recipe-grid { display: grid; gap: 24px; }
.recipe-card { position: relative; background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.recipe-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px var(--walnut-45); }
.recipe-img { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--sand-light); }
.recipe-img img { width: 100%; height: 100%; object-fit: cover; }
.recipe-img .tags { position: absolute; left: 16px; bottom: 16px; right: 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--white-95); color: var(--sage-deep); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 6px 12px; }
.recipe-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.recipe-body h3 { font-size: 24px; }
.recipe-body p { color: var(--ink-soft); font-size: 16px; }
.recipe-open { appearance: none; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--sage-deep); display: inline-flex; gap: 8px; align-items: center; }
.recipe-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.recipe-open:focus-visible { outline: none; }
.recipe-open:focus-visible::after { outline: 3px solid var(--walnut); outline-offset: 3px; }

/* Recipe modal */
dialog { margin: auto; border: 0; padding: 0; border-radius: var(--radius-lg); max-width: 760px; width: calc(100% - 24px); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -30px var(--ink-60); }
dialog::backdrop { background: var(--ink-60); backdrop-filter: blur(4px); }
dialog[open] { animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.m-head { position: relative; padding: 40px 20px 22px; background: var(--cream); }
.m-intro { margin-top: 14px; font-size: 15.5px; color: var(--ink-soft); }
.m-body h5 { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--walnut-deep); margin: 18px 0 10px; }
.m-head h3 { font-size: 28px; margin: 10px 0 12px; padding-right: 40px; }
.m-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.m-head .tags { padding-right: 52px; }
.m-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.m-body { padding: 24px 20px; display: grid; gap: 28px; }
.m-body h4 { font-size: 20px; margin-bottom: 14px; }
.m-body ul { list-style: none; display: grid; gap: 9px; font-size: 15.5px; }
.m-body ul li { display: flex; gap: 10px; border-bottom: 1px dashed var(--walnut-18); padding-bottom: 9px; }
.m-body ul li b { min-width: 72px; color: var(--sage-deep); }
.m-body ol { list-style: none; counter-reset: s; display: grid; gap: 14px; font-size: 15.5px; }
.m-body ol li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.m-body ol li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--sage); color: var(--white); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.m-tip { margin-top: 18px; padding: 16px 18px; background: var(--cream); border-radius: 12px; font-size: 15px; }
.m-foot { padding: 20px 20px 28px; border-top: 1px solid var(--walnut-12); display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; flex-wrap: wrap; }
.m-foot p { font-size: 15px; color: var(--ink-soft); max-width: 38ch; }
.m-foot .btn { width: 100%; }

/* Worries */
.worries .wrap { display: grid; gap: 28px; }
.worry { border-top: 1px solid var(--walnut-18); padding: 24px 0; }
.worry:last-child { border-bottom: 1px solid var(--walnut-18); }
.worry h3 { font-size: 22px; margin-bottom: 8px; }
.worry p { color: var(--ink-soft); }

/* Offer / pricing */
.offer { background: var(--walnut); color: var(--cream); position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, var(--clay-35), transparent 65%); }
.offer .wrap { position: relative; }
.offer h2 { color: var(--white); max-width: 22ch; }
.packages { display: grid; gap: 24px; margin-top: 40px; align-items: stretch; }
.package { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: 30px 20px; display: flex; flex-direction: column; gap: 16px; }
.package.featured { position: relative; box-shadow: 0 0 0 3px var(--sand); }
.pkg-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--walnut); border-radius: 999px; padding: 5px 14px; line-height: 1.4; }
.package h3 { font-size: clamp(22px, 2.4vw, 26px); }
.pkg-sub { display: block; font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--sage-deep); margin-top: 6px; letter-spacing: 0; }
.price b { font-family: var(--serif); font-size: clamp(48px, 6vw, 64px); line-height: 1; color: var(--walnut); }
.pkg-intro { color: var(--ink-soft); }
.pkg-list { list-style: none; display: grid; gap: 12px; font-size: 15.5px; }
.pkg-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.pkg-list svg { margin-top: 3px; color: var(--sage); }
.pkg-list b { color: var(--walnut-deep); }
.pkg-list .pkg-gift { background: var(--white); border: 1.5px dashed var(--walnut-45); border-radius: 14px; padding: 12px 12px 12px 10px; margin: 2px -4px 0; }
.pkg-gift-ico { font-size: 19px; line-height: 1.2; text-align: center; }
.pkg-list .tg-icon { width: 20px; height: 20px; margin-top: 1px; }
.package .btn { width: 100%; margin-top: auto; }

/* Reviews */
.reviews-grid { display: grid; gap: 24px; align-items: start; }
.review { background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--walnut-08); }
.r-photo { aspect-ratio: 1 / 1; position: relative; background: radial-gradient(70% 60% at 50% 50%, var(--sand-light), var(--sand) 60%, var(--clay)); }
.r-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r-body { padding: 22px 24px 24px; }
.r-title { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--walnut-deep); margin-bottom: 6px; }
.r-text { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }

/* Guarantee */
.guarantee { display: grid; gap: 28px; align-items: center; background: var(--cream); border-radius: var(--radius-lg); padding: 36px 22px; border: 1px solid var(--walnut-08); }
.guarantee h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.seal { width: 130px; height: 130px; border-radius: 50%; background: var(--sage); color: var(--cream); display: grid; place-items: center; text-align: center; position: relative; }
.seal::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1.5px dashed var(--cream-50); }
.seal b { font-family: var(--serif); font-size: 36px; display: block; line-height: 1; }
.seal span { font-size: 13px; font-weight: 600; }

/* FAQ */
.faq .wrap { display: grid; gap: 28px; }
details { border-top: 1px solid var(--walnut-18); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--walnut-18); }
summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--walnut); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 28px; color: var(--clay); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--ink-soft); }

/* Final */
.final { background: var(--sage); color: var(--cream); text-align: center; }
.final h2 { color: var(--white); max-width: 20ch; margin: 0 auto 22px; }
.final .lead { color: var(--cream); margin: 0 auto 34px; }
.final .script { font-family: var(--script); color: var(--sand); font-size: 40px; display: block; margin-bottom: 10px; }
.final .ps { margin: 30px auto 0; font-size: 15px; color: var(--cream); }

/* About */
.about { padding: 64px 0 40px; }
.about .wrap { display: grid; gap: 24px; align-items: center; }
.about-photo { width: min(260px, 70vw); height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px var(--walnut-45); }
.about h3 { margin-bottom: 8px; }
.about p { color: var(--ink-soft); font-size: 16px; max-width: 75ch; }

/* Footer */
.site-footer { padding-bottom: 120px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--walnut-12); }
.site-footer .footer-bar { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 32px; }
.footer-meta { flex: 1 1 280px; display: grid; gap: 6px; }
.footer-meta p { max-width: none; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 14px; font-weight: 600; }
.footer-legal li { display: inline-flex; align-items: center; }
.footer-legal a { color: var(--walnut-deep); text-decoration: none; padding: 4px 0; }
.footer-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.is-subpage .site-footer { padding-bottom: 32px; }

/* Placeholders that still need real data */
.ph { background: var(--sand); color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Small legal notes under the order buttons */
.pkg-legal { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); margin-top: -4px; }
.pkg-legal a { color: var(--sage-deep); font-weight: 600; }

/* Legal pages */
.legal-page { padding: 32px 0 72px; }
.legal-docs ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 -16px 32px; padding: 2px 16px 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.legal-docs li { flex: none; }
.legal-docs a { display: inline-block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--sand); background: var(--cream); color: var(--walnut-deep); font-size: 14px; font-weight: 600; text-decoration: none; }
.legal-docs a:hover { border-color: var(--sage); }
.legal-docs a[aria-current="page"] { background: var(--sage); border-color: var(--sage); color: var(--white); }
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 8px; }
.legal-updated { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.legal p, .legal li { max-width: none; }
.legal-intro p { font-size: 17px; }
.legal-toc { margin: 28px 0 8px; padding: 20px 22px; background: var(--cream); border-radius: var(--radius); }
.legal-toc-title { font-weight: 700; color: var(--walnut-deep); margin-bottom: 8px; }
.legal-toc ol { padding-left: 22px; display: grid; gap: 4px; font-size: 15.5px; }
.legal-toc a { color: var(--sage-deep); }
.legal-sec { padding: 28px 0 0; scroll-margin-top: 84px; }
.legal-sec h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.legal-sec p + p, .legal-sec p + ul, .legal-sec ul + p, .legal-sec p + ol, .legal-sec ol + p, .legal-sec blockquote + ul, .legal-sec table + p { margin-top: 12px; }
.legal-sec ul, .legal-sec ol { padding-left: 22px; display: grid; gap: 6px; }
.legal-sec a { color: var(--sage-deep); overflow-wrap: anywhere; }
.legal-sec blockquote { margin: 12px 0; padding: 14px 18px; border-left: 4px solid var(--sage); background: var(--cream); border-radius: 0 12px 12px 0; font-style: italic; }
.legal-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 14px; }
.legal-table-wrap .legal-table { margin-top: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--walnut-18); }
.legal-table th { color: var(--walnut-deep); font-size: 14px; }
.legal-note { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 640px) {
  .legal-table { font-size: 14px; }
  .legal-table th, .legal-table td { padding: 8px 4px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}
.withdrawal-form { margin-top: 14px; padding: 22px 20px; border: 1.5px dashed var(--walnut-45); border-radius: var(--radius); background: var(--white); display: grid; gap: 12px; }
.wf-blank, .wf-line { display: block; min-height: 26px; border-bottom: 1px solid var(--walnut-45); }
.wf-note { font-size: 13px; color: var(--ink-soft); }
.btn-print { margin-top: 16px; border: 1px solid var(--sand); }
.legal-back { margin-top: 40px; }
.legal-back a { color: var(--sage-deep); font-weight: 700; }

/* Social links (footer band): plain white cards, icon in a sage circle, network name above the handle */
.social { background: var(--cream); padding: 48px 0 52px; }
.social h2 { text-align: center; font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
.social-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.social-grid > li { display: flex; min-width: 0; }
.social-card { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 8px 12px; border-radius: var(--radius); border: 1px solid var(--sand); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px var(--walnut-08), 0 8px 20px -14px var(--walnut-45); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.social-card:hover, .social-card:focus-visible { transform: translateY(-2px); border-color: var(--sage); box-shadow: 0 2px 4px var(--walnut-08), 0 14px 28px -16px var(--walnut-45); }
.social-card:focus-visible { outline: 3px solid var(--walnut); outline-offset: 3px; border-radius: var(--radius); }
.social-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--sage); background: var(--white); border: 1px solid var(--sage-light); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.social-icon svg { width: 20px; height: 20px; }
.social-card:hover .social-icon, .social-card:focus-visible .social-icon { background: var(--sage); border-color: var(--sage); color: var(--white); }
.social-text { min-width: 0; max-width: 100%; display: grid; gap: 2px; }
.social-net { font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .04em; color: var(--ink-soft); }
.social-handle { font-weight: 700; font-size: 13.5px; line-height: 1.3; color: var(--walnut-deep); overflow-wrap: break-word; }
.footer-logo { width: auto; height: 96px; }

/* Mobile sticky bar */
.mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white-95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--walnut-12); align-items: center; justify-content: space-between; gap: 14px; }
.mb-price { font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
.mb-price b { display: block; font-family: var(--serif); font-size: 22px; color: var(--walnut); }
.mbar .btn { padding: 14px 22px; font-size: 15px; }

/* ≥ 641px */
@media (min-width: 641px) {
  .wrap { padding: 0 24px; }
  .btn { font-size: 17px; padding: 18px 34px; }
  .nav .wrap { height: 72px; }
  .nav .btn { display: inline-flex; }
  .hero { padding: 40px 0 80px; }
  .bundle { height: 500px; }
  .book { width: 300px; height: 400px; left: 0; top: 60px; }
  .book-cover { padding: 38px 30px; }
  .bc-title { font-size: 64px; }
  .bc-sub { font-size: 20px; }
  .tablet { width: 250px; height: 330px; right: 4%; }
  .tablet .screen { padding: 22px 18px; }
  .s-h { font-size: 19px; }
  .s-img { height: 100px; }
  .phone { width: 170px; height: 340px; }
  .p-cap { display: block; }
  .play { width: 58px; height: 58px; }
  .chip { font-size: 14px; padding: 10px 16px 10px 12px; }
  .chip .dot { width: 26px; height: 26px; font-size: 13px; }
  .chip-1 { left: -8px; top: 420px; }
  .chip-2 { right: -10px; top: 40px; }
  .chip-3 { left: 24%; top: auto; bottom: -18px; }
  .pain-item { grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 28px; }
  .pain-item .ic { width: 52px; height: 52px; border-radius: 14px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit { padding: 38px 32px; }
  .pairs { grid-template-columns: 1fr 1fr; }
  .foryou { padding: 44px 32px; }
  .foryou li { font-size: 18px; grid-template-columns: 30px 1fr; gap: 14px; }
  .chapter b { font-size: 52px; }
  .page-mock { padding: 30px; transform: rotate(-1.5deg); }
  .pm-img { height: 220px; }
  .pm-title { font-size: 24px; }
  .page-mock { padding-bottom: 100px; }
  .pm-cols { font-size: 12.5px; }
  .logo img { height: 64px; }
  .recipe-grid { grid-template-columns: 1fr 1fr; }
  .pm-qr { width: 64px; height: 64px; right: 24px; bottom: 24px; background-size: 16px 16px; border-width: 6px; }
  .perfect-grid { grid-template-columns: 1fr 1fr; }
  .m-head { padding: 44px 44px 28px; }
  .m-head h3 { font-size: 34px; }
  .m-body { grid-template-columns: .9fr 1.1fr; gap: 40px; padding: 32px 44px 40px; }
  .m-foot { padding: 26px 44px 36px; }
  .m-foot .btn { width: auto; }
  .packages { grid-template-columns: 1fr 1fr; }
  .package { padding: 40px 32px; }
  .guarantee { padding: 48px 40px; }
  .seal { width: 150px; height: 150px; }
  .seal b { font-size: 40px; }
  .about { padding: 88px 0 40px; }
  .about .wrap { grid-template-columns: auto 1fr; gap: 40px; }
  .site-footer { padding-bottom: 32px; }
  .social { padding: 64px 0; }
  .social-grid { gap: 16px; }
  .social-card { flex-direction: row; text-align: left; gap: 14px; padding: 14px 18px 14px 14px; }
  .social-icon { width: 46px; height: 46px; }
  .social-icon svg { width: 22px; height: 22px; }
  .social-net { font-size: 12.5px; }
  .social-handle { font-size: 15.5px; }
  .mbar { display: none; }
}

/* 641–980px */
@media (min-width: 641px) and (max-width: 980px) {
  .recipe-card:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
  .perfect-card:last-child { grid-column: 1 / -1; }
  .anatomy-steps { gap: 20px; }
  .as-card, .as-card-5 { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; padding: 16px; }
  .as-card-5 .as-slice { padding: 16px; }
}

/* ≥ 981px */
@media (min-width: 981px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav .btn { margin-left: 0; }
  .hero { padding: 56px 0 96px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .bundle { height: 560px; max-width: none; }
  .pain .wrap { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .story .wrap { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .why-head { grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .pairs { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
  .foryou { padding: 64px; grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .sec-head { margin-bottom: 56px; }
  .chapters { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .anatomy { grid-template-columns: 1fr 1fr; gap: 64px; }
  .anatomy .page-mock { display: block; }
  .anatomy-list { display: grid; }
  .anatomy-steps { display: none; }
  .perfect-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .perfect-card { grid-column: span 2; padding: 26px 22px; }
  .perfect-card:nth-child(n+4) { grid-column: span 3; }
  .recipe-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .worries .wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .packages { gap: 32px; margin-top: 56px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); max-width: 840px; margin-inline: auto; }
  .guarantee { grid-template-columns: auto 1fr; gap: 48px; padding: 56px 64px; }
  .faq .wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; margin: 0 auto; }
  .social-card { gap: 10px; padding: 14px 12px; }
  .social-icon { width: 42px; height: 42px; }
  .social-handle { font-size: 14.5px; }
}
@media (min-width: 1140px) {
  .social-card { gap: 14px; padding: 14px 18px 14px 14px; }
  .social-icon { width: 46px; height: 46px; }
  .social-handle { font-size: 15.5px; }
}

/* Checkout, thank-you and download pages */
.checkout-page [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.checkout-page { padding: 28px 0 72px; }
.co-title { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 18px; }
.co-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 18px 16px; margin: 0 0 16px; min-width: 0; }
.co-card legend, .co-card h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--walnut); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.co-card legend + * { clear: both; }
.co-card h2 { float: none; }
.co-grid { display: grid; gap: 0 24px; }
.co-main, .co-side { min-width: 0; }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-alert { background: var(--cream); border-left: 4px solid var(--sage); border-radius: 0 12px 12px 0; padding: 12px 16px; margin-bottom: 16px; max-width: none; }
.co-alert-err { border-left-color: var(--walnut); background: var(--sand-light); color: var(--ink); font-weight: 600; }
.co-products { display: grid; gap: 10px; }
.co-product { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; padding: 14px; border: 1.5px solid var(--sand); border-radius: 14px; cursor: pointer; background: var(--white); transition: border-color .2s ease, background .2s ease; }
.co-product:hover { border-color: var(--sage-soft); }
.co-product:has(input:checked) { border-color: var(--sage); background: var(--sage-light); }
.co-product.is-disabled { opacity: .6; cursor: not-allowed; }
.co-product input, .co-pill input, .co-check input { accent-color: var(--sage); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.co-product-body { display: grid; gap: 2px; min-width: 0; }
.co-product-name { font-weight: 700; color: var(--walnut-deep); line-height: 1.3; }
.co-product-short { font-size: 14px; color: var(--ink-soft); }
.co-product-tag { justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--sage-deep); background: var(--white); border: 1px solid var(--sage-soft); border-radius: 999px; padding: 2px 10px; }
.co-product.is-featured { margin-top: 10px; }
.co-product-badge { position: absolute; top: -11px; right: 14px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--white); background: var(--walnut); border-radius: 999px; padding: 3px 10px; line-height: 1.4; }
.co-product-gift { justify-self: start; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--walnut-deep); background: var(--white); border: 1.5px dashed var(--walnut-45); border-radius: 10px; padding: 4px 10px; }
.co-product-price { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--walnut); white-space: nowrap; }
.co-note, .co-hint { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; max-width: none; }
.co-hint a, .co-note a, .co-check a, .co-thanks a:not(.btn) { color: var(--sage-deep); font-weight: 600; }
.co-label { font-weight: 700; font-size: 14px; color: var(--walnut-deep); margin: 4px 0 6px; }
.co-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.co-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--sand); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15px; background: var(--white); }
.co-pill input { margin-top: 0; }
.co-pill-price { font-weight: 700; color: var(--sage-deep); white-space: nowrap; }
.co-pill-price::before { content: "·"; margin-right: 6px; color: var(--ink-35); font-weight: 400; }
.co-hint-tight { margin: -4px 0 12px; }
.co-ship-note { margin: 0 0 16px; }
.co-pill:has(input:checked) { border-color: var(--sage); background: var(--sage-light); }
.co-pills-logo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
.co-pill-logo { padding: 10px 12px; gap: 10px; min-height: 54px; border-radius: 14px; }
.co-pill-logo img { margin: 0 auto; max-width: 100%; }
.co-courier-logo { display: block; height: 26px; width: auto; }
.co-courier-econt { height: 19px; }
.co-field { display: grid; gap: 4px; align-content: start; margin-bottom: 12px; min-width: 0; }
.co-field label { font-weight: 700; font-size: 14px; color: var(--walnut-deep); }
.co-opt { font-weight: 500; color: var(--ink-soft); font-size: 13px; }
.co-field input, .co-field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid var(--sand); border-radius: 12px; padding: 11px 13px; }
.co-field textarea { resize: vertical; }
.co-field input:focus, .co-field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-light); }
.co-field [aria-invalid="true"], .co-check input[aria-invalid="true"] { border-color: var(--walnut); box-shadow: 0 0 0 3px var(--walnut-12); }
.co-err { color: var(--walnut-deep); font-size: 13.5px; font-weight: 700; margin-top: 2px; max-width: none; }
.co-err::before { content: "! "; color: var(--clay); }
.co-row { display: grid; gap: 0 12px; }
.co-summary dl { display: grid; gap: 8px; margin-bottom: 16px; }
.co-summary dl > div, .co-dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.co-summary dt, .co-dl dt { color: var(--ink-soft); min-width: 0; }
.co-summary dd, .co-dl dd { font-weight: 700; color: var(--walnut-deep); white-space: nowrap; }
.co-total { border-top: 1px solid var(--walnut-18); padding-top: 10px; margin-top: 2px; }
.co-total dt { color: var(--walnut-deep); font-weight: 700; }
.co-total dd { font-family: var(--serif); font-size: 26px; color: var(--walnut); }
.co-consents { display: grid; gap: 10px; margin-bottom: 16px; }
.co-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.co-submit { width: 100%; }
.co-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.co-secure { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; max-width: none; }
.co-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--walnut-deep); background: var(--sand-light); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.co-badge-ok { background: var(--sage-light); color: var(--sage-deep); }
.co-test { border: 2px dashed var(--clay); }
.co-test .btn, .co-thanks .btn { margin-top: 8px; }
.co-thanks { max-width: 720px; margin: 0 auto; padding: 24px 18px; }
.co-thanks h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.co-thanks h2 { margin-top: 20px; }
.co-thanks p { margin-bottom: 10px; max-width: none; }
.co-dl { display: grid; gap: 8px; margin: 16px 0; padding: 14px 16px; background: var(--cream); border-radius: 12px; }
@media (min-width: 641px) {
  .co-card { padding: 22px 24px; }
  .co-row { grid-template-columns: 1fr 1fr; }
  .co-row-city { grid-template-columns: 2fr 1fr; }
  .co-row-street { grid-template-columns: 3fr 1fr; }
  .co-products { grid-template-columns: 1fr 1fr; }
  .co-product { grid-template-columns: auto 1fr; }
  .co-product-price { grid-column: 2; }
  .co-thanks { padding: 36px 40px; }
}
@media (min-width: 981px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .co-side { position: sticky; top: 84px; }
}

/* Entrance animations (main.js). Hidden only while <html> has .js-reveal (set by the inline script in header.php,
   never with reduced motion or without IntersectionObserver). Uses the `translate` property so existing transforms
   (hover lifts, rotated page mock) are untouched. Vertical movement only: no horizontal overflow. */
@keyframes fv-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: none; } }
.js-reveal [data-reveal]:not(.rv-done), .js-reveal [data-reveal-group] > :not(.rv-done) { opacity: 0; translate: 0 24px; transition: opacity .65s cubic-bezier(.22, .61, .36, 1), translate .65s cubic-bezier(.22, .61, .36, 1); transition-delay: var(--d, 0ms); }
.js-reveal [data-reveal].is-in, .js-reveal [data-reveal-group] > .is-in { opacity: 1; translate: none; }
/* .rv-done (added by main.js after the animation) drops the rules above so the element's own hover transitions apply again. */
/* Hero plays on load: short and staggered; the visual starts almost immediately (LCP). */
.js-reveal .hero-script, .js-reveal .hero h1, .js-reveal .hero .lead, .js-reveal .hero-actions, .js-reveal .trust, .js-reveal .bundle { animation: fv-rise .6s cubic-bezier(.22, .61, .36, 1) both; }
.js-reveal .hero h1 { animation-delay: 70ms; }
.js-reveal .hero .lead { animation-delay: 140ms; }
.js-reveal .hero-actions { animation-delay: 210ms; }
.js-reveal .trust { animation-delay: 260ms; }
.js-reveal .bundle { animation-duration: .5s; animation-delay: 40ms; }

/* Print */
@media print {
  .js-reveal [data-reveal], .js-reveal [data-reveal-group] > * { opacity: 1 !important; translate: none !important; }
  .nav, .skip-link, .site-footer, .mbar, .legal-docs, .legal-toc, .btn-print, .legal-back { display: none !important; }
  body { background: var(--white); font-size: 12pt; }
  .legal-page { padding: 0; }
  .legal-sec { break-inside: avoid-page; }
  /* "Print the form" button: only the withdrawal form section is printed. */
  body.print-form .legal > :not(#formular) { display: none !important; }
  body.print-form #formular { padding-top: 0; }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .strip-track { width: auto; flex-wrap: wrap; justify-content: center; white-space: normal; gap: 8px 32px; padding: 0 16px; }
  .strip-track span { gap: 32px; }
  .strip-track .dup { display: none; }
}

/* Telegram logo on the closed buyers' group line of the paper package card (colors live in the SVG: it is a brand logo). */
.tg-icon { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.co-tg { margin: -6px 0 14px; }
.nowrap { white-space: nowrap; }
