/* verionis.co.uk. Fonts are served from this site (SIL OFL 1.1, see fonts/). */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url("fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #0b1f17;
  --muted: #3d5248;
  --green: #00a86b;
  --green-ink: #006b43;
  --green-hover: #004d30;
  --mint: #7fe0b5;
  --sage: #eef4f0;
  --wash: #f2f7f4;
  --line: #cfded6;
  --rule: #e2ece6;
  --edge: #b9cec3;
  --on-dark: #d3e3da;
  --gutter: max(5vw, 16px);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font: 17px/1.55 "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: clip;
}
a { color: var(--green-ink); }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -0.02em; font-weight: 800; line-height: 1.07; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { line-height: 1.25; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: 72px; }
.band.wash { background: var(--wash); }
.band.dark { background: var(--ink); color: #ffffff; }
.band.green { background: var(--green); padding-block: 64px; }
.lede { margin-top: 12px; max-width: 40em; }
.dark .lede, .dark p { color: var(--on-dark); }

.btn { display: inline-block; background: var(--green-ink); color: #ffffff; text-decoration: none; padding: 14px 24px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.btn:hover { background: var(--green-hover); color: #ffffff; }
.btn.small { padding: 11px 16px; font-size: 16px; }
.btn.ink { background: var(--ink); }
.btn.ink:hover { background: #000000; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.brand { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.navlinks { display: flex; gap: 24px; }
.navlinks a, .menu a { color: var(--ink); text-decoration: none; }
.navlinks a:hover, .menu a:hover { text-decoration: underline; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--edge); border-radius: 6px; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 52px; z-index: 2; display: flex; flex-direction: column; min-width: 210px; padding: 8px; background: #ffffff; border: 1px solid var(--edge); border-radius: 8px; box-shadow: 0 8px 24px rgba(11, 31, 23, 0.1); }
.menu nav a { padding: 10px 12px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; padding-top: clamp(12px, 4vw, 48px); padding-bottom: 72px; }
.hero-copy { flex: 1 1 400px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.hero-copy > p { font-size: 18px; max-width: 32em; margin-bottom: 24px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.textlink { font-weight: 700; text-underline-offset: 3px; }

/* The comparison card */
.compare { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--sage); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(11, 31, 23, 0.05), 0 10px 28px rgba(11, 31, 23, 0.07); scroll-margin-top: 16px; }
.compare h2 { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.sheet { background: #ffffff; border: 1px solid #d9e6df; border-radius: 8px; padding: 16px 18px; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.sheet-head strong { font-size: 17px; }
.sheet-head span, .files, .note { font-size: 14px; color: var(--muted); }
.files { margin: 6px 0 12px; }
.files summary { cursor: pointer; }
.files ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 8px 0 0 16px; list-style: none; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { padding: 6px 8px; font-size: 14px; font-weight: 500; color: var(--muted); text-align: right; }
tbody tr { border-top: 1px solid var(--rule); }
td { padding: 9px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td:first-child { font-variant-numeric: normal; }
th:first-child, td:first-child { padding-left: 0; text-align: left; white-space: normal; }
th:last-child, td:last-child { padding-right: 0; }
td.ok { color: var(--green-ink); font-weight: 700; }
.tag { display: inline-block; margin-right: 6px; padding: 0 6px; border: 1px solid var(--edge); border-radius: 4px; font-size: 13px; color: var(--muted); }
tbody tr.total { border-top: 2px solid var(--ink); }
tr.total td { padding-top: 12px; padding-bottom: 10px; }
tr.total td:first-child { font-weight: 700; }
tr.total .figure { font-size: 21px; font-weight: 800; }
.note { margin-top: 10px; }
.status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 11px 16px; background: var(--ink); color: #ffffff; border-radius: 8px; font-size: 15px; }
.status strong { font-weight: 700; }
.status span { color: var(--edge); }

/* Cards and grids */
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: #ffffff; border-radius: 10px; padding: 24px; }
.card .num { font-weight: 800; font-size: 32px; color: var(--green-ink); margin-bottom: 8px; line-height: 1.2; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 16px; }

.thread-title { margin-top: 56px; font-size: 24px; letter-spacing: -0.01em; }
.thread-lede { margin-top: 6px; max-width: 40em; font-size: 16px; }
.step { background: #ffffff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.step .label { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.step blockquote { margin: 0; font-size: 19px; line-height: 1.4; }
.rule { font: 14px/1.7 "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; overflow-wrap: anywhere; }
.rule span { color: var(--muted); }
.result { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step p { margin-top: 6px; font-size: 15px; }

.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.split > div { flex: 1 1 420px; }
.split h2 { margin-bottom: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.tile h3 { font-size: 18px; margin-bottom: 6px; }
.tile p { font-size: 15px; }

.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; margin-top: 36px; }
.controls h3 { font-size: 19px; color: var(--mint); margin-bottom: 6px; }
.controls p { font-size: 16px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 28px; }
.facts div { border-top: 3px solid var(--green); padding-top: 14px; }
.facts h3 { font-size: 18px; margin-bottom: 6px; }
.facts p { font-size: 16px; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta > div:first-child { flex: 1 1 420px; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 8px; }
.cta p { max-width: 36em; }
.cta .contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15px; }

footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px; font-size: 15px; color: var(--muted); }
footer strong { color: var(--ink); }

@media (max-width: 720px) {
  .navlinks { display: none; }
  .menu { display: block; }
  .band { padding-block: 56px; }
}
/* Phones: each line's label on its own row, its figures beneath. */
@media (max-width: 520px) {
  .compare { padding: 14px; }
  .sheet { padding: 14px; }
  thead tr, tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; column-gap: 12px; }
  th:first-child { display: none; }
  th, td { padding: 4px 0; }
  td:first-child { grid-column: 1 / -1; padding-top: 10px; }
  th:nth-child(2), td:nth-child(2) { grid-column: 2; }
  tbody tr { padding-bottom: 8px; }
  tr.total td { padding-top: 10px; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
