
/* PonderOwl home page (owner, 2026-10-31): the redesign. Loaded after
   site.css on the home page only (website/launch/home.html); every class
   here starts with h- so nothing collides with site.css. Fonts come from
   site.css (self-hosted Fredoka and Nunito); the script is assets/home.js.
   Ideas from free galleries: glass nav (navbar.gallery, glass.samasante.com),
   hero (supahero.io), lit buttons (cta.gallery), tilt cards, scroll-turning
   phones and a fanned deck (scrolltide.co), clay icons in the spirit of
   3dicons.co, drawn in CSS.
   Layout: a deep-forest "night study" hero with a 3D device stage, then
   light paper sections that each get one tactile 3D moment (tilt cards,
   rotating phones, a fanned book deck), closing on a wordmark footer. */
:root {
  --bg: #fbf8f2; --ink: #1c2a26; --muted: #56645f; --card: #ffffff; --line: #e6dfd0; --soft: #edf5f1;
  --accent: #1f4d41; --accent-ink: #ffffff;
  --amber: #f2a33a; --amber-deep: #d9821b; --amber-ink: #2a1a05; --amber-text: #9a5208;
  --hero: #143a30; --hero-2: #1f4d41; --hero-ink: #f6f1e7; --hero-muted: #c4d9d0;
  --glass: rgba(255, 255, 255, .62); --glass-line: rgba(255, 255, 255, .7); --glass-ink: #1c2a26;
  --hero-glass: rgba(255, 255, 255, .09); --hero-glass-line: rgba(255, 255, 255, .18);
  --shadow: 0 1px 2px rgba(28, 42, 38, .06), 0 10px 30px rgba(28, 42, 38, .10);
  --shadow-lift: 0 2px 4px rgba(28, 42, 38, .08), 0 30px 60px -12px rgba(28, 42, 38, .28);
  --display: Fredoka, "Segoe UI", system-ui, sans-serif;
  --text: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 22px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f1714; --ink: #eef3f0; --muted: #a6b6b0; --card: #17221e; --line: #273631; --soft: #15302a;
  --accent: #7fc8b2; --accent-ink: #0f1f1a; --amber-text: #f2b25a;
  --hero: #0c2620; --hero-2: #143a30;
  --glass: rgba(23, 34, 30, .62); --glass-line: rgba(255, 255, 255, .10); --glass-ink: #eef3f0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #0f1714; --ink: #eef3f0; --muted: #a6b6b0; --card: #17221e; --line: #273631; --soft: #15302a;
  --accent: #7fc8b2; --accent-ink: #0f1f1a; --amber-text: #f2b25a;
  --hero: #0c2620; --hero-2: #143a30;
  --glass: rgba(23, 34, 30, .62); --glass-line: rgba(255, 255, 255, .10); --glass-ink: #eef3f0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--text); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--hero); }
.h-page :is(h1, h2, h3) { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; text-wrap: balance; margin: 0; }
.h-page h2 { font-size: clamp(30px, 4.2vw, 46px); }
.h-page h3 { font-size: 24px; }
.h-page p { margin: 0; }
.h-page a { color: var(--accent); text-underline-offset: 3px; }
.h-page img { max-width: 100%; height: auto; display: block; }
main.h-page { padding: 0; }
.h-page :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.h-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.h-eyebrow { font: 800 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); }
.h-lead { font-size: 19px; color: var(--muted); max-width: 58ch; }

/* ── Buttons (cta.gallery: a lit amber pill with a glow ring and a sliding arrow) */
.h-btn { --b: var(--amber); position: relative; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 24px;
       font: 800 16px/1.2 var(--text); text-decoration: none; cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, background .2s; }
