/* Dark inner pages (trial): About, Founder, FAQ, Ambassadors and Privacy on
   the dashboard's near-black purple (#0a060b) instead of white. Loaded after
   each page's own stylesheet and switched on by class="dk" on <html>; remove
   that class (or this file) and the pages are white again.
   The flip: page dark, text off-white, the blue lifted so it reads on dark;
   black boxes turn white with black text; white cards become raised dark cards. */

html.dk:has(.page-about){background:#0a060b}
html.dk .page-about{--paper:#0a060b;--paper-2:#151017;--ink:#f4f4f2;--blue:#4d72e8;--ash-d:#9d95a2;--line-d:rgba(244,244,242,.13);
  --signal:#4d72e8;--signal-ink:#4d72e8;--signal-rgb:77,114,232;--on-signal:#ffffff;--card:#151017;--card-hover:#1d1720;--body:#c4bdc8;
  background:var(--paper);color:var(--ink)}

/* header on dark */
html.dk .page-about .nav{background:rgba(10,6,11,.86)}
html.dk .page-about .pill-line{border-color:rgba(244,244,242,.22)}
html.dk .page-about .pill-line:hover{color:#121317}
html.dk .page-about .nav-burger{border-color:rgba(244,244,242,.22)}
html.dk .page-about .foot{background:#0a060b;border-top-color:rgba(244,244,242,.1)}

/* body copy: the dark grey on white becomes a soft light grey */
html.dk :is(.ab-lede,.ab-tool-b p,.ab-p p,.ab-j-note,.fd-lede,.fd-story-body p,.fq-lede,.fq-q p,.qd-body,.qd-a p,.qd-login p,
  .pp-text,.pp-list li,.pp-sum p:last-child,.am-lede,.am-st-next p,.am-r p,.am-ben span,.am-tl-i p){color:var(--body)}
html.dk .page-faq .faq-item2 .faq-a p{color:var(--body)}

/* black boxes → white, with black text */
html.dk :is(.ab-ink,.fd-cta-box){background:#ffffff;color:#121317}
html.dk .fd-cta-box .mono{color:rgba(18,19,23,.6)}
html.dk .fd-cta-box h2,html.dk .fd-cta-box h2 *{color:#121317}
html.dk .fd-cta-box h2 em{color:#1f4cca}
html.dk .pp-btn{background:#ffffff;color:#121317}
html.dk .pp-btn:hover{background:#e9e6ec}

/* white cards and chips → raised dark cards */
html.dk :is(.ab-tag,.ab-tool-b li,.fq-q,.qd-a,.qd-reply,.am-r,.fq-box){background:var(--card)}
html.dk .ab-p:hover{background:var(--card-hover)}
html.dk :is(.ab-j i,.am-tl-dot){background:#0a060b}
html.dk .am-tl-dot{box-shadow:0 0 0 5px var(--paper-2)}
html.dk :is(.fq-search:focus-within,.fq-in:focus){background:var(--card-hover)}
html.dk .fq-in{color:var(--ink)}
html.dk .fq-tab.on{background:var(--card-hover);color:var(--ink)}
html.dk .fq-submit:hover{background:#3a5fd6}
html.dk .pp-not{background:#1a1219}
html.dk .pp-toc a{color:#a9a1ae}
html.dk .pp-toc a .mono{color:#6f6874}

/* the FAQ accordion: light rules and a light "+" */
html.dk .page-about .faq-item2{border-bottom-color:var(--line-d)}
html.dk .page-about .faq-item2 summary::after{border-color:rgba(244,244,242,.25);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%23f4f4f2' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E")}
html.dk .page-about .faq-item2[open] summary::after{border-color:var(--signal)}

/* the cookie card stays white, so it keeps the dark text and the logo blue */
html.dk #be-cc{--ink:#121317;--blue:#1f4cca;--signal:#1f4cca;--signal-ink:#1f4cca}
/* the founder photo's name badge is a white pill: dark text */
html.dk .fd-photo figcaption{color:#121317}
