/* ARCH AXN — Premium Enterprise Design System
   Referanse: Stripe (deep navy + blue-tinted shadows) × Vercel (typografisk presisjon)
   Identitet: norsk kvalitet, teknisk, tillitsfull, enterprise
*/

:root {
  --navy: #061A40;          /* primary */
  --navy-deep: #020B1A;     /* dark sections */
  --blue: #0066FF;          /* accent */
  --blue-light: #33A1FF;    /* secondary */
  --blue-faint: #EBF3FF;    /* tinted surface */
  --bg: #FFFFFF;
  --ink: #061A40;           /* headings */
  --slate: #64748d;         /* body text */
  --slate-dark: #273951;    /* labels */
  --border: #E5EDF5;
  --shadow-blue: rgba(6, 26, 64, 0.12);
  --shadow-ambient: rgba(6, 26, 64, 0.06);
  --green: #15be53;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--slate);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv01', 'cv02';
}

/* ── Typografi ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
p { font-size: 16px; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

/* ── Layout ────────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; margin: 12px 0 16px; }
.section-head p { font-size: 18px; color: var(--slate); }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; font-weight: 700; font-size: 18px;
}
.brand-name { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.brand-name span { color: var(--blue); }
.brand-logo { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--slate-dark); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  display: inline-block; padding: 9px 18px; border-radius: 8px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 600;
}
.nav-cta:hover { background: var(--blue); color: #fff; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; padding: 120px 0 100px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 10%, rgba(0,102,255,0.10), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(51,161,255,0.08), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 780px; }
.hero h1 {
  font-size: 64px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--ink); margin: 18px 0 24px;
}
.hero h1 .accent { color: var(--blue); }
.hero .lede { font-size: 20px; line-height: 1.6; color: var(--slate); max-width: 620px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 10px;
  font-size: 16px; font-weight: 600; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(0,102,255,0.28); }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--slate); }
.hero-note code { background: var(--blue-faint); color: var(--blue); padding: 2px 8px; border-radius: 5px; font-size: 12px; font-family: ui-monospace, Menlo, monospace; }

/* ── Hero subtitle ─────────────────────────────────────── */
.hero-subtitle {
  font-size: 32px; font-weight: 400; letter-spacing: -0.03em;
  color: var(--slate); margin: 8px 0 20px; line-height: 1.2;
}

/* ── Animated Intelligence Engine ──────────────────────── */
.engine-visualization { padding: 40px 0 72px; background: #fff; }
.engine-animation {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 44px 40px;
  box-shadow: var(--shadow-blue) 0px 6px 12px, var(--shadow-ambient) 0px 24px 60px -20px;
  max-width: 1000px; margin: 0 auto;
}
.engine-stage {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.engine-node {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 24px; border-radius: 14px; min-width: 150px;
  background: #fff; border: 1px solid var(--border);
  transition: all .3s ease;
}
.engine-node.active {
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,102,255,0.1);
  transform: translateY(-4px);
}
.node-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 12px; background: var(--blue-faint); font-size: 22px;
}
.engine-node.active .node-icon { background: var(--blue); color: #fff; }
.node-label { font-size: 15px; font-weight: 600; color: var(--ink); }
.node-desc { font-size: 12px; color: var(--slate); text-align: center; }
.engine-connector { color: var(--blue); font-size: 22px; font-weight: 700; }

.engine-progress { margin-top: 36px; }
.progress-track {
  width: 100%; height: 8px; border-radius: 999px;
  background: var(--blue-faint); overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: width 1s ease;
}
.progress-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--slate); margin-top: 10px; flex-wrap: wrap; gap: 6px;
}

/* ── Product cards ─────────────────────────────────────── */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow-blue) 0px 1px 2px, var(--shadow-ambient) 0px 4px 16px -4px;
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-blue) 0px 4px 8px, var(--shadow-ambient) 0px 12px 32px -8px; transform: translateY(-2px); }
.product-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; background: var(--blue-faint); font-size: 20px; margin-bottom: 18px;
}
.product-card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.01em; }
.product-card p { font-size: 15px; color: var(--slate); flex: 1; }
.product-metric {
  display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600;
  color: #0047B3; background: var(--blue-faint); padding: 6px 14px; border-radius: 999px;
  align-self: flex-start;
}

