:root {
  --paper: #fbfbf9;
  --ink: #1c1d1f;
  --muted: #64676b;
  --rule: #e2e2dd;
  --accent: #1e5a3c;
  --accent-ink: #ffffff;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 0.9375rem;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  padding: clamp(72px, 14vw, 168px) 0 clamp(56px, 9vw, 112px);
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(2.625rem, 7.4vw, 6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.lead {
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.button:hover {
  background: var(--accent);
}

.quiet-link {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.quiet-link:hover {
  color: var(--ink);
}

/* Bands */

.band {
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--rule);
}

.grid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 40px;
}

.label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.6em;
}

.content {
  max-width: 46rem;
}

.content h2 {
  font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.content > p + p {
  margin-top: 1em;
}

.content > p {
  color: #3a3c3f;
}

.principles {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}

.principles li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}

.principles li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: translateY(-2px);
}

/* Cells */

.cells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.cells article {
  padding: 24px 0 32px;
  border-top: 1px solid var(--ink);
}

.cells h3,
.steps h3 {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cells p,
.steps p {
  color: #4a4d51;
  font-size: 1rem;
}

.note {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--muted) !important;
}

/* Steps */

.steps {
  list-style: none;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.steps li:first-child {
  border-top-color: var(--ink);
}

.step-no {
  grid-row: 1 / span 2;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

/* Contact */

.contact {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
}

.contact .label {
  color: #9a9da1;
}

.contact .content > p {
  color: #c9cbc7;
  max-width: 36rem;
}

.contact-link {
  display: inline-block;
  margin-top: 40px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid #5f6266;
  padding-bottom: 4px;
  overflow-wrap: anywhere;
  transition: border-color 150ms ease;
}

.contact-link:hover {
  border-bottom-color: var(--paper);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #9a9da1;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid #34363a;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--paper);
}

/* Focus */

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

.contact a:focus-visible {
  outline-color: var(--paper);
}

/* Small screens */

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .label {
    padding-top: 0;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cells {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .site-header nav {
    gap: 20px;
  }
}

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

  * {
    transition: none !important;
  }
}
