:root {
  --paper: #F6F7F5;
  --ink: #1D2C2F;
  --muted: #5D6A6C;
  --line: #DADFDC;
  --blue: #2340B8;
  --blue-soft: #E7EBFA;
  --field: #ECEFEC;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

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

/* Header */
header.site { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.mark { width: 14px; height: 14px; border: 2px solid var(--blue); border-radius: 50%; position: relative; }
.mark::after { content: ""; position: absolute; inset: 3px; background: var(--blue); border-radius: 50%; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 0.9688rem; }
nav a:hover { color: var(--ink); background: var(--field); }
nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Hero */
.hero { padding-top: clamp(72px, 13vw, 168px); padding-bottom: clamp(64px, 10vw, 128px); }
.hero.short { padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(32px, 5vw, 56px); }
h1 {
  font-size: clamp(2.5rem, 6.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 28px;
  max-width: 15ch;
}
.hero.short h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 40em; margin: 0; }
.hero .lead { max-width: 36em; }

.actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 40px 0 0; }
.btn {
  display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 1rem;
  transition: background .2s ease;
}
.btn:hover { background: var(--blue); }
.link { font-weight: 500; }

/* Sections */
.block { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.block::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.section-title { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0 0 32px; letter-spacing: -0.005em; }
.measure { max-width: 38em; margin: 0; font-size: 1.1875rem; line-height: 1.6; }
.big { font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 20px; max-width: 18ch; }

/* Rows: name left, description right */
.rows { margin: 0; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.row dt { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.row dd { margin: 0; color: var(--muted); max-width: 38em; }
.row dd p { margin: 0 0 12px; }
.row dd p:last-child { margin-bottom: 0; }

/* Split: text and specimen */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split p { max-width: 34em; }

/* The label specimen */
.specimen {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px 24px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(29, 44, 47, .35);
  transform: rotate(-1deg);
}
.label-head { margin: 0 0 8px; font-weight: 700; font-size: .875rem; letter-spacing: .02em; }
.label-text { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--ink); }
.specimen mark {
  background: none; color: var(--blue); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--blue);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.specimen figcaption { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .9375rem; }

/* Lists and facts */
.plain { padding-left: 1.1em; margin: 0 0 16px; max-width: 36em; }
.plain li { margin: 0 0 10px; }
.plain li::marker { color: var(--blue); }
.status { color: var(--muted); }
.note { background: var(--field); border-radius: 10px; padding: 18px 22px; max-width: 40em; margin: 40px 0 0; color: var(--ink); }

.facts { margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; max-width: 900px; }
.facts > div { padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9375rem; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; }

.prose { max-width: calc(38em + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.prose h2 { font-size: 1.3125rem; letter-spacing: -0.015em; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 0; padding: 56px 0 40px; color: var(--muted); font-size: .9375rem; }
.foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot p { margin: 0 0 6px; }
.foot-name { color: var(--ink); font-weight: 600; }
footer .small { margin-top: 40px; font-size: .875rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

/* One orchestrated moment: the hero settles in */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero .actions, .hero-panel h1, .hero-panel .lead, .hero-panel .actions { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .lead, .hero-panel .lead { animation-delay: .08s; }
  .hero .actions, .hero-panel .actions { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 760px) {
  .row, .split, .facts, .foot { grid-template-columns: 1fr; }
  .row { gap: 8px; }
  .specimen { transform: none; }
  .bar { padding-top: 12px; padding-bottom: 12px; }
  nav { margin-left: -12px; }
}

/* ---------- v2: hero panel, tiles, capabilities, steps ---------- */
:root { --b2b: #DCE3FF; --b2c: #D9F0E1; --blue-deep: #1B2F8F; }

.hero-wrap { padding-top: 24px; }
.hero-panel {
  background: var(--blue);
  background-image: radial-gradient(120% 90% at 100% 0%, #3355D9 0%, rgba(51,85,217,0) 55%), radial-gradient(90% 80% at 0% 100%, var(--blue-deep) 0%, rgba(27,47,143,0) 60%);
  color: #fff;
  border-radius: 28px;
  padding: clamp(48px, 9vw, 120px) clamp(28px, 6vw, 80px) clamp(44px, 7vw, 88px);
  overflow: hidden;
}
.hero-panel h1 { color: #fff; font-size: clamp(2.75rem, 7.6vw, 6.25rem); line-height: .98; letter-spacing: -0.045em; max-width: 13ch; margin: 0 0 32px; }
.hero-panel .lead { color: rgba(255,255,255,.82); max-width: 34em; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.link-light { color: #fff; font-weight: 500; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tiles::before { display: none; }
.tile { border-radius: 24px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; min-height: 520px; }
.tile-b2b { background: var(--b2b); }
.tile-b2c { background: var(--b2c); }
.tile-kicker { font-weight: 600; font-size: .9375rem; margin: 0 0 18px; color: var(--ink); }
.tile h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 16ch; }
.tile p { margin: 0 0 12px; max-width: 32em; }
.mock { margin-top: auto; background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: 0 30px 60px -36px rgba(29,44,47,.45); }
.mock-meta { color: var(--muted); font-size: .875rem; margin: 0 0 6px; }
.mock-title { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; margin: 0 0 16px; }
.mock-bar { height: 6px; border-radius: 6px; background: var(--field); margin-bottom: 16px; overflow: hidden; }
.mock-bar span { display: block; height: 100%; background: var(--blue); border-radius: 6px; }
.mock-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: .9375rem; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.dot-done { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.mock-chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { margin: 0; padding: 12px 16px; border-radius: 16px; font-size: .9688rem; line-height: 1.45; max-width: 88%; }
.bubble-q { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubble-a { align-self: flex-start; background: var(--field); border-bottom-left-radius: 6px; }
.source { margin: 4px 0 0; font-size: .875rem; color: var(--blue); font-weight: 500; }

.cap-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.caps { list-style: none; margin: 0; padding: 0; }
.caps li { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; padding: 6px 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.step-n { display: block; color: var(--blue); font-weight: 600; margin-bottom: 28px; }
.steps h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); }

.cta-wrap::before { display: none; }
.cta { background: var(--field); border-radius: 24px; padding: clamp(36px, 6vw, 72px); }
.cta h2 { font-size: clamp(1.875rem, 4vw, 3.25rem); line-height: 1.04; letter-spacing: -0.035em; margin: 0; max-width: 16ch; }
.cta .actions { margin-top: 28px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tiles, .cap-grid { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .mock { margin-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .hero-panel { border-radius: 22px; }
}
