/* ============================================================
   BE THE HERO â€” styles.css v1
   Designsystem: mÃ¶rkt tema, Poppins, lila/blÃ¥ gradient
   ============================================================ */

:root {
  --p1: #A259EC;
  --p2: #5B6DFA;
  --grad: linear-gradient(135deg, var(--p1), var(--p2));
  --bg: #0b0f17;
  --bg-2: #111827;
  --ink: #f0f2f8;
  --ink-2: #9aa3b8;
  --ink-3: #6b7280;
  --border: rgba(255,255,255,0.08);
  --trust: linear-gradient(135deg, #1d9e75, #6ee7b7);
  --orange: #f7a756;
  --blue: #5b6dfa;
  --pink: #ec5897;
  --red: #e85b5b;
  --green: #1d9e75;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* â”€â”€ CONTAINER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* â”€â”€ BACKGROUND BLOBS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bg-blobs {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%;
  opacity: 0.18;
  /* radial-gradient i stället för filter: blur(120px) — samma utseende,
     men WebKit på iPhone kraschar lätt på stora blur-filter */
}
.blob-1 { width: 600px; height: 600px; background: radial-gradient(circle closest-side, var(--p1), transparent); top: -200px; right: -100px; }
.blob-2 { width: 500px; height: 500px; background: radial-gradient(circle closest-side, var(--p2), transparent); bottom: 10%; left: -150px; }
.blob-3 { width: 400px; height: 400px; background: radial-gradient(circle closest-side, var(--p1), transparent); top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* Pausa marquees när användaren bett om minskad rörelse */
@media (prefers-reduced-motion: reduce) {
  .marquee-inner, .schools-track { animation: none !important; }
}

body > * { position: relative; z-index: 1; }

/* â”€â”€ HEADER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,15,23,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0 0;
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; height: 68px;
}
.site-logo img { height: 52px; width: auto; }
.site-nav {
  display: flex; align-items: center; gap: 8px;
}
.site-nav a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.site-header-cta { display: flex; align-items: center; gap: 24px; }
.site-login { font-size: 14px; color: var(--ink-2); transition: color .15s; }
.nav-login-mobile { display: none; } /* visas bara i öppen mobilmeny */
.site-login:hover { color: var(--ink); }
.mobile-nav-toggle {
  display: none; background: none; border: none;
  color: var(--ink); cursor: pointer; padding: 6px;
}

/* â”€â”€ BUTTONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 20px rgba(91,109,250,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(91,109,250,0.45); }
.btn-secondary {
  background: rgba(255,255,255,0.06); color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

/* â”€â”€ GRADIENT TEXT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* â”€â”€ SECTION EYEBROW â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--ink-3);
  margin-bottom: 12px;
}

/* â”€â”€ FADE-UP ANIMATION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .7s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* â”€â”€ HOME HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.home-hero {
  padding: 90px 0 80px;
  min-height: 90vh; display: flex; align-items: center;
}
.home-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.arvsfonden-badge img { height: 48px; width: auto; margin-top: -50px; margin-bottom: 16px; opacity: 0.9; }

/* Cinematic H1 */
.cinematic-h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cinematic-line-1 { display: block; }
.cinematic-line-2 { display: block; }
.cinematic-reveal {
  display: inline-block;
  animation: clipReveal .9s cubic-bezier(.16,1,.3,1) .2s both;
}
@keyframes clipReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0% 0 0); }
}
.cinematic-dot { color: var(--p1); }

.hero-divider {
  width: 60px; height: 3px;
  background: var(--grad);
  border-radius: 99px; margin: 20px 0;
}
.home-hero-lede {
  font-size: 17px; color: var(--ink-2); line-height: 1.7; margin-bottom: 32px;
}
.home-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.home-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.home-hero-stat-number {
  display: block; font-size: 32px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.home-hero-stat-label { font-size: 13px; color: var(--ink-3); }

/* Hero image */
.home-hero-image-wrap { display: flex; justify-content: center; }
.home-hero-image {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(91,109,250,0.25);
}
.clip-reveal { animation: clipRevealImg .9s cubic-bezier(.16,1,.3,1) .1s both; }
@keyframes clipRevealImg {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}
.hero-image-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(162,89,236,0.3), transparent 70%);
  pointer-events: none; z-index: 1;
}

