/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — derived from the Veisla logo (warm near-black + gold/bronze).
     TBD: fine-tune once the brand identity is formally confirmed from the logo. */
  /* "Skumring" — palette drawn from the dusk fjord-lodge photo: cool slate
     structure (stone, mountains, water) against warm lit-window amber.       */
  --brand-900: #151b22;  /* skifer-natt — cool near-black (hero/footer base)  */
  --brand-800: #1c242d;
  --brand-700: #283440;
  --brand-600: #3a4b5a;
  --brand-500: #35566e;  /* fjellblå — links/structure (AA on white ≈ 7.8:1)  */
  --brand-400: #5b7286;
  --brand-300: #aebccb;  /* light slate — borders/hover accents               */
  --accent:    #d99a41;  /* ravgult — lit-window amber (CTA fill; dark text)  */
  --accent-dk: #8a6a24;  /* bronse — checkmarks/accent text on light (AA)     */
  --warn:      #d8902b;
  --danger:    #c0392b;
  --gray-50:   #f2f5f7;  /* morgentåke — cool mist, light section background  */
  --gray-100:  #e8edf1;
  --gray-200:  #dae1e7;
  --gray-300:  #bec8d1;
  --gray-400:  #879099;
  --gray-500:  #5c6672;  /* skifergrå — secondary text                        */
  --gray-700:  #313a43;
  --gray-900:  #171c22;  /* ink — primary text                               */
  --white:     #ffffff;
  --ok:        #1fae7e;  /* semantic green — status "operational" */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(21,27,34,.10), 0 1px 2px rgba(21,27,34,.06);
  --shadow:    0 4px 16px rgba(21,27,34,.12);
  --shadow-lg: 0 20px 60px rgba(21,27,34,.24);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-400); }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
