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

:root {
  --paper: #f7f8f6;
  --sheet: #ffffff;
  --ink: #16202a;
  --ink-2: #3e4a55;
  --ink-3: #66727d;
  --rule: #d6dce0;
  --rule-soft: #e7ebed;
  --cobalt: #2440d0;
  --cobalt-ink: #ffffff;
  --cobalt-wash: #eaedfb;
  --ok: #1d7a4c;
  --ok-wash: #e4f2ea;
  --beta: #a86400;
  --beta-wash: #fbf0dd;
  --dev: #66727d;
  --dev-wash: #eceff1;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --wide: 76rem;
  --gutter: clamp(1rem, 3vw, 2rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12171c;
    --sheet: #181f25;
    --ink: #e9edf0;
    --ink-2: #bcc5cc;
    --ink-3: #8d99a3;
    --rule: #2c363f;
    --rule-soft: #222b33;
    --cobalt: #8ea2ff;
    --cobalt-ink: #0d1430;
    --cobalt-wash: #1d2550;
    --ok: #6fd3a0;
    --ok-wash: #173326;
    --beta: #f0b45a;
    --beta-wash: #3a2a10;
    --dev: #a3aeb7;
    --dev-wash: #262f37;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--cobalt); color: var(--cobalt-ink); }
img { max-width: 100%; height: auto; }

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

/* Masthead */
.mast { background: var(--sheet); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.mast .wrap { display: flex; align-items: center; gap: 2rem; min-height: 3.5rem; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 0.55rem; }
.brand svg { width: 1.35rem; height: 1.35rem; }
.mast nav { display: flex; gap: 1.4rem; flex: 1; flex-wrap: wrap; }
.mast nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.2rem 0; border-bottom: 2px solid transparent; }
.mast nav a:hover { color: var(--ink); }
.mast nav a[aria-current] { color: var(--ink); border-bottom-color: var(--cobalt); }
.mast .signin { font-weight: 600; font-size: 0.95rem; text-decoration: none; }
@media (max-width: 640px) { .mast .wrap { gap: 0.6rem 1.2rem; padding-top: 0.6rem; padding-bottom: 0.6rem; } .mast nav { order: 3; flex-basis: 100%; gap: 1rem; } }

/* Type */
h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; max-width: 22ch; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.quiet { color: var(--ink-3); }
.small { font-size: 0.875rem; }

/* Sections */
.band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--rule); }
.band.sheet { background: var(--sheet); }
.band > .wrap > h2 { margin-bottom: 0.4rem; }
.band > .wrap > h2 + p { color: var(--ink-2); margin-bottom: 2rem; }

/* Home: opening */
.open h1 { margin-bottom: 1.25rem; }
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 2.5rem; }
.tally div { padding: 0.9rem 1rem 0.2rem 0; border-right: 1px solid var(--rule); }
.tally div + div { padding-left: 1rem; }
.tally div:last-child { border-right: 0; }
.tally b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tally span { color: var(--ink-2); font-size: 0.9rem; }
@media (max-width: 700px) { .tally { grid-template-columns: 1fr 1fr; } .tally div:nth-child(2) { border-right: 0; } .tally div:nth-child(3) { padding-left: 0; } .tally div:nth-child(n+3) { border-top: 1px solid var(--rule); } }

/* Index: every product, one table */
.index { width: 100%; border-collapse: collapse; }
.index caption { text-align: left; font-weight: 750; font-size: 1.15rem; padding: 2.2rem 0 0.6rem; letter-spacing: -0.01em; }
.index caption small { font-weight: 400; color: var(--ink-3); font-size: 0.9rem; margin-left: 0.5rem; }
.index th, .index td { text-align: left; vertical-align: baseline; padding: 0.62rem 1rem 0.62rem 0; border-top: 1px solid var(--rule); }
.index thead th { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); border-top: 2px solid var(--ink); padding-top: 0.5rem; padding-bottom: 0.5rem; }
.index td.name { width: 11rem; font-weight: 700; }
.index td.name a { color: var(--ink); text-decoration: none; }
.index td.name a:hover { color: var(--cobalt); text-decoration: underline; }
.index td.line { color: var(--ink-2); }
.index td.num { text-align: right; width: 6.5rem; white-space: nowrap; }
.index td.state { width: 6rem; padding-right: 0; }
.index tr:hover td { background: var(--rule-soft); }
@media (max-width: 760px) {
  .index thead { display: none; }
  .index tr { display: grid; grid-template-columns: 1fr auto; padding: 0.7rem 0; border-top: 1px solid var(--rule); }
  .index td { border: 0; padding: 0.1rem 0; width: auto !important; }
  .index td.line { grid-column: 1 / -1; order: 3; }
  .index td.num { display: none; }
}

.index td.num { font-variant-numeric: tabular-nums; }

.index thead th.num { text-align: right; }
a.plainlink { color: inherit; text-decoration: none; }
a.plainlink:hover { color: var(--cobalt); }
.against { color: var(--ink-3); font-weight: 400; font-size: 1rem; }

