@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f6f3;
  --sheet: #ffffff;
  --ink: #17211d;
  --ink-soft: #55605a;
  --ledger: #1e5e47;
  --ledger-dark: #164735;
  --rule: #c9d1cb;
  --tab: #f5d547;
  --tab-ink: #3b3206;
  --focus: #1e5e47;
  --gutter: 16px;
  --max: 1120px;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

a { color: var(--ledger); text-underline-offset: 3px; }
a:hover { color: var(--ledger-dark); }

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

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

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand svg { flex: none; }
.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .nav a:not(.nav-contact) { display: none; }
}

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 920px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; }
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(44px, 7.4vw, 84px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.035em;
  max-width: 10ch;
}
.nowrap { white-space: nowrap; }
.lead {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.55;
  max-width: 34em;
}
.fine {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 36em;
}

/* Deal sheet */
.sheet {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px 24px 28px;
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(23, 33, 29, 0.35);
}
@media (min-width: 720px) { .sheet { padding: 36px 36px 32px; } }

.flag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--tab);
  color: var(--tab-ink);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  padding: 9px 14px 9px 22px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
}
@media (min-width: 920px) {
  .flag {
    top: 30px;
    right: -18px;
    padding: 11px 18px 11px 26px;
    font-size: 16px;
  }
}

.sheet h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}
@media (min-width: 920px) { .sheet h2 { padding-right: 104px; } }
.sheet .sheet-note {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

.field { margin: 0 0 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 4px;
}
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--rule);
  border-radius: 0;
  padding: 6px 2px 7px;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 8px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ledger);
  background: #fbf7df;
}
.field input::placeholder,
.field textarea::placeholder { color: #8b958f; }

.pair { display: grid; gap: 0 20px; }
@media (min-width: 520px) { .pair { grid-template-columns: 1fr 1fr; } }

.button {
  display: inline-block;
  width: 100%;
  margin-top: 6px;
  padding: 15px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--ledger);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--ledger-dark); color: #fff; }
.sheet .after {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Sections */
.section {
  border-top: 1px solid var(--rule);
  padding: 64px 0;
}
@media (min-width: 920px) { .section { padding: 88px 0; } }
.section-grid { display: grid; gap: 28px; }
@media (min-width: 920px) {
  .section-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 72px; }
}
.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.section .intro {
  margin: 14px 0 0;
  color: var(--ink-soft);
  max-width: 24em;
}

.rows { margin: 0; }
.row {
  display: grid;
  gap: 4px 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.row:first-child { padding-top: 0; }
@media (min-width: 640px) {
  .row { grid-template-columns: 15em 1fr; }
}
.row dt { font-weight: 750; font-size: 18px; line-height: 1.4; }
.row dd { margin: 0; max-width: 34em; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 56px;
  max-width: 36em;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 4px;
  width: 2px;
  background: var(--rule);
}
.steps h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.35; font-weight: 750; }
.steps p { margin: 0; }

.prose { max-width: 38em; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

.outreach {
  background: var(--sheet);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 40px;
  font-size: 15px;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--ink); }

/* Plain document pages */
.doc { padding: 56px 0 80px; }
.doc .wrap > * { max-width: 40em; }
.doc h1 {
  margin: 0 0 8px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.doc .updated { margin: 0 0 40px; color: var(--ink-soft); }
.doc h2 {
  margin: 40px 0 10px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
}
.doc p, .doc li { margin: 0 0 14px; }
.doc ul { padding-left: 1.2em; margin: 0 0 14px; }
.doc .button { width: auto; padding-left: 28px; padding-right: 28px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
