/* Layout: left-aligned, transcript-like. Timecodes and speaker colours are the visual system; cards only for product mockups. */
:root {
  --paper: #f5f6f3;
  --surface: #ffffff;
  --ink: #0f1515;
  --muted: #56615e;
  --faint: #8a9491;
  --line: #dde2dd;
  --accent: #0b7a5a;
  --accent-soft: #e2f1eb;
  --live: #e5484d;
  --s1: #2f6fdb;
  --s2: #c97a10;
  --s3: #8a4fd8;
  --s4: #0b8a62;
  --shadow: 0 1px 0 rgba(15, 21, 21, 0.04), 0 24px 60px -28px rgba(15, 21, 21, 0.28);
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1111; --surface: #131a1a; --ink: #e8eeec; --muted: #9aa6a3; --faint: #6c7875;
    --line: #233030; --accent: #3ccf9b; --accent-soft: #12302a; --live: #ff6369;
    --s1: #6b9cf0; --s2: #e6a243; --s3: #b28cf0; --s4: #3ccf9b;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 24px 60px -28px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1111; --surface: #131a1a; --ink: #e8eeec; --muted: #9aa6a3; --faint: #6c7875;
  --line: #233030; --accent: #3ccf9b; --accent-soft: #12302a; --live: #ff6369;
  --s1: #6b9cf0; --s2: #e6a243; --s3: #b28cf0; --s4: #3ccf9b;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 24px 60px -28px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 18px; } }
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.04em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; }
.header-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.header-nav a { color: var(--muted); }
.header-nav a:hover { color: var(--ink); text-decoration: none; }
.header-nav .mail { color: var(--paper); background: var(--ink); padding: 7px 16px; border-radius: 6px; font-weight: 600; }
.header-nav .mail:hover { color: var(--paper); opacity: 0.88; }
@media (max-width: 720px) { .header-nav .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding-block: 72px 96px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, color-mix(in srgb, var(--line) 55%, transparent) 39px 40px);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
.hero-copy { min-width: 0; }
.hero .label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero .label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 70px); font-weight: 800; line-height: 1.0; letter-spacing: -0.045em;
  margin: 0 0 24px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.ask { display: inline-flex; align-items: baseline; gap: 10px; font-size: 16px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.ask a { font-family: var(--mono); font-size: 15px; font-weight: 500; }
@keyframes pulse { 50% { opacity: 0.3; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }

/* Live call card */
.call {
  min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden; animation: rise 0.8s 0.15s cubic-bezier(.2,.7,.2,1) both;
}
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.call-top b { font-family: var(--display); font-weight: 700; }
.call-top .rec { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.call-top .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
.person {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: 8px; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 16%, var(--surface));
  border: 2px solid transparent; transition: border-color 0.3s;
}
.person .av { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: clamp(11px, 1.3vw, 15px); }
.person span { position: absolute; left: 6px; bottom: 4px; font-size: 11px; font-weight: 600; color: var(--ink); }
.person.on { border-color: var(--c); }
.person.on .av { animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); } to { box-shadow: 0 0 0 10px transparent; } }

.tape { padding: 6px 16px 14px; height: 268px; overflow: hidden; position: relative; }
.tape::before { content: ""; position: absolute; inset: 0 0 auto; height: 36px; background: linear-gradient(var(--surface), transparent); z-index: 1; }
.tape-inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; gap: 2px; }
.tl { display: grid; grid-template-columns: 52px 74px minmax(0, 1fr); gap: 8px; padding: 7px 0; font-size: 14.5px; line-height: 1.45; border-bottom: 1px dashed var(--line); }
.tl:last-child { border-bottom: 0; }
.tl time { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 2px; font-variant-numeric: tabular-nums; }
.tl .who { font-weight: 700; color: var(--c); font-size: 13.5px; }
.tl p { margin: 0; min-width: 0; }
.tl.new { animation: rise 0.45s ease both; }
.tl.typing p::after { content: "▍"; color: var(--c); animation: pulse 0.9s steps(1) infinite; margin-left: 1px; }
@media (max-width: 520px) { .tl { grid-template-columns: 44px minmax(0, 1fr); } .tl .who { grid-column: 2; } .tl p { grid-column: 2; } .tl time { grid-row: 1; } }

