:root {
  color-scheme: light;
  --ink: #10213d;
  --muted: #5c6b7a;
  --blue: #2f8ed8;
  --blue-dark: #1f5f9e;
  --blue-soft: #dceeff;
  --yellow: #ffc94a;
  --yellow-soft: #fff3cf;
  --paper: #f5f8fb;
  --surface: #ffffff;
  --border: #e1eaf2;
  --shadow: 0 24px 70px rgba(31, 95, 158, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 2%, rgba(255, 201, 74, 0.22), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.site-header, main, footer { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 780; text-decoration: none; }
.brand img, .footer-brand img { border-radius: 12px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--muted); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--ink); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.7); }

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
  padding: 72px 0 88px;
}
.eyebrow { margin: 0 0 16px; color: var(--blue-dark); font-size: .79rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #4caf50; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3.4rem, 7vw, 6.25rem); line-height: .98; letter-spacing: -.065em; }
h1 em { color: var(--blue-dark); font-style: normal; }
.hero-lead { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 16px; font-weight: 750; text-decoration: none; }
.button-primary { color: #fff; background: linear-gradient(135deg, #4da3e6, var(--blue)); box-shadow: 0 12px 26px rgba(47,142,216,.25); }
.button-primary:hover { background: linear-gradient(135deg, #3e98dd, #287fc2); }
.button-secondary { border: 1px solid var(--border); background: rgba(255,255,255,.78); }
.fine-print { margin: 15px 0 0; color: var(--muted); font-size: .87rem; }

.lesson-preview { position: relative; padding: 28px; border: 1px solid rgba(225,234,242,.9); border-radius: 32px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.lesson-preview::before { content: "Hej!"; position: absolute; right: -25px; top: -34px; padding: 12px 18px; border-radius: 18px 18px 4px 18px; background: var(--yellow); font-weight: 850; transform: rotate(3deg); }
.preview-topline { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .9rem; }
.preview-topline strong { color: var(--ink); }
.progress-track { height: 8px; margin: 12px 0 26px; overflow: hidden; border-radius: 999px; background: var(--blue-soft); }
.progress-track span { display: block; width: 60%; height: 100%; border-radius: inherit; background: var(--blue); }
.preview-card { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.preview-label { margin: 0 0 18px; color: var(--blue-dark); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.swedish { margin: 0; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 820; line-height: 1.2; }
.english { margin: 8px 0 22px; color: var(--muted); }
.word-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.word-row span { padding: 5px 10px; border-radius: 8px; background: var(--yellow-soft); font-weight: 750; }
.listen-pill { min-height: 42px; display: inline-flex; align-items: center; padding: 0 14px; color: var(--blue-dark); border-radius: 12px; background: var(--blue-soft); font-weight: 750; }
.preview-note { margin: 20px 4px 0; color: var(--muted); font-size: .9rem; text-align: center; }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border); }
.proof div { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 28px 18px; text-align: center; }
.proof div + div { border-left: 1px solid var(--border); }
.proof strong { color: var(--blue-dark); font-size: 2rem; }
.proof span { color: var(--muted); font-size: .92rem; }

.section { padding: 120px 0; }
.section-heading { max-width: 800px; }
h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.05em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.feature-grid article { min-height: 270px; padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.72); }
.step { color: var(--blue); font-size: .8rem; font-weight: 850; letter-spacing: .1em; }
h3 { margin: 54px 0 10px; font-size: 1.3rem; }
.feature-grid p, .path-copy p, .company-card p { margin: 0; color: var(--muted); }

.path-section { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 8vw, 110px); align-items: end; }
.path-copy { padding-bottom: 6px; }
.path-copy > p { font-size: 1.08rem; }
.path-copy ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.path-copy li { font-weight: 700; }
.path-copy li span { display: inline-grid; width: 25px; height: 25px; margin-right: 9px; place-items: center; border-radius: 50%; color: var(--blue-dark); background: var(--blue-soft); }

.company-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 100px; padding: clamp(32px, 6vw, 64px); color: #fff; border-radius: 32px; background: var(--ink); }
.company-card .eyebrow { color: #8bc9f3; }
.company-card h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.company-card p { color: #c5d0dc; font-size: 1.05rem; }
.company-card a { display: inline-block; margin-top: 24px; color: var(--yellow); font-weight: 760; text-decoration: none; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 30px 0 42px; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }
footer > p { margin: 0; text-align: right; }

@media (max-width: 820px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 46px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .lesson-preview { width: min(100%, 520px); margin-inline: auto; }
  .feature-grid, .path-section, .company-card { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 230px; }
  .proof { grid-template-columns: 1fr; }
  .proof div + div { border-left: 0; border-top: 1px solid var(--border); }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
  footer > p { text-align: center; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 28px, 1160px); }
  .brand span { font-size: .92rem; }
  .nav-cta { padding: 8px 12px; }
  .hero { min-height: auto; padding-bottom: 70px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .lesson-preview { padding: 20px; border-radius: 26px; }
  .lesson-preview::before { right: 8px; top: -30px; }
  .preview-card { padding: 21px; }
  .section { padding: 88px 0; }
  .company-card { margin-bottom: 70px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
