/* Tokens: brain/landing/design-direction.md */
:root {
  --bg: #0D0E10;
  --surface: #161618;
  --line: #26262A;
  --text: #F5F5F7;
  --muted: #8E8E93;
  --copper: #B4684A;
  --copper-hi: #D08A6A;
  --on-copper: #0D0E10;
  --copper-glow: rgb(180 104 74 / 0.45);
  --dot: 245, 245, 247;     /* canvas reads these as r, g, b */
  --dot-lit: 208, 138, 106;

  --font-display: "Geist", "Alexandria", system-ui, sans-serif;
  --font-body: "Geist", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --radius-control: 999px;
  --radius-box: 16px;

  --dur-fast: 180ms;
  --dur: 350ms;
  --dur-slow: 600ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);

  --gutter: clamp(20px, 5vw, 64px);
  --z-bg: 0;
  --z-content: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 4px; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  padding: 96px var(--gutter) 48px;
  overflow: hidden;
  isolation: isolate;
}
.field {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: var(--z-bg);
  pointer-events: none;
}
/* Soft fade so the dot field never fights the text. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: var(--z-bg); pointer-events: none;
  background: radial-gradient(120% 80% at 50% 100%, transparent 40%, var(--bg) 100%);
}
.hero-inner {
  position: relative; z-index: var(--z-content);
  width: 100%; max-width: 1200px; margin-inline: auto;
  display: grid; gap: 28px;
  justify-items: center; text-align: center;
}

.mark {
  position: relative;
  width: min(78vw, 340px);
  aspect-ratio: 864 / 500;
}
.mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark .glow {
  position: absolute; inset: -20%;
  background: radial-gradient(closest-side, var(--copper-glow), transparent 70%);
  opacity: 0.18;
  pointer-events: none;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 8.4vw, 3.5rem);
  line-height: 1.3;
  letter-spacing: 0; /* Arabic must never be tracked */
  text-wrap: balance;
}
h1 .line { display: block; white-space: nowrap; } /* exactly 2 lines, sizes keep line 1 inside the column */
h1 .accent { color: var(--copper-hi); }
.word { display: inline-block; }

.sub {
  margin: 0;
  max-width: 34ch;
  text-wrap: balance;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.6vw, 1.3125rem);
  line-height: 1.75;
}

.hero .btn { width: 100%; max-width: 360px; }
@media (min-width: 900px) { .hero .btn { width: auto; } }

/* Hero is centered: the bolt opens the page, then the words, then the video. */
@media (min-width: 900px) {
  .hero { padding-block: 112px 64px; }
  h1 { font-size: clamp(2.75rem, 4.6vw, 4.25rem); }
  .mark { width: min(100%, 460px); }
}
/* ── Sections ───────────────────────────────────────── */
.section { padding: clamp(72px, 12vw, 128px) var(--gutter); }
.wrap { max-width: 1120px; margin-inline: auto; display: grid; gap: 32px; }
h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: 0;
  font-size: clamp(1.75rem, 5.6vw, 3rem); line-height: 1.3; text-wrap: balance;
}
h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.lead { margin: 0; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.ph { font-size: 1.5rem; line-height: 1; }
[hidden] { display: none !important; }

/* Why now: three statements, each its own line */
.statements { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.statements li {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.375rem, 4.4vw, 2.25rem); line-height: 1.45;
  padding-block: 20px; border-bottom: 1px solid var(--line);
}
.statements li:last-child { color: var(--copper-hi); border-bottom: 0; }

/* Paths: a segmented choice, then the chosen road drawn as a vertical line */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: var(--surface); border-radius: var(--radius-control); }
.choice button {
  min-height: 64px; padding: 12px 16px; border: 0; border-radius: var(--radius-control);
  background: transparent; color: var(--muted); cursor: pointer;
  font: 700 1.0625rem/1.4 var(--font-display);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
@media (max-width: 519px) { .choice { grid-template-columns: 1fr; } }
.choice button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.choice button[aria-pressed="true"] .ph { color: var(--copper-hi); }
.choice button:active { transform: scale(0.97); }
.road { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.road::before { /* the line the road is drawn on */
  content: ""; position: absolute; inset-inline-start: 19px; top: 24px; bottom: 24px; width: 2px;
  background: var(--line); transform-origin: top;
}
.stop { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding-block: 12px; }
.stop .dot {
  width: 40px; height: 40px; border-radius: var(--radius-control);
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font: 700 0.9375rem var(--font-display); font-variant-numeric: tabular-nums;
}
.stop:first-child .dot { background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
.stop .name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.stop p { margin: 4px 0 0; color: var(--muted); font-size: 1rem; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: var(--radius-control); font-size: 0.875rem; font-weight: 600; }
.tag.free { background: var(--copper); color: var(--on-copper); }
.tag.soon { border: 1px solid var(--line); color: var(--muted); }
.roads-note { margin: 0; color: var(--muted); }
.roads-note b { color: var(--text); }

/* Gains: one large tile and two stacked, never three equal cards */
.bento { display: grid; gap: 12px; }
.tile { border-radius: var(--radius-box); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--surface); }
.tile .ph { font-size: 2rem; color: var(--copper-hi); }
.tile p { margin: 0; color: var(--muted); }
.tile.big { background: radial-gradient(120% 120% at 0% 100%, var(--copper-glow), transparent 60%), var(--surface); }
.tile.big h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
  .bento .big { grid-row: span 2; align-content: end; min-height: 360px; }
}
.honest { margin: 0; color: var(--muted); }
.honest b { color: var(--text); }

/* How you'll learn: a strip, not cards */
.strip { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-block: 1px solid var(--line); }
.strip li { display: flex; align-items: center; gap: 12px; padding: 20px 4px; font-weight: 500; }
.strip .ph { color: var(--copper-hi); }

/* Inside the course: real lesson material */
.shots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.shots figure { margin: 0; display: grid; gap: 8px; }
.shots img { border-radius: var(--radius-box); border: 1px solid var(--line); width: 100%; }
.shots figcaption { color: var(--muted); font-size: 0.9375rem; }

/* Story video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-box); overflow: hidden; background: var(--surface); }
.video button, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: var(--radius-control); background: var(--copper); color: var(--on-copper);
  display: grid; place-items: center; font-size: 2rem;
}

/* Free Foundation: one real number and its meaning */
.free { display: grid; gap: 16px; align-items: center; }
.free .num { font: 800 clamp(5rem, 22vw, 10rem)/1 var(--font-display); color: var(--copper-hi); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .free { grid-template-columns: auto 1fr; gap: 56px; } }

/* Early registrants: a framed list */
.perks { margin: 0; padding: 8px 28px; list-style: none; border: 1px solid var(--line); border-radius: var(--radius-box); }
.perks li { display: flex; gap: 12px; align-items: center; padding-block: 20px; font-size: 1.125rem; }
.perks li + li { border-top: 1px solid var(--line); }
.perks .ph { color: var(--copper-hi); }

/* FAQ */
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 20px; min-height: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 600 1.125rem/1.5 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { transition: transform var(--dur) var(--ease-out); color: var(--muted); }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Register */
.register .wrap { max-width: 640px; }
.counter { margin: 0; color: var(--copper-hi); font-weight: 600; font-variant-numeric: tabular-nums; }
.panel { background: var(--surface); border-radius: var(--radius-box); padding: clamp(20px, 5vw, 36px); display: grid; gap: 24px; }
.progress { display: grid; gap: 8px; }
.progress .label { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.bar { height: 4px; border-radius: var(--radius-control); background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--copper); transform-origin: right; transform: scaleX(var(--p, 0.25)); transition: transform var(--dur) var(--ease-out); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
legend { padding: 0; margin-bottom: 12px; font: 700 1.375rem/1.4 var(--font-display); }
.option { display: block; position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: flex; align-items: center; min-height: 56px; padding: 12px 24px;
  border-radius: var(--radius-control); border: 1px solid var(--line); background: var(--bg);
  font-weight: 500; transition: transform var(--dur-fast) var(--ease-out);
}
.option input:checked + span { border-color: var(--copper); box-shadow: inset 0 0 0 1px var(--copper); color: var(--text); }
.option input:focus-visible + span { outline: 2px solid var(--copper-hi); outline-offset: 4px; }
.option:active span { transform: scale(0.98); }
.field-row { display: grid; gap: 8px; }
.field-row label { font-weight: 600; }
.field-row input {
  min-height: 56px; padding: 12px 24px; border-radius: var(--radius-control);
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: 500 1.0625rem var(--font-body);
}
.field-row input::placeholder { color: var(--muted); }
.field-row input:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 2px; }
.field-row input[aria-invalid="true"] { border-color: var(--copper-hi); }
.hint { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.error { margin: 0; color: var(--copper-hi); font-size: 0.9375rem; font-weight: 600; }
.trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.ghost {
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-control); border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; font: 600 1rem var(--font-display);
}
.status { margin: 0; padding: 12px 20px; border-radius: var(--radius-box); background: var(--bg); color: var(--text); border: 1px solid var(--copper); }
.done { text-align: center; justify-items: center; }
.done .mark { width: min(60vw, 240px); }
.done h3 { font-size: clamp(1.5rem, 5vw, 2rem); }
.done p { margin: 0; color: var(--muted); }
.done .actions { display: grid; gap: 12px; width: 100%; max-width: 360px; }
.done .ghost { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--text); min-height: 56px; }