/* Status marks */
.mark { display: inline-block; font-size: 0.78rem; font-weight: 650; padding: 0.08rem 0.45rem; border-radius: 3px; line-height: 1.5; white-space: nowrap; }
.mark.live, .mark.shipped { color: var(--ok); background: var(--ok-wash); }
.mark.beta { color: var(--beta); background: var(--beta-wash); }
.mark.dev, .mark.planned { color: var(--dev); background: var(--dev-wash); }

/* Datasheet */
.sheet-head { padding: clamp(2rem, 5vw, 3.5rem) 0 2rem; border-bottom: 1px solid var(--rule); background: var(--sheet); }
.crumbs { font-size: 0.875rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-3); }
.sheet-head h1 { margin-bottom: 0.9rem; }
.sheet-head .meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; align-items: center; margin-top: 1.4rem; font-size: 0.92rem; color: var(--ink-2); }
.button { display: inline-block; background: var(--cobalt); color: var(--cobalt-ink); font-weight: 650; text-decoration: none; padding: 0.6rem 1.05rem; border-radius: 4px; }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--rule); }

.ds { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; padding: 2.5rem 0 4rem; }
.ds nav.toc { position: sticky; top: 5rem; align-self: start; font-size: 0.9rem; }
.ds nav.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.ds nav.toc a { display: block; padding: 0.3rem 0 0.3rem 0.9rem; color: var(--ink-2); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.ds nav.toc a:hover { color: var(--ink); border-left-color: var(--ink-3); }
@media (max-width: 900px) { .ds { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .ds nav.toc { display: none; } }
.ds section { padding-bottom: 2.8rem; scroll-margin-top: 5rem; }
.ds section > h2 { font-size: 1.35rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--ink); margin-bottom: 1rem; }
.ds .summary p { font-size: 1.07rem; }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--rule); }
.spec th { width: 30%; font-weight: 600; color: var(--ink); }
.spec td { color: var(--ink-2); }
@media (max-width: 600px) { .spec th, .spec td { display: block; width: auto; padding: 0.15rem 0; border: 0; } .spec tr { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); } }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.figures div { padding: 1rem 1rem 1.1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.figures b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 0.35rem; }
.figures span { color: var(--ink-2); font-size: 0.9rem; line-height: 1.4; display: block; }

/* Feature ledger */
.ledger { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; font-size: 0.95rem; }
.ledger caption { text-align: left; font-weight: 700; padding: 0.6rem 0; font-size: 1.02rem; }
.ledger caption small { color: var(--ink-3); font-weight: 400; margin-left: 0.4rem; }
.ledger td { padding: 0.55rem 0.9rem 0.55rem 0; border-top: 1px solid var(--rule); vertical-align: baseline; }
.ledger td.f { font-weight: 600; width: 28%; }
.ledger td.d { color: var(--ink-2); }
.ledger td.s { width: 5.5rem; }
.ledger td.v { width: 6.4rem; color: var(--ink-3); font-size: 0.82rem; white-space: nowrap; text-align: right; padding-right: 0; }
@media (max-width: 700px) { .ledger tr { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--rule); padding: 0.5rem 0; } .ledger td { border: 0; padding: 0.1rem 0; width: auto !important; } .ledger td.d { grid-column: 1 / -1; } .ledger td.v { display: none; } }
details.more summary { cursor: pointer; color: var(--cobalt); font-weight: 600; padding: 0.4rem 0; }

/* Comparison */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--sheet); }
.cmp { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: 0.93rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule); }
.cmp thead th { border-bottom: 2px solid var(--ink); font-weight: 700; background: var(--sheet); }
.cmp thead th.hoq { color: var(--cobalt); }
.cmp tbody th { font-weight: 600; width: 18%; }
.cmp td.hoq { background: var(--cobalt-wash); color: var(--ink); }
.cmp td { color: var(--ink-2); }
.cmp sup a { text-decoration: none; font-size: 0.75rem; margin-left: 0.15rem; }
.sources { font-size: 0.82rem; color: var(--ink-3); margin-top: 0.8rem; padding-left: 1.4rem; }
.sources li { margin: 0.15rem 0; word-break: break-word; }
.sources a { color: var(--ink-3); }

/* Lists */
.pairs { list-style: none; padding: 0; margin: 0; }
.pairs li { padding: 0.65rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; }
.pairs li b a { color: var(--ink); }
@media (max-width: 600px) { .pairs li { grid-template-columns: 1fr; gap: 0.1rem; } }
.plain { padding-left: 1.2rem; margin: 0; }
.plain li { margin: 0.3rem 0; color: var(--ink-2); }

/* Platform blocks on home */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.cols > div { padding: 1.1rem 1.5rem 1.2rem 0; border-bottom: 1px solid var(--rule); }
.cols h3 { margin-bottom: 0.4rem; }
.cols p { color: var(--ink-2); margin: 0; font-size: 0.95rem; }

/* Footer */
footer.foot { padding: 2.5rem 0 3rem; font-size: 0.9rem; color: var(--ink-3); }
footer.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
footer.foot ul { list-style: none; margin: 0; padding: 0; }
footer.foot li { margin: 0.25rem 0; }
footer.foot a { color: var(--ink-2); text-decoration: none; }
footer.foot a:hover { text-decoration: underline; }
@media (max-width: 700px) { footer.foot .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .mast, nav.toc, footer.foot { display: none; } .ds { display: block; } body { background: #fff; } }