/* ── UI Mockups ────────────────────────────────────────── */
.mockups-section { background: #fff; padding: 72px 0 96px; }
.mockups-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 1000px; margin: 0 auto;
}
.mockup-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-blue) 0px 4px 8px, var(--shadow-ambient) 0px 16px 40px -16px;
}
.mockup-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: #F8FAFD;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.mockup-dots span:first-child { background: #F87171; }
.mockup-dots span:nth-child(2) { background: #FBBF24; }
.mockup-dots span:nth-child(3) { background: #34D399; }
.mockup-title { font-size: 13px; font-weight: 600; color: var(--slate-dark); }
.mockup-tag {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase; color: #475569;
  background: #EDF2F7; border: 1px solid var(--border); border-radius: 6px;
  padding: 2px 8px; margin-left: 6px; vertical-align: middle;
}
.mockup-content { padding: 20px; }
.mockup-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.mockup-row:last-child { border-bottom: none; }
.mockup-label { font-size: 12px; color: var(--slate); min-width: 90px; padding-top: 2px; }
.mockup-value { font-size: 14px; font-weight: 500; color: var(--ink); }
.signal-badge {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; background: var(--blue-faint); color: #0047B3; margin-right: 6px;
}
.signal-badge.warn { background: #FEF3C7; color: #92400E; }
.signal-badge.critical { background: #FEE2E2; color: #991B1B; }

/* Evidence map mockup */
.evidence-map-mockup {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.evidence-node {
  width: 100%; text-align: center; padding: 11px 16px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--blue-faint); border: 1px solid rgba(0,102,255,0.15);
}
.evidence-company { background: var(--navy); color: #fff; border-color: var(--navy); }
.evidence-hypothesis { border-style: dashed; }
.evidence-finding { background: rgba(21,190,83,0.1); border-color: rgba(21,190,83,0.3); color: var(--ink); }
.evidence-arrow { color: var(--blue); font-size: 14px; }

/* Audit report mockup */
.report-section { margin-bottom: 16px; }
.report-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); margin-bottom: 6px; }
.report-text { font-size: 13px; color: var(--slate-dark); line-height: 1.6; }
.report-finding {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 0; border-top: 1px solid var(--border);
}
.finding-badge {
  flex: none; font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 6px; margin-top: 2px;
}
.finding-badge.high { background: #FEE2E2; color: #991B1B; }
.finding-badge.medium { background: #FEF3C7; color: #92400E; }
.finding-badge.low { background: var(--blue-faint); color: #0047B3; }
.finding-text { font-size: 13px; color: var(--slate-dark); line-height: 1.5; }
.report-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.report-metric { font-size: 12px; font-weight: 600; color: var(--blue); }

/* ── Cards grid ────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-blue) 0px 1px 2px, var(--shadow-ambient) 0px 4px 16px -4px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-blue) 0px 4px 8px, var(--shadow-ambient) 0px 12px 32px -8px; transform: translateY(-2px); }
.card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--slate); }
.card .icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; background: var(--blue-faint); color: var(--blue);
  font-size: 20px; margin-bottom: 18px;
}

/* ── Nummererte steg ───────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: flex; gap: 20px; padding: 28px 0;
  border-top: 1px solid var(--border);
}
.step-num {
  font-size: 40px; font-weight: 600; letter-spacing: -0.04em;
  color: var(--blue-faint); line-height: 1;
  min-width: 72px;
  -webkit-text-stroke: 1px var(--blue);
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 16px; }

/* ── Trust / Security ──────────────────────────────────── */
.trust { background: var(--navy-deep); color: #fff; }
.trust .section-head h2 { color: #fff; }
.trust .section-head p { color: rgba(255,255,255,0.7); }
.trust .eyebrow { color: var(--blue-light); }
.trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 28px;
}
.trust-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.trust-card p { color: rgba(255,255,255,0.65); font-size: 14px; }
.trust-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
  background: rgba(21,190,83,0.15); color: #2ecc71; border: 1px solid rgba(21,190,83,0.3);
  margin-bottom: 14px;
}

/* ── Learning Loop ─────────────────────────────────────── */
.loop {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  max-width: 420px; margin: 0 auto;
}
.loop-node {
  width: 100%; text-align: center;
  padding: 14px 20px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-ambient) 0px 2px 8px -2px;
}
.loop-node.highlight { background: var(--blue); color: #fff; border-color: var(--blue); }
.loop-arrow { color: var(--blue); font-size: 20px; }

/* ── Intelligence Engine Preview ───────────────────────── */
.engine-preview {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, #F8FAFD 0%, transparent 100%);
}
.engine-block {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-blue) 0px 4px 8px, var(--shadow-ambient) 0px 16px 40px -16px;
}
.engine-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.engine-title {
  font-size: 15px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate);
}
.engine-status {
  font-size: 13px; color: var(--green); font-weight: 600;
  background: rgba(21,190,83,0.1); padding: 6px 14px; border-radius: 999px;
}
.engine-flow {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.engine-step {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 10px;
  background: var(--blue-faint);
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: all .2s ease;
}
.engine-step:hover { background: #E8F2FF; }
.engine-icon { font-size: 16px; }
.engine-label { font-size: 14px; }
.engine-arrow { color: var(--blue); font-size: 18px; font-weight: 700; }

/* ── Trust section (higher up) ─────────────────────────── */
.trust-section {
  padding: 40px 0 56px;
  background: #fff;
}
.trust-grid {
  display: flex; align-items: flex-start; gap: 40px; flex-wrap: wrap;
}
.trust-main {
  flex: 1; min-width: 280px;
}
.trust-main .eyebrow { color: var(--blue); }
.trust-main h2 { font-size: 40px; letter-spacing: -0.03em; margin: 12px 0; }
.trust-items {
  display: flex; flex-direction: column; gap: 12px; min-width: 220px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-ambient) 0px 2px 8px -2px;
  transition: all .2s ease;
}
.trust-item:hover { border-color: var(--blue); }
.trust-check {
  color: var(--blue); font-weight: 700; font-size: 16px;
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue-faint); flex: none;
}

/* ── Demo large ────────────────────────────────────────── */
.demo-large {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 16px;
}
.demo-left h3, .demo-right h3 { font-size: 20px; margin-bottom: 16px; }
.demo-profile, .demo-investigates { list-style: none; padding: 0; margin: 0; }
.demo-profile li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0; font-size: 15px; color: var(--slate-dark);
  border-bottom: 1px solid var(--border);
}
.demo-profile li:last-child { border-bottom: none; }
.demo-investigates li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; font-size: 15px; color: var(--slate-dark);
  border-bottom: 1px solid var(--border);
}
.demo-investigates li:last-child { border-bottom: none; }
.demo-num {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700;
}
.demo-check { color: var(--green); font-weight: 700; }
.demo-status { margin-top: 20px; font-size: 13px; color: var(--slate); background: var(--blue-faint); border-radius: 8px; padding: 12px 16px; }
.demo-status strong { color: var(--ink); }
.demo-right .btn-primary { width: 100%; }

/* ── Beta ──────────────────────────────────────────────── */
.beta {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff; text-align: center;
}
.beta h2 { color: #fff; font-size: 40px; letter-spacing: -0.03em; margin-bottom: 16px; }
.beta p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.beta .btn-primary { background: var(--blue); box-shadow: 0 8px 24px rgba(0,102,255,0.4); }

/* ── Trust: built with ─────────────────────────────────── */
.built-with {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px;
}
.built-item {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-ambient) 0px 2px 8px -2px;
}
.built-check {
  color: var(--blue); font-weight: 700; font-size: 16px;
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue-faint); flex: none;
}

/* ── Demo case preview ─────────────────────────────────── */
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.demo-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-blue) 0px 2px 4px, var(--shadow-ambient) 0px 8px 24px -8px;
}
.demo-card h3 { font-size: 18px; margin-bottom: 16px; letter-spacing: -0.01em; }
.demo-list { list-style: none; padding: 0; margin: 0; }
.demo-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; font-size: 15px; color: var(--slate-dark);
  border-bottom: 1px solid var(--border);
}
.demo-list li:last-child { border-bottom: none; }
.demo-check { color: var(--green); font-weight: 700; }
.demo-arrow { color: var(--blue); font-weight: 700; }
.demo-status {
  margin-top: 20px; font-size: 13px; color: var(--slate);
  background: var(--blue-faint); border-radius: 8px; padding: 12px 16px;
}
.demo-status strong { color: var(--ink); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.footer-brand span { color: var(--blue-light); }
.footer-col h4, .footer-col .footer-col-head { color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; line-height: 1.4; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 12px;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .hero-subtitle { font-size: 26px; }
  section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .built-with { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: 1fr; }
  .mockups-grid { grid-template-columns: 1fr; }
  .engine-stage { flex-direction: column; }
  .engine-connector { transform: rotate(90deg); }
  .engine-animation { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 22px; }
  .hero { padding: 80px 0 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .built-with { grid-template-columns: 1fr; }
  .trust-grid { flex-direction: column; }
  .demo-large { grid-template-columns: 1fr; }
}

/* ═══ START EXPERIENCE — premium audit flow ═══ */

.audit-hero {
  padding: 72px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0,102,255,0.08), transparent);
}
.audit-hero-inner { max-width: 720px; margin: 0 auto; }
.audit-hero h1 {
  font-size: 52px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--ink); margin: 14px 0 18px;
}
.audit-hero .lede { font-size: 19px; color: var(--slate); max-width: 560px; margin: 0 auto; }
.trust-row { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--slate-dark);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px;
}
.trust-pill::before { content: '✓'; color: var(--green); font-weight: 700; }

