/* Ascent Vision. One type family (Schibsted Grotesk, self-hosted, SIL OFL: public/fonts/OFL-schibsted-grotesk.txt),
   ink on warm paper, one accent used only for actions. */
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/fonts/schibsted-grotesk-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #111418;
  --ink-2: #2a2f36;
  --muted: #5b626b;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --line: rgba(17, 20, 24, 0.14);
  --accent: #2557e8;
  --accent-bright: #5b86ff;
  --mint: #22c79a;
  --ink-deep: #0b1220;
  --accent-ink: #ffffff;
  --draft: #fff4c2;
  --font: 'Schibsted Grotesk', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.devbar { background: var(--draft); color: var(--ink); font-size: 0.85rem; text-align: center; padding: 6px var(--gutter); border-bottom: 1px solid var(--line); }

/* header / footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 1.15rem; margin: 0; }
.site-nav { display: flex; gap: 20px; margin-left: auto; font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 40px 0 24px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.95rem; }
.site-footer nav a { text-decoration: none; color: var(--ink-2); }
@media (max-width: 720px) {
  .site-header__inner { flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 16px; overflow-x: auto; }
  .site-header .btn { margin-left: auto; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #1b47c9; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 0.9rem; background: var(--accent); color: var(--accent-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arrow { font-weight: 700; }
.arrow::after { content: ' →'; }

/* sections */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 7vw, 80px); }
.hero h1 { max-width: 14ch; }
.page-head { padding: clamp(40px, 7vw, 80px) 0 16px; }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--snug { padding: clamp(36px, 5vw, 60px) 0; }
.section--tight { padding-top: 16px; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lead { color: rgba(244, 242, 236, 0.82); }
.section__title { margin-bottom: 20px; }
.split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.services li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); counter-increment: svc; }
.services li::before { content: counter(svc, decimal-leading-zero); display: block; font-weight: 700; color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; }
.services h3 a { text-decoration: none; }
.services h3 a:hover { text-decoration: underline; }
.services p { color: var(--ink-2); font-size: 1rem; margin: 0; }

.service { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.cta-box { margin-top: 40px; padding: 28px; background: var(--paper-2); border-radius: 12px; }

.entry { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 80px; }
.entry__meta { color: var(--muted); font-size: 0.95rem; margin-top: -0.3em; }

.founders { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 40px; }
.founder { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.founder h2 { font-size: 1.3rem; margin-bottom: 0.2em; }

.faqgroup { margin-bottom: 40px; scroll-margin-top: 80px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: 16px 0; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { display: inline; margin: 0; font-size: 1.05rem; }
.faq__item summary::after { content: '+'; float: right; font-weight: 700; }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { color: var(--ink-2); }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }

.draft-note { background: var(--draft); border: 1px dashed #b89b00; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; }

/* forms */
.form { display: grid; gap: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 750; font-size: 1.25rem; margin-bottom: 12px; }
.field { display: grid; gap: 6px; }
.field > span, .field > legend { font-weight: 600; font-size: 0.95rem; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: inherit; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(31, 91, 216, 0.18); }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-weight: 600; }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #eef3ff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.fine { font-size: 0.82rem; color: var(--muted); }
.form__error { color: #a3261b; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


/* ---- home v2 ------------------------------------------------------------------------------------------------- */
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink-deep); }
.btn--light { background: #fff; color: var(--ink-deep); }
.btn--light:hover { background: var(--paper); }

.hero2 {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(91, 134, 255, 0.32), transparent 60%),
    radial-gradient(700px 360px at -10% 110%, rgba(34, 199, 154, 0.16), transparent 60%),
    var(--ink-deep);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 84px);
  position: relative;
  overflow: hidden;
}
.hero2::before { /* faint grid, the only texture on the page */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero2__grid { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
.hero2 h1 { font-size: clamp(2.2rem, 4.4vw, 3.35rem); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 20px; }
.hero2 .hl { color: var(--accent-bright); display: block; }
.hero2 .lead { color: rgba(255, 255, 255, 0.78); max-width: 58ch; }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--mint); margin-bottom: 18px; }
@media (max-width: 900px) { .hero2__grid { grid-template-columns: 1fr; } }

.path { margin: 0; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 22px; backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.path__cap { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); font-weight: 700; margin-bottom: 14px; }
.path__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.path__steps::before { content: ''; position: absolute; left: 13px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--accent-bright), var(--mint)); opacity: 0.6; }
.path__step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; position: relative; }
.path__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; background: var(--ink-deep); border: 2px solid var(--accent-bright); color: #fff; }
.path__step--lead .path__n { border-color: var(--mint); }
.path__t { margin: 3px 0 8px; font-weight: 700; font-size: 0.98rem; }
.path__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.path__chips span { font-size: 0.78rem; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85); }
.path__page { background: #fff; border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; max-width: 260px; }
.path__page i { display: block; height: 6px; border-radius: 3px; background: #dfe3ea; }
.path__page .w80 { width: 80%; background: #b9c3d6; height: 8px; } .path__page .w60 { width: 60%; } .path__page .w70 { width: 70%; }
.path__page b { justify-self: start; margin-top: 4px; font-size: 0.7rem; background: var(--accent); color: #fff; padding: 4px 8px; border-radius: 5px; }
.lead-card { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 10px; padding: 10px 12px; font-size: 0.85rem; box-shadow: 0 0 0 3px rgba(34, 199, 154, 0.25); }
.lead-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(34, 199, 154, 0.2); }
.lead-card__k { font-weight: 700; }
.lead-card__m { color: var(--muted); font-size: 0.8rem; width: 100%; padding-left: 16px; }
.tag { font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.tag--mint { background: rgba(34, 199, 154, 0.15); color: #0b7a5d; }
@media (prefers-reduced-motion: no-preference) {
  .lead-card__dot { animation: ping 2.4s ease-out infinite; }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 199, 154, 0.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34, 199, 154, 0); } }
}

.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.head-row h2 { margin: 0; }
.head-row p { margin: 0; }

.pillars { display: grid; gap: 16px; grid-template-columns: 1.3fr 1fr 1fr; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s; }
.pillar:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(17, 20, 24, 0.35); }
.pillar--lead { background: linear-gradient(160deg, #eef3ff, #fff 55%); border-color: rgba(37, 87, 232, 0.28); }
.pillar__n { font-weight: 800; color: var(--accent); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 10px; }
.pillar h3 { font-size: 1.25rem; }
.pillar h3 a { text-decoration: none; }
.pillar h3 a:hover { text-decoration: underline; }
.pillar p { color: var(--ink-2); font-size: 1rem; }
.pillar .ticks { font-size: 0.95rem; margin-top: auto; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.section--ink { background: var(--ink-deep); }
.split--center { align-items: center; }
.channels { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.channels li { padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); font-weight: 700; color: rgba(255, 255, 255, 0.9); }
.channels li.is-hot { border-color: var(--mint); color: #fff; background: rgba(34, 199, 154, 0.14); }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: st; }
.steps3 li { counter-increment: st; border-top: 3px solid var(--accent); padding-top: 16px; }
.steps3 li::before { content: counter(st); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 0.9rem; margin-bottom: 10px; }
.steps3 p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }

.cta-band { background: linear-gradient(120deg, var(--accent), #1a3fb0); color: #fff; padding: clamp(32px, 5vw, 52px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band__inner > div { max-width: 640px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.cta-band a:not(.btn) { color: #fff; }
.site-footer { margin-top: 0; }