h1,h2 { font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { line-height: 1.75; }

.text-sm  { font-size: .875rem; }
.text-xs  { font-size: .75rem; }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.font-mono { font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-500);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(138,106,36,.4);
}
.btn-primary:hover {
  background: var(--brand-400);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(138,106,36,.35);
}
.btn-accent {
  background: var(--accent);
  color: var(--gray-900);
}
.btn-accent:hover {
  background: #c2862f;
  color: var(--gray-900);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217,154,65,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline {
  background: transparent;
  color: var(--brand-500);
  border: 1.5px solid var(--brand-500);
}
.btn-outline:hover {
  background: var(--brand-500);
  color: var(--white);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 8px 16px; font-size: .875rem; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
/* In-page anchors (#kontakt, #sammenlign, /platform#pms …) land below the sticky 88 px nav. */
html { scroll-padding-top: 96px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21,27,34,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 500;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;   /* keep "Hvorfor Veisla" / "Om oss" on one line each */
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-only { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
  font-size: 1.25rem;
  min-width: 44px;   /* a comfortable touch target (WCAG 2.5.5) */
  min-height: 44px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(138,106,36,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(174,188,203,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-grid--solo { grid-template-columns: 1fr; }
.hero-media {
  position: relative;
  z-index: 1;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }            /* image above the text on small screens */
  .hero-media img { max-height: 320px; object-fit: cover; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(217,154,65,.16);
  border: 1px solid rgba(217,154,65,.35);
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hero trust band — the three risk-relievers a new supplier can honestly offer,
   pulled up out of the FAQ to sit right under the CTAs. */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  font-weight: 500;
}
.hero-trust-check { color: var(--accent); font-weight: 700; }

/* Pilot band — sand strip directly under the hero. Frames the pilot programme as
   scarcity + opportunity; no invented seat count. */
.pilot-band {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 44px 0;
}
.pilot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  flex-wrap: wrap;
}
.pilot-text { max-width: 720px; }
.pilot-text h2 { margin: 8px 0 10px; font-size: 1.55rem; }
.pilot-text p { margin: 0; color: var(--gray-700); }
.pilot-band .section-eyebrow { color: var(--accent-dk); }

/* Dashboard mockup */
.hero-visual {
  position: relative;
}
.dashboard-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.1);
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dot:nth-child(1) { background: #ff5f56; }
.dash-dot:nth-child(2) { background: #ffbd2e; }
.dash-dot:nth-child(3) { background: #27c93f; }
.dash-title { color: rgba(255,255,255,.5); font-size: .75rem; }
.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.dash-stat {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.dash-stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.dash-stat-lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}
.dash-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  margin-bottom: 8px;
}
.dash-event-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-event-name { color: rgba(255,255,255,.8); font-size: .85rem; flex: 1; }
.dash-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}

/* ── Section labels ────────────────────────────────────────────────────────── */
/* A section label that is also the section's heading (product sheets): same look as the span. */
h2.section-eyebrow { font-family: inherit; line-height: 1.4; }
.section-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand-500);
  margin-bottom: 12px;
}
.section-header {
  margin-bottom: 64px;
}
.section-header p {
  margin-top: 16px;
  max-width: 600px;
  color: var(--gray-500);
  font-size: 1.0625rem;
}
.section-header.center { text-align: center; }
.section-header.center p { margin: 16px auto 0; }

/* ── Feature grid ──────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .2s ease;
}
.feature-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.0625rem; }
.feature-card p  { font-size: .9375rem; color: var(--gray-500); }

/* ── How it works ──────────────────────────────────────────────────────────── */
.how-bg { background: var(--gray-50); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--brand-300), var(--accent));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(138,106,36,.35);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p  { font-size: .9rem; color: var(--gray-500); }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-300);
  font-family: Georgia, serif;
}
.testimonial-text {
  padding-top: 24px;
  color: var(--gray-700);
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-name  { font-weight: 600; font-size: .9rem; color: var(--gray-900); }
.author-role  { font-size: .8rem; color: var(--gray-500); }
.stars        { color: var(--warn); font-size: .875rem; margin-bottom: 4px; }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}
.toggle-label { font-size: .9rem; font-weight: 500; color: var(--gray-500); }
.toggle-label.active { color: var(--gray-900); }
.toggle-wrap {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}
.toggle-wrap input { display: none; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--brand-500);
  border-radius: 100px;
  transition: .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: .2s;
  box-shadow: var(--shadow-sm);
}
.toggle-wrap input:checked + .toggle-slider::before { transform: translateX(24px); }
.save-badge {
  background: var(--accent);
  color: var(--gray-900);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* equal columns: a wide price must not widen its card */
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(53,86,110,.10), var(--shadow);
  position: relative;
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier   { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-500); margin-bottom: 12px; }
.pricing-name   { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.pricing-desc   { font-size: .9rem; color: var(--gray-500); margin-bottom: 24px; }
.pricing-amount {
  display: flex;
  flex-wrap: wrap;              /* a long unit drops below rather than squeezing the number */
  align-items: baseline;
  column-gap: 6px;
  min-height: 3rem;             /* same height when a worded price is shrunk to fit */
  margin-bottom: 8px;
}
.pricing-from     { font-size: 1rem; font-weight: 600; color: var(--gray-500); }   /* "fra" / "från" / "from" */
.pricing-price.is-number { white-space: nowrap; }                                   /* never "4 / 800" */
.pricing-price.is-fit    { white-space: nowrap; }   /* set by main.js once it sizes a worded price to fit the card */
.pricing-currency { font-size: 1.25rem; font-weight: 600; color: var(--gray-700); }
.pricing-price    { font-size: 3rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.pricing-period   { font-size: .9rem; color: var(--gray-500); }
.pricing-billed   { font-size: .8rem; color: var(--gray-400); margin-bottom: 28px; min-height: 20px; }
.pricing-divider  { border: none; border-top: 1px solid var(--gray-100); margin: 24px 0; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .9rem;
  color: var(--gray-700);
}
.pricing-features li .check {
  color: var(--accent-dk);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pricing-features li .na {
  color: var(--gray-300);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pricing-features li.na-item { color: var(--gray-300); }

/* ── Price calculator ──────────────────────────────────────────────────────── */
.calc {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
}
.calc-inputs {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.calc-field { border: 0; padding: 0; margin: 0; min-width: 0; }
/* Grid items may shrink below their longest word (Nordic compounds) instead of widening the page. */
.calc > * { min-width: 0; }
.calc-inputs, .calc-result { overflow-wrap: anywhere; }
.calc-field > legend,
.calc-field > label {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: 10px;
  color: var(--gray-900);
  padding: 0;
}
.calc-radios, .calc-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.calc-radios label, .calc-checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin: 0;
  font-size: .9375rem;
  color: var(--gray-700);
  cursor: pointer;
  min-height: 32px;
}
.calc-radios input, .calc-checks input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--accent-dk); }
.calc-inputs input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--white);
  color: var(--gray-900);
}
.calc-inputs input[type="number"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.calc-result {
  background: var(--brand-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  position: sticky;
  top: 90px;
}
.calc-line, .calc-total, .calc-subtotal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.calc-lines { display: flex; flex-direction: column; gap: 10px; }
.calc-line { color: rgba(255,255,255,.78); font-size: .95rem; }
.calc-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}
.calc-total span:last-child { color: var(--accent); white-space: nowrap; }
.calc-subtotal { margin-top: 6px; color: rgba(255,255,255,.6); font-size: .9rem; }
.calc-usage {
  margin: 16px 0 0;
  font-size: .8125rem;
  color: var(--accent);
}
.calc-disclaimer {
  margin: 12px 0 20px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.calc-ent-note { margin: 0 0 20px; color: rgba(255,255,255,.82); line-height: 1.6; }
@media (max-width: 820px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-inputs { padding: 22px 18px; }
  .calc-result { position: static; }
}

/* ── Status page ───────────────────────────────────────────────────────────── */
.status-overall {
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.status-overall.operational { background: rgba(6,214,160,.08); border: 1.5px solid rgba(6,214,160,.3); }
.status-overall.degraded    { background: rgba(245,158,11,.08); border: 1.5px solid rgba(245,158,11,.3); }
.status-overall.outage      { background: rgba(239,68,68,.08);  border: 1.5px solid rgba(239,68,68,.3); }
.status-pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.status-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: .4;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.5); opacity: 0; } }
.status-pulse.green { background: var(--ok); }
.status-pulse.green::after { background: var(--ok); }
.status-pulse.yellow { background: var(--warn); }
.status-pulse.yellow::after { background: var(--warn); }
.status-pulse.red { background: var(--danger); }
.status-pulse.red::after { background: var(--danger); }
.status-overall-text h2 { font-size: 1.4rem; margin-bottom: 4px; }
.status-overall-text p { color: var(--gray-500); font-size: .9rem; }
.status-components { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.status-row:last-child { border-bottom: none; }
.status-row-name { font-size: .9375rem; font-weight: 500; }
.status-row-sub  { font-size: .8rem; color: var(--gray-500); }
.status-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}
.pill-green  { background: rgba(6,214,160,.12);  color: var(--accent-dk); }
.pill-yellow { background: rgba(245,158,11,.12); color: #b45309; }
.pill-red    { background: rgba(239,68,68,.12);  color: #dc2626; }
.pill-gray   { background: var(--gray-100);       color: var(--gray-500); }
.uptime-bars { display: flex; gap: 3px; align-items: flex-end; }
.uptime-bar  { width: 8px; border-radius: 2px; transition: .2s; }
.uptime-bar:hover { opacity: .8; }
.incident-section { margin-top: 48px; }
.incident-section h3 { margin-bottom: 24px; }
.incident-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.incident-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.incident-date   { font-size: .8125rem; color: var(--gray-500); white-space: nowrap; }
.incident-update { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--gray-100); font-size: .875rem; }
.incident-update-time  { color: var(--gray-400); font-size: .8rem; white-space: nowrap; min-width: 90px; }
.incident-update-text  { color: var(--gray-700); }
.incident-update-label { font-weight: 600; margin-right: 6px; }

/* ── Known Issues ──────────────────────────────────────────────────────────── */
.issues-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--gray-600);
  transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--brand-500);
  background: var(--brand-500);
  color: var(--white);
}
.issue-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: box-shadow .15s;
}
.issue-card:hover { box-shadow: var(--shadow-sm); }
.issue-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.issue-severity {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 2px;
}
.sev-low    { background: var(--gray-100);           color: var(--gray-600); }
.sev-medium { background: rgba(245,158,11,.15);      color: #92400e; }
.sev-high   { background: rgba(239,68,68,.12);       color: #991b1b; }
.issue-title  { font-size: 1rem; font-weight: 600; color: var(--gray-900); }
.issue-meta   { font-size: .8125rem; color: var(--gray-500); margin-bottom: 8px; }
.issue-desc   { font-size: .9rem; color: var(--gray-600); }
.issue-tags   { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.issue-tag    { padding: 3px 10px; background: var(--gray-100); border-radius: 100px; font-size: .75rem; color: var(--gray-600); }

/* ── Login ─────────────────────────────────────────────────────────────────── */
.login-page {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-left {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 100%);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(138,106,36,.2) 0%, transparent 70%);
}
.login-left-content { position: relative; z-index: 1; }
.login-left h2 { color: var(--white); margin-bottom: 16px; }
.login-left p  { color: rgba(255,255,255,.65); margin-bottom: 40px; max-width: 380px; }
.login-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  font-size: .9375rem;
}
.login-feature:last-child { border-bottom: none; }
.login-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 64px;
  background: var(--gray-50);
}
.login-box {
  width: 100%;
  max-width: 420px;
}
.login-box h1 { font-size: 1.875rem; margin-bottom: 8px; }
.login-box > p { color: var(--gray-500); margin-bottom: 40px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  font-family: var(--font);
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(138,106,36,.12);
}
.form-input.font-mono { font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; }
.form-hint  { font-size: .8rem; color: var(--gray-500); margin-top: 6px; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: 6px; }
.login-divider {
  /* Flex, not two fixed 42 % rules: on a phone those rules ran through the label. */
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  color: var(--gray-400);
  font-size: .8rem;
}
.login-divider::before, .login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.login-footer { margin-top: 32px; text-align: center; font-size: .875rem; color: var(--gray-500); }

