/* Maestro demo 2 · Mobile App · dark.css (v04, 16 Nov 2026): the dark look of the live site 1114 and the demo chooser.
   Loaded last. Tokens first (most of the recolour), then the few places the light build hard-coded white or used ink as a fill.
   The store (preview card and the in-phone browser view) keeps its own warm brand colours: it is Claire's site.
   Contrast (on the #141412 screen): ink #F5F3EE 17:1 · body #CFCDC6 12:1 · muted #A3A19A 7:1 · faint #8F8D85 5.4:1 · amber text #E9A648 8:1. */

/* ═════ tokens ═════ */
.mm-stage{
  --md-white:#141412; --md-surface:#0E0E0D; --md-surface-2:#262623;
  --md-ink:#F5F3EE; --md-body:#CFCDC6; --md-muted:#A3A19A; --md-faint:#8F8D85;
  --md-line:#2A2A27; --md-line-2:#3A3A35;
  --md-amber:#E9A648; --md-amber-mark:#F59E0B; --md-amber-wash:#251B0B; --md-amber-line:#5C4318;
  --md-green:#4ADE80; --md-green-wash:#0E2417; --md-green-line:#1E5134;
  --md-red:#F87171; --md-red-wash:#2A1412; --md-red-line:#5E2722;
  --md-serif:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --md-sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --md-mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --ml-card:#181816;          /* cards lifted off the screen */
  --ml-on-light:#0E0E0C;      /* text on ink, amber and green fills */
  color-scheme:dark;
}

/* ═════ page around the phone ═════ */
html,body.ml-body{background:#0A0A09}
.mm-stage,.mm-page{background:#0A0A09}
.mm-page{background:radial-gradient(ellipse 34% 52% at 50% 54%,rgba(245,158,11,.09),rgba(245,158,11,.02) 60%,transparent 80%),#0A0A09}
.mm-brand b{font-weight:500;font-size:21px;letter-spacing:-.02em}

/* ═════ the phone ═════ */
.mm-phone{background:#0A0A09;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 40px 80px -20px rgba(0,0,0,.8)}
.mm-phone::before,.mm-phone::after{background:#2A2A27}
.mm-phone::before{box-shadow:0 70px 0 #2A2A27}
.mm-island{background:#000}
.mm-screen{background:var(--md-white)}

/* Geist light where the build used the serif */
.mm-appbar__logo b,.mm-h1,.mm-h2,.mm-sheet__head h3,.mm-lock__time{font-weight:300;letter-spacing:-.03em}
.mm-lock__time{letter-spacing:-.045em}

/* cards a step above the screen */
.mm-card,.ml-sopt,.ml-tiles div{background:var(--ml-card)}
.mm-sheet{background:#1A1A18;box-shadow:0 -20px 50px -20px rgba(0,0,0,.7);border-top:1px solid rgba(255,255,255,.08)}
.mm-veil{background:rgba(0,0,0,.55)}
.mm-detail::after{background:linear-gradient(rgba(20,20,18,0),var(--md-white) 78%)}

/* fills that were ink (now light): dark text on them */
.mm-stage .mm-btn--ink,.mm-stage .mm-round--ink,.mm-stage .ml-vbtn--end{color:var(--ml-on-light)}
.mm-stage .mm-round--live{color:var(--ml-on-light)}
.ml-opt.is-on .ml-opt__r svg{color:var(--ml-on-light)}
.ml-sphone{color:var(--ml-on-light)}
.mm-mark--complete::before{background:var(--md-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.4 2.4 4.8-5.2' fill='none' stroke='%230E0E0C' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px}
.ml-mix__bars i:nth-child(4){background:#ECE9DF}

/* the person's bubble: cream, as on the live site (.bub--me) */
.mm-msg--person{background:#ECE9DF;color:var(--ml-on-light)}
.mm-msg--person .ml-micmark{background:#D9D5C8;border-color:#C4C0B3;color:#4A4A44}

/* inputs: a quiet edge instead of a bright one; the phone field and the code box keep the bright focus edge */
.mm-prompt,.ml-sprompt{border-color:#55544D;box-shadow:none}
.mm-composer{background:#1A1A18}

/* tabs: a lighter thumb on the dark track */
.ml-thumb{background:#3A3A35;box-shadow:none}
.mm-tab.is-on{background:#3A3A35}

/* options, chips and pills */
.mm-tpl.is-hot,.mm-suggest.is-hot,.ml-opt.is-on{background:#1F1F1C}
.mm-kbsug.is-hot{background:#4A4A44}

/* keyboards: iOS dark */
.mm-kb,.mm-pad,.mm-kbsug{background:#1C1C1A}
.mm-kbsug{border-bottom-color:#2A2A27}
.mm-key,.mm-pad div{background:#4A4A45;color:var(--md-ink);box-shadow:0 1px 0 rgba(0,0,0,.6)}
.mm-key--fn,.mm-key--wide{background:#2E2E2B}
.mm-pad div.is-blank{background:none;box-shadow:none}

/* lock screen: neutral night with an amber glow; notifications as dark glass */
.ml-lock{background:radial-gradient(120% 70% at 50% 0%,#2E2516 0%,#151412 46%,#0A0A09 100%)}
.mm-note{background:rgba(38,38,35,.86);border:1px solid rgba(255,255,255,.08);color:var(--md-body);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.mm-note--old{background:rgba(32,32,30,.78)}
.mm-note__acts .mm-btn{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
.mm-stage .mm-note__acts .mm-btn--ink{background:var(--md-ink);border-color:var(--md-ink)}
.mm-liveact{background:rgba(38,38,35,.9);border-color:rgba(255,255,255,.1)}

/* voice mode */
.ml-voice.is-maestro .ml-viconwrap{box-shadow:0 0 0 10px rgba(255,255,255,.05)}
.ml-voice.is-person .ml-viconwrap{box-shadow:0 0 0 10px rgba(245,158,11,.16)}
.ml-vbtn{background:#1F1F1C}

/* callouts beside the phone: dark card, amber edge, hairline */
.ml-co{background:#1A1A18;border:1px solid #34342F;border-left:5px solid var(--md-amber-mark);box-shadow:0 22px 44px -14px rgba(0,0,0,.8),0 0 0 4px rgba(245,158,11,.14)}
.ml-co__ptr{background:#1A1A18;border-top:1px solid #34342F;border-right:1px solid #34342F}
.ml-coline{border-top-color:#CFCDC6}
.ml-coline i{background:#F5F3EE}
.mm-stage .is-callout{box-shadow:0 0 0 10px rgba(255,255,255,.07)}
.ml-hint{background:#251B0B;border-color:#7A5718;color:var(--md-ink)}

/* the demo bar: the site's near-black with a hairline */
.md-demobar{background:#0E0E0D;border-top:1px solid #242421;font-family:var(--md-sans)}
.md-scene{background:#1C1C1A}
.md-scene i{background:#2E2E2B}
.md-demobar__play{background:var(--md-ink);color:var(--ml-on-light)}
.mm-stage .md-speeds button.is-on,.mm-stage .ml-sound.is-on{background:var(--md-ink);color:var(--ml-on-light)}
.md-speeds,.ml-sound{background:#1C1C1A}
.md-speeds button,.ml-sound{color:#A3A19A}

/* ═════ the store keeps its own look: warm colours and a serif ═════ */
.ml-shop{--md-serif:Georgia,"Times New Roman",serif}
.ml-shop__nav b,.ml-shop__hero{font-weight:400}
.ml-frame{border-color:#3A3A35}