/* Footer */
.foot { padding: 48px var(--gutter) 40px; border-top: 1px solid var(--line); }
.foot .wrap { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
.foot img { width: 44px; height: 44px; border-radius: var(--radius-box); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: end; }
.foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ── Motion (only when JS confirms motion is welcome) ─── */
/* Sections rise in as they scroll into view; browsers without scroll timelines just show them. */
@supports (animation-timeline: view()) {
  .motion .reveal { animation: fade linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  .motion .statements li { animation: fade linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
}
/* The road draws itself, then each stop arrives in order. */
.motion .road.draw::before { animation: draw 900ms var(--ease-out) both; }
.motion .road.draw .stop { animation: fade var(--dur-slow) var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes draw { from { transform: scaleY(0); } to { transform: none; } }

.motion .mark .base { animation: lit 900ms var(--ease-out) 240ms both; }
.motion .mark .bolt { animation: strike 260ms var(--ease-in) both, flash 900ms var(--ease-out) 260ms both; }
.motion .mark .glow { animation: bloom 1400ms var(--ease-out) 220ms both; }
.motion .word { animation: rise var(--dur-slow) var(--ease-out) both; animation-delay: calc(700ms + var(--i) * 60ms); }
.motion .sub { animation: fade var(--dur-slow) var(--ease-out) 1100ms both; }
.motion .hero .btn-main { animation: fade var(--dur-slow) var(--ease-out) 1250ms both, turn 6s linear 1850ms infinite; }

@keyframes strike {
  from { clip-path: inset(0 0 100% 0); filter: brightness(1.8); }
  to   { clip-path: inset(0 0 0 0);    filter: brightness(1.8); }
}
@keyframes flash {
  0%   { filter: brightness(1.8) saturate(1.2); }
  25%  { filter: brightness(2.3) saturate(1.3); }
  100% { filter: brightness(1) saturate(1); }
}
@keyframes lit {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bloom {
  0%   { opacity: 0; transform: scale(0.6); }
  30%  { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.18; transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(0.45em); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

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

/* ══ v2: full site ═══════════════════════════════════════════ */
:root {
  --copper-deep: #7A3F27;
  --copper-pale: #EBC2A8;
  --top-h: 64px;
  --z-top: 20;
  --z-live: 30;
}
html { scroll-padding-top: calc(var(--top-h) + 16px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sr { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; inset-inline-start: 16px; top: -64px; z-index: 40; background: var(--text); color: var(--bg); padding: 8px 16px; border-radius: var(--radius-control); }
.skip:focus { top: 8px; }
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3 { letter-spacing: -0.01em; }

/* Buttons: one system. Main = copper with a slowly turning copper rim, light burst from the tap point. */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-control);
  font: 700 1.0625rem/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 0; touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn-main {
  color: var(--on-copper);
  background:
    radial-gradient(120% 140% at 30% 0%, var(--copper-hi) 0%, transparent 45%) padding-box,
    linear-gradient(135deg, var(--copper-hi), var(--copper) 55%, var(--copper-deep)) padding-box,
    conic-gradient(from var(--angle), var(--copper-deep), var(--copper-hi), var(--copper), var(--copper-deep), var(--copper-pale), var(--copper-deep)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 12px 32px -12px var(--copper-glow);
}
.motion .btn-main { animation: turn 6s linear infinite; }
@keyframes turn { to { --angle: 360deg; } }
.btn-ghost { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.btn::after { /* the burst: placed at the tap point by app.js */
  content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%);
  width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 236 220 / 0.7), transparent);
  opacity: 0; transform: scale(0.2); pointer-events: none;
}
.btn.burst::after { animation: burst 600ms var(--ease-out); }
@keyframes burst { 0% { opacity: 0.9; transform: scale(0.2); } 100% { opacity: 0; transform: scale(1.6); } }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-main:hover { box-shadow: 0 16px 40px -10px var(--copper-glow); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--copper); }
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* Top bar: logo + glass button on the start side, glass pill of links in the middle, language on the end side */
:root { --top-h: 72px; --d: 1; }
html[dir="rtl"] { --d: -1; }
.top {
  position: fixed; inset: 0 0 auto; z-index: var(--z-top);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgb(13 14 16 / 0.42);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: background var(--dur) var(--ease-out);
}
.top.scrolled { background: rgb(13 14 16 / 0.8); }
@supports (animation-timeline: scroll()) {
  .motion .top::after { /* reading progress: a copper line that grows as you scroll */
    content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, var(--copper-deep), var(--copper-hi));
    transform-origin: left; transform: scaleX(0);
    animation: grow linear both; animation-timeline: scroll(root);
  }
  html[dir="rtl"] .motion .top::after { transform-origin: right; }
}
@keyframes grow { to { transform: scaleX(1); } }
.top-in { height: var(--top-h); padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.top-start { display: flex; align-items: center; gap: 16px; justify-self: start; }
.top-end { display: flex; align-items: center; gap: 8px; justify-self: end; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; justify-content: center; }
.pill {
  display: flex; gap: 2px; padding: 6px; border-radius: var(--radius-control);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.04));
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), inset 0 -1px 0 rgb(255 255 255 / 0.06), inset 0 0 0 1px rgb(255 255 255 / 0.09), 0 14px 34px -12px rgb(0 0 0 / 0.75);
}
.pill a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-control);
  color: rgb(245 245 247 / 0.8); text-decoration: none; font: 600 0.9375rem var(--font-display);
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.pill a:hover { color: #fff; background: rgb(255 255 255 / 0.12); }
.pill a[aria-current="true"] {
  color: #fff;
  background: linear-gradient(180deg, rgb(226 160 128 / 0.5), rgb(180 104 74 / 0.24));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 0 22px -4px var(--copper-glow);
}
.lang {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-control);
  color: rgb(245 245 247 / 0.85); text-decoration: none; font: 600 0.9375rem var(--font-display);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition: color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.lang:hover { color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), inset 0 0 0 1px var(--copper); }
.m-only { display: none; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--radius-control); border: 0; color: var(--text); font-size: 1.375rem; cursor: pointer;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.04)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), inset 0 0 0 1px rgb(255 255 255 / 0.1); }
@media (max-width: 959px) {
  .top-in { grid-template-columns: 1fr auto; }
  .nav-cta, .top-end .lang { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .m-only { display: inline-flex; }
  .menu {
    position: absolute; inset: calc(var(--top-h) + env(safe-area-inset-top, 0px)) 0 auto;
    flex-direction: column; align-items: stretch; gap: 8px; padding: 16px var(--gutter) 24px;
    background: rgb(13 14 16 / 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), visibility var(--dur);
  }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .pill { flex-direction: column; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; }
  .pill a { min-height: 52px; padding: 0 16px; font-size: 1.0625rem; }
  .menu .lang { justify-content: center; min-height: 48px; }
  .menu .btn { width: 100%; }
  .menu .btn-glass { background: linear-gradient(180deg, rgb(200 120 88 / 0.9), rgb(122 63 39 / 0.95)); }
}
@media (max-width: 420px) { .brand img { height: 38px; } }

/* Live signup card: top corner under the bar */
.live {
  position: fixed; z-index: var(--z-live); top: calc(var(--top-h) + env(safe-area-inset-top, 0px) + 12px); inset-inline-end: 16px;
  max-width: min(340px, calc(100vw - 32px)); display: flex; align-items: center; gap: 12px;
  padding-block: 12px; padding-inline: 16px 12px; border-radius: var(--radius-box);
  background: rgb(22 22 24 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line), 0 16px 40px -16px rgb(0 0 0 / 0.6);
  font-size: 0.9375rem; line-height: 1.5;
}
.live > .ph { color: var(--copper-hi); font-size: 1.25rem; }
.live p { margin: 0; color: var(--muted); }
.live b { color: var(--text); }
.live button { flex: none; width: 36px; height: 36px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--muted); cursor: pointer; }
.motion .live.show { animation: livein 500ms var(--ease-out) both; }
@keyframes livein { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* Story section: cover + play, then the button */
.story .wrap { display: grid; justify-items: center; gap: 24px; text-align: center; }
.video { width: 100%; max-width: 880px; box-shadow: inset 0 0 0 1px var(--line); }

/* Facts strip */
.facts { padding: 8px var(--gutter) 0; }
.facts-in { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.facts-in > div { display: flex; align-items: center; gap: 12px; padding: 20px 16px; }
.facts b { font: 800 2rem/1 var(--font-display); color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.facts .ph { font-size: 1.75rem; color: var(--copper-hi); }
.facts span { color: var(--muted); }

/* Course grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 20px; border-radius: var(--radius-control); border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 0.9375rem var(--font-display); cursor: pointer; }
.filters button[aria-pressed="true"] { color: var(--on-copper); background: var(--copper); border-color: var(--copper); }
.cgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ccard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-box); background: var(--surface); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur) var(--ease-out); }
.ccard::before, .pcard::before { /* copper light that follows the pointer (desktop) */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(208 138 106 / 0.18), transparent 70%);
  transition: opacity var(--dur) var(--ease-out);
}
@media (hover: hover) { .ccard:hover::before { opacity: 1; } .ccard:hover { box-shadow: inset 0 0 0 1px var(--copper); } }
.ccard-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.ccard-link:focus-visible { outline-offset: -2px; }
.ccard-art { aspect-ratio: 16 / 10; overflow: hidden; }
.ccard-art img { width: 100%; height: 100%; object-fit: cover; }
.art { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px;
  background: radial-gradient(90% 90% at 80% 10%, rgb(208 138 106 / 0.35), transparent 60%), linear-gradient(160deg, var(--surface), var(--bg));
  color: var(--copper-hi); font: 800 1.125rem var(--font-display); text-align: center; padding: 16px; }
.art .ph { font-size: 3.5rem; color: var(--copper-hi); }
.ccard-body { display: grid; gap: 12px; align-content: start; padding: 20px; }
.ccard-body p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.ccard-body .btn { justify-self: start; margin-top: 4px; }
.ccard-top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.meta { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.875rem; }

/* Paths */
.pgrid { display: grid; gap: 16px; }
@media (min-width: 900px) { .pgrid { grid-template-columns: 1fr 1fr; } }
.pcard { border-radius: var(--radius-box); padding: 28px; display: grid; gap: 16px; align-content: start; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pcard-use { background: radial-gradient(100% 80% at 100% 0%, var(--copper-glow), transparent 60%), var(--surface); }
.pcard-head { display: flex; gap: 16px; align-items: center; }
.pcard-head > .ph { font-size: 2.25rem; color: var(--copper-hi); }
.pcard p { margin: 0; color: var(--muted); }
.pcard .pcard-tag { color: var(--copper-hi); font-weight: 600; }
.pcard .pcard-count { font-weight: 600; color: var(--text); }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 16px; border-radius: var(--radius-control); border: 1px solid var(--line); text-decoration: none; font-size: 0.9375rem; }
.chips a:hover { border-color: var(--copper); color: var(--copper-hi); }
.stop h3 a { text-decoration: none; }
.stop h3 a:hover { color: var(--copper-hi); }

/* About */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.about-photo img, .about-photo .art { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-box); object-fit: cover; }
.art-person .ph { font-size: 6rem; }
.about-text { display: grid; gap: 12px; }
.about-text p { margin: 0; color: var(--muted); max-width: 60ch; }
.about-text .about-name { font: 800 1.5rem var(--font-display); color: var(--text); }
.about-name span { color: var(--copper-hi); font: 500 1rem var(--font-body); }
.about-text h3 { margin-top: 8px; color: var(--copper-hi); }
.about-text .btn { justify-self: start; margin-top: 8px; }