/* â”€â”€ SUPERPOWERS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.home-bethehero { padding: 90px 0; }
.home-solution-intro { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.home-solution-intro h2 {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; margin-bottom: 12px;
}
.solution-lede { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.home-solution-intro p { color: var(--ink-2); font-size: 16px; }

.superpowers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.glow-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 20px; padding: 14px 14px 20px; text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  cursor: default;
}
.glow-card:hover { transform: translateY(-4px); }
.glow-card[data-glow-color="orange"]:hover { border-color: rgba(247,167,86,0.4); box-shadow: 0 0 40px rgba(247,167,86,0.15); }
.glow-card[data-glow-color="blue"]:hover { border-color: rgba(91,109,250,0.4); box-shadow: 0 0 40px rgba(91,109,250,0.15); }
.glow-card[data-glow-color="red"]:hover { border-color: rgba(232,91,91,0.4); box-shadow: 0 0 40px rgba(232,91,91,0.15); }
.glow-card[data-glow-color="green"]:hover { border-color: rgba(29,158,117,0.4); box-shadow: 0 0 40px rgba(29,158,117,0.15); }
.glow-inner img { width: 100%; height: auto; display: block; border-radius: 10px; margin: 0 0 14px; }
.glow-inner h4 { font-size: 16px; font-weight: 700; }

/* â”€â”€ MARQUEE (partner logos) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.home-partner-track {
  overflow: hidden; padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-inner {
  display: flex; gap: 60px; align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-inner img { height: 44px; width: auto; opacity: 0.95; }
.partner-logo img, .partner-logo-item img { height: 44px; width: auto; opacity: 0.95; object-fit: contain; }

/* Varje logo i marqueen får en frostad pill-bakgrund — syns oavsett om logon är neg eller färgad */
.partner-logo-item {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 18px;
  min-width: 100px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* â”€â”€ PARTNERS SECTION (index + partners-sidan) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.partners-section { padding: 40px 0; border-top: 1px solid var(--border); }
.partners-label {
  text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 24px;
}
.partners-marquee { overflow: hidden; }
.partners-track {
  display: flex; gap: 60px; align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.partner-logo { display: flex; align-items: center; }
.partner-text-item {
  font-size: 14px; font-weight: 600; color: var(--ink-3);
  white-space: nowrap; opacity: 0.6;
}

/* â”€â”€ SCHOOLS MARQUEE (index + resultat-sidan) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.proof-schools-marquee { overflow: hidden; }
.schools-marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.schools-track {
  display: flex; width: max-content;
  animation: scrollSchools 45s linear infinite;
}
.schools-track:hover { animation-play-state: paused; }
@keyframes scrollSchools {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.school-item {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; padding: 10px 28px;
  border-right: 1px solid var(--border);
}
.school-city { color: var(--ink-3); }
.proof-schools-marquee-note {
  text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 14px;
}

/* â”€â”€ SECTIONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
section { padding: 90px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; margin-bottom: 12px;
}
.section-head p { color: var(--ink-2); font-size: 16px; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; transition: border-color .2s;
}
.card:hover { border-color: rgba(91,109,250,0.3); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* Stat circles */
.stat-circle { text-align: center; }
.stat-num {
  font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 14px; color: var(--ink-3); margin-top: 8px; }

/* Two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; margin-bottom: 16px; }
.two-col p { color: var(--ink-2); margin-bottom: 14px; }

/* Trust badge */
.trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(29,158,117,0.1); border: 1px solid rgba(29,158,117,0.3);
  font-size: 13px; font-weight: 600; color: #6ee7b7;
  margin-bottom: 24px;
}

/* Number steps */
.number-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  -webkit-text-fill-color: #fff;
  flex-shrink: 0; margin-bottom: 16px;
}

/* â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  color: var(--ink-3); font-size: 14px;
}
.footer-inner,
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-3); font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-arvsfonden { height: auto !important; max-width: 160px; margin-top: 20px; margin-bottom: 20px; display: block; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--ink-3); transition: color .15s, background .15s, border-color .15s;
}
.footer-social a:hover { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.footer-social svg { width: 17px; height: 17px; }
footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: var(--ink-3); transition: color .15s; }
footer ul a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}

/* — HOME PROOF (stats + marquee + shuffle) — */
.home-proof { padding: 90px 0; }