/* ── About ─────────────────────────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-800));
  padding: 96px 0 80px;
  text-align: center;
}
.about-hero h1 { color: var(--white); }
.about-hero p  { color: rgba(255,255,255,.65); font-size: 1.125rem; max-width: 600px; margin: 20px auto 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
}
.value-icon { font-size: 1.75rem; margin-bottom: 16px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p  { color: var(--gray-500); font-size: .9375rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}
.team-name  { font-weight: 600; color: var(--gray-900); margin-bottom: 4px; }
.team-role  { font-size: .875rem; color: var(--gray-500); }

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(217,154,65,.14) 0%, transparent 60%);
}
.cta-banner h2, .cta-banner p { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.65); font-size: 1.0625rem; max-width: 500px; margin: 0 auto 40px; }
.cta-btns      { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--brand-900);
  color: rgba(255,255,255,.55);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 280px; line-height: 1.7; }
.footer-col h4  { color: var(--white); font-size: .875rem; font-weight: 600; margin-bottom: 16px; letter-spacing: .03em; }
.footer-links   { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .875rem; transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.bg-gray  { background: var(--gray-50); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-blue  { background: rgba(138,106,36,.1);  color: var(--brand-600); }
.badge-green { background: rgba(6,214,160,.12); color: var(--accent-dk); }

/* ── Page Hero (generic inner pages) ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 60%, var(--brand-700) 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(138,106,36,.18) 0%, transparent 70%);
}
.page-hero .section-badge,
.page-hero .page-hero-label,
.page-hero .page-title,
.page-hero .page-subtitle { position: relative; z-index: 1; }
.page-hero-label {
  color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 12px;
}
.page-hero .page-subtitle strong { color: rgba(255,255,255,.85); }
.page-title    { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 16px; font-weight: 800; }
.page-subtitle { color: rgba(255,255,255,.65); font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }

/* Stated design goal under a section header (marked "Mål:"/"Goal:"). Deliberately
   set apart from body copy so it reads as an explicit target we hold ourselves to,
   not a measured result we're claiming. */
.section-goal {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: center;
  font-weight: 600;
  color: var(--brand-700);
  border-top: 2px solid var(--brand-300);
  padding-top: 16px;
}
/* When the goal line sits directly above the pricing grid (homepage teaser),
   clear room for the featured card's "popular" badge, which floats 14px above
   the card top and would otherwise overlap the goal text. */
.section-goal + .pricing-grid { margin-top: 44px; }
.section-goal + .journey-steps { margin-top: 28px; }

/* ── Plan comparison table (pricing.php) ─────────────────────────────────────── */
.plan-compare-wrap { overflow-x: auto; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.plan-compare {
  width: 100%; min-width: 640px; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: .95rem;
}
.plan-compare th, .plan-compare td {
  padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--gray-200);
}
.plan-compare thead th {
  font-weight: 700; color: var(--gray-900); background: var(--gray-50);
  border-bottom: 2px solid var(--gray-300); font-size: 1rem;
}
.plan-compare .pc-rowhead {
  text-align: left; color: var(--gray-500); font-weight: 500; white-space: nowrap;
}
.plan-compare tbody th.pc-rowhead { font-weight: 500; }
.plan-compare .pc-group th {
  text-align: left; background: var(--brand-900); color: var(--white);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; padding: 10px 18px;
}
.plan-compare .pc-featured { background: rgba(53,86,110,.06); }
.plan-compare thead th.pc-featured { background: rgba(53,86,110,.12); color: var(--brand-500); }
.plan-compare tr:last-child td, .plan-compare tr:last-child th { border-bottom: none; }
.pc-yes { color: var(--accent-dk); font-weight: 800; }
.pc-no  { color: var(--gray-300); }
/* Phones: the table fits the screen instead of scrolling sideways with its plan columns cut off
   mid-word. Fixed layout, the label column wraps, cells shrink. */
@media (max-width: 640px) {
  .plan-compare { min-width: 0; table-layout: fixed; font-size: .8rem; }
  .plan-compare th, .plan-compare td { padding: 10px 6px; overflow-wrap: anywhere; hyphens: auto; }
  .plan-compare .pc-rowhead { white-space: normal; width: 31%; }
  .plan-compare thead th { font-size: .82rem; }
  .plan-compare .pc-group th { padding: 9px 8px; font-size: .68rem; letter-spacing: .08em; }
}

/* Lead paragraph under a centered hero (product sheets, comparison). Centered so
   it aligns with the centered hero title and the centered content/image below it;
   without this it inherited only its inline max-width and hugged the left edge,
   which read as "text and image shifted apart" on wide screens. */