/* Why: problem vs answer */
.versus { display: grid; gap: 16px; }
@media (min-width: 900px) { .versus { grid-template-columns: 1fr 1.2fr; } }
.vs { border-radius: var(--radius-box); padding: 28px; }
.vs h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.vs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.vs li { display: flex; gap: 12px; color: var(--muted); }
.vs-bad { box-shadow: inset 0 0 0 1px var(--line); }
.vs-bad h3 .ph { color: var(--muted); }
.vs-good { background: radial-gradient(100% 100% at 0% 0%, var(--copper-glow), transparent 60%), var(--surface); box-shadow: inset 0 0 0 1px var(--copper); }
.vs-good h3 .ph { color: var(--copper-hi); }
.vs-good li { color: var(--text); }

/* Fields: strong copper cards. Tap one to light it and open your starting route. */
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.fic {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem;
  background: rgb(255 255 255 / 0.16); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), inset 0 0 0 1px rgb(255 255 255 / 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fcard {
  position: relative; isolation: isolate; overflow: hidden; text-align: start; cursor: pointer; color: #fff; border: 0;
  min-height: 200px; padding: 24px; border-radius: var(--radius-box); display: grid; gap: 12px; align-content: start;
  background: radial-gradient(140% 120% at var(--gx, 100%) var(--gy, 0%), rgb(226 160 128 / 0.55), transparent 58%), linear-gradient(160deg, #8F4D30, #3B1E12);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), inset 0 0 0 1px rgb(255 200 170 / 0.2), 0 20px 44px -24px rgb(122 63 39 / 0.95);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.fcard:nth-child(3n + 2) { --gx: 0%; --gy: 100%; }
.fcard:nth-child(3n) { --gx: 50%; --gy: 0%; }
.fcard h3 { color: #fff; }
.fcard p { margin: 0; color: rgb(255 255 255 / 0.88); font-size: 0.9375rem; }
.fcard::before, .tile::before, .plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(255 235 220 / 0.3), transparent 70%);
  transition: opacity var(--dur) var(--ease-out);
}
.fcard::after { /* tap burst, like the buttons */
  content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%);
  width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 236 220 / 0.7), transparent);
  opacity: 0; transform: scale(0.2); pointer-events: none;
}
.fcard.burst::after { animation: burst 700ms var(--ease-out); }
@media (hover: hover) {
  .fcard:hover, .tile:hover, .plan:hover { --on: 1; }
  .fcard:hover::before, .tile:hover::before, .plan:hover::before { opacity: 1; }
  .fcard:hover { transform: translateY(-4px); filter: brightness(1.1); }
}
.fcard:active { transform: scale(0.98); }
.fcard[aria-pressed="true"] {
  filter: brightness(1.22) saturate(1.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 0 0 2px var(--copper-hi), 0 26px 64px -18px var(--copper-glow);
}
.recs { margin-top: 24px; }
.rec { border-radius: var(--radius-box); padding: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--copper); }
.motion .rec:not([hidden]) { animation: fade var(--dur) var(--ease-out) both; }
.rec-title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--copper-hi); font: 700 1.125rem var(--font-display); }
.rec-route { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.rec-route a { display: grid; gap: 2px; padding: 12px 24px; border-radius: var(--radius-control); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font: 700 1rem var(--font-display); transition: box-shadow var(--dur-fast) var(--ease-out); }
.rec-route a:hover { box-shadow: inset 0 0 0 1px var(--copper); }
.rec-route small { color: var(--muted); font: 500 0.8125rem var(--font-body); }

/* Included: 10 tiles with rhythm (one big, a 2x2 block, a row of four, one wide) */
.bento8 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .bento8 { grid-template-columns: repeat(2, 1fr); }
  .bento8 .tile-video, .bento8 .tile-all { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento8 { grid-template-columns: repeat(4, 1fr); }
  .bento8 .tile-video { grid-row: span 2; align-content: end; min-height: 340px;
    background: radial-gradient(120% 100% at 0% 100%, rgb(226 160 128 / 0.55), transparent 62%), linear-gradient(160deg, #8F4D30, #3B1E12); }
  .bento8 .tile-all { grid-column: span 4; }
}
.bento8 .tile { position: relative; isolation: isolate; overflow: hidden; align-content: start; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.bento8 .tile .fic { background: rgb(208 138 106 / 0.16); color: var(--copper-hi); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), inset 0 0 0 1px rgb(208 138 106 / 0.3); }
.bento8 .tile-video .fic { background: rgb(255 255 255 / 0.18); color: #fff; }
.bento8 .tile-video p { color: rgb(255 255 255 / 0.88); }
.bento8 .tile-all { background: linear-gradient(120deg, rgb(180 104 74 / 0.32), transparent 70%), var(--surface); grid-template-columns: auto 1fr; align-items: center; column-gap: 20px; }
.bento8 .tile-all .fic { grid-row: span 2; }
@media (hover: hover) { .bento8 .tile:hover { box-shadow: inset 0 0 0 1px var(--copper); transform: translateY(-3px); } }
.benefit { display: flex; align-items: center; gap: 24px; margin-top: 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-box);
  background: linear-gradient(120deg, rgb(180 104 74 / 0.34), rgb(180 104 74 / 0.06)), var(--surface); box-shadow: inset 0 0 0 1px var(--copper); }
.benefit > .ph { font-size: 2.75rem; color: var(--copper-hi); flex: none; }
.benefit h3 { font-size: clamp(1.25rem, 3.2vw, 1.875rem); margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 599px) { .benefit { flex-direction: column; align-items: flex-start; } }

/* Pricing: free lessons, 3 plans side by side (stacked on a phone), what every plan gives */
.plans-wrap { display: grid; gap: 16px; }
.plans-title { margin-top: 16px; font-size: clamp(1.5rem, 4vw, 2rem); }
.plans-lead { margin: 0; color: var(--muted); }
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-box); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; align-content: start; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan p { margin: 0; color: var(--muted); }
.badge { justify-self: start; padding: 4px 16px; border-radius: var(--radius-control); border: 1px solid var(--line); font: 700 0.875rem var(--font-display); color: var(--muted); }
.badge-copper { background: var(--copper); color: var(--on-copper); border-color: transparent; }
.plan-num { font: 800 clamp(4.5rem, 12vw, 6.5rem)/1 var(--font-display); color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.plan-free-text { display: grid; gap: 8px; justify-items: start; }
.plan-free-text h3 { margin: 0; }
@media (min-width: 900px) { .plan-free { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } .plan-free .btn { margin-top: 0; } }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.plan-top h3 { margin: 0; }
.plan-per { color: var(--copper-hi); font-weight: 600; }
.plan-member {
  background: radial-gradient(120% 90% at 100% 0%, rgb(226 160 128 / 0.32), transparent 55%), linear-gradient(165deg, #6B3822, #231410);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), inset 0 0 0 1px rgb(255 200 170 / 0.35), 0 34px 80px -34px var(--copper-glow);
}
.plan-member p { color: rgb(255 255 255 / 0.84); }
.plan-member .plan-per { color: var(--copper-hi); }
.plan-perks { box-shadow: inset 0 0 0 1px var(--copper); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 900px) { .plan-perks .checks { grid-template-columns: 1fr 1fr; gap: 12px 32px; } }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks .ph { flex: none; margin-top: 4px; color: var(--copper-hi); }
.plan .btn { justify-self: start; margin-top: 8px; }
.plan .plan-note { font-size: 0.9375rem; }
/* Offer: plan prices, benefits, price-rise lines, course status, guarantee (home + course pages) */
.tag.done { border: 1px solid var(--copper); color: var(--copper-hi); }
.plan h4, .offer-status h4 { margin: 0; font: 700 1rem var(--font-display); }
.plan-perks h4 { color: #fff; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.plan .offer-price b { color: #fff; font: 800 clamp(2rem, 6vw, 2.5rem)/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.plan .offer-price span { color: var(--muted); }
.plan-member .offer-price span { color: rgb(255 255 255 / 0.7); }
.offer-notes { display: grid; gap: 12px; }
@media (min-width: 900px) { .offer-notes { grid-template-columns: 1fr 1fr; } }
.plan .offer-rises, .plan .offer-keep { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgb(0 0 0 / 0.25); font-size: 0.9375rem; }
.plan .offer-rises .ph, .plan .offer-keep .ph { flex: none; margin-top: 3px; color: var(--copper-hi); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.plan-actions .btn { margin-top: 8px; }
.offer-status { display: grid; gap: 24px; padding: 24px clamp(24px, 4vw, 40px); border-radius: var(--radius-box); box-shadow: inset 0 0 0 1px var(--line); }
.offer-status > div { display: grid; gap: 12px; align-content: start; }
.offer-status h3 { color: var(--copper-hi); font-size: 1.25rem; }
@media (min-width: 900px) { .offer-status { grid-template-columns: 0.7fr 1fr 1.3fr; } }

.reg-head { gap: 8px; }

/* Footer v2 */
.foot-in { grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: auto 1fr auto; align-items: center; } }
.foot-line { margin: 0; color: var(--muted); }

/* Course page */
.chero { padding-top: calc(var(--top-h) + 48px); }
.chero-in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .chero-in { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.chero-text { display: grid; gap: 16px; justify-items: start; }
.chero h1 { font-size: clamp(2.25rem, 7vw, 3.75rem); }
.csub { margin: 0; color: var(--copper-hi); font: 600 1.25rem var(--font-display); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; min-height: 44px; }
.back:hover { color: var(--text); }
.get { border-radius: var(--radius-box); padding: 20px 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--copper); }
.get h2 { font-size: 1.125rem; color: var(--copper-hi); margin-bottom: 4px; }
.get p { margin: 0; }
.chero-art { border-radius: var(--radius-box); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px var(--line); }
.chero-art img { width: 100%; height: 100%; object-fit: cover; }
.chero-art .art .ph { font-size: 6rem; }
.clearn { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .clearn { grid-template-columns: 1.6fr 1fr; } .cside { position: sticky; top: calc(var(--top-h) + 24px); } }
.clearn h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 16px; }
.chapters summary span:first-child { flex: 1; }
.chapters summary .meta { flex: none; }
.lessons { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 4px; }
.lessons li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; }
.ln { flex: none; min-width: 32px; color: var(--copper-hi); font: 700 0.875rem var(--font-display); font-variant-numeric: tabular-nums; }
.soonline { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.cside { display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cside h2 { font-size: 1.25rem; margin: 0; }
.cside p { margin: 0; color: var(--muted); }
.pathnav { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.pathnav > div { display: grid; gap: 8px; }
.pathnav .btn { justify-content: space-between; white-space: normal; text-align: start; line-height: 1.3; padding-block: 8px; }
.cjoin { padding-top: 16px; border-top: 1px solid var(--line); }
.cside .btn-main { justify-self: stretch; }

/* ══ v3: glass, aurora, marquee, magnetic buttons ═════════════ */
main, .foot { position: relative; z-index: 1; }
.btn { translate: var(--tx, 0) var(--ty, 0); transition: transform var(--dur-fast) var(--ease-out), translate 160ms var(--ease-out); }

/* Glass copper button (Apple-style glass, tinted copper, never white) */
.btn-glass {
  color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.4);
  background: linear-gradient(180deg, rgb(226 160 128 / 0.62), rgb(180 104 74 / 0.4) 55%, rgb(122 63 39 / 0.58));
  backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), inset 0 -10px 18px -8px rgb(255 200 170 / 0.28), inset 0 0 0 1px rgb(255 214 190 / 0.38), 0 12px 30px -10px var(--copper-glow);
}
.btn-glass::before { /* a band of light that sweeps across now and then */
  content: ""; position: absolute; z-index: -1; inset-block: 0; inset-inline-start: -50%; width: 38%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.5), transparent);
  transform: skewX(-20deg); opacity: 0;
}
.motion .btn-glass::before { animation: sweep 5s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { opacity: 0; transform: translateX(0) skewX(-20deg); } 62% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(var(--d) * 420%)) skewX(-20deg); } }
@media (hover: hover) { .btn-glass:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), inset 0 -10px 18px -8px rgb(255 200 170 / 0.4), inset 0 0 0 1px rgb(255 224 205 / 0.55), 0 16px 40px -8px var(--copper-glow); } }