.results-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin: 48px 0 40px;
}
.result-stat {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 32px; text-align: center;
}
.result-stat-number {
  font-size: clamp(52px, 7vw, 80px); font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 16px; letter-spacing: -.02em;
}
.result-stat-percent { font-size: 0.65em; }
.result-stat-text { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.result-stat-text strong { color: var(--ink); }
@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; gap: 16px; }
  .result-stat { padding: 28px 24px; }
}

/* â”€â”€ SHUFFLE TESTIMONIALS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.shuffle-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; margin-top: 60px;
}

.shuffle-text h3 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  margin-bottom: 12px; line-height: 1.25;
}

.shuffle-text p {
  color: var(--ink-2); font-size: 16px; margin-bottom: 24px;
}

.shuffle-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--p1);
  text-decoration: none; transition: opacity .15s;
}
.shuffle-cta:hover { opacity: .75; }

/* Stacked cards */
.shuffle-stack {
  position: relative; height: 260px;
}

.shuffle-card {
  position: absolute; inset: 0;
  background: #161c2c; border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer; user-select: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .35s ease, box-shadow .35s ease;
  will-change: transform;
}

.shuffle-card[data-position="front"] {
  transform: translateY(0) rotate(0deg); opacity: 1; z-index: 3;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.shuffle-card[data-position="middle"] {
  transform: translateY(10px) rotate(2deg); opacity: .7; z-index: 2;
}
.shuffle-card[data-position="back"] {
  transform: translateY(20px) rotate(-2deg); opacity: .4; z-index: 1;
}
.shuffle-card[data-position="hidden"] {
  transform: translateY(-60px) scale(0.9); opacity: 0; z-index: 0; pointer-events: none;
}

.shuffle-card[data-position="front"]:hover {
  box-shadow: 0 20px 60px rgba(91,109,250,0.25);
  transform: translateY(-3px) rotate(0deg);
}

.shuffle-stars {
  font-size: 18px; color: #f7a756; letter-spacing: 2px; margin-bottom: 12px;
}

.shuffle-quote {
  font-size: 16px; font-style: italic; color: var(--ink);
  line-height: 1.65; flex: 1;
}

.shuffle-author {
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  margin-top: 16px;
}

/* â”€â”€ HOME ABOUT SLIM â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.home-about-slim {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.about-slim-inner {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}

.about-slim-inner .section-eyebrow {
  flex-shrink: 0;
}

.about-slim-text {
  flex: 1; min-width: 260px;
  font-size: 15px; color: var(--ink-2); line-height: 1.7;
}

.about-slim-badges {
  display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0;
}

.about-badge {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}

/* â”€â”€ HOME CTA STRIPE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.home-cta-stripe {
  padding: 90px 0; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(162,89,236,0.15), transparent 70%);
  border-top: 1px solid var(--border);
}

.home-cta-stripe h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 12px;
}

.home-cta-stripe p {
  font-size: 18px; color: var(--ink-2); margin-bottom: 32px;
}

.program-cta-buttons {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}

/* ── VIDEO EMBED (universell Spotlightr/iframe-container) ── */
.video-embed {
  position: relative; width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px; overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

/* â”€â”€ MOBILE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 880px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-image-wrap { display: none; }
  .superpowers-grid { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-inner, .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .site-nav.mobile-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(11,15,23,0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; z-index: 99;
  }
  .site-nav.mobile-open a { font-size: 16px; padding: 12px 16px; }
  .mobile-nav-toggle { display: flex; }
  .shuffle-layout { grid-template-columns: 1fr; gap: 40px; }
  .shuffle-stack { height: 280px; }
  .about-slim-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  /* Göm "Logga in" i headern på mobil (finns i menyn i stället), minska knappgap */
  .site-login { display: none; }
  .site-header-cta { gap: 10px; }
  /* "Logga in" läggs in i mobilmenyn via main.js */
  .site-nav.mobile-open .nav-login-mobile {
    display: block;
    margin-top: 8px; padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--ink-2);
  }
}
@media (max-width: 540px) {
  .superpowers-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner, .footer-grid { grid-template-columns: 1fr; }
  .home-hero { padding: 60px 0; min-height: auto; }
  .btn-lg { padding: 12px 22px; font-size: 15px; }
  /* Mobillogga synlig, knapp kompakt */
  .site-logo img { height: 40px; }
  .site-header-inner { gap: 12px; }
  .btn.btn-primary { font-size: 13px; padding: 9px 14px; }
  /* Arvsfonden-badge: ta bort negativ margin på mobil */
  .arvsfonden-badge img { margin-top: 0; }
}

