/* Homepage owns the site shell, palette, typography and shared controls.
   Article-specific layout stays scoped so it cannot change the header/footer. */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
.wm-article {
  padding-bottom: 80px;
  --panel: var(--bg-panel);
  --inset: var(--bg);
  --muted: rgba(224, 224, 224, .72);
  --quiet: var(--text-dim);
  --line: var(--glass-border);
  --good: #86ddc0;
  --error: #ff9e99;
  --font: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.wm-article * { box-sizing:border-box }
.wm-article a { color:inherit }
.wm-article button,
.wm-article input { font:inherit }
.wm-article button,
.wm-article a { -webkit-tap-highlight-color:transparent }
.wm-article button { cursor:pointer }
.wm-article button:disabled { cursor:default }
.wm-article button:focus-visible,
.wm-article a:focus-visible,
.wm-article input:focus-visible,
.wm-article summary:focus-visible { outline:3px solid var(--accent);outline-offset:5px }
.wm-article button[hidden],
.wm-article [hidden] { display:none!important }
.wm-article h1,
.wm-article h2,
.wm-article h3,
.wm-article p { margin-top:0 }
.wm-article h1,
.wm-article h2,
.wm-article h3 { line-height:1.2 }
.wm-article h2 { font-size:clamp(28px,3vw,39px);font-weight:800;letter-spacing:-1.2px;margin-bottom:25px }
.wm-article h3 { font-size:17px;font-weight:700 }
.wm-article p { margin-bottom:19px }
.wm-article strong { font-weight:700 }
.wm-article ::selection { background:var(--accent);color:var(--bg) }
/* Width and side padding come from the homepage's shared .container. */
.wm-article .wrap { width:100% }
.skip-link { position:fixed;top:-100px;left:20px;background:var(--accent);color:#121221;padding:12px;z-index:100 }
.skip-link:focus { top:12px }
.wm-article .button { display:inline-flex;justify-content:center;align-items:center;gap:20px;min-height:52px;padding:14px 23px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:800;line-height:1.45;border:1px solid transparent;transition:background .18s,transform .18s,border-color .18s }
.wm-article .button span { font-size:21px;line-height:1 }
.wm-article .button:hover { transform:translateY(-2px) }
.wm-article .eyebrow { display:flex;align-items:center;gap:9px;color:var(--accent);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1.9px;line-height:1.7;margin-bottom:20px }
.wm-article .status-dot { width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0 }
.wm-article .breadcrumbs { display:flex;flex-wrap:wrap;gap:12px;color:var(--quiet);font-size:11px;padding:29px 0 9px }
.wm-article .breadcrumbs a { text-decoration:none }
.wm-article .breadcrumbs a:hover { color:var(--accent) }
.wm-article .breadcrumbs>span:last-child { color:var(--muted) }
.wm-article .hero { display:grid;grid-template-columns:1.23fr 1fr;gap:75px;align-items:center;padding:43px 0 65px }
.wm-article .hero h1 { font-size:clamp(44px,5.1vw,67px);line-height:1.08;letter-spacing:-2.8px;font-weight:900;margin-bottom:26px }
.wm-article .hero h1>span { color:var(--accent) }
.wm-article .hero-lead { max-width:535px;font-size:16px;line-height:1.85;color:var(--muted);margin-bottom:28px }
.wm-article .hero-meta { display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;font-size:10px;color:var(--quiet) }
.wm-article .hero-meta span+span:before { content:'·';margin-right:18px;color:var(--accent) }
.wm-article .section-space { padding-block:70px }
.wm-article .intro,
.wm-article .evidence-section { display:grid;grid-template-columns:1fr 1.65fr;gap:70px }
.wm-article .prose p { color:var(--muted) }
.wm-article .prose strong { color:var(--text) }
.wm-article .prose p:last-child { margin-bottom:0 }
.wm-article .choose-section { padding:18px 0 60px;scroll-margin-top:18px }
.wm-article .section-heading { display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:26px }
.wm-article .section-heading h2 { margin-bottom:0 }
.wm-article .section-heading>p { font-size:12px;line-height:1.8;color:var(--quiet);margin:0 0 4px }
.wm-article .choices { display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden }
.wm-article .choices a { position:relative;display:flex;flex-direction:column;align-items:start;padding:26px 21px;text-decoration:none;min-width:0;background:#171728;transition:background .2s }
.wm-article .choices a+a { border-left:1px solid var(--line) }
.wm-article .choices a:hover { background:#202033 }
.wm-article .choice-number { font-size:11px;color:var(--accent);margin-bottom:23px }
.wm-article .choices strong { font-size:13px;line-height:1.6;max-width:170px;margin-bottom:9px }
.wm-article .choices a>span:last-of-type { font-size:10px;color:var(--quiet) }
.wm-article .choices i { font-style:normal;position:absolute;top:24px;right:22px;color:var(--quiet);font-size:18px }
.wm-article .small-note { font-size:11px;color:var(--quiet);margin:17px 0 0 }
.wm-article .exercise { display:grid;grid-template-columns:1.02fr 1fr;gap:72px;align-items:start;padding:70px 0;border-top:1px solid var(--line);scroll-margin-top:0 }
.wm-article .exercise-index { display:flex;align-items:center;gap:15px;margin-bottom:23px }
.wm-article .exercise-index>span { display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #605132;border-radius:50%;font-size:12px;color:var(--accent) }
.wm-article .exercise-index p { font-size:10px;text-transform:uppercase;letter-spacing:1.7px;color:var(--quiet);margin:0;line-height:1.6 }
.wm-article .exercise-copy h2 { font-size:37px;margin-bottom:12px;letter-spacing:-1.2px }
.wm-article .exercise-deck { color:var(--text)!important;font-size:16px;font-weight:600;line-height:1.65;margin-bottom:25px }
.wm-article .exercise-copy>p { color:var(--muted);font-size:14px;line-height:1.85 }
.wm-article .exercise-copy>p strong { color:var(--text) }
.wm-article .exercise-copy h3 { margin:26px 0 12px;font-size:15px }
.wm-article .takeaway { border-left:2px solid var(--accent);padding:4px 0 3px 19px;margin-block:26px }
.wm-article .mini-label { font-size:9px;letter-spacing:1.5px;color:var(--accent);font-weight:700;text-transform:uppercase }
.wm-article .takeaway p { font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.85 }
.wm-article .text-link { font-size:12px;text-decoration:none;color:var(--accent);font-weight:600;display:inline-block;margin-top:5px }
.wm-article .text-link:hover { text-decoration:underline }
.wm-article .text-link span { padding-left:7px }
.wm-article .demo { min-width:0;background:var(--panel);border:1px solid #38384d;border-radius:18px;padding:27px;box-shadow:0 18px 45px #09091020;margin-top:7px }
.wm-article .demo-top { display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:23px }
.wm-article .demo-label { display:flex;align-items:center;gap:7px;font-size:8px;font-weight:800;letter-spacing:1.4px;color:var(--accent) }
.wm-article .demo-label i { width:5px;height:5px;border-radius:50%;background:var(--accent) }
.wm-article .demo-count { font-size:9px;color:var(--muted);background:#262639;border-radius:5px;padding:5px 9px;white-space:nowrap }
.wm-article .demo h3 { font-size:17px;margin-bottom:10px;letter-spacing:-.3px }
.wm-article .demo-instruction { font-size:11px;line-height:1.9;color:var(--muted);min-height:43px;margin-bottom:18px }
.wm-article .demo-action { background:#2b2b40;border-color:#424259;color:#ececf4;width:100%;min-height:44px;font-size:11px;padding:11px 16px }
.wm-article .demo-action:hover { background:#35354c;border-color:#67677e }
.wm-article .demo-action:disabled { opacity:.45;transform:none }
.wm-article .trainer-link { width:100%;font-size:12px;margin-top:12px;min-height:49px;justify-content:space-between;padding-inline:19px }
.wm-article .demo-caption { font-size:9px;line-height:1.7;color:var(--quiet);text-align:center;margin:12px 0 0 }
.wm-article .demo-feedback { min-height:45px;font-size:11px;color:var(--muted);line-height:1.8;margin:17px 0 12px }
.wm-article .demo-feedback.success { color:var(--good) }
.wm-article .demo-feedback.review { color:#efc78b }
.wm-article .memory-grid { display:grid;gap:9px;width:100% }
.wm-article .grid-3 { grid-template-columns:repeat(3,1fr) }
.wm-article .grid-4 { grid-template-columns:repeat(4,1fr) }
.wm-article .memory-cell { border:1px solid #3d3d56;border-radius:8px;background:#27273e;aspect-ratio:1;min-width:0;color:var(--text);transition:background .15s,border-color .15s;position:relative;font-size:14px;font-weight:700 }
.wm-article .memory-cell.is-lit,
.wm-article .memory-cell.is-selected { background:var(--accent);border-color:#ffe180;color:var(--bg);box-shadow:0 0 20px #ffcd3010 }
.wm-article .memory-cell:enabled:hover { border-color:#ada174 }
.wm-article .memory-cell.is-correct { background:#2c5e51;border-color:var(--good);color:#dafff3 }
.wm-article .memory-cell.is-wrong { border-color:var(--error);background:#603439;color:#ffe9e7 }
.wm-article .memory-cell.is-missed { border:2px dashed var(--accent);color:var(--accent) }
.wm-article .dnb-stage { display:flex;align-items:center;gap:25px;background:var(--inset);padding:22px;border-radius:11px;min-height:240px }
.wm-article .dnb-grid { max-width:215px;margin:auto }
.wm-article .letter-side { text-align:center;min-width:75px }
.wm-article .letter-side>span { font-size:8px;letter-spacing:2px;color:var(--quiet) }
.wm-article .letter-side strong { font-size:51px;display:block;line-height:1.3;margin:8px 0 15px }
.wm-article .sound-button { background:transparent;border:0;color:var(--muted);font-size:9px;padding:8px 0 }
.wm-article .sound-button:disabled { opacity:.3 }
.wm-article .sound-button:hover:enabled { color:var(--accent) }
.wm-article .answer-toggles { display:flex;gap:10px;margin-top:13px }
.wm-article .answer-toggles button { flex:1;border:1px solid #51516a;background:#242437;padding:10px 7px;font-size:10px;line-height:1.5;border-radius:7px;color:var(--text) }
.wm-article .answer-toggles button[aria-pressed=true] { background:#ffcd3015;border-color:var(--accent);color:var(--accent) }
.wm-article .answer-toggles button[aria-pressed=true]:before { content:'✓ ';font-weight:800 }
.wm-article .number-stage { min-height:240px;border-radius:11px;background:var(--inset);padding:30px 18px;display:flex;flex-direction:column;justify-content:center;text-align:center }
.wm-article .stage-label { font-size:8px;letter-spacing:1.7px;color:var(--quiet);margin-bottom:13px }
.wm-article .number-display { font-size:47px;letter-spacing:9px;line-height:1.4;color:var(--accent);font-variant-numeric:tabular-nums }
.wm-article .number-stage form { width:100% }
.wm-article .number-stage label { display:block;font-size:11px;color:var(--muted);margin-bottom:12px }
.wm-article .number-stage input { width:100%;min-height:55px;background:#242438;border:1px solid #55556a;border-radius:7px;color:var(--text);font-size:24px;letter-spacing:5px;text-align:center;padding:12px 8px;margin-bottom:12px }
.wm-article .number-stage input::placeholder { font-size:12px;letter-spacing:0;color:var(--quiet) }
.wm-article .corsi-stage { position:relative;width:100%;height:270px;background:var(--inset);border-radius:11px }
.wm-article .corsi-stage .memory-cell { position:absolute;width:45px;height:45px;aspect-ratio:auto;transform:translate(-50%,-50%) }
.wm-article .visual-grid { max-width:270px;padding:16px;background:var(--inset);border-radius:11px;margin:0 auto }
.wm-article .visual-grid .memory-cell { border-radius:6px }
.wm-article .demo[data-state="complete"] { border-color:#5a5d53 }
.wm-article .practice { border-top:1px solid var(--line) }
.wm-article .practice-steps { list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:32px 0 0 }
.wm-article .practice-steps>li { display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;align-items:start }
.wm-article .practice-steps>li>span { font-size:12px;line-height:1.5;margin-top:4px;color:var(--accent);font-weight:700 }
.wm-article .practice-steps h3 { font-size:17px;line-height:1.5;margin:0 0 10px }
.wm-article .practice-steps p { font-size:14px;color:var(--muted);line-height:1.7;margin:0;max-width:38ch }
.wm-article .evidence-section { border-block:1px solid var(--line) }
.wm-article .evidence-section .prose { font-size:14px }
.wm-article .faq-section { max-width:830px;margin-inline:auto }
.wm-article .faq-section>h2 { margin-bottom:28px }
.wm-article .final-cta { display:grid;grid-template-columns:1.7fr 1fr;gap:40px;align-items:center;padding:44px;border:1px solid #55503a;background:#1e1e2c;border-radius:18px }
.wm-article .final-cta h2 { font-size:29px;line-height:1.35;letter-spacing:-.7px;margin-bottom:18px }
.wm-article .final-cta h2 span { color:var(--accent) }
.wm-article .final-cta p:last-child { font-size:12px;color:var(--muted);margin:0;line-height:1.8 }
.wm-article .final-actions { display:flex;flex-direction:column;gap:12px }
.wm-article .final-actions .button { font-size:11px;justify-content:space-between }
.wm-article .noscript-note { padding:20px;color:var(--accent) }
@media(min-width:1450px) {
.wm-article .hero h1 { font-size:70px }
}

@media(max-width:1050px) {
.wm-article .hero { gap:40px }
.wm-article .hero h1 { font-size:53px }
.wm-article .hero .eyebrow { font-size:8px }
.wm-article .hero-meta { font-size:9px;gap:8px }
.wm-article .hero-meta span+span:before { margin-right:8px }
.wm-article .exercise { gap:37px }
.wm-article .exercise-copy h2 { font-size:31px }
.wm-article .demo { padding:23px }
.wm-article .dnb-stage { gap:14px;padding:17px }
.wm-article .dnb-grid { max-width:180px }
.wm-article .letter-side { min-width:58px }
.wm-article .letter-side strong { font-size:40px }
.wm-article .choices a { padding-inline:17px }
.wm-article .choices strong { font-size:12px }
.wm-article .intro,
.wm-article .evidence-section { gap:45px }
.wm-article .final-cta { padding:32px;gap:25px }
}

@media(max-width:800px) {
.wm-article .hero { grid-template-columns:1fr 1fr;gap:30px;padding-top:30px }
.wm-article .hero h1 { font-size:43px;letter-spacing:-1.8px }
.wm-article .hero-lead { font-size:13px }
.wm-article .hero .eyebrow { font-size:8px;letter-spacing:1px }
.wm-article .intro,
.wm-article .evidence-section { grid-template-columns:1fr;gap:10px }
.wm-article .intro h2 br,
.wm-article .evidence-section h2 br { display:none }
.wm-article .section-space { padding-block:50px }
.wm-article .exercise { gap:28px }
.wm-article .exercise-copy h2 { font-size:27px }
.wm-article .exercise-deck { font-size:14px }
.wm-article .exercise-copy>p { font-size:12px }
.wm-article .demo { padding:18px }
.wm-article .demo h3 { font-size:15px }
.wm-article .demo-label { font-size:7px;letter-spacing:.7px }
.wm-article .dnb-stage { padding:13px;min-height:190px;gap:12px }
.wm-article .letter-side { min-width:48px }
.wm-article .letter-side strong { font-size:35px }
.wm-article .memory-grid { gap:6px }
.wm-article .demo-count { font-size:8px;padding:4px 6px }
.wm-article .demo-action { font-size:10px }
.wm-article .trainer-link { font-size:10px;gap:10px;padding:12px }
.wm-article .corsi-stage { height:230px }
.wm-article .corsi-stage .memory-cell { width:34px;height:34px }
.wm-article .number-display { font-size:34px;letter-spacing:6px }
.wm-article .number-stage { min-height:200px }
.wm-article .practice-steps { grid-template-columns:1fr;gap:22px }
.wm-article .practice-steps h3 { font-size:16px }
.wm-article .section-heading>p { font-size:10px }
.wm-article .final-cta { grid-template-columns:1fr }
.wm-article .final-actions { flex-direction:row }
.wm-article .final-actions a { flex:1 }
}

@media(max-width:620px) {
.wm-article .breadcrumbs { font-size:9px;gap:8px;padding-top:22px }
.wm-article .hero { grid-template-columns:1fr;padding:28px 0 37px;gap:33px }
.wm-article .hero h1 { font-size:50px;letter-spacing:-2px;margin-bottom:22px }
.wm-article .hero .eyebrow { font-size:8px;letter-spacing:1.4px;max-width:310px }
.wm-article .hero-lead { font-size:14px;line-height:1.9;max-width:440px }
.wm-article .hero .button { width:100%;font-size:12px }
.wm-article .hero-meta { justify-content:center;font-size:8px;margin-top:16px }
.wm-article .section-space { padding-block:43px }
.wm-article h2 { font-size:29px;letter-spacing:-.9px }
.wm-article .eyebrow { font-size:9px;letter-spacing:1.4px;margin-bottom:15px }
.wm-article .intro,
.wm-article .evidence-section { gap:2px }
.wm-article .prose p { font-size:13px }
.wm-article .choose-section { padding-top:5px;padding-bottom:39px }
.wm-article .section-heading { display:block;margin-bottom:23px }
.wm-article .section-heading>p { font-size:11px;margin-top:15px }
.wm-article .section-heading>p br { display:none }
.wm-article .choices { grid-template-columns:1fr 1fr }
.wm-article .choices a { padding:19px 15px }
.wm-article .choices a:nth-child(3) { border-left:0 }
.wm-article .choices a:nth-child(n+3) { border-top:1px solid var(--line) }
.wm-article .choices strong { font-size:12px;min-height:39px;max-width:130px;line-height:1.6 }
.wm-article .choice-number { margin-bottom:13px }
.wm-article .choices i { right:17px;top:16px }
.wm-article .choices a>span:last-of-type { font-size:9px }
.wm-article .small-note { font-size:10px;line-height:1.85 }
.wm-article .exercise { grid-template-columns:1fr;gap:22px;padding-block:43px }
.wm-article .exercise-copy h2 { font-size:32px }
.wm-article .exercise-index { margin-bottom:20px }
.wm-article .exercise-deck { font-size:15px;line-height:1.8 }
.wm-article .exercise-copy>p { font-size:13px;line-height:1.95 }
.wm-article .exercise-copy h3 { font-size:15px }
.wm-article .takeaway p { font-size:12px }
.wm-article .demo { padding:22px;margin-top:0;border-radius:14px }
.wm-article .demo h3 { font-size:18px;line-height:1.5 }
.wm-article .demo-label { font-size:8px;letter-spacing:1px }
.wm-article .demo-count { font-size:9px }
.wm-article .demo-instruction { font-size:11px;min-height:0 }
.wm-article .dnb-stage { min-height:220px;padding:22px;gap:25px }
.wm-article .dnb-grid { max-width:210px }
.wm-article .letter-side { min-width:60px }
.wm-article .letter-side strong { font-size:42px }
.wm-article .memory-grid { gap:8px }
.wm-article .answer-toggles button { font-size:10px }
.wm-article .demo-action { font-size:12px;min-height:47px }
.wm-article .trainer-link { font-size:12px;min-height:50px;padding:14px 17px }
.wm-article .demo-feedback { font-size:12px;min-height:43px }
.wm-article .demo-caption { font-size:9px }
.wm-article .number-stage { min-height:220px }
.wm-article .number-display { font-size:43px;letter-spacing:8px }
.wm-article .corsi-stage { height:260px }
.wm-article .corsi-stage .memory-cell { width:41px;height:41px }
.wm-article .visual-grid { max-width:275px }
.wm-article .practice-steps { margin-top:28px }
.wm-article .final-cta { padding:27px 22px;gap:27px }
.wm-article .final-cta h2 { font-size:26px }
.wm-article .final-actions { flex-direction:column }
.wm-article .final-actions .button { font-size:11px }
}

@media(max-width:360px) {
.wm-article .hero h1 { font-size:44px }
.wm-article .hero-meta { font-size:7px }
.wm-article .demo { padding:17px }
.wm-article .demo h3 { font-size:16px }
.wm-article .dnb-stage { padding:15px;gap:18px }
.wm-article .trainer-link { font-size:11px }
.wm-article .choices strong { font-size:11px }
}

@media(prefers-reduced-motion:reduce) {
.wm-article *,
.wm-article *:before,
.wm-article *:after { transition:none!important;animation:none!important }
.wm-article .button:hover { transform:none }
}

/* Use the homepage's layout rhythm and component treatments. */
.wm-article .hero { grid-template-columns: 1.2fr 1fr; gap: 70px; padding: 60px 0 90px; }
.wm-article .hero h1 {
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: 1.02;
  letter-spacing: -2px;
  font-weight: 900;
  text-transform: uppercase;
}
.wm-article h2, .wm-article h3 { font-weight: 900; text-transform: uppercase; }
.wm-article .hero-lead { font-size: 18px; line-height: 1.7; color: var(--text-dim); }
.wm-article .hero-visual { min-width: 0; width: 100%; }
.wm-article .hero-art { max-width: 480px; justify-self: center; }
.wm-article .memory-illustration { display: block; width: 100%; height: auto; }
.wm-article .hero-meta { font-size: 10px; }
.wm-article .button {
  border-radius: 16px;
  font-weight: 900;
  text-transform: uppercase;
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
}
.wm-article .button.btn-primary { background: linear-gradient(135deg, #ffcd30 0%, #ff9900 100%); color: #000; }
.wm-article .button.btn-primary:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 60px rgba(255,205,48,.5); }
.wm-article .button.btn-secondary-outline { background: var(--glass); border-color: var(--glass-border); }
.wm-article .button.btn-secondary-outline:hover { background: rgba(255,255,255,.08); border-color: var(--accent); }
.wm-article .hero .btn-primary { font-size: 14px; padding: 20px 35px; }
.wm-article .section-space { padding-block: 85px; }
.wm-article .intro h2, .wm-article .evidence-section h2 { font-size: 36px; }
.wm-article .choices { border: 0; border-radius: 0; gap: 20px; overflow: visible; }
.wm-article .choices a {
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background: var(--glass);
  padding: 28px 24px;
  backdrop-filter: blur(20px);
}
.wm-article .choices a:hover { border-color: var(--accent); background: rgba(255,205,48,.03); }
.wm-article .choices strong { font-weight: 900; text-transform: uppercase; font-size: 12px; }
.wm-article .choices a>span:last-of-type { font-size: 11px; }
.wm-article .exercise { padding-block: 85px; }
.wm-article .exercise-copy>p { font-size: 15px; line-height: 1.8; }
.wm-article .exercise-deck { font-weight: 700; }
.wm-article .exercise-copy h2 { font-size: clamp(28px, 3vw, 38px); }
.wm-article .exercise-index>span { border-radius: 10px; border-color: var(--glass-border); background: var(--glass); font-weight: 900; }
.wm-article .takeaway { border-left-color: var(--accent); }
.wm-article .demo {
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background: var(--bg);
  padding: 30px;
  box-shadow: 0 40px 80px rgba(0,0,0,.3);
}
.wm-article .demo-top {
  margin: -30px -30px 24px;
  padding: 18px 25px;
  border-bottom: 1px solid var(--glass-border);
  border-radius: 30px 30px 0 0;
  background: var(--bg-panel);
}
.wm-article .demo-count { background: rgba(255,255,255,.03); }
.wm-article .demo h3 { font-size: 17px; line-height: 1.4; }
.wm-article .demo-action { background: var(--glass); border-color: rgba(255,255,255,.12); }
.wm-article .demo-action:hover { background: rgba(255,255,255,.08); border-color: var(--accent); }
.wm-article .trainer-link { min-height: 54px; font-size: 11px; padding: 17px 20px; }
.wm-article .memory-cell { background: var(--bg-panel); border: 1px solid var(--glass-border); border-radius: 12px; }
.wm-article .memory-cell.is-lit, .wm-article .memory-cell.is-selected { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }
.wm-article .memory-cell.is-correct { background: #2c5e51; border-color: var(--good); }
.wm-article .memory-cell.is-wrong { background: #603439; border-color: var(--error); }
.wm-article .memory-cell.is-missed { border: 2px dashed var(--accent); }
.wm-article .letter-side strong { color: var(--accent); }
.wm-article .answer-toggles button { background: var(--glass); border-color: rgba(255,255,255,.12); border-radius: 10px; }
.wm-article .answer-toggles button[aria-pressed=true] { border-color: var(--accent); background: rgba(255,205,48,.1); }
.wm-article .number-stage input { background: var(--bg-panel); }
.wm-article .final-cta {
  border-radius: 50px;
  background: linear-gradient(135deg,rgba(255,205,48,.05) 0%,var(--bg-panel) 100%);
  border-color: var(--glass-border);
  padding: 65px 50px;
  text-align: left;
}
.wm-article .final-cta h2 { font-size: 31px; }

@media (max-width: 1100px) {
  .wm-article .hero { gap: 40px; }
  .wm-article .hero h1 { font-size: clamp(38px,5.3vw,58px); }
  .wm-article .choices { gap: 15px; }
  .wm-article .choices a { padding: 22px 18px; }
  .wm-article .choices strong { font-size: 11px; }
  .wm-article .demo { padding: 24px; }
  .wm-article .demo-top { margin: -24px -24px 24px; padding: 18px 22px; }
}
@media (max-width: 900px) {
  .wm-article .hero { grid-template-columns: 1fr; text-align: center; padding-block: 45px 65px; }
  .wm-article .hero h1 { font-size: 62px; }
  .wm-article .hero .eyebrow, .wm-article .hero-meta { justify-content: center; }
  .wm-article .hero-lead { margin-inline: auto; }
  .wm-article .hero-visual { max-width: 450px; margin-inline: auto; }
  .wm-article .choices { grid-template-columns: repeat(2,1fr); }
  .wm-article .choices strong { max-width: none; }
  .wm-article .exercise { grid-template-columns: 1fr; gap: 28px; }
  .wm-article .demo { max-width: 550px; width: 100%; justify-self: center; }
  .wm-article .exercise-copy { max-width: 720px; }
  .wm-article .intro, .wm-article .evidence-section { grid-template-columns: 1fr; gap: 8px; }
  .wm-article .intro h2 br, .wm-article .evidence-section h2 br { display: none; }
}
@media (max-width: 769px) {
  .wm-article { padding-bottom: 48px; }
  html { scroll-padding-top: 100px; }
  .wm-article .hero { padding-block: 35px 50px; gap: 35px; }
  .wm-article .hero h1 { font-size: clamp(32px,9.7vw,48px); letter-spacing: -1px; line-height: 1.05; }
  .wm-article .hero .eyebrow { margin-inline: auto; max-width: none; }
  .wm-article .hero-lead { font-size: 16px; }
  .wm-article .hero .btn-primary { font-size: 12px; width: 100%; padding: 20px; }
  .wm-article .hero-meta { font-size: 9px; gap: 8px 12px; }
  .wm-article .hero-meta span+span:before { margin-right: 12px; }
  .wm-article .section-space { padding-block: 55px; }
  .wm-article .intro h2, .wm-article .evidence-section h2 { font-size: 28px; }
  .wm-article .choices { gap: 12px; }
  .wm-article .choices a { border: 1px solid var(--glass-border); padding: 20px 16px; border-radius: 24px; }
  .wm-article .choices strong { font-size: 10px; min-height: 39px; }
  .wm-article .choices a>span:last-of-type { font-size: 9px; }
  .wm-article .exercise { padding-block: 55px; }
  .wm-article .exercise-copy>p { font-size: 14px; }
  .wm-article .exercise-copy h2 { font-size: 29px; }
  .wm-article .demo { border-radius: 24px; padding: 22px; }
  .wm-article .demo-top { margin: -22px -22px 22px; border-radius: 24px 24px 0 0; padding: 17px 20px; }
  .wm-article .demo h3 { font-size: 16px; }
  .wm-article .demo-action { font-size: 11px; }
  .wm-article .trainer-link { font-size: 10px; gap: 8px; padding: 17px; }
  .wm-article .final-cta { padding: 40px 23px; border-radius: 30px; text-align: center; }
  .wm-article .final-cta .eyebrow { justify-content: center; }
  .wm-article .final-cta h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wm-article .button.btn-primary:hover { transform: none; }
}

/* Alternate the demonstrations while preserving text-first reading order. */
@media (min-width: 901px) {
  .wm-article .exercise { grid-template-columns: 1fr 1fr; align-items: center; }
  .wm-article .exercise-reverse > .exercise-copy { grid-column: 2; grid-row: 1; }
  .wm-article .exercise-reverse > .demo { grid-column: 1; grid-row: 1; }
}
.wm-article .exercise-copy { min-width: 0; }
.wm-article .demo[data-mode="animation"] .demo-count { display: none; }
.wm-article .loop-phases { display: flex; gap: 8px; margin: 20px 0; }
.wm-article .loop-phases span {
  flex: 1; padding: 8px 2px; border-bottom: 2px solid var(--glass-border);
  color: var(--text-dim); font-size: 10px; font-weight: 700; text-align: center;
}
.wm-article .loop-phases .is-current { color: var(--accent); border-color: var(--accent); }
.wm-article .loop-canvas { min-height: 318px; display: flex; flex-direction: column; justify-content: center; }
.wm-article .loop-reference { color: var(--muted); font-size: 10px; line-height: 1.6; min-height: 36px; text-align: center; }
.wm-article .loop-canvas .dnb-stage { min-height: 230px; padding: 12px 18px; }
.wm-article .loop-canvas .dnb-grid { max-width: 185px; }
.wm-article .loop-canvas .letter-side strong { margin-bottom: 0; }
.wm-article .loop-answers { display: flex; gap: 10px; margin-top: 10px; }
.wm-article .loop-answers span, .wm-article .loop-submit {
  position: relative; display: block; padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  background: var(--glass); color: var(--text-dim); font-size: 11px;
  font-weight: 700; text-align: center;
}
.wm-article .loop-answers span { flex: 1; }
.wm-article .loop-answers .is-clicked, .wm-article .loop-submit.is-clicked {
  color: var(--accent); border-color: var(--accent); background: rgba(255,205,48,.1);
}
.wm-article .loop-answers .is-correct { color: var(--good); border-color: var(--good); background: rgba(134,221,192,.1); }
.wm-article .loop-canvas .memory-cell { display: flex; align-items: center; justify-content: center; }
.wm-article .loop-canvas .is-clicked::after {
  content: ''; position: absolute; right: 2px; bottom: 2px;
  width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.12); pointer-events: none;
  animation: demo-tap .85s ease-out both;
}
@keyframes demo-tap { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.wm-article .loop-number-stage { min-height: 318px; }
.wm-article .loop-number-stage .number-display { font-size: 43px; letter-spacing: 6px; }
.wm-article .loop-number-stage .loop-submit { margin-top: 16px; }
.wm-article .loop-input {
  min-height: 64px; padding: 12px; border: 1px solid var(--accent); border-radius: 10px;
  color: var(--text); background: var(--bg-panel); font-size: 28px; line-height: 38px;
  font-weight: 700; letter-spacing: 7px; font-variant-numeric: tabular-nums;
}
.wm-article .loop-input.is-typing::after { content: ''; display: inline-block; height: 28px; border-right: 2px solid var(--accent); vertical-align: middle; }
.wm-article .loop-success .number-display { color: var(--good); }
.wm-article .loop-canvas > .loop-submit { width: 100%; margin: 12px auto 0; }
.wm-article .loop-caption { min-height: 61px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.wm-article .loop-caption.success { color: var(--good); }
.wm-article .loop-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.wm-article .loop-controls button { background: none; border: 1px solid var(--glass-border); border-radius: 10px; color: var(--muted); padding: 10px 12px; min-height: 42px; font-size: 10px; font-weight: 700; }
.wm-article .loop-controls button:hover { color: var(--accent); border-color: var(--accent); }
.wm-article .loop-controls .loop-mode { color: var(--accent); margin-left: auto; }
.wm-article .demo.loop-still *::after { animation-play-state: paused; }
@media (max-width: 769px) {
  .wm-article .loop-phases { gap: 4px; }
  .wm-article .loop-phases span { font-size: 9px; }
  .wm-article .loop-canvas { min-height: 300px; }
  .wm-article .loop-canvas .dnb-stage { padding: 10px; gap: 15px; min-height: 220px; }
  .wm-article .loop-number-stage { min-height: 300px; padding-inline: 12px; }
  .wm-article .loop-number-stage .number-display { font-size: 35px; letter-spacing: 4px; }
  .wm-article .loop-caption { min-height: 76px; font-size: 11px; }
  .wm-article .loop-controls button { font-size: 9px; padding: 10px; }
}

/* FAQ uses the same cards and opening motion as the resource pages. */
.wm-article .faq-section > .eyebrow { justify-content: center; }
.wm-article .faq-section > h2 { text-align: center; }
.wm-article .faq-item {
  margin-top: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  background: rgba(255,255,255,.02); overflow: hidden;
  transition: background .3s ease, border-color .3s ease;
}
.wm-article .faq-item:hover { border-color: rgba(255,205,48,.2); }
.wm-article .faq-item.active { background: rgba(255,205,48,.03); border-color: rgba(255,205,48,.25); }
.wm-article .faq-question-heading { margin: 0; text-transform: none; }
.wm-article .faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; padding: 22px 28px; border: 0; background: transparent;
  color: #fff; font-size: 18px; font-weight: 700; line-height: 1.5; text-align: left;
}
.wm-article .faq-question:focus-visible { outline-offset: -5px; border-radius: 16px; }
.wm-article .faq-chevron { flex-shrink: 0; color: var(--accent); transition: transform .3s ease; }
.wm-article .faq-item.active .faq-chevron { transform: rotate(180deg); }
.wm-article .faq-answer { display: grid; grid-template-rows: 1fr; opacity: 1; }
.wm-article .faq-ready .faq-answer {
  grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility .35s;
}
.wm-article .faq-ready .faq-item.active .faq-answer { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.wm-article .faq-answer-inner { overflow: hidden; min-height: 0; }
.wm-article .faq-answer p { margin: 0; padding: 0 28px 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Compact actions follow the homepage header button's size and alignment. */
.wm-article .button,
.wm-article .hero .button,
.wm-article .demo .button,
.wm-article .final-actions .button {
  width: fit-content; max-width: 100%; min-height: 42px; padding: 10px 24px;
  border-radius: 12px; gap: 0; font-size: 13px; line-height: 1.5;
  justify-content: center; text-align: center;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.wm-article .button.btn-primary { box-shadow: 0 5px 20px rgba(255,205,48,.2); }
.wm-article .button.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,205,48,.3); }
.wm-article .demo .button { display: flex; margin-inline: auto; font-size: 12px; }
.wm-article .final-actions { align-items: center; }
.wm-article .final-actions .button { flex: none; }
.wm-article .loop-controls button { min-height: 36px; padding: 8px 12px; text-align: center; }
.wm-article .loop-submit { width: fit-content; min-width: 132px; margin-inline: auto; padding: 9px 20px; }
.wm-article .loop-canvas > .loop-submit { width: fit-content; }
@media (max-width: 769px) {
  .wm-article .faq-question { padding: 18px 20px; font-size: 15px; }
  .wm-article .faq-answer p { padding: 0 20px 20px; font-size: 13px; }
  .wm-article .hero .button, .wm-article .final-actions .button { font-size: 12px; }
  .wm-article .demo .button { font-size: 11px; padding: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .wm-article .button:hover { transform: none; }
}

/* A compact preview: trainer name, animated field and one opening action. */
.wm-article .demo.demo-compact {
  width: 100%; max-width: 410px; justify-self: center; margin: 0;
  padding: 24px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.wm-article .demo-compact h3 { margin: 0 0 18px; font-size: 17px; text-align: center; }
.wm-article .demo-compact .loop-canvas { height: 240px; min-height: 0; }
.wm-article .demo-compact[data-demo="dnb"] .loop-canvas { height: 260px; }
.wm-article .demo-compact .loop-canvas:empty { display: none; }
.wm-article .demo-compact .loop-reference { min-height: 26px; font-size: 9px; line-height: 1.5; }
.wm-article .demo-compact .dnb-stage { flex-direction: column; justify-content: center; min-height: 0; padding: 0; gap: 12px; }
.wm-article .demo-compact .dnb-grid { max-width: 155px; margin: 0 auto; flex-shrink: 0; }
.wm-article .demo-compact .letter-side { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 36px; }
.wm-article .demo-compact .sound-label { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; letter-spacing: 1px; }
.wm-article .demo-compact .letter-side strong { width: 30px; margin: 0; font-size: 34px; line-height: 1; }
.wm-article .loop-matches { display: flex; justify-content: center; gap: 36px; margin-top: 12px; }
.wm-article .loop-matches span { position: relative; min-width: 68px; font-size: 10px; text-align: center; color: var(--text-dim); }
.wm-article .loop-matches .is-clicked { color: var(--accent); }
.wm-article .loop-matches .is-correct { color: var(--good); }
.wm-article .demo-compact .loop-number-stage { min-height: 0; height: 240px; padding: 20px 12px; }
.wm-article .demo-compact .number-display { font-size: 38px; letter-spacing: 5px; }
.wm-article .demo-compact .loop-input { min-height: 56px; font-size: 26px; line-height: 30px; }
.wm-article .loop-input.is-checking { color: var(--good); border-color: var(--good); }
.wm-article .demo-compact .corsi-stage { height: 220px; }
.wm-article .demo-compact .corsi-stage .memory-cell { width: 36px; height: 36px; }
.wm-article .demo-compact .visual-grid { max-width: 220px; padding: 8px; gap: 8px; }
.wm-article .demo-compact .trainer-link { margin: 20px auto 0; }

/* Compact exercise descriptions. */
.wm-article .exercise-copy-short .exercise-index { margin-bottom: 18px; }
.wm-article .exercise-copy-short > p { margin-bottom: 18px; }
.wm-article .exercise-points { padding-left: 20px; margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.wm-article .exercise-points li { padding-left: 4px; }
.wm-article .exercise-points li + li { margin-top: 10px; }
.wm-article .exercise-points li::marker { color: var(--accent); }
.wm-article .exercise-points strong { color: var(--text); }
.wm-article .exercise-copy-short .exercise-tip { line-height: 1.7; }
.wm-article .exercise-copy-short .exercise-tip > strong { color: var(--accent); }
@media (max-width: 769px) {
  .wm-article .exercise-points { font-size: 14px; }
  .wm-article .demo.demo-compact { padding: 20px; }
  .wm-article .demo-compact h3 { font-size: 16px; }
  .wm-article .demo-compact .loop-reference { font-size: 8px; }
  .wm-article .demo-compact .dnb-stage { gap: 12px; }
  .wm-article .demo-compact .number-display { font-size: 32px; letter-spacing: 4px; }
}


/* Allow long translated words to wrap without changing the shared site shell. */
.wm-article .hero-copy { min-width: 0; }
.wm-article h1, .wm-article h2, .wm-article h3, .wm-article .choices strong { overflow-wrap: anywhere; }
html[lang="de"] .wm-article .hero h1 { font-size: clamp(30px, 3.5vw, 49px); overflow-wrap: normal; }
@media (max-width: 900px) { html[lang="de"] .wm-article .hero h1 { font-size: clamp(20px, 6.7vw, 48px); } }
