/* Shared brand layer (2026-11-26): self-hosted fonts and the homepage look for learning, blog and
   comparison pages, including a dark theme. Loaded after style.css / page CSS. */
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/schibsted-grotesk-latin-700-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:'Schibsted Grotesk';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/schibsted-grotesk-latin-800-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:'Schibsted Grotesk';font-style:normal;font-weight:700 800;font-display:swap;src:url(/fonts/schibsted-grotesk-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/public-sans-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:'Public Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/public-sans-latin-600-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:'Public Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/public-sans-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+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}

.lesson-body,.gde-brand{font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.lesson-body h1,.lesson-body h2,.lesson-body h3,.lesson-brand,.gde-brand h1,.gde-brand h2,.gde-brand h3,.gde-brand .logo{font-family:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:-.01em}
.lesson-body h1,.gde-brand h1{font-weight:800}
.lesson-body mark,.gde-brand mark{background:linear-gradient(transparent 55%,#ffe14d 55%);color:inherit}

/* Learning pages: sticky header like the homepage, logo in petrol */
.lesson-header{position:sticky;top:0;z-index:20;max-width:none;padding:1rem max(5vw,16px);background:color-mix(in srgb,var(--white) 92%,transparent);backdrop-filter:blur(8px)}
.lesson-brand{color:var(--blue);font-weight:800;letter-spacing:-.02em}.lesson-brand span{color:var(--gray-800)}
.lesson-header nav a{color:var(--gray-600);font-weight:500}.lesson-header nav a:hover{color:var(--gray-800)}
.lesson-hero h1{letter-spacing:-.02em}
.lesson-footer{max-width:none;background:#0b4a41;color:#cfe3dc;border-top:0;padding:2rem max(5vw,16px) 5rem}
.lesson-footer a{color:#ffe14d}

/* Blog and comparison pages: brand colours */
.gde-brand .logo-mark{background:#146C60}
.gde-brand footer{background:#0b4a41}

/* Dark theme */
@media (prefers-color-scheme:dark){
 .lesson-body{color-scheme:dark;--white:#132a25;--gray-50:#0d1f1b;--gray-100:#16302a;--gray-200:#24423b;--gray-400:#7f958c;--gray-600:#a6bab2;--gray-800:#e7f0ec;--gray-900:#f1f6f3;--blue:#3fb19c;--blue-light:#173a33;--yellow-light:#2e2a12;--green:#5fd39a;--red:#ff8a7d;background:#0d1f1b;color:#e7f0ec}
 .lesson-body .btn--primary{color:#06231e}
 .lesson-body .btn--ghost{color:#e7f0ec}
 .lesson-body .lesson-table caption{color:#e7f0ec}
 .gde-brand{color-scheme:dark;--gray-50:#0d1f1b;--gray-100:#16302a;--gray-200:#24423b;--gray-600:#a6bab2;--gray-700:#c4d4cd;--gray-900:#e7f0ec;--border:#24423b;--primary:#3fb19c;--primary-dark:#7fd3c2;
  --bg:#0d1f1b;--card:#132a25;--text:#e7f0ec;--muted:#a6bab2;--brand:#3fb19c;background:#0d1f1b;color:#e7f0ec}
 .gde-brand header,.gde-brand table,.gde-brand .tldr,.gde-brand .faq-item,.gde-brand details{background:#132a25!important;color:#e7f0ec}
 .gde-brand .tip{background:#173a33}
 .gde-brand .logo,.gde-brand h1,.gde-brand h2,.gde-brand h3{color:#e7f0ec}
 .gde-brand .cta-box{background:#146C60}
 .lesson-body .gde-consent,.gde-brand .gde-consent{background:#132a25;border-color:#24423b;color:#e7f0ec}
 .lesson-body .gde-consent strong,.gde-brand .gde-consent strong{color:#e7f0ec}
 .gde-consent .btn--ghost{background:#24423b;color:#e7f0ec;border-color:#24423b}
 .gde-consent .btn--primary{background:#3fb19c;color:#06231e;border-color:#3fb19c}
}

/* Exercise, test and result pages: brand fonts (light theme only) */
.gde-app{font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.gde-app h1,.gde-app h2,.gde-app h3,.gde-app .navbar__logo{font-family:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
