@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --neutral-50: oklch(98% 0.005 80);
  --neutral-100: oklch(95% 0.005 80);
  --neutral-200: oklch(92% 0.005 80);
  --neutral-300: oklch(86% 0.005 80);
  --neutral-400: oklch(62% 0.005 80);
  --neutral-600: oklch(48% 0.005 80);
  --neutral-800: oklch(28% 0.005 80);
  --neutral-900: oklch(20% 0.005 80);

  --page: oklch(98% 0.005 80);
  --surface: #ffffff;
  --border: oklch(92% 0.005 80);
  --border-strong: oklch(86% 0.005 80);
  --ink: oklch(20% 0.005 80);
  --ink-muted: oklch(48% 0.005 80);
  --ink-faint: oklch(62% 0.005 80);

  --accent: oklch(55% 0.15 250);
  --accent-strong: oklch(48% 0.16 250);
  --accent-soft: oklch(96% 0.03 250);

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1080px;
  --shadow-sm: 0 1px 2px oklch(20% 0.02 80 / 0.06);
  --shadow-md: 0 10px 30px oklch(20% 0.02 80 / 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--page);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.container.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.05s ease, box-shadow 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
  margin-top: auto;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-strong);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink-faint);
  background: var(--neutral-50);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(98% 0.005 80 / 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand-logo {
  height: 26px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.site-nav a:hover {
  color: var(--ink);
}
.site-header .btn-primary {
  margin-left: 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 12vw, 132px) 0 clamp(56px, 9vw, 104px);
  background: radial-gradient(
      1100px 520px at 72% -8%,
      var(--accent-soft),
      transparent 60%
    ),
    var(--page);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 760px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.eyebrow-icon {
  display: block;
}
.hero-title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 600;
}
.hero-lede {
  margin-top: 22px;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  color: var(--ink-muted);
  max-width: 620px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 108px) 0;
}
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  max-width: 22ch;
}
.section-lede {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 60ch;
}

/* ---------- Pillars ---------- */
.pillars {
  margin-top: 44px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  display: flex;
  flex-direction: column;
}
.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar p {
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  margin-top: 44px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.feature-card {
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}
.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.feature-icon svg {
  width: 21px;
  height: 21px;
}
.feature-card h3 {
  font-size: 1.075rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.honest-note {
  margin-top: 36px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  color: var(--ink-muted);
  font-size: 1rem;
  max-width: 56ch;
}

/* ---------- Timeline ---------- */
.timeline {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-strong);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  padding-bottom: 34px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  position: relative;
}
.timeline-marker::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
}
.is-current .timeline-marker::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline-tag {
  display: inline-block;
  margin-left: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  padding-top: 3px;
}
.is-current .timeline-tag {
  color: var(--accent);
}
.timeline-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-body p {
  color: var(--ink-muted);
  font-size: 1rem;
}
.muted-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.975rem;
}

/* ---------- Pricing ---------- */
.price-grid {
  margin-top: 44px;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
  background: var(--surface);
}
.price-name {
  font-size: 1.1rem;
  font-weight: 600;
}
.price-amount {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-value {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-unit {
  font-size: 0.95rem;
  color: var(--ink-faint);
}
.price-sub {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.price-list {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-disclaimer {
  text-align: center;
  border-top: none;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

/* ---------- About ---------- */
.about-origin {
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 60ch;
}
.team-grid {
  margin-top: 44px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.person-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border-strong);
  margin-bottom: 16px;
}
.person-name {
  font-size: 1.1rem;
  font-weight: 600;
}
.person-role {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.person-note {
  margin-top: 22px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.about-orgs {
  margin-top: 36px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
.org-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
}
.org-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.org-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
}
.org-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.org-arrow {
  color: var(--accent);
  font-size: 0.95rem;
}
.org-desc {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ---------- Legal (personvern) ---------- */
.legal {
  margin-top: 12px;
  max-width: 60ch;
}
.legal h3 {
  margin-top: 32px;
  font-size: 1.1rem;
  font-weight: 600;
}
.legal p {
  margin-top: 10px;
  color: var(--ink-muted);
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 2px;
}
.legal a:hover {
  color: var(--accent);
}
.legal-back {
  margin-top: 44px;
  font-size: 0.95rem;
  font-weight: 500;
}
.legal-back a {
  color: var(--ink-muted);
}
.legal-back a:hover {
  color: var(--accent);
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(64px, 9vw, 104px) 0;
  background: var(--neutral-900);
  color: var(--neutral-50);
}
.cta-inner {
  text-align: center;
  max-width: 640px;
}
.cta-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 600;
}
.cta-lede {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--neutral-300);
}
.cta .btn-primary {
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 52px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo {
  height: 24px;
  width: auto;
  margin-bottom: 12px;
}
.footer-tag {
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 36ch;
}
.footer-made {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 0.875rem;
  max-width: 40ch;
}
.footer-made a {
  color: var(--ink-muted);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 2px;
}
.footer-made a:hover {
  color: var(--accent);
}
.footer-nav {
  display: grid;
  grid-auto-rows: min-content;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.footer-nav a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.footer-muted {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .pillars,
  .feature-grid,
  .price-grid,
  .team-grid,
  .about-orgs {
    grid-template-columns: 1fr;
  }
  .site-nav {
    display: none;
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 18px;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .feature-card,
  .btn {
    transition: none;
  }
}