/* ---------- Sections ---------- */
.section { padding-block: 104px; border-bottom: 1px solid var(--line); }
.head { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px; margin-bottom: 56px; }
@media (max-width: 860px) { .head { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 40px; } }
.head .label { padding-top: 12px; }
.head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; margin: 0; max-width: 16em; }
.head p { color: var(--muted); margin: 16px 0 0; max-width: 36em; }

/* Built into the call: three ruled columns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cols > div { padding: 28px 28px 8px 0; min-width: 0; }
.cols > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols > div, .cols > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
.cols h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.cols p { margin: 0; color: var(--muted); }
.demo { margin-top: 22px; font-size: 14px; }
.who-lines { display: flex; flex-direction: column; gap: 6px; }
.who-lines div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.who-lines b { color: var(--c); font-weight: 700; }
.who-lines span { color: var(--muted); }
.flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; }
.flow span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.flow .on { color: var(--ink); border-color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.flow .on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.flow i { font-style: normal; color: var(--faint); }
.stack { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 12.5px; }
.stack span { padding: 4px 10px; border-radius: 6px; background: var(--accent-soft); color: var(--ink); }

/* Agents */
.agents { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .agents { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.steps h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.015em; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.chat { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.chat-head b { color: var(--ink); }
.chat-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.chat-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.q { align-self: flex-end; max-width: 85%; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 12px 12px 3px 12px; }
.call-tool { align-self: flex-start; font-family: var(--mono); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
.call-tool b { color: var(--ink); font-weight: 500; }
.call-tool .ok { color: var(--accent); }
.a { max-width: 95%; }
.a ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.a li { margin-bottom: 3px; }
.refs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.refs span { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }

/* Screen context (coming soon) */
.screen {
  margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center;
  padding: 40px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 16px;
  background: color-mix(in srgb, var(--accent-soft) 45%, transparent);
}
@media (max-width: 960px) { .screen { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 28px 22px; } }
.soon { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 10px; margin-bottom: 14px; }
.screen h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
.screen p { margin: 0; color: var(--muted); }
.player { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.frame { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 18px; background: color-mix(in srgb, var(--paper) 70%, var(--surface)); border-bottom: 1px solid var(--line); }
.slide-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.slide-title { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.slide-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hbars { display: flex; flex-direction: column; gap: 9px; }
.hb { display: grid; grid-template-columns: 92px minmax(0, 1fr) 28px; gap: 10px; align-items: center; font-size: 13.5px; }
.hb span { color: var(--muted); white-space: nowrap; }
.hb .bar { height: 14px; }
.hb .bar i { display: block; height: 100%; border-radius: 0 3px 3px 0; background: color-mix(in srgb, var(--s1) 55%, var(--line)); }
.hb b { font-family: var(--mono); font-weight: 500; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.hb.top span, .hb.top b { color: var(--ink); font-weight: 600; }
.hb.top .bar i { background: var(--accent); }
.scrub { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.track { position: relative; height: 6px; border-radius: 3px; background: var(--line); }
.track .clip { position: absolute; left: 58%; width: 6%; top: -3px; bottom: -3px; border-radius: 3px; background: var(--accent); }
.scrub-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.scrub-meta b { color: var(--ink); font-weight: 500; }
.said { display: flex; flex-direction: column; gap: 10px; padding: 2px 14px 16px; font-size: 14px; }
.said-row { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.said-row p { margin: 0; color: var(--muted); }
.said-row b { color: var(--s2); }
.said .tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.said .tag.on { color: var(--accent); }
.said-row:last-child p { color: var(--ink); }
@media (max-width: 520px) { .said-row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* What it does: ruled list */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--ink); }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }
.feature { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.feature h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.feature p { margin: 0; color: var(--muted); }

/* Platforms */
.platforms { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; }
.platforms h3 { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.platforms h3 span { color: var(--faint); font-weight: 400; margin-left: 40px; }
.platforms .soon { margin: 0; align-self: center; }

/* Contact */
.contact { padding-block: 104px 120px; }
.contact .label { margin-bottom: 18px; display: block; }
.contact a.big {
  display: inline-block; font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(36px, 7.4vw, 96px); color: var(--ink); overflow-wrap: anywhere;
  border-bottom: 3px solid var(--accent); padding-bottom: 8px;
}
.contact a.big:hover { color: var(--accent); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { padding-block: 64px 96px; max-width: 720px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 8px; }
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 40px 0 10px; letter-spacing: -0.015em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
