@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root {
  --font: 'Schibsted Grotesk', system-ui, sans-serif;
  --void: #07080C;
  --ink: #0C0E14;
  --panel: #141820;
  --panel-2: #1B202A;
  --line: rgba(244, 241, 232, 0.12);
  --line-strong: rgba(244, 241, 232, 0.22);
  --paper: #F4F1EA;
  --paper-dim: #D8D2C6;
  --muted: #C4BEB2;
  --indigo: #5B74ED;
  --indigo-deep: #3452D4;
  --live: #7DCF9A;
  --expand: #E0B45A;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  --nav-h: 72px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--paper);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
button, a { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 200;
  background: var(--paper);
  color: var(--void);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.btn-solid {
  background: var(--paper);
  color: var(--void);
}
.btn-solid:hover { background: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(244,241,232,0.06); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: visible;
  background: transparent;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}
.nav-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.04em;
}
.brand svg { flex-shrink: 0; }

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-trigger:hover,
.nav-item.is-open .nav-trigger,
.nav-item:focus-within .nav-trigger {
  color: var(--paper);
  background: rgba(244,241,232,0.06);
}
.nav-trigger svg { opacity: 0.6; }

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(860px, 88vw);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.nav-item.is-open .mega,
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 18px;
}
.mega.mega-2 { width: min(640px, 88vw); }
.mega.mega-2 .mega-grid { grid-template-columns: 1fr 1fr; }
.mega.mega-company { width: min(420px, 88vw); left: auto; right: 0; transform: translateY(6px); }
.nav-item.is-open .mega.mega-company,
.nav-item:hover .mega.mega-company,
.nav-item:focus-within .mega.mega-company {
  transform: translateY(0);
}
.mega h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.mega a.row {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  margin: 0 -10px;
}
.mega a.row:hover { background: rgba(244,241,232,0.06); }
.mega a.row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mega a.row span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}
.pill-live { background: rgba(125,207,154,0.16); color: var(--live); }
.pill-soon { background: rgba(224,180,90,0.16); color: var(--expand); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,8,12,0.92) 0%, rgba(7,8,12,0.55) 46%, rgba(7,8,12,0.18) 100%),
    linear-gradient(180deg, rgba(7,8,12,0.15) 0%, rgba(7,8,12,0.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 80px;
  max-width: 720px;
  margin-left: max(24px, calc((100% - var(--wrap)) / 2));
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 16ch;
}
.hero .lede {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--paper-dim);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Stage / conversation */
.stage {
  padding: 88px 0 40px;
  border-top: 1px solid var(--line);
}
.stage-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  min-height: 520px;
}
.stage-frame video,
.stage-frame > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.stage-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,8,12,0.2) 30%, rgba(7,8,12,0.72) 100%);
}
.transcript {
  position: absolute;
  right: 28px;
  top: 28px;
  bottom: 28px;
  width: min(380px, 42%);
  background: rgba(12,14,20,0.82);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
}
.transcript-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.bubble small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.bubble-in { background: rgba(244,241,232,0.08); }
.bubble-out {
  margin-left: auto;
  background: rgba(91,116,237,0.22);
}
.lead-chip {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(125,207,154,0.28);
  background: rgba(125,207,154,0.08);
  font-size: 13px;
}
.lead-chip strong { display: block; font-size: 14px; }

.filmstrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.filmstrip figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 140px;
}
.filmstrip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.filmstrip figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(7,8,12,0.88));
  font-size: 12px;
  font-weight: 600;
}

/* Sections */
.section { padding: 88px 0; }
.section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 700;
  max-width: 18ch;
}
.section .dek {
  margin-top: 14px;
  max-width: 52ch;
  color: var(--paper-dim);
  font-size: 17px;
  line-height: 1.55;
}

.use-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.use-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  isolation: isolate;
}
.use-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.use-card .copy {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, transparent 20%, rgba(7,8,12,0.88) 100%);
}
.use-card h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.use-card p { color: var(--paper-dim); font-size: 14px; margin-top: 6px; max-width: 42ch; }
.use-stack {
  display: grid;
  gap: 16px;
}
.use-mini {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 132px;
}
.use-mini img { width: 100%; height: 100%; object-fit: cover; }
.use-mini .copy { padding: 16px 16px 16px 0; display: flex; flex-direction: column; justify-content: center; }
.use-mini h3 { font-size: 16px; letter-spacing: -0.02em; }
.use-mini p { color: var(--muted); font-size: 13px; margin-top: 4px; }

.health {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  background: var(--panel);
}
.health img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.health .copy { padding: 40px 36px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.health h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.health ul { margin-top: 20px; list-style: none; display: grid; gap: 10px; color: var(--paper-dim); }
.health li { padding-left: 16px; position: relative; }
.health li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--expand);
}

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.how article {
  padding: 28px 24px 32px;
  border-top: 1px solid var(--line-strong);
}
.how h3 { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 10px; }
.how p { color: var(--muted); font-size: 15px; max-width: 36ch; }

.close {
  padding: 100px 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.close h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 14ch;
}
.close .hero-actions { margin-top: 28px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #05060A;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer .brand { margin-bottom: 12px; }
.footer p { color: var(--muted); font-size: 14px; max-width: 32ch; line-height: 1.55; }
.footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 14px;
}
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--paper); }
.footer-base {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.legal-main {
  width: min(760px, calc(100% - 48px));
  margin: 48px auto 96px;
}
.legal-main h1 { font-size: 2.4rem; letter-spacing: -0.04em; margin-bottom: 8px; }
.legal-main .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal-main h2 { font-size: 1.15rem; margin: 32px 0 10px; letter-spacing: -0.02em; }
.legal-main p, .legal-main li { color: var(--paper-dim); font-size: 15px; line-height: 1.65; }
.legal-main ul, .legal-main ol { padding-left: 1.2rem; margin: 8px 0 16px; }
.legal-main a { color: var(--indigo); }
.legal-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}
.legal-main h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal-main .legal-meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.legal-table th, .legal-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--paper-dim);
}
.legal-table th { background: var(--panel); color: var(--paper); font-weight: 600; }
.legal-box.notice { border-color: rgba(91, 116, 237, 0.45); }

@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--void);
    padding: 16px 20px 40px;
    overflow: auto;
    z-index: 70;
    align-items: stretch;
    justify-content: flex-start;
  }
  .mega, .mega.mega-company {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: 1px solid var(--line);
    margin-top: 6px;
  }
  .nav-item.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .hero-inner { margin-left: auto; padding: 48px 0 56px; }
  .transcript {
    position: relative;
    right: auto; top: auto; bottom: auto;
    width: auto;
    margin: 16px;
  }
  .stage-frame { min-height: 0; }
  .stage-frame video, .stage-frame > img { height: 280px; }
  .stage-scrim { display: none; }
  .filmstrip { grid-template-columns: 1fr 1fr; }
  .use-grid, .health, .how, .footer-grid { grid-template-columns: 1fr; }
  .use-mini { grid-template-columns: 96px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media video { display: none; }
  .mega { transition: none; }
}
