@font-face {
  font-family: Gilroy;
  src: url('/fonts/gilroy-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #142f45;
  --blue: #2558c0;
  --red: #eb4459;
  --red-text: #c92c45;
  --secondary: #4f5d6d;
  --surface: #f2f5fa;
  --line: #d8dfe9;
  --title-size: 4.25rem;
  --heading-size: 2.875rem;
  --body-size: 1.25rem;
  --detail-size: 1.0625rem;
  --display-font: Gilroy, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; background: #fff; color: var(--navy); font-family: var(--body-font); font-size: var(--body-size); line-height: 1.5; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--display-font); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--title-size); }
h2 { font-size: var(--heading-size); }
h3 { font-size: var(--body-size); line-height: 1.3; letter-spacing: -0.01em; }
p { color: var(--secondary); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

.wrap, .nav-wrap { width: min(1080px, calc(100% - 80px)); margin-inline: auto; }

.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px; background: #fff; font-size: var(--detail-size); }
.skip:focus { top: 10px; }

.header { position: relative; z-index: 20; height: 80px; background: #fff; }
.nav-wrap { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); font-family: var(--display-font); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.desktop-nav { display: flex; gap: 28px; margin-inline: auto; font-size: var(--detail-size); }
.desktop-nav a, .footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.desktop-nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.desktop-nav a[aria-current='page'], .mobile-nav a[aria-current='page'], .footer nav a[aria-current='page'] { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; border-radius: 1px; background: var(--navy); }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 4px 20px 16px; border-bottom: 1px solid var(--line); background: #fff; font-size: var(--detail-size); }
.mobile-nav a { display: block; padding: 12px 0; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: var(--detail-size); font-weight: 500; line-height: 1.3; text-align: center; }
.button:hover { opacity: 0.88; }
.button.small { min-height: 42px; padding: 9px 18px; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 32px; }
.note { color: var(--secondary); font-size: var(--detail-size); }
.faq a, .prose a, .aside a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 28px max(40px, calc((100% - 1080px) / 2)); background: var(--surface); font-size: var(--detail-size); }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-left: auto; }
.footer > span { color: var(--secondary); }

.section { padding-block: 96px; }
.section-heading { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-heading p { margin-top: 24px; }
.section-label { display: block; margin-bottom: 16px; color: var(--red-text); font-size: var(--detail-size); font-weight: 600; }

.hero { padding-top: 72px; text-align: center; }
.hero h1 { max-width: 920px; margin-inline: auto; font-size: min(var(--title-size), 8.8vw); }
.hero h1 span { display: inline-block; }
.hero-intro { max-width: 680px; margin: 28px auto 0; color: var(--navy); }
.hero-art {
  width: min(900px, 100%);
  margin: 48px auto 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(transparent, #000 8%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(transparent, #000 8%, #000 88%, transparent);
  mask-composite: intersect;
}

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.features article::before { content: ''; display: block; width: 40px; height: 4px; margin-bottom: 20px; border-radius: 2px; background: var(--red); }
.features h3 { margin-bottom: 12px; }
.features p { font-size: var(--detail-size); }

.strengths { background: var(--surface); }
.virtues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.virtue { position: relative; overflow: hidden; padding: 38px 28px 26px; border-radius: 24px; background: #fff; }
.virtue::before { content: ''; position: absolute; inset: 0 0 auto; height: 10px; background: linear-gradient(90deg, var(--from), var(--to)); }
.virtue h3 { margin-bottom: 12px; color: var(--ink); }
.virtue ul { padding: 0; list-style: none; }
.virtue li { padding: 3px 0; color: var(--secondary); font-size: var(--detail-size); }
.virtue-visdom { --from: #667ace; --to: #2e349b; --ink: #3d4084; }
.virtue-mot { --from: #c24d58; --to: #ef8790; --ink: #a62834; }
.virtue-sosialt-ansvar { --from: #e88c57; --to: #eaa678; --ink: #b85a1f; }
.virtue-matehold { --from: #37ac68; --to: #91ca95; --ink: #007a3d; }
.virtue-medmenneskelighet { --from: #307256; --to: #829889; --ink: #005b38; }
.virtue-transcendens { --from: #b562af; --to: #e277cf; --ink: #99559a; }

.audiences { display: grid; gap: 104px; }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.audience img { width: 100%; border-radius: 28px; }
.audience.flipped img { order: 2; }
.audience h2 { margin-bottom: 24px; }
.audience p + p { margin-top: 20px; }

.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 20px 0; color: var(--navy); font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; color: var(--blue); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; }

.closing { padding: 32px 0 112px; text-align: center; }
.closing p { max-width: 620px; margin: 20px auto 0; }

.article-page { padding-block: 80px 104px; }
.page-heading { max-width: 850px; margin: 0 auto 64px; text-align: center; }
.page-heading h1 { margin-bottom: 20px; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin: 56px 0 20px; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 20px; }
.prose ul { margin-bottom: 24px; padding-left: 24px; }
.prose li { margin-bottom: 12px; color: var(--secondary); }
.prose strong { color: var(--navy); font-weight: 600; }

.steps, .invite-steps { padding: 0; list-style: none; counter-reset: step; }
.steps li, .invite-steps li { position: relative; counter-increment: step; }
.steps li::before, .invite-steps li::before { content: counter(step); position: absolute; left: 0; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--blue); font-family: var(--display-font); font-weight: 700; }
.steps { margin: 32px 0; }
.steps li { min-height: 44px; margin-bottom: 28px; padding-left: 64px; }
.steps li::before { top: -6px; width: 44px; height: 44px; font-size: 1.25rem; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; }

.contact { max-width: 760px; margin: 72px auto 0; padding: 40px; border-radius: 28px; background: var(--surface); text-align: center; }
.contact h2 { margin-bottom: 16px; font-size: 2rem; }
.contact p { margin-bottom: 28px; }
.email-address { display: block; margin-top: 16px; color: var(--blue); font-size: var(--detail-size); overflow-wrap: anywhere; }

.invite, .not-found { max-width: 680px; padding-block: 72px 104px; text-align: center; }
.mark { width: 88px; height: 88px; margin: 0 auto 28px; }
.invite h1, .not-found h1 { font-size: min(var(--title-size), 3.5rem); }
.invite .lead { margin-top: 24px; color: var(--navy); }
.invite-steps { max-width: 520px; margin: 40px auto 0; text-align: left; }
.invite-steps li { min-height: 36px; padding: 2px 0 20px 52px; color: var(--secondary); }
.invite-steps li::before { top: 0; width: 36px; height: 36px; font-size: 1.0625rem; }
.invite .actions { margin-top: 20px; }
.invite .aside { margin-top: 32px; font-size: var(--detail-size); }
.not-found p { margin: 20px 0 32px; }

@media (max-width: 900px) {
  .desktop-nav { gap: 18px; }
  .features, .virtues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience { gap: 48px; }
}

@media (max-width: 800px) {
  :root { --title-size: 3.25rem; --heading-size: 2.375rem; }
}

@media (max-width: 700px) {
  :root { --title-size: 2.5rem; --heading-size: 2rem; --body-size: 1.125rem; }
  .wrap, .nav-wrap { width: calc(100% - 40px); }
  .header { height: 72px; }
  .nav-wrap { gap: 12px; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 30px; height: 30px; }
  .desktop-nav { display: none; }
  .nav-wrap > .button { margin-left: auto; }
  .nav-toggle { display: block; }
  .footer { padding: 28px 20px; }
  .footer nav { width: 100%; margin-left: 0; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 40px; }
  .hero { padding-top: 40px; }
  .hero-art { margin-top: 32px; }
  .audiences { gap: 64px; }
  .audience { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .audience.flipped img { order: 0; }
  .audience img { border-radius: 22px; }
  .faq details p { padding-right: 0; }
  .closing { padding-bottom: 80px; }
  .article-page { padding-block: 48px 72px; }
  .page-heading { margin-bottom: 40px; }
  .prose h2, .contact h2 { font-size: 1.625rem; }
  .prose h2 { margin-top: 44px; }
  .steps li { padding-left: 56px; }
  .contact { margin-top: 56px; padding: 32px 20px; }
  .invite, .not-found { padding-block: 48px 72px; }
  .mark { width: 72px; height: 72px; }
}

@media (max-width: 359px) {
  .nav-wrap > .button { display: none; }
  .nav-toggle { margin-left: auto; }
}

@media (max-width: 560px) {
  .features, .virtues { grid-template-columns: minmax(0, 1fr); }
  .features { gap: 32px; }
}

@media (min-width: 701px) {
  .mobile-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}