/* Slow copper light drifting behind everything */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(closest-side, rgb(180 104 74 / 0.15), transparent 70%); }
.aurora i:nth-child(1) { top: -25vmax; inset-inline-end: -25vmax; }
.aurora i:nth-child(2) { bottom: -35vmax; inset-inline-start: -30vmax; background: radial-gradient(closest-side, rgb(122 63 39 / 0.2), transparent 70%); }
.motion .aurora i:nth-child(1) { animation: drift 38s ease-in-out infinite alternate; }
.motion .aurora i:nth-child(2) { animation: drift 46s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(calc(var(--d) * -9vmax), 7vmax, 0) scale(1.15); } }

/* Course names, one slow strip (the only marquee on the page) */
.marquee { overflow: hidden; padding-block: 8px 24px; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-inline: var(--gutter); max-width: 1120px; margin-inline: auto; }
.marquee-track span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: var(--radius-control); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; font: 600 0.9375rem var(--font-display); }
.marquee-track .ph { color: var(--copper-hi); font-size: 1.125rem; }
.marquee-track span:nth-child(n + 21) { display: none; }
.motion .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.motion .marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; max-width: none; margin: 0; padding: 0; animation: slide 70s linear infinite; }
.motion .marquee-track span:nth-child(n + 21) { display: inline-flex; }
.motion .marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(var(--d) * -50%)); } }

/* Hero logo leans a little toward the pointer (desktop) */
.motion .hero .mark { translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px); transition: translate 300ms var(--ease-out); }