.audit-shell { padding: 32px 0 64px; }
.audit-shell .wrap { max-width: 640px; }

/* Progress track */
.progress-track {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 40px;
}
.progress-step {
  display: flex; align-items: center; gap: 9px;
  color: var(--slate); font-size: 14px; font-weight: 500;
}
.progress-num {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--border);
  font-size: 14px; font-weight: 600; transition: all .25s ease;
}
.progress-step.active { color: var(--ink); }
.progress-step.active .progress-num {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.progress-line {
  width: 48px; height: 2px; background: var(--border); margin: 0 14px;
}

/* Audit panels */
.audit-panel {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-blue) 0px 2px 4px, var(--shadow-ambient) 0px 8px 24px -8px;
}
.panel-title { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 8px; }
.panel-sub { color: var(--slate); font-size: 16px; margin-bottom: 28px; }

.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: 13px; font-weight: 600; color: var(--slate-dark);
  margin-bottom: 8px; letter-spacing: 0.01em;
}
.field input, .field select {
  width: 100%; padding: 15px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  font-size: 16px; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2364748d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 44px;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}
.field-hint {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--slate); margin-bottom: 24px;
}
.hint-icon { color: var(--green); font-weight: 700; }
.panel-note {
  font-size: 13px; color: var(--slate); margin-top: 16px;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.cta-row-inline { display: flex; gap: 12px; margin-top: 8px; }
.cta-row-inline .btn { flex: 1; }

/* Evidence map */
.evidence-map {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 28px 0;
}
.map-node {
  width: 100%; text-align: center; padding: 12px 20px;
  border-radius: 10px; background: #fff; border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.map-node.highlight { background: var(--blue); color: #fff; border-color: var(--blue); }
.map-arrow { color: var(--blue); font-size: 18px; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.check-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--slate);
  padding: 12px 16px; border-radius: 10px; background: var(--blue-faint);
  transition: all .3s ease;
}
.check-icon {
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--slate);
  font-weight: 700; font-size: 14px;
}
.check-item.done { color: var(--ink); background: rgba(21,190,83,0.08); }
.check-item.done .check-icon { background: var(--green); color: #fff; }

/* Audit conversation */
.audit-conversation { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.msg { padding: 14px 16px; border-radius: 12px; max-width: 90%; font-size: 15px; line-height: 1.5; }
.msg.ai {
  background: var(--blue-faint); border: 1px solid rgba(0,102,255,0.2);
  align-self: flex-start; color: var(--ink);
}
.msg .purpose {
  display: block; font-size: 12px; color: var(--slate); margin-top: 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* Trust element */
.audit-trust { background: var(--navy-deep); padding: 48px 0; }
.audit-trust p { color: rgba(255,255,255,0.8); font-size: 20px; text-align: center; font-weight: 300; max-width: 640px; margin: 0 auto; }

/* Executive Brief */
.brief-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.brief-header .panel-title { margin-bottom: 0; }
.brief-section { padding: 18px 0; border-bottom: 1px solid var(--border); }
.brief-section:last-of-type { border-bottom: none; }
.brief-section-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--slate); margin-bottom: 12px;
}
.brief-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 6px 0; }
.brief-label { font-size: 14px; color: var(--slate); flex: none; }
.brief-value { font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; }
.brief-value.brief-ok { color: #0a8f3f; }
.brief-value.brief-empty { color: var(--slate); font-weight: 500; }
.brief-value.brief-na { color: var(--slate); font-weight: 500; font-style: italic; }
.brief-confidence {
  margin-top: 18px; font-size: 12px; color: var(--slate);
  background: var(--blue-faint); border-radius: 8px; padding: 12px 16px;
}

@media (max-width: 560px) {
  .audit-hero h1 { font-size: 34px; }
  .audit-panel { padding: 24px 20px; }
  .progress-line { width: 24px; margin: 0 8px; }
  .cta-row-inline { flex-direction: column; }
}

/* ═══ START EXPERIENCE v2.0 — AI analyst onboarding ═══ */

/* Search box i hero */
.search-wrap { max-width: 640px; margin: 36px auto 0; }
.search-box {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow-blue) 0px 4px 8px, var(--shadow-ambient) 0px 16px 40px -12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-box:focus-within {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue) 0px 4px 8px, 0 0 0 3px rgba(0,102,255,0.12);
}
.search-icon { color: var(--slate); display: grid; place-items: center; flex: none; }
.search-box input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 17px; font-family: inherit; color: var(--ink); padding: 10px 0;
}
.search-box input::placeholder { color: #9aa5b5; }
.search-box .btn { flex: none; padding: 13px 24px; }
.search-note { text-align: center; font-size: 13px; color: var(--slate); margin-top: 14px; }

/* Engine panels */
.engine-panel {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 36px; margin-bottom: 24px;
  box-shadow: var(--shadow-blue) 0px 2px 4px, var(--shadow-ambient) 0px 8px 24px -8px;
}

/* Evidence map (levende) */
.engine-map { display: flex; flex-direction: column; margin-top: 24px; }
.engine-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--blue-faint);
  transition: background .3s ease;
}
.engine-row.active { background: #F4F9FF; }
.engine-row.done { background: rgba(21,190,83,0.06); }
.engine-state {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  border: 2px solid var(--border); background: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: transparent;
  transition: all .3s ease;
}
.engine-row.active .engine-state {
  border-color: var(--blue); border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
.engine-row.done .engine-state {
  background: var(--green); border-color: var(--green); color: #fff;
}
.engine-row.done .engine-state::after { content: '✓'; }
@keyframes spin { to { transform: rotate(360deg); } }
.engine-label { font-weight: 600; color: var(--ink); font-size: 15px; min-width: 130px; }
.engine-detail { color: var(--slate); font-size: 14px; flex: 1; }
.engine-row.done .engine-detail { color: var(--ink); }
.engine-line { width: 2px; height: 18px; background: var(--border); margin-left: 26px; }

/* Company profile grid */
.profile-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px;
}
.profile-cell {
  background: var(--blue-faint); border-radius: 12px; padding: 16px 18px;
}
.profile-label {
  display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--slate); margin-bottom: 5px;
}
.profile-value { font-size: 16px; font-weight: 600; color: var(--ink); }

