/* ==========================================================================
   ملامح العرض — page layer on top of the 09-kufi system (kufi.css / kit.css).
   Only tokens from :root are used. Radius 0. Tone steps, no hairlines.
   ========================================================================== */

/* ---------- hero: black poster, one giant numeral ---------- */
.hero{ background:var(--band); color:var(--on-ink); }
.hero-in{ padding-block:clamp(28px,4vw,56px) clamp(40px,5vw,72px); display:flex; flex-direction:column; }
.hero-chip{ font:500 18px/1.5 var(--f-text); color:var(--on-ink-2); }
.hero-chip b{ color:var(--on-ink); font-weight:700; }
.hero h1{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:0 clamp(16px,3vw,48px); margin:clamp(12px,2vw,24px) 0 clamp(24px,3vw,40px); font-family:var(--f-display); font-weight:900; }
.hero-n{ font-size:clamp(150px,26vw,340px); line-height:.9; direction:ltr; }
.hero-w{ font-size:clamp(40px,6.4vw,100px); line-height:1.3; padding-bottom:.12em; }
.hero-foot{ display:grid; grid-template-columns:1.3fr 1fr; gap:24px 48px; align-items:end; }
.hero-sub{ font-size:clamp(20px,1.6vw,24px); line-height:1.65; max-width:46ch; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
@media (max-width:900px){ .hero-foot{ grid-template-columns:1fr; } .hero-cta{ justify-content:flex-start; } }
@media (max-width:480px){ .hero-cta .btn{ flex:1 1 100%; } }

/* ---------- the pact (honest note) ---------- */
.pact{ background:var(--paper-2); }
.pact-in{ padding-block:clamp(24px,3vw,40px); display:grid; grid-template-columns:1.1fr 1fr; gap:16px 48px; align-items:start; }
.pact-main{ font:800 clamp(22px,2vw,28px)/1.55 var(--f-display); }
.pact-sub{ font-size:18px; line-height:1.7; color:var(--ink-2); }
@media (max-width:900px){ .pact-in{ grid-template-columns:1fr; } }

/* ---------- demo head + profile picker ---------- */
.demo{ padding-block:clamp(56px,7vw,112px); }
.demo-head{ display:flex; justify-content:space-between; align-items:end; gap:16px 48px; flex-wrap:wrap; margin-bottom:clamp(24px,3vw,40px); }
.demo-head .h2{ max-width:18ch; }
.profiles{ border:0; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:4px; min-width:0; }
.profiles-l{ font:700 16px/1.4 var(--f-text); color:var(--ink-2); margin-bottom:8px; }
.pf{ min-height:96px; border:0; border-radius:0; background:var(--paper-2); color:var(--ink); padding:14px 14px; text-align:start; cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; gap:6px; font-family:var(--f-text); transition:background-color .15s var(--ease); min-width:0; }
.pf b{ font:800 19px/1.35 var(--f-display); }
.pf span{ font-size:16px; line-height:1.4; color:var(--ink-2); }
.pf:hover{ background:var(--paper-3); }
.pf[aria-pressed="true"]{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.pf[aria-pressed="true"] span{ color:inherit; opacity:.82; }
@media (max-width:700px){ .profiles{ grid-template-columns:1fr 1fr; } .pf-all{ grid-column:1 / -1; min-height:72px; } .pf{ min-height:88px; padding:12px; } .pf b{ font-size:18px; } }
.device-row{ display:flex; justify-content:space-between; align-items:center; gap:8px 24px; flex-wrap:wrap; margin-top:12px; }
.saved{ font-size:16px; color:var(--ink-2); }
.saved b{ color:var(--ink); }
.txtbtn{ min-height:56px; padding:0 4px; background:none; border:0; font:700 17px var(--f-text); color:var(--ink); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px; cursor:pointer; }
.txtbtn:hover{ color:var(--action, #1739A8); }

.demo-grid{ display:grid; grid-template-columns:minmax(0,1.75fr) minmax(0,1fr); gap:4px; margin-top:24px; align-items:start; }
@media (max-width:1000px){ .demo-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   STAGE — the pupil's screen. Every profile is a data attribute on it.
   ========================================================================== */
.stage{ --s-fs:19px; --s-lh:1.8; --s-ws:normal; --s-max:62ch; --s-bg:var(--paper); --s-ink:var(--ink); --s-ink2:var(--ink-2); --s-tone:var(--paper-2); --s-acc:var(--action, #1739A8);
  background:var(--s-bg); color:var(--s-ink); box-shadow:inset 0 0 0 4px var(--paper-2); min-width:0; position:relative; font-size:var(--s-fs); line-height:var(--s-lh); word-spacing:var(--s-ws); }
.stage.fade{ animation:stIn .3s var(--ease); }  /* morph ≤ 400 ms, system easing */
@keyframes stIn{ from{ opacity:.25; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.lesson-bar{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; background:var(--s-tone); padding:12px clamp(16px,2.4vw,32px); font-size:16px; font-weight:500; color:var(--s-ink2); line-height:1.4; }
.lesson-bar .tag{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); padding:4px 12px; font-weight:700; font-size:15px; }
.lesson-body{ padding:clamp(20px,3vw,40px) clamp(16px,2.6vw,40px) clamp(28px,3vw,44px); }
.lesson-body h3{ font:800 clamp(26px,2.6vw,36px)/1.4 var(--f-display); max-width:22ch; }
.lesson-body p, .lesson-body li{ max-width:var(--s-max); }
.obj{ margin-top:12px; color:var(--s-ink2); font-size:.9em; }
.obj b{ color:var(--s-ink); }

.tools{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.tool{ min-height:60px; padding:10px 20px; border:0; border-radius:0; background:var(--s-tone); color:var(--s-ink); font:700 18px/1.3 var(--f-text); cursor:pointer; display:inline-flex; align-items:center; gap:10px; }
.tool svg{ width:26px; height:26px; flex:none; }
.tool[aria-pressed="true"]{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.tool.go{ background: #E4EDFF; color: var(--action, #1739A8); }
.tool.go:hover{ background:#CBDCFF; }
.stage[data-profile="big"] .tools{ position:relative; z-index:4; }
.tool-msg{ font-size:16px; color:var(--s-ink2); margin-top:8px; min-height:1.6em; }

/* steps (linear profiles) */
.steps-l{ list-style:none; margin:28px 0 0; padding:0; display:grid; gap:4px; }
.step{ background:var(--s-tone); padding:clamp(18px,2.2vw,28px); position:relative; scroll-margin-top:96px; }
.step-h{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:10px; }
.step-h .k{ font:900 clamp(30px,3vw,40px)/1 var(--f-display); direction:ltr; min-width:1.2em; }
.step-h h4{ font:800 clamp(21px,1.8vw,26px)/1.35 var(--f-display); }
.step-h svg{ width:40px; height:40px; flex:none; }
.step p + p{ margin-top:10px; }
.here{ display:inline-flex; align-items:center; gap:8px; background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); font:700 15px/1 var(--f-text); padding:8px 12px; margin-inline-start:auto; }
.here::before{ content:""; width:10px; height:10px; border-radius:999px; background:currentColor; }
.step.class-here{ box-shadow:inset 6px 0 0 var(--ink); }

/* experiment rows: lamp → beams → medium → beams → wall */
.exp{ display:grid; gap:4px; margin-top:16px; }
.exp-row{ display:grid; grid-template-columns:minmax(0,1fr); gap:8px; background:var(--s-bg); padding:14px 16px; }
.exp-top{ display:flex; align-items:center; gap:4px 12px; flex-wrap:wrap; }
.exp-top svg{ width:36px; height:36px; flex:none; }
.exp-top b{ font:800 20px/1.35 var(--f-display); }
.exp-top .res{ white-space:nowrap; margin-inline-start:auto; font:800 18px/1.3 var(--f-display); }
.beam{ display:flex; align-items:center; gap:6px; direction:rtl; flex-wrap:nowrap; min-width:0; }
.beam .side{ display:grid; grid-template-columns:repeat(10,1fr); gap:3px; flex:1 1 0; min-width:0; }
.beam i{ display:block; height:14px; background:var(--paper-2, #F1F0EC); }
.beam i.off{ background:transparent; box-shadow:inset 0 0 0 2px #C9C8C2; }
.beam .med{ width:22px; height:34px; flex:none; }
.beam .med.glass{ box-shadow:inset 0 0 0 3px var(--s-ink); }
.beam .med.paper{ background:var(--selected, #E0E2DD); opacity:.6; }
.beam .med.wood{ background:var(--paper-2, #F1F0EC); }
.beam .lampic{ width:30px; height:30px; flex:none; }
.exp-row p{ font-size:.92em; color:var(--s-ink2); }
.count{ display:none; }

/* definitions */
.defs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin-top:14px; }
.def{ background:var(--s-bg); padding:16px; }
.def svg{ width:40px; height:40px; }
.def > b{ display:block; font:900 24px/1.4 var(--f-display); margin-top:8px; }
.def > span{ display:block; font-size:.92em; line-height:1.6; color:var(--s-ink2); margin-top:4px; }
@media (max-width:640px){ .defs{ grid-template-columns:1fr; } .def{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 14px; align-items:start; } .def > svg{ grid-row:span 3; } .def > b{ margin-top:0; } }

/* quiz */
.quiz{ display:grid; gap:4px; margin-top:14px; }
.q{ background:var(--s-bg); padding:14px 16px; }
.q > b{ display:block; font:800 20px/1.4 var(--f-display); }
.q-opts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:10px; }
.q-opts button{ min-height:60px; border:0; border-radius:0; background:var(--s-tone); color:var(--s-ink); font:700 18px/1.2 var(--f-text); cursor:pointer; padding:6px; }
.q-opts button:hover{ background:var(--paper-3); }
.q-opts button[aria-pressed="true"]{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.q-fb{ min-height:0; margin-top:8px; font-size:.92em; line-height:1.55; }
.q-fb.ok{ background:var(--green-field); color:var(--green-ink); padding:8px 12px; }
.q-fb.no{ background:var(--amber-field); color:var(--amber-ink); padding:8px 12px; }

/* caption block (teacher's words) */
.cap{ display:none; }
.say{ display:flex; gap:12px; align-items:flex-start; margin-top:12px; font-size:.9em; color:var(--s-ink2); }
.say svg{ width:28px; height:28px; flex:none; margin-top:2px; }

/* vocabulary in syllables */
.syl{ display:none; }

/* ---------- BASE: nothing extra ---------- */

/* ---------- «نصّ كبير»: large type, high contrast, word and line spacing, reading ruler ---------- */
/* Arabic letters must never be letter-spaced (it breaks the joins). We widen words and lines instead. */
.syl{ display:none; }
.w{ transition:background-color .12s; }
.w.on{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); box-shadow:0 0 0 3px var(--ink); }
.ruler{ position:absolute; inset-inline:0; height:2.3em; pointer-events:none; z-index:3; box-shadow:0 0 0 9999px rgba(0,0,0,.62); outline:3px solid #fff; outline-offset:0; display:none; }
.stage[data-profile="big"] .lesson-body{ position:relative; overflow:hidden; }
.stage[data-profile="big"].ruler-on .ruler{ display:block; }

/* ---------- «خطوة خطوة»: count every square, worked example ---------- */
.stage[data-profile="steps"] .beam i{ font:700 14px/26px var(--f-text); color:var(--s-bg); text-align:center; font-style:normal; }
.stage[data-profile="steps"] .beam i{ height:26px; }
.count{ direction:rtl; gap:6px; font:700 15px/1 var(--f-text); color:var(--s-ink2); }
.count .side{ display:grid; grid-template-columns:repeat(10,1fr); gap:3px; flex:1 1 0; min-width:0; text-align:center; }
.count .gap{ width:22px; flex:none; } .count .gap.l{ width:30px; }
.worked{ display:none; }
.stage[data-profile="steps"] .worked{ display:block; margin-top:16px; background:var(--s-bg); padding:16px; }
.worked ol{ margin:10px 0 0; padding:0; list-style:none; display:grid; gap:4px; }
.worked li{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; align-items:center; background:var(--s-tone); padding:12px 14px; }
.worked li .n{ font:900 30px/1 var(--f-display); direction:ltr; min-width:1.1em; text-align:center; }
.worked .vis{ display:grid; grid-template-columns:repeat(10,minmax(0,26px)); gap:3px; margin-top:6px; }
.worked .vis i{ height:24px; background:var(--selected, #E0E2DD); display:block; color:var(--ink, #0B0B0B); font:700 13px/24px var(--f-text); text-align:center; font-style:normal; }
.worked .vis i.off{ background:transparent; box-shadow:inset 0 0 0 2px #B9B8B2; }

/* ---------- «نصّ كبير» (continued): very large, maximum contrast ---------- */
.stage[data-profile="big"]{ --s-fs:28px; --s-lh:2.05; --s-ws:.28em; --s-max:34ch; --s-bg:#fff; --s-ink:#000; --s-ink2:#242424; --s-tone:#F1F0EC; box-shadow:none; }
.stage[data-profile="big"] .lesson-bar{ font-size:22px; }
.stage[data-profile="big"] .lesson-body h3{ font-size:clamp(34px,4vw,48px); }
.stage[data-profile="big"] .step-h h4{ font-size:34px; }
.stage[data-profile="big"] .step-h svg, .stage[data-profile="big"] .def svg{ width:56px; height:56px; }
.stage[data-profile="big"] .def b, .stage[data-profile="big"] .q > b, .stage[data-profile="big"] .exp-top b{ font-size:32px; }
.stage[data-profile="big"] .defs{ grid-template-columns:1fr; }
.stage[data-profile="big"] .q-opts{ grid-template-columns:1fr; }
.stage[data-profile="big"] .q-opts button, .stage[data-profile="big"] .tool{ min-height:76px; font-size:24px; box-shadow:inset 0 0 0 3px #fff; }
.stage[data-profile="big"] .q-opts button[aria-pressed="true"]{ background:#fff; color:#000; }
.stage[data-profile="big"] .tool.go{ box-shadow:none; }
.stage[data-profile="big"] .beam i{ height:22px; }
.stage[data-profile="big"] .beam i.off{ box-shadow:inset 0 0 0 2px #777; }
.stage[data-profile="big"] .here{ background:#fff; color:#000; font-size:20px; }
.stage[data-profile="big"] .here::before{ background:var(--paper-2, #F1F0EC); }
.stage[data-profile="big"] .step.class-here{ box-shadow:inset 8px 0 0 #fff; }
.stage[data-profile="big"] .lesson-bar .tag{ background:#fff; color:#000; }
.stage[data-profile="big"] .q-fb.ok, .stage[data-profile="big"] .q-fb.no{ background:#fff; color:#000; }
.stage[data-profile="big"] .w.on{ background:#fff; color:#000; box-shadow:0 0 0 3px #fff; }
.stage[data-profile="big"] .exp-row p{ font-size:24px; }

/* ---------- «صوت»: text first, read-aloud, captions, visual cues ---------- */
.stage[data-profile="voice"] .say{ display:none; }
.stage[data-profile="voice"] .cap{ display:block; margin-top:14px; background:var(--band); color:var(--on-ink); padding:14px 16px; }
.cap .who{ display:block; font:700 15px/1.4 var(--f-text); color:var(--on-ink-2); }
.cap p{ font-size:19px; line-height:1.7; }
.cue{ display:flex; align-items:center; gap:12px; background:var(--amber-field); color:var(--amber-ink); padding:10px 14px; margin-top:4px; font-weight:700; font-size:18px; }
.cue svg{ width:30px; height:30px; flex:none; }

/* ---------- «هادئ»: fewer elements, one instruction per screen, pauses ---------- */
.stage[data-profile="calm"]{ --s-acc:var(--ink); --s-fs:22px; }
.stage[data-profile="calm"], .stage[data-profile="calm"] *{ animation:none!important; transition:none!important; }
.sched{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; }
.sched li{ background:var(--s-tone); padding:10px 6px; display:flex; flex-direction:column; align-items:center; gap:4px; font:700 15px/1.3 var(--f-text); text-align:center; color:var(--s-ink2); position:relative; }
.sched li svg{ width:34px; height:34px; color:var(--s-ink2); }
.sched li.done{ background:var(--paper-3); }
.sched li.done::after{ content:"تمّ"; font:700 13px/1 var(--f-text); }
.sched li.now{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.sched li.now svg{ color:var(--paper); }
.sched li .cl{ position:absolute; top:4px; inset-inline-start:4px; width:10px; height:10px; border-radius:999px; background:var(--selected, #E0E2DD); }
.sched li.now .cl{ background:var(--paper); }
.firstthen{ display:grid; grid-template-columns:1fr 1fr; gap:4px; margin-top:4px; }
.firstthen div{ background:var(--s-tone); padding:12px 16px; display:flex; align-items:center; gap:12px; }
.firstthen div:first-child{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.firstthen small{ display:block; font:500 15px/1.3 var(--f-text); opacity:.85; }
.firstthen b{ font:800 22px/1.3 var(--f-display); }
.firstthen svg{ width:40px; height:40px; flex:none; }
.screen{ min-height:340px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:18px; padding:clamp(24px,4vw,48px) 0; }
.screen .big-ic{ width:96px; height:96px; }
.screen .inst{ font:800 clamp(26px,3vw,36px)/1.55 var(--f-display); max-width:20ch; }
.screen .sub{ color:var(--s-ink2); font-size:19px; }
.screen .q-opts{ width:100%; max-width:560px; }
.nav2{ display:grid; grid-template-columns:1fr 1.4fr; gap:8px; }
.nav2 .tool{ justify-content:center; min-height:64px; }
.nav2 .tool.next{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.calmrow{ display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; margin-top:12px; }
.calmrow .note{ font-size:16px; }
.pos{ font:700 17px/1.4 var(--f-text); color:var(--s-ink2); }
@media (max-width:560px){ .sched{ grid-template-columns:repeat(3,minmax(0,1fr)); } .sched li{ font-size:14px; } .screen{ min-height:300px; } }

/* break overlay */
.rest{ position:fixed; inset:0; z-index:80; background:var(--paper-2); display:flex; align-items:center; justify-content:center; padding:var(--gutter); }
.rest[hidden]{ display:none; }
.rest-in{ max-width:560px; display:flex; flex-direction:column; gap:20px; align-items:flex-start; }
.rest-ic{ width:72px; height:72px; color:var(--ink-2); }
.rest h2{ font:900 clamp(48px,8vw,88px)/1.2 var(--f-display); }
.rest p{ font-size:22px; color:var(--ink-2); }
.rest .btn{ box-shadow:inset 0 0 0 3px var(--ink); }

/* ---------- «خطوة خطوة»: small steps, progress, check-ins ---------- */
.prog{ display:flex; justify-content:space-between; align-items:center; gap:8px 16px; flex-wrap:wrap; font:700 17px/1.4 var(--f-text); }
.bar{ height:12px; background:var(--s-tone); margin-top:8px; position:relative; overflow:hidden; }
.bar > i{ position:absolute; inset-block:0; inset-inline-start:0; background:var(--selected, #E0E2DD); transition:width .3s var(--ease); }
.timer{ margin-top:14px; background:var(--s-tone); padding:12px 14px; display:grid; grid-template-columns:1fr auto; gap:6px 12px; align-items:center; }
.timer .bar{ grid-column:1 / -1; margin:0; background:var(--paper); height:10px; }
.timer .bar > i{ background:var(--paper-2, #F1F0EC); transition:width 1s linear; }
.timer p{ font-size:16px; color:var(--s-ink2); line-height:1.5; }
.timer button{ min-height:56px; padding:0 16px; border:0; background:var(--paper); font:700 17px var(--f-text); cursor:pointer; box-shadow:inset 0 0 0 3px var(--ink); }
.micro{ margin-top:16px; background:var(--s-tone); padding:clamp(18px,2.4vw,28px); min-height:260px; display:flex; flex-direction:column; gap:14px; }
.micro .of{ font:700 16px/1.4 var(--f-text); color:var(--s-ink2); }
.micro .task{ font:800 clamp(22px,2.2vw,28px)/1.55 var(--f-display); max-width:26ch; }
.micro .done-btn{ align-self:flex-start; }
.checkin{ background:var(--band); color:var(--on-ink); box-shadow:inset 0 0 0 3px var(--ink); padding:clamp(18px,2.4vw,28px); margin-top:16px; }
.checkin b{ font:800 24px/1.4 var(--f-display); display:block; }
.checkin .acts{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.checkin .acts button{ min-height:60px; padding:0 18px; border:0; font:700 18px var(--f-text); cursor:pointer; background:#fff; color:#0B0B0B; }
.checkin .acts button.alt{ background:transparent; color:#fff; box-shadow:inset 0 0 0 3px #fff; }

/* ==========================================================================
   TEACHER PANEL
   ========================================================================== */
.teacher{ background:var(--paper-2); padding:clamp(20px,2.4vw,32px); display:flex; flex-direction:column; gap:20px; min-width:0; }
@media (max-width:1000px){ .teacher{ position:static; } }
.t-eyebrow{ font:700 16px/1.4 var(--f-text); color:var(--ink-2); }
.teacher h2{ font:800 clamp(24px,2.2vw,30px)/1.4 var(--f-display); margin-top:-12px; }
.t-label{ font:700 16px/1.4 var(--f-text); color:var(--ink-2); margin-bottom:8px; }
.t-steps{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
.t-steps button{ min-height:64px; border:0; border-radius:0; background:var(--paper); color:var(--ink); cursor:pointer; font:700 16px/1.25 var(--f-text); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:6px 4px; }
.t-steps button b{ font:900 22px/1 var(--f-display); }
.t-steps button[aria-pressed="true"]{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.t-hint{ font-size:16px; line-height:1.6; color:var(--ink-2); margin-top:10px; }
.t-quote{ font:800 20px/1.6 var(--f-display); background:var(--paper); padding:14px 16px; }
.t-cols{ display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.t-cols > div{ background:var(--paper); padding:14px 16px; }
.t-cols ul{ margin:0; padding:0; list-style:none; display:grid; gap:4px; font-size:17px; line-height:1.5; }
.t-cols ul li::before{ content:"— "; color:var(--ink-3); }
.t-why{ margin:0; padding:0; list-style:none; display:grid; gap:12px; counter-reset:w; }
.t-why li{ font-size:17px; line-height:1.65; position:relative; padding-inline-start:36px; counter-increment:w; }
.t-why li::before{ content:counter(w); position:absolute; inset-inline-start:0; top:0; font:900 28px/1.1 var(--f-display); }
.t-why b{ font-weight:700; }

/* ==========================================================================
   BOARD
   ========================================================================== */
.board-lede{ margin-top:24px; color:#fff; max-width:40ch; }
.facts-b{ list-style:none; margin:clamp(40px,5vw,72px) 0 0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
.facts-b li{ background:var(--band-2); padding:clamp(20px,2.2vw,28px); display:flex; flex-direction:column; gap:10px; }
.facts-b b{ font:800 var(--t-mid)/1.4 var(--f-display); }
.facts-b span{ font-size:18px; line-height:1.65; color:var(--on-ink-2); }
.facts-b .src{ margin-top:auto; font-size:15px; color:#fff; text-underline-offset:5px; overflow-wrap:anywhere; }
.facts-b .src:hover{ color:#fff; text-decoration-thickness:3px; }
@media (max-width:1100px){ .facts-b{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .facts-b{ grid-template-columns:1fr; } }
.decide{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:clamp(32px,5vw,96px); margin-top:clamp(64px,8vw,120px); align-items:end; }
.decide-n .giant{ display:block; direction:ltr; text-align:end; font-size:clamp(150px,20vw,300px); line-height:.9; }
.decide-w{ display:block; font:800 var(--t-head)/1.3 var(--f-display); margin-top:16px; max-width:12ch; }
.decide-q{ font:700 18px/1.4 var(--f-text); color:var(--on-ink-2); }
.decide-a{ font:800 clamp(22px,2vw,28px)/1.6 var(--f-display); margin-top:10px; }
.decide-list{ list-style:none; margin:24px 0 0; padding:0; display:grid; gap:4px; }
.decide-list li{ background:var(--band-2); padding:14px 18px; font-size:18px; line-height:1.6; }
@media (max-width:900px){ .decide{ grid-template-columns:1fr; } .decide-n .giant{ text-align:start; direction:rtl; } }
.board-note{ margin-top:40px; max-width:70ch; }

.ifoot{ background:var(--paper-2); }
.ifoot-in{ display:flex; justify-content:space-between; gap:12px 32px; flex-wrap:wrap; padding-block:28px; font-size:16px; color:var(--ink-2); }

@media (prefers-reduced-motion:reduce){ .stage.fade{ animation:none; } .bar > i, .timer .bar > i{ transition:none; } }
.cue[hidden]{ display:none; }
.def > .dvis{ display:flex; gap:3px; margin-top:8px; grid-column:2; }
.dvis i{ width:14px; height:14px; background:var(--paper-2, #F1F0EC); display:block; }
.dvis i.off{ background:transparent; box-shadow:inset 0 0 0 2px #B9B8B2; }
@media (max-width:560px){
  .beam .side, .count .side{ grid-template-columns:repeat(5,1fr); row-gap:3px; }
}
.tool:disabled{ background:transparent; color:var(--ink-3); box-shadow:inset 0 0 0 2px #D9D8D3; cursor:default; }
@media (max-width:480px){ .t-cols{ grid-template-columns:1fr; } }
.tool.next{ background:var(--selected, #E0E2DD); color:var(--ink, #0B0B0B); }
.stage[data-profile="big"] .tool[aria-pressed="true"]{ background:#fff; color:#000; }
/* 25 Nov 2026 (tap budget) */
.facts-b .src{ display:flex; align-items:center; min-height:44px; }
a.link{ display:inline-flex; align-items:center; min-height:44px; }
