/* ---------- dark mode: "Riyadh at night" ----------
   deep navy instead of black, the same cobalt made a little brighter so it reads on dark, glass becomes smoked glass.
   Turned on by html[data-theme="dark"] (js/theme.js). The WhatsApp preview and the QR stay light, like a real phone screen and a printed code. */
html[data-theme="dark"]{color-scheme:dark;
  --ivory:#070D1C; --mist:#070D1C; --white:#0E1730; --sky:#1A2856; --sky-2:#111D3E;
  --ink:#E8EEFF; --muted:#9AA8C8; --line:rgba(150,175,255,.14); --on-dark-muted:#A9B6D3;
  --cobalt:#5B7BFF; --cobalt-hover:#7591FF;
  --glass:linear-gradient(160deg,rgba(26,40,82,.72) 0%,rgba(13,21,44,.62) 100%);
  --glass-rim:rgba(150,175,255,.16);
  --glass-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 1px 2px rgba(0,0,0,.3),0 18px 36px -20px rgba(0,0,0,.75);
  --shadow:0 1px 2px rgba(0,0,0,.35),0 8px 18px -10px rgba(0,0,0,.6)}
html[data-theme="dark"] body{background:var(--ivory)}

/* header: smoked glass */
html[data-theme="dark"] .site-header{background:linear-gradient(180deg,rgba(16,26,54,.78),rgba(10,17,36,.62));border-color:rgba(150,175,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 34px -18px rgba(0,0,0,.8)}
html[data-theme="dark"] .no-gpu .site-header{background:rgba(10,17,36,.97)}

/* the main button keeps its liquid glass; its cobalt body stays the brand cobalt */
html[data-theme="dark"] .btn-primary{color:#fff}
html[data-theme="dark"] .btn-ghost{background:linear-gradient(180deg,rgba(30,45,90,.7),rgba(18,28,58,.55));border-color:var(--glass-rim);color:var(--ink)}

/* cards and tiles that were white */
html[data-theme="dark"] .review{background:linear-gradient(160deg,rgba(26,40,82,.8),rgba(14,22,46,.7))}
html[data-theme="dark"] .review::after{background:var(--sky-2)}
html[data-theme="dark"] .faq details,html[data-theme="dark"] .faq details[open]{background:var(--glass)}
html[data-theme="dark"] .faq details[open]{border-color:rgba(91,123,255,.45)}
html[data-theme="dark"] .post-face{background:radial-gradient(70% 55% at 85% 12%,rgba(91,123,255,.22),rgba(91,123,255,0) 70%),linear-gradient(165deg,#13204A 0%,#0C1531 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 40px -22px rgba(0,0,0,.8)}
html[data-theme="dark"] .opts-en span,html[data-theme="dark"] .post-flip{background:rgba(255,255,255,.06);color:var(--ink)}
html[data-theme="dark"] .trust{background:transparent}
html[data-theme="dark"] .trust-row li::after{background:none}
html[data-theme="dark"] .mode-online{background:linear-gradient(160deg,#16255A 0%,#0F1A3C 100%);border-color:var(--glass-rim)}
html[data-theme="dark"] .chips li{background:rgba(255,255,255,.04)}
html[data-theme="dark"] .chips li:hover{background:var(--sky);color:#fff}

/* the journey floor becomes a dark blueprint */
html[data-theme="dark"] .journey-floor{background:linear-gradient(180deg,#14214A,#0A1330);box-shadow:0 70px 90px -50px rgba(0,0,0,.8),inset 0 0 0 1px rgba(150,175,255,.12)}
html[data-theme="dark"] .journey-floor::before{background-image:linear-gradient(rgba(150,175,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(150,175,255,.08) 1px,transparent 1px)}
html[data-theme="dark"] .j-ghost{stroke:rgba(150,175,255,.2)}
html[data-theme="dark"] .journey .step{background:rgba(16,26,56,.88);border-color:var(--glass-rim);box-shadow:0 26px 50px -30px rgba(0,0,0,.85)}
html[data-theme="dark"] .step-ico{filter:drop-shadow(0 20px 16px rgba(0,0,0,.5))}

/* booking */
html[data-theme="dark"] .final{background:linear-gradient(180deg,var(--ivory) 0%,#0C1736 100%)}
html[data-theme="dark"] .opt span{background:rgba(255,255,255,.04);color:var(--ink)}
html[data-theme="dark"] .book-name{background:rgba(255,255,255,.05);color:var(--ink)}
html[data-theme="dark"] .bs-dot{background:var(--white);border-color:rgba(150,175,255,.25);color:var(--muted)}
html[data-theme="dark"] .book-stepper li.is-done .bs-dot{background:var(--sky);color:#fff}
html[data-theme="dark"] .book-host-say,html[data-theme="dark"] .book-chip{background:var(--white);color:var(--ink)}
html[data-theme="dark"] .level-btn:hover{background:var(--glass)}

/* level quiz window */
html[data-theme="dark"] .lq-card,html[data-theme="dark"] [class*="lq-"][role="dialog"]{background:linear-gradient(160deg,rgba(20,32,68,.98),rgba(11,19,40,.97));color:var(--ink)}
html[data-theme="dark"] .lq-close,html[data-theme="dark"] .lq-a{background:rgba(255,255,255,.05);color:var(--ink)}

/* footer */
html[data-theme="dark"] .site-footer{background:#060B18;border-top-color:rgba(150,175,255,.12)}

/* pictures cut out on white keep a soft white disc; everything else is see-through already */
html[data-theme="dark"] .host-video,html[data-theme="dark"] .thanks-video,html[data-theme="dark"] .lq-cheer-video{box-shadow:0 0 0 3px rgba(150,175,255,.25)}

/* the soft section glows become a faint cobalt light instead of a white haze */
html[data-theme="dark"] .section-soft::before{background:radial-gradient(70% 45% at 50% 0%,rgba(36,75,215,.14),transparent 70%),radial-gradient(60% 40% at 50% 100%,rgba(36,75,215,.08),transparent 70%)}
html[data-theme="dark"] .hero-stage::before{background:radial-gradient(closest-side,rgba(36,75,215,.35) 0%,rgba(36,75,215,0) 100%)}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .card-tag,html[data-theme="dark"] .post-tag{background:rgba(91,123,255,.14)}
html[data-theme="dark"] .idx{background:rgba(91,123,255,.18)}

/* no grey haze: the big soft lights behind the sections become a faint cobalt, never a pale blue */
html[data-theme="dark"] #lessons::before,html[data-theme="dark"] #where::before,html[data-theme="dark"] #reviews::before{background:radial-gradient(closest-side,rgba(36,75,215,.12),rgba(36,75,215,0))}
html[data-theme="dark"] #lessons::after,html[data-theme="dark"] #faq::before{background:radial-gradient(closest-side,rgba(36,75,215,.10),rgba(36,75,215,0))}
html[data-theme="dark"] .trust::before{background:radial-gradient(50% 60% at 50% 50%,rgba(36,75,215,.12),rgba(36,75,215,0) 70%)}
html[data-theme="dark"] .bubble-card:hover,html[data-theme="dark"] .review:hover{border-color:rgba(150,175,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 20px 40px -18px rgba(0,0,0,.8)}
html[data-theme="dark"] .mode-online{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 32px -18px rgba(0,0,0,.7)}

/* the number tiles: one even, quiet hairline instead of the bright turning rim; a soft lift on hover */
/* the rim keeps turning (hover, and the rating celebration sweep): a quiet, even hairline with one soft lighter arc riding on it */
html[data-theme="dark"] .trust-row li::before{padding:1px;background:conic-gradient(from var(--rim),rgba(110,145,255,.7),rgba(110,145,255,.14) 20%,rgba(110,145,255,.14) 80%,rgba(110,145,255,.7))}
html[data-theme="dark"] .trust-row li.celebrate{animation-name:tileGlowDark}
@keyframes tileGlowDark{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 40px -24px rgba(36,75,215,.45)}35%{box-shadow:0 0 0 1px rgba(255,200,61,.4),0 18px 44px -14px rgba(245,179,1,.35)}}
/* light tiles: almost clear, with a soft cobalt light rising from underneath */
html[data-theme="dark"] .trust-row li{background:radial-gradient(90% 70% at 50% 120%,rgba(36,75,215,.32),transparent 70%),rgba(255,255,255,.02);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 40px -24px rgba(36,75,215,.45)}
@media (hover:hover){html[data-theme="dark"] .trust-row li:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 24px 44px -22px rgba(36,75,215,.65)}}
/* the light / dark switch: a small glass button; the sun's rays fold away and a bite turns it into a crescent */
.theme-toggle{position:relative;flex:none;display:grid;place-items:center;width:42px;height:42px;margin-inline-start:auto;border-radius:14px;cursor:pointer;
  color:var(--ink);border:1px solid var(--glass-rim);background:var(--glass);box-shadow:var(--glass-shadow);transition:translate .25s var(--ease-out),color .3s}
.theme-toggle + .wa-link{margin-inline-start:0}
.theme-toggle:hover{translate:0 -1px;color:var(--cobalt)}
.theme-toggle svg{width:22px;height:22px;overflow:visible}
.theme-toggle .tt-body{fill:currentColor;transition:r .5s var(--ease-out)}
.theme-toggle .tt-bite{transition:cx .5s var(--ease-out),cy .5s var(--ease-out)}
.theme-toggle .tt-rays{stroke:currentColor;stroke-width:1.8;stroke-linecap:round;transform-origin:12px 12px;transition:transform .5s var(--ease-out),opacity .3s}
html[data-theme="dark"] .theme-toggle .tt-body{r:8.5px}
html[data-theme="dark"] .theme-toggle .tt-bite{cx:17px;cy:7px}
html[data-theme="dark"] .theme-toggle .tt-rays{transform:rotate(-90deg) scale(.4);opacity:0}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
@media (prefers-reduced-motion:reduce){.theme-toggle *{transition:none!important}}

/* ---------- states that must win over the dark surfaces above (picked, current, hover) ---------- */
/* booking tiles: quiet smoked glass, a cobalt edge on hover, and the picked ones become the same liquid-glass cobalt as the buttons */
html[data-theme="dark"] .opt span{background:rgba(255,255,255,.035);border-color:rgba(150,175,255,.14);color:var(--ink)}
html[data-theme="dark"] .opt:hover span{background:rgba(91,123,255,.08);border-color:rgba(91,123,255,.5);color:#fff}
html[data-theme="dark"] .opt input:checked+span{background:linear-gradient(180deg,#2A50DE,#2042C9);border-color:transparent;color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),inset 0 1.5px 0 rgba(255,255,255,.6),inset 0 -1.5px 0 rgba(160,190,255,.5),inset 0 -10px 16px -8px rgba(140,175,255,.5),0 12px 26px -14px rgba(36,75,215,.9)}
html[data-theme="dark"] .opt input:focus-visible+span{outline-color:#7591FF}
/* level quiz answers */
html[data-theme="dark"] .lq-a:hover{border-color:rgba(91,123,255,.5);color:#fff}
html[data-theme="dark"] .lq-a.picked{background:linear-gradient(180deg,#2A50DE,#2042C9);border-color:transparent;color:#fff}
/* phone step chips */
html[data-theme="dark"] .book-chip:hover{color:#fff}
html[data-theme="dark"] .book-chip.is-done{color:#9DB2FF;border-color:rgba(91,123,255,.4)}
html[data-theme="dark"] .book-chip.is-now{background:#2448D5;border-color:#2448D5;color:#fff}
/* the step bar */
html[data-theme="dark"] .book-stepper li::before{background:rgba(150,175,255,.14)}
html[data-theme="dark"] .book-stepper li.is-done::before{background:#4A6CF5}
html[data-theme="dark"] .book-stepper li.is-done .bs-dot{background:rgba(91,123,255,.18);border-color:#4A6CF5;color:#C9D5FF}
html[data-theme="dark"] .book-stepper li.is-now .bs-dot{background:#2448D5;border-color:#5B7BFF;color:#fff;box-shadow:0 0 0 6px rgba(91,123,255,.18)}
/* back / skip: same smoked glass as the other quiet buttons */
html[data-theme="dark"] .book-nav .btn-ghost{background:rgba(255,255,255,.04);border-color:rgba(150,175,255,.18)}
/* the QR stays white so phones can read it; its caption needs dark text on that white */
html[data-theme="dark"] .review-qr figcaption{color:#536078}
/* curved tips gallery: the middle card glows softly instead of a white rim */
html[data-theme="dark"] .tips-arc .post.is-front .post-face{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 30px 60px -26px rgba(36,75,215,.6)}
html[data-theme="dark"] .tips-arc-dots i{background:rgba(150,175,255,.22)}
html[data-theme="dark"] .tips-arc-dots i.on{background:#5B7BFF}