.hero-subhead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ── Logos bar ─────────────────────────────────────────────────────────────── */
.logos-bar { padding: 48px 0; border-bottom: 1px solid var(--gray-200); }
.logos-label { text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 24px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-pill {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* ── Hero stats ────────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat { text-align: center; }
.hero-stat-value { display: block; font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.hero-stat-label { font-size: .8125rem; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ── Billing toggle ────────────────────────────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  background: rgba(255,255,255,.08);
  padding: 10px 20px;
  border-radius: 100px;
}
.toggle-label { font-size: .9375rem; color: rgba(255,255,255,.5); font-weight: 500; transition: color .2s; }
.toggle-label.active { color: var(--white); }
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  border-radius: 13px;
  cursor: pointer;
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.save-badge {
  background: var(--accent);
  color: var(--brand-900);
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}
.price-billed { font-size: .8rem; color: var(--gray-400); min-height: 1.4em; margin-bottom: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Comparison table ──────────────────────────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
}
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: 500; color: rgba(255,255,255,.85); }
.compare-table thead th {
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  padding-bottom: 20px;
}
.compare-table .compare-featured { color: var(--accent); font-weight: 500; }
.compare-table thead .compare-featured { color: var(--accent); font-size: 1.0625rem; }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.faq-item h4, .faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--gray-900); font-family: inherit; letter-spacing: 0; }
.faq-item p  { font-size: .9375rem; color: var(--gray-500); line-height: 1.65; }

