/* Skillwise site styles, following the approved homepage mockup (B · Repeat, Hebrew): white page, soft blue #eef3ff bands,
   cobalt #1d4ed8 + ink #111, Rubik throughout. Light only (no dark mode).
   Course pages take their colours from the design kit (course-themes.json) as CSS variables on .course-theme. */
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700&family=Fredoka:wght@500;600&family=Heebo:wght@400;500;700;800;900&family=IBM+Plex+Mono:wght@400;600&family=Rubik:wght@500;700;800&display=swap");

:root {
  --ink: #111111; --text: #1f2937; --muted: #4b5563; --line: #e5e7eb; --bg: #ffffff; --soft: #eef3ff;
  --brand: #1d4ed8; --brand-ink: #ffffff; --brand-soft: #eef3ff; --brand-text: #1d4ed8;
  --ok: #15803d; --bad: #b91c1c; --warn: #b45309; --card: #ffffff; --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 "Rubik", "Heebo", sans-serif; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }
a { color: var(--brand-text); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; text-wrap: balance; }
em, mark { font-style: normal; background: none; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; font-family: "IBM Plex Mono", monospace; font-size: .88em; background: var(--soft); padding: 0 .25em; border-radius: .2em; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Demo banner */
.demo-bar { background: #fff4d6; color: #5c3b00; font-size: 15px; line-height: 1.5; padding: 8px 16px; text-align: center; border-bottom: 1px solid #f1d58a; }

/* Header (mockup: white, thin line, logo · nav · sign-in link + cobalt button) */
.site-head { border-bottom: 1px solid var(--line); background: #ffffff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { max-width: 1200px; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; line-height: 1; }
.logo svg { flex: none; }
.logo .word { font: 700 28px/1 "Rubik", sans-serif; color: var(--ink); }
.logo .word span { color: var(--brand); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1; align-items: center; }
.site-nav a { color: #333333; text-decoration: none; font-size: 16px; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.head-cta { display: flex; gap: 12px; align-items: center; }
.head-cta a { color: #333333; font-size: 16px; text-decoration: none; padding: 8px 0; }
.head-cta a:hover { color: var(--brand); }
.head-cta .nav-btn { background: var(--brand); color: #ffffff; font-weight: 600; padding: 12px 20px; border-radius: 10px; }
.head-cta .nav-btn:hover { color: #ffffff; filter: brightness(1.08); }
@media (max-width: 760px) { .site-head .wrap { padding: 12px 16px; gap: 8px 18px; } .site-nav { order: 3; flex-basis: 100%; gap: 0 18px; } .head-cta { margin-inline-start: auto; } .head-cta .nav-btn { padding: 10px 14px; } .logo .word { font-size: 24px; } }

/* Buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font: 600 18px/1 "Rubik", sans-serif; padding: 16px 26px; border-radius: 12px; border: 0; cursor: pointer; background: var(--brand); color: #ffffff; text-decoration: none; min-height: 48px; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: #ffffff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.small { font-size: 16px; padding: 10px 16px; min-height: 40px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Home hero (mockup: soft blue band, kicker, big headline, two buttons, tagline, three course images) */
.home-hero { background: #eef3ff; }
.home-hero .wrap { max-width: 1200px; padding: 72px 24px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.home-hero .copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.home-hero .kicker { font-size: 15px; font-weight: 600; color: var(--brand); }
.home-hero h1 { margin: 0; font: 800 clamp(38px, 5vw, 58px)/1.08 "Rubik", sans-serif; color: var(--ink); }
.home-hero p { margin: 0; font-size: 20px; line-height: 1.5; color: #374151; }
.home-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero .tagline { font-size: 16px; color: #374151; font-weight: 500; }
.home-hero .pics { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.home-hero .pics img { width: 100%; border-radius: 14px; display: block; }
.home-hero .pics img:first-child { grid-column: 1 / -1; }
@media (max-width: 600px) { .home-hero .wrap { padding: 48px 16px; gap: 32px; } .home-hero .copy, .home-hero .pics { flex-basis: 100%; } }

section.block { padding: 72px 0; }
section.block > .wrap, .home-hero + section > .wrap { max-width: 1200px; }
section.block.alt { background: #eef3ff; }
section.block.ink { background: #111111; color: #ffffff; }
section.block > .wrap > h2, .sec-title { font: 800 clamp(28px, 3.4vw, 36px)/1.2 "Rubik", sans-serif; margin: 0 0 12px; }
section.block.ink > .wrap > h2 { color: #ffffff; }
.sec-lead { color: var(--muted); margin: 0 0 32px; max-width: 40em; font-size: 18px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 28px; }
.sec-head h2 { margin: 0; font: 800 clamp(28px, 3.4vw, 36px)/1.2 "Rubik", sans-serif; }
.sec-head a { font-size: 17px; font-weight: 600; color: var(--brand); text-decoration: none; }

/* How every course works (mockup: numbered cobalt squares, no boxes) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature h3 { margin: 0; font-size: 22px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.feature .num { width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #ffffff; display: flex; align-items: center; justify-content: center; font: 800 22px/1 "Rubik", sans-serif; }

/* Two ways (mockup: ink band, dark grey card + cobalt card) */
.two-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.way { border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.way .lbl { font-size: 14px; font-weight: 700; }
.way h3 { color: inherit; margin: 0; font-size: 26px; font-weight: 700; }
.way p { margin: 0; font-size: 17px; line-height: 1.55; }
.way.h { background: #1f2937; color: #ffffff; } .way.h .lbl { color: #93c5fd; } .way.h p { color: #d1d5db; }
.way.a { background: #1d4ed8; color: #ffffff; } .way.a .lbl { color: #dbe6ff; } .way.a p { color: #e5ecff; }

/* Course grid and cards (mockup: category chips, cards with image, two pills, title, meta, price) */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.chip { border: 1px solid #d1d5db; background: #ffffff; color: var(--ink); font: 400 15px/1 "Rubik", sans-serif; padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: #111111; border-color: #111111; color: #ffffff; font-weight: 600; }
.cat-group { margin: 0 0 44px; }
.cat-group h3 { font: 700 24px/1.3 "Rubik", sans-serif; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow); text-decoration: none; }
.card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.card h4 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.card .meta { font-size: 15px; color: var(--muted); }
.card .owned-slot { margin-top: auto; }
.card .price { font: 700 18px/1 "Rubik", sans-serif; color: var(--ink); }
.pill { display: inline-block; font: 600 13px/1.3 "Rubik", sans-serif; padding: 4px 10px; border-radius: 999px; background: #f3f4f6; color: #111111; }
.pill.h { background: #f3f4f6; color: #111111; }
.pill.a { background: #111111; color: #ffffff; }
.pill.cat-office { background: #e8f5ee; color: #0f6b3a; }
.pill.cat-design { background: #e8efff; color: #1d4ed8; }
.pill.cat-video { background: #f1ebfb; color: #5b21b6; }
.pill.cat-code { background: #e9ecf8; color: #1e2f78; }
.owned-tag { font-size: 15px; font-weight: 700; color: var(--ok); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 "Rubik", sans-serif; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--text); }

/* Footer (mockup: ink band, light logo, tagline, links) */
.site-foot { background: #111111; color: #d1d5db; margin-top: 0; font-size: 15px; }
.site-foot .cols { max-width: 1200px; padding: 48px 24px; display: flex; flex-wrap: wrap; gap: 24px 32px; justify-content: space-between; align-items: center; }
.site-foot .logo .word { color: #ffffff; font-size: 26px; }
.site-foot .logo .word span { color: #7fa2ff; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { color: #d1d5db; }
.site-foot a:hover { color: #ffffff; }
.site-foot .tag { font-size: 15px; color: #d1d5db; margin: 12px 0 0; }
.site-foot .copy { margin: 6px 0 0; color: #9ca3af; font-size: 14px; }
.site-foot :focus-visible { outline-color: #7fa2ff; }

/* ---------- Course theme (from the design kit) ---------- */
/* Big Number: solid field, heavy Heebo, giant outlined word. Aura: pale ground, three glows, Fredoka. */
.hero { background: var(--field); color: var(--cink); padding: 64px max(16px, 6vw); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; overflow: hidden; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; } }
.hero .copy { position: relative; z-index: 1; display: grid; gap: 18px; }
.hero .tag { font: 700 18px/1.2 "Heebo", sans-serif; }
.hero h1 { margin: 0; color: var(--cink); font: 900 clamp(36px, 5.4vw, 66px)/1.08 "Heebo", sans-serif; }
[data-line="aura"] .hero h1 { font: 600 clamp(36px, 5.4vw, 62px)/1.1 "Fredoka", "Assistant", sans-serif; }
[data-line="big-number"] .hero h1 mark { color: var(--hl); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
[data-line="aura"] .hero h1 mark { background: var(--hl); padding: 0 .16em; border-radius: .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p { margin: 0; font-size: 20px; line-height: 1.6; max-width: 34em; }
[data-line="aura"] .hero p { font-family: "Assistant", "Heebo", sans-serif; font-size: 21px; }
.hero .hook-video video { display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 14px; background: #0b0f1a; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); }
@media (prefers-reduced-motion: reduce) { .hero .hook-video video { animation: none; } }
.hero .facts { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 600 16px/1.5 "Heebo", sans-serif; }
.hero .facts span::before { content: "✓ "; }
.hero .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero .pills span { background: rgba(255, 255, 255, .82); color: #162741; padding: 6px 14px; border-radius: 99px; font: 600 15px/1.3 "Heebo", sans-serif; }
.hero .buy { position: relative; z-index: 1; background: #ffffff; color: #111; border-radius: 18px; padding: 26px; display: grid; gap: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .14); }
.hero .buy .price { font: 900 48px/1 "Heebo", sans-serif; }
.hero .buy .vat { font: 500 15px/1 "Heebo", sans-serif; color: #555; margin-inline-start: 8px; }
.hero .buy .note { font: 500 15px/1.5 "Heebo", sans-serif; color: #4b5057; }
.hero .buy a.link { color: #1d4ed8; font-weight: 600; font-size: 16px; }
.cbtn { display: inline-flex; justify-content: center; align-items: center; font: 700 18px/1 "Heebo", sans-serif; padding: 18px 26px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; min-height: 52px; }
[data-line="big-number"] .cbtn { background: var(--field); color: var(--cink); }
[data-line="aura"] .cbtn { background: var(--cink); color: #fff; border-radius: 99px; }
.cbtn:hover { filter: brightness(1.1); text-decoration: none; }
.hero .glyph { position: absolute; z-index: 0; direction: ltr; white-space: nowrap; pointer-events: none; color: transparent; font: 900 clamp(120px, 18vw, 230px)/.82 "Heebo", sans-serif; letter-spacing: -.03em; -webkit-text-stroke: 3px var(--cink); opacity: .22; top: 36px; left: 4vw; }
.hero .glows { position: absolute; inset: 0; z-index: 0; transform: scaleX(-1); background: radial-gradient(42% 62% at 84% 24%, var(--g1) 0, transparent 70%), radial-gradient(46% 56% at 68% 88%, var(--g2) 0, transparent 70%), radial-gradient(36% 46% at 102% 70%, var(--g3) 0, transparent 70%); }
.hero .ai-badge { display: inline-block; background: var(--cink); color: #fff; font: 800 15px/1 "Heebo", sans-serif; padding: 7px 12px; border-radius: 99px; margin-inline-start: 8px; vertical-align: middle; }
.hero.small { padding-top: 40px; padding-bottom: 40px; grid-template-columns: 1fr; }
.hero.small h1 { font-size: clamp(30px, 4.2vw, 48px); }

/* Sales page sections */
.sales section.block h2 { font: 800 clamp(26px, 3.4vw, 36px)/1.2 "Rubik", sans-serif; margin: 0 0 18px; }

.sales section.block h2::after { content: ""; display: block; width: 56px; height: 6px; border-radius: 3px; background: var(--accent-c); margin-top: 12px; }
.sales .prose p { margin: 0 0 16px; }
.sales .prose ul, .sales .prose ol { padding-inline-start: 22px; margin: 0 0 16px; }
.sales .prose li { margin: 0 0 10px; }
.sales .prose strong { color: var(--ink); }
.modules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.module summary > * { min-width: 0; overflow-wrap: anywhere; }
.module { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.module summary { cursor: pointer; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module .mnum { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 700 18px/1 "IBM Plex Mono", monospace; background: var(--accent-c); color: var(--on-accent); }
.module .mtitle { font-weight: 700; color: var(--ink); font-size: 19px; }
.module .msum { grid-column: 2 / 4; color: var(--muted); font-size: 16px; line-height: 1.5; }
.module .mcount { color: var(--muted); font-size: 15px; white-space: nowrap; }
.module ol { list-style: none; margin: 0; padding: 0 18px 12px; }
.module li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 16px; align-items: baseline; }
.module li .ln { font: 600 14px/1 "IBM Plex Mono", monospace; color: var(--muted); min-width: 34px; }
.module li .lt { flex: 1; }
.module li .lk { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sample-video { max-width: 900px; }
.sample-video video { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #000; display: block; }
.price-box { border: 2px solid var(--accent-c); border-radius: 18px; padding: 26px; background: var(--card); max-width: 720px; }
.price-box .big { font: 900 48px/1 "Rubik", sans-serif; color: var(--ink); }
.price-box .opts { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.sticky-buy { display: none; }
@media (max-width: 860px) {
  .sticky-buy { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--line); padding: 10px 16px; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  .sticky-buy .cbtn { padding: 12px 18px; min-height: 44px; font-size: 16px; }
  .sticky-buy b { font-size: 22px; color: var(--ink); }
  body.has-sticky { padding-bottom: 72px; }
}

/* Forms */
.form { display: grid; gap: 16px; max-width: 520px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=password], .form textarea { font: 400 18px/1.4 "Rubik", sans-serif; padding: 12px 14px; border: 1px solid #9aa1aa; border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
.form textarea { min-height: 140px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 5px; flex: none; }
.notice { border-radius: 12px; padding: 14px 16px; background: var(--brand-soft); border: 1px solid var(--line); }
.notice.warn { background: #fff4d6; color: #5c3b00; border-color: #f1d58a; }
.notice.ok { background: #e7f7ec; color: #14532d; border-color: #a7dcb8; }
.error-text { color: var(--bad); font-weight: 600; }
.summary-box { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--card); display: grid; gap: 12px; }
.summary-box .row { display: flex; justify-content: space-between; gap: 12px; }
.summary-box .total { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 800; font-size: 22px; color: var(--ink); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px; align-items: start; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }

/* Page basics */
.page { padding-top: 48px; padding-bottom: 24px; }
.page h1 { font: 800 clamp(32px, 4.6vw, 48px)/1.15 "Rubik", "Heebo", sans-serif; margin: 0 0 16px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.legal .placeholder { background: #fff4d6; color: #5c3b00; padding: 0 .3em; border-radius: 4px; }
.legal .draft { margin-bottom: 24px; }

/* Student area */
.progress { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent-c, var(--brand)); width: 0; transition: width .3s; }
.progress-label { font-size: 15px; color: var(--muted); margin-top: 6px; }
.materials { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.lock { text-align: center; padding: 72px 16px; }
.lock h2 { font-size: 30px; margin: 0 0 10px; }
html.gate-pending .gated { display: none; }
html.gate-locked .gated { display: none; }
html:not(.gate-locked) .locked-only { display: none; }
.lesson-list li.done .ln::before { content: "✓ "; color: var(--ok); }
.lesson-list a { color: var(--ink); text-decoration: none; }
.lesson-list a:hover { color: var(--brand-text); text-decoration: underline; }
.account-list { display: grid; gap: 16px; }
.account-item { display: grid; grid-template-columns: 200px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--card); }
.account-item img { width: 100%; border-radius: 10px; display: block; }
.account-item h3 { margin: 0 0 6px; font-size: 20px; }
@media (max-width: 700px) { .account-item { grid-template-columns: 1fr; } }

/* Lesson player */
.player { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding-top: 24px; }
@media (max-width: 980px) { .player { grid-template-columns: 1fr; } }
.player aside { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 15px; }
@media (max-width: 980px) { .player aside { position: static; max-height: none; order: -1; } }
.player aside summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--ink); }
.player aside h3 { font-size: 15px; margin: 12px 14px 4px; color: var(--muted); }
.player aside ol { list-style: none; margin: 0; padding: 0 6px 6px; }
.player aside li a { display: flex; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text); text-decoration: none; line-height: 1.4; }
.player aside li a:hover { background: var(--soft); }
.player aside li a[aria-current="page"] { background: var(--brand-soft); color: var(--ink); font-weight: 700; }
.player aside li .ln { font: 600 13px/1.6 "IBM Plex Mono", monospace; color: var(--muted); min-width: 30px; }
.player aside li.done .ln::after { content: " ✓"; color: var(--ok); }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.lesson-actions .nav { display: flex; gap: 12px; flex-wrap: wrap; }
.done-btn[aria-pressed="true"] { background: var(--ok); color: #fff; box-shadow: none; }

/* Lesson content (from the audited lesson pages, unchanged text) */
.lesson { font-size: 18px; line-height: 1.75; }
.lesson h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.25; margin: 6px 0 8px; }
.lesson h2 { font-size: 22px; margin: 40px 0 10px; }
.lesson em { font-style: normal; text-decoration: underline; text-decoration-color: var(--accent-c); text-decoration-thickness: .14em; text-underline-offset: .16em; text-decoration-skip-ink: none; }
.lesson .eyebrow { color: var(--muted); font-weight: 500; }
.lesson .badge { display: inline-block; background: var(--accent-c); color: var(--on-accent); border-radius: 999px; padding: 2px 14px; font-weight: 700; font-size: 15px; }
.lesson .how { background: var(--soft); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.lesson video, .lesson img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.lesson video { background: #000; }
.lesson .slide { margin: 28px 0; }
.lesson .slide p { margin: 10px 0; }
.lesson .note { border-inline-start: 4px solid var(--accent-c); background: var(--soft); padding: 10px 14px; border-radius: 8px; }
.lesson .mistake { border: 2px solid #d97706; border-radius: 12px; padding: 12px 16px; margin: 14px 0; }
.lesson .mistake b { color: #b45309; }
.lesson .task { border: 2px solid var(--accent-c); border-radius: 14px; padding: 16px 18px; margin-top: 36px; }
.lesson pre { unicode-bidi: plaintext; text-align: start; background: #111; color: #f5f5f5; padding: 12px 16px; border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.6 "IBM Plex Mono", ui-monospace, monospace; }
.lesson code { background: var(--soft); padding: 0 4px; border-radius: 4px; direction: ltr; unicode-bidi: isolate; }

/* Quiz */
.quiz-q { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0 0 16px; background: var(--card); }
.quiz-q h3 { margin: 0 0 12px; font-size: 19px; }
.quiz-q .opts { display: grid; gap: 8px; }
.quiz-q button.opt { text-align: start; font: 400 17px/1.5 "Rubik", sans-serif; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; }
.quiz-q button.opt:hover { border-color: var(--accent-c); }
.quiz-q button.opt.right { border: 2px solid var(--ok); background: #e7f7ec; color: #14532d; }
.quiz-q button.opt.wrong { border: 2px solid var(--bad); background: #fdecec; color: #7f1d1d; }
.quiz-q .why { margin: 12px 0 0; display: none; }
.quiz-q.answered .why { display: block; }
.quiz-score { font-weight: 700; }

/* 404 */
.notfound { text-align: center; padding: 96px 16px; }

@media print { .site-head, .site-foot, .demo-bar, .sticky-buy, .player aside, .lesson-actions { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Courses whose kit colours give under 4.5:1 for text (C05-H, C08-H, C08-A labels): use large text, where 3:1 is enough (WCAG 1.4.3) */
[data-lowc] .hero .tag, [data-lowc] .hero .facts { font-size: 19px; font-weight: 700; }
[data-lowc] .hero p { font-size: 24px; }
[data-lowc] .cbtn, [data-lowc] .sticky-buy .cbtn { font-size: 19px; }
[data-lowc] .lesson .badge, [data-lowc] .module .mnum { font-size: 19px; font-weight: 700; }
@media (max-width: 600px) { .hero .glyph { font-size: 110px; opacity: .14; top: 20px; } }
/* Sale price: regular price crossed out next to the price charged */
s.was { color: #6b7078; font-weight: 400; font-size: .55em; margin-inline-start: 6px; }
.card s.was { font-size: 15px; }
.sticky-buy s.was { font-size: 15px; }
.sale-tag { display: inline-block; justify-self: start; background: #fde68a; color: #5c3b00; font: 700 15px/1 "Rubik", sans-serif; padding: 7px 12px; border-radius: 99px; margin-bottom: 4px; }
.hero .buy s.was, .price-box s.was { font-size: 22px; }

.sticky-buy.off { display: none !important; }
.quiz-q .mk { font-weight: 800; }
.btn s, .link s { font-weight: 400; }

/* ---------- Accessibility menu ---------- */
.form select { font: 400 18px/1.4 "Rubik", sans-serif; padding: 12px 14px; border: 1px solid #9aa1aa; border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
.legal .biz { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal .draft-foot { font-size: 15px; }
.a11y { position: fixed; z-index: 60; bottom: 16px; inset-inline-end: 16px; font: 400 17px/1.4 "Rubik", Arial, sans-serif; }
.has-sticky .a11y { bottom: 16px; }
@media (max-width: 860px) { .has-sticky .a11y { bottom: 84px; } }
.a11y-btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; background: #1d4ed8; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.a11y-btn:hover { background: #1e40af; }
.a11y-panel { position: absolute; bottom: 68px; inset-inline-end: 0; width: min(300px, calc(100vw - 32px)); background: #fff; color: #111; border: 2px solid #1d4ed8; border-radius: 16px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.25); max-height: calc(100vh - 120px); overflow: auto; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; font-size: 19px; }
.a11y-panel button { font: 500 17px/1.3 "Rubik", Arial, sans-serif; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid #9aa1aa; background: #f5f7fb; color: #111; cursor: pointer; text-align: start; }
.a11y-panel button:disabled { opacity: .5; cursor: not-allowed; }
.a11y-panel .a11y-close { min-height: 40px; width: 40px; text-align: center; background: #fff; }
.a11y-size { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.a11y-size button { text-align: center; }
.a11y-size output { font-weight: 700; min-width: 48px; text-align: center; }
.a11y-panel .a11y-opt[aria-pressed="true"] { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.a11y-panel .a11y-opt[aria-pressed="true"]::before { content: "✓ "; }
.a11y-panel .a11y-reset { background: #fff; }
.a11y-link { color: #1d4ed8; font-weight: 600; padding: 4px 2px; }
/* Text size: scales the page content (not the menu itself) */
html.a11y-zoom body { zoom: var(--a11y-zoom); }
html.a11y-zoom .a11y { zoom: calc(1 / var(--a11y-zoom)); }
html.a11y-zoom .site-head { position: static; }
/* High contrast */
html.a11y-contrast body, html.a11y-contrast .site-head, html.a11y-contrast main *:not(img):not(video):not(svg):not(path):not(circle), html.a11y-contrast .site-foot *, html.a11y-contrast .demo-bar, html.a11y-contrast .sticky-buy, html.a11y-contrast .sticky-buy * , html.a11y-contrast .site-head * { background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; text-shadow: none !important; box-shadow: none !important; }
html.a11y-contrast a, html.a11y-contrast a * { color: #ffeb3b !important; }
html.a11y-contrast .hero .glyph, html.a11y-contrast .glows, html.a11y-contrast .home-hero .mark { display: none !important; }
html.a11y-contrast .logo img.light { display: none !important; } html.a11y-contrast .logo img.dark { display: inline !important; }
html.a11y-contrast .btn, html.a11y-contrast .cbtn, html.a11y-contrast .chip, html.a11y-contrast button.opt { border: 2px solid #fff !important; }
html.a11y-contrast .chip[aria-pressed="true"] { outline: 3px solid #ffeb3b; }
html.a11y-contrast .progress i { background: #ffeb3b !important; }
/* Grayscale */
html.a11y-gray .site-head, html.a11y-gray main, html.a11y-gray .site-foot, html.a11y-gray .demo-bar { filter: grayscale(1); }
/* Highlight links */
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 2px dashed currentColor; outline-offset: 2px; }
/* Readable font */
html.a11y-font body, html.a11y-font body *:not(pre):not(code):not(.ltr) { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: 0 !important; }
/* Line spacing */
html.a11y-spacing main p, html.a11y-spacing main li, html.a11y-spacing main summary { line-height: 2 !important; word-spacing: .12em; }
/* Stop animations */
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media print { .a11y { display: none !important; } }
html.a11y-zoom .hero .glyph { display: none; }
html.a11y-zoom .module summary { grid-template-columns: auto minmax(0, 1fr); }
html.a11y-zoom .module .mcount, html.a11y-zoom .module .msum { grid-column: 2 / 3; white-space: normal; }
html.a11y-zoom .module li { flex-wrap: wrap; }
html.a11y-zoom .module li .lk { white-space: normal; }

/* Course materials on every lesson + the files this lesson uses */
.materials-bar { background: #eef3ff; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: 16px; }
.lesson-files { border: 2px solid var(--brand); border-radius: 16px; padding: 16px 20px; margin: 0 0 24px; background: #ffffff; }
.lesson-files h2 { margin: 0 0 8px !important; font: 700 20px/1.3 "Rubik", sans-serif !important; }
.lesson-files ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.lesson-files a { font-weight: 600; }

/* The footer always ends the page: white page, no band under it on tall screens */
html { background: #ffffff; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* ---------- Dark mode: only when the visitor picks it (button in the header). The site always opens light. ---------- */
.theme-btn { font: 500 15px/1 "Rubik", sans-serif; color: #333333; background: transparent; border: 1px solid #d1d5db; border-radius: 999px; padding: 9px 14px; min-height: 40px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.theme-btn:hover { border-color: var(--brand); color: var(--brand); }
.theme-btn svg { width: 16px; height: 16px; }
html[data-theme="dark"] {
  --ink: #f3f4f6; --text: #e5e7eb; --muted: #b4bac2; --line: #2f353d; --bg: #111318; --soft: #1a2234; --card: #181c22;
  --brand-soft: #1a2440; --brand-text: #7fa2ff; --ok: #4ade80; --bad: #f87171; --shadow: 0 10px 30px rgba(0, 0, 0, .4);
  color-scheme: dark; background: #111318;
}
html[data-theme="dark"] a { color: #7fa2ff; }
html[data-theme="dark"] .demo-bar, html[data-theme="dark"] .notice.warn, html[data-theme="dark"] .legal .placeholder { background: #3a2c08; color: #ffe7a3; border-color: #5c4510; }
html[data-theme="dark"] .notice.ok { background: #0f2e1b; color: #bbf7d0; border-color: #1f5133; }
html[data-theme="dark"] .site-head { background: #111318; }
html[data-theme="dark"] .site-nav a, html[data-theme="dark"] .head-cta a:not(.nav-btn), html[data-theme="dark"] .theme-btn { color: #d1d5db; }
html[data-theme="dark"] .site-nav a:hover, html[data-theme="dark"] .head-cta a:not(.nav-btn):hover, html[data-theme="dark"] .theme-btn:hover { color: #7fa2ff; }
html[data-theme="dark"] .theme-btn { border-color: #3a414b; }
html[data-theme="dark"] .head-cta .nav-btn, html[data-theme="dark"] .btn:not(.ghost), html[data-theme="dark"] .way.a, html[data-theme="dark"] .way.a * { color: #ffffff; }
html[data-theme="dark"] .logo .word span, html[data-theme="dark"] .home-hero .kicker, html[data-theme="dark"] .sec-head a, html[data-theme="dark"] .faq summary::after { color: #7fa2ff; }
html[data-theme="dark"] .home-hero, html[data-theme="dark"] section.block.alt, html[data-theme="dark"] .materials-bar { background: #1a2234; }
html[data-theme="dark"] .home-hero p, html[data-theme="dark"] .home-hero .tagline { color: #d1d5db; }
html[data-theme="dark"] .btn.ghost { background: transparent; color: #f3f4f6; box-shadow: inset 0 0 0 2px #f3f4f6; }
html[data-theme="dark"] section.block.ink, html[data-theme="dark"] .site-foot { background: #0a0b0e; }
html[data-theme="dark"] .way.h { background: #1f2937; }
html[data-theme="dark"] .chip { background: transparent; border-color: #3a414b; color: #e5e7eb; }
html[data-theme="dark"] .chip[aria-pressed="true"] { background: #f3f4f6; border-color: #f3f4f6; color: #111111; }
html[data-theme="dark"] .card, html[data-theme="dark"] .lesson-files { background: #181c22; }
html[data-theme="dark"] .card h4, html[data-theme="dark"] .card .price { color: #f3f4f6; }
html[data-theme="dark"] .pill, html[data-theme="dark"] .pill.h { background: #2a2f37; color: #f3f4f6; }
html[data-theme="dark"] .pill.a { background: #f3f4f6; color: #111111; }
html[data-theme="dark"] .pill.cat-office { background: #12301f; color: #86efac; }
html[data-theme="dark"] .pill.cat-design { background: #172554; color: #a5c0ff; }
html[data-theme="dark"] .pill.cat-video { background: #2e1a4f; color: #d8b4fe; }
html[data-theme="dark"] .pill.cat-code { background: #1c2340; color: #b4c3f5; }
html[data-theme="dark"] .quiz-q button.opt.right { background: #0f2e1b; color: #bbf7d0; }
html[data-theme="dark"] .quiz-q button.opt.wrong { background: #3a1212; color: #fecaca; }
html[data-theme="dark"] .form input, html[data-theme="dark"] .form textarea, html[data-theme="dark"] .form select { background: #181c22; color: #f3f4f6; border-color: #5b636e; }
html[data-theme="dark"] .lesson img:not([src$=".svg"]) { background: #ffffff; }
html[data-theme="dark"] .hero .buy a:not(.cbtn) { color: #1d4ed8; }
html[data-theme="dark"] s.was { color: #b4bac2; }
html[data-theme="dark"] .hero .buy s.was { color: #6b7078; }
html[data-theme="dark"] .lesson .mistake b { color: #fbbf24; }
.lesson .files { border: 2px solid var(--brand); border-radius: 16px; padding: 16px 20px; margin: 0 0 24px; background: var(--card); }
.lesson .files > b { display: block; font: 700 20px/1.3 "Rubik", sans-serif; margin: 0 0 8px; color: var(--ink); }
.lesson .files ul { margin: 0 0 8px; padding-inline-start: 20px; display: grid; gap: 6px; }
.lesson .files a { font-weight: 600; }
.lesson .files small { font-size: 15px; color: var(--muted); }
.launch { display: inline-block; font: 600 13px/1.3 "Rubik", sans-serif; background: #fde68a; color: #5c3b00; padding: 3px 9px; border-radius: 999px; margin-inline-start: 6px; vertical-align: middle; }
.hero .buy .launch { display: none; } /* the buy box already carries the launch tag above the price */
[hidden] { display: none !important; }

/* Hero v2 + audience strip (Dor, Nov 5) */
.nowrap { white-space: nowrap; }
.home-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.15; }
.home-hero p { max-width: 34em; }
.audience { background: #ffffff; border-bottom: 1px solid var(--line); }
.audience .wrap { max-width: 1200px; padding: 32px 24px; }
.aud-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.aud-list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; }
.aud-list svg { flex: none; color: var(--brand); margin-top: 2px; }
.aud-list h2 { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--ink); }
.aud-list p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
html[data-theme="dark"] .audience { background: #111318; border-color: #2a2f3a; }
html[data-theme="dark"] .aud-list li { background: #181c22; border-color: #2a2f3a; }
html[data-theme="dark"] .aud-list svg { color: #7fa2ff; }
html[data-theme="dark"] .aud-list h2 { color: #f3f4f6; }
html[data-theme="dark"] .aud-list p { color: #d1d5db; }

/* Friend's ideas (Dor, Nov 5 18:11): 4 course tiles in the hero + sample-lesson link */
.home-hero .wrap { padding-top: 48px; padding-bottom: 48px; }
.home-hero .pics .tile { display: block; border-radius: 14px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.home-hero .pics .tile:hover, .home-hero .pics .tile:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17, 17, 17, .14); }
.home-hero .pics .tile img { border-radius: 0; }
.sample-btn { align-self: flex-start; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.sample-btn span { font-size: 13px; text-decoration: none; }
.hero .sample-btn { color: inherit; }
.access-line { font-weight: 600; margin: 12px 0 0; }
html[data-theme="dark"] .home-hero .sample-btn { color: #7fa2ff; }
#sample, #price, #curriculum, #faq, #how { scroll-margin-top: 96px; }

/* Audience paths + package (Dor, Nov 5 19:26) */
.audience h2 { margin: 0 0 16px; font-size: 26px; font-weight: 800; color: var(--ink); }
.aud-list.paths { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.aud-list.paths li { padding: 0; border: 0; background: none; }
.path-card { display: flex; gap: 14px; align-items: flex-start; height: 100%; box-sizing: border-box; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.path-card:hover, .path-card:focus-visible { border-color: var(--brand); box-shadow: 0 6px 20px rgba(29, 78, 216, .12); }
.path-card svg { flex: none; color: var(--brand); margin-top: 2px; }
.pc-body { display: flex; flex-direction: column; gap: 6px; }
.pc-title { font-size: 19px; font-weight: 700; color: var(--ink); }
.pc-line { font-size: 16px; line-height: 1.5; color: var(--muted); }
.pc-link { font-weight: 700; color: var(--brand); margin-top: 4px; }
.path-page h1 { font-size: clamp(32px, 4vw, 46px); margin: 8px 0 8px; }
.path-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 32px; align-items: start; margin-top: 24px; }
@media (max-width: 900px) { .path-grid { grid-template-columns: minmax(0, 1fr); } }
.pgroup { font-size: 22px; margin: 24px 0 12px; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pitem { display: grid; grid-template-columns: auto 160px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pitem.off { background: #f9fafb; }
.pitem.off img { opacity: .55; }
.pitem img { width: 100%; height: auto; border-radius: 10px; display: block; }
@media (max-width: 600px) { .pitem { grid-template-columns: auto minmax(0, 1fr); } .pitem img { display: none; } }
.pick { display: flex; padding-top: 2px; cursor: pointer; }
.pick input { width: 24px; height: 24px; accent-color: var(--brand); margin: 0; cursor: pointer; }
.pi-body h3 { margin: 0 0 6px; font-size: 19px; }
.pi-body h3 a { color: var(--ink); }
.pi-body p { margin: 0 0 6px; font-size: 16px; line-height: 1.5; color: var(--text); }
.ver { border: 0; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ver label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; cursor: pointer; }
.ver label:has(input:checked) { border-color: var(--brand); background: var(--soft); font-weight: 600; }
.ver input { accent-color: var(--brand); margin: 0; }
.ver-one { color: var(--muted); font-size: 15px; }
.pkg { position: sticky; top: 96px; padding: 22px; border: 2px solid var(--brand); border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.pkg h2 { margin: 0; font-size: 22px; }
.pkg-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pkg-lines li, .pkg-sum .row, .receipt li, .receipt-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.pkg-sum { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 6px; }
.pkg-sum .row.total, .summary-box .row.total { font-weight: 800; font-size: 20px; }
.row.disc { color: #047857; font-weight: 600; }
.pkg-x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 0 4px; }
.pkg .cbtn { text-align: center; }
.pkg .cbtn.disabled { opacity: .45; pointer-events: none; }
.pkg-add { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.pkg-add select { font: inherit; font-weight: 400; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; }
.pkg .small { font-size: 14px; margin: 0; }
.receipt { margin-top: 8px; font-size: 15px; }
.receipt ul, .receipt-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 4px; }
.path-links { margin-top: 16px; font-size: 15px; }
html[data-theme="dark"] .path-card, html[data-theme="dark"] .pitem, html[data-theme="dark"] .pkg, html[data-theme="dark"] .pkg-add select { background: #181c22; border-color: #2a2f3a; color: #e5e7eb; }
html[data-theme="dark"] .pkg { border-color: #7fa2ff; }
html[data-theme="dark"] .pitem.off { background: #14171c; }
html[data-theme="dark"] .pc-title, html[data-theme="dark"] .pi-body h3 a, html[data-theme="dark"] .audience h2 { color: #f3f4f6; }
html[data-theme="dark"] .pc-line, html[data-theme="dark"] .pi-body p { color: #d1d5db; }
html[data-theme="dark"] .path-card svg, html[data-theme="dark"] .pc-link { color: #7fa2ff; }
html[data-theme="dark"] .ver label { border-color: #2a2f3a; }
html[data-theme="dark"] .ver label:has(input:checked) { background: #1a2234; border-color: #7fa2ff; }
html[data-theme="dark"] .row.disc { color: #6ee7b7; }
.pkg .cbtn { background: var(--brand); color: #fff; font-family: "Rubik", sans-serif; }
/* SWITCH:START light/dark slide switch (Dor, 2026-11-11): a small pill, sun knob on the light side, moon knob on the dark side,
   in the far top-right corner of the header (Dor's screenshot, 12:00) */
.theme-switch { --ts-w: 52px; --ts-h: 28px; --ts-k: 22px; position: relative; flex: none; width: var(--ts-w); height: var(--ts-h); padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: #e9ecf1; box-shadow: inset 0 1px 4px rgba(15, 23, 42, .16), inset 0 -1px 1px rgba(255, 255, 255, .9); transition: background .25s ease; }
.theme-switch .ts-knob { position: absolute; top: calc((var(--ts-h) - var(--ts-k)) / 2); inset-inline-start: calc((var(--ts-h) - var(--ts-k)) / 2); width: var(--ts-k); height: var(--ts-k); border-radius: 50%;
  display: grid; place-items: center; background: #ffffff; color: #8a94a6; box-shadow: 0 1px 4px rgba(15, 23, 42, .25); transition: transform .25s ease, background .25s ease, color .25s ease; }
.theme-switch .ts-knob svg { grid-area: 1 / 1; width: 14px; height: 14px; transition: opacity .2s ease; }
.theme-switch .ts-moon { opacity: 0; }
.theme-switch .ts-text { display: none; }
.theme-switch[aria-checked="true"] { background: #2a3142; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .5), inset 0 -1px 1px rgba(255, 255, 255, .06); }
.theme-switch[aria-checked="true"] .ts-knob { transform: translateX(calc(-1 * (var(--ts-w) - var(--ts-h)))); background: #556079; color: #e5e9f2; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
[dir="ltr"] .theme-switch[aria-checked="true"] .ts-knob { transform: translateX(calc(var(--ts-w) - var(--ts-h))); }
.theme-switch[aria-checked="true"] .ts-sun { opacity: 0; }
.theme-switch[aria-checked="true"] .ts-moon { opacity: 1; }
.theme-switch:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
.site-head > .theme-switch { position: absolute; top: 50%; margin-top: calc(var(--ts-h) / -2); inset-inline-start: 28px; z-index: 2; }
@media (max-width: 1400px) { .site-head .wrap { padding-inline-start: 100px; } }
@media (max-width: 760px) { .site-head > .theme-switch { top: 26px; margin-top: 0; inset-inline-start: 14px; } .site-head .wrap { padding-inline-start: 16px; } .site-head .logo { margin-inline-start: 66px; } }
/* SWITCH:END */
/* beta version (Dor, 2026-11-12) */
.beta-bar { background: #e8efff; color: #1b2f6b; font-size: 15px; line-height: 1.5; padding: 8px 16px; text-align: center; border-bottom: 1px solid #c9d6f5; }
.beta-note { font-size: 14px; line-height: 1.55; color: var(--muted, #5d646c); margin: 10px 0 0; }
html[data-theme="dark"] .beta-bar { background: #16234a; color: #dbe5ff; border-color: #2a3c70; }
@media print { .beta-bar { display: none !important; } }

/* course requests, "לא מצאתם את מה שחיפשתם?" (Dor, 2026-11-14) */
.req-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: start; }
.req-copy .kicker { font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.req-copy h2 { font: 800 clamp(28px, 3.4vw, 36px)/1.2 "Rubik", sans-serif; margin: 0 0 12px; }
.req-copy p { font-size: 18px; max-width: 34em; }
.req-form { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px; max-width: none; box-shadow: 0 2px 10px rgba(17, 17, 17, .05); }
.req-form .hint { font-weight: 400; color: var(--muted); }
.req-form input.trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.req-form .small { font-size: 15px; margin: -6px 0 0; }
#req-ok { max-width: 520px; }
.req-link { background: none; border: 0; padding: 0; font: 600 17px/1.4 "Rubik", sans-serif; color: var(--brand); cursor: pointer; text-decoration: none; }
.req-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .req-grid { grid-template-columns: 1fr; gap: 20px; } }
html[data-theme="dark"] .req-copy .kicker, html[data-theme="dark"] .req-link { color: #7fa2ff; }
html[data-theme="dark"] .req-form { background: #12161c; border-color: #2c333d; }
.req-form .error-text:empty { display: none; }

/* Sign-up + gift course (Dor, 2026-11-14) */
.head-cta .nav-gift { background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.gift-band { padding: 48px 0; background: linear-gradient(135deg, #eef3ff 0%, #f5efff 100%); border-block: 1px solid #e3e8ff; }
.gift-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.gift-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 10px; }
.gift-copy .kicker { color: #6d28d9; font-weight: 700; }
.gift-points { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.gift-points li { display: grid; gap: 2px; padding: 12px 16px; background: #fff; border: 1px solid #e3e8ff; border-radius: 12px; }
.gift-points li b { color: var(--ink); }
.gift-points li span { color: var(--muted); font-size: 16px; }
.gift-band .actions, .gift-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gift-pic img, .gift-card img { display: block; width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .gift-grid { grid-template-columns: 1fr; gap: 24px; } .gift-pic { order: -1; } }

.auth { max-width: 460px; }
.auth-wide { max-width: 1040px; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; gap: 28px; } }
.lead-sm { color: var(--muted); margin-top: -6px; }
.social-btns { display: grid; gap: 10px; margin: 18px 0 8px; }
.btn.social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #d1d5db; font-weight: 600; }
.btn.social:hover { background: #f9fafb; filter: none; }
.btn.social[data-social="apple"] { background: #000; color: #fff; box-shadow: none; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; margin: 14px 0; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-inline-end: 76px; }
.pw-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--soft); color: var(--brand-text); font: 600 14px/1 "Rubik", sans-serif; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: 16px; }
.form label.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--brand); }
.auth-links { margin: 10px 0 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand-text); font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.auth-switch { margin-top: 18px; }
.gift-card { background: linear-gradient(160deg, #eef3ff, #f5efff); border: 1px solid #e3e8ff; border-radius: 20px; padding: 20px; }
.gift-card .kicker { color: #6d28d9; font-weight: 700; margin-top: 16px; }
.gift-card h2 { margin: 4px 0 10px; font-size: 26px; }
.gift-card ul { margin: 0 0 12px; padding-inline-start: 20px; display: grid; gap: 6px; }
.gift-tag { display: inline-block; background: #6d28d9; color: #fff; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.gift-item { border-color: #d9ccff; background: #faf7ff; margin-bottom: 14px; }
.next-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.next-card { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); background: var(--card); }
.next-card small { color: #6d28d9; font-weight: 600; font-size: 14px; }
.next-card b { color: var(--ink); line-height: 1.35; }
.next-card span { color: var(--muted); font-size: 15px; }
.next-card:hover { border-color: var(--brand); }
@media (max-width: 760px) { .next-cards { grid-template-columns: 1fr; } }
.gift-hero .pics.one { display: block; }
.gift-lessons { list-style: none; padding: 0; display: grid; gap: 8px; }
.gift-lessons li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.gift-lessons .n { font-weight: 700; color: var(--brand-text); }
.gift-lessons .k { color: var(--muted); font-size: 15px; }
ul.ticks { padding-inline-start: 22px; display: grid; gap: 8px; }
html[data-theme="dark"] .gift-band, html[data-theme="dark"] .gift-card { background: #1d1a33; border-color: #2e2a4d; }
html[data-theme="dark"] .gift-points li, html[data-theme="dark"] .gift-item { background: #181c22; border-color: #2e2a4d; }
html[data-theme="dark"] .gift-copy .kicker, html[data-theme="dark"] .gift-card .kicker, html[data-theme="dark"] .next-card small { color: #c4b5fd; }
html[data-theme="dark"] .btn.social:not([data-social="apple"]) { background: #fff; color: #111; }
html[data-theme="dark"] .next-card { background: #181c22; }
html[data-theme="dark"] .pw-eye { background: #1a2234; color: #7fa2ff; }
/* Gift choice: three tracks (Dor, 2026-11-14) */
.gift-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.gift-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 8px; }
.gift-head .kicker { color: #6d28d9; font-weight: 700; }
.gift-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.gift-opt { display: grid; gap: 6px; align-content: start; background: #fff; border: 1px solid #e3e8ff; border-radius: 16px; padding: 14px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.gift-opt:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gift-opt img { width: 100%; height: auto; border-radius: 10px; display: block; margin-bottom: 6px; }
.gift-opt b { font-size: 18px; line-height: 1.35; }
.gift-opt .muted { font-size: 15px; }
.gift-track { display: inline-block; justify-self: start; background: #ede9fe; color: #5b21b6; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.gift-band > .wrap > .actions { justify-content: center; }
.gift-band > .wrap > .muted { text-align: center; }
.gift-picks { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.gift-picks legend, .step-label { font-weight: 700; font-size: 17px; margin: 0 0 10px; padding: 0; }
.gift-pick { display: grid !important; grid-template-columns: auto 96px 1fr; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 400 !important; }
.gift-pick img { width: 96px; height: 54px; object-fit: cover; border-radius: 6px; }
.gift-pick > span { display: grid; gap: 3px; }
.gift-pick b { font-size: 16px; line-height: 1.35; }
.gift-pick input { width: 20px; height: 20px; margin: 0; accent-color: #6d28d9; }
.gift-pick:has(input:checked) { border-color: #6d28d9; background: #faf7ff; }
@media (max-width: 860px) { .gift-opts { grid-template-columns: 1fr; } }
html[data-theme="dark"] .gift-opt { background: #181c22; border-color: #2e2a4d; }
html[data-theme="dark"] .gift-track { background: #2e2a4d; color: #c4b5fd; }
html[data-theme="dark"] .gift-pick:has(input:checked) { background: #1d1a33; }
.gift-opt img, .gift-card img, .gift-pic img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
/* purchase not open yet (SW_SALES off): the buy button is a quiet note */
.cbtn.soon { cursor: default; opacity: .75; pointer-events: none; font-size: 17px; }
.cbtn.soon:hover { filter: none; }