.h-btn .h-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .12); transition: transform .25s; }
.h-btn:hover .h-arrow { transform: translateX(4px); }
.h-btn.h-primary { background: linear-gradient(180deg, #ffbf5e, var(--amber) 55%, var(--amber-deep)); color: var(--amber-ink);
               box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 24px -8px rgba(242, 163, 58, .7), 0 0 0 0 rgba(242, 163, 58, .35); }
.h-btn.h-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 30px -10px rgba(242, 163, 58, .8), 0 0 0 6px rgba(242, 163, 58, .22); }
.h-btn.h-glass { background: var(--hero-glass); color: var(--hero-ink); border: 1px solid var(--hero-glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.h-btn.h-glass:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.h-btn.h-solid { background: var(--accent); color: var(--accent-ink); }
.h-btn.h-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.h-btn.h-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.h-btn.h-ghost:hover { background: var(--soft); }

/* ── Clay 3D icons (in the spirit of 3dicons.co; drawn in CSS so the page ships no icon files) */
.h-clay { --c1: #ffd27a; --c2: #f2a33a; position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 30%;
        background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .85) 0 8%, rgba(255, 255, 255, 0) 38%), linear-gradient(150deg, var(--c1), var(--c2));
        box-shadow: inset -6px -9px 14px rgba(0, 0, 0, .20), inset 5px 6px 10px rgba(255, 255, 255, .45), 0 18px 28px -10px rgba(0, 0, 0, .45); }
.h-clay svg { width: 56%; height: 56%; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .22)); }
.h-clay.h-green { --c1: #8fd8bf; --c2: #2e7d66; }
.h-clay.h-cream { --c1: #fffaf0; --c2: #e9dcc2; }
.h-clay.h-berry { --c1: #ffb3a1; --c2: #e0664c; }

/* ── Glass navigation (navbar.gallery: a floating pill that tightens on scroll) */
.h-nav-shell { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding: 12px 0 0; margin-bottom: -76px; pointer-events: none; }
.h-nav { pointer-events: auto; display: flex; align-items: center; gap: 18px; justify-content: space-between; padding: 8px 8px 8px 18px; border-radius: 999px;
       background: rgba(12, 38, 32, .55); border: 1px solid var(--hero-glass-line); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
       box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); transition: padding .25s, background .25s; }
.h-nav-shell.h-scrolled .h-nav { padding-top: 5px; padding-bottom: 5px; background: rgba(12, 38, 32, .82); }
.h-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--hero-ink); text-decoration: none; font: 700 22px/1 var(--display); }
.h-logo img { width: 34px; height: 34px; }
.h-logo b { color: var(--amber); font-weight: 700; }
.h-nav a.h-logo { color: var(--hero-ink); } /* beats .h-page a, which made "Ponder" dark green on the dark bar */
.h-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.h-nav ul a { display: block; color: var(--hero-muted); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.h-nav ul a:hover { color: var(--hero-ink); background: rgba(255, 255, 255, .1); }
.h-nav .h-btn { padding: 10px 18px; font-size: 15px; }

/* ── Hero (supahero: headline left, product stage right) */
.h-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--hero-ink);
        background: radial-gradient(900px 520px at 80% 0%, #2c6b5a 0%, transparent 60%), radial-gradient(700px 500px at 0% 100%, #1f4d41 0%, transparent 65%), var(--hero); }
.h-hero::before, .h-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; }
.h-hero::before { width: 420px; height: 420px; right: 8%; top: 18%; background: #3f8f76; animation: drift 18s ease-in-out infinite alternate; }
.h-hero::after { width: 300px; height: 300px; left: 38%; bottom: -120px; background: #f2a33a; opacity: .22; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.12); } }
.h-stars { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 32% 68%, rgba(255,255,255,.5), transparent),
         radial-gradient(1.5px 1.5px at 58% 14%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 76% 82%, rgba(255,255,255,.45), transparent), radial-gradient(1.2px 1.2px at 90% 40%, rgba(255,255,255,.6), transparent),
         radial-gradient(1px 1px at 46% 44%, rgba(255,255,255,.4), transparent); }
.h-hero .h-wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; padding-top: 128px; padding-bottom: 88px; }
.h-hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin: 18px 0 18px; }
.h-hero h1 .h-shine { color: var(--amber); position: relative; white-space: nowrap; }
.h-hero h1 .h-shine svg { position: absolute; left: -4%; bottom: -10px; width: 108%; height: 16px; }
.h-hero .h-lead { color: var(--hero-muted); }
.h-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--hero-glass); border: 1px solid var(--hero-glass-line);
         font-weight: 800; font-size: 14px; color: var(--hero-ink); }