/* ── CTA actions ───────────────────────────────────────────────────────────── */
.cta-content { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ── Status page ───────────────────────────────────────────────────────────── */
.overall-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 40px;
}
.overall-ok    { background: rgba(6,214,160,.1);  color: var(--accent-dk);  border: 1px solid rgba(6,214,160,.25); }
.overall-warn  { background: rgba(245,158,11,.1); color: #92400e;           border: 1px solid rgba(245,158,11,.25); }
.overall-error { background: rgba(239,68,68,.1);  color: #991b1b;           border: 1px solid rgba(239,68,68,.25); }
.overall-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.overall-ok   .overall-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(6,214,160,.2); }
.overall-warn .overall-dot { background: var(--warn);   box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.overall-error .overall-dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(239,68,68,.2); }

.status-section-title { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.status-components { margin-bottom: 48px; padding: 16px 24px 8px; }
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  gap: 16px;
}
.status-row:last-child { border-bottom: none; }
.status-row-name { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--gray-700); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-ok-dot    { background: var(--ok); }
.status-warn-dot  { background: var(--warn); }
.status-error-dot { background: var(--danger); }
.status-row-right { display: flex; align-items: center; gap: 20px; }
.uptime-bar-wrap  { display: flex; align-items: center; gap: 10px; }
.uptime-bar { width: 120px; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.uptime-fill { height: 100%; border-radius: 4px; }
.status-ok-fill   { background: var(--ok); }
.status-warn-fill { background: var(--warn); }
.status-error-fill { background: var(--danger); }
.uptime-pct { font-size: .8125rem; color: var(--gray-500); white-space: nowrap; min-width: 52px; text-align: right; }
.status-badge { padding: 4px 12px; border-radius: 100px; font-size: .75rem; font-weight: 600; }
.status-ok    { background: rgba(6,214,160,.1);  color: var(--accent-dk); }
.status-warn  { background: rgba(245,158,11,.12); color: #92400e; }
.status-error { background: rgba(239,68,68,.1);  color: #991b1b; }
/* SPEC_STATUS_PUSH §8: `unknown` and `unmonitored` must read as visually distinct from `operational` —
   grey, never green. A visitor must not be able to mistake "we cannot see this" for "this is fine". */
.status-info        { background: rgba(59,130,246,.1); color: #1e40af; }
.status-unknown     { background: var(--gray-200);     color: var(--gray-700); }
.status-unmonitored { background: var(--gray-100);     color: var(--gray-500); }
.status-info-dot        { background: #3b82f6; }
.status-unknown-dot     { background: var(--gray-500); }
.status-unmonitored-dot { background: var(--gray-300); }
.overall-info    { background: rgba(59,130,246,.1); color: #1e40af;         border: 1px solid rgba(59,130,246,.25); }
.overall-unknown { background: var(--gray-100);     color: var(--gray-700); border: 1px solid var(--gray-300); }
.overall-info    .overall-dot { background: #3b82f6;         box-shadow: 0 0 0 4px rgba(59,130,246,.2); }
.overall-unknown .overall-dot { background: var(--gray-500); box-shadow: 0 0 0 4px rgba(107,114,128,.2); }
/* The stale banner: grey and explicit. It sits above the component list so it is read first. */
.status-stale {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--gray-700);
  padding: 14px 20px;
  margin: -20px 0 28px;
  font-size: .9375rem;
}
.status-stale span { font-size: .85rem; color: var(--gray-500); }

.incident-history { margin-bottom: 48px; }
.incident-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.incident-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 16px; }
.incident-date   { font-size: .8125rem; color: var(--gray-400); white-space: nowrap; flex-shrink: 0; }
.incident-badge  { padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-right: 10px; }
.severity-badge-minor       { background: rgba(100,116,139,.12); color: var(--gray-500); }
.severity-badge-moderate    { background: rgba(245,158,11,.12); color: #92400e; }
.severity-badge-critical    { background: rgba(239,68,68,.12);  color: #991b1b; }
.severity-badge-maintenance { background: rgba(138,106,36,.1);   color: var(--brand-600); }
.incident-title { font-weight: 600; color: var(--gray-900); font-size: .9375rem; }
.incident-body  { font-size: .9rem; color: var(--gray-500); line-height: 1.65; margin-top: 8px; }

.status-subscribe {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.status-subscribe h3 { margin-bottom: 8px; }
.status-subscribe p  { color: var(--gray-500); margin-bottom: 20px; }
.subscribe-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.subscribe-form input {
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  width: 260px;
  font-family: var(--font);
}
.subscribe-form input:focus { outline: none; border-color: var(--brand-500); }

/* ── Known Issues page ─────────────────────────────────────────────────────── */
.issues-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.issues-list { margin-bottom: 40px; }
.issue-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; transition: box-shadow .15s; }
.issue-card:hover { box-shadow: var(--shadow); }
.issue-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 16px; }
.issue-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.issue-id { font-size: .75rem; font-weight: 700; font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; color: var(--gray-400); background: var(--gray-100); padding: 3px 8px; border-radius: var(--radius-sm); }
.issue-date { font-size: .8rem; color: var(--gray-400); white-space: nowrap; flex-shrink: 0; }
.severity-badge { padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.severity-minor    { background: rgba(100,116,139,.12); color: var(--gray-500); }
.severity-moderate { background: rgba(245,158,11,.12); color: #92400e; }
.severity-critical { background: rgba(239,68,68,.12);  color: #991b1b; }
.issue-status-badge { padding: 3px 10px; border-radius: 100px; font-size: .7rem; font-weight: 600; }
.status-investigating { background: rgba(239,68,68,.1);   color: #991b1b; }
.status-in-progress   { background: rgba(138,106,36,.1);   color: var(--brand-600); }
.status-backlog       { background: rgba(100,116,139,.1); color: var(--gray-600); }
.status-resolved      { background: rgba(6,214,160,.1);   color: var(--accent-dk); }
.issue-title { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.issue-body  { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }
.issue-workaround {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(245,158,11,.06);
  border-left: 3px solid var(--warn);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .875rem;
  color: var(--gray-700);
}
.issue-footer { margin-top: 12px; }
.issue-eta { font-size: .8125rem; color: var(--gray-400); }
.report-issue-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 32px;
  flex-wrap: wrap;
}
.report-issue-box h3 { margin-bottom: 4px; }
.report-issue-box p  { font-size: .9rem; color: var(--gray-500); }

/* ── Login page ────────────────────────────────────────────────────────────── */
.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 40px;
}
.login-left h2 { font-size: 1.5rem; margin-bottom: 12px; }
.login-features { list-style: none; margin-bottom: 40px; }
.login-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.login-features li:last-child { border-bottom: none; }
.login-feature-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.login-features strong { display: block; color: var(--white); font-size: .9375rem; margin-bottom: 2px; }
.login-features span   { color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.5; }
.login-testimonial {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.login-testimonial p { color: rgba(255,255,255,.75); font-size: .9rem; font-style: italic; margin-bottom: 14px; }
.login-testimonial-author { display: flex; align-items: center; gap: 12px; }
.login-testimonial-author strong { display: block; color: var(--white); font-size: .875rem; }
.login-testimonial-author span   { color: rgba(255,255,255,.45); font-size: .8rem; }
.login-form-wrap { width: 100%; max-width: 420px; }
.login-title    { font-size: 1.75rem; font-weight: 800; margin-bottom: 10px; color: var(--gray-900); }
.login-subtitle { color: var(--gray-500); margin-bottom: 32px; font-size: .9375rem; }
.login-form .form-group { margin-bottom: 24px; }
.login-form label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.login-form input, .login-form select, .login-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-900);
  background: var(--white);
  font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.login-form input:focus, .login-form select:focus, .login-form textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(138,106,36,.12);
}
.input-hint  { font-size: .8rem; color: var(--gray-400); margin-top: 7px; line-height: 1.5; }
.input-hint code { background: var(--gray-100); padding: 1px 5px; border-radius: 4px; font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace; font-size: .8rem; }
.input-error { font-size: .8rem; color: var(--danger); margin-top: 6px; min-height: 1.1em; }
.login-help { margin-top: 20px; text-align: center; font-size: .875rem; color: var(--gray-400); }

/* ── About page ────────────────────────────────────────────────────────────── */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-mission-text h2 { margin-bottom: 20px; }
.about-mission-text p  { color: var(--gray-500); margin-bottom: 16px; line-height: 1.75; }
.about-mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mission-stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.mission-stat-value { display: block; font-size: 2.5rem; font-weight: 800; color: var(--brand-500); line-height: 1; margin-bottom: 8px; }
.mission-stat-label { font-size: .875rem; color: var(--gray-500); font-weight: 500; }
.team-role  { display: block; font-size: .8125rem; color: var(--gray-400); margin-bottom: 10px; }
.team-card  { text-align: center; padding: 4px 0; }
.team-card p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; margin-top: 10px; }
.team-card h4 { font-size: .9375rem; color: var(--gray-900); margin-bottom: 4px; }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
}

/* Contact section */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2    { color: var(--white); margin-bottom: 16px; }
.contact-info > p   { color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 32px; }
.contact-details    { display: flex; flex-direction: column; gap: 20px; }
.contact-item       { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon       { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--white); font-size: .875rem; margin-bottom: 2px; }
.contact-item span,
.contact-item a      { color: rgba(255,255,255,.55); font-size: .9rem; }
.contact-item a:hover { color: var(--accent); }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form .form-group { margin-bottom: 18px; }
.contact-form .form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-900);
  font-family: var(--font);
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--brand-500); }
.contact-form textarea { resize: vertical; min-height: 100px; }

/* ── Footer additions ──────────────────────────────────────────────────────── */
.footer-col ul   { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a  { color: rgba(255,255,255,.5); font-size: .875rem; transition: color .15s; }
.footer-col ul a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  font-weight: 700;
  transition: all .15s;
  text-decoration: none;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.4); font-size: .8125rem; }
.footer-legal a:hover { color: var(--white); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid     { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .team-grid         { grid-template-columns: repeat(2,1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid         { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .pricing-grid      { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }   /* minmax: a fitted price must not widen the card past the screen */
  .login-page        { grid-template-columns: 1fr; }
  .login-left        { display: none; }
  .login-right       { padding: 48px 32px; }
  .about-mission     { grid-template-columns: 1fr; }
  .contact-split     { grid-template-columns: 1fr; }
  .faq-grid          { grid-template-columns: 1fr; }
  .uptime-bar        { width: 80px; }
}

@media (max-width: 768px) {
  .features-grid  { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal   { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero           { padding: 80px 0 64px; }
  .section        { padding: 64px 0; }
  .hero-stats     { gap: 24px; }
  .hero-stat-value { font-size: 1.5rem; }
  .about-mission-stats { grid-template-columns: repeat(2,1fr); }
  .report-issue-box { flex-direction: column; }
  .status-row-right { flex-direction: column; align-items: flex-end; gap: 6px; }
  .uptime-bar-wrap  { display: none; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* Nav collapses to the hamburger at tablet width: the full horizontal nav (seven
   links + language switch + two buttons) does not fit below ~1280px (Icelandic needs most): between 1080 and 1280
   it squeezed the logo to nothing and pushed the demo button off the screen. */
@media (max-width: 1280px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle     { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    /* An explicit height, not bottom: 0. The sticky .nav has backdrop-filter, which makes it the
       containing block for fixed children, so bottom: 0 meant "the bottom of the 88 px bar" and the
       open menu collapsed to a sliver behind the page. */
    height: calc(100vh - 88px);
    height: calc(100dvh - 88px);
    background: var(--brand-900);
    padding: 32px 24px;
    gap: 8px;
    z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 1.125rem; }
  .nav-links.open { justify-content: flex-start; }
  .nav-links.open .nav-mobile-only { display: block; width: 100%; max-width: 320px; }
  .nav-links.open .nav-mobile-only:first-of-type,
  .nav-links.open li:not(.nav-mobile-only) + .nav-mobile-only { margin-top: 16px; }
  .nav-links.open .nav-mobile-only .btn { display: flex; width: 100%; justify-content: center; }
  .nav-links.open .nav-mobile-only .btn-accent { color: var(--gray-900); }
}

/* ── Legal / Terms page ─────────────────────────────────────────────────────── */

.legal-wrap {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  max-width: 900px;
}

/* Tab navigation */
.legal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.legal-tabs::-webkit-scrollbar { display: none; }

.legal-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.legal-tab:hover { color: var(--brand-700); }
/* Phones: the three tabs share the width (wrapping inside a tab) instead of the last one
   being cut off at the screen edge. */
@media (max-width: 640px) {
  .legal-tab { flex: 1 1 0; padding: .7rem .4rem; font-size: .85rem; white-space: normal; text-align: center; }
}
.legal-tab.active {
  color: var(--brand-600);
  border-bottom-color: var(--brand-600);
}

/* Document panels */
.legal-doc { display: none; }
.legal-doc.active { display: block; }

/* Document header */
.legal-doc-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-doc-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-900);
  margin-bottom: 0.25rem;
}
.legal-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.legal-doc-header p { color: var(--gray-600); line-height: 1.7; margin-bottom: 0.75rem; }
.legal-doc-header p:last-child { margin-bottom: 0; }

/* Table of contents */
.legal-toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  display: inline-block;
  min-width: 260px;
  max-width: 100%;
}
.legal-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.legal-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.legal-toc a {
  font-size: 0.875rem;
  color: var(--brand-600);
  text-decoration: none;
}
.legal-toc a:hover { text-decoration: underline; }

/* Sections */
.legal-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-900);
  margin-bottom: 0.85rem;
}
.legal-section p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.legal-section li {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.9375rem;
}
.legal-section a { color: var(--brand-600); }
.legal-section a:hover { text-decoration: underline; }

/* Annex styling */
.legal-annex {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}
.legal-annex h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
}

/* Callout box (privacy policy two-roles section) */
.legal-callout {
  background: var(--gray-50);
  border-left: 3px solid var(--brand-500);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.legal-callout h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 0.5rem;
}
.legal-callout p { color: var(--gray-700); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 0.5rem; }
.legal-callout ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.legal-callout li { color: var(--gray-700); font-size: 0.9375rem; line-height: 1.65; }

/* Tables */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.legal-table thead th {
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 600;
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.legal-table tbody td {
  padding: 0.6rem 1rem;
  color: var(--gray-600);
  line-height: 1.55;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-100);
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:hover td { background: var(--gray-50); }
/* Phones: the two-column security-architecture table stacks (layer name above its description)
   instead of scrolling sideways with the description cut off at the screen edge. */
@media (max-width: 640px) {
  .arch-table thead { display: none; }
  .arch-table, .arch-table tbody, .arch-table tr, .arch-table td { display: block; width: 100%; }
  .arch-table tbody tr { border-bottom: 1px solid var(--gray-100); padding: .5rem 0; }
  .arch-table tbody tr:last-child { border-bottom: none; }
  .arch-table tbody td { border-bottom: none; padding: .25rem 1rem; }
}

/* Signature block */
.legal-signature {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-200);
}
.legal-signature p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Veisla landing — new components (lang switch, consent, sections, form)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Logo sizing (shared) ──────────────────────────────────────────────────── */
.nav-logo { flex-shrink: 0; }   /* the links give way, never the logo */
.nav-logo img { height: 68px; width: auto; object-fit: contain; display: block; }
.footer .nav-logo img { height: 56px; }

/* ── Language switch ───────────────────────────────────────────────────────── */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.footer .lang-switch { flex-wrap: wrap; }
.footer .lang-switch a { color: rgba(255,255,255,.45); display: inline-block; padding: 12px 6px; }  /* 44 px touch target */
.footer .lang-switch a.active { color: var(--accent); }

/* Compact language dropdown in the top nav — one control (globe + current code)
   that expands to the full language list, instead of six inline codes. Native
   <details>, so it works without JS; main.js only adds click-outside/Escape close. */
.lang-menu { position: relative; }
.lang-menu > summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; user-select: none;
  padding: 6px 9px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600;
}
.lang-menu > summary::-webkit-details-marker { display: none; } /* Safari */
.lang-menu > summary::marker { content: ""; }
.lang-menu > summary:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.lang-menu[open] > summary { color: var(--white); border-color: rgba(255,255,255,.35); }
.lang-menu > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-menu-globe { opacity: .8; flex: none; }
.lang-menu-caret { transition: transform .15s ease; opacity: .7; flex: none; }
.lang-menu[open] .lang-menu-caret { transform: rotate(180deg); }
.lang-menu-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 120;
  min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--brand-900);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md, 12px);
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
}
.lang-menu-list li { margin: 0; }
.lang-menu-list a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.72); font-size: .875rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
}
.lang-menu-list a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.lang-menu-list a.active { color: var(--accent); font-weight: 600; }

