@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --paper: #f3f5f1;
  --surface: #ffffff;
  --ink: #15212b;
  --muted: #59646d;
  --line: #d6dcd6;
  --green: #17804f;
  --green-deep: #0d5a37;
  --green-wash: #e1efe6;
  --focus: #1d5fd1;
  --measure: 66ch;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

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

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.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: 22px; letter-spacing: -0.03em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: clamp(14px, 3vw, 28px); font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Home hero: the wordmark is the one loud thing on the site */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(32px, 6vw, 72px); }
.wordmark {
  margin: 0;
  font-weight: 800;
  font-size: clamp(96px, 26vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  margin-left: -0.04em;
}
.wordmark .bar { display: inline-block; color: var(--green); transform-origin: 50% 100%; }
.wordmark .bar.short { transform: scaleY(0.82); }
.wordmark .bar.tall { transform: scaleY(1.08); }
@media (prefers-reduced-motion: no-preference) {
  .wordmark .bar { animation: rise 900ms cubic-bezier(.2,.8,.2,1) both; }
  .wordmark .bar.tall { animation-delay: 140ms; }
  @keyframes rise { from { transform: scaleY(0.25); } }
}
.hero-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(28px, 5vw, 56px); max-width: 760px; }
.lede { margin: 0; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.22; letter-spacing: -0.02em; font-weight: 500; }
.lede-sub { margin: 0; color: var(--muted); font-size: 18px; max-width: 56ch; }

/* App listing on home */
.apps { border-top: 1px solid var(--line); padding: clamp(36px, 6vw, 64px) 0; }
.section-title { margin: 0 0 24px; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.app-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.section-title + .app-row { border-top: 1px solid var(--line); }
a.app-row:hover .app-name { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px; }
.app-icon { width: 64px; height: 64px; }
.app-name { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.app-desc { margin: 4px 0 0; color: var(--muted); }
.status { font-size: 14px; font-weight: 500; color: var(--green-deep); background: var(--green-wash); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status.later { color: var(--muted); background: transparent; border: 1px solid var(--line); }
.app-icon.empty { border: 1.5px dashed var(--line); border-radius: 16px; }

/* About strip */
.about { padding: 0 0 clamp(48px, 8vw, 88px); }
.about p { max-width: var(--measure); margin: 0; color: var(--muted); }

/* App page */
.app-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding: clamp(40px, 7vw, 88px) 0; }
.app-hero h1 { margin: 12px 0 20px; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.app-hero .lede-sub { margin-bottom: 28px; }
.product-tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.product-tag svg { width: 32px; height: 32px; }
.meta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 16px; }
.meta-list strong { color: var(--ink); font-weight: 500; }

/* The order receipt: what the app actually computes */
.receipt {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 24px 20px;
  font-variant-numeric: tabular-nums;
}
.receipt-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.receipt-head strong { color: var(--ink); font-weight: 700; }
.receipt dl { margin: 0; }
.receipt .line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.receipt dt { margin: 0; }
.receipt dt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.receipt dd { margin: 0; white-space: nowrap; }
.receipt .line.sale { font-weight: 700; }
.receipt .line.cost dd { color: var(--muted); }
.receipt .line.net { border-bottom: 0; padding-top: 14px; font-size: 22px; font-weight: 800; color: var(--green-deep); letter-spacing: -0.01em; }
.receipt-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.band { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0; }
.band h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.band > .wrap > p { margin: 0 0 32px; color: var(--muted); max-width: var(--measure); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 48px; margin: 0; padding: 0; list-style: none; }
.features h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }

.sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 48px; margin: 0; }
.sources div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sources dt { font-weight: 500; }
.sources dd { margin: 0; color: var(--muted); text-align: right; }

.price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.price p { margin: 0; }
.price .big { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

/* Legal and support pages */
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.doc-inner { max-width: 720px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.doc .updated { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.doc .intro { font-size: 19px; line-height: 1.55; margin: 0 0 32px; }
.doc h2 { margin: 44px 0 10px; font-size: 23px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.doc h3 { margin: 28px 0 6px; font-size: 18px; font-weight: 700; }
.doc p, .doc li { max-width: var(--measure); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--green-wash); border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }
.toc { margin: 0 0 8px; padding: 0; list-style: none; columns: 2 220px; column-gap: 32px; font-size: 15px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.contact-big { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 4px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; margin: 0 0 18px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { font-size: 14px; gap: 14px; }
  .nav .hide-sm { display: none; }
  .app-hero { grid-template-columns: minmax(0, 1fr); }
  .app-row { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .app-icon { width: 48px; height: 48px; }
  .app-row .status { grid-column: 2; justify-self: start; }
  .app-name { font-size: 20px; }
  .price { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .receipt { padding: 18px 16px 16px; }
}
