/* The five design proposals (2026-11-08): one plain layout, big and clear for young and old.
   Each t<n>.css sets the colours and shapes through the variables below. */
@font-face { font-family: "Inter NC"; src: url("../assets/fonts/inter.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter NC"; src: url("../assets/fonts/inter-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --font: "Inter NC", system-ui, sans-serif;
  --font-head: "Inter NC", system-ui, sans-serif;
  --bg: #ffffff; --bg2: #f1f8ec; --text: #14201a; --text2: #4a5a4f; --line: #d9e6d2;
  --accent: #2a7a22; --accent-hover: #236b1c; --accent-ink: #ffffff; --soft: #e3f3d8; --soft-ink: #1f5c19;
  --card: #ffffff; --radius: 18px; --radius-btn: 999px; --shadow: 0 6px 24px rgba(20, 50, 20, .08);
  --stage-bg: #0d1a10; --bar: rgba(255, 255, 255, .9); --bar-ink: #14201a; --hero: linear-gradient(180deg, #eaf6e1, #ffffff);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.1875rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: 10px; }
.skip:focus { top: 12px; }
.svg-defs { display: none; }
[hidden] { display: none !important; }

/* The banner that says which design this is. */
.choose { padding: 8px 20px; background: #10301a; color: #e4f6d8; font-size: .95rem; text-align: center; }
.choose a { color: #9be37a; font-weight: 700; }

/* Buttons: big, round, one clear main one. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius-btn); font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, transform .12s, box-shadow .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-main:hover { background: var(--accent-hover); }
.btn-soft { background: var(--soft); color: var(--soft-ink); }
.btn-soft:hover { filter: brightness(.96); }
.btn-big { min-height: 60px; padding: 0 32px; font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* The bar. */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bar); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bar-ink); font: 700 1.35rem/1 var(--font-head); }
.bar-links { display: flex; align-items: center; gap: 22px; }
.bar-links a:not(.btn) { color: var(--bar-ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.bar-links a:not(.btn):hover { color: var(--accent); }

/* The hero. */
.hero { background: var(--hero); padding: 64px 0 72px; text-align: center; }
.hero-leaf { width: 96px; height: 96px; margin: 0 auto 18px; }
.badge { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--soft); color: var(--soft-ink); font-weight: 700; font-size: 1rem; }
.hero h1 { margin-top: 18px; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.03em; }
.hero-line { margin-top: 14px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--text2); }
.hero-shot { width: min(1000px, 100%); margin: 48px auto 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* What it can do: one big button per chapter. */
.features { padding: 80px 0; background: var(--bg2); }
.features h2, .chapter h2, .final h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; text-align: center; }
.lead { margin: 14px auto 0; max-width: 46ch; font-size: 1.25rem; color: var(--text2); text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--text); border: 2px solid transparent; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 6px); margin-bottom: 6px; }
.card strong { font-size: 1.25rem; padding-inline: 6px; }
.card span { font-size: 1rem; color: var(--text2); padding-inline: 6px; }

/* The store band: where to buy it, impossible to miss. */
.store { padding: 48px 0; background: var(--accent); color: var(--accent-ink); }
.store-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; text-align: left; }
.store-inner img { width: 64px; height: 64px; }
.store h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: inherit; text-align: left; }
.store p { margin-top: 6px; font-size: 1.25rem; }
.store .btn-main { background: var(--accent-ink); color: var(--accent); }

/* A chapter: title, one line, the video big, the buttons under it. */
.chapter { padding: 80px 0; }
.chapter:nth-of-type(even) { background: var(--bg2); }
.stage { position: relative; margin-top: 34px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--stage-bg); box-shadow: var(--shadow); }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.js .stage-video:not(.is-shown) { opacity: 0; }
.stage-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; color: #fff; background: var(--stage-bg); }
.stage-soon img { width: 48px; height: 48px; }
.stage-soon p { font-size: 1.6rem; font-weight: 700; }
.stage-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
.stage-toggle svg { width: 20px; height: 20px; }
.stage-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.stage-note { margin-top: 14px; min-height: 2lh; font-size: 1.1rem; color: var(--text2); text-align: center; transition: opacity .2s; }
.stage-note strong { color: var(--text); }
.stage-note.is-swapping { opacity: 0; }
.pick { margin-top: 18px; text-align: center; font-weight: 700; font-size: 1.05rem; color: var(--text2); }
.seg-wrap { position: relative; margin-top: 12px; }
.seg { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tab { min-height: 52px; padding: 0 22px; border-radius: var(--radius-btn); border: 2px solid var(--line); background: var(--card); color: var(--text); font: 700 1.05rem/1 var(--font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tab:hover { border-color: var(--accent); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.paddle { display: none; }

/* The end and the footer. */
.final { padding: 90px 0; text-align: center; background: var(--hero); }
.final img { margin: 0 auto 16px; }
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--text2); font-size: 1rem; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 14px; }
.foot a, .foot-consent { color: var(--text); font: 700 1rem var(--font); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }

/* The analytics question (consent.js). */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: min(30rem, calc(100% - 32px)); padding: 22px; border-radius: var(--radius); background: var(--card); color: var(--text); box-shadow: 0 10px 40px rgba(0, 0, 0, .18); font-size: 1.05rem; transition: opacity .25s, transform .25s; }
.js .consent:not(.is-open) { opacity: 0; transform: translateY(12px); }
.consent-actions { display: flex; gap: 10px; margin-top: 16px; }
.consent-actions .btn { flex: 1; background: var(--soft); color: var(--soft-ink); }

/* The chooser. */
.chooser main { padding: 70px 0 90px; text-align: center; }
.chooser main > img { margin: 0 auto 14px; }
.chooser h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 44px; text-align: left; }
.pickcard { display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 26px; border-radius: 22px; text-decoration: none; border: 3px solid transparent; transition: transform .2s; }
.pickcard:hover { transform: translateY(-4px); }
.pickcard .num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; font-size: 1.5rem; font-weight: 700; }
.pickcard strong { font-size: 1.6rem; margin-top: 8px; }
.t1-swatch { background: linear-gradient(160deg, #ffffff, #e3f3d8); color: #14201a; border-color: #cfe6c0; }
.t1-swatch .num { background: #2a7a22; color: #fff; }
.t2-swatch { background: linear-gradient(160deg, #0f1f14, #183823); color: #e8f7df; }
.t2-swatch .num { background: #7fdc4f; color: #0d1a10; }
.t3-swatch { background: #c9f2c0; color: #123010; border-color: #123010; box-shadow: 6px 6px 0 #123010; }
.t3-swatch .num { background: #ffd23f; color: #123010; border: 3px solid #123010; }
.t4-swatch { background: #fff; color: #14201a; border-color: #1e7a3a; border-top: 18px solid #1e7a3a; }
.t4-swatch .num { background: #1e7a3a; color: #fff; }
.t5-swatch { background: linear-gradient(140deg, #1d6b34, #5fbf4a 60%, #c4ec8c); color: #fff; }
.t5-swatch .num { background: rgba(255, 255, 255, .25); color: #fff; border: 2px solid rgba(255, 255, 255, .6); }

@media (max-width: 760px) {
  body { font-size: 1.1rem; }
  .bar-links a:not(.btn) { display: none; }
  .brand span { font-size: 1.15rem; }
  .hero { padding: 40px 0 56px; }
  .chapter, .features { padding: 56px 0; }
  .seg { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .btn-big { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