/* ── TEMA-KNAPP I HEADER ─────────────────────────────────── */
.page-ctrl-btn {
  background: none; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #c8d0e8; transition: color .15s, opacity .15s;
  padding: 6px; opacity: 0.7;
}
.page-ctrl-btn:hover { opacity: 1; }
.page-ctrl-btn svg { width: 18px; height: 18px; pointer-events: none; }

/* ── LIGHT MODE ──────────────────────────────────────────── */
body.light-mode {
  --bg: #f4f6fb;
  --bg-2: #ffffff;
  --ink: #0f172a;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --border: rgba(0,0,0,0.09);
  background: var(--bg);
  color: var(--ink);
}

body.light-mode .page-ctrl-btn { color: #334155; }

/* Blobs — subtilare på ljus bakgrund */
body.light-mode .bg-blobs .blob { opacity: 0.07; }

/* Header */
body.light-mode .site-header {
  background: rgba(244,246,251,0.92);
  border-bottom-color: rgba(0,0,0,0.08);
}
body.light-mode .site-nav a { color: #374151; }
body.light-mode .site-nav a:hover { color: #0f172a; background: rgba(0,0,0,0.04); }
body.light-mode .site-nav a.site-nav-active { color: var(--p1); }
body.light-mode .site-login { color: #374151; }
body.light-mode .mobile-nav-toggle { color: #0f172a; }
body.light-mode .site-nav.mobile-open {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Knappar */
body.light-mode .btn-secondary {
  background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); color: #0f172a;
}
body.light-mode .btn-secondary:hover { background: rgba(0,0,0,0.09); }
body.light-mode .btn-tertiary {
  background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: #374151;
}

/* Cards — vitt med subtle shadow */
body.light-mode .glow-card,
body.light-mode .card,
body.light-mode .result-stat,
body.light-mode .result-insight-card,
body.light-mode .shuffle-card,
body.light-mode .research-grund-card,
body.light-mode .research-process-card,
body.light-mode .research-anchored-card,
body.light-mode .research-knowledge-step,
body.light-mode .research-source-strong,
body.light-mode .research-disclaimer,
body.light-mode .research-evidence-video,
body.light-mode .study-question-card,
body.light-mode .study-fact,
body.light-mode .team-core-card,
body.light-mode .package-card,
body.light-mode .partner-card,
body.light-mode .story-timeline-item,
body.light-mode .story-author-block {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body.light-mode .shuffle-card { background: #ffffff; }
body.light-mode .shuffle-quote { color: #0f172a; }
body.light-mode .shuffle-author { color: #6b7280; }

/* Partner logo pills */
body.light-mode .partner-logo-item {
  background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08);
}

/* Skolnamn marquee */
body.light-mode .school-item { color: #374151; border-right-color: rgba(0,0,0,0.08); }
body.light-mode .school-city { color: #6b7280; }

/* Tidslinje */
body.light-mode .study-timeline-step { border-bottom-color: rgba(0,0,0,0.08); }

/* Transparens-box och liknande */
body.light-mode .study-transparency-box,
body.light-mode .research-disclaimer {
  background: rgba(162,89,236,0.05); border-color: rgba(162,89,236,0.2);
}

/* CTA stripe */
body.light-mode .home-cta-stripe,
body.light-mode .program-cta-stripe {
  background: linear-gradient(to bottom, #eef0f9, #f4f6fb);
  border-top-color: rgba(0,0,0,0.08);
}

/* About slim */
body.light-mode .home-about-slim { border-top-color: rgba(0,0,0,0.08); }
body.light-mode .about-badge { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); }

/* Trust badge */
body.light-mode .trust-badge {
  background: rgba(29,158,117,0.08); border-color: rgba(29,158,117,0.25); color: #0d7a5a;
}

/* Footer — behåller mörkt */
body.light-mode .site-footer { background: #1e293b; }
body.light-mode footer { background: #1e293b; }