/* ── Cookie consent banner ─────────────────────────────────────────────────── */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--brand-900);
  border-top: 1px solid rgba(174,188,203,.25);
  box-shadow: 0 -8px 30px rgba(0,0,0,.3);
  padding: 16px 0;
}
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.consent-text { color: rgba(255,255,255,.8); font-size: .875rem; margin: 0; max-width: 720px; line-height: 1.6; }
.consent-text a { color: var(--accent); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; max-width: 100%; }   /* long fi/is labels wrap instead of running off a phone */

/* ── Hero (single-column, content-driven) ──────────────────────────────────── */
.hero-narrow { max-width: 760px; min-width: 0; }
/* Long compounds ("arrangementsdestinasjoner") must break on a phone instead of widening the
   grid column and pushing the whole hero off-screen. */
.hero h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.hero h1 span { color: var(--accent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Problem section ───────────────────────────────────────────────────────── */
.problem-points { list-style: none; margin-top: 28px; display: grid; gap: 12px; max-width: 720px; }
.problem-points li { position: relative; padding-left: 32px; color: var(--gray-700); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; }
.problem-points li::before {
  content: '\2726'; position: absolute; left: 0; top: 0;
  color: var(--accent-dk); font-size: 1rem;
}

/* ── Platform: pillars + module grid + screenshot slots ────────────────────── */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Compact list of the remaining platform capabilities under the five modules */
.platform-more { margin-top: 48px; text-align: center; }
.platform-more .section-eyebrow { display: block; margin-bottom: 20px; }
.platform-more-list {
  margin: 0 auto; max-width: 760px; text-align: left;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px;
}
@media (max-width: 640px) { .platform-more-list { grid-template-columns: minmax(0, 1fr); } }
.module-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; transition: all .2s ease; display: flex; flex-direction: column;
}
.module-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.module-card.pillar { grid-column: span 2; border-color: var(--brand-300); }
.module-shot {
  aspect-ratio: 16 / 10; background: var(--gray-100); position: relative; overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.module-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* A real screenshot keeps its own proportions and carries a one-line "demo data" caption. */
.module-shot.has-img { aspect-ratio: auto; background: var(--white); }
/* A product sheet's one-line positioning under the intro (products.<key>.positioning): what the
   module is for and what it is not, set apart so a buyer sees it before the details. */
.sheet-positioning { max-width: 760px; margin: 1.25rem auto 0; padding: 14px 18px; border-left: 3px solid var(--accent);
  background: var(--gray-50, #f8fafc); color: var(--gray-700); font-size: 1rem; line-height: 1.6; text-align: left; border-radius: 0 8px 8px 0; }
.module-shot.has-img img { height: auto; }
.module-shot-note { margin: 0; padding: 6px 12px; font-size: .75rem; color: var(--gray-500); text-align: center; border-top: 1px solid var(--gray-200); }
.module-shot-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: var(--gray-400);
  background:
    repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 12px, var(--gray-50) 12px, var(--gray-50) 24px);
}
.module-shot-placeholder .ms-icon { font-size: 1.6rem; opacity: .6; }
.module-shot-placeholder .ms-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.module-body { padding: 20px 22px; }
.module-card.pillar .module-body h3 { font-size: 1.25rem; }
.module-body h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.module-body p { font-size: .9rem; color: var(--gray-500); margin: 0; }
.pillar-tag {
  display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-dk); margin-bottom: 6px;
}

/* "Coming" (AI agents) card */
.coming-card {
  margin-top: 28px; border: 1.5px dashed var(--brand-300); border-radius: var(--radius);
  padding: 24px 28px; background: var(--gray-50); display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.coming-badge {
  background: var(--accent); color: var(--brand-900); font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 100px; flex-shrink: 0;
}
.coming-card h3 { font-size: 1.0625rem; margin: 0; }
.coming-card p { font-size: .9rem; color: var(--gray-500); margin: 4px 0 0; }
.coming-card .coming-text { flex: 1; min-width: 240px; }

/* ── Why grid (differentiators) ────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px;
}
.why-card .why-check { color: var(--accent-dk); font-size: 1.1rem; font-weight: 700; }
.why-card h3 { font-size: 1.0625rem; margin: 10px 0 6px; }
.why-card p { font-size: .9rem; color: var(--gray-500); margin: 0; }
.why-card p.why-detail { margin-top: 10px; font-size: .85rem; line-height: 1.55; color: var(--gray-600, #6b7280); }

/* ── Nordic positioning ────────────────────────────────────────────────────── */
.nordic-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.nordic-text h2 { color: var(--white); }
.nordic-text p { color: rgba(255,255,255,.72); font-size: 1.0625rem; margin-top: 16px; }
.nordic-signals { display: grid; gap: 16px; }
.signal-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(174,188,203,.18); border-radius: var(--radius);
  padding: 20px 22px;
}
.signal-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.signal-card p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0; }