/* Friction cards (executive discovery question) */
.friction-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px;
}
.friction-card {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; border-radius: 12px;
  border: 1px solid var(--border); background: #fff;
  font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; text-align: left; font-family: inherit;
  transition: all .15s ease;
}
.friction-card:hover { border-color: var(--blue); box-shadow: var(--shadow-ambient) 0px 6px 16px -6px; }
.friction-card.selected {
  border-color: var(--blue); background: var(--blue-faint);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.12);
}
.friction-icon { font-size: 20px; }
.friction-card:nth-child(5) { grid-column: 1 / -1; }

@media (max-width: 560px) {
  .profile-grid, .friction-grid { grid-template-columns: 1fr; }
  .search-box { flex-wrap: wrap; padding: 12px; }
  .search-box .btn { width: 100%; }
  .engine-label { min-width: 100px; }
}

/* Prevent long source names and status labels from escaping their containers. */
body { overflow-x: hidden; }
p, h1, h2, h3, h4, a, span { overflow-wrap: anywhere; }
.nav { min-height: 68px; height: auto; gap: 16px; }
.mockup-title, .mockup-value, .finding-text, .engine-detail { min-width: 0; }

@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav-cta { padding: 8px 12px; font-size: 13px; }
  .engine-row { align-items: flex-start; }
  .engine-label { min-width: 0; }
  .engine-detail { flex-basis: 100%; }
}

