/* Eureka hub: the night sky. One stylesheet for every page. */
:root {
  --night: #070b1a;
  --night-2: #0c1330;
  --ink: #f4ecdf;
  --muted: #a7aec4;
  --faint: #6b7392;
  --amber: #ffb547;
  --amber-2: #ff8a3d;
  --gold: #ffd98a;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .035);
  --radius: 18px;
  --wrap: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
/* Moving between the hub and the worlds (same site) crossfades instead of flashing. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber); }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; }
.glow { color: var(--amber); text-shadow: 0 0 28px rgba(255, 181, 71, .45); font-style: italic; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin: 0 0 18px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.scrolled { background: rgba(7, 11, 26, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.3rem/1 var(--serif); letter-spacing: .01em; }
.brand-logo { display: block; height: 1.32rem; width: auto; overflow: visible; }
.brand-light { fill: var(--amber); }
.brand-halo { fill: var(--amber); opacity: .45; animation: halo 3.2s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .15; } }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber), 0 0 26px var(--amber-2); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; box-shadow: 0 0 6px var(--amber); } }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex: none; }
.langs a { min-width: 34px; padding: 5px 10px; border-radius: 999px; text-align: center; font: 600 .76rem/1.2 var(--sans); letter-spacing: .04em; color: var(--muted); text-decoration: none; transition: background .25s, color .25s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--amber); color: #1a1205; }
/* Phones: the language switch stays in the bar (one tap, no menu); the menu opens as a full-screen sheet. */
.menu-btn { display: none; position: relative; flex: none; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.menu-btn i { position: absolute; left: 11px; width: 18px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.menu-btn i:first-child { top: 16px; } .menu-btn i:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 820px) {
  .top .wrap { gap: 10px; height: 60px; }
  .menu-btn { display: block; }
  .top .langs-top { margin-left: auto; }
  .langs-top a { min-width: 0; padding: 6px 10px; }
  .nav {
    position: fixed; top: 60px; left: 0; right: 0; height: calc(100dvh - 60px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 18px max(24px, env(safe-area-inset-left)) 40px; background: rgba(7, 11, 26, .97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s;
  }
  .nav.open { visibility: visible; opacity: 1; transition: opacity .3s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 1.7rem/1.2 var(--serif); color: var(--ink); opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s cubic-bezier(.2, .7, .2, 1); }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(2) { transition-delay: .04s; } .nav.open a:nth-child(3) { transition-delay: .08s; } .nav.open a:nth-child(4) { transition-delay: .12s; }
  .nav a[aria-current] { color: var(--amber); }
  .menu-open .top { background: rgba(7, 11, 26, .97); border-color: var(--line); }
  .menu-open body { overflow: hidden; }
}
@media (max-width: 360px) { .top .wrap { gap: 6px; } .brand { font-size: 1.15rem; } .brand-logo { height: 1.15rem; } .langs-top a { padding: 6px 8px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font: 600 .98rem/1 var(--sans); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--amber) 45%, var(--amber-2)); color: #1a1205; box-shadow: 0 8px 30px rgba(255, 150, 60, .28); }
.btn-primary:hover { color: #1a1205; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 150, 60, .42); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .22); color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 70px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 75% 40%, rgba(255, 170, 70, .10), transparent 70%),
              radial-gradient(70% 60% at 10% 100%, rgba(70, 90, 200, .18), transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; }
.hero h1 { max-width: 11em; }
.lumo-stage { position: relative; aspect-ratio: 1; width: min(420px, 100%); justify-self: center; cursor: pointer; }
.lumo-stage::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 90, .35), transparent 70%); filter: blur(10px); }
.lumo-stage svg, .lumo-stage img { position: relative; width: 100%; height: auto; display: block; }
.lumo-say {
  position: absolute; top: 4%; left: 50%; transform: translate(-50%, 8px); opacity: 0; transition: .35s;
  font: italic 500 1.5rem/1 var(--serif); color: var(--gold); text-shadow: 0 0 20px var(--amber); pointer-events: none; white-space: nowrap;
}
.lumo-say.on { opacity: 1; transform: translate(-50%, 0); }
.hero-note { margin-top: 26px; font-size: .9rem; color: var(--faint); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .lumo-stage { width: 230px; order: -1; margin-bottom: -10px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.band { padding: clamp(80px, 11vw, 140px) 0; }
.band-head { max-width: 760px; margin-bottom: 48px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Constellation ---------- */
.map { position: relative; margin: 10px 0 56px; }
.map svg { width: 100%; height: auto; display: block; overflow: visible; }
.map .edge { stroke: rgba(255, 200, 120, .35); stroke-width: 1.2; fill: none; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.4s ease; }
.map .edge.future { stroke: rgba(170, 180, 220, .18); stroke-dasharray: 4 7; stroke-dashoffset: 0; opacity: 0; transition: opacity 2s 1.2s; }
.map.lit .edge { stroke-dashoffset: 0; }
.map.lit .edge.future { opacity: 1; }
.map .node circle.core { fill: var(--gold); filter: url(#bloom); }
.map .node.future circle.core { fill: #2a3358; stroke: rgba(190, 200, 240, .5); stroke-width: 1.2; filter: none; }
.map .node circle.halo { fill: rgba(255, 181, 71, .14); transform-box: fill-box; transform-origin: center; animation: breathe 4s ease-in-out infinite; }
.map .node.future circle.halo { display: none; }
.map .node text { font: 500 19px var(--serif); fill: var(--ink); }
.map .node text.sub { font: 500 12px var(--sans); fill: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.map .node.future text { fill: var(--faint); }
.map a.node:hover circle.core { fill: #fff; }
.map .node { opacity: 0; transition: opacity 1s; }
.map.lit .node { opacity: 1; }
@keyframes breathe { 50% { transform: scale(1.35); opacity: .5; } }
#spark { fill: #fff; filter: url(#bloom); }
@media (max-width: 620px) { .map .node text { display: none; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255, 181, 71, .09), transparent 60%), var(--card);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .3s;
}
a.card:hover { color: var(--ink); border-color: rgba(255, 181, 71, .45); transform: translateY(-3px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
html:not(.owner) .owner-only { display: none !important; } /* in-preparation worlds: the owner only (account.js) */
.grid-5 { margin-top: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.grid-5 .card { padding: 22px; }
.grid-5 .card p { font-size: .9rem; }
.card .icon { width: 46px; height: 46px; margin-bottom: 22px; color: var(--amber); }
.card.future .icon { color: var(--faint); }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0 0 18px; color: var(--muted); }
.card .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 600 .72rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); }
.pill.live { background: rgba(120, 220, 160, .12); color: #9be8b9; border-color: rgba(120, 220, 160, .3); }
.pill.building { background: rgba(255, 181, 71, .12); color: var(--gold); border-color: rgba(255, 181, 71, .3); }
.pill.exploring { color: #b9c2ea; }
.card .go { margin-left: auto; color: var(--amber); font-weight: 600; }
.card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: linear-gradient(120deg, rgba(255, 181, 71, .10), rgba(255, 255, 255, .02) 60%); }
.card.feature .icon { margin: 0; }
@media (max-width: 700px) { .card.feature { grid-template-columns: 1fr; } }

/* ---------- Principles ---------- */
.principles { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); border-top: 1px solid var(--line); }
.principles > div { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.principles .n { font: italic 500 2.4rem/1 var(--serif); color: var(--amber); display: block; margin-bottom: 14px; }
.principles h3 { font-size: 1.25rem; }
.principles p { color: var(--muted); margin: 0; }

/* ---------- Quote ---------- */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 18em; font: italic 400 clamp(1.8rem, 4vw, 3rem)/1.2 var(--serif); }
.quote cite { display: block; margin-top: 22px; font: 600 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); font-style: normal; }

/* ---------- Lab ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { background: none; border: 1px solid var(--line); color: var(--muted); padding: 8px 16px; border-radius: 999px; font: 600 .85rem var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); }
.idea time { font-size: .82rem; color: var(--faint); }

/* ---------- Page header & prose ---------- */
.page-head { padding: 150px 0 40px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose p, .prose li { color: #d6d0c4; }
.cta-band { text-align: center; padding: 110px 0 120px; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btns { justify-content: center; }
.float-img { width: 150px; margin: 0 auto 10px; display: block; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(255, 181, 71, .35)); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: .92rem; color: var(--muted); }
.foot .cols { display: grid; gap: 30px; grid-template-columns: 1.6fr repeat(3, 1fr); }
.foot h4 { margin: 0 0 12px; font: 600 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .legal { margin-top: 40px; font-size: .8rem; color: var(--faint); }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* ---------- Smarter Stronger: same night, a warmer dawn at the top ---------- */
body.ss .ss-hero::before {
  content: ""; position: absolute; inset: 0 0 -120px; pointer-events: none; z-index: -1;
  background: radial-gradient(55% 70% at 85% 10%, rgba(255, 170, 70, .13), transparent 70%),
              radial-gradient(50% 60% at 0% 30%, rgba(111, 155, 255, .10), transparent 70%);
}
.ladder { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 10px; }
.ladder li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.ladder li:hover { border-color: rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .05); }
.ladder b { font: italic 500 1.7rem/1 var(--serif); color: var(--amber); }
.ladder span { color: #d6d0c4; }
.ss-hero { padding: 150px 0 60px; isolation: isolate; }
.ss-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 820px) { .ss-split { grid-template-columns: 1fr; gap: 20px; } }
.not { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.not span { padding: 8px 14px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .2); color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 181, 71, .7); }

/* ---------- Coaching band (home) ---------- */
.coach-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 28px;
  border: 1px solid rgba(255, 181, 71, .16);
  background: radial-gradient(70% 110% at 0% 0%, rgba(255, 181, 71, .13), transparent 60%), linear-gradient(135deg, #10183a, var(--night-2)); }
.coach-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.coach-steps li { display: flex; gap: 14px; align-items: center; padding: 12px 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .95rem; }
.coach-steps b { font: italic 500 1.3rem/1 var(--serif); color: var(--amber); width: 18px; }
@media (max-width: 820px) { .coach-box { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Funnel (Smarter Stronger) ---------- */
.trust { margin-top: 18px; font-size: .88rem; color: var(--faint); }
.pains { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 30px; }
.pain { padding: 26px; background: var(--card); border-radius: 16px; border: 1px solid var(--line); }
.pain h3 { font-size: 1.25rem; }
.pain p { margin: 0; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; }
.steps li > b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .35); color: var(--gold); font: italic 500 1.3rem var(--serif); }
.steps h3 { font-size: 1.25rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }
.diag { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(28px, 5vw, 56px); border-radius: 28px; color: var(--ink);
  border: 1px solid rgba(255, 181, 71, .18); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  background: radial-gradient(70% 70% at 50% 0%, rgba(255, 181, 71, .12), transparent 70%), var(--night-2); }
.diag .lead { margin-inline: auto; }
.diag .eyebrow { color: #ffb547; }
.diag-body { margin-top: 26px; }
.diag-q { font: 500 1.35rem/1.35 var(--serif); margin: 10px 0 22px; }
.diag-progress { height: 4px; background: rgba(255, 255, 255, .12); border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.diag-progress i { display: block; height: 100%; background: #ffb547; transition: width .3s; }
.diag-opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.diag-opts button, .diag-back { background: rgba(255, 255, 255, .06); color: #f4ecdf; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 12px 22px; font: 600 .95rem var(--sans); cursor: pointer; }
.diag-opts button:hover { background: #ffb547; color: #1a1205; border-color: #ffb547; }
.diag-back { margin-top: 16px; background: none; border: 0; color: #a7aec4; padding: 6px; }
.diag-meta { font-size: .8rem; color: #a7aec4; letter-spacing: .08em; text-transform: uppercase; }
.diag-res h3 { font-size: 2rem; color: #ffd98a; margin: 8px 0 12px; }
.diag-gate { margin-top: 28px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.diag-gate .small { font-size: .8rem; color: #a7aec4; margin-top: 12px; }
.diag .form label span { color: var(--muted); }
/* Coaching plans: three quiet cards, the recommended one lit. The meter shows the week's eight hours by kind. */
.plans { --p0: var(--gold); --p1: var(--amber); --p2: var(--amber-2); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-top: 8px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 22px;
  background: linear-gradient(175deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.plan:hover { border-color: rgba(255, 181, 71, .3); }
.plan.featured {
  background: radial-gradient(520px circle at 50% -10%, rgba(255, 181, 71, .14), transparent 62%), linear-gradient(175deg, #141c3f, #0c1330);
  border-color: rgba(255, 181, 71, .42); box-shadow: 0 30px 70px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 181, 71, .08) inset;
}
.plan-badge { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; font: 600 .72rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #1a1205; background: linear-gradient(135deg, var(--gold), var(--amber)); }
.plan h3 { font-size: 1.7rem; margin: 0 0 6px; }
.plan-line { color: var(--muted); font-size: .95rem; line-height: 1.5; margin: 0 0 22px; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 20px; }
.plan-price b { font: 500 2.7rem/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.featured .plan-price b { color: var(--gold); }
.plan-price span { color: var(--faint); font-size: .9rem; }
.plan-hours { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; row-gap: 10px; padding: 16px 0; border-block: 1px solid var(--line); }
.plan-hours > b { font: 500 1.6rem/1 var(--serif); color: var(--ink); }
.plan-hours > span { color: var(--muted); font-size: .88rem; }
.plan-meter { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.plan-meter i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.plan-meter .m0 { background: var(--p0); } .plan-meter .m1 { background: var(--p1); } .plan-meter .m2 { background: var(--p2); }
.plan-list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 22px; font-size: .95rem; line-height: 1.45; color: var(--ink); }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--faint); }
.plan-list li.p0::before { background: var(--p0); border-color: var(--p0); }
.plan-list li.p1::before { background: var(--p1); border-color: var(--p1); }
.plan-list li.p2::before { background: var(--p2); border-color: var(--p2); }
.plan-go { justify-content: center; text-align: center; width: 100%; }
.plan-foot { margin-top: 26px; display: grid; gap: 8px; text-align: center; }
.plan-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 0; font-size: .82rem; color: var(--muted); }
.plan-legend span::before { content: ""; display: inline-block; width: 14px; height: 6px; border-radius: 3px; margin-right: 8px; vertical-align: middle; background: var(--gold); }
.plan-legend .p1::before { background: var(--amber); } .plan-legend .p2::before { background: var(--amber-2); }
.plan-fine { margin: 0; font-size: .82rem; color: var(--faint); }
.plan-more { margin: 6px 0 0; font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.plan-more a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(255, 181, 71, .45); }
.plan-more a:hover { color: var(--amber); }
.plan-more .portal:not([hidden]) { display: inline; }
.plan-tabs { display: none; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan-tabs:not([hidden]) { display: flex; gap: 4px; padding: 4px; margin: 0 auto 26px; max-width: 460px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
  .plan-tabs button { flex: 1; padding: 10px 6px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 .9rem var(--sans); cursor: pointer; transition: background .25s, color .25s; }
  .plan-tabs button[aria-selected="true"] { background: rgba(255, 181, 71, .16); color: var(--gold); }
  .plan-tabs:not([hidden]) ~ .plans .plan:not(.on) { display: none; }
  .plan-tabs:not([hidden]) ~ .plans .plan.on { animation: plan-in .35s ease; }
  .plan-line { min-height: 0; }
  .plan { padding: 28px 22px 22px; }
}
@keyframes plan-in { from { opacity: 0; transform: translateY(6px); } }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font: 500 1.15rem var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--amber); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { grid-template-columns: 1fr 1.3fr auto; align-items: end; text-align: left; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; }
.form label span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: var(--ink); width: 100%; color-scheme: dark; transition: border-color .2s, box-shadow .2s; }
.form select option { background: var(--night-2); color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(255, 181, 71, .6); box-shadow: 0 0 0 4px rgba(255, 181, 71, .12); }
.form .btn { justify-content: center; border: 0; cursor: pointer; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form .ok { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; background: rgba(120, 220, 160, .12); color: #9be8b9; }
.form .err { grid-column: 1 / -1; margin: 0; color: #ff8f86; }
.form [hidden], .form[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form { max-width: 620px; }

/* ---------- Live chat launcher ---------- */
.chat-btn { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--amber) 45%, var(--amber-2)); color: #1a1205; font: 600 .95rem var(--sans); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.chat-btn[hidden] { display: none; }
@media (max-width: 520px) { .chat-btn span { display: none; } .chat-btn { padding: 14px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Account: one sign-in for every world ---------- */
.top .wrap { position: relative; }
.acct {
  --p: 0; flex: none; height: 36px; min-width: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 .86rem/1 var(--sans);
  transition: border-color .2s, background .2s, box-shadow .3s;
}
.acct:hover { border-color: rgba(255, 181, 71, .45); }
.acct.in {
  width: 36px; padding: 0; border: 0; font: 500 1.02rem/1 var(--serif); color: var(--gold);
  background: radial-gradient(closest-side, var(--night-2) 86%, transparent 88%), rgba(255, 255, 255, .14);
}
.acct.in.ringed {
  background: radial-gradient(closest-side, var(--night-2) 86%, transparent 88%),
    conic-gradient( var(--amber) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0);
  box-shadow: 0 0 18px rgba(255, 181, 71, .18);
}
.acct.in:hover { box-shadow: 0 0 22px rgba(255, 181, 71, .35); }
.acct[aria-expanded="true"] { box-shadow: 0 0 0 4px rgba(255, 181, 71, .14); }
@media (max-width: 820px) { .acct { margin-left: 4px; } .acct:not(.in) { padding: 0 12px; font-size: .8rem; } }

.acct-panel {
  position: absolute; top: 62px; right: 0; width: min(360px, 100vw - 32px); z-index: 60; padding: 20px 20px 14px;
  border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink);
  background: rgba(10, 15, 36, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.acct-who { margin: 0; font-size: .8rem; color: var(--faint); overflow-wrap: anywhere; }
.acct-h { margin: 2px 0 14px; font: 500 1.35rem/1.2 var(--serif); }
.acct-worlds { list-style: none; margin: 0 -8px; padding: 0; display: grid; gap: 2px; }
.acct-worlds a {
  display: grid; grid-template-columns: 28px 1fr auto; grid-template-areas: "i n m" "i b b";
  column-gap: 12px; row-gap: 9px; align-items: center; padding: 12px 8px; border-radius: 12px; color: var(--ink); text-decoration: none;
}
body .acct-worlds a, body .acct-worlds a:hover { color: var(--ink); }
.acct-worlds a:hover, .acct-worlds a:focus-visible { background: rgba(255, 255, 255, .045); }
.acct-icon { grid-area: i; align-self: start; color: var(--amber); }
.acct-icon .icon { width: 28px; height: 28px; margin: 0; }
.acct-name { grid-area: n; font: 500 1.02rem/1.2 var(--serif); }
.acct-meta { grid-area: m; justify-self: end; transition: opacity .2s; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.acct-go { grid-area: m; justify-self: end; font-size: .78rem; font-weight: 600; color: var(--amber); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.acct-worlds a:hover .acct-go, .acct-worlds a:focus-visible .acct-go { opacity: 1; transform: none; }
.acct-worlds a:hover .acct-meta, .acct-worlds a:focus-visible .acct-meta { opacity: 0; }
.acct-bar, .trail { --p: 0; position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.acct-bar { grid-area: b; }
.acct-bar i, .trail i {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 138, 61, .55), var(--gold)); box-shadow: 0 0 8px rgba(255, 181, 71, .5);
}
.acct-bar i::after, .trail i::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 6px var(--gold), 0 0 14px var(--amber);
}
.acct-panel:not(.lit) .acct-bar i { width: 0; }
.acct-panel.lit .acct-bar i { transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.acct-panel.lit li:nth-child(2) .acct-bar i { transition-delay: .08s; }
.acct-panel.lit li:nth-child(3) .acct-bar i { transition-delay: .16s; }
.acct-none { margin: 0 0 8px; color: var(--muted); font-size: .92rem; }
body .acct-none a, body .acct-links .acct-link { color: var(--gold); }
.acct-wait { display: grid; gap: 14px; padding: 8px 0 14px; }
.acct-wait i { display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.acct-admin { margin: 12px 0 0; font-size: .8rem; color: var(--faint); }
.acct-admin a { color: var(--muted); }
.acct-admin a:hover { color: var(--ink); }
.acct-actions { display: flex; gap: 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.acct-actions button, .acct-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: .84rem; color: var(--muted); }
.acct-actions button:hover, .acct-link:hover { color: var(--ink); }
.acct-actions button:last-child { margin-left: auto; }

.card .trail { position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; }
.card .trail[hidden] { display: none; }

.acct-dlg {
  width: min(420px, 100vw - 32px); padding: 36px 32px 28px; border-radius: 22px; border: 1px solid var(--line); color: var(--ink);
  background: radial-gradient(360px circle at 50% -10%, rgba(255, 181, 71, .12), transparent 70%), var(--night-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.acct-dlg::backdrop { background: rgba(4, 6, 16, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.acct-dlg .brand-dot { display: block; margin-bottom: 22px; }
.acct-dlg .brand-logo { height: 1.5rem; margin-bottom: 22px; color: var(--ink); }
.acct-dlg h2 { font-size: 1.8rem; margin: 0 0 .3em; }
.acct-lede { margin: 0 0 22px; color: var(--muted); font-size: .95rem; }
.acct-form { display: grid; gap: 12px; }
.acct-in {
  font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 12px; width: 100%;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: var(--ink);
}
.acct-in::placeholder { color: var(--faint); }
.acct-in:focus { outline: none; border-color: rgba(255, 181, 71, .6); box-shadow: 0 0 0 4px rgba(255, 181, 71, .12); }
.acct-form .btn { justify-content: center; border: 0; cursor: pointer; margin-top: 4px; }
.acct-form .btn[disabled] { opacity: .6; cursor: wait; }
.acct-msg { margin: 0; min-height: 1.3em; font-size: .88rem; color: var(--gold); }
.acct-links { margin: 18px 0 0; font-size: .84rem; color: var(--faint); }
.acct-link { color: var(--gold); font-size: .84rem; }
.acct-x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.acct-x:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .acct-wait i { animation: none; } .acct-go { transition: none; } }

.menu-open .chat-btn { display: none; }

/* ---------- Products: quiet and simple. Covers are shown as objects (stacked, natural proportions);
   full pages appear only in "Two books, one method". Phones get their own arrangement. ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.band-head.center { margin-inline: auto; text-align: center; }
.band-head.center .lead { margin-inline: auto; }
.edition-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.edition-note a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(255, 200, 120, .55); }
.edition-note a:hover { color: var(--ink, #fff); }
/* Shop: mathematics or science, one subject at a time (a quiet segmented switch) */
.subj-tabs { display: inline-flex; gap: 4px; margin: 26px auto 0; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); }
.subj-tabs[hidden] { display: none; }
.subj-tab { appearance: none; border: 0; background: none; color: var(--muted); font: 600 .92rem/1 var(--sans); letter-spacing: .01em; padding: 11px 24px; border-radius: 99px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.subj-tab:hover { color: var(--ink); }
.subj-tab[aria-selected="true"] { background: rgba(255, 181, 71, .13); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .38); }
.subj[hidden] { display: none; }
.subj + .subj { margin-top: 64px; }
@media (max-width: 560px) { .subj-tabs { display: flex; width: 100%; } .subj-tabs[hidden] { display: none; } .subj-tab { flex: 1; padding: 12px 10px; } }
.wrap.narrow { max-width: 860px; }

/* The five student covers fanned like books on a desk; they spread on hover. */
.fan { position: relative; aspect-ratio: 1.15; }
.fan::before { content: ""; position: absolute; inset: 10% 5% 0; background: radial-gradient(closest-side, rgba(255, 181, 71, .16), transparent); filter: blur(20px); }
.fan img {
  position: absolute; top: 6%; left: 50%; width: 46%; height: auto; aspect-ratio: 900 / 1165; object-fit: cover; border-radius: 4px 10px 10px 4px;
  transform: translateX(calc(-50% + (var(--i) - 2) * 27%)) rotate(calc((var(--i) - 2) * 6deg)) translateY(calc(var(--d, 0) * 1px));
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 3px 0 0 rgba(255, 255, 255, .08); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.fan img:nth-child(1), .fan img:nth-child(5) { --d: 28; } .fan img:nth-child(2), .fan img:nth-child(4) { --d: 8; }
.fan:hover img { transform: translateX(calc(-50% + (var(--i) - 2) * 33%)) rotate(calc((var(--i) - 2) * 8deg)) translateY(calc(var(--d, 0) * 1.2px)); }

/* Hero: words on the left, the fan on the right; on phones the fan sits under the words. */
.shop-hero { padding: 130px 0 30px; overflow: hidden; }
.shop-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 75% 45%, rgba(255, 181, 71, .12), transparent 70%), radial-gradient(50% 50% at 10% 0%, rgba(111, 155, 255, .09), transparent 70%); }
.shop-hero > .wrap:first-child { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.shop-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.06; }
.fan-hero { width: 100%; max-width: 560px; justify-self: center; }
.facts { list-style: none; margin: 50px 0 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.facts b { display: block; font: 500 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--serif); margin-bottom: 8px; }
.facts span { display: block; font-size: .86rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 860px) {
  .shop-hero { padding-top: 104px; }
  .shop-hero > .wrap:first-child { grid-template-columns: 1fr; text-align: center; }
  .shop-hero .lead { margin-inline: auto; }
  .shop-hero .btns { justify-content: center; }
  .shop-hero h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); line-height: 1.1; }
  .fan-hero { width: 84%; max-width: 400px; margin-top: 6px; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 26px; margin-top: 30px; text-align: center; }
}

/* The four books: each year shows its two covers stacked, the student book in front. */
/* Five years: three cards, then two centred under them. */
.years { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.years .year { grid-column: span 2; }
.years .year:nth-child(4) { grid-column: 2 / span 2; }
.year { display: flex; flex-direction: column; padding: 30px 24px 24px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--g) 14%, transparent), transparent 70%), var(--card); transition: border-color .3s, transform .3s; }
.year:hover { border-color: color-mix(in srgb, var(--g) 55%, transparent); transform: translateY(-3px); }
.pair { position: relative; width: 62%; aspect-ratio: 900 / 1165; margin: 6px auto 28px; }
.pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 3px 8px 8px 3px; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pair img:first-child { transform: translate(14%, -6%) rotate(5deg) scale(.94); filter: brightness(.7); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.pair img:last-child { transform: rotate(-2deg); box-shadow: 0 26px 50px rgba(0, 0, 0, .55), inset 3px 0 0 rgba(255, 255, 255, .1); }
.year:hover .pair img:first-child { transform: translate(22%, -8%) rotate(8deg) scale(.94); }
.year:hover .pair img:last-child { transform: translate(-4%, 0) rotate(-4deg); }
.year-name { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.year-name i { width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 8px var(--g); }
.year h3 { font-size: 1.22rem; line-height: 1.25; margin-bottom: 16px; }
.year-buy { list-style: none; margin: auto 0 0; padding: 0; }
.year-buy li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.year-buy li > span { flex: 1; color: var(--ink); }
.year-buy small { display: block; color: var(--faint); font-size: .76rem; }
.year-buy .price { font-weight: 600; font-variant-numeric: tabular-nums; }
.year-buy .price:empty { display: none; }
.buy-go { color: var(--amber); font-weight: 600; text-decoration: none; }
.buy-go[hidden], .notify-go[hidden] { display: none; }
.notify-go { align-self: flex-start; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--amber); font: 600 .88rem var(--sans); cursor: pointer; }
.notify-go:hover { color: var(--gold); }
@media (max-width: 1020px) { .years { grid-template-columns: 1fr 1fr; } .years .year, .years .year:nth-child(4) { grid-column: auto; } .years .year:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); } }
@media (max-width: 600px) {
  /* Phones: one row per year, covers on the left, words on the right. */
  .years { grid-template-columns: 1fr; gap: 12px; }
  .years .year:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .year { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 20px 18px; }
  .pair { width: 72px; margin: 4px 0 0 4px; }
  .year h3 { font-size: 1.05rem; margin-bottom: 10px; }
  .year-buy li { padding: 7px 0; font-size: .8rem; }
  .notify-go { margin-top: 8px; font-size: .84rem; }
}

/* The whole collection */
.collection { margin-top: 20px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(255, 181, 71, .08), rgba(255, 255, 255, .02) 60%); }
.collection h3 { font-size: 1.7rem; margin-bottom: .3em; }
.collection p { margin: 0; color: var(--muted); max-width: 32em; }
.col-buy { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.col-buy .price { font: 500 1.5rem var(--serif); }
.col-buy .price:empty { display: none; }
.col-buy .buy-go { color: #1a1205; }
.col-buy .notify-go { margin: 0; }
.fan-sm { aspect-ratio: 1.6; }
.fan-sm::before { display: none; }
.fan-sm img { width: 36%; top: 4%; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
@media (max-width: 860px) { .collection { grid-template-columns: 1fr; gap: 20px; text-align: center; } .collection p { margin-inline: auto; } .col-buy { justify-content: center; } .fan-sm { width: 100%; max-width: 320px; margin: 0 auto; } }

/* Included with every book: the online companion, shown in a phone */
.perk { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; color: var(--amber); font-size: .78rem; }
.perk svg, .comp-access svg { flex: none; width: 15px; height: 15px; }
.perk-col { margin-top: 10px; font-size: .86rem; }
@media (max-width: 860px) { .perk-col { justify-content: center; } }
.comp { display: grid; grid-template-columns: minmax(240px, 330px) 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.phone { margin: 0; justify-self: center; width: min(100%, 290px); padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #2b3047, #0c0f1d 70%);
  border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 90px rgba(255, 181, 71, .07); transform: rotate(-2deg); }
.phone-screen { position: relative; overflow: hidden; border-radius: 35px; aspect-ratio: 390 / 722; background: #0b0f1e; }
.phone-screen::before { content: ""; position: absolute; z-index: 1; top: 9px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 12px; background: #000; }
.phone-screen::after { content: ""; position: absolute; inset: auto 0 0; height: 12%; background: linear-gradient(transparent, #0b0f1e); }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.comp-text h2 { margin-bottom: .35em; }
.comp-text .lead { max-width: 34em; }
.comp-points { list-style: none; margin: 22px 0 0; padding: 0; }
.comp-points li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; }
.comp-points li::before { content: ""; position: absolute; left: 3px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.comp-points b { display: block; color: var(--ink); font-weight: 600; }
.comp-points span { color: var(--muted); font-size: .92rem; }
.comp-access { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 22px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 181, 71, .25); background: rgba(255, 181, 71, .06); color: var(--ink); font-size: .93rem; }
.comp-access svg { margin-top: 3px; color: var(--amber); }
.comp-note { margin: 14px 0 0; color: var(--faint); font-size: .82rem; }
@media (max-width: 820px) {
  .comp { grid-template-columns: 1fr; gap: 34px; }
  .phone { order: 2; width: min(72%, 250px); transform: none; }
  .comp-text .btns { flex-direction: column; align-items: stretch; }
  .comp-text .btns .btn { text-align: center; }
}

/* Two books, one method: the one place full pages appear, each at its true proportions. */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo-col { padding: clamp(24px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--line); background: var(--card); }
.duo-page { margin: 0 auto 34px; width: min(78%, 360px); }
.duo-page img { display: block; width: 100%; height: auto; aspect-ratio: 1100 / 1424; object-fit: contain; border-radius: 5px; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transform: rotate(-1.2deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.duo-col:nth-child(2) .duo-page img { transform: rotate(1.2deg); }
.duo-col:hover .duo-page img { transform: translateY(-6px) rotate(0); }
.duo-col > p { color: var(--muted); }
.duo-col ul { list-style: none; margin: 18px 0 0; padding: 0; }
.duo-col li { padding: 11px 0 11px 28px; border-top: 1px solid var(--line); position: relative; color: #d6d0c4; }
.duo-col li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo-page { width: min(62%, 250px); margin-bottom: 26px; } }
.principles-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 10px; }

/* Coming next: a short list with small icons, and the one release-day sign-up for the whole page. */
.ups { list-style: none; margin: 24px 0 0; padding: 0; }
.ups li { display: grid; grid-template-columns: 22px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.ups li:last-child { border-bottom: 1px solid var(--line); }
.ups svg { width: 22px; height: 22px; color: var(--amber); }
.ups b { display: block; font: 500 1.05rem/1.3 var(--serif); }
.ups span { font-size: .86rem; color: var(--muted); }
.ups .notify-go { margin: 0; font-size: .84rem; }
.notify-box { margin-top: 30px; }
.notify-box > p { margin: 0 0 12px; font-size: .92rem; color: var(--muted); }
.notify-box > p b { color: var(--ink); }
.up-form { grid-template-columns: 1fr 1.2fr auto; gap: 8px; }
.up-form .btn { padding: 12px 22px; }
@media (max-width: 700px) { .up-form { grid-template-columns: 1fr; } .ups li { grid-template-columns: 22px 1fr; } .ups .notify-go { grid-column: 2; justify-self: start; } }
.schools { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.schools h3 { font-size: 1.3rem; margin-bottom: .3em; }
.schools p { margin: 0; color: var(--muted); max-width: 46em; }
@media (max-width: 700px) { .schools { flex-direction: column; align-items: flex-start; } }

/* Year cards: the both-books bundle appears only once it is on sale. After payment, a quiet confirmation. */
.year-buy li.duo > span { color: var(--amber); }
.year-buy li.duo[hidden] { display: none; }
.paid {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
  background: rgba(4, 7, 18, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: paid-fade .35s ease;
}
.paid[hidden] { display: none; }
.paid-card {
  width: min(500px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px 32px 28px; border-radius: 24px; text-align: left;
  background: linear-gradient(170deg, #141c3f 0%, #0b1129 100%); border: 1px solid rgba(255, 181, 71, .28);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55); animation: paid-in .5s cubic-bezier(.2, .7, .2, 1);
}
.paid-ok { display: block; width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--amber); fill: none; stroke: #1a1206; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 34px rgba(255, 181, 71, .45); }
.paid h2 { margin: 20px 0 8px; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.75rem; line-height: 1.15; color: var(--ink); }
.paid p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.paid-steps { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .08); }
.paid-steps li { counter-increment: s; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--ink); font-size: .95rem; line-height: 1.5; }
.paid-steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--amber); border: 1px solid rgba(255, 181, 71, .45); }
.paid .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 480px) { .paid-card { padding: 28px 22px 22px; } .paid .btns .btn { flex: 1 1 100%; text-align: center; justify-content: center; } }
@keyframes paid-fade { from { opacity: 0; } }
@keyframes paid-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.nf-links { margin-top: 26px; color: var(--muted); font-size: .95rem; }
.nf-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(255, 181, 71, .45); }
.nf-links a:hover { color: var(--amber); }

/* ---------- Discovery call booking: our own picker (day, time, details) on Cal.com availability. ---------- */
.book { min-width: 0; }
@media (min-width: 861px) { #book .ss-split > .reveal:first-child { position: sticky; top: 110px; align-self: start; } }
.bk-form textarea { min-height: 0; height: 92px; }
.bk {
  padding: 28px; border-radius: 22px; border: 1px solid rgba(255, 181, 71, .26);
  background: radial-gradient(520px circle at 100% 0%, rgba(255, 181, 71, .1), transparent 60%), linear-gradient(175deg, #141c3f, #0c1330);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
.bk[hidden], .bk [hidden] { display: none !important; }
.bk-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.bk-meta { margin: 0; font: 600 .78rem/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.bk-tz { margin: 0; font-size: .82rem; color: var(--faint); }
.bk-label { margin: 0 0 12px; font: 500 1.1rem/1.3 var(--serif); color: var(--ink); }
.bk-days-wrap { position: relative; display: flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.bk-days { flex: 1; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.bk-days::-webkit-scrollbar { display: none; }
.bk-days button {
  flex: 0 0 64px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 0; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--muted); font: 500 .74rem/1.3 var(--sans); text-transform: capitalize;
  transition: background .2s, border-color .2s, color .2s;
}
.bk-days button b { font: 500 1.35rem/1.1 var(--serif); color: var(--ink); }
.bk-days button:hover { border-color: rgba(255, 181, 71, .45); }
.bk-days button[aria-checked="true"] { background: linear-gradient(160deg, var(--gold), var(--amber)); border-color: transparent; color: #3a2606; }
.bk-days button[aria-checked="true"] b { color: #1a1205; }
.bk-wait { margin: 0; padding: 22px 0; color: var(--faint); font-size: .92rem; }
.bk-arrow { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }
.bk-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-arrow.next svg { transform: scaleX(-1); }
.bk-arrow:hover { color: var(--amber); border-color: rgba(255, 181, 71, .45); }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 6px; }
.bk-times button {
  padding: 10px 6px; border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  color: var(--ink); font: 500 .92rem var(--sans); font-variant-numeric: tabular-nums; transition: background .2s, border-color .2s;
}
.bk-times button:hover { border-color: rgba(255, 181, 71, .45); }
.bk-times button[aria-checked="true"] { background: rgba(255, 181, 71, .16); border-color: var(--amber); color: var(--gold); }
.bk-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); animation: plan-in .35s ease; scroll-margin-top: 90px; }
.bk-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .22); }
.bk-when { font: 500 1rem/1.35 var(--serif); color: var(--gold); }
.bk-when::first-letter { text-transform: uppercase; }
.bk-change { flex: none; background: none; border: 0; padding: 4px; color: var(--muted); font: 600 .85rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bk-change:hover { color: var(--amber); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-form .btn { justify-content: center; border: 0; cursor: pointer; }
.bk-done { text-align: left; padding: 8px 0; animation: plan-in .4s ease; }
.bk-done h3 { margin: 20px 0 8px; font-size: 1.7rem; }
.bk-done p { margin: 0; color: var(--muted); }
.bk-note { margin: 0 0 4px; color: var(--muted); }
@media (max-width: 860px) { .bk { padding: 22px 18px; } .bk-arrow { display: none; } }
@media (max-width: 520px) { .bk-row { grid-template-columns: 1fr; } }

/* ---------- Eureka All Access: the account panel line and the /access/ page ---------- */
.acct-pass { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 4px; }
.acct-pass.on { border-color: rgba(255, 217, 138, .28); background: rgba(255, 217, 138, .04); }
.acct-pass .acct-h { margin: 0; }
.acct-pass a { font-size: .9rem; text-decoration: none; }
.acct-pass .acct-sub { font-size: .8rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ax-hero { padding: 150px 0 24px; }
.ax-hero h1 { font: 500 clamp(2.4rem, 6vw, 4.2rem)/1.04 var(--serif); margin: 10px 0 16px; letter-spacing: -.01em; }
.ax-hero .lead { max-width: 640px; }
.ax-gets { list-style: none; padding: 0; margin: 26px 0 10px; display: grid; gap: 10px; max-width: 640px; }
.ax-gets li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ax-gets svg { flex: none; margin-top: 3px; color: var(--gold); }
.ax-free { color: var(--faint); font-size: .9rem; margin: 14px 0 0; }
.ax-band { padding-top: 24px; }
.ax-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.ax-side { display: grid; gap: 20px; }
.ax-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ax-card h2 { font: 500 1.5rem/1.2 var(--serif); margin: 0 0 8px; }
.ax-card p { color: var(--muted); margin: 0 0 16px; }
.ax-code { border-color: rgba(255, 217, 138, .3); box-shadow: 0 30px 80px -40px rgba(255, 170, 60, .35); }
.ax-field input { width: 100%; padding: 16px 18px; margin: 4px 0 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .28);
  color: var(--ink); font: 600 1.35rem/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.ax-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 217, 138, .18); }
.ax-code .btn { width: 100%; justify-content: center; }
.ax-msg { min-height: 1.4em; margin: 12px 0 6px !important; color: var(--ink) !important; }
.ax-msg.bad { color: #ff9b8a !important; }
.ax-small { font-size: .85rem; color: var(--faint) !important; margin: 6px 0 0 !important; }
.ax-price { margin: 0 0 6px !important; color: var(--ink) !important; }
.ax-price b { font: 500 2.2rem/1 var(--serif); }
.ax-done { text-align: center; padding: 40px 28px; }
.ax-done .ax-seal { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #1a1205;
  background: linear-gradient(135deg, var(--gold), var(--amber) 45%, var(--amber-2)); box-shadow: 0 0 0 10px rgba(255, 217, 138, .08), 0 20px 60px rgba(255, 150, 60, .35);
  animation: ax-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.ax-done h2 { font: 500 2.2rem/1.1 var(--serif); margin: 0 0 10px; }
.ax-done .btns { justify-content: center; margin-top: 18px; }
.ax-have { margin: 0 0 20px; }
@keyframes ax-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ax-done .ax-seal { animation: none; } }
@media (max-width: 820px) {
  .ax-hero { padding: 116px 0 8px; }
  .ax-grid { grid-template-columns: 1fr; }
  .ax-card { padding: 22px; }
  .ax-field input { font-size: 1.15rem; letter-spacing: .1em; }
}

/* Consent bar for audience measurement (measure.js; shown only once an ad/analytics ID is set) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 19, 48, .96); backdrop-filter: blur(10px); color: var(--muted); font-size: 14px; line-height: 1.45; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.consent p { flex: 1 1 260px; margin: 0; }
.consent a { color: var(--gold); }
.consent button { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.consent button.on { background: var(--amber); border-color: var(--amber); color: var(--night); }

/* Testimonials (Smarter Stronger page) */
.tm-band { padding-top: 10px; }
.tms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; margin: 0 auto; }
.tm { position: relative; margin: 0; padding: 40px 40px 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,181,71,.06), rgba(255,255,255,.02)); display: flex; flex-direction: column; }
.tm::before { content: "\201C"; position: absolute; top: 6px; right: 26px; font: 500 7rem/1 var(--serif, Fraunces, serif); color: var(--amber); opacity: .16; }
.tm-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.tm-stars svg { width: 17px; height: 17px; fill: var(--amber); filter: drop-shadow(0 0 6px rgba(255,181,71,.35)); }
.tm blockquote { margin: 0 0 28px; font: italic 400 clamp(1.15rem, 1.7vw, 1.35rem)/1.5 Fraunces, serif; color: var(--ink); flex: 1; }
.tm figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.tm figcaption b { font-weight: 600; color: var(--gold); letter-spacing: .02em; }
.tm figcaption span { font-size: .9rem; color: var(--muted); }
.tm-note { text-align: center; margin: 22px 0 0; font-size: .82rem; color: var(--faint); }
@media (max-width: 760px) { .tms { grid-template-columns: 1fr; gap: 18px; } .tm { padding: 30px 24px 26px; } }

/* Advice articles (/fr/conseils/...) */
.article .prose h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; color: var(--gold); }
.article .prose ul { padding-left: 1.2em; }
.article .prose li { margin: .45em 0; }
.article .prose a { color: var(--amber); }
.article .page-head .wrap { max-width: 720px; }
.article .page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Lead generation (2026-11): the diagnostic box inside articles, the free ways in on the Smarter Stronger page, the workshop date. */
.diag-box { margin: 38px 0; padding: 26px 26px 28px; border-radius: 18px; background: linear-gradient(135deg, rgba(255, 181, 71, .12), rgba(255, 181, 71, .03)); border: 1px solid rgba(255, 181, 71, .3); }
.diag-box .eyebrow { margin: 0 0 8px; }
.diag-box h3 { margin: 0 0 8px; font-size: 1.35rem; }
.diag-box p { margin: 0 0 18px; color: var(--muted); }
.article .prose .diag-box a.btn { color: #1a1205; text-decoration: none; }
.gifts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 26px; }
.gift { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--card); border-radius: 18px; border: 1px solid var(--line); scroll-margin-top: 90px; }
.gift h3 { font-size: 1.3rem; margin: 0 0 10px; }
.gift p { margin: 0 0 22px; color: var(--muted); flex: 1; }
.live-next { display: inline-flex; flex-direction: column; gap: 4px; margin: 6px 0 22px; padding: 14px 20px; border-radius: 14px; background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .28); }
.live-next span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-weight: 700; }
.live-next b { font: 500 1.15rem/1.4 var(--serif); }
.live-next b::first-letter { text-transform: uppercase; }
