@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400..700&display=swap');
/* Hedvig Letters Serif, self-hosted (SIL OFL) */
@font-face{font-family:'Hedvig Letters Serif';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/hedvig-letters-serif-latin-400-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Hedvig Letters Serif';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/hedvig-letters-serif-latin-ext-400-normal.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ==========================================================
   FreshSite "Today" skin (Nov 2026): white background, navy boxes,
   Hedvig Letters Serif headlines, DM Sans body.
   Loads after theme.css. theme.css is built on CSS variables, so this
   file mostly swaps the variables to light values. Components listed
   under NAVY BOXES get the original dark variables back, so they stay
   brand navy on the white page.
   ========================================================== */

.theme-dark{
  --bg:#FFFFFF;
  --surface:#F5F8FA;
  --raise:#EBF1F4;
  --rule:#DFE7EC;
  --text:#0E1A23;
  --soft:#556B7A;
  --teal:#0A8DA6;          /* deeper teal: readable as text/links on white */
  --teal-ink:#FFFFFF;
  --teal-bright:#0CC0DF;   /* original brand teal, for navy boxes and dots */
  --navy:#263C4C;
  --navy-deep:#0E1A23;
  --f-head:'Hedvig Letters Serif',Georgia,'Times New Roman',serif;
  --f-disp:'Hedvig Letters Serif',Georgia,serif;
  --f-body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* ---------- NAVY BOXES: restore the dark palette inside these ---------- */
.theme-dark .h-log,
.theme-dark .h-table .fs,
.theme-dark .h-addons li.h-addon-help,
.theme-dark .form-panel,
.theme-dark .ai-price-card,
.theme-dark .ai-channels,
.theme-dark .h-close,
.theme-dark .story-stat-n,
.theme-dark .hero-stat,
.theme-dark .article .takeaways,
.theme-dark .pricing-embed .tc.feat,
.theme-dark .site-footer,
.theme-dark .navy-box{
  --bg:#0E1A23;
  --surface:#132531;
  --raise:#1A3141;
  --rule:#2A4556;
  --text:#EAF1F4;
  --soft:#A3B7C2;
  --teal:#0CC0DF;
  --teal-ink:#04232B;
  color:var(--text);
}
.theme-dark .h-log{background:var(--navy-deep);border-color:var(--navy-deep);box-shadow:0 30px 70px -34px rgba(14,26,35,.55)}
.theme-dark .h-log-total strong{color:#fff}
.theme-dark .h-table .fs{background:var(--navy)}
.theme-dark .h-table thead .fs{color:var(--teal)}
.theme-dark .h-table tbody tr:not(:last-child) .fs{border-bottom-color:#36525F}
.theme-dark .h-addons li.h-addon-help{background:var(--navy)}
.theme-dark .h-addons li.h-addon-help h3{color:#fff}
.theme-dark .form-panel{background:var(--navy-deep);border-color:var(--navy-deep)}
.theme-dark .form-panel h2{color:#fff}
.theme-dark .form-panel .f-field input,
.theme-dark .form-panel .f-field select,
.theme-dark .form-panel .f-field textarea{background:#0A141B;border-color:#2A4556;color:#EAF1F4}
.theme-dark .ai-price-card{background:var(--navy-deep);border-color:var(--navy-deep);box-shadow:0 30px 70px -34px rgba(14,26,35,.5)}
.theme-dark .ai-channels{background:var(--navy)}
.theme-dark .ai-channels ul li{background:var(--bg);color:var(--text)}
.theme-dark .story-stat-n{background:var(--navy-deep);border-color:var(--navy-deep)}
.theme-dark .hero-stat{background:var(--navy-deep);border:none;border-radius:18px;padding:40px 44px}
.theme-dark .hero-stat-h{color:#fff}
.theme-dark .article .takeaways{background:var(--navy-deep);border-color:var(--navy-deep);border-left-color:var(--teal)}
.theme-dark .article .takeaways li,.theme-dark .article .takeaways li strong{color:#EAF1F4}

/* Closing CTA: full navy band */
.theme-dark .h-close{background:var(--navy-deep);border-top:none}
.theme-dark .h-close h2{color:#fff}
.theme-dark .h-close .btn-primary{background:var(--teal);border-color:var(--teal);color:var(--teal-ink)}
.theme-dark .h-close .btn-primary:hover{background:#3FD0E9;border-color:#3FD0E9}
.theme-dark .h-close .btn-outline{color:#fff;border-color:#36525F}
.theme-dark .h-close .btn-outline:hover{background:#1A3141;color:#fff}
.theme-dark .h-close a:not(.btn){color:var(--teal)}

/* Footer: navy, continuous with the closing CTA */
.theme-dark .site-footer{background:#0A141B;color:var(--text)}
.theme-dark .site-footer .footer-col h6{color:var(--soft)}
.theme-dark .site-footer a,.theme-dark .site-footer p{color:var(--text)}
.theme-dark .site-footer a:hover{color:var(--teal)}

/* ---------- Buttons on white: navy primary ---------- */
.theme-dark .btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
.theme-dark .btn-primary:hover{background:var(--navy-deep);border-color:var(--navy-deep);color:#fff}
.theme-dark .btn-outline{color:var(--navy);border-color:#C5D3DB}
.theme-dark .btn-outline:hover{background:var(--surface);color:var(--navy);border-color:var(--navy)}
.theme-dark .h-addon-cta{color:var(--navy)}
.theme-dark .h-addons li.h-addon-help .h-addon-cta{background:var(--teal);border-color:var(--teal);color:var(--teal-ink)}

/* ---------- Header ---------- */
.theme-dark .site-header{background:rgba(255,255,255,.9)}
.theme-dark .mobile-panel{background:#fff}
.theme-dark .nav-dropdown-menu-inner{background:#fff;box-shadow:0 22px 50px -20px rgba(14,26,35,.25)}
.theme-dark .nav-dropdown-menu-inner a:hover{background:var(--surface)}

/* ---------- Typography ---------- */
.theme-dark,.theme-dark input,.theme-dark select,.theme-dark textarea,.theme-dark button{font-family:var(--f-body)}
.theme-dark main h1,.theme-dark main h2,
.theme-dark .stat-n,.theme-dark .side-stat .n,.theme-dark .post-card h3,.theme-dark .hero-stat-h,
.theme-dark .fineprint .fp-h,.theme-dark .h-log-total strong,.theme-dark .ai-price-amt,
.theme-dark .pricing-embed .stit,.theme-dark .pricing-embed .tname,.theme-dark .pricing-embed .tmo,.theme-dark .pricing-embed .inner-mo,
.theme-dark .article p.lede,.theme-dark .article .post-quote p,.theme-dark .h-founder blockquote p,
.theme-dark .article > h2,.theme-dark .article > h3,.theme-dark .post-faq h2,.theme-dark .post-sources h2,.theme-dark .post-end h2{
  font-family:var(--f-head);font-weight:400;font-stretch:normal;letter-spacing:-0.02em;
}
/* Hedvig is a narrower serif than Archivo Expanded: give headlines back their size */
.theme-dark .h-hero h1{font-size:clamp(36px,4.3vw,60px);line-height:1.05;letter-spacing:-0.025em}
.theme-dark .p-hero h1{font-size:clamp(38px,4.8vw,66px);line-height:1.04}
.theme-dark .post-head h1{font-size:clamp(34px,4.4vw,56px)}
.theme-dark .h-head h2,.theme-dark .fineprint .fp-h,.theme-dark .pricing-embed .stit{font-size:clamp(30px,3.5vw,46px);line-height:1.08}
.theme-dark .split h2,.theme-dark .story-stat h2{font-size:clamp(28px,3.1vw,42px)}
.theme-dark .h-close h2{font-size:clamp(34px,4.6vw,62px);line-height:1.04}
.theme-dark .stat-n,.theme-dark .hero-stat .stat-n{letter-spacing:-0.03em}
.theme-dark .pricing-embed .tmo{font-size:52px}
.theme-dark .h-founder blockquote p{font-size:clamp(23px,2.5vw,31px);line-height:1.34}
.theme-dark main h3,.theme-dark .h-facts strong,.theme-dark .h-faq summary,.theme-dark .btn{font-family:var(--f-body)}

/* ---------- Surfaces and details on white ---------- */
.theme-dark .h-hero::before,.theme-dark .p-hero::before{
  background-image:
    linear-gradient(rgba(38,60,76,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(38,60,76,.07) 1px,transparent 1px);
}
.theme-dark .h-tagline .dot{background:var(--teal-bright);box-shadow:0 0 0 4px rgba(12,192,223,.2)}
.theme-dark .h-table thead th{color:var(--soft)}
.theme-dark .inc-band{background:var(--surface)}
.theme-dark .mock img,.theme-dark .ex-fig img{box-shadow:0 30px 70px -30px rgba(14,26,35,.4)}
.theme-dark .split img{border-color:var(--rule)}
.theme-dark .blog-filter button{background:#fff}
.theme-dark .blog-filter button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.theme-dark .post-avatar{background:var(--navy);color:#fff;border-color:var(--navy)}
.theme-dark .f-field input,.theme-dark .f-field select,.theme-dark .f-field textarea{background:#fff;color:var(--text)}

/* ---------- Pricing component on white ---------- */
.theme-dark .pricing-embed{
  --surface:#FFFFFF;--surface-2:#F5F8FA;--border:#DFE7EC;--border-2:#C5D3DB;
  --text:#0E1A23;--muted:#556B7A;--dim:#7A8F9C;--white:#0E1A23;
  --teal:#0A8DA6;--teal-dim:rgba(10,141,166,.08);--teal-glow:rgba(10,141,166,.25);
  --f-disp:'Hedvig Letters Serif',Georgia,serif;--f-body:'DM Sans',system-ui,sans-serif;
  color:var(--text);
}
.theme-dark .pricing-embed .tc{box-shadow:0 1px 0 rgba(14,26,35,.02)}
.theme-dark .pricing-embed .tc.feat{
  --surface:#0E1A23;--surface-2:#132531;--border:#2A4556;--border-2:#36525F;
  --text:#EAF1F4;--muted:#A3B7C2;--dim:#8AA2AF;--white:#FFFFFF;--teal:#0CC0DF;
  background:var(--navy-deep);border:1px solid var(--navy-deep);box-shadow:0 0 0 1px var(--navy-deep);color:var(--text);
}
.theme-dark .pricing-embed .tc.feat .tcta.pri{background:#0CC0DF;color:#04232B}
.theme-dark .pricing-embed .tcta.pri,.theme-dark .pricing-embed .ac-cta{background:var(--navy);color:#fff}
.theme-dark .pricing-embed .tcta.out{color:var(--navy);border-color:var(--border-2)}
.theme-dark .pricing-embed .fbadge{background:#0CC0DF;color:#04232B}
.theme-dark .pricing-embed .sab{background:var(--surface-2);border-color:var(--border)}
.theme-dark .pricing-embed .ac.open{border-color:var(--teal-glow)}

/* Primary buttons inside navy boxes switch to brand teal */
.theme-dark .ai-price-card .btn-primary,
.theme-dark .form-panel .btn-primary,
.theme-dark .navy-box .btn-primary{background:#0CC0DF;border-color:#0CC0DF;color:#04232B}
.theme-dark .ai-price-card .btn-primary:hover,
.theme-dark .form-panel .btn-primary:hover,
.theme-dark .navy-box .btn-primary:hover{background:#3FD0E9;border-color:#3FD0E9;color:#04232B}

/* Hero lead split into paragraphs: tighter gap between them */
.theme-dark .h-lead:has(+ .h-lead){margin-bottom:14px}