.h-badge span { background: var(--amber); color: var(--amber-ink); border-radius: 999px; padding: 3px 10px; font-size: 12px; letter-spacing: .04em; }
.h-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.h-soon { font-size: 14px; color: var(--hero-muted); }
.h-soon a { color: var(--hero-ink); }
.h-ticks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.h-ticks li { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--hero-glass); border: 1px solid var(--hero-glass-line); color: var(--hero-ink); }
.h-ticks li::before { content: "✓ "; color: var(--amber); }

/* The 3D stage: laptop and phone in perspective, tilted by the pointer (JS sets --rx/--ry). */
.h-stage { --rx: 8deg; --ry: -14deg; position: relative; perspective: 1400px; min-height: 460px; }
.h-rig { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.h-laptop { position: relative; margin: 30px 0 0 0; width: 100%; transform: translateZ(0); }
.h-laptop .h-screen { border-radius: 16px 16px 6px 6px; padding: 10px; background: linear-gradient(#2a3a35, #1a2421); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255,255,255,.08); }
.h-laptop .h-screen img { border-radius: 8px; }
.h-laptop .h-base { height: 16px; margin: 0 -6%; border-radius: 0 0 22px 22px; background: linear-gradient(#cfd8d4, #93a39d); box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .7); }
.h-phone { width: 32%; max-width: 200px; border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #3a4a45, #121a18); box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255,255,255,.12); }
.h-phone img { border-radius: 24px; }
.h-stage .h-phone { position: absolute; right: -2%; bottom: -34px; transform: translateZ(90px) rotateY(-6deg); }
.h-float { position: absolute; transform-style: preserve-3d; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.h-float.h-f1 { left: -4%; top: 2%; transform: translateZ(140px); }
.h-float.h-f2 { right: 30%; top: -18px; transform: translateZ(60px); animation-delay: -2s; }
.h-float.h-f3 { left: 6%; bottom: -6px; transform: translateZ(120px); animation-delay: -4s; }
.h-float .h-clay { width: 58px; height: 58px; }
.h-explain { position: absolute; left: 12%; bottom: 8%; transform: translateZ(160px); width: min(290px, 62%); padding: 14px 16px; border-radius: 18px;
           background: var(--glass); color: var(--glass-ink); border: 1px solid var(--glass-line); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
           box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); font-size: 14px; line-height: 1.45; animation: bob 7s ease-in-out infinite; animation-delay: -1s; }
.h-explain b { display: flex; align-items: center; gap: 8px; font: 700 17px/1.2 var(--display); color: var(--accent); margin-bottom: 4px; }
.h-explain b i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2e9a6b; color: #fff; font-style: normal; font-size: 13px; }

/* ── Test marquee */
.h-marquee { background: var(--hero-2); color: var(--hero-ink); border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.h-marquee .h-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.h-marquee:hover .h-track { animation-play-state: paused; }
.h-marquee ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 18px 0; }
.h-marquee li { display: flex; align-items: center; gap: 10px; padding: 0 34px; white-space: nowrap; font-weight: 700; color: var(--hero-muted); }
.h-marquee li b { font: 700 20px/1 var(--display); color: var(--hero-ink); }
.h-marquee li::after { content: "✦"; color: var(--amber); margin-left: 34px; font-size: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }

section.h-band { padding-block: 104px; }
.h-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }

/* ── Product cards: 3D tilt with a glare that follows the pointer (scrolltide "Tilt" / "Showcase card") */
.h-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.h-product { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
           box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; overflow: hidden; min-width: 0; }
.h-product::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
                  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255, 255, 255, .35), transparent 45%); mix-blend-mode: soft-light; }
.h-product:hover { box-shadow: var(--shadow-lift); }
.h-product:hover::after { opacity: 1; }
.h-product .h-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.h-product .h-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.h-product:hover .h-art img { transform: scale(1.04); }
.h-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; font: 800 12px/1.2 var(--text); letter-spacing: .04em;
       background: var(--glass); color: var(--glass-ink); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.h-tag.h-live { background: #2e9a6b; color: #fff; border-color: transparent; }
.h-product .h-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.h-product .h-meta { color: var(--muted); font-size: 15px; }
.h-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 2px 0; }
.h-chips li { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.h-chips li.h-on { background: var(--soft); border-color: transparent; color: var(--accent); }
.h-price { font: 700 20px/1.2 var(--display); margin-top: auto; padding-top: 6px; }
.h-price small { font: 400 15px var(--text); color: var(--muted); }
.h-product .h-btn { align-self: flex-start; padding: 11px 18px; font-size: 15px; }

/* ── Feature rows: phones turn to face you as they scroll in (CSS scroll-driven, static where unsupported) */
.h-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-block: 40px; }
.h-feature + .h-feature { border-top: 1px dashed var(--line); }
.h-feature.h-flip .h-copy { order: 2; }
.h-feature .h-copy { display: grid; gap: 14px; min-width: 0; }
.h-feature .h-copy p { color: var(--muted); }
.h-feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.h-feature ul li { display: flex; gap: 10px; align-items: flex-start; }
.h-feature ul li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 163, 58, .2); }
.h-feature .h-title { display: flex; align-items: center; gap: 14px; }
.h-feature .h-title .h-clay { width: 52px; height: 52px; flex: none; }
.h-media { position: relative; display: flex; justify-content: center; gap: 22px; perspective: 1100px; padding: 30px 0; }
.h-media::before { content: ""; position: absolute; inset: 8% 6%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, var(--soft), transparent); }
.h-media .h-phone { width: 44%; max-width: 230px; }
.h-media .h-phone:nth-child(2) { margin-top: 48px; }
.h-media .h-laptop-flat { width: 100%; border-radius: 16px; padding: 9px; background: linear-gradient(#2a3a35, #1a2421); box-shadow: var(--shadow-lift); }
.h-media .h-laptop-flat img { border-radius: 8px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .h-media .h-phone, .h-media .h-laptop-flat { animation: turn-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .h-media .h-phone:nth-child(2) { animation-name: turn-in-2; }
    @keyframes turn-in { from { transform: rotateY(-28deg) rotateX(10deg) translateY(40px); } to { transform: none; } }
    @keyframes turn-in-2 { from { transform: rotateY(28deg) rotateX(10deg) translateY(70px); } to { transform: none; } }
  }
}

/* ── Pricing: glass cards on the forest band; the yearly card stands forward in 3D */
.h-pricing-band { background: radial-gradient(800px 400px at 50% 0%, #2c6b5a, transparent 70%), var(--hero); color: var(--hero-ink); }
.h-pricing-band .h-eyebrow { color: var(--amber); }
.h-pricing-band .h-lead { color: var(--hero-muted); }
.h-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; perspective: 1200px; }
.h-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: var(--r); background: var(--hero-glass); border: 1px solid var(--hero-glass-line);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .3s; }
.h-plan:hover { transform: translateY(-6px); }
.h-plan h3 { font-size: 20px; color: var(--hero-muted); }
.h-plan .h-amount { font: 700 44px/1 var(--display); margin-top: 6px; font-variant-numeric: tabular-nums; }
.h-plan .h-per { color: var(--hero-muted); font-size: 15px; }
.h-plan .h-save { min-height: 1.6em; color: var(--amber); font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.h-plan .h-btn { margin-top: auto; justify-content: center; padding: 12px 16px; font-size: 15px; }
.h-plan.h-best { background: linear-gradient(170deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); border-color: rgba(242, 163, 58, .7);
             transform: translateZ(40px) translateY(-10px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(242, 163, 58, .3); }
.h-plan.h-best:hover { transform: translateZ(40px) translateY(-16px); }
.h-plan.h-best .h-pill { position: absolute; top: -13px; left: 22px; background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: 12px; letter-spacing: .04em; border-radius: 999px; padding: 4px 12px; }
.h-fineprint { margin-top: 26px; font-size: 14px; color: var(--hero-muted); max-width: 80ch; }

/* ── Books: a fanned deck of covers (scrolltide "Fan Deck") */
.h-books { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.h-books .h-copy { display: grid; gap: 16px; min-width: 0; }
.h-books .h-copy p { color: var(--muted); }
.h-deck { position: relative; height: 420px; perspective: 1400px; }
.h-deck img { position: absolute; left: 50%; bottom: 10px; width: 46%; max-width: 230px; border-radius: 6px 12px 12px 6px; box-shadow: -2px 0 0 rgba(0,0,0,.08) inset, var(--shadow-lift);
            transform-origin: 50% 120%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.h-deck img:nth-child(1) { transform: translateX(-50%) rotate(-16deg) translateX(-30px); }
.h-deck img:nth-child(2) { transform: translateX(-50%) rotate(-8deg) translateX(-14px); }
.h-deck img:nth-child(3) { transform: translateX(-50%) rotate(0deg); }
.h-deck img:nth-child(4) { transform: translateX(-50%) rotate(8deg) translateX(14px); }
.h-deck img:nth-child(5) { transform: translateX(-50%) rotate(16deg) translateX(30px); }
.h-deck:hover img:nth-child(1), .h-deck:focus-within img:nth-child(1) { transform: translateX(-50%) rotate(-30deg) translateX(-90px) translateY(-10px); }
.h-deck:hover img:nth-child(2), .h-deck:focus-within img:nth-child(2) { transform: translateX(-50%) rotate(-15deg) translateX(-44px) translateY(-24px); }
.h-deck:hover img:nth-child(3), .h-deck:focus-within img:nth-child(3) { transform: translateX(-50%) translateY(-34px) scale(1.04); }
.h-deck:hover img:nth-child(4), .h-deck:focus-within img:nth-child(4) { transform: translateX(-50%) rotate(15deg) translateX(44px) translateY(-24px); }
.h-deck:hover img:nth-child(5), .h-deck:focus-within img:nth-child(5) { transform: translateX(-50%) rotate(30deg) translateX(90px) translateY(-10px); }

/* ── FAQ */
.h-faq { max-width: 820px; margin: 0 auto; }
.h-faq details { border-bottom: 1px solid var(--line); }
.h-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 700 20px/1.3 var(--display); }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--accent); font: 700 22px/1 var(--display); transition: transform .25s; }
.h-faq details[open] summary::after { transform: rotate(45deg); }
.h-faq details p { padding: 0 0 20px; color: var(--muted); max-width: 68ch; }

/* ── Closing call to action (cta.gallery: a lit card with the mascot breaking the frame) */
.h-cta { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding: 48px; border-radius: 32px; overflow: hidden; color: var(--hero-ink);
       background: radial-gradient(500px 300px at 90% 10%, rgba(242, 163, 58, .35), transparent 70%), linear-gradient(135deg, var(--hero-2), var(--hero)); box-shadow: var(--shadow-lift); }
.h-cta h2 { font-size: clamp(30px, 4vw, 44px); }
.h-cta p { color: var(--hero-muted); margin: 14px 0 24px; max-width: 52ch; }
.h-cta .h-owl { justify-self: center; width: min(220px, 70%); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); animation: bob 6s ease-in-out infinite; }

.h-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
  .h-hero .h-wrap, .h-feature, .h-books, .h-cta { grid-template-columns: 1fr; }
  .h-hero .h-wrap { padding-top: 112px; gap: 36px; }
  .h-stage { min-height: 0; margin-bottom: 30px; }
  .h-float.h-f1 { left: 2%; top: -14px; }
  .h-stage .h-phone { right: 0; }
  .h-products { grid-template-columns: 1fr; max-width: 560px; }
  .h-plans { grid-template-columns: 1fr 1fr; }
  .h-plan.h-best { transform: none; }
  .h-feature.h-flip .h-copy { order: 0; }
  .h-nav ul { display: none; }
  .h-cta { padding: 32px 24px; }
  .h-cta .h-owl { width: 140px; }
}
@media (max-width: 560px) {
  section.h-band { padding-block: 72px; }
  .h-plans { grid-template-columns: 1fr; }
  .h-deck { height: 330px; }
  .h-float.h-f2 { display: none; }
  .h-explain { left: 2%; width: 70%; font-size: 13px; }
  .h-nav .h-btn .h-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