/* Course cards tilt gently under the pointer */
.ccard { transition: box-shadow var(--dur) var(--ease-out), transform 200ms var(--ease-out); }
.motion .ccard { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

.facts b { display: inline-block; flex: none; min-width: 3ch; white-space: nowrap; }
.fic .ph { font-size: 1.5rem; color: inherit; }

/* Calm pass: nothing loops, nothing follows the pointer. Reveals, hover lift and tap burst stay. */
.motion .btn-main, .motion .hero .btn-main { animation: none; }
.motion .hero .btn-main { animation: fade var(--dur-slow) var(--ease-out) 1250ms both; }
.motion .btn-glass::before, .motion .aurora i { animation: none; }
.motion .ccard { transform: none; }
.motion .hero .mark { translate: none; }
.ccard::before, .pcard::before, .fcard::before, .tile::before, .plan::before { display: none; }
.motion .marquee { -webkit-mask-image: none; mask-image: none; }
.motion .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.motion .marquee-track span:nth-child(n + 21) { display: none; }

/* Field cards rest dark with a copper edge, and fill with copper only when tapped */
.fcard { background: linear-gradient(160deg, #22160F, #15110E); box-shadow: inset 0 0 0 1px rgb(208 138 106 / 0.35), 0 16px 36px -26px rgb(0 0 0 / 0.9); }
.fcard[aria-pressed="true"] { filter: none; background: radial-gradient(140% 120% at 100% 0%, rgb(226 160 128 / 0.55), transparent 58%), linear-gradient(160deg, #8F4D30, #3B1E12); }
@media (hover: hover) { .fcard:hover { filter: none; box-shadow: inset 0 0 0 1px var(--copper-hi), 0 16px 36px -22px rgb(0 0 0 / 0.9); } }

/* ══ Neural path: the signature drawing (a learning curve over a hidden network) ═════════ */
.neural { padding-block: clamp(56px, 9vw, 104px) 24px; }
.neural .wrap { padding-inline: var(--gutter); margin-bottom: 28px; }
.neural-stage {
  position: relative; max-width: 1120px; margin-inline: auto; height: clamp(260px, 36vw, 400px);
  border-radius: var(--radius-box); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
  background: radial-gradient(90% 120% at 50% 100%, rgb(180 104 74 / 0.10), transparent 70%), var(--surface);
}
.neural-stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.neural-hint {
  position: absolute; inset-inline: 0; bottom: 36px; margin: 0; text-align: center;
  font-size: 0.8125rem; line-height: 1.4; color: var(--muted); pointer-events: none;
}
@media (hover: none), (pointer: coarse) { .neural-hint { display: none; } }
/* the curve now lives inside the hero, under the button */
.hero .neural-stage { width: 100%; max-width: 1000px; height: clamp(240px, 30vw, 340px); margin-top: 8px; }
@media (min-width: 900px) and (min-height: 700px) {
  .hero { padding-block: 88px 40px; }
  .hero-inner { gap: 18px; }
  .hero .mark { width: min(100%, 300px); }
  .hero .neural-stage { height: clamp(220px, 26vw, 300px); }
}

/* ══ Path maps: Use = a circuit trace, Engineer = a neural network (desktop only) ═══════ */
.pmaps { display: none; }
@media (min-width: 900px) {
  .pmaps { display: grid; gap: 28px; margin-block: 8px; }
  .pmaps-hint { margin: 0; text-align: center; color: var(--muted); font-size: 0.875rem; }
}
.pmap { display: grid; gap: 14px; }
.pmap-head { display: flex; gap: 14px; align-items: center; }
.pmap-head > .ph { font-size: 2rem; color: var(--copper-hi); }
.pmap-head h3 { margin: 0; }
.pmap-head p { margin: 0; color: var(--copper-hi); font-weight: 600; font-size: 0.9375rem; }
.pmap-box {
  position: relative; width: 100%; border-radius: var(--radius-box); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
  background: radial-gradient(80% 90% at 50% 0%, rgb(180 104 74 / 0.10), transparent 70%), var(--surface);
}
.pmap-box svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pmap .st { position: absolute; transform: translate(-50%, -50%); text-decoration: none; color: var(--text); transition: opacity 500ms var(--ease-out), scale 500ms var(--ease-out), border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast); }
.pmap .st b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--copper); color: var(--on-copper); font: 800 0.75rem var(--font-display); flex: none; }
.pmap .st span { font: 600 0.8125rem/1.35 var(--font-display); }
.pmap .st:focus-visible { outline-offset: 3px; }

/* Use: station chips sitting on one copper trace */
.pmap-use .trace-base, .pmap-use .trace, .pmap-use .lit { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.pmap-use .trace-base { stroke: var(--line); stroke-width: 3; stroke-dasharray: 2 9; }
.pmap-use .trace { stroke: var(--copper); stroke-width: 3; opacity: 0.55; }
.pmap-use .lit { stroke: var(--copper-hi); stroke-width: 4; stroke-dasharray: 0 2000; filter: drop-shadow(0 0 6px var(--copper-glow)); transition: stroke-dasharray 650ms var(--ease-out); }
.pmap-use .st { width: 19%; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.pmap-use .st .ph { color: var(--copper-hi); font-size: 1.125rem; flex: none; }
.pmap-use .st:hover, .pmap-use .st:focus-visible { background: #1d1612; box-shadow: inset 0 0 0 1px var(--copper), 0 0 22px var(--copper-glow); }

/* Engineer: layers of nodes, every node wired to the next layer */
.pmap-eng svg path { fill: none; stroke: var(--line); stroke-width: 1.4; transition: stroke var(--dur), opacity var(--dur); }
.pmap-eng svg path.lit { stroke: var(--copper-hi); stroke-width: 2.4; filter: drop-shadow(0 0 4px var(--copper-glow)); }
.pmap-eng .pmap-box.has-lit svg path:not(.lit) { opacity: 0.35; }
.pmap-eng .st { display: grid; justify-items: center; gap: 8px; width: 15%; text-align: center; }
.pmap-eng .st b { width: 40px; height: 40px; font-size: 0.9375rem; background: var(--bg); color: var(--copper-hi); box-shadow: inset 0 0 0 2px var(--copper); transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast); }
.pmap-eng .st .ph { display: none; }
.pmap-eng .st:hover b, .pmap-eng .st:focus-visible b, .pmap-eng .st.near b { background: var(--copper); color: var(--on-copper); box-shadow: 0 0 20px var(--copper-glow); }
.pmap-eng .st.near:not(:hover) b { background: var(--copper-deep); color: var(--text); }

/* Draw once when it comes into view (motion only; without it everything is simply there) */
.motion .pmap:not(.in) .trace { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.motion .pmap .trace { transition: stroke-dashoffset 2s var(--ease-out); stroke-dashoffset: 0; }
.motion .pmap:not(.in) .st { opacity: 0; scale: 0.85; }
.motion .pmap .st { transition-delay: calc(var(--i) * 110ms + 250ms), calc(var(--i) * 110ms + 250ms), 0s, 0s, 0s; }
.motion .pmap-eng:not(.in) svg path { opacity: 0; }
.motion .pmap-eng svg path { transition-delay: calc(var(--layer, 0) * 150ms), 0s; }
@media (prefers-reduced-motion: reduce) { .pmap .st, .pmap svg path { transition: none; } }

/* ══ Included things as an orbit (desktop). The tile grid stays for phones. ═══════════════ */
.orbit { display: none; }
@media (min-width: 900px) { .orbit { display: block; } .bento8 { display: none; } .choice, .road { display: none; } }
.orbit-box { position: relative; width: 100%; max-width: 1000px; margin-inline: auto; }
.orbit-box svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-box svg ellipse { fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 3 9; }
.orbit-box svg path { fill: none; stroke: var(--line); stroke-width: 1.2; transition: stroke var(--dur), stroke-width var(--dur); }
.orbit-box svg path.lit { stroke: var(--copper-hi); stroke-width: 2.2; filter: drop-shadow(0 0 4px var(--copper-glow)); }
.orbit-core { position: absolute; inset: 22% 27%; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; }
.orbit-core img { width: 92px; height: auto; opacity: 0.95; filter: drop-shadow(0 0 22px var(--copper-glow)); transition: scale var(--dur) var(--ease-out); }
.orbit-core h3 { margin: 0; font-size: 1.125rem; }
.orbit-core p { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.6; max-width: 34ch; min-height: 3.2em; }
.orbit-box.on .orbit-core img { scale: 0.8; }
.orb {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; max-width: 19%;
  padding: 9px 14px; border-radius: var(--radius-control); background: var(--bg); color: var(--text); cursor: pointer;
  border: 0; box-shadow: inset 0 0 0 1px var(--line); font: 600 0.8125rem/1.3 var(--font-display);
  transition: box-shadow var(--dur-fast), background var(--dur-fast), opacity 500ms var(--ease-out), scale 500ms var(--ease-out);
}
.orb .ph { color: var(--copper-hi); font-size: 1.125rem; flex: none; }
.orb:hover, .orb:focus-visible, .orb.on { background: #1d1612; box-shadow: inset 0 0 0 1px var(--copper), 0 0 22px var(--copper-glow); }
.motion .orbit:not(.in) .orb { opacity: 0; scale: 0.8; }
.motion .orbit .orb { transition-delay: 0s, 0s, calc(var(--i) * 90ms), calc(var(--i) * 90ms); }
.motion .orbit:not(.in) svg path, .motion .orbit:not(.in) svg ellipse { opacity: 0; }

/* The field you pick lights its stops on both path maps */
.pmap-use .st.mine { background: #1d1612; box-shadow: inset 0 0 0 1px var(--copper), 0 0 18px var(--copper-glow); }
.pmap-eng .st.mine b { background: var(--copper); color: var(--on-copper); box-shadow: 0 0 20px var(--copper-glow); }
.pmap-box.has-mine .st:not(.mine) { opacity: 0.45; }
.rec-map { display: none; }
@media (min-width: 900px) { .rec-map { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--copper-hi); font-weight: 600; text-decoration: none; } .rec-map:hover { color: var(--copper-hi); } }

/* Scroll thread: a copper line on the page edge that fills as you read (wide screens, motion only) */
.thread { display: none; }
@media (min-width: 1320px) {
  .motion .thread { display: block; position: fixed; inset-inline-end: 22px; top: 50%; translate: 0 -50%; height: 56vh; width: 2px; z-index: 15; }
  .thread::before { content: ""; position: absolute; inset: 0; background: var(--line); border-radius: 2px; }
  .thread i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--sp, 0)); background: linear-gradient(var(--copper), var(--copper-hi)); border-radius: 2px; box-shadow: 0 0 10px var(--copper-glow); }
  .thread a { position: absolute; inset-inline-end: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); translate: 0 -50%; transition: box-shadow var(--dur-fast), scale var(--dur-fast); }
  .thread a.past { box-shadow: inset 0 0 0 2px var(--copper); }
  .thread a.now { box-shadow: inset 0 0 0 2px var(--copper-hi), 0 0 12px var(--copper-glow); scale: 1.35; }
  .thread a span { position: absolute; inset-inline-end: 22px; top: 50%; translate: 0 -50%; white-space: nowrap; padding: 4px 10px; border-radius: 8px; background: var(--surface); color: var(--text); font: 600 0.75rem var(--font-display); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transition: opacity var(--dur-fast); }
  .thread a:hover span, .thread a:focus-visible span { opacity: 1; }
}

/* ══ Galaxy hero, page stars, terminal ═══════════════════════════════════════════════ */
.galaxy {
  position: absolute; inset: 0 0 auto 0; width: 100%; height: max(100svh, 720px); z-index: 1; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 46%, #000 62%, transparent 100%);
}
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.page-home .hero::after { z-index: 0; }

.chero-side { display: grid; gap: 16px; }
.term { border-radius: var(--radius-box); background: #0a0a0b; box-shadow: inset 0 0 0 1px var(--line), 0 18px 50px rgb(0 0 0 / 0.45); overflow: hidden; text-align: left; }
.term-bar { display: flex; gap: 6px; padding: 10px 14px; background: #141416; border-bottom: 1px solid var(--line); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.term-bar i:first-child { background: var(--copper); }
.term pre { margin: 0; padding: 16px 18px 18px; min-height: 9.5em; font: 500 0.875rem/1.8 ui-monospace, "Cascadia Code", Consolas, monospace; color: #d7d7dc; white-space: pre-wrap; }
.term .tp { color: var(--copper-hi); }
.term .tk { color: #cfd2d6; }
.motion .term.typing code::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-inline-start: 2px; vertical-align: text-bottom; background: var(--copper-hi); animation: caret 900ms steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ══ Intro + scroll-linked hero ═══════════════════════════════════════════════════════ */
.hero { --sp: 0; }
.intro-skip { display: none; }
.intro .intro-skip {
  display: block; position: fixed; z-index: 30; bottom: 26px; inset-inline: 0; margin-inline: auto; width: max-content;
  padding: 8px 22px; border: 0; border-radius: var(--radius-control); cursor: pointer;
  background: rgb(255 255 255 / 0.06); color: var(--muted); font: 600 0.8125rem var(--font-display);
  box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); transition: color var(--dur-fast), background var(--dur-fast);
}
.intro .intro-skip:hover { color: var(--text); background: rgb(255 255 255 / 0.12); }
/* While the particles spell and form, the real content waits. Animations inside are paused, then start when it appears. */
.intro .hero-inner { opacity: 0; pointer-events: none; }
.intro .hero-inner * { animation-play-state: paused !important; }
.motion .hero-inner { transition: opacity 900ms var(--ease-out); }
/* Scrolling away from the hero: the galaxy grows and fades, the words lift (scroll-linked, no loop) */
.motion .galaxy { transform: scale(calc(1 + var(--sp) * 0.5)); transform-origin: 50% 46%; opacity: calc(1 - var(--sp) * 0.9); will-change: transform, opacity; }
.motion .hero-inner { translate: 0 calc(var(--sp) * -56px); }

/* ══ Contact buttons (ticket 07): WhatsApp + Instagram DM, side by side ═══════════════════ */
.contact { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: center; text-align: center; }
.contact-title { margin: 0; color: var(--muted); font-weight: 600; }
.contact-btns { display: flex; gap: 12px; width: 100%; justify-content: center; }
.contact-btns .btn { flex: 1 1 0; max-width: 260px; min-width: 0; padding: 8px 14px; font-size: 1rem; white-space: normal; text-align: center; line-height: 1.2; }
@media (max-width: 400px) { .contact-btns .btn { font-size: 0.875rem; gap: 6px; padding: 0 8px; } }
.contact .ph { font-size: 1.25rem; }
.contact-sec { padding-top: 0; }
.register .contact { margin-top: 56px; }

/* How to pay */
.pay-in { display: grid; gap: 24px; justify-items: start; }
.pay-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; width: 100%; }
@media (min-width: 900px) { .pay-steps { grid-template-columns: repeat(4, 1fr); } }
.pay-step { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pay-step h3 { margin: 0; }
.pay-step p { margin: 0; color: var(--muted); }
.pn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--copper); color: var(--on-copper); font: 800 1.125rem var(--font-display); }
.pay-ways { display: grid; gap: 12px; width: 100%; }
@media (min-width: 700px) { .pay-ways { grid-template-columns: repeat(2, 1fr); } }
.pay-way { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pay-way h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.375rem; }
.pay-way h2 .ph { color: var(--copper-hi); }
.pay-way p { margin: 0; color: var(--muted); }
.pay-nums { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pay-nums li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; border-radius: var(--radius-control); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.pay-warn { width: 100%; margin-top: 0; }
.pay .contact { width: 100%; }
/* ══ Hero message (ticket 10): copper core, big tight headline, one glowing button ═══════════ */
/* The text block is as tall as the first screen, centred on the core the galaxy canvas draws (46% down). */
.hero-copy {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 20px;
  min-height: calc(max(100svh, 720px) * 0.92 - 184px);
}
/* The AZM logo is only the intro's landing spot: it dissolves into the core, then the words arrive. */
.hero-copy .mark { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(78vw, 300px); opacity: 0; pointer-events: none; }
.motion .hero-copy .mark { translate: -50% -50%; animation: markaway 700ms var(--ease-out) 900ms both; }
@keyframes markaway { from { opacity: 1; } to { opacity: 0; scale: 1.08; filter: blur(6px); } }

.annc {
  margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: var(--radius-control);
  font: 600 0.875rem/1.5 var(--font-display); color: var(--copper-hi);
  border: 1.5px solid transparent;
  background:
    linear-gradient(#121214, #121214) padding-box,
    conic-gradient(from var(--angle), rgb(122 63 39 / 0.45) 0%, var(--copper-hi) 14%, rgb(122 63 39 / 0.45) 34%, rgb(122 63 39 / 0.45) 100%) border-box;
}
.annc .ph { font-size: 1rem; color: var(--copper-hi); }

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; line-height: 1.28; text-wrap: balance;
  text-shadow: 0 2px 30px rgb(13 14 16 / 0.85), 0 0 3px rgb(13 14 16 / 0.5);
}
[dir="ltr"] .hero h1 { letter-spacing: -0.02em; line-height: 1.05; }
.hero h1 .line { white-space: normal; }
.hero .sub { max-width: 44ch; color: rgb(245 245 247 / 0.74); font-size: clamp(1.0625rem, 2.2vw, 1.25rem); text-shadow: 0 1px 18px rgb(13 14 16 / 0.9); }

.hero-copy .hero-btn {
  min-height: 58px; padding: 0 34px; font-size: 1.125rem; margin-top: 6px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 0 46px -6px var(--copper-glow), 0 18px 44px -14px var(--copper-glow);
}
.hero-copy .hero-btn .ph { font-size: 1.25rem; }
.member { margin: 0; color: var(--muted); font: 500 0.875rem/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: 0.04em; }

/* Under the hero: the learning-curve map rises out of the bottom edge and fades into the page. */
.hero .neural-stage { -webkit-mask-image: linear-gradient(#000 68%, transparent); mask-image: linear-gradient(#000 68%, transparent); }

/* Entrance, once, after the logo: pill, then the headline word by word, sub-line, button, member line. */
.motion .annc { animation: fade var(--dur-slow) var(--ease-out) 1000ms both, turn 5s linear 1000ms 1 both; }
.motion .hero .word { animation-delay: calc(1150ms + var(--i) * 55ms); }
.motion .hero .sub { animation-delay: 1750ms; }
.motion .hero .hero-copy .btn-main { animation: fade var(--dur-slow) var(--ease-out) 1900ms both; }
.motion .member { animation: fade var(--dur-slow) var(--ease-out) 2050ms both; }
@media (max-width: 899px) { .hero-copy { gap: 16px; } .hero .sub { max-width: 30ch; } }

/* ══ Registration hero: the hook on the start side, the trial video on the other, the AZM mark stays above the hook ═════════════ */
.hero-split .hero-copy .mark { position: relative; left: auto; top: auto; translate: none; opacity: 1; width: min(46vw, 170px); }
.motion .hero-split .hero-copy .mark { translate: none; animation: none; }
.hero-split .hero-copy { min-height: 0; }
.hero-video { width: 100%; }
.hero-video .video { max-width: none; box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -30px var(--copper-glow); }
@media (min-width: 900px) {
  .hero-split .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; justify-items: stretch; text-align: start; }
  .hero-split .hero-copy { justify-items: start; text-align: start; padding-block: 24px; }
  .hero-split .neural-stage { grid-column: 1 / -1; justify-self: center; }
}

/* ══ Registration flow (ticket 16): the form opens full-screen, one card at a time ═══════════════════════════════════════════ */
.reg-js .reg-modal:not(.open) { display: none; }
.reg-modal.open {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow-y: auto;
  padding: 72px var(--gutter) 40px; background: rgb(10 10 12 / 0.94); backdrop-filter: blur(22px);
}
.motion .reg-modal.open { animation: reg-in 420ms var(--ease-out) both; }
.reg-close {
  position: fixed; top: 16px; inset-inline-end: 16px; z-index: 10000; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 0; cursor: pointer; font-size: 1.375rem; color: var(--text); background: rgb(255 255 255 / 0.08);
}
.reg-close:hover { background: rgb(255 255 255 / 0.16); }
.reg-modal .wrap { width: 100%; max-width: 640px; }
.motion .reg-modal [data-step]:not([hidden]) { animation: step-in 460ms var(--ease-out) both; }
.motion .reg-modal .option { transition: translate 200ms var(--ease-out), background 200ms; }
.reg-modal .option:hover { translate: 0 -2px; }
.reg-lock { overflow: hidden; }
@keyframes reg-in { from { opacity: 0; scale: 0.985; } to { opacity: 1; scale: 1; } }
@keyframes step-in { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.reg-lock main { z-index: 9999; } /* the open form must sit above the fixed top bar, which main would otherwise trap it under */

/* ══ Launch countdown (ticket 17) ══════════════════════════════════════════════════════════════════════════════════════════ */
.cd { display: flex; gap: 10px; justify-content: inherit; direction: ltr; }
.cd[hidden], .cd-bar[hidden] { display: none; }
.cd span { display: grid; justify-items: center; min-width: 68px; padding: 10px 8px; border-radius: var(--radius-control); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.cd b { font: 700 1.75rem/1.1 var(--font-display); color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.cd small { font-size: 0.75rem; color: var(--muted); }
.cd .cd-live { min-width: 0; padding: 12px 22px; font: 700 1.125rem var(--font-display); color: var(--copper-hi); }
.cd-bar { position: fixed; z-index: calc(var(--z-top) - 1); inset: var(--top-h, 72px) 0 auto; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 16px; background: rgb(122 63 39 / 0.28); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.cd-bar .btn { min-height: 34px; padding: 0 16px; }
.has-cd-bar .hero { padding-top: 144px; }
@media (max-width: 899px) { .cd span { min-width: 58px; } .cd b { font-size: 1.375rem; } }

/* ══ "Just registered" notification (ticket 18): own look, copper edge, avatar, mute ═════════════════════════════════════ */
.live { border-radius: 18px; background: rgb(18 14 12 / 0.94); box-shadow: inset 0 0 0 1px rgb(208 138 106 / 0.45), 0 18px 48px -14px rgb(208 138 106 / 0.35); gap: 12px; align-items: center; }
.live-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 800 1.125rem var(--font-display); color: var(--on-copper); background: linear-gradient(145deg, var(--copper-hi), var(--copper)); }
.live p { display: grid; gap: 2px; margin: 0; }
.live p span { font-size: 0.8125rem; color: var(--copper-hi); font-weight: 600; }
.live p small { font-size: 0.8125rem; color: var(--muted); }
.motion .live.show { animation: live-in 520ms var(--ease-out) both; }
@keyframes live-in { from { opacity: 0; translate: 0 18px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* ══ Prices page, payment dialogs, courses page (tickets 19 to 21) ════════════════════════════════════════════════════════ */
.prices-page .pay-in, .courses-page .pay-in { max-width: 1100px; margin-inline: auto; justify-items: stretch; }
.prices-page .plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .prices-page .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pp-plan { padding: 32px 24px; }
.pp-plan.plan-member { box-shadow: inset 0 0 0 2px var(--copper-hi), 0 30px 80px -30px var(--copper-glow); }
.plan-save { margin: 0; padding: 6px 12px; border-radius: var(--radius-control); background: rgb(208 138 106 / 0.14); color: var(--copper-hi); font-weight: 600; font-size: 0.9375rem; }
.pp-faq { display: grid; gap: 8px; }
.faq-item { padding: 16px 20px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--muted); }
.pay-dialog { width: min(560px, calc(100vw - 32px)); padding: 32px 24px 24px; border: 0; border-radius: 22px; color: var(--text); background: #141416; box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -20px #000; }
.pay-dialog::backdrop { background: rgb(8 8 10 / 0.8); backdrop-filter: blur(8px); }
.pay-dialog h2 { margin: 0 0 8px; }
.pay-dialog .reg-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; z-index: 1; }
.pd-way { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border-radius: var(--radius-box); background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.pd-way h3 { margin: 0; font-size: 1.125rem; } .pd-way p { margin: 0; color: var(--muted); }
.cp-path { display: grid; gap: 16px; width: 100%; margin-top: 24px; }
.cp-item { display: grid; gap: 8px; align-content: start; }
.cp-for { margin: 0; padding-inline: 4px; color: var(--muted); font-size: 0.9375rem; }
.cp-for b { color: var(--text); }
.foot-priv { max-width: 60ch; font-size: 0.8125rem; opacity: 0.7; }

/* ══ Country flag inside the phone field ════════════════════════════════════════════════════════════════════════════════════ */
.phone-wrap { position: relative; }
.phone-flag { position: absolute; left: 14px; top: 50%; translate: 0 -50%; display: flex; pointer-events: none; }
.phone-flag img { width: 28px; height: 20px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2); }
.phone-wrap:has(.phone-flag:not([hidden])) input { padding-left: 54px; }
.motion .phone-flag:not([hidden]) { animation: step-in 300ms var(--ease-out) both; }

/* Hero video box: a bigger, squarer card pushed to the far side so the planet stays clear; "coming soon" until a video exists */
.hero-video { width: min(100%, 460px); justify-self: end; }
.hero-video .video { aspect-ratio: 4 / 3; }
.video-soon { display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); font: 600 1.25rem var(--font-display);
  background: linear-gradient(145deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02)); backdrop-filter: blur(6px); }
.video-soon .ph { font-size: 3rem; color: var(--copper-hi); opacity: 0.8; }
@media (min-width: 900px) { .hero-split .hero-inner { gap: 24px; } }

/* The hero video box sits on the far edge of the screen, bigger */
.hero-video { width: 100%; max-width: 600px; margin-inline-end: calc(-1 * max(0px, (100vw - 1200px) / 2) + 24px); }
.story .video-soon { width: 100%; max-width: 880px; aspect-ratio: 16 / 9; }
@media (max-width: 899px) { .hero-video { margin-inline-end: 0; max-width: none; } }

/* Real site (home) hero proportions, measured from the reference: a wide 16:9 video about 55% of the width on one side,
   a ~540px hook column on the other, a headline around 48px instead of 64px, all inside a 1360px frame */
.hero-home .hero-video { width: 100%; max-width: none; margin-inline-end: 0; justify-self: stretch; }
.hero-home .hero-video .video { aspect-ratio: 16 / 9; }
.hero-home h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
@media (min-width: 900px) {
  .hero-home .hero-inner { max-width: 1360px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 80px; }
}

/* ══ Spec H: spotlight hero (home only). A copper light behind the video box, a floating shadow, and on desktop a scroll-driven tilt. No galaxy, nothing turns. ═════ */
.hero-spot .hero-video { position: relative; isolation: isolate; }
.hero-spot .hero-video::before {
  content: ""; position: absolute; inset: -28% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(208 138 106 / 0.34), rgb(208 138 106 / 0.14) 55%, rgb(208 138 106 / 0) 100%);
}
.hero-spot .hero-video .video { box-shadow: inset 0 0 0 1px var(--line), 0 56px 90px -34px rgb(0 0 0 / 0.8), 0 30px 80px -30px var(--copper-glow); }
@media (max-width: 899px) { .hero-spot .hero-video::before { inset: -16% -4%; } }
@media (min-width: 900px) {
  .motion .hero-spot .hero-video::before { animation: spot-in 1200ms var(--ease-out) both, spot-breathe 8s ease-in-out 1200ms infinite; }
  @supports (animation-timeline: scroll()) {
    .motion .hero-spot .hero-video .video { transform-origin: 50% 60%; animation: spot-tilt linear both; animation-timeline: scroll(root); animation-range: 0 70svh; }
  }
}
@keyframes spot-in { from { opacity: 0; } }
@keyframes spot-breathe { 50% { opacity: 0.8; } }
@keyframes spot-tilt { from { transform: perspective(1400px) rotateX(12deg); } to { transform: perspective(1400px) rotateX(0deg); } }

/* ══ Start Free: the 5 free lessons right under the home hero ═════════════════════════════════════════════════════════════ */
.start-free .wrap { display: grid; gap: 20px; justify-items: start; }
.sf-grid { list-style: none; margin: 12px 0 0; padding: 0; width: 100%; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); counter-reset: sf; }
@media (min-width: 1200px) { .sf-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sf-card { display: grid; gap: 14px; align-content: start; padding: 10px 10px 18px; border-radius: calc(var(--radius-box) + 6px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: translate 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s; }
.sf-card .video { max-width: none; box-shadow: none; }
.sf-card .video-soon { font-size: 1rem; gap: 6px; }
.sf-card .video-soon .ph { font-size: 2rem; }
.sf-meta { display: flex; gap: 12px; align-items: start; padding-inline: 8px; }
.sf-meta h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.sf-meta p { margin: 4px 0 0; color: var(--muted); font-size: 0.875rem; }
.sf-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-control); background: var(--copper); color: var(--on-copper); font-weight: 700; }
@media (hover: hover) { .sf-card:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px var(--copper), 0 24px 60px -28px var(--copper-glow); } }
.sf-locked .video, .sf-locked .sf-n { opacity: 0.4; filter: grayscale(1); }
.sf-lock-note { display: flex; gap: 6px; align-items: center; color: var(--copper); font-weight: 600; }
.sf-lock-note[hidden] { display: none; }
.sf-seen .sf-n { box-shadow: 0 0 0 3px var(--copper-glow); }
.sf-card:target { box-shadow: inset 0 0 0 2px var(--copper); }
@media (prefers-reduced-motion: reduce) { .sf-card { transition: none; } .sf-card:hover { translate: none; } }
.lessons a.tag.free { text-decoration: none; }

/* ══ Fast Track: the "in a hurry?" shortcut card inside Foundation ═══════════════════════════════════════════════════════════ */
.fast-track { position: relative; display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: calc(var(--radius-box) + 8px); overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgb(180 104 74 / 0.22), transparent 55%), var(--surface); box-shadow: inset 0 0 0 1px var(--copper); }
.courses-page .fast-track { margin-block: 8px 24px; }
.ft-head { display: flex; gap: 14px; align-items: center; }
.ft-head > .ph { font-size: 2.25rem; color: var(--copper-hi); }
.ft-name { margin: 0; color: var(--copper-hi); font-weight: 700; font-size: 0.9rem; }
.ft-head h2 { margin: 2px 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.ft-lead { margin: 0; color: var(--muted); max-width: 60ch; }
.ft-list { margin: 0; }
.fast-track .btn { justify-self: start; }

/* ══ Founding offer + Egypt / outside Egypt switch (Launch phase) ═════════════════════════════════════════════════════════════ */
.cur-egp [data-cur="usd"], .cur-usd [data-cur="egp"], .cur-egp .cur-sep, .cur-usd .cur-sep { display: none !important; }
.cur-switch { display: inline-flex; gap: 4px; padding: 4px; margin-block: 8px; border-radius: var(--radius-control); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cur-switch[hidden] { display: none; }
.cur-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 0; border-radius: var(--radius-control); background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
  transition: background-color 0.25s, color 0.25s; }
.cur-switch button img { border-radius: 2px; }
.cur-switch button[aria-pressed="true"] { background: var(--copper); color: var(--on-copper); }
.plan-founding { display: flex; gap: 8px; align-items: start; margin: 0; color: var(--copper-hi); font-size: 0.9375rem; font-weight: 600; }
.plan-founding .ph { flex: none; margin-top: 3px; }
.plan-member .plan-founding { color: var(--copper-hi); }
.founding-cd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-block: 4px 12px; }
.founding-cd p { margin: 0; color: var(--muted); font-weight: 600; }
.founding-cd[hidden] { display: none; }

/* ══ Trainer page: round photo, breathing copper light ═════════════════════════════════════════════════════════════════════ */
.tr-in { display: grid; justify-items: center; gap: 20px; text-align: center; }
.tr-hero { padding-block: clamp(96px, 14vw, 140px) 24px; }
.tr-hero .back { justify-self: start; }
.tr-photo { position: relative; width: clamp(200px, 38vw, 280px); aspect-ratio: 1; margin-block: 12px; animation: tr-in 0.9s var(--ease-out) both; }
.tr-photo::before { content: ""; position: absolute; inset: -34%; border-radius: 50%; background: radial-gradient(closest-side, var(--copper-glow), transparent 70%); animation: tr-breathe 8s ease-in-out 1s infinite; }
.tr-photo img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--copper); }
.tr-ring { position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 60%, var(--copper-hi) 85%, transparent); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: tr-spin 14s linear infinite; }
.tr-name { animation: tr-in 0.9s var(--ease-out) 0.15s both; }
.tr-role { margin: 0; color: var(--copper-hi); font-weight: 700; font-size: 1.125rem; animation: tr-in 0.9s var(--ease-out) 0.3s both; }
.tr-more { padding-top: 24px; }
.tr-more .video { width: min(100%, 720px); }
.tr-soc { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.soc { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: var(--radius-control); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.soc .ph { font-size: 1.375rem; color: var(--copper-hi); }
.soc:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--copper); }
@keyframes tr-in { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes tr-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes tr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tr-photo, .tr-name, .tr-role, .tr-photo::before, .tr-ring { animation: none; } }