/* ── Get started steps ─────────────────────────────────────────────────────── */
.getstarted-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.gs-step { text-align: center; padding: 8px; }
.gs-num {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.gs-step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.gs-step p { font-size: .9rem; color: var(--gray-500); margin: 0; }
.gs-reassurance { text-align: center; color: var(--accent-dk); font-weight: 600; }

/* ── Platform walkthrough (event-first journey) ────────────────────────────── */
.journey-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.journey-step {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 14px; padding: 20px;
}
.journey-body h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.journey-body h3 a { color: inherit; text-decoration: none; }
.journey-body h3 a:hover { color: var(--accent-dk); text-decoration: underline; }
.journey-body p { font-size: .9rem; color: var(--gray-500); margin: 0; }
@media (max-width: 860px) { .journey-steps { grid-template-columns: 1fr; } }

/* ── Comparison scenarios (situation-by-situation) ─────────────────────────── */
.scenario { margin-bottom: 2rem; }
.scenario + .scenario { border-top: 1px solid var(--gray-100); padding-top: 2rem; }
.scenario-title { font-size: 1.25rem; margin-bottom: 1rem; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scenario-col {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 16px;
}
.scenario-col-veisla { border-color: var(--accent); background: var(--accent-light, #f0fdf4); }
.scenario-label {
  display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--gray-500); margin-bottom: 8px;
}
.scenario-col-veisla .scenario-label { color: var(--accent-dk); }
.scenario-col p { font-size: .9rem; margin: 0; color: var(--gray-700); }
@media (max-width: 860px) { .scenario-grid { grid-template-columns: 1fr; } }

/* ── Contact / demo form ───────────────────────────────────────────────────── */
.contact-section { background: var(--gray-50); }
.contact-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 40px; max-width: 760px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.demo-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form .form-group { margin-bottom: 18px; }
.demo-form label { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.demo-form label .opt { color: var(--gray-400); font-weight: 400; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .9375rem; color: var(--gray-900); background: var(--white); font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(138,106,36,.14);
}
.demo-form textarea { resize: vertical; min-height: 110px; }
.demo-form .field-error { color: var(--danger); font-size: .8rem; margin-top: 6px; min-height: 1em; display: block; }
.demo-form input.invalid, .demo-form textarea.invalid { border-color: var(--danger); }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; }
.consent-row input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--accent-dk); }
.consent-row label { font-size: .875rem; font-weight: 400; color: var(--gray-700); margin: 0; line-height: 1.5; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  background: rgba(31,174,126,.1); border: 1px solid rgba(31,174,126,.3); color: #1a6b4e;
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; font-weight: 500;
}
.form-error-banner {
  background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.3); color: var(--danger);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; font-weight: 500;
}

