/* =========================================================
   Apprendre à Lire — Design system
   Brand: Lirou the polar bear · pine green · crimson · cream
   ========================================================= */

/* ---- Theme tokens ------------------------------------- */
:root {
  /* Brand palette */
  --green-900: #0E463C;
  --green-800: #114E42;
  --green-700: #16614F;
  --green-600: #1C7A64;
  --green-500: #2A9479;
  --teal: #2AA0B5;
  --teal-soft: #8FD0DA;
  --crimson: #C23A57;
  --crimson-dark: #A12E47;
  --crimson-soft: #F2D6DD;
  --gold: #F4B62C;
  --ink: #21302B;
  --muted: #5E6F69;
  --cream: #F4EEE2;
  --cream-deep: #ECE3D2;
  --white: #ffffff;

  /* Semantic (driven by theme) */
  --page-bg: var(--cream);
  --section-alt: #FBF7EE;
  --surface: #ffffff;
  --text: var(--ink);
  --text-soft: var(--muted);
  --primary: var(--green-700);
  --primary-strong: var(--green-900);
  --accent: var(--crimson);
  --accent-strong: var(--crimson-dark);
  --on-primary: #ffffff;

  /* Hero */
  --hero-bg: radial-gradient(120% 90% at 80% 0%, #FBF7EE 0%, var(--cream) 55%, var(--cream-deep) 100%);
  --hero-text: var(--ink);
  --hero-text-soft: var(--muted);
  --hero-chip-bg: rgba(255,255,255,.72);
  --hero-chip-text: var(--green-800);

  /* Type */
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(14,70,60,.07);
  --shadow-md: 0 14px 38px -14px rgba(14,70,60,.28);
  --shadow-lg: 0 40px 80px -32px rgba(14,70,60,.42);
  --ring: 0 0 0 4px rgba(42,160,181,.22);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---- Theme: Aventure (deep, immersive) ---------------- */
[data-theme="aventure"] {
  --page-bg: #0E463C;
  --section-alt: #0B3A31;
  --surface: #12564A;
  --text: #EAF3EF;
  --text-soft: #A9C6BD;
  --primary: #2A9479;
  --primary-strong: #6FE0BD;
  --on-primary: #06241E;
  --hero-bg: radial-gradient(130% 100% at 78% -10%, #1C7A64 0%, #114E42 48%, #0B3A31 100%);
  --hero-text: #F4F9F6;
  --hero-text-soft: #BFD9D0;
  --hero-chip-bg: rgba(255,255,255,.12);
  --hero-chip-text: #EAF3EF;
}
[data-theme="aventure"] .btn--ghost { border-color: rgba(255,255,255,.35); color: #EAF3EF; }
[data-theme="aventure"] .feature-card,
[data-theme="aventure"] .step,
[data-theme="aventure"] .faq,
[data-theme="aventure"] .quote,
[data-theme="aventure"] .post-card { background: var(--surface); border-color: rgba(255,255,255,.08); }
[data-theme="aventure"] .trust-strip { background: rgba(255,255,255,.06); }

/* ---- Theme: Lumineux (airy teal) ---------------------- */
[data-theme="lumineux"] {
  --page-bg: #EAF6F8;
  --section-alt: #ffffff;
  --primary: #137E92;
  --primary-strong: #0C5C6B;
  --accent: #C23A57;
  --hero-bg: radial-gradient(120% 95% at 80% 0%, #FFFFFF 0%, #DCF0F4 50%, #BFE4EB 100%);
  --hero-text: #0C3F48;
  --hero-text-soft: #3E6E76;
  --hero-chip-bg: rgba(255,255,255,.85);
  --hero-chip-text: #0C5C6B;
}

/* ---- Accent override hooks (tweaks) ------------------- */
[data-accent="teal"]   { --accent: #1C8CA0; --accent-strong: #126374; }
[data-accent="gold"]   { --accent: #E0962A; --accent-strong: #B5751B; }
[data-accent="crimson"]{ --accent: #C23A57; --accent-strong: #A12E47; }

/* ---- Reset / base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--text);
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }

/* ---- Layout helpers ----------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 116px); }
.section--alt { background: var(--section-alt); }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
h2.display { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); }

/* ---- Buttons ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  padding: .92rem 1.5rem; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -10px var(--accent-strong); }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(33,48,43,.2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---- Store badges ------------------------------------- */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-width: 180px;
  background: #16201C; color: #fff;
  padding: 11px 20px 11px 16px; border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge .sb-top { font-size: .68rem; opacity: .8; letter-spacing: .02em; }
.store-badge .sb-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; white-space: nowrap; }

/* ---- Header ------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--page-bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--text); }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 700; font-size: .98rem; color: var(--text-soft); transition: color .15s; }
.nav a:hover { color: var(--accent); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---- Hero --------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-text); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero h1 { color: var(--hero-text); font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.02em; }
.hero h1 .hl { color: var(--accent); }
.hero .sub { font-size: clamp(1.08rem, 1.7vw, 1.4rem); color: var(--hero-text-soft); max-width: 33ch; margin-bottom: 1.7rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.5rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hero-chip-bg); color: var(--hero-chip-text);
  font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 17px; height: 17px; }

/* rating row */
.rating { display: flex; align-items: center; gap: 16px; margin-bottom: 1.6rem; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 22px; height: 22px; }
.rating .rate-txt { font-weight: 700; color: var(--hero-text); }
.rating .rate-txt span { color: var(--hero-text-soft); font-weight: 600; }

/* hero art */
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .blob {
  position: absolute; inset: 6% 2% 0 2%;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--teal) 45%, transparent), transparent 62%);
  filter: blur(8px); z-index: 0;
}
.hero-art .lirou { position: relative; z-index: 2; width: min(78%, 420px); filter: drop-shadow(0 30px 40px rgba(14,70,60,.28)); animation: bob 5.5s ease-in-out infinite; }
.hero-badge {
  position: absolute; z-index: 3; background: var(--surface); color: var(--text);
  border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .92rem;
}
.hero-badge .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 20%, #fff); color: var(--green-700); flex: none; }
.hero-badge .ico svg { width: 20px; height: 20px; }
.hero-badge.b1 { top: 8%; left: -2%; }
.hero-badge.b2 { bottom: 12%; right: -3%; }
.hero-badge .big { font-family: var(--font-display); font-size: 1.25rem; line-height: 1; }
.hero-badge small { color: var(--text-soft); font-weight: 600; display: block; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- Trust strip -------------------------------------- */
.trust-strip { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(22px,3vw,34px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -42px; position: relative; z-index: 5; }
.trust-strip .t { text-align: center; }
.trust-strip .t .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--primary); line-height: 1; }
.trust-strip .t .l { font-size: .92rem; color: var(--text-soft); font-weight: 600; }
.trust-strip .t + .t { border-left: 1px solid color-mix(in srgb, var(--text) 9%, transparent); }

/* ---- Video -------------------------------------------- */
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: #08221C; max-width: 940px; margin-inline: auto; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-poster { position: absolute; inset: 0; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-poster .play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .2s; }
.video-poster:hover .play { transform: scale(1.08); }
.video-poster .play svg { width: 34px; height: 34px; fill: #fff; margin-left: 5px; }
.video-poster::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,34,28,.1), rgba(8,34,28,.45)); }

/* ---- Features ----------------------------------------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(56px, 8vw, 104px); }
.feature-row:nth-child(even) .feature-media { order: -1; }
.feature-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); transform: rotate(-1.2deg); transition: transform .3s ease; }
.feature-row:nth-child(even) .feature-media { transform: rotate(1.2deg); }
.feature-media:hover { transform: rotate(0); }
.feature-media img { width: 100%; }
.feature-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-copy .num { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: .95rem; letter-spacing: .04em; margin-bottom: .4rem; }
.feature-copy ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .65rem; }
.feature-copy li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; color: var(--text-soft); }
.feature-copy li svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }

/* feature grid (compact) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: var(--surface); border: 1px solid color-mix(in srgb, var(--text) 7%, transparent); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card .ficon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 18%, #fff); color: var(--primary); margin-bottom: 16px; }
[data-theme="aventure"] .feature-card .ficon { background: rgba(255,255,255,.1); color: var(--primary-strong); }
.feature-card .ficon svg { width: 27px; height: 27px; }
.feature-card h3 { font-size: 1.28rem; }
.feature-card p { color: var(--text-soft); margin: 0; font-size: .98rem; }

/* ---- Steps -------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; border: 1px solid color-mix(in srgb, var(--text) 7%, transparent); }
.step .sn { counter-increment: s; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step .sn::before { content: counter(s); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--text-soft); margin: 0; font-size: .98rem; }

/* ---- Testimonials ------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid color-mix(in srgb, var(--text) 7%, transparent); display: flex; flex-direction: column; }
.quote .stars { margin-bottom: 12px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { font-size: 1.05rem; color: var(--text); font-weight: 600; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 11px; padding-top: 14px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--accent-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.quote .who .nm { display: block; font-weight: 800; font-family: var(--font-display); font-size: .98rem; }
.quote .who .rl { display: block; font-size: .84rem; color: var(--text-soft); }

/* ---- FAQ ---------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq { background: var(--surface); border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); display: grid; place-items: center; transition: transform .25s; font-size: 1.3rem; line-height: 1; }
.faq[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--text-soft); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---- Blog teaser / cards ------------------------------ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid color-mix(in srgb, var(--text) 7%, transparent); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-deep); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.post-card h3 { font-size: 1.24rem; margin-bottom: .5rem; }
.post-card p { color: var(--text-soft); font-size: .96rem; flex: 1; }
.post-card .more { font-family: var(--font-display); font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.post-card .more svg { width: 18px; height: 18px; transition: transform .2s; }
.post-card:hover .more svg { transform: translateX(4px); }

/* ---- CTA band ----------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; border-radius: var(--r-lg); padding: clamp(38px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 48ch; }
.cta-band .stores { margin-top: 26px; }
.cta-band .lirou-grad { position: absolute; right: 3%; bottom: -10px; width: min(34%, 280px); filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.cta-band .inner { max-width: 60%; position: relative; z-index: 2; }

/* ---- Footer ------------------------------------------- */
.site-footer { background: var(--green-900); color: #CFE2DB; padding-block: 56px 30px; }
.site-footer a { color: #CFE2DB; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .96rem; }
.footer-note { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: .85rem; color: #9DBAB1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

/* ---- Breadcrumb / article ----------------------------- */
.breadcrumb { font-size: .9rem; color: var(--text-soft); padding-top: 22px; }
.breadcrumb a:hover { color: var(--accent); }
.article-head { max-width: 760px; margin-inline: auto; text-align: center; padding-block: clamp(28px,5vw,56px) 18px; }
.article-head .tag { color: var(--accent); font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: .5rem 0; }
.article-meta { color: var(--text-soft); font-size: .94rem; }
.article-hero-img { max-width: 980px; margin: 0 auto clamp(30px,5vw,52px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.prose { max-width: 720px; margin-inline: auto; font-size: 1.12rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p { margin-bottom: 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.prose blockquote { margin: 1.6em 0; padding: 18px 26px; border-left: 4px solid var(--accent); background: var(--section-alt); border-radius: 0 var(--r-md) var(--r-md) 0; font-style: italic; color: var(--text); }
.prose .callout { background: color-mix(in srgb, var(--teal) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--teal) 28%, transparent); border-radius: var(--r-md); padding: 22px 26px; margin: 1.8em 0; }
.prose .callout h3 { margin-top: 0; color: var(--primary-strong); }
.prose a.inline { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.toc { background: var(--section-alt); border-radius: var(--r-md); padding: 20px 26px; margin-bottom: 2em; }
.toc strong { font-family: var(--font-display); }
.toc ul { margin: .6em 0 0; }
.article-cta { max-width: 720px; margin: clamp(40px,6vw,64px) auto 0; }

/* ---- Reveal animation --------------------------------- */
/* Only hide when JS is active (html.js) so content is never stranded.
   Uses a keyframe animation with fill-mode forwards: the final frame is
   rendered even in non-compositing contexts (screenshots/PDF/social). */
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { animation: revealIn .7s ease forwards; }
@keyframes revealIn { to { opacity: 1; transform: none; } }

/* ---- Responsive --------------------------------------- */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-inline: auto; }
  .hero-cta, .hero-chips, .rating { justify-content: center; }
  .hero-art { margin-top: 18px; }
  .hero-art .lirou { width: min(60%, 320px); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .t:nth-child(3) { border-left: 0; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row .feature-media, .feature-row:nth-child(even) .feature-media { order: -1; transform: none; }
  .feature-grid, .steps, .quotes, .post-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .inner { max-width: 100%; }
  .cta-band .lirou-grad { opacity: .16; right: -4%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--page-bg); padding: 18px var(--gutter) 26px; gap: 16px; box-shadow: var(--shadow-md); }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--text) 14%, transparent); background: var(--surface); }
  .nav-toggle svg { width: 24px; height: 24px; }
  .header-cta { display: none; }
  .feature-grid, .steps, .quotes, .post-grid, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip .t + .t { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--text) 9%, transparent); padding-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .store-badge { flex: 1; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-art .lirou { animation: none; }
  html.js .reveal { opacity: 1; transform: none; animation: none; }
}
