/* Usage Meter landing page. Design language: light sketchpad canvas, scattered image cards,
   one oversized wordmark, mono labels, and a single filled (ink) button. No shadows. */
:root {
  --ink: #141414;
  --paper: #ffffff;
  --canvas: #f5f5f5;
  --mist: #e9e9e9;
  --hairline: #d9d9d9;
  --green: #30a81d;
  --yellow: #fecc33;

  --display: 'Schibsted Grotesk', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --body: Arial, Helvetica, system-ui, sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  background-color: var(--canvas);
  background-image: linear-gradient(var(--hairline) 1px, transparent 1px), linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 47px); line-height: 1.16; text-wrap: balance; }
mark { background: var(--yellow); color: inherit; border-radius: 25px; padding: 0 .28em; margin: 0 -.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* mono micro-voice: nav, labels, captions, buttons */
.nav, .eyebrow, figcaption, .btn, .lozenge-text, .foot, .rules span, .th {
  font-family: var(--mono); font-size: 12px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow { text-align: center; line-height: 1.5; }
.eyebrow.left { text-align: left; margin-bottom: 20px; }

.btn {
  display: inline-block; background: var(--ink); color: var(--paper); border: 0; border-radius: 8px;
  padding: 10px 20px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: #2e2e2e; }
.btn.big { font-size: 15px; padding: 16px 24px; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: 32px; padding: 24px var(--gutter); }
.nav a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { border-radius: 6px; }
.links { display: flex; gap: 28px; }
.links a { padding: 6px 0; }
.links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.status { display: flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- hero ---------- */
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(40px, 6vw, 80px); }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(76px, 15vw, 230px); line-height: .86; letter-spacing: -0.02em; }
.tagline { font-size: clamp(20px, 2.3vw, 32px); line-height: 1.22; text-align: right; padding-bottom: .5em; }

/* ---------- board: scattered cards with the download lozenge through the middle ---------- */
.board { padding: 0 var(--gutter); }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--gutter); }
.card img { width: 100%; border-radius: 16px; border: 1px solid var(--hairline); background: var(--mist); }
figcaption { margin-top: 12px; }
.c-rest { width: 19%; margin-top: 56px; }
.c-hover { width: 39%; }
.c-settings { width: 22%; margin-top: 110px; margin-right: 3%; }
.c-top { width: 37%; margin-left: 4%; }
.c-colors { width: 23%; margin-top: 88px; }
.c-laptop { width: 25%; margin-top: 24px; }

.lozenge {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 760px; margin: 56px auto; padding: 12px 12px 12px 28px;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 160px;
}
.lozenge-text { font-size: 15px; line-height: 1.4; }

/* ---------- logo strip ---------- */
.strip { padding: var(--section) var(--gutter) 0; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px clamp(28px, 5vw, 72px); margin-top: 36px; }
.strip li { display: flex; align-items: center; gap: 12px; font: 500 21px/1 var(--display); letter-spacing: -0.02em; }
.strip svg { width: 26px; height: 26px; }

/* ---------- split sections: heading on the left, ruled list on the right ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 100px); padding: var(--section) var(--gutter) 0; align-items: start; }
.split-head > p:not(.eyebrow) { margin-top: 24px; max-width: 44ch; }
.split-head .btn { margin-top: 32px; }
.rules { list-style: none; border-top: 1px solid var(--ink); }
.rules li { display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 7fr); gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.rules h3 { font-size: 21px; line-height: 1.1; }

.code { position: relative; margin-top: 32px; padding: 20px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; }
.code pre { font: 400 13px/1.7 var(--mono); overflow-x: auto; padding-bottom: 4px; }
.code .btn { position: absolute; top: 12px; right: 12px; }

/* ---------- tools table ---------- */
.tools { padding: var(--section) var(--gutter) 0; }
.table { margin-top: 40px; border-top: 1px solid var(--ink); }
.tr { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.tr h3 { font-size: 27px; line-height: 1; }
.th { padding: 12px 0; }

/* ---------- privacy ---------- */
.privacy { margin: var(--section) var(--gutter) 0; padding: clamp(24px, 4vw, 52px); background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; }
.big-copy { font-size: clamp(21px, 2.6vw, 32px); line-height: 1.2; max-width: 50ch; margin-bottom: 24px; }
.privacy a { text-underline-offset: 3px; }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: var(--section) var(--gutter) 40px; line-height: 1.5; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- narrower screens ---------- */
@media (max-width: 900px) {
  .links, .status { display: none; }
  .hero { flex-direction: column; align-items: flex-start; }
  .tagline { text-align: left; padding-bottom: 0; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .tr { grid-template-columns: minmax(0, 1fr); }
  .th { display: none; }
}
@media (max-width: 640px) {
  .row { flex-wrap: wrap; gap: 24px 16px; }
  .c-rest { width: 38%; margin-top: 32px; }
  .c-hover { width: calc(62% - 16px); }
  .c-settings { width: 62%; margin: 0 0 0 auto; }
  .c-top { width: 100%; margin-left: 0; }
  .c-colors { width: calc(52% - 16px); margin-top: 28px; }
  .c-laptop { width: 48%; margin-top: 0; }
  .lozenge { margin: 40px auto; padding-left: 20px; }
  .lozenge .opt { display: none; }
  .rules li { grid-template-columns: 36px minmax(0, 1fr); }
  .rules p { grid-column: 2; }
  .code .btn { position: static; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