/* ── Footer additions ──────────────────────────────────────────────────────── */
.footer-company { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 12px; }
.footer-note { color: rgba(255,255,255,.4); font-size: .8rem; }

/* ── Visible focus (a11y) ──────────────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px;
}

/* ── Responsive (new components) ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card.pillar { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .nordic-split { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .module-grid { grid-template-columns: 1fr; }
  .module-card.pillar { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .getstarted-steps { grid-template-columns: 1fr; }
  .demo-form .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .nav .lang-switch { order: -1; }
  .consent-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Blog (SPEC_LANDING_BLOG) ─────────────────────────────────────────────── */
.blog-card { text-decoration: none; }
.blog-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray-100); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .blog-meta { display:block; margin-top:.75rem; font-size:.85rem; color: var(--gray-500,#777); }
.blog-body { max-width: 720px; margin: 2rem auto; line-height: 1.75; }
.blog-body h2 { margin: 2rem 0 .75rem; }
.blog-body h3 { margin: 1.5rem 0 .5rem; }
.blog-body p, .blog-body ul, .blog-body ol, .blog-body blockquote { margin-bottom: 1.1rem; }
.blog-body ul, .blog-body ol { padding-left: 1.4rem; }
.blog-body .blog-post-cta { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-200, #e5e7eb); font-weight: 500; }
.blog-body blockquote { border-left: 3px solid var(--accent,#d99a41); padding-left: 1rem; color: var(--gray-700,#444); font-style: italic; }
.blog-body code { background: var(--gray-100,#f3f3f3); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.blog-body hr { border:0; border-top:1px solid var(--gray-200,#e5e5e5); margin:2rem 0; }
.blog-figure { margin: 1.5rem 0; }
.blog-figure img { max-width:100%; height:auto; border-radius: 10px; }
.blog-figure figcaption { font-size:.85rem; color: var(--gray-500,#777); margin-top:.4rem; text-align:center; }
.blog-hero-wrap { max-width: 900px; margin: 1.5rem auto 0; }
.blog-hero { width:100%; height:auto; border-radius: 12px; }
.blog-post-meta { font-size:.9rem; color: var(--gray-500,#777); margin-bottom:.5rem; }
.blog-post-meta a { color: inherit; }
.blog-pager { display:flex; align-items:center; justify-content:center; gap:1rem; margin-top:2rem; }
.blog-pager-count { font-variant-numeric: tabular-nums; color: var(--gray-600,#555); }

/* "Siste 7 dager" on /status: one cell per day, coloured by the worst measured state (status_history.php).
   "No data" is an empty dashed cell, distinct from "unknown" grey — and neither is ever green. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.status-history-note { font-size: .85rem; margin: -8px 0 12px; }
.status-history-row { gap: 12px; flex-wrap: wrap; }
.status-history-row .status-row-name { min-width: 140px; }
.status-days { display: grid; grid-template-columns: repeat(7, minmax(34px, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1 1 280px; max-width: 420px; }
.status-day { display: flex; align-items: flex-end; justify-content: center; height: 34px; border-radius: 4px; font-size: .68rem; font-weight: 600; cursor: default; }
.status-day-date { padding-bottom: 3px; opacity: .85; }
.status-days .status-ok    { background: var(--ok);     color: #fff; }
.status-days .status-warn  { background: var(--warn);   color: #fff; }
.status-days .status-error { background: var(--danger); color: #fff; }
.status-days .status-info  { background: #3b82f6;       color: #fff; }
.status-nodata { background: var(--white); color: var(--gray-500); border: 1.5px dashed var(--gray-300); }
.status-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 12px 0 8px; margin: 0; font-size: .8rem; color: var(--gray-500); }
.status-legend li { display: flex; align-items: center; gap: 6px; }
.status-day-key { width: 14px; height: 14px; display: inline-block; }
.status-legend .status-ok    { background: var(--ok); }
.status-legend .status-warn  { background: var(--warn); }
.status-legend .status-error { background: var(--danger); }
.status-legend .status-info  { background: #3b82f6; }

/* Calculator: what the chosen package / focus includes (pricing-calc.js, cfg.included). */
.calc-included { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.calc-included-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.calc-included ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.calc-included li a, .calc-included li { font-size: .85rem; color: #fff; }
.calc-included li { background: rgba(255,255,255,.08); border-radius: 100px; padding: 4px 10px; }
.calc-included li a { text-decoration: none; }
.calc-included li a:hover { text-decoration: underline; }

/* Calculator: the MCP toggle's price, written by pricing-calc.js next to its label. */
.calc-mcp-price { color: var(--gray-500); white-space: nowrap; }

/* Long translations (e.g. Polish) must not push a button past a phone screen: let button text wrap there. */
@media (max-width: 480px) {
  .btn { white-space: normal; max-width: 100%; text-align: center; }
}

/* Blog card shown in another language (da/sv/is list the English originals). */
.blog-lang-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 100px; background: var(--gray-100); color: var(--gray-700); font-size: .72rem; font-weight: 600; }

/* ── /arrangementsflyt: one conference, step by step (flow.*) ─────────────── */
.flow-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4rem; }
.flow-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.flow-step:nth-child(even) .flow-text { order: 2; }
.flow-text h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 8px 0 6px; }
.flow-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--brand-900); font-weight: 700; }
.flow-who { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-500); margin-bottom: 10px; }
.flow-shot { border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .flow-step { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .flow-step:nth-child(even) .flow-text { order: 0; }
}

