:root {
  --cobalt: #2340e8;
  --cobalt-deep: #182fbd;
  --sun: #ffd64a;
  --ice: #f5f7ff;
  --ink: #121a3a;
  --muted: #525c80;
  --line: #d8def5;
  --pale: #c9d3ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ice);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 28px;
}

.hero {
  background: var(--cobalt);
  color: #fff;
  padding-bottom: 76px;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
}

.topbar a {
  text-underline-offset: 4px;
}

.wordmark {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  padding-top: 44px;
}

.hero h1 {
  font-size: clamp(44px, 6.1vw, 78px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 24px;
}

.lead {
  color: var(--pale);
  font-size: 20px;
  margin-bottom: 32px;
  max-width: 30em;
}

.button {
  background: var(--sun);
  color: var(--ink);
  display: inline-block;
  font-weight: 700;
  overflow-wrap: anywhere;
  padding: 15px 26px;
  text-decoration: none;
  transition: transform 0.15s;
}

.button:hover {
  transform: translateY(-2px);
}

.board {
  background: var(--cobalt-deep);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
  --spread: 1;
}

.column h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 2px 2px 12px;
}

.card {
  animation: sort 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  animation-delay: calc(0.25s + var(--order) * 0.16s);
  background: #fff;
  border-radius: 12px 12px 12px 3px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 10px;
  min-height: 112px;
  padding: 12px;
}

.card span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 10px;
}

@keyframes sort {
  from {
    opacity: 0;
    transform: translate(calc(108% * var(--dir) * var(--spread)), calc(-80px * var(--row)));
  }
}

.feature {
  background: var(--sun);
  padding: 72px 0;
}

.feature-grid {
  align-items: end;
  display: grid;
  gap: 24px 56px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.feature h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.feature p {
  font-size: 20px;
}

.services {
  padding-bottom: 88px;
  padding-top: 80px;
}

.services > h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.services-grid {
  display: grid;
  gap: 32px 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid article {
  border-top: 3px solid var(--cobalt);
  padding-top: 16px;
}

.services-grid h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.services-grid p {
  color: var(--muted);
}

.closing {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
}

.closing h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 32px;
  max-width: 16em;
}

.footer {
  color: var(--muted);
  font-size: 15px;
  padding: 24px 0 30px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.policy-head {
  background: var(--cobalt);
  color: #fff;
  padding: 30px 0 38px;
}

.policy-head a {
  font-size: 16px;
  text-underline-offset: 4px;
}

.policy-head h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 18px;
}

.policy {
  max-width: 760px;
  padding-bottom: 60px;
  padding-top: 36px;
}

.policy h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 8px;
}

.policy p,
.policy ul {
  margin-bottom: 10px;
}

.policy ul {
  padding-left: 22px;
}

@media (max-width: 860px) {
  .hero-grid,
  .feature-grid,
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 40px;
    padding-top: 20px;
  }

  .board {
    grid-template-columns: minmax(0, 1fr);
    --spread: 0;
  }

  .card {
    min-height: 0;
  }

  .card + .card {
    display: none;
  }
}

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

  .card {
    animation: none;
  }

  .button {
    transition: none;
  }
}
