
:root {
  --paper: #FFFFFF;
  --mist: #F5F7FA;
  --ink: #2A2018;
  --sand: #F5E9D7;
  --glow: #FAE4CF;
  --umber: #7C430F;
  --signal: #0071E3;
  --signal-ink: #0066CC;
  --display: "Schibsted Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  --ui: "Hanken Grotesk", system-ui, sans-serif;
  /* Hairline veils — alpha steps of the ink token via color-mix; no new
     color originates here. */
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 28%, transparent);
  --highlight: color-mix(in srgb, var(--signal) 13%, transparent);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--signal); color: var(--paper); }

img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* --- Type ---------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.5vw, 68px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
/* The HIGHLIGHTER: accent words carry a signal-tinted swipe, cloned
   across line wraps. On ink grounds the tint deepens so the swipe reads
   behind paper text. */
.accent {
  font-style: normal;
  background: var(--highlight);
  border-radius: 4px;
  padding: 0 4px;
  margin: 0 -4px 0 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 56ch; }
.eyebrow {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--signal);
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn.fill { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.btn.fill:hover { transform: translateY(-2px); }
.btn:not(.fill):hover { border-color: var(--ink); background: var(--mist); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

/* --- Nav ----------------------------------------------------------------- */

.mk-nav { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.mk-nav .wrap { display: flex; align-items: center; gap: 8px; min-height: 72px; }
.wordmark { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--ink); text-decoration: none; margin-right: 16px; }
.mk-nav a:not(.wordmark):not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 12px; color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 16px;
}
.mk-nav a:not(.wordmark):not(.btn):hover { color: var(--signal-ink); }
.mk-nav .push { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (max-width: 720px) { .mk-nav .hide-sm { display: none; } }

/* --- Hero ---------------------------------------------------------------- */

.hero { padding: 64px 0 64px; }
.hero .wrap { display: grid; gap: 32px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .proof { font-size: 15px; opacity: 0.75; }

/* --- Sections ------------------------------------------------------------ */

section { padding: 64px 0; }
section.tight { padding: 48px 0; }
/* Highlight bands: the mist sections that give the white page its rhythm. */
section.band { background: var(--mist); }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 40px; }

.rule { border: none; border-top: 1px solid var(--line); margin: 0; }

/* --- Bento grid (the signature) ------------------------------------------ */

.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.tile {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--paper);
}
.band .tile { border-color: transparent; }
.tile.span-2 { grid-column: span 2; }
.tile.span-3 { grid-column: span 3; }
.tile.span-4 { grid-column: span 4; }
.tile.span-6 { grid-column: span 6; }

.tile.signal { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.tile.signal h3 { color: var(--paper); }
.tile.cocoa { background: var(--cocoa); border-color: var(--cocoa); color: var(--paper); }
.tile .tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-block; padding: 4px 12px;
  border: 1.5px solid currentColor; border-radius: 999px; justify-self: start;
}
.tile p { font-size: 15.5px; line-height: 1.5; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.span-2, .tile.span-3, .tile.span-4 { grid-column: span 2; }
  .tile.span-6 { grid-column: span 2; }
}

/* --- Three-up columns ---------------------------------------------------- */

.three-up { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.three-up .col {
  display: grid; gap: 12px; align-content: start;
  background: var(--sand);
  border-radius: 20px;
  padding: 24px;
  border-top: 3px solid var(--signal);
}
.three-up .col:nth-child(even) { background: var(--glow); }
@media (max-width: 900px) { .three-up { grid-template-columns: 1fr; } }

/* --- Channels wall ------------------------------------------------------- */

.channels { display: flex; flex-wrap: wrap; gap: 12px; }
.channel-chip {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-size: 20px; font-weight: 600;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 12px 24px;
  color: var(--ink); text-decoration: none; background: var(--paper);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
a.channel-chip:hover { background: var(--glow); border-color: var(--umber); color: var(--umber); }

/* --- Pricing ------------------------------------------------------------- */

.plans { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan {
  background: var(--sand);
  border: none; border-radius: 20px;
  padding: 32px 24px; display: grid; gap: 16px; align-content: start;
}
.plan.featured {
  background: var(--glow);
  border: 2px solid var(--signal);
}
.plan-name { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--umber); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15.5px; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--signal); font-weight: 700; }
.plan .btn { justify-self: start; }
.plan.featured .btn { background: var(--signal); border-color: var(--signal); color: var(--paper); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* --- FAQ ----------------------------------------------------------------- */

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 16px 0;
  font-family: var(--display); font-size: 20px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ui); font-size: 24px; color: var(--signal-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; max-width: 60ch; }

/* --- Prose (legal/long-form) --------------------------------------------- */

.prose { max-width: 68ch; display: grid; gap: 12px; }
.prose h3 { margin-top: 24px; }
.prose h3:first-child { margin-top: 0; }
.prose p { line-height: 1.6; }

/* --- CTA band + footer --------------------------------------------------- */

/* The closing band is WARM LIGHT (no dark surfaces anywhere — product-
   owner direction 2026-08-05): glow ground, umber display voice, the blue
   pill as the only strong element. */
.cta-band { background: var(--glow); }
.cta-band .wrap { display: grid; gap: 24px; justify-items: start; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: var(--umber); }
.cta-band .btn.fill { background: var(--signal); border-color: var(--signal); color: var(--paper); }

.mk-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.mk-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; font-size: 14px; }
.mk-footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-footer a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }

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