/* ══ Trainer hero card on home: aurora, orbiting social icons, tilt that follows the pointer ═══════════════════════════════════ */
.hcard { --mx: 50%; --my: 50%; --s: clamp(190px, 30vw, 270px); position: relative; isolation: isolate; display: grid; gap: clamp(36px, 6vw, 56px); align-items: center; justify-items: center; text-align: center; margin: 28px auto 0; padding: clamp(56px, 8vw, 88px) clamp(28px, 6vw, 80px);
  border-radius: 28px; overflow: hidden; background: #0A0A0C; box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 900px) { .hcard { grid-template-columns: 1.15fr 1fr; justify-items: start; text-align: start; } .hcard .hc-stage { justify-self: center; } }
.hcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), rgb(208 138 106 / 0.22), transparent 60%); }
.hcard::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), transparent 0 55%, var(--copper-hi) 80%, transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hc-border 9s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hc-glow { position: absolute; z-index: -2; width: 70%; aspect-ratio: 1; inset-block-start: -30%; inset-inline-end: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgb(180 104 74 / 0.5), transparent 70%); filter: blur(30px); animation: hc-drift 14s ease-in-out infinite alternate; }
.hc-grid { position: absolute; inset: 0; z-index: -2; opacity: 0.35; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask: radial-gradient(70% 70% at 70% 40%, #000, transparent); mask: radial-gradient(70% 70% at 70% 40%, #000, transparent); }
.hc-text { display: grid; gap: 14px; justify-items: inherit; }
.hc-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgb(180 104 74 / 0.14); color: var(--copper-hi); font: 700 0.8125rem var(--font-display); letter-spacing: 0.2em; }
.hc-name { margin: 0; font: 800 clamp(2.2rem, 5.2vw, 3.6rem)/1.15 var(--font-display); white-space: nowrap; background: linear-gradient(100deg, #fff 30%, var(--copper-hi) 50%, #fff 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hc-shine 6s ease-in-out infinite; }
.hc-role { margin: 0; color: var(--muted); font-size: clamp(1.0625rem, 2.2vw, 1.375rem); font-weight: 600; }
.hc-btn { margin-top: 10px; gap: 10px; }
.hc-btn .ph { transition: transform var(--dur) var(--ease-out); }
.hc-btn:hover .ph { transform: translateX(-6px); }
[dir="ltr"] .hc-btn:hover .ph { transform: translateX(6px); }
.hc-stage { position: relative; width: var(--s); aspect-ratio: 1; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s var(--ease-out); }
.hc-aura { position: absolute; inset: -22%; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgb(208 138 106 / 0.55), transparent 40%, rgb(106 155 204 / 0.25), transparent 75%); filter: blur(22px); animation: hc-spin 12s linear infinite; }
.hc-photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px #0A0A0C, 0 0 0 7px var(--copper), 0 30px 70px -20px rgb(0 0 0 / 0.8); }
.hc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.6s var(--ease-out); }
.hcard:hover .hc-photo img { transform: scale(1.06); }
.hc-ring { position: absolute; inset: -18%; margin: 0; padding: 0; list-style: none; border-radius: 50%; border: 1px dashed rgb(208 138 106 / 0.35); animation: hc-spin 32s linear infinite; }
.hcard:hover .hc-ring, .hcard:hover .hc-ring span { animation-play-state: paused; }
.hc-ring li { position: absolute; inset: 50% auto auto 50%; width: 46px; height: 46px; margin: -23px; transform: rotate(var(--a)) translateY(calc(var(--s) * -0.59)) rotate(calc(var(--a) * -1)); }
.hc-ring a { display: block; width: 100%; height: 100%; }
.hc-ring span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #121214; box-shadow: inset 0 0 0 1px var(--copper), 0 0 22px rgb(180 104 74 / 0.45); color: var(--copper-hi); font-size: 1.3rem; animation: hc-spin 32s linear infinite reverse; transition: background-color var(--dur), color var(--dur); }
.hc-ring a:hover span { background: var(--copper); color: var(--on-copper); }
@keyframes hc-spin { to { transform: rotate(360deg); } }
@keyframes hc-border { to { --ang: 360deg; } }
@keyframes hc-drift { to { transform: translate(-14%, 16%) scale(1.15); } }
@keyframes hc-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hcard::after, .hc-glow, .hc-name, .hc-aura, .hc-ring, .hc-ring span { animation: none; } .hc-stage { transform: none; } }

