/* FirstTry Dosage · landing page v2 (only index.html uses this file;
   styles.css stays as it is for the trainer, download and legal pages) */

:root {
  --green: #133621;
  --green-2: #1a4429;
  --green-deep: #0d2817;
  --yellow: #f4d96c;
  --bone: #f3f4ee;
  --bone-2: #e6e8de;
  --white: #ffffff;
  --ink: #133621;
  --ink-soft: #46604f;
  --on-green-soft: #cfd9cc;
  --bad: #b3261e;
  --good: #1c6b3a;

  --m: clamp(20px, 2.3vw, 36px);
  --gap: clamp(12px, 1.7vw, 24px);
  --sec: clamp(72px, 10vw, 150px);

  /* the type steps: small, body, mid, h3, h2, display (+ the price figure and the cropped name) */
  --t-small: 0.9375rem;
  --t-body: clamp(1.0625rem, 1.25vw, 1.125rem);
  --t-mid: 1.3125rem;
  --t-h3: clamp(1.3125rem, 2.1vw, 1.875rem);
  --t-h2: clamp(2.125rem, 4.2vw, 4rem);
  --t-display: 10.4vw;
  --t-giant: clamp(5.5rem, 24vw, 10.5rem);

  --cond: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 960px) { :root { --t-display: clamp(4.5rem, 7.25vw, 9rem); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 var(--t-body)/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.test :focus-visible, .inside :focus-visible, .plan :focus-visible, .faq :focus-visible, .price__pack :focus-visible { outline-color: var(--green); }
::selection { background: var(--yellow); color: var(--green); }

.skip { position: absolute; left: var(--m); top: -80px; z-index: 60; background: var(--yellow); color: var(--green); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

h1, h2, h3, .fig, .wordmark, .btn, .hero__price strong, .price__sum strong, .price__add strong, .close__name, .test__big, .test__verdict, .row__name, .row__tag, .chain__math, .tile--say, .opt, .choice, .buybar strong {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em;
}
h2 { font-size: var(--t-h2); line-height: 0.94; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: var(--t-h3); line-height: 1.02; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 26px;
  background: var(--yellow); color: var(--green); border: 0; border-radius: 0; cursor: pointer;
  font-size: var(--t-mid); letter-spacing: 0.01em; line-height: 1; text-decoration: none; text-align: center;
  transition: transform .18s var(--ease), background-color .18s ease;
}
.btn:hover { background: #ffe680; }
.btn:active { transform: translateY(2px) scale(.985); }
.btn--ink { background: var(--green); color: var(--bone); }
.btn--ink:hover { background: var(--green-2); }
.btn--wide { width: 100%; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--green); }
.ticks--light li::before { background: var(--yellow); }

/* ---------- HERO ---------- */
.hero { background: var(--green); color: var(--bone); padding: 0 var(--m); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; column-gap: var(--gap); align-items: center; }
.wordmark { font-size: var(--t-h3); color: var(--yellow); text-decoration: none; letter-spacing: 0; line-height: 1; padding: 18px 0; }
.hero__nav { display: flex; gap: 22px; font-size: var(--t-small); font-weight: 500; }
.hero__nav a { text-decoration: none; padding: 16px 0; }
.hero__nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-wide { display: none; }

.hero__title { grid-column: 1 / -1; font-size: var(--t-display); line-height: 0.9; letter-spacing: -0.025em; color: var(--yellow); margin-top: 10px; }
.hero__title .line { display: block; padding-top: .06em; white-space: nowrap; }
.hero__title .line > span { display: block; }

.hero__talk { grid-column: 1 / -1; margin-top: 16px; }
.hero__lead { line-height: 1.42; max-width: 40ch; font-weight: 500; }
.hero__talk .btn { width: 100%; margin-top: 18px; }
.hero__note { margin-top: 10px; font-size: var(--t-small); line-height: 1.35; color: var(--on-green-soft); }

.hero__pic { grid-column: 1 / -1; position: relative; margin: 46px calc(var(--m) * -1) 0; }
.hero__pic picture { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.hero__cap { position: absolute; right: 0; bottom: 0; background: var(--green); color: var(--bone); padding: 8px var(--m); font-size: var(--t-small); font-weight: 500; }
.hero__price { position: absolute; left: var(--m); top: -30px; width: min(62%, 270px); background: var(--yellow); color: var(--green); text-decoration: none; padding: 12px 16px 14px; display: block; transition: transform .2s var(--ease); }
.hero__price:hover { transform: translateY(-3px); }
.hero__price strong { display: block; font-size: var(--t-display); line-height: 0.95; }
.hero__price span { display: block; margin-top: 4px; font-size: var(--t-small); line-height: 1.3; font-weight: 500; }

@media (min-width: 960px) {
  .hero { min-height: 100svh; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto minmax(46svh, 1fr); align-items: start; }
  .hero__mark { grid-column: 1 / 5; grid-row: 1; padding: 26px 0; }
  .hero__nav { grid-column: 5 / -1; grid-row: 1; gap: 34px; padding: 14px 0; }
  .nav-wide { display: inline; }
  .hero__title { grid-column: 5 / -1; grid-row: 2; margin-top: 8px; line-height: 0.86; }
  .hero__talk { grid-column: 1 / 5; grid-row: 2 / 4; margin-top: clamp(24px, 9svh, 110px); padding-right: 12%; }
  .hero__lead { font-size: var(--t-mid); line-height: 1.35; max-width: 24ch; }
  .hero__talk .btn { width: auto; margin-top: 28px; }
  .hero__note { max-width: 30ch; margin-top: 14px; }
  .hero__pic { grid-column: 5 / -1; grid-row: 3; margin: 28px 0 0; align-self: stretch; min-height: 46svh; }
  .hero__pic picture { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__pic img { object-position: 50% 42%; }
  .hero__cap { padding: 8px 14px; }
  .hero__price { left: 0; top: auto; bottom: 56px; width: 270px; transform: translateX(-52%); padding: 18px 22px 20px; }
  .hero__price:hover { transform: translateX(-52%) translateY(-3px); }
  .hero__price strong { font-size: var(--t-h2); }
}

/* ---------- FREE TEST ---------- */
.test { background: var(--yellow); padding: var(--sec) var(--m); display: grid; gap: 32px var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.test__intro { grid-column: 1 / -1; display: grid; gap: 18px; }
.test__intro > p { max-width: 44ch; font-weight: 500; }
.test__card { grid-column: 1 / -1; background: var(--white); padding: clamp(20px, 3vw, 44px); min-width: 0; scroll-margin-top: 14px; }
.test__count { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-small); font-weight: 500; }
.test__bar { height: 8px; background: var(--bone-2); margin-top: 10px; }
.test__bar i { display: block; height: 100%; width: 10%; background: var(--green); transition: width .5s var(--ease); }
.test__type { margin-top: 26px; font-size: var(--t-small); font-weight: 600; color: var(--ink-soft); }
.test__question { margin-top: 6px; font-size: var(--t-h3); line-height: 1.3; font-weight: 500; min-height: 2.6em; }
.test__answer { margin-top: 20px; }
.test__label { display: block; font-weight: 600; font-size: var(--t-small); margin-bottom: 8px; }
.field { display: flex; border: 3px solid var(--green); max-width: 360px; background: var(--white); }
.field input { flex: 1 1 auto; min-width: 0; border: 0; padding: 12px 14px; font: 700 var(--t-h3)/1.1 var(--cond); background: transparent; border-radius: 0; }
.field input:focus { outline: none; background: #fffbe6; }
.field:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }
.field__unit { flex: 0 0 auto; min-width: 72px; display: grid; place-items: center; padding: 0 16px; background: var(--green); color: var(--bone); font: 700 var(--t-mid)/1 var(--cond); }
.test__rule { margin-top: 8px; font-size: var(--t-small); color: var(--ink-soft); }
.test__choices { display: flex; gap: 10px; margin-top: 20px; }
.choice { min-height: 56px; padding: 12px 24px; background: var(--bone); border: 3px solid var(--green); border-radius: 0; font-size: var(--t-mid); line-height: 1; cursor: pointer; }
.choice[aria-pressed="true"] { background: var(--green); color: var(--bone); }
.test__actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.test__feedback { margin-top: 24px; background: var(--bone); padding: clamp(16px, 2vw, 26px); }
.test__verdict { font-size: var(--t-h3); line-height: 1.05; }
.test__verdict.is-right { color: var(--good); }
.test__verdict.is-wrong { color: var(--bad); }
.test__dim { margin-top: 10px; font-weight: 600; }
.test__steps { margin-top: 8px; padding-left: 1.3em; list-style: decimal; display: grid; gap: 4px; }
.test__result { margin-top: 24px; background: var(--green); color: var(--bone); padding: clamp(20px, 2.6vw, 34px); display: grid; gap: 14px; justify-items: start; }
.test__big { font-size: var(--t-h2); line-height: 0.95; color: var(--yellow); }
.test__result .btn { background: var(--yellow); color: var(--green); }
.test__after { font-size: var(--t-small); color: var(--on-green-soft); }
.test__card.shake { animation: shake .34s ease; }
@keyframes shake { 20% { transform: translateX(-7px); } 50% { transform: translateX(6px); } 80% { transform: translateX(-3px); } }

@media (min-width: 960px) {
  .test__intro { grid-column: 1 / 6; position: sticky; top: 40px; gap: 24px; }
  .test__card { grid-column: 6 / -1; }
  .test__question { min-height: 3.9em; }
}

/* ---------- WHAT YOU GET: mosaic ---------- */
.inside { padding: var(--sec) var(--m); }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; padding: 20px; min-width: 0; background: var(--bone-2); }
.tile--green { background: var(--green); color: var(--bone); }
.tile--yellow { background: var(--yellow); }
.tile--white { background: var(--white); }
.tile--head, .tile--pic, .tile--say { grid-column: 1 / -1; }
.tile--head { background: transparent; padding: 0 0 18px; display: grid; gap: 12px; align-content: start; }
.tile--head p { max-width: 30ch; font-weight: 500; }
.tile--pic { padding: 0; }
.tile--pic > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.tile--book { aspect-ratio: 4 / 3.6; background: var(--white); }
.tile--key { aspect-ratio: 4 / 2.6; background: var(--white); }
.tile--crop { grid-column: auto; min-height: 172px; }
.tile--crop > img { position: absolute; inset: 0; object-position: 50% 44%; }
.tile figcaption { position: absolute; left: 0; top: 0; z-index: 1; background: var(--green); color: var(--bone); padding: 8px 14px; font-size: var(--t-small); font-weight: 500; }
.tile--phone { display: grid; justify-items: center; padding: 64px 20px 0; aspect-ratio: 4 / 4.4; }
.phone { width: min(64%, 300px); background: #161817; border-radius: 34px 34px 0 0; padding: 10px 10px 0; align-self: start; }
.phone video { width: 100%; border-radius: 26px 26px 0 0; background: var(--green-deep); }
.tile--phone figcaption { background: var(--yellow); color: var(--green); }
.tile--fig { display: grid; align-content: start; gap: 8px; min-height: 172px; }
.fig { font-size: var(--t-display); line-height: 0.86; letter-spacing: -0.03em; }
.tile--fig p:last-child { font-size: var(--t-small); line-height: 1.3; font-weight: 500; }
.tile--list { display: grid; align-content: start; gap: 6px; font-weight: 600; line-height: 1.25; }
.tile--say { font-size: var(--t-h3); line-height: 1.08; padding-bottom: 44px; text-wrap: balance; }
.mosaic > .tile:nth-child(11) { grid-column: 1 / -1; min-height: 0; }

@media (min-width: 600px) and (max-width: 959px) {
  .tile--phone { aspect-ratio: 16 / 10; }
  .tile--book { aspect-ratio: 16 / 11; }
  .tile--key { aspect-ratio: 16 / 7; }
}
@media (min-width: 960px) {
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 96px; gap: 8px; }
  .tile { padding: 24px; }
  .tile--pic { padding: 0; }
  .tile--head { grid-column: 1 / 7; grid-row: 1 / 4; padding: 0 24px 0 0; }
  .tile--book { grid-column: 7 / -1; grid-row: 1 / 6; aspect-ratio: auto; }
  .mosaic > .tile:nth-child(3) { grid-column: 1 / 4; grid-row: 4 / 6; }
  .mosaic > .tile:nth-child(4) { grid-column: 4 / 7; grid-row: 4 / 6; font-size: var(--t-mid); }
  .tile--phone { grid-column: 1 / 7; grid-row: 6 / 11; aspect-ratio: auto; padding: 44px 24px 0; }
  .mosaic > .tile:nth-child(6) { grid-column: 7 / -1; grid-row: 6 / 9; }
  .mosaic > .tile:nth-child(7) { grid-column: 7 / 10; grid-row: 9 / 11; }
  .tile--crop { grid-column: 10 / -1; grid-row: 9 / 11; }
  .mosaic > .tile:nth-child(9) { grid-column: 1 / 7; grid-row: 11 / 14; }
  .tile--key { grid-column: 7 / 10; grid-row: 11 / 14; aspect-ratio: auto; }
  .mosaic > .tile:nth-child(11) { grid-column: 10 / -1; grid-row: 11 / 14; }
  .tile--say { padding-bottom: 24px; max-width: none; }
  .tile--fig { min-height: 0; }
}

/* ---------- ONE METHOD: stairs ---------- */
.method { background: var(--green); color: var(--bone); padding: var(--sec) var(--m); }
.method h2 { color: var(--yellow); max-width: 14ch; }
.stairs { margin-top: clamp(36px, 5vw, 72px); display: grid; gap: 34px; }
.stairs li { padding-left: calc(var(--i, 0) * 6vw); }
.stairs li:nth-child(2) { --i: 1; } .stairs li:nth-child(3) { --i: 2; } .stairs li:nth-child(4) { --i: 3; }
.stairs h3 { font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.stairs li:last-child h3 { color: var(--yellow); }
.stairs p { margin-top: 10px; max-width: 34ch; color: #dfe6da; }
.chain { margin-top: clamp(44px, 6vw, 80px); background: var(--bone); color: var(--green); padding: clamp(20px, 2vw, 28px); display: grid; gap: 18px; }
.chain figcaption { font-weight: 500; max-width: 46ch; }
.chain__math { display: flex; align-items: center; flex-wrap: wrap; gap: .18em .3em; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; text-transform: none; }
.chain__math s { text-decoration: line-through; text-decoration-thickness: .09em; text-decoration-color: var(--bad); }
.frac { display: inline-grid; justify-items: center; gap: .1em; }
.frac > span:first-child { padding: 0 .12em .1em; border-bottom: max(3px, .08em) solid currentColor; }
.chain__op { font-family: var(--text); font-weight: 500; font-size: .6em; }
.chain__ans { background: var(--yellow); padding: .08em .2em .12em; }

@media (min-width: 960px) {
  .method { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .method h2 { grid-column: 1 / 8; }
  .stairs { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 52px var(--gap); }
  .stairs li { padding-left: 0; grid-column: 1 / -1; }
  .stairs li:nth-child(2) { grid-column-start: 3; } .stairs li:nth-child(3) { grid-column-start: 5; } .stairs li:nth-child(4) { grid-column-start: 7; }
  .stairs h3 { white-space: nowrap; }
  .chain { grid-column: 1 / 7; margin-top: -150px; align-self: end; }
}

/* ---------- WHAT IT COVERS: board ---------- */
.board { background: var(--green-deep); color: var(--bone); padding: var(--sec) 8px; }
.board h2 { color: var(--yellow); padding: 0 calc(var(--m) - 8px); }
.board__rows { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 4px; }
.row { background: var(--green-2); }
.row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 0 12px 0 calc(var(--m) - 8px); transition: background-color .2s ease; }
.row summary::-webkit-details-marker { display: none; }
.row summary:hover { background: #21553a; }
.row[open] summary:hover { background: transparent; }
.row__name { font-size: var(--t-h3); line-height: 1.05; }
.row__n, .row__eg { display: none; font-variant-numeric: tabular-nums; font-weight: 500; }
.row__tag { background: var(--yellow); color: var(--green); padding: 9px 12px; font-size: var(--t-mid); line-height: 1; min-width: 104px; text-align: center; }
.row--pack .row__tag { background: var(--bone); }
.row[open] { background: var(--yellow); color: var(--green); }
.row[open] .row__tag { background: var(--green); color: var(--bone); }
.row__more { padding: 2px 12px 20px calc(var(--m) - 8px); display: grid; gap: 8px; max-width: 70ch; }
.row__more p:first-child { font-weight: 600; }
.board__note { margin-top: 22px; padding: 0 calc(var(--m) - 8px); max-width: 60ch; color: var(--on-green-soft); }

@media (min-width: 960px) {
  .board { padding-inline: 12px; }
  .board h2, .board__note { padding: 0 calc(var(--m) - 12px); }
  .row summary { grid-template-columns: 5fr 2fr 3fr 2fr; min-height: 72px; padding: 0 12px 0 calc(var(--m) - 12px); }
  .row__n, .row__eg { display: block; }
  .row__tag { justify-self: end; padding: 10px 16px; min-width: 130px; }
  .row__more { padding: 0 12px 28px calc(var(--m) - 12px); grid-template-columns: 5fr 5fr; column-gap: var(--gap); max-width: none; }
  .row__more p { max-width: 50ch; }
}

/* ---------- SEVEN NIGHTS: line-up ---------- */
.plan { padding: var(--sec) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
.plan h2 { grid-column: 1 / -1; }
.lineup { grid-column: 1 / -1; margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 18px; }
.lineup li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.lineup__when { font-size: var(--t-small); font-weight: 600; color: var(--ink-soft); }
.lineup__what { font-size: var(--t-h3); font-weight: 600; line-height: 1.2; }
.lineup__how { color: var(--ink-soft); max-width: 46ch; }
.plan__sheet { grid-column: 1 / -1; margin-top: 36px; position: relative; background: var(--white); aspect-ratio: 4 / 3; overflow: hidden; }
.plan__sheet img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.plan__sheet figcaption { position: absolute; left: 0; bottom: 0; background: var(--green); color: var(--bone); padding: 8px 14px; font-size: var(--t-small); font-weight: 500; }

@media (min-width: 960px) {
  .lineup { grid-column: 1 / 9; gap: 0; }
  .lineup li { grid-template-columns: 3fr 4fr 7fr; column-gap: var(--gap); align-items: baseline; padding: 12px 0; }
  .lineup__when, .lineup__what, .lineup__how { font-size: var(--t-mid); font-weight: 500; line-height: 1.3; }
  .lineup__how { color: var(--ink); max-width: none; }
  .plan__sheet { grid-column: 9 / -1; margin-top: clamp(28px, 4vw, 56px); aspect-ratio: 4 / 5; align-self: start; }
}

/* ---------- PRICE: two fields ---------- */
.price { display: grid; }
.price__main { background: var(--green); color: var(--bone); padding: var(--sec) var(--m); display: flex; flex-direction: column; gap: 18px; }
.price__main h2 { color: var(--yellow); }
.price__pack { background: var(--yellow); color: var(--green); padding: clamp(44px, 7vw, 150px) var(--m); display: flex; flex-direction: column; gap: 16px; }
.price__pack h3 { font-size: var(--t-h2); line-height: 0.94; letter-spacing: -0.02em; }
.price__for { font-size: var(--t-h3); font-weight: 600; line-height: 1.2; max-width: 22ch; }
.price__has { max-width: 46ch; }
.price__gets { display: grid; gap: 12px; max-width: 58ch; }
.price__gets li { position: relative; padding-left: 26px; }
.price__gets li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--yellow); }
.price__gets b { font-weight: 600; color: var(--white); }
.price__gets .price__plus { background: var(--green-2); padding: 14px 16px 14px 42px; }
.price__gets .price__plus::before { left: 16px; top: calc(14px + .5em); }
.price__gets .price__plus-n { font: 700 var(--t-mid)/1 var(--cond); margin-left: 6px; color: var(--yellow); }
.price__form { font-weight: 600; max-width: 46ch; }
.price__foot { margin-top: 10px; display: grid; gap: 18px; }
.price__sum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price__label { font-weight: 600; }
.price__sum strong { font-size: var(--t-giant); line-height: 0.8; letter-spacing: -0.03em; color: var(--yellow); }
.price__once { font-weight: 500; }
.price__main .ticks { margin-top: 8px; max-width: 52ch; }
.price__add strong { font-size: var(--t-giant); line-height: 0.85; letter-spacing: -0.03em; }
.opt { display: flex; align-items: center; gap: 14px; background: var(--green); color: var(--bone); padding: 14px 18px; min-height: 60px; cursor: pointer; position: relative; font-size: var(--t-mid); line-height: 1.05; transition: transform .18s var(--ease), background-color .2s ease; }
.opt:active { transform: translateY(2px); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { flex: 0 0 30px; height: 30px; background: var(--bone); display: grid; place-items: center; }
.opt__box::after { content: ""; width: 16px; height: 16px; background: var(--green); opacity: 0; transform: scale(.6); transition: transform .2s var(--ease), opacity .15s ease; }
.opt input:checked ~ .opt__box::after { opacity: 1; transform: none; }
.opt input:focus-visible ~ .opt__box { outline: 3px solid var(--green); outline-offset: 3px; }
.opt:has(input:checked) { background: var(--green-deep); }

@media (min-width: 960px) {
  .price { grid-template-columns: 7fr 5fr; min-height: 90svh; }
  .price__main, .price__pack { padding: clamp(60px, 7vw, 110px) var(--m); }
  .price__foot { grid-template-columns: 1fr auto; align-items: end; margin-top: auto; padding-top: 28px; }
  .price__form { grid-column: 1 / -1; max-width: none; }
  .price__foot .btn { width: auto; min-width: 300px; }
  .price__main .ticks { max-width: 62ch; margin-top: 26px; }
  .price__pack { padding-inline: clamp(28px, 3.4vw, 56px); }
  .price__add { margin-top: auto; padding-top: 28px; }
  .price__add strong { font-size: var(--t-display); }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); align-items: start; }
.faq__head { grid-column: 1 / -1; display: grid; gap: 22px; }
.faq__list { grid-column: 1 / -1; display: grid; gap: 6px; }
.faq details { background: var(--bone-2); transition: background-color .2s ease; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 16px; align-items: center; min-height: 64px; padding: 14px 20px; font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 16px; height: 16px; background: var(--green); clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); transition: transform .3s var(--ease), clip-path .3s var(--ease); }
.faq details[open] summary::after { clip-path: polygon(40% 40%, 60% 40%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 60%, 40% 60%, 40% 60%, 0 60%, 0 40%, 40% 40%); transform: rotate(180deg); }
.faq details[open] { background: var(--yellow); }
.faq details:not([open]) summary:hover { background: #dcdfd2; }
.faq details p { padding: 0 20px 22px; max-width: 56ch; }

@media (min-width: 960px) {
  .faq__head { grid-column: 1 / 5; position: sticky; top: 96px; }
  .faq__list { grid-column: 5 / -1; gap: 8px; }
  .faq summary { min-height: 72px; padding: 14px 24px; font-size: var(--t-mid); }
  .faq details p { padding: 0 24px 26px; }
}

/* ---------- CLOSE / FOOTER ---------- */
.close { background: var(--green); color: var(--bone); padding: var(--sec) var(--m) 0; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); }
.close__say { grid-column: 1 / -1; display: grid; gap: 18px; }
.close__say h2 { color: var(--yellow); max-width: 12ch; }
.close__say > p { max-width: 44ch; }
.close__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.close__alt { font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.close__links { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; font-weight: 500; }
.close__links a { text-underline-offset: 5px; }
.close__links a:hover, .close__alt:hover { color: var(--yellow); }
.close__legal, .close__credits { grid-column: 1 / -1; font-size: var(--t-small); color: var(--on-green-soft); max-width: 70ch; }
.close__credits { margin-top: -20px; }
.close__name { grid-column: 1 / -1; font-size: 15.4vw; line-height: 0.74; letter-spacing: -0.02em; white-space: nowrap; color: var(--yellow); margin: 10px 0 -0.14em; user-select: none; }

@media (min-width: 960px) {
  .close__say { grid-column: 1 / 8; }
  .close__links { grid-column: 10 / -1; align-content: start; padding-top: 10px; }
  .close__legal { grid-column: 1 / 7; margin-top: 40px; }
  .close__credits { grid-column: 7 / -1; margin-top: 40px; }
}

/* ---------- BUY BAR: docks at the top once the first screen is gone ---------- */
.buybar { position: fixed; left: 0; right: 0; top: 0; z-index: 40; background: var(--green-deep); color: var(--bone); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px var(--m); min-height: 60px; transform: translateY(-110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
.buybar.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.buybar p { line-height: 1.15; font-size: var(--t-small); font-weight: 500; display: flex; align-items: baseline; gap: 10px; }
.buybar strong { font-size: var(--t-h3); line-height: 1; color: var(--yellow); }
.buybar .btn { min-height: 44px; padding: 8px 18px; white-space: nowrap; }
.buybar__wide { display: none; }
@media (min-width: 700px) { .buybar__wide { display: inline; } }

/* ---------- MOTION ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* The first screen is never hidden: headline, lead, button and price are painted at once.
     They only settle a few pixels (transform, no opacity), and the picture eases in from a slight scale. */
  .js .hero__title .line > span { animation: settle-up .7s var(--ease) both; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: .06s; }
  .js .hero__talk > * { animation: settle-up .7s var(--ease) .1s both; }
  .js .hero__talk > :nth-child(2) { animation-delay: .16s; }
  .js .hero__talk > :nth-child(3) { animation-delay: .22s; }
  .js .hero__pic img { transform: scale(1.07); animation: settle 1.6s var(--ease) .15s forwards; }
  .ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 75ms); }
  .ready [data-reveal].is-in { opacity: 1; transform: none; }
  .ready .tile--pic[data-reveal] > img { transform: scale(1.06); transition: transform 1.2s var(--ease); }
  .ready .tile--pic[data-reveal].is-in > img { transform: none; }
  .ready .row[data-reveal] { transform: translateX(-24px); }
  .ready .row[data-reveal].is-in { transform: none; }
  @keyframes settle-up { from { transform: translateY(14px); } }
  @keyframes settle { to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
