:root {
  --ink: #1B2440;
  --marigold: #F2B544;
  --bg: #FFFFFF;
  --surface: #F1E8D8;
  --surface-2: #DDE6F3;
  --chalk: #1B2440;
  --text-2: #3A4260;
  --muted: #565E77;
  --accent: #7A4E06;
  --on-accent: #FFFFFF;
  --btn-bg: #1B2440;
  --btn-fg: #FFFFFF;
  --field-bg: #FFFFFF;
  --line: rgba(27, 36, 64, .15);
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --maxw: 1120px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--chalk); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
.b-ink, .b-mid, .b-white, .b-sand, .b-sky, .b-apricot { background: var(--bg); color: var(--chalk); }
.b-ink { --bg: #1B2440; --chalk: #F7F3EC; --text-2: #D5DAE8; --muted: #AEB6CC; --accent: #F2B544; --on-accent: #1B2440; --btn-bg: #F2B544; --btn-fg: #1B2440; --line: rgba(247, 243, 236, .18); }
.b-mid { --bg: #2D3F6E; --chalk: #FFFFFF; --text-2: #E1E6F2; --muted: #C3CBE0; --accent: #F2B544; --on-accent: #1B2440; --btn-bg: #F2B544; --btn-fg: #1B2440; --line: rgba(255, 255, 255, .2); }
.b-white { --bg: #FFFFFF; }
.b-sand { --bg: #F1E8D8; }
.b-sky { --bg: #DDE6F3; }
.b-apricot { --bg: #FADCC9; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, label:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
img, svg { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; z-index: 20; font-weight: 600; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.label { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 40em; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.01em; text-decoration: none; }
.header-right { display: flex; align-items: center; gap: 16px; }
.lang { display: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.js .lang { display: inline-flex; }
.lang button { font: 600 .8125rem/1 var(--body); letter-spacing: .06em; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--chalk); color: var(--bg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--btn-bg); color: var(--btn-fg); font: 600 1.0625rem/1.2 var(--body); text-decoration: none; padding: 16px 24px; border-radius: 6px; border: 0; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.or-call { color: var(--text-2); font-size: 1rem; }
.or-call a { color: var(--chalk); font-weight: 600; text-underline-offset: 3px; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero h1 { font-size: clamp(2.25rem, 8.5vw, 4.75rem); max-width: 14em; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
@media (min-width: 768px) { .hero { padding: 96px 0 104px; } }
.fade { opacity: 0; transform: translateY(12px); animation: up .6s ease forwards; }
.fade.d2 { animation-delay: .12s; } .fade.d3 { animation-delay: .24s; }
@keyframes up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; opacity: 1; transform: none; } }

/* Sections */
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 20px; }

/* Eye-opener */
.compare { display: grid; gap: 16px; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.compare > div { background: var(--surface); border-radius: 8px; padding: 28px 24px; }
.compare .then { background: var(--surface-2); }
.compare h3 { margin-bottom: 12px; }
.compare p:last-child { margin-bottom: 0; }
.compare .muted { color: var(--muted); }
.stat { display: grid; gap: 16px; align-items: baseline; }
@media (min-width: 768px) { .stat { grid-template-columns: auto 1fr; gap: 32px; } }
.stat .num { font-family: var(--display); font-weight: 500; font-size: clamp(4rem, 14vw, 7rem); line-height: .9; color: var(--accent); letter-spacing: -0.04em; }
.stat p { max-width: 34em; margin: 0 0 8px; }
.stat small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.5; }

/* How */
.how-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.how-grid .prose p { color: var(--text-2); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font: 500 1.375rem/44px var(--display); text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: 8px; width: 2px; background: var(--line); }
.steps strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.25; margin: 6px 0 6px; }
.steps span { display: block; color: var(--text-2); }
.steps-end { font-weight: 600; margin: 4px 0 0 64px; }

/* Offers */
.offers { display: grid; gap: 16px; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.offer { background: var(--surface); border-radius: 8px; padding: 28px 24px; display: flex; flex-direction: column; }
.offer:nth-child(1) { background: #FADCC9; }
.offer:nth-child(2) { background: var(--surface-2); }
.offer svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 20px; }
.offer h3 { margin-bottom: 12px; }
.offer p { color: var(--text-2); }
.offer .fit { color: var(--muted); font-size: .9375rem; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.offer .fit strong { color: var(--chalk); font-weight: 600; }
.offer a.pick { color: var(--accent); font-weight: 600; text-underline-offset: 4px; margin-top: 12px; display: inline-block; }
.unsure { margin-top: 24px; padding: 20px 24px; border: 1px dashed var(--line); border-radius: 8px; color: var(--text-2); }
.unsure p { margin: 0; }

/* About */
.about-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.about-grid .prose p { color: var(--text-2); }
.certs { margin: 0; padding: 0; list-style: none; }
.certs li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.certs li:first-child { border-top: 1px solid var(--line); }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
form { display: grid; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend, .field label { display: block; font-weight: 600; margin-bottom: 10px; }
legend { padding: 0; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.choices { display: grid; gap: 8px; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; background: var(--field-bg); line-height: 1.35; }
.choice input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 2px solid var(--muted); border-radius: 50%; display: grid; place-content: center; }
.choice input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .12s ease; }
.choice input:checked::before { transform: scale(1); }
.choice input:checked { border-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); }
.choice input:focus-visible { outline: none; }
.choice.wide { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--chalk); background: var(--field-bg); border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.row2 { display: grid; gap: 22px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .9375rem; color: var(--muted); margin: 0; }
.form-status { padding: 16px 18px; border-radius: 6px; background: #FFFFFF; border-left: 3px solid var(--accent); margin: 0; }
.form-status[hidden] { display: none; }
.direct { align-self: start; border-radius: 8px; padding: 32px 28px; }
.direct h3 { margin-bottom: 12px; }
.direct > p { color: var(--text-2); }
.direct dl { margin: 24px 0 0; }
.direct dt { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.direct dd { margin: 4px 0 0; font-size: 1.125rem; }
.direct dd a { text-underline-offset: 4px; }
.direct .big { font-family: var(--display); font-weight: 500; font-size: 1.75rem; letter-spacing: -0.02em; text-decoration: none; }
.direct .big:hover { color: var(--accent); }

/* Footer */
footer { padding: 40px 0; color: var(--muted); font-size: .9375rem; }
footer .wrap { display: grid; gap: 8px; }
@media (min-width: 768px) { footer .wrap { grid-template-columns: 1fr auto; } }
footer p { margin: 0; }
footer a { text-underline-offset: 3px; }

/* Faner */
.site-header .wrap { flex-wrap: wrap; row-gap: 0; }
.nav { order: 3; width: 100%; display: flex; gap: 2px; margin: 0 -10px; overflow-x: auto; }
.nav a { padding: 10px 10px 12px; text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .9375rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--chalk); }
.nav a[aria-current="page"] { color: var(--chalk); border-bottom-color: var(--accent); }
@media (min-width: 760px) {
  .site-header .wrap { flex-wrap: nowrap; min-height: 72px; }
  .nav { order: 0; width: auto; margin: 0 0 0 auto; padding-top: 3px; }
  .nav a { padding: 24px 14px 21px; }
  .header-right { margin-left: 16px; }
}

/* Sider */
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.hero h1.page-title { font-size: clamp(2.25rem, 7vw, 4rem); }
.photo { aspect-ratio: 4 / 5; max-width: 220px; width: 100%; border: 2px dashed var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--muted); font-size: .9375rem; text-align: center; padding: 16px; }
.cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: var(--surface); border-radius: 8px; padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); margin: 0; }
.b-sand .card, .b-sky .card { background: #FFFFFF; }
.more { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.cta-band h2 { max-width: 18em; margin-bottom: 16px; }
.cta-band .lead { margin-bottom: 32px; }
.teaser { display: grid; gap: 24px; }
@media (min-width: 900px) { .teaser { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; } }
.form-wrap { max-width: 760px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
@media (min-width: 900px) { .photo { max-width: 360px; } }

/* Kurser */
@media (min-width: 1000px) { .cards.four { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.courses { display: grid; gap: 16px; align-items: start; }
@media (min-width: 640px) { .courses { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .courses { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.course { background: #FFFFFF; border-radius: 8px; padding: 24px 22px 20px; display: flex; flex-direction: column; }
.course-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.course-dur { background: var(--surface-2); color: var(--chalk); padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; white-space: nowrap; }
.course h2 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 10px; }
.course-sit { font-family: var(--display); font-style: italic; font-size: 1.0625rem; line-height: 1.4; margin: 0 0 16px; color: var(--text-2); }
.course { border: 2px solid transparent; transition: border-color .15s ease; }
.course.is-open { border-color: var(--chalk); }
.course-toggle { margin-top: auto; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-weight: 600; color: var(--chalk); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 14px 0 4px; text-align: left; }
.course-toggle::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 400; }
.course-toggle[aria-expanded="true"]::after { content: "\2212"; }
.course-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.course-toggle .when-open, .course-toggle[aria-expanded="true"] .when-closed { display: none; }
.course-toggle[aria-expanded="true"] .when-open { display: inline; }
.course-panel { grid-column: 1 / -1; background: #FFFFFF; border-radius: 8px; border-top: 4px solid var(--chalk); padding: 28px 24px; display: grid; gap: 8px 48px; }
.course-panel[hidden] { display: none; }
@media (min-width: 900px) { .course-panel { grid-template-columns: 1.4fr 1fr; padding: 36px 40px; } }
.course-panel-name { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; margin: 0 0 12px; }
.course-panel-text > p:not(.course-panel-name) { color: var(--text-2); margin: 0 0 20px; }
.course-facts { margin: 0; }
.course-facts div { padding: 10px 0; border-top: 1px solid var(--line); }
.course-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.course-facts dd { margin: 0; }
.course a.pick { color: var(--chalk); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-block; margin-bottom: 4px; }
.courses { align-items: stretch; }