/* ══ hairline figure under the course cover ═══════════════════════════════════════════════════════════════════════════════ */
.hl-fig { --hl-plate: #0A0A0C; --hl-hi: #F0B79A; --hl-edge: #C07650; --hl-mid: #7A4C38; --hl-lo: #3F2B22; color: var(--copper-hi); border-radius: var(--radius-box); background: radial-gradient(80% 80% at 50% 40%, rgb(180 104 74 / 0.12), transparent 70%), #0A0A0C; box-shadow: inset 0 0 0 1px var(--line); padding: 8px; aspect-ratio: 5 / 4; }
.hl-fig > * { width: 100%; }
.done .next-steps { grid-template-columns: 1fr 1fr; margin-top: 4px; }
.done .next-steps .btn { padding-inline: 12px; gap: 8px; }

/* ══ Success screen: the WhatsApp doors first, then where to go, then share ═══════════════════════════════════════════════ */
.done .join { display: grid; gap: 10px; width: 100%; max-width: 420px; text-align: start; }
.done h4 { margin: 8px 0 0; font: 700 1rem var(--font-display); color: var(--copper-hi); text-align: center; }
.join-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur), transform var(--dur) var(--ease-out); }
.join-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--copper); }
.join-card .ph { flex: none; font-size: 2rem; color: var(--copper-hi); }
.join-card b { display: block; font-size: 1.0625rem; }
.join-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.done .share { display: grid; gap: 12px; justify-items: center; width: 100%; max-width: 420px; }
.share-icons { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.soc-icon { display: grid; justify-items: center; gap: 6px; min-width: 72px; padding: 12px 10px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8125rem; font-weight: 600; transition: background-color var(--dur), color var(--dur); }
.soc-icon .ph { font-size: 1.6rem; color: var(--copper-hi); }
.soc-icon:hover { background: var(--copper); color: var(--on-copper); }
.soc-icon:hover .ph { color: var(--on-copper); }
.share .copied { margin: 0; color: var(--copper-hi); font-size: 0.875rem; }
.share .pages { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.contact-line { display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.contact-line .ph { color: var(--copper-hi); font-size: 1.25rem; }

/* One plan pricing: crossed price, free months, guarantee under the button, states (full / offer) */
[data-state][hidden] { display: none; }
.price-state { display: grid; gap: 6px; }
.price-was { color: var(--muted); font-size: 1.125rem; font-variant-numeric: tabular-nums; text-decoration: line-through; text-decoration-thickness: 2px; }
.plan-member .price-was { color: rgb(255 255 255 / 0.7); }
.offer-price b { margin-inline-end: 6px; }
.plan-free-line { margin: 0; padding: 6px 12px; border-radius: var(--radius-control); background: rgb(208 138 106 / 0.14); color: var(--copper-hi); font-weight: 600; font-size: 0.9375rem; justify-self: start; }
.plan-offer-line { display: flex; gap: 8px; align-items: start; margin: 0; color: var(--copper-hi); font-size: 0.9375rem; font-weight: 600; }
.plan-member .plan-offer-line { color: var(--copper-hi); }
.plan-sub .btn { margin-top: 8px; }
.plan-guarantee { margin: 0; font-size: 0.875rem; color: var(--muted); }
.plan-member .plan-guarantee { color: rgb(255 255 255 / 0.78); }
.plan-under { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.9375rem; }
.checks .feat span b { display: block; }
.pd-price { display: grid; gap: 6px; margin-block: 8px; }
.offer-notes a { color: var(--copper-hi); text-decoration: underline; }
/* Ticket 09: Claude Code badge, "what you will learn" items, open/close parts */
.tag.hot { background: transparent; color: var(--copper-hi); box-shadow: inset 0 0 0 1px var(--copper); }
.learn-items h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 16px; }
.learn-items ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: li; }
.learn-items li { counter-increment: li; display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.learn-items li b { font: 700 1.0625rem var(--font-display); }
.learn-items li b::before { content: counter(li) ". "; color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.learn-items li span { color: var(--muted); }
@media (min-width: 900px) { .learn-items ol { grid-template-columns: repeat(2, 1fr); } }
.chapters summary { min-height: 48px; cursor: pointer; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .chapters details[open] > .lessons { animation: fade var(--dur) var(--ease-out) both; }
  .learn-items li { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
  .learn-items li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--copper); }
}

/* Trust blocks: why me, the message for parents or a manager, Members' opinions */
.why-me { margin-top: 24px; }
.why-me h3 { margin: 0; }
.ask { display: grid; gap: 12px; min-width: 0; }
.ask h4 { margin: 0; font: 700 1.25rem var(--font-display); }
.ask-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ask-card { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--radius-box); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ask-card h5 { margin: 0; font: 700 1rem var(--font-display); color: var(--copper-hi); }
.ask-state { display: grid; gap: 12px; }
.ask-text { margin: 0; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-actions .btn { gap: 8px; }
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 0; padding: 0; list-style: none; }
.quotes blockquote { margin: 0; }
.quotes cite { color: var(--copper-hi); font-style: normal; font-weight: 600; }

/* Email code step (spec E ticket 04, prototype variant A). Copper, never blue. Motion only under .motion:
   the boxes rise in and a wrong code shakes once; phones get a plain fade; reduced motion gets nothing (no .motion class). */
#email-suggest .link, .pc .link { background: none; border: 0; padding: 0; font: inherit; color: var(--copper-hi); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.pc .link:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.pc[hidden] { display: none; }
.pc h3 { font-size: clamp(1.375rem, 4vw, 1.75rem); margin: 0; }
.pc .pc-step { margin: 0; color: var(--copper-hi); font-size: 0.875rem; }
.pc .pc-sub { margin: 0; color: var(--muted); line-height: 1.7; }
.pc .pc-sub b { color: var(--text); unicode-bidi: isolate; overflow-wrap: anywhere; }
.pc .row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted); }
.pc .row .link { min-height: 44px; }
.pc .msg { margin: 0; font-size: 0.9375rem; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.pc .msg.bad { border-color: rgb(220 90 80 / .5); color: #F2A79F; }
.pc .msg.warn { border-color: rgb(180 104 74 / .5); color: var(--copper-hi); }
.pc .msg.good { border-color: rgb(91 190 138 / .5); color: #8FD6AE; }
.pc .msg[hidden], .pc .code-wa[hidden] { display: none; }
.pc .code-wa { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.mail-help { display: grid; gap: 10px; }
.mail-help p { margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.mail-help b { color: var(--text); }
.mail-help .saved { color: #8FD6AE; display: flex; gap: 8px; align-items: center; }
.mh-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.mh-btns .btn { gap: 8px; }
.mh-btns [hidden] { display: none; }
.otp { display: flex; gap: clamp(6px, 2vw, 10px); direction: ltr; justify-content: center; }
.otp .digit { width: clamp(42px, 12vw, 54px); height: clamp(52px, 14vw, 62px); padding: 0; text-align: center; font: 600 1.5rem/1 var(--font-display); color: var(--text);
  background: #0A0A0C; border: 1px solid var(--line); border-radius: 14px; caret-color: var(--copper); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.otp .digit:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgb(180 104 74 / .18); }
.otp .digit.filled { border-color: rgb(180 104 74 / .6); }
.otp.ok .digit { border-color: #5BBE8A; box-shadow: 0 0 0 4px rgb(91 190 138 / .15); }
.motion .pc.in { animation: fade var(--dur-slow) var(--ease-out) both; }
.motion .otp.shake { animation: pc-shake .4s; }
@keyframes pc-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (min-width: 700px) {
  .motion .pc.in .digit { animation: pc-rise var(--dur-slow) var(--ease-out) both; animation-delay: calc(var(--d, 0) * 40ms); }
  .otp .digit:nth-child(2) { --d: 1; } .otp .digit:nth-child(3) { --d: 2; } .otp .digit:nth-child(4) { --d: 3; } .otp .digit:nth-child(5) { --d: 4; } .otp .digit:nth-child(6) { --d: 5; }
}
@keyframes pc-rise { from { opacity: 0; transform: translateY(10px); } }
