
:root {
  --bg: #152848;
  --bg-2: #1a3058;
  --bg-3: #213866;
  --surface: #eef2f7;
  --surface-2: #f7f9fc;
  --card: #1b2f50;
  --card-2: #223862;
  --card-3: #294472;
  --text: #f7fbff;
  --text-2: #d7e4f4;
  --muted: #98aec9;
  --ink: #182438;
  --ink-soft: #47566b;
  --accent: #00b894; /* WCAG AA: 5,8:1 mot mörk bakgrund (tidigare #00947f gav 3,9:1) */
  --accent-2: #00b894;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(17, 32, 52, 0.08);
  --success: #00947f;
  --brand-teal: #00656b;
  --brand-rosa: #e94b61;
  --brand-blue: #3e89be;
  --brand-orange: #f9b233;
  --brand-green: #00947f;
  --brand-purple: #371961;
  --shadow: 0 24px 60px rgba(3, 12, 23, 0.28);
  --radius: 26px;
  --radius-sm: 18px;
  --radius-xs: 14px;
  --container: min(1180px, calc(100vw - 40px));
  --space-1: 10px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 56px;
  --space-6: 84px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(76, 149, 214, 0.48), transparent 0 26rem),
    radial-gradient(circle at 12% 88%, rgba(56, 118, 147, 0.36), transparent 0 22rem),
    linear-gradient(180deg, #152848 0%, #132542 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent);
  color: #04121f;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.announcement {
  background: rgba(27, 74, 94, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.announcement__inner {
  min-height: 46px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.announcement__inner p {
  margin: 0;
  color: var(--text-2);
}

.announcement__link {
  color: var(--accent);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px);
  background: rgba(6, 17, 32, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(1, 8, 18, 0.28);
}

.site-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 128px;
  height: auto;
}

.nav {
  justify-self: center;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__link {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 16px;
  align-items: center;
  border-radius: 999px;
  color: var(--text-2);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Synlig fokusindikator för tangentbordsnavigering (WCAG 2.4.7) */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.button--primary {
  color: #fff;
  /* Mörkare röd för AA-kontrast med vit text (4,6:1) */
  background: linear-gradient(135deg, #d63b51, #c1354a);
  box-shadow: 0 12px 30px rgba(199, 50, 73, 0.28);
}

.button--secondary {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.button--ghost {
  color: var(--accent);
  background: transparent;
  border-color: rgba(0, 148, 127, 0.30);
}

.button--small {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 0.96rem;
}

main {
  /* no overflow clip here – it breaks IntersectionObserver reveals */
}

.hero,
.page-hero {
  padding: 40px 0 24px;
}

.hero__grid,
.page-hero__grid,
.split-hero {
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
}

.hero__content,
.page-hero__content {
  max-width: 670px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 18px;
}

.eyebrow::before {
  display: none;
}
.eyebrow--no-dash::before {
  display: none;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.7rem);
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.hero p,
.page-hero p {
  margin: 0;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
}

.hero__actions,
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.pills,
.chips,
.logo-wall {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  margin: 22px 0 0;
}

.pill,
.chip,
.logo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.96rem;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.logo-chip {
  background: #ffffff;
  color: #12213a;
  border-color: rgba(16,33,58,0.08);
  box-shadow: 0 8px 24px rgba(8, 17, 28, 0.06);
  font-weight: 700;
}

/* Hero trust badges with icons */
.hero-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 101, 107, 0.15);
  border: 1px solid rgba(0, 200, 210, 0.2);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}

.hero-trust-badge:hover {
  background: rgba(0, 101, 107, 0.25);
  border-color: rgba(0, 200, 210, 0.35);
}

.hero-trust-badge__icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .hero-trust-badges {
    gap: 10px;
  }
  .hero-trust-badge {
    padding: 8px 14px 8px 10px;
    font-size: 0.84rem;
  }
}

/* Video link in scenario cards */
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.video-link:hover {
  color: #6bd8ff;
  gap: 8px;
}

.video-link svg {
  flex-shrink: 0;
}

.hero-board,
.mock-board,
.stack-panel,
.callout-panel,
.card,
.glass-card,
.light-card,
.note-card,
.contact-card,
.timeline-card,
.module-card,
.quote-card,
.faq-box,
.form-panel,
.metric-card,
.checklist-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-board,
.mock-board,
.stack-panel,
.callout-panel,
.glass-card,
.note-card,
.contact-card,
.timeline-card,
.module-card,
.quote-card,
.faq-box,
.form-panel,
.metric-card {
  background: linear-gradient(180deg, rgba(16, 33, 58, 0.92), rgba(8, 22, 41, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
}

.metric-card {
  padding: 32px;
}

.hero-board {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-board::after,
.cta-panel::after,
.footer-cta::after {
  content: "";
  position: absolute;
  inset: auto auto -90px -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 198, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.window-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(202, 216, 235, 0.5);
}

.board-main {
  background: linear-gradient(180deg, rgba(31, 67, 104, 0.98), rgba(20, 53, 87, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: calc(var(--radius) - 4px);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.board-main__kicker {
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.board-main h2,
.board-main h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.board-main p {
  margin: 0;
  color: var(--text-2);
}

.board-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.board-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 600;
}

.board-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.board-card,
.stat-card,
.step-card,
.feature-pill,
.data-card,
.skill-pill {
  border-radius: 22px;
  padding: 18px;
}

.board-card h3,
.stat-card h3,
.step-card h3,
.data-card h3,
.card h3,
.module-card h3,
.checklist-card h3,
.quote-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.board-card p,
.stat-card p,
.step-card p,
.data-card p,
.card p,
.module-card p,
.quote-card p,
.checklist-card p,
.light-card p {
  margin: 0;
  color: var(--text-2);
}

.card-number,
.stat-number {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(95, 200, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.customer-strip {
  padding: 18px 0 10px;
}

.customer-strip__inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 22px;
  border-radius: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.customer-strip__label {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section--light {
  background: var(--surface);
  color: var(--ink);
}

.section--light .eyebrow,
.section--muted .eyebrow {
  color: #1c6e9e;
}

.section--light p,
.section--muted p {
  color: var(--ink-soft);
}

.section--muted {
  background: linear-gradient(180deg, #f7f9fc 0%, #f1f5f9 100%);
  color: var(--ink);
}

.section--dark {
  background:
    radial-gradient(circle at 82% 10%, rgba(81, 146, 218, 0.2), transparent 0 26rem),
    linear-gradient(180deg, #061120 0%, #071423 100%);
}

.section--dark.is-flat {
  background: #071423;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  font-size: 1.08rem;
}

.grid-2,
.grid-3,
.grid-4,
.grid-auto {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card,
.light-card,
.checklist-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(17, 32, 52, 0.10);
  box-shadow: 0 4px 12px rgba(15, 25, 38, 0.06), 0 20px 48px rgba(15, 25, 38, 0.08);
}

.section--dark .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
  box-shadow: var(--shadow);
}

.section--dark .card p {
  color: var(--text-2);
}

.kicker {
  color: #1c6e9e;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 11px 0;
  border-top: 1px solid rgba(16, 33, 58, 0.08);
}

.section--dark .list li,
.glass-card .list li,
.mock-board .list li {
  border-color: rgba(255,255,255,0.08);
}

.list li:first-child {
  border-top: 0;
}

.split {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: start;
}

.note-card,
.callout-panel,
.quote-card,
.contact-card,
.form-panel {
  padding: 26px;
}

.callout-panel h2,
.callout-panel h3,
.contact-card h2,
.contact-card h3,
.quote-card h3,
.note-card h3,
.form-panel h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.muted {
  color: var(--muted);
}

.section--light .muted,
.section--muted .muted {
  color: var(--ink-soft);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(17,32,52,0.08);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 25, 38, 0.06);
}

.section--dark .table-wrap {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 18px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(17, 32, 52, 0.08);
}

.section--dark th,
.section--dark td {
  border-bottom-color: rgba(255,255,255,0.08);
}

th {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #1c6e9e;
  background: rgba(42, 159, 218, 0.08);
}

.section--dark th {
  background: rgba(255,255,255,0.04);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-top: 12px;
}

.checklist li:first-child {
  margin-top: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 5px rgba(95, 200, 255, 0.12);
}

.timeline {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card {
  padding: 24px;
}

.timeline-card__year {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.skill-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.skill-pill {
  background: #fff;
  border: 1px solid rgba(17, 32, 52, 0.08);
  color: var(--ink);
  padding: 16px 18px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 25, 38, 0.05);
}

.modules-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card {
  padding: 22px;
}

.module-card__tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(95, 200, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 0.84rem;
}

.kv-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.sdk-diagram {
  position: relative;
  min-height: 370px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 28, 50, 0.92), rgba(8, 22, 41, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.sdk-diagram__orbit {
  position: absolute;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.94rem;
}

.sdk-diagram__center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 132px;
  height: 132px;
  margin: -66px 0 0 -66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #6bd8ff);
  color: #04111f;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 22px 46px rgba(95, 200, 255, 0.22);
}

.sdk-diagram__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--text-2);
  max-width: 34ch;
}

/* Image-based SDK diagram */
.sdk-diagram--image {
  min-height: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13, 28, 50, 0.6), rgba(0, 101, 107, 0.12));
  border: 1px solid rgba(0, 200, 210, 0.15);
  box-shadow: 0 8px 32px rgba(0, 101, 107, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
}

.sdk-diagram__img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  object-fit: contain;
}

.sdk-diagram__caption--below {
  position: static;
  padding: 14px 8px 0;
  max-width: none;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0.7;
}

.cta-panel,
.footer-cta {
  position: relative;
  overflow: hidden;
  padding: 28px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(26, 55, 89, 0.98), rgba(13, 31, 54, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-panel h2,
.footer-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.cta-panel p,
.footer-cta p {
  margin: 0;
  color: var(--text-2);
  max-width: 56ch;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.breadcrumbs span {
  opacity: 0.55;
}

.faq {
  display: grid;
  gap: 18px;
}

.faq details {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 22px;
  padding: 20px 22px;
}

.section--light .faq details,
.section--muted .faq details {
  border-color: rgba(17,32,52,0.08);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 25, 38, 0.05);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 14px 0 0;
}

.form-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-field label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 16px;
  min-height: 54px;
  padding: 14px 16px;
}

.section--light .form-field input,
.section--light .form-field textarea,
.section--light .form-field select,
.section--muted .form-field input,
.section--muted .form-field textarea,
.section--muted .form-field select {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(17,32,52,0.12);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(95, 200, 255, 0.12);
  color: var(--text);
  border: 1px solid rgba(95, 200, 255, 0.18);
}

.form-success.is-visible {
  display: block;
}

.page-shell {
  padding-bottom: 36px;
}

.site-footer {
  padding: 70px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.site-footer__grid {
  display: grid;
  gap: 30px 24px;
  grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr));
}

.site-footer .footer-heading {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--text-2);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-brand img {
  width: 132px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.hero-centered,
.state-page {
  padding: 110px 0 90px;
}

.state-box {
  max-width: 760px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16,33,58,0.94), rgba(8,22,41,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.state-box h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.state-box p {
  margin: 0;
  color: var(--text-2);
  font-size: 1.08rem;
}

.util-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 1120px) {
  .grid-4,
  .timeline,
  .kv-grid,
  .modules-grid,
  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 10;
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    background: rgba(8, 22, 41, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    justify-content: center;
  }

  .header-actions .button--primary {
    display: none;
  }

  .hero__grid,
  .page-hero__grid,
  .split,
  .highlight-grid,
  .cta-panel,
  .footer-cta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .customer-strip__inner {
    grid-template-columns: 1fr;
  }

  .hero__trust-line {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.84rem;
  }

  .testimonial__author {
    flex-direction: column;
    text-align: center;
  }

  .board-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .announcement__inner {
    padding-block: 8px;
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 70px 0;
  }

  .hero,
  .page-hero {
    padding-top: 34px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .board-main h2,
  .board-main h3 {
    font-size: 1.4rem;
  }

  .timeline,
  .grid-4,
  .kv-grid,
  .modules-grid,
  .skill-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-showcase__orb {
    display: none;
  }

  .hero-panel.is-prev,
  .hero-panel.is-next {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(1180px, calc(100vw - 24px));
  }

  .site-header__inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand img {
    width: 100px;
  }

  .section {
    padding: 48px 0;
  }

  .hero,
  .page-hero {
    padding-top: 20px;
  }

  .hero__actions,
  .page-hero__actions {
    flex-direction: column;
  }

  .hero__actions .button,
  .page-hero__actions .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.92rem;
  }

  .pills,
  .chips,
  .logo-wall {
    gap: 8px;
  }

  .pill,
  .chip,
  .logo-chip {
    padding: 6px 12px;
    font-size: 0.84rem;
  }

  .hero-tabs {
    gap: 4px;
    justify-content: center;
  }

  .hero-tab {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .hero-showcase__scene {
    max-height: 200px;
  }

  .nav__list {
    padding: 10px;
    border-radius: 16px;
  }

  .nav__link {
    padding: 10px 14px;
    font-size: 0.92rem;
  }
}

/* Medvetet arkitekturbeslut: sajtens animationer är diskreta och körs
   för alla besökare, även när OS:et flaggar prefers-reduced-motion
   (vanlig IT-standard som sällan är ett aktivt tillgänglighetsval).
   Endast smooth-scroll stängs av. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ========================================
   Centered Hero Layout
   ======================================== */
.hero--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__content--center {
  max-width: 820px;
  margin: 0 auto;
}

.hero__content--center h1 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero__content--center .eyebrow::before {
  display: none;
}

.hero__subtitle {
  color: var(--text-2);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  max-width: 60ch;
  margin: 0 auto;
}

/* Centrera hero-underrubriken (overstyr .hero p { margin: 0 }) */
.hero .hero__subtitle,
.page-hero .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions--center {
  justify-content: center;
}

.hero__trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.5;
}

/* ========================================
   3D Hero Showcase
   ======================================== */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 42px auto 0;
  padding-bottom: 40px;
  overflow: clip;
}

/* Hexagonal grid pattern (ITSL brand style) */
.hero-showcase__grid {
  position: absolute;
  inset: -20% -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66Z' fill='none' stroke='rgba(0,148,127,0.22)' stroke-width='0.7'/%3E%3Cpath d='M28 100L0 84L0 50L28 34L56 50L56 84L28 100Z' fill='none' stroke='rgba(0,148,127,0.15)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: grid-fade-in 2s ease 0.5s forwards;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 75%);
}

@keyframes grid-fade-in {
  to { opacity: 1; }
}

/* Floating orb accents */
.hero-showcase__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.hero-showcase__orb--1 {
  width: 420px;
  height: 420px;
  top: -10%;
  right: -12%;
  background: radial-gradient(circle, rgba(95, 200, 255, 0.30) 0%, transparent 70%);
  animation: orb-drift-1 12s ease-in-out infinite;
}

.hero-showcase__orb--2 {
  width: 360px;
  height: 360px;
  bottom: 0%;
  left: -10%;
  background: radial-gradient(circle, rgba(56, 118, 200, 0.25) 0%, transparent 70%);
  animation: orb-drift-2 15s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 15px) scale(1.05); }
  66% { transform: translate(10px, -10px) scale(0.95); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(15px, -20px) scale(1.08); }
  70% { transform: translate(-10px, 10px) scale(0.96); }
}

/* Floating particles */
.hero-showcase__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-showcase__particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(95, 200, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(95, 200, 255, 0.3);
  animation: particle-float linear infinite;
  opacity: 0;
}

.hero-showcase__particles span:nth-child(1) { left: 10%; top: 20%; animation-duration: 8s; animation-delay: 0s; }
.hero-showcase__particles span:nth-child(2) { left: 25%; top: 60%; animation-duration: 10s; animation-delay: 1.5s; width: 2px; height: 2px; }
.hero-showcase__particles span:nth-child(3) { left: 45%; top: 15%; animation-duration: 12s; animation-delay: 3s; }
.hero-showcase__particles span:nth-child(4) { left: 65%; top: 70%; animation-duration: 9s; animation-delay: 0.8s; width: 4px; height: 4px; }
.hero-showcase__particles span:nth-child(5) { left: 80%; top: 30%; animation-duration: 11s; animation-delay: 2s; }
.hero-showcase__particles span:nth-child(6) { left: 90%; top: 55%; animation-duration: 7s; animation-delay: 4s; width: 2px; height: 2px; }
.hero-showcase__particles span:nth-child(7) { left: 15%; top: 80%; animation-duration: 13s; animation-delay: 1s; }
.hero-showcase__particles span:nth-child(8) { left: 55%; top: 45%; animation-duration: 10s; animation-delay: 3.5s; width: 2px; height: 2px; }

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-120px) translateX(30px); }
}

.hero-showcase__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 80%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(95, 200, 255, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 60%, rgba(56, 118, 200, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 40%, rgba(95, 160, 255, 0.15) 0%, transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 6s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* ---- Hero Tabs ---- */
.hero-tabs {
  /* Flik-navigeringen dold på begäran – karusellen roterar
     automatiskt via JS (knapparna finns kvar i DOM så auto-
     rotationen fungerar). Ändra till display:flex för att visa igen. */
  display: none;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
  animation: hero-tabs-enter 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.15s both;
}

@keyframes hero-tabs-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(13, 28, 50, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  letter-spacing: 0.01em;
  overflow: hidden;
}

.hero-tab svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.hero-tab:hover {
  background: rgba(95, 200, 255, 0.08);
  border-color: rgba(95, 200, 255, 0.2);
  color: var(--text);
}

.hero-tab:hover svg {
  opacity: 1;
}

.hero-tab.is-active {
  background: rgba(95, 200, 255, 0.12);
  border-color: rgba(95, 200, 255, 0.35);
  color: var(--accent-2);
  box-shadow:
    0 0 20px rgba(95, 200, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Progress bar inside active tab */
.hero-tab::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-tab.is-active.is-timing::after {
  opacity: 0.8;
  animation: tab-progress 6s linear forwards;
}

@keyframes tab-progress {
  from { width: 0%; }
  to { width: 80%; }
}

.hero-tab.is-active svg {
  opacity: 1;
  stroke: var(--accent);
}

/* ---- Scene & Panels (3D Carousel) ---- */
.hero-showcase__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1.88 / 1;
}

.hero-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
  transform: scale(0.7) translateX(0);
  filter: brightness(0.4) blur(2px);
  z-index: 0;
}

/* Center card – active */
.hero-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  transform: scale(1) translateX(0);
  filter: brightness(1) blur(0);
}

/* Left peek card – previous */
.hero-panel.is-prev {
  opacity: 0.5;
  z-index: 1;
  transform: perspective(1200px) scale(0.30) translateX(-165%) rotateY(25deg);
  filter: brightness(0.5) blur(1px);
}

/* Right peek card – next */
.hero-panel.is-next {
  opacity: 0.5;
  z-index: 1;
  transform: perspective(1200px) scale(0.30) translateX(165%) rotateY(-25deg);
  filter: brightness(0.5) blur(1px);
}

/* Outgoing center card */
.hero-panel.is-leaving {
  opacity: 0;
  z-index: 2;
  transform: scale(0.9) translateX(0);
  filter: brightness(0.6) blur(2px);
}

/* Main center card */
.hero-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
  will-change: transform;
}

.hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hero-card--main {
  width: 88%;
  left: 6%;
  top: 0;
  z-index: 3;
  transform: perspective(1200px) rotateX(4deg) rotateY(0deg) translateZ(0);
  border: 1px solid rgba(95, 200, 255, 0.25);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(95, 200, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card--main::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(95, 200, 255, 0.4) 0%,
    transparent 35%,
    transparent 65%,
    rgba(99, 102, 241, 0.25) 100%
  );
  z-index: -1;
  opacity: 0.8;
  animation: card-border-glow 6s ease-in-out infinite;
}

@keyframes card-border-glow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

.hero-card--main .hero-card__glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 25%,
    transparent 75%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: 16px;
}

/* Hover lift on scene */
.hero-showcase__scene:hover .hero-card--main {
  transform: perspective(1200px) rotateX(2deg) rotateY(0deg) translateZ(20px);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(95, 200, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Floating accent elements */
.hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(13, 28, 50, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.hero-float--badge {
  top: 18%;
  left: -1%;
  animation: hero-float-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both, float-subtle 4s ease-in-out 1.8s infinite;
}

.hero-float--stat {
  bottom: 20%;
  right: -1%;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  animation: hero-float-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s both, float-subtle 5s ease-in-out 2s infinite;
}

.hero-float--shield {
  bottom: 8%;
  left: 4%;
  animation: hero-float-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.2s both, float-subtle 4.5s ease-in-out 2.2s infinite;
  color: var(--accent);
}

.hero-float--shield svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.hero-float__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f9b233;
  box-shadow: 0 0 8px rgba(249, 178, 51, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-float__number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-float__label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* Reflection */
.hero-showcase__reflection {
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 80%;
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(95, 200, 255, 0.04) 0%,
    transparent 100%
  );
  filter: blur(20px);
  border-radius: 50%;
  pointer-events: none;
}

/* Entrance animations */
@keyframes hero-main-enter {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(12deg) rotateY(0deg) translateZ(-80px) translateY(40px);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(4deg) rotateY(0deg) translateZ(0) translateY(0);
  }
}

@keyframes hero-float-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 16px rgba(52, 211, 153, 0.8); }
}

/* Mobile responsive */
@media (max-width: 920px) {
  .hero-card--main {
    width: 96%;
    left: 2%;
    transform: perspective(800px) rotateX(3deg) translateZ(0);
  }

  .hero-float--badge {
    top: auto;
    bottom: -8%;
    left: 4%;
  }

  .hero-float--stat {
    display: none;
  }

  .hero-float--shield {
    bottom: -8%;
    left: auto;
    right: 4%;
  }

  .hero-tabs {
    gap: 4px;
    flex-wrap: wrap;
  }

  .hero-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-tab svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 600px) {
  .hero-showcase {
    margin-top: 28px;
  }

  .hero-float {
    font-size: 0.76rem;
    padding: 7px 12px;
  }

  .hero-tab {
    padding: 7px 12px;
    font-size: 0.76rem;
    gap: 5px;
  }
}

/* ========================================
   Button Glow Effect
   ======================================== */
.button--glow {
  position: relative;
}

.button--glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e94b61, #d63b51, #f06070);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

.button--glow:hover::after {
  opacity: 0.5;
}

/* ========================================
   Logo Chips with Images
   ======================================== */
.logo-chip--img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-height: auto;
}

.logo-chip--img img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 0;
}

/* ========================================
   Testimonial Section
   ======================================== */
.testimonial-section {
  padding: 48px 0;
}

.testimonial {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  margin: 0;
  padding: 0;
}

.testimonial__quote p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}

.testimonial__author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #64bdf8);
  color: #061120;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.testimonial__name {
  font-weight: 700;
  color: var(--text);
}

.testimonial__role {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ========================================
   Hero Background Video
   ======================================== */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6, 17, 32, 0.3) 0%,
    rgba(6, 17, 32, 0.1) 40%,
    rgba(6, 17, 32, 0.6) 100%
  );
}

/* ========================================
   AppFrame – Window Chrome
   ======================================== */
.appframe {
  overflow: hidden;
}

.appframe__topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(10, 20, 38, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.appframe__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.appframe__dot--r { background: rgba(255, 255, 255, 0.15); }
.appframe__dot--y { background: rgba(255, 255, 255, 0.15); }
.appframe__dot--g { background: rgba(255, 255, 255, 0.15); }

.appframe__title {
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
}

/* ========================================
   Mega Menu – Products Dropdown
   ======================================== */
.nav__item--mega {
  /* static: panelen positioneras mot .site-header (sticky) och centreras i viewporten —
     krävs när panelen breddats till fyra kolumner ("För er roll") */
  position: static;
}

.nav__link--dropdown {
  background: none;
  border: none;
  display: inline-flex;
  gap: 4px;
  min-height: 42px;
  padding: 10px 16px;
  align-items: center;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: inherit;
  font-size: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__link--dropdown:hover,
.nav__link--dropdown:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav__chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav__link--dropdown[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(1120px, calc(100vw - 32px)); /* breddad för fem kolumner inkl. Fördjupning */
  background: rgba(10, 20, 40, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* Start döljs på desktop (loggan är hemlänk); syns i mobilmenyn — navöversyn 2026-07-19 */
.nav__item--home { display: none; }
@media (max-width: 920px) { .nav__item--home { display: block; } }

/* Logga in-länk till kundportalen (portal.hubs.se) i headern */
.nav__login {
  font-size: 0.92rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 10px;
  margin-right: 2px;
  opacity: 0.85;
}
.nav__login:hover { opacity: 1; color: var(--accent); }

.mega-menu__heading {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu__list li {
  margin-bottom: 10px;
}

.mega-menu__list li a {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease;
}

.mega-menu__list li a:hover {
  color: var(--accent);
}

.mega-menu__list li span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    width: auto;
    transform: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    box-shadow: none;
    background: rgba(6, 17, 32, 0.6);
    border-radius: 14px;
    margin-top: 6px;
    transition: opacity 0.25s ease, max-height 0.35s ease, padding 0.25s ease;
  }
  .mega-menu.is-open {
    opacity: 1;
    max-height: 800px;
    padding: 20px;
    transform: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========================================
   Light Card – Enhanced Visibility
   ======================================== */
.light-card--with-screenshot {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.light-card--with-screenshot > h3,
.light-card--with-screenshot > p {
  flex-shrink: 0;
}

.light-card--with-screenshot > p {
  min-height: 4em;
}

.light-card--with-screenshot h3 {
  font-size: 1.22rem;
  color: #0e1e35;
  margin-bottom: 8px;
}

.light-card--with-screenshot .card-number {
  background: linear-gradient(135deg, rgba(42, 159, 218, 0.18), rgba(99, 102, 241, 0.14));
  color: #1c6e9e;
  font-size: 0.92rem;
  font-weight: 800;
}

.light-card--with-screenshot .list li {
  font-weight: 500;
  color: #2c3e52;
  font-size: 0.95rem;
  padding: 10px 0 10px 24px;
  position: relative;
}

.light-card--with-screenshot .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1c6e9e;
}

/* ========================================
   Feature List Accordion
   ======================================== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  border-bottom: 1px solid rgba(17, 32, 52, 0.08);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: #2c3e52;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  transition: color 0.2s ease;
}

.feature-item__toggle:hover {
  color: #1c6e9e;
}

.feature-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1c6e9e;
  flex-shrink: 0;
}

.feature-item__chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.35;
}

.feature-item.is-open .feature-item__chevron {
  transform: rotate(180deg);
  opacity: 0.7;
}

.feature-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.23, 1, 0.32, 1), padding 0.35s ease;
  padding: 0 0 0 16px;
}

.feature-item.is-open .feature-item__body {
  max-height: 200px;
  padding: 0 0 12px 16px;
}

.feature-item__body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5a6d80;
}

/* ========================================
   Plattforms-utforskaren (framsidan)
   Flikad utforskare renderad ur window.HUBS_NAV
   ======================================== */
.platform-explorer {
  margin-top: 8px;
}

/* Statisk fallback innan JS byggt om (render-first) */
.platform-explorer__fallback {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 28px;
  background: var(--surface-2);
  border: 1px solid rgba(17, 32, 52, 0.06);
  border-radius: var(--radius);
  padding: 28px;
}
.pex-fallback-group h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b8f74;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(17, 32, 52, 0.08);
}
.pex-fallback-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.pex-fallback-group a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #26374a;
  text-decoration: none;
}
.pex-fallback-group a:hover {
  color: #0b8f74;
}

/* Interaktiv utforskare */
.platform-explorer__inner {
  display: grid;
  grid-template-columns: 256px 1fr;
  background: #fff;
  border: 1px solid rgba(17, 32, 52, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.platform-explorer__rail {
  background: linear-gradient(180deg, #f4f7fb, #eaeff6);
  border-right: 1px solid rgba(17, 32, 52, 0.07);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.platform-explorer__divider {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa8b8;
  margin: 14px 8px 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 32, 52, 0.09);
}
.pex-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #2c3e52;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.pex-tab:hover {
  background: rgba(0, 184, 148, 0.09);
}
.pex-tab[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 184, 148, 0.28);
}
.pex-tab__num {
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 184, 148, 0.16);
  color: #0b8f74;
  border-radius: 6px;
  padding: 2px 7px;
  flex: none;
}
.pex-tab[aria-selected="true"] .pex-tab__num {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.pex-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.platform-explorer__panels {
  min-width: 0;
}
.pex-pane {
  padding: 24px clamp(18px, 2.4vw, 30px);
}
.pex-pane[hidden] {
  display: none;
}
.pex-pane:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.pex-pane__intro {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 60ch;
}
.pex-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}
.pex-list--grid {
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.pex-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.14s ease;
}
.pex-link:hover {
  background: #f4f7fb;
}
.pex-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.pex-link__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex: none;
}
.pex-link__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pex-link__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1c2c3e;
  line-height: 1.3;
}
.pex-link__desc {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.pex-link__arrow {
  margin-left: auto;
  align-self: center;
  color: #0b8f74;
  opacity: 0;
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.pex-link:hover .pex-link__arrow {
  opacity: 1;
  transform: translateX(2px);
}
.pex-pane__video {
  margin-top: 14px;
  display: inline-flex;
}

/* Lager-panel: länklista + scen med levande mockup */
.pex-layer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 22px;
  align-items: start;
}
.pex-list--hover .pex-link {
  position: relative;
}
.pex-list--hover .pex-link.is-active {
  background: #eef4f9;
}
.pex-list--hover .pex-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.pex-list--hover .pex-link.is-active .pex-link__arrow {
  opacity: 1;
  transform: translateX(2px);
}
.pex-stage {
  position: relative;
  min-height: 272px;
  display: flex;
  align-items: stretch;
}
.pex-stage .fsect__mockup {
  width: 100%;
  align-self: center;
}

@media (max-width: 860px) {
  .platform-explorer__inner {
    grid-template-columns: 1fr;
  }
  .pex-layer {
    grid-template-columns: 1fr;
  }
  .pex-stage {
    min-height: 0;
    order: -1;
    margin-bottom: 4px;
  }
  .platform-explorer__rail {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    border-right: none;
    border-bottom: 1px solid rgba(17, 32, 52, 0.07);
    padding: 12px;
  }
  .platform-explorer__divider {
    display: none;
  }
  .pex-tab {
    white-space: nowrap;
  }
  .pex-list--grid {
    grid-template-columns: 1fr;
  }
  .platform-explorer__fallback {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Gov Section – Offentlig sektor i fokus
   ======================================== */
.gov-section {
  position: relative;
  overflow: hidden;
}

.gov-section__deco {
  position: absolute;
  top: -120px;
  right: -80px;
  pointer-events: none;
  opacity: 0.6;
}

.gov-section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* Stat row */
.stat-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-item__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-item__suffix {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-item__label {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 200px;
  line-height: 1.4;
}

/* Gov cards (2×2 grid) */
.gov-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.gov-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gov-card {
  background: linear-gradient(180deg, rgba(16, 33, 58, 0.92), rgba(8, 22, 41, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gov-card:hover {
  border-color: rgba(95, 200, 255, 0.25);
  box-shadow: 0 0 24px rgba(95, 200, 255, 0.06);
}

.gov-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--accent);
}

.gov-card__icon svg {
  width: 100%;
  height: 100%;
}

.gov-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.gov-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Gov section mobile */
@media (max-width: 768px) {
  .stat-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .gov-cards {
    grid-template-columns: 1fr;
  }
  .gov-grid {
    grid-template-columns: 1fr;
  }
}

/* Scenariodokument (PDF-fördjupning i gov-sektionen) */
.gov-docs {
  margin-top: 3.25rem;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.gov-docs__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.gov-docs__head h3 {
  font-size: 1.4rem;
  margin: 0.35rem 0 0.5rem;
}

.gov-docs__head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.gov-docs__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(16, 33, 58, 0.92), rgba(8, 22, 41, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.doc-card:hover {
  border-color: rgba(95, 200, 255, 0.32);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.6), 0 0 26px rgba(95, 200, 255, 0.07);
  transform: translateY(-3px);
}

.doc-card:focus-visible {
  outline: 2px solid #5fc8ff;
  outline-offset: 3px;
}

.doc-card__thumb {
  display: block;
  margin: -22px -22px 16px;
  height: 138px;
  overflow: hidden;
  background: #eaf1f9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.doc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.doc-card:hover .doc-card__thumb img {
  transform: scale(1.04);
}

.doc-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7fd3ff;
  border: 1px solid rgba(95, 200, 255, 0.32);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.doc-card__title {
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: #fff;
}

.doc-card__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1rem;
}

.doc-card__meta {
  display: block;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(197, 213, 235, 0.6);
  margin-top: auto;
  padding-top: 0.75rem;
}

.doc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: #7fd3ff;
}

.doc-card__cta svg {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.doc-card:hover .doc-card__cta svg {
  transform: translateX(4px);
}

/* Video-tagg på scenariokort: klickbar chip på kortbilden (öppnar videomodalen).
   Ligger som syskon till kort-länken (nästlade länkar är ogiltiga) och
   positioneras över thumben via li:ts relativa kontext. */
.gov-docs__grid > li { position: relative; }
.doc-card__videobadge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(8, 18, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.doc-card__videobadge:hover {
  background: rgba(8, 18, 32, 0.94);
  transform: translateY(-1px);
}
.doc-card__videobadge svg { flex-shrink: 0; }

/* Badge-rad på scenariokort: PDF-tagg vänster + filmtagg höger på samma rad */
.doc-card__badgerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.doc-card__badgerow .doc-card__badge { margin-bottom: 0; }

/* Kompakt scenariorad (startsidan): fem titellänkar som pills + samlingslänk
   till offentlig-sektor/#scenarier där korten med filmer och målgrupper bor. */
.gov-docs__linkrow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.gov-docs__linkrow a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(16, 33, 58, 0.6);
  color: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.gov-docs__linkrow a:hover {
  border-color: rgba(95, 200, 255, 0.4);
  background: rgba(16, 33, 58, 0.9);
  transform: translateY(-1px);
}
.gov-docs__linkrow a:focus-visible {
  outline: 2px solid #5fc8ff;
  outline-offset: 3px;
}
.gov-docs__linkrow .gov-docs__linkrow-all {
  border-color: rgba(95, 200, 255, 0.4);
  color: #7fd3ff;
}

/* Fem scenarier: 3 kort övre raden + 2 STÖRRE kort undre raden.
   6-kolumnsgrid: övre korten spänner 2 kolumner, undre 3. */
.gov-docs__grid--five {
  grid-template-columns: repeat(6, 1fr);
}
.gov-docs__grid--five > li { grid-column: span 2; }
.gov-docs__grid--five > li:nth-child(n + 4) { grid-column: span 3; }
.gov-docs__grid--five > li:nth-child(n + 4) .doc-card__thumb { height: 172px; }
.gov-docs__grid--five > li:nth-child(n + 4) .doc-card__title { font-size: 1.14rem; }

/* Fristående scenariosektion (offentlig sektor) — utan gov-docs avdelarlinje */
.gov-docs--standalone {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 1000px) {
  .gov-docs__grid,
  .gov-docs__grid--five {
    grid-template-columns: repeat(2, 1fr);
  }
  .gov-docs__grid--five > li,
  .gov-docs__grid--five > li:nth-child(n + 4) { grid-column: auto; }
  .gov-docs__grid--five > li:nth-child(n + 4) .doc-card__thumb { height: 138px; }
  .gov-docs__grid--five > li:nth-child(n + 4) .doc-card__title { font-size: 1.02rem; }
}

@media (max-width: 560px) {
  .gov-docs__grid,
  .gov-docs__grid--five {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doc-card,
  .doc-card__cta svg,
  .doc-card__thumb img {
    transition: none;
  }
  .doc-card:hover {
    transform: none;
  }
  .doc-card:hover .doc-card__cta svg,
  .doc-card:hover .doc-card__thumb img {
    transform: none;
  }
}

/* ========================================
   Card Screenshots
   ======================================== */
.card-screenshot {
  margin: 16px 0;
  border-radius: calc(var(--radius-sm) - 4px);
  overflow: hidden;
  border: 1px solid rgba(17, 32, 52, 0.08);
}

.card-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.light-card--with-screenshot:hover .card-screenshot img {
  transform: scale(1.03);
}

/* ========================================
   Video Links (HeyGen)
   ======================================== */
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #1c6e9e;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.video-link:hover {
  color: #1e8bc3;
  gap: 12px;
}

.video-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(42, 159, 218, 0.12);
  font-size: 0.7rem;
  transition: background 0.2s ease;
}

.video-link:hover .video-link__icon {
  background: rgba(42, 159, 218, 0.22);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.is-active {
  display: flex;
  opacity: 1;
}

.video-modal__inner {
  position: relative;
  width: 90vw;
  max-width: 960px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal.is-active .video-modal__inner {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: 80vh;
  outline: none;
}

/* ========================================
   News Cards
   ======================================== */
.news-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid rgba(17, 32, 52, 0.08);
  box-shadow: 0 18px 42px rgba(15, 25, 38, 0.06);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(15, 25, 38, 0.1);
}

.news-card__img {
  margin: -28px -28px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-card:hover .news-card__img img {
  transform: scale(1.04);
}

.news-card__date {
  color: #1c6e9e;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.news-card h2,
.news-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.news-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: #1c6e9e;
  font-weight: 700;
  font-size: 0.92rem;
  transition: gap 0.2s ease;
  gap: 4px;
}

.news-card__link:hover {
  gap: 8px;
}

/* ========================================
   Article Page
   ======================================== */
.article-hero {
  padding: 6rem 0 3rem;
  text-align: center;
}

.article-hero .eyebrow {
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 740px;
  margin: 0 auto 1rem;
  line-height: 1.18;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.article-meta__author {
  font-weight: 600;
  color: var(--text-2);
}

.article-hero__img {
  max-width: 780px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-hero__img img {
  width: 100%;
  display: block;
}

/* Article body */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.article-body p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0 0 1.25rem;
}

.article-body ul,
.article-body ol {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.72;
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-2);
  font-style: italic;
  font-size: 1.08rem;
}

/* Back link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.article-back:hover {
  gap: 10px;
}

/* News overview page */
.news-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .news-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Microinteractions – Card Hovers
   ======================================== */
.card,
.light-card,
.metric-card,
.timeline-card,
.module-card {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.light-card:hover,
.metric-card:hover,
.timeline-card:hover,
.module-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 28px 60px rgba(3, 12, 23, 0.18);
}

.light-card:hover {
  border-color: rgba(42, 159, 218, 0.25);
}

.section--dark .card:hover,
.metric-card:hover,
.timeline-card:hover,
.module-card:hover {
  box-shadow: 0 28px 60px rgba(3, 12, 23, 0.35), 0 0 40px rgba(95, 200, 255, 0.06);
}

/* Button active state */
.button:active {
  transform: scale(0.97) !important;
}

/* ========================================
   FAQ Animated Accordion
   ======================================== */
.faq details {
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(95, 200, 255, 0.2);
}

.section--light .faq details[open] {
  border-color: rgba(42, 159, 218, 0.2);
}

.faq summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(95, 200, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(95, 200, 255, 0.2);
}

.faq details p {
  animation: faq-open 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Cursor Glow Effect (Linear-style)
   ======================================== */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 200, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cursor-glow.is-active {
  opacity: 1;
}

/* ========================================
   Number Count-up (visual only, JS animates)
   ======================================== */
.card-number {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover .card-number,
.light-card:hover .card-number,
.timeline-card:hover .card-number {
  transform: scale(1.1);
}

/* ========================================
   Hero Grid Dot Animation
   ======================================== */
@keyframes pulse-dots {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* ========================================
   Feature Map — Overview Grid
   ======================================== */

.fmap__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.fmap__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 8px 0 12px;
}
.fmap__head p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.6;
}

.fmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fmap__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fmap__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 4px 12px;
  margin: 0 0 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fmap__col--cyan .fmap__cat { color: #00947f; }
.fmap__col--indigo .fmap__cat { color: #3e89be; }
.fmap__col--emerald .fmap__cat { color: #f9b233; }
.fmap__cat svg { opacity: 0.7; }
.fmap__col--cyan .fmap__cat svg { stroke: #00947f; }
.fmap__col--indigo .fmap__cat svg { stroke: #3e89be; }
.fmap__col--emerald .fmap__cat svg { stroke: #f9b233; }

.fmap__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}
.fmap__card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}
.fmap__col--cyan .fmap__card:hover {
  border-color: rgba(0,148,127,0.3);
  box-shadow: 0 4px 24px rgba(0,148,127,0.08);
}
.fmap__col--indigo .fmap__card:hover {
  border-color: rgba(62,137,190,0.3);
  box-shadow: 0 4px 24px rgba(62,137,190,0.08);
}
.fmap__col--emerald .fmap__card:hover {
  border-color: rgba(249,178,51,0.3);
  box-shadow: 0 4px 24px rgba(249,178,51,0.08);
}

.fmap__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.22s ease;
}
.fmap__card:hover .fmap__icon { opacity: 0.85; }
.fmap__col--cyan .fmap__icon { stroke: #00947f; }
.fmap__col--indigo .fmap__icon { stroke: #3e89be; }
.fmap__col--emerald .fmap__icon { stroke: #f9b233; }

.fmap__card div {
  flex: 1;
  min-width: 0;
}
.fmap__card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.fmap__card span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

.fmap__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  stroke: var(--muted);
}
.fmap__card:hover .fmap__arrow {
  opacity: 0.6;
  transform: translateX(0);
}

/* Scroll reveal for fmap cards */
.fmap__card {
  opacity: 0;
  transform: translateY(16px);
}
.fmap__card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.fmap__card.is-visible:hover {
  transform: translateY(-2px);
}

/* Stagger animation per column */
.fmap__col .fmap__card:nth-child(2).is-visible { transition-delay: 0.06s; }
.fmap__col .fmap__card:nth-child(3).is-visible { transition-delay: 0.12s; }
.fmap__col .fmap__card:nth-child(4).is-visible { transition-delay: 0.18s; }
.fmap__col .fmap__card:nth-child(5).is-visible { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .fmap { grid-template-columns: 1fr; gap: 32px; }
}

/* ========================================
   Hubs Feature Sections (Dedicated per-feature)
   ======================================== */

/* Category Header */
.fsect-category {
  padding-top: 72px !important;
  padding-bottom: 0 !important;
}

.fsect-cat-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
}

.fsect-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fsect-cat-header--cyan .fsect-cat-icon {
  background: rgba(0,148,127,0.12);
  color: #00947f;
}
.fsect-cat-header--indigo .fsect-cat-icon {
  background: rgba(62,137,190,0.12);
  color: #3e89be;
}
.fsect-cat-header--emerald .fsect-cat-icon {
  background: rgba(249,178,51,0.12);
  color: #f9b233;
}

.fsect-cat-header h2 {
  margin: 4px 0 8px;
  font-size: 1.8rem;
}

.fsect-cat-header p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

/* Category headers always on dark bg now */

/* Scroll offset for anchor links (sticky header) */
.fsect[id],
.fsect-category[id],
section[id] {
  scroll-margin-top: 80px;
}

/* Feature Section */
.fsect {
  position: relative;
  overflow: hidden;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.fsect__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.fsect--reverse .fsect__inner {
  direction: rtl;
}

.fsect--reverse .fsect__inner > * {
  direction: ltr;
}

/* Decorative elements */
.fsect__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.fsect__deco--dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 80% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 80% 50%, black 0%, transparent 70%);
}

.fsect--reverse .fsect__deco--dots {
  mask-image: radial-gradient(ellipse 60% 50% at 20% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 20% 50%, black 0%, transparent 70%);
}

.fsect__deco--grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 50% 60% at 70% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 70% 40%, black 0%, transparent 70%);
}

.fsect--reverse .fsect__deco--grid {
  mask-image: radial-gradient(ellipse 50% 60% at 30% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 30% 40%, black 0%, transparent 70%);
}

.fsect__deco--lines {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.02) 40px,
    rgba(255,255,255,0.02) 41px
  );
}

/* Glow orbs */
.fsect__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

.fsect__glow--tl {
  top: -15%;
  left: -5%;
}

.fsect__glow--br {
  bottom: -15%;
  right: -5%;
}

.fsect--cyan .fsect__glow {
  background: radial-gradient(circle, rgba(0,148,127,0.12) 0%, transparent 70%);
}

.fsect--indigo .fsect__glow {
  background: radial-gradient(circle, rgba(62,137,190,0.12) 0%, transparent 70%);
}

.fsect--emerald .fsect__glow {
  background: radial-gradient(circle, rgba(249,178,51,0.10) 0%, transparent 70%);
}

/* Text side */
.fsect__text {
  position: relative;
  z-index: 1;
}

.fsect__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fsect__icon--cyan { background: rgba(0,148,127,0.12); color: #00947f; }
.fsect__icon--indigo { background: rgba(62,137,190,0.12); color: #3e89be; }
.fsect__icon--emerald { background: rgba(249,178,51,0.12); color: #f9b233; }

.fsect__text h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fsect__text p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 20px;
}

.fsect__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fsect__points li {
  font-size: 0.94rem;
  color: var(--text-2);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.fsect__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.fsect--cyan .fsect__points li::before { background: rgba(0,148,127,0.5); }
.fsect--indigo .fsect__points li::before { background: rgba(62,137,190,0.5); }
.fsect--emerald .fsect__points li::before { background: rgba(249,178,51,0.5); }

/* Visual side — Mockups */
.fsect__visual {
  position: relative;
  z-index: 1;
}

.fsect__mockup {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  background: rgba(8,18,32,0.90);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 40px rgba(0,0,0,0.10);
  /* Enhetlig mockup-höjd på båda sidorna: fast höjd så alla mockuper är
     exakt lika stora och innehållet fyller hela ytan. Ev. överskott klipps
     av overflow:hidden (samma princip som de animerade in-raderna). */
  height: 460px;
}

.fsect__mockup--cyan { border-color: rgba(0,148,127,0.15); }
.fsect__mockup--indigo { border-color: rgba(62,137,190,0.15); }
.fsect__mockup--emerald { border-color: rgba(249,178,51,0.15); }

.fsect__mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fsect__mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

/* SDK mockup — message rows */
.fsect__mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fsect__mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,148,127,0.25), rgba(62,137,190,0.25));
  flex-shrink: 0;
}

.fsect__mockup-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fsect__mockup-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

.fsect__mockup-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(249,178,51,0.15);
  color: #f9b233;
  white-space: nowrap;
}

/* Chat mockup */
.fsect__mockup-chat {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fsect__chat-bubble {
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  max-width: 80%;
}

.fsect__chat-bubble--in {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.fsect__chat-bubble--out {
  background: rgba(0,148,127,0.12);
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.fsect__chat-bubble--ai {
  background: rgba(62,137,190,0.12);
}

.fsect__mockup-lock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.76rem;
  color: var(--muted);
}

.fsect__mockup-lock svg {
  color: #f9b233;
}

/* Video mockup */
.fsect__mockup-video { padding: 14px; }

.fsect__video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.fsect__video-tile {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,148,127,0.08), rgba(62,137,190,0.08));
  border: 1px solid rgba(255,255,255,0.06);
}

.fsect__video-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.fsect__vid-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: block;
}

.fsect__vid-btn--red {
  background: rgba(239,68,68,0.25);
}

/* File list mockup */
.fsect__mockup-files { padding: 6px 0; }

.fsect__file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fsect__file-icon {
  font-size: 1.1rem;
  opacity: 0.6;
}

.fsect__file-name {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  display: block;
  flex: 1;
}

.fsect__file-meta {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Bridge mockup */
.fsect__mockup-bridge {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 20px 18px;
}

.fsect__bridge-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fsect__bridge-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fsect__bridge-block {
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
}

.fsect__bridge-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  font-size: 1.2rem;
  color: rgba(62,137,190,0.5);
}

/* Document mockup */
.fsect__mockup-doc { padding: 14px 18px; }

.fsect__doc-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.fsect__doc-toolbar span {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  display: block;
}

.fsect__doc-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 10px;
}

.fsect__doc-cursor {
  width: 2px;
  height: 16px;
  background: #3e89be;
  margin: 4px 0 8px 30%;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* List mockup (fax/support) */
.fsect__mockup-list { padding: 6px 0; }

.fsect__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fsect__list-icon {
  font-size: 0.9rem;
  color: var(--muted);
  flex-shrink: 0;
}

.fsect__list-text {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  display: block;
  flex: 1;
}

.fsect__list-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(0,148,127,0.15);
  color: #00947f;
}

.fsect__list-tag--green { background: rgba(249,178,51,0.15); color: #f9b233; }
.fsect__list-tag--yellow { background: rgba(245,158,11,0.15); color: #f59e0b; }
.fsect__list-tag--red { background: rgba(239,68,68,0.15); color: #ef4444; }

/* Course mockup (lärplattform) */
.fsect__mockup-courses { padding: 14px 18px; }

.fsect__course {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fsect__course span {
  font-size: 0.80rem;
  color: var(--muted);
}

.fsect__course-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(249,178,51,0.4), rgba(249,178,51,0.15));
  transition: width 0.8s ease;
}

/* Kanban mockup */
.fsect__mockup-kanban {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 14px;
}

.fsect__kanban-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fsect__kanban-head {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2px;
}

.fsect__kanban-card {
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
}

.fsect__kanban-card--active {
  border-color: rgba(249,178,51,0.3);
  background: rgba(249,178,51,0.08);
}

.fsect__kanban-card--done {
  opacity: 0.5;
}

/* Signering-mockup: QR-ruta och väntande statuspuls */
.signmock__qr {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  border: 1px solid var(--hubs-line, rgba(29, 38, 55, 0.14));
  background:
    repeating-linear-gradient(0deg, currentColor 0 3px, transparent 3px 8px),
    repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 8px);
  background-size: 100% 100%;
  color: var(--hubs-ink-3, #5a6b7d);
  opacity: 0.55;
}

.signmock__wait {
  animation: signmock-wait 2.2s ease-in-out infinite;
}

@keyframes signmock-wait {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Scroll-reveal animation */
.fsect__inner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.fsect__inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fsect-cat-header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.fsect-cat-header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Architecture Columns
   ======================================== */
.arch-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.arch-col {
  text-align: center;
  padding: 36px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16,33,58,0.80), rgba(8,22,41,0.95));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease;
}

.arch-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.12);
}

.arch-col__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.arch-col__icon--cyan {
  background: rgba(0,148,127,0.12);
  color: #00947f;
}

.arch-col__icon--indigo {
  background: rgba(62,137,190,0.12);
  color: #3e89be;
}

.arch-col__icon--emerald {
  background: rgba(249,178,51,0.12);
  color: #f9b233;
}

.arch-col h3 {
  font-size: 1.14rem;
  color: var(--text);
  margin: 0 0 8px;
}

.arch-col p {
  font-size: 0.92rem;
  color: var(--text-2);
  margin: 0 0 14px;
  line-height: 1.55;
}

.arch-col__count {
  display: inline-block;
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

/* ========================================
   Drift Cards
   ======================================== */
.drift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.drift-card {
  background: linear-gradient(180deg, rgba(16,33,58,0.80), rgba(8,22,41,0.95));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease;
}

.drift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(3,12,23,0.3);
}

.drift-card__num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.drift-card h3 {
  font-size: 1.12rem;
  color: var(--text);
  margin: 0 0 8px;
}

.drift-card p {
  font-size: 0.92rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

/* ID strip */
.id-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.id-strip__head h3 {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 4px;
}

.id-strip__head p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.id-strip__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.id-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Tech pills */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

/* ========================================
   Responsive: Feature Sections
   ======================================== */
@media (max-width: 900px) {
  .fsect__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .fsect--reverse .fsect__inner {
    direction: ltr;
  }
  .fsect__text h3 {
    font-size: 1.35rem;
  }
  .arch-cols,
  .drift-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fsect-cat-header {
    gap: 18px;
  }
  .fsect-cat-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .arch-cols,
  .drift-grid {
    grid-template-columns: 1fr;
  }
  .fsect-cat-header {
    flex-direction: column;
    gap: 14px;
  }
  .fsect {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .fsect__mockup-kanban {
    grid-template-columns: 1fr;
  }
  .id-strip {
    flex-direction: column;
    text-align: center;
  }
  .id-strip__badges {
    justify-content: center;
  }
}

/* ========================================
   Hero Background Effects
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* -- Hex grid across entire hero -- */
.hero-bg-grid {
  position: absolute;
  inset: -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: hero-grid-in 1.5s ease 0.3s forwards;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

@keyframes hero-grid-in {
  to { opacity: 1; }
}

/* -- Animated gradient glows (Vercel/Stripe style) -- */
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0;
  animation: glow-appear 2s ease 0.5s forwards;
}

@keyframes glow-appear {
  to { opacity: 1; }
}

.hero-bg-glow--1 {
  width: 800px;
  height: 800px;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.hero-bg-glow--2 {
  width: 600px;
  height: 600px;
  top: 25%;
  left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.hero-bg-glow--3 {
  width: 650px;
  height: 650px;
  top: 15%;
  right: -10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 1.1s forwards, glow-float-3 12s ease-in-out 3.1s infinite;
}

@keyframes glow-float-1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(30px); }
}

@keyframes glow-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

@keyframes glow-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 25px) scale(1.05); }
}

/* -- Animated light beams -- */
.hero-bg-beam {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  display: none;
}

.hero-bg-beam--1 {
  top: 0;
  left: 20%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(95, 200, 255, 0.25) 30%, rgba(95, 200, 255, 0.08) 70%, transparent 100%);
  box-shadow: 0 0 15px rgba(95, 200, 255, 0.10), 0 0 40px rgba(95, 200, 255, 0.05);
  opacity: 0;
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 8s ease-in-out 4s infinite;
}

.hero-bg-beam--2 {
  top: 0;
  right: 25%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.20) 40%, rgba(99, 102, 241, 0.06) 60%, transparent 100%);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.08), 0 0 40px rgba(99, 102, 241, 0.04);
  opacity: 0;
  animation: beam-appear 3s ease 1.5s forwards, beam-shimmer 10s ease-in-out 4.5s infinite;
}

@keyframes beam-appear {
  to { opacity: 1; }
}

@keyframes beam-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ========================================
   Floating Hero Screenshot Effect
   ======================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-screenshot-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow:
    0 24px 60px rgba(3, 12, 23, 0.28),
    0 0 80px rgba(56, 189, 248, 0.12);
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(1px);
}

/* ========================================
   Scroll-Triggered Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.320, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.320, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ========================================
   Logo Carousel (Infinite Scroll)
   ======================================== */
.logo-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 20px;
  animation: scroll-infinite 30s linear infinite;
  will-change: transform;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

.logo-track > * {
  flex-shrink: 0;
  min-width: auto;
}

/* ========================================
   Page Hero Background Effects (subpages)
   ======================================== */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

/* -- Shared grid pattern for all page heroes -- */
.page-hero .hero-bg-grid {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: hero-grid-in 1.5s ease 0.3s forwards;
}

/* -- Shared glow base for page heroes -- */
.page-hero .hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0;
  animation: glow-appear 2s ease 0.5s forwards;
}

/* -- Shared beam base for page heroes -- */
.page-hero .hero-bg-beam {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 2px;
  height: 100%;
  opacity: 0;
}

/* ---- Hubs / Plattform: Cyan + Indigo (samma som start men dot-grid) ---- */
.page-hero--hubs .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--hubs .hero-bg-glow--1 {
  width: 700px; height: 700px;
  top: -20%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,148,128,0.30) 0%, rgba(0,148,128,0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--hubs .hero-bg-glow--2 {
  width: 500px; height: 500px;
  top: 30%; left: -5%;
  background: radial-gradient(circle, rgba(0,101,107,0.25) 0%, rgba(0,101,107,0.06) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--hubs .hero-bg-beam--1,
.page-hero--hubs .hero-bg-beam--2 {
  display: none;
}

/* ---- Offentlig sektor: Emerald / Green ---- */
.page-hero--offentlig .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--offentlig .hero-bg-glow--1 {
  width: 750px; height: 750px;
  top: -25%; left: 45%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,148,128,0.30) 0%, rgba(0,148,128,0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 11s ease-in-out 2.5s infinite;
}

.page-hero--offentlig .hero-bg-glow--2 {
  width: 550px; height: 550px;
  top: 20%; right: -8%;
  background: radial-gradient(circle, rgba(62,137,190,0.22) 0%, rgba(62,137,190,0.06) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.9s forwards, glow-float-3 13s ease-in-out 2.9s infinite;
}

.page-hero--offentlig .hero-bg-beam--1 {
  top: 0; left: 25%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,148,128,0.22) 30%, rgba(0,148,128,0.06) 70%, transparent 100%);
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 9s ease-in-out 4s infinite;
}

.page-hero--offentlig .hero-bg-beam--2 {
  top: 0; right: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,148,128,0.14) 40%, rgba(62,137,190,0.06) 60%, transparent 100%);
  animation: beam-appear 3s ease 1.6s forwards, beam-shimmer 11s ease-in-out 4.6s infinite;
}

/* ---- Alternativ till M365: Amber / Orange ---- */
.page-hero--m365 .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--m365 .hero-bg-glow--1 {
  width: 800px; height: 800px;
  top: -25%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--m365 .hero-bg-glow--2 {
  width: 600px; height: 600px;
  top: 25%; left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--m365 .hero-bg-beam--1,
.page-hero--m365 .hero-bg-beam--2 {
  display: none;
}

/* ---- Om ITSL: Purple / Violet ---- */
.page-hero--om .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--om .hero-bg-glow--1 {
  width: 800px; height: 800px;
  top: -25%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--om .hero-bg-glow--2 {
  width: 600px; height: 600px;
  top: 25%; left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--om .hero-bg-beam--1 {
  top: 0; left: 20%;
  background: linear-gradient(180deg, transparent 0%, rgba(95, 200, 255, 0.25) 30%, rgba(95, 200, 255, 0.08) 70%, transparent 100%);
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 8s ease-in-out 4s infinite;
}

.page-hero--om .hero-bg-beam--2 {
  top: 0; right: 25%;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.20) 40%, rgba(99, 102, 241, 0.06) 60%, transparent 100%);
  animation: beam-appear 3s ease 1.5s forwards, beam-shimmer 10s ease-in-out 4.5s infinite;
}

/* ---- Kontakt: Rose / Pink ---- */
.page-hero--kontakt .hero-bg-grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 70L0 52L0 18L30 0L60 18L60 52L30 70Z' fill='none' stroke='rgba(0,148,127,0.25)' stroke-width='0.7'/%3E%3Cpath d='M30 104L0 86L0 52L30 34L60 52L60 86L30 104Z' fill='none' stroke='rgba(0,148,127,0.18)' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 60px 104px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 70%);
}

.page-hero--kontakt .hero-bg-glow--1 {
  width: 800px; height: 800px;
  top: -25%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0.10) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.5s forwards, glow-float-1 10s ease-in-out 2.5s infinite;
}

.page-hero--kontakt .hero-bg-glow--2 {
  width: 600px; height: 600px;
  top: 25%; left: -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.30) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  animation: glow-appear 2s ease 0.8s forwards, glow-float-2 14s ease-in-out 2.8s infinite;
}

.page-hero--kontakt .hero-bg-beam--1 {
  top: 0; left: 20%;
  background: linear-gradient(180deg, transparent 0%, rgba(95, 200, 255, 0.25) 30%, rgba(95, 200, 255, 0.08) 70%, transparent 100%);
  animation: beam-appear 3s ease 1s forwards, beam-shimmer 8s ease-in-out 4s infinite;
}

.page-hero--kontakt .hero-bg-beam--2 {
  top: 0; right: 25%;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.20) 40%, rgba(99, 102, 241, 0.06) 60%, transparent 100%);
  animation: beam-appear 3s ease 1.5s forwards, beam-shimmer 10s ease-in-out 4.5s infinite;
}

/* Hero trust badges with icons (duplicated at end for parser compatibility) */
.hero-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 101, 107, 0.15);
  border: 1px solid rgba(0, 200, 210, 0.2);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}

.hero-trust-badge:hover {
  background: rgba(0, 101, 107, 0.25);
  border-color: rgba(0, 200, 210, 0.35);
}

.hero-trust-badge__icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .hero-trust-badges {
    gap: 10px;
  }
  .hero-trust-badge {
    padding: 8px 14px 8px 10px;
    font-size: 0.84rem;
  }
}

/* ========================================
   Demo Wizard — Multi-step booking flow
   ======================================== */
.demo-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}

.demo-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

.demo-progress__step span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s;
}

.demo-progress__step.is-active span {
  color: var(--text);
  font-weight: 600;
}

.demo-progress__step.is-done span {
  color: var(--accent);
}

.demo-progress__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--card);
  border: 2px solid rgba(255,255,255,0.1);
  color: var(--muted);
  transition: all 0.3s;
}

.demo-progress__step.is-active .demo-progress__dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #04231b;
  box-shadow: 0 0 20px rgba(0, 148, 127, 0.4);
}

.demo-progress__step.is-done .demo-progress__dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #04231b;
}

.demo-progress__line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 8px;
  margin-bottom: 28px;
}

.demo-wizard {
  position: relative;
}

.demo-step {
  display: none;
  animation: demoFadeIn 0.4s ease;
}

.demo-step.is-active {
  display: block;
}

@keyframes demoFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-aside-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.demo-aside-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}

.demo-aside-info__item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.form-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-2);
  transition: all 0.2s;
}

.form-checkbox:hover {
  border-color: rgba(0, 200, 210, 0.2);
  background: rgba(0, 101, 107, 0.1);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.form-checkbox input[type="checkbox"]:checked + span {
  color: var(--text);
  font-weight: 600;
}

.required {
  color: var(--brand-rosa);
}

/* Confirmation screen */
.demo-confirmation {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}

.demo-confirmation__icon {
  margin-bottom: 24px;
}

.demo-confirmation__icon svg {
  animation: confirmPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes confirmPop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.demo-confirmation__lead {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.demo-confirmation__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 16px;
}

.demo-confirmation__card {
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.demo-confirmation__card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.demo-confirmation__url {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(0, 148, 127, 0.1);
  border: 1px solid rgba(0, 200, 210, 0.2);
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 14px;
  word-break: break-all;
}

.demo-confirmation__url svg {
  flex-shrink: 0;
  color: var(--accent);
}

.demo-confirmation__card p {
  font-size: 0.9rem;
  color: var(--text-2);
}

.demo-confirmation__steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-confirmation__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
}

.demo-confirmation__steps li svg {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .demo-progress__step span { display: none; }
  .form-checkbox-grid { grid-template-columns: 1fr; }
  .demo-confirmation__details { grid-template-columns: 1fr; }
}

/* ========================================
   Boka Demo — Global Modal
   ======================================== */
.demo-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,9,18,0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.demo-modal-overlay.is-open {
  opacity: 1; pointer-events: auto;
}

.demo-modal {
  position: relative;
  width: 94%; max-width: 520px;
  background: linear-gradient(165deg, #0f2035 0%, #0a1625 100%);
  border: 1px solid rgba(0,200,210,0.15);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 60px rgba(0,200,210,0.08);
  padding: 40px 36px 36px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto; max-height: 92vh;
}
.demo-modal-overlay.is-open .demo-modal {
  transform: translateY(0) scale(1);
}

.demo-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; cursor: pointer; color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
}
.demo-modal__close:hover { background: rgba(255,255,255,0.1); color: #fff; }

.demo-modal__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-2, #00c8d2);
  margin-bottom: 12px;
}
.demo-modal__badge svg { opacity: 0.7; }

.demo-modal h2 {
  font-size: 1.55rem; font-weight: 800; line-height: 1.2;
  margin: 0 0 8px; color: var(--text, #f7fbff);
}

.demo-modal__sub {
  font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.5;
  margin: 0 0 28px;
}

.demo-modal__form { display: flex; flex-direction: column; gap: 16px; }

.demo-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.demo-modal__field { display: flex; flex-direction: column; gap: 5px; }
.demo-modal__field label {
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.7);
}
.demo-modal__field label .req { color: var(--brand-rosa, #e94b61); }

.demo-modal__field input,
.demo-modal__field select,
.demo-modal__field textarea {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: var(--text, #f7fbff);
  font-size: 0.88rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.demo-modal__field input::placeholder,
.demo-modal__field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.demo-modal__field input:focus,
.demo-modal__field select:focus,
.demo-modal__field textarea:focus {
  border-color: rgba(0,200,210,0.5);
  box-shadow: 0 0 0 3px rgba(0,200,210,0.1);
}
.demo-modal__field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.demo-modal__field select option { background: #0a1625; color: #f7fbff; }

.demo-modal__field textarea { resize: vertical; min-height: 72px; }

.demo-modal__field.is-error input,
.demo-modal__field.is-error select {
  border-color: var(--brand-rosa, #e94b61);
  box-shadow: 0 0 0 3px rgba(233,75,97,0.12);
}

.demo-modal__submit {
  width: 100%; padding: 14px;
  background: var(--brand-rosa, #e94b61);
  border: none; border-radius: 12px;
  color: #fff; font-size: 0.95rem; font-weight: 700; font-family: inherit;
  cursor: pointer; margin-top: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.demo-modal__submit:hover {
  background: #d4394e;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(233,75,97,0.3);
}
.demo-modal__submit:active { transform: translateY(0); }
.demo-modal__submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}

.demo-modal__trust {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
  margin-top: 4px; justify-content: center;
}
.demo-modal__trust svg { opacity: 0.5; min-width: 14px; }

/* Success state inside modal */
.demo-modal__success {
  display: none; text-align: center; padding: 20px 0;
}
.demo-modal__success.is-visible { display: block; }
.demo-modal__success svg { color: var(--accent, #00947f); margin-bottom: 16px; }
.demo-modal__success h3 { font-size: 1.3rem; margin: 0 0 8px; }
.demo-modal__success p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 560px) {
  .demo-modal { padding: 28px 20px 24px; }
  .demo-modal h2 { font-size: 1.3rem; }
  .demo-modal__row { grid-template-columns: 1fr; }
}

/* Wizard modal — progress bar */
.demo-modal--wizard { max-width: 560px; }
.demo-modal__progress {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-bottom: 28px;
}
.demo-modal__progress-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.demo-modal__progress-step.is-active { color: rgba(255,255,255,0.9); }
.demo-modal__progress-step.is-done { color: var(--accent, #00947f); }
.demo-modal__progress-dot {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.75rem; font-weight: 700;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35);
  transition: all 0.3s;
}
.demo-modal__progress-step.is-active .demo-modal__progress-dot {
  background: rgba(0,200,210,0.15);
  border-color: rgba(0,200,210,0.5);
  color: #00c8d2;
}
.demo-modal__progress-step.is-done .demo-modal__progress-dot {
  background: var(--accent, #00947f);
  border-color: var(--accent, #00947f);
  color: #fff;
}
.demo-modal__progress-line {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 8px;
  flex-shrink: 0;
}

/* Wizard steps */
.dm-step { display: none; }
.dm-step.is-active { display: block; animation: dmFadeIn 0.3s ease; }
@keyframes dmFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Checkbox grid */
.dm-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dm-checkbox {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, background 0.2s;
}
.dm-checkbox:hover {
  border-color: rgba(0,200,210,0.3);
  background: rgba(0,200,210,0.05);
}
.dm-checkbox input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent, #00947f);
  cursor: pointer;
}
.dm-checkbox input[type="checkbox"]:checked + span {
  color: rgba(255,255,255,0.95);
}

/* Actions row (back + submit) */
.demo-modal__actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 4px;
}
.demo-modal__back {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.demo-modal__back:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
.demo-modal__actions .demo-modal__submit { flex: 1; }

@media (max-width: 560px) {
  .demo-modal__progress-step span:not(.demo-modal__progress-dot) { display: none; }
  .demo-modal__progress-line { width: 24px; }
  .dm-checkbox-grid { grid-template-columns: 1fr; }
  .demo-modal__actions { flex-direction: column-reverse; }
  .demo-modal__actions .demo-modal__submit { width: 100%; }
  .demo-modal__back { width: 100%; text-align: center; }
}

/* ========================================
   Kontakt Page — Offices
   ======================================== */
.koffices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.koffice-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.koffice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25), 0 0 40px rgba(0,200,210,0.06);
}

.koffice-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.koffice-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.koffice-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #04231b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.koffice-card__body {
  padding: 24px 28px 28px;
}
.koffice-card__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.koffice-card__body address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.koffice-card__line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.koffice-card__line a {
  color: var(--accent-2);
  text-decoration: none;
}
.koffice-card__line a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .koffices__grid { grid-template-columns: 1fr; }
}

/* ========================================
   Kontakt Page — Contact Form
   ======================================== */
.kontakt-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.kontakt-form-info {
  padding-top: 8px;
}
.kontakt-form-info h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1.3;
}
.kontakt-form-info p {
  color: var(--ink-soft);
  margin-top: 12px;
  line-height: 1.7;
}

.kontakt-form-info__items {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kontakt-form-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.kontakt-form-info__item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.kontakt-form-info__item a:hover {
  text-decoration: underline;
}

.kontakt-form-panel {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.kontakt-form { display: flex; flex-direction: column; gap: 16px; }
.kontakt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kontakt-form__field { display: flex; flex-direction: column; gap: 6px; }
.kontakt-form__field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.kontakt-form__field label .req { color: #e94b61; }
.kontakt-form__field input,
.kontakt-form__field select,
.kontakt-form__field textarea {
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ink);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kontakt-form__field input:focus,
.kontakt-form__field select:focus,
.kontakt-form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,148,127,0.35);
}
.kontakt-form__field textarea {
  resize: vertical;
  min-height: 100px;
}
.kontakt-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2347566b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.kontakt-form__field.is-error input,
.kontakt-form__field.is-error select,
.kontakt-form__field.is-error textarea {
  border-color: #e94b61;
  box-shadow: 0 0 0 3px rgba(233,75,97,0.1);
}

.kontakt-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: #04231b;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  align-self: flex-start;
}
.kontakt-form__submit:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.kontakt-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.kontakt-form__success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}
.kontakt-form__success svg { margin: 0 auto 16px; }
.kontakt-form__success h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.kontakt-form__success p {
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Contact card enhancements */
.contact-card__logo { margin-bottom: 12px; }
.contact-card__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0;
}
.contact-card .list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-card__offices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card__office {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .kontakt-form-layout { grid-template-columns: 1fr; gap: 32px; }
  .kontakt-form__row { grid-template-columns: 1fr; }
}

/* ========================================
   Feature Map — compact overview grid
   ======================================== */
.fmap__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.fmap__head h2 { margin-top: 12px; }
.fmap__head p { color: rgba(255,255,255,0.6); margin-top: 12px; }

.fmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.fmap__col { display: flex; flex-direction: column; gap: 10px; }

.fmap__cat {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0 0 10px; margin-bottom: 4px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.fmap__col--cyan .fmap__cat { color: #00c8d2; border-color: rgba(0,200,210,0.25); }
.fmap__col--indigo .fmap__cat { color: #818cf8; border-color: rgba(129,140,248,0.25); }
.fmap__col--emerald .fmap__cat { color: #34d399; border-color: rgba(52,211,153,0.25); }
.fmap__cat svg { opacity: 0.7; }

.fmap__card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  /* scroll-reveal */
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.fmap__card.is-visible { opacity: 1; transform: translateY(0); }

.fmap__card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}
.fmap__col--cyan .fmap__card:hover { border-color: rgba(0,200,210,0.35); box-shadow: 0 4px 20px rgba(0,200,210,0.1); }
.fmap__col--indigo .fmap__card:hover { border-color: rgba(129,140,248,0.35); box-shadow: 0 4px 20px rgba(129,140,248,0.1); }
.fmap__col--emerald .fmap__card:hover { border-color: rgba(52,211,153,0.35); box-shadow: 0 4px 20px rgba(52,211,153,0.1); }

.fmap__icon {
  width: 28px; height: 28px; min-width: 28px;
  stroke-width: 1.5;
}
.fmap__col--cyan .fmap__icon { color: #00c8d2; }
.fmap__col--indigo .fmap__icon { color: #818cf8; }
.fmap__col--emerald .fmap__icon { color: #34d399; }

.fmap__card div { flex: 1; min-width: 0; }
.fmap__card strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text); }
.fmap__card span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; line-height: 1.3; }

.fmap__arrow {
  width: 16px; height: 16px; min-width: 16px;
  opacity: 0.3; transition: opacity 0.2s, transform 0.2s;
}
.fmap__card:hover .fmap__arrow { opacity: 0.7; transform: translateX(2px); }

@media (max-width: 900px) {
  .fmap { grid-template-columns: 1fr; gap: 32px; }
}
/* Kept: används av plattformsmockupernas skriv-indikatorer */
@keyframes live-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%           { transform: translateY(-3px); opacity: 1; }
}

/* ========================================
   Levande mockuper (plattformssidan)
   Generisk gating: alla animationer inuti en fsect-mockup
   är pausade tills mockupen är i blickfånget. site.js sätter
   .is-live via IntersectionObserver när ~35 % av mockupen syns
   och tar bort klassen när den lämnar viewporten – animationen
   pausar då mjukt där den är istället för att börja om.
   ======================================== */
/* :not(.is-live) ger högre specificitet än elementens egna
   animation-shorthands (som annars återställer play-state) */
.fsect__mockup:not(.is-live) *,
.fsect__mockup:not(.is-live) *::before,
.fsect__mockup:not(.is-live) *::after {
  animation-play-state: paused;
}

/* ----------------------------------------
   SDK-mockup – levande säker inkorg
   Loop 18s: krypterad försändelse anländer (svepljus),
   raden glider in, oläst-räknaren tänds, försändelsen
   kvitteras automatiskt och arkiveras stilla.
   ---------------------------------------- */
.sdkmock {
  display: flex;
  height: 416px; /* höjd så mockupen fyller den enhetliga ytan; inkommande rad ändrar inte yttre mått */
  position: relative;
  overflow: hidden;
}

/* Svepljus vid ankomst */
.sdkmock__scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 210, 0.7), transparent);
  opacity: 0;
  animation: sdk-scan 18s linear infinite;
  z-index: 2;
}

@keyframes sdk-scan {
  0%       { opacity: 0; transform: translateY(0); }
  2%       { opacity: 1; }
  9%       { opacity: 1; transform: translateY(64px); }
  11%      { opacity: 0; transform: translateY(64px); }
  100%     { opacity: 0; transform: translateY(64px); }
}

/* Sidebar */
.sdkmock__side {
  width: 140px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
  flex-shrink: 0;
}

.sdkmock__side-label {
  padding: 6px 14px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sdkmock__side-item {
  padding: 6px 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.sdkmock__side-item--active {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00c8d2;
  background: rgba(0, 200, 210, 0.08);
  border-left: 2px solid #00c8d2;
}

/* Oläst-räknare – tänds när försändelsen anländer, släcks vid kvittens */
.sdkmock__count {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #00c8d2;
  color: #04222b;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0;
  animation: sdk-count 18s ease infinite;
}

@keyframes sdk-count {
  0%, 8%    { opacity: 0; transform: scale(0.6); }
  11%       { opacity: 1; transform: scale(1); }
  42%       { opacity: 1; transform: scale(1); }
  46%, 100% { opacity: 0; transform: scale(0.6); }
}

/* Meddelandelista */
.sdkmock__list {
  flex: 1;
  min-width: 0;
}

.sdkmock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sdkmock__row:last-child {
  border-bottom: none;
}

.sdkmock__row--unread {
  background: rgba(0, 200, 210, 0.04);
}

.sdkmock__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #fff;
  font-weight: 700;
}

.sdkmock__meta {
  flex: 1;
  min-width: 0;
}

.sdkmock__subject {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdkmock__subject--unread {
  font-weight: 600;
}

.sdkmock__from {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

.sdkmock__date {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* Inkommande rad – expanderar in, puttar ner listan mjukt */
.sdkmock__row--incoming {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-width: 0;
  overflow: hidden;
  background: rgba(0, 200, 210, 0.07);
  animation: sdk-row-in 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes sdk-row-in {
  0%, 4% {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-width: 0;
  }
  10% {
    max-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
    opacity: 1;
    border-bottom-width: 1px;
  }
  86% {
    max-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
    opacity: 1;
    border-bottom-width: 1px;
  }
  94%, 100% {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-width: 0;
  }
}

/* Avatar-ring pulserar vid ankomst */
.sdkmock__avatar--incoming {
  background: linear-gradient(135deg, #00948f, #007c8f);
  animation: sdk-arrive-ring 18s linear infinite;
}

@keyframes sdk-arrive-ring {
  0%, 9%    { box-shadow: 0 0 0 0 rgba(0, 200, 210, 0); }
  11%       { box-shadow: 0 0 0 0 rgba(0, 200, 210, 0.5); }
  16%       { box-shadow: 0 0 0 8px rgba(0, 200, 210, 0); }
  17%       { box-shadow: 0 0 0 0 rgba(0, 200, 210, 0.5); }
  22%       { box-shadow: 0 0 0 8px rgba(0, 200, 210, 0); }
  23%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 210, 0); }
}

/* Statusväxling: Mottaget → ✓ Kvitterat (korstoning) */
.sdkmock__badges {
  position: relative;
  flex-shrink: 0;
  display: inline-grid;
}

.sdkmock__badges > * {
  grid-area: 1 / 1;
  justify-self: end;
  white-space: nowrap;
}

.sdkmock__badge-in {
  background: rgba(0, 200, 210, 0.15);
  color: #00c8d2;
  opacity: 0;
  animation: sdk-badge-in 18s ease infinite;
}

.sdkmock__badge-ack {
  background: rgba(76, 175, 80, 0.15);
  color: #66bb6a;
  opacity: 0;
  animation: sdk-badge-ack 18s ease infinite;
}

@keyframes sdk-badge-in {
  0%, 8%    { opacity: 0; }
  11%       { opacity: 1; }
  42%       { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes sdk-badge-ack {
  0%, 44%   { opacity: 0; transform: scale(1.15); }
  49%       { opacity: 1; transform: scale(1); }
  88%       { opacity: 1; transform: scale(1); }
  93%, 100% { opacity: 0; transform: scale(1); }
}

/* ----------------------------------------
   Säkra meddelanden – läskvittens ✓→✓✓ + prioritetspuls (12s)
   ---------------------------------------- */
.smmock__receipt {
  display: inline-flex;
  font-size: 0.62rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.35);
  animation: sm-receipt-color 12s ease infinite;
}

.smmock__receipt i {
  font-style: normal;
}

.smmock__receipt i:last-child {
  margin-left: -3px;
  opacity: 0;
  animation: sm-receipt-second 12s ease infinite;
}

@keyframes sm-receipt-color {
  0%, 40%   { color: rgba(255, 255, 255, 0.35); }
  48%, 92%  { color: #00c8d2; }
  100%      { color: rgba(255, 255, 255, 0.35); }
}

@keyframes sm-receipt-second {
  0%, 40%   { opacity: 0; }
  48%, 100% { opacity: 1; }
}

.smmock__prio {
  display: inline-block;
  animation: sm-prio 3s ease-in-out infinite;
}

@keyframes sm-prio {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ----------------------------------------
   Video & chatt – vandrande talar-ram (24s, 4s/deltagare)
   + skriver-indikator (18s)
   ---------------------------------------- */
.vcmock__tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0, 200, 210, 0.75);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 200, 210, 0.25) inset;
  opacity: 0;
  pointer-events: none;
  animation: vc-speak 24s linear infinite;
  animation-delay: var(--vc-d, 0s);
}

@keyframes vc-speak {
  0%        { opacity: 0; }
  2%        { opacity: 1; }
  14%       { opacity: 1; }
  16%, 100% { opacity: 0; }
}

.vcmock__typing {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
  opacity: 0;
  animation: vc-typing 18s ease infinite;
}

.vcmock__typing-dots {
  display: inline-flex;
  gap: 2px;
}

.vcmock__typing-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: live-dot 1.2s ease-in-out infinite;
}

.vcmock__typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.vcmock__typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes vc-typing {
  0%, 30%   { opacity: 0; }
  36%, 70%  { opacity: 1; }
  76%, 100% { opacity: 0; }
}

/* ----------------------------------------
   Digital fax – fil släpps i, fax levereras (16s)
   ---------------------------------------- */
.faxmock__file {
  position: absolute;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 200, 210, 0.1);
  border: 1px solid rgba(0, 200, 210, 0.25);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: fax-file 16s cubic-bezier(0.34, 1.3, 0.64, 1) infinite;
}

.faxmock__file span {
  color: #66bb6a;
}

@keyframes fax-file {
  0%, 8%    { opacity: 0; transform: translateY(-8px) scale(0.95); }
  14%       { opacity: 1; transform: translateY(0) scale(1); }
  55%       { opacity: 1; transform: translateY(0) scale(1); }
  62%, 100% { opacity: 0; transform: translateY(0) scale(1); }
}

.faxmock__sent {
  font-size: 0.65rem;
  font-weight: 600;
  color: #66bb6a;
  margin-right: auto;
  opacity: 0;
  animation: fax-sent 16s ease infinite;
}

@keyframes fax-sent {
  0%, 60%   { opacity: 0; transform: translateX(-6px); }
  66%       { opacity: 1; transform: translateX(0); }
  92%       { opacity: 1; transform: translateX(0); }
  98%, 100% { opacity: 0; transform: translateX(0); }
}

/* ----------------------------------------
   Filhantering – delnings-avatarer + synkstatus (20s)
   ---------------------------------------- */
.fmmock__share {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  opacity: 0;
  animation: fm-share 20s ease infinite;
}

.fmmock__share span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.45rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(8, 18, 32, 0.9);
}

.fmmock__share span:first-child {
  background: linear-gradient(135deg, #1a7fb5, #00948f);
}

.fmmock__share span:last-child {
  background: linear-gradient(135deg, #3e89be, #6366f1);
  margin-left: -5px;
}

@keyframes fm-share {
  0%, 20%   { opacity: 0; transform: scale(0.6); }
  26%       { opacity: 1; transform: scale(1); }
  70%       { opacity: 1; transform: scale(1); }
  76%, 100% { opacity: 0; transform: scale(0.6); }
}

.fmmock__sync {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
}

.fmmock__sync > span {
  grid-area: 1 / 1;
  font-size: 0.7rem;
  line-height: 1;
}

.fmmock__sync-spin {
  color: #3e89be;
  opacity: 0;
  animation: fm-sync-spin 20s linear infinite;
}

.fmmock__sync-done {
  color: #66bb6a;
  opacity: 0;
  animation: fm-sync-done 20s ease infinite;
}

@keyframes fm-sync-spin {
  0%, 40%  { opacity: 0; transform: rotate(0deg); }
  44%      { opacity: 1; }
  58%      { opacity: 1; transform: rotate(720deg); }
  62%, 100% { opacity: 0; transform: rotate(720deg); }
}

@keyframes fm-sync-done {
  0%, 60%   { opacity: 0; transform: scale(0.6); }
  66%       { opacity: 1; transform: scale(1); }
  90%       { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(1); }
}

/* ----------------------------------------
   Teams Bridge – pulser över bron + roterande synk (5s/7s)
   ---------------------------------------- */
.tbmock__pulse {
  position: absolute;
  top: 26px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
}

.tbmock__pulse--a {
  background: #00c8d2;
  box-shadow: 0 0 8px rgba(0, 200, 210, 0.6);
  animation: tb-pulse-a 5s ease-in-out infinite;
}

.tbmock__pulse--b {
  background: #7b83eb;
  box-shadow: 0 0 8px rgba(123, 131, 235, 0.6);
  animation: tb-pulse-b 7s ease-in-out infinite;
}

/* Bågrörelse vänster→höger resp. höger→vänster */
@keyframes tb-pulse-a {
  0%       { opacity: 0; transform: translate(-38px, 14px); }
  8%       { opacity: 1; }
  50%      { transform: translate(0, -16px); }
  92%      { opacity: 1; }
  100%     { opacity: 0; transform: translate(38px, 14px); }
}

@keyframes tb-pulse-b {
  0%       { opacity: 0; transform: translate(38px, 14px); }
  8%       { opacity: 1; }
  50%      { transform: translate(0, -16px); }
  92%      { opacity: 1; }
  100%     { opacity: 0; transform: translate(-38px, 14px); }
}

.tbmock__spin {
  display: inline-block;
  animation: tb-spin 3s linear infinite;
}

@keyframes tb-spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------
   Office – blinkande markörer, text som skrivs, sparad-puls
   ---------------------------------------- */
.ofmock__cursor {
  animation: of-blink 1.1s steps(1) infinite;
}

.ofmock__cursor--b {
  animation-delay: 0.4s;
}

@keyframes of-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Raden framför Anna K:s markör "skrivs" långsamt */
.ofmock__line {
  animation: of-line 22s ease-in-out infinite;
}

@keyframes of-line {
  0%       { width: 30%; }
  45%      { width: 45%; }
  90%      { width: 45%; }
  100%     { width: 30%; }
}

.ofmock__saved {
  animation: of-saved 4s ease-in-out infinite;
}

@keyframes of-saved {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* ----------------------------------------
   AI-assistent – tänker → svar tonar in (14s, utan layoutskift)
   ---------------------------------------- */
.aimock__answer {
  position: relative;
}

.aimock__dots {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 3px;
  opacity: 0;
  animation: ai-dots 14s ease infinite;
}

.aimock__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  animation: live-dot 1.2s ease-in-out infinite;
}

.aimock__dots i:nth-child(2) { animation-delay: 0.15s; }
.aimock__dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes ai-dots {
  0%, 6%    { opacity: 0; }
  10%, 38%  { opacity: 1; }
  42%, 100% { opacity: 0; }
}

.aimock__text {
  animation: ai-text 14s ease infinite;
}

@keyframes ai-text {
  0%, 40%   { opacity: 0; }
  48%, 96%  { opacity: 1; }
  100%      { opacity: 0; }
}

/* Hänglåset andas */
.fsect__mockup-lock svg {
  animation: ai-lock 6s ease-in-out infinite;
}

@keyframes ai-lock {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.94); }
}

/* ----------------------------------------
   Lärplattform – skimmer i progressbarer + klar-stämpel (18s)
   ---------------------------------------- */
.fsect__course-bar {
  position: relative;
  overflow: hidden;
}

.fsect__course-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-100%);
  animation: lp-shimmer 7s ease infinite;
}

.fsect__course:nth-child(2) .fsect__course-bar::after { animation-delay: 1.2s; }
.fsect__course:nth-child(3) .fsect__course-bar::after { animation-delay: 2.4s; }

@keyframes lp-shimmer {
  0%        { transform: translateX(-100%); }
  35%, 100% { transform: translateX(100%); }
}

.lpmock__done {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(102, 187, 106, 0.15);
  color: #66bb6a;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  animation: lp-done 18s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes lp-done {
  0%, 30%   { opacity: 0; transform: scale(1.4); }
  36%       { opacity: 1; transform: scale(1); }
  94%       { opacity: 1; transform: scale(1); }
  100%      { opacity: 0; transform: scale(1); }
}

/* ----------------------------------------
   Projekthantering – aktivt kort arbetar → klart ✓ (16s)
   ---------------------------------------- */
.pjmock__active {
  position: relative;
  animation: pj-card 16s ease infinite;
}

.pjmock__active::after {
  content: '✓';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: #66bb6a;
  opacity: 0;
  animation: pj-check 16s ease infinite;
}

@keyframes pj-card {
  0%, 48% {
    border-color: rgba(249, 178, 51, 0.3);
    background: rgba(249, 178, 51, 0.08);
    box-shadow: 0 0 0 0 rgba(249, 178, 51, 0);
  }
  10%, 30% {
    box-shadow: 0 0 10px 0 rgba(249, 178, 51, 0.12);
  }
  56%, 88% {
    border-color: rgba(102, 187, 106, 0.35);
    background: rgba(102, 187, 106, 0.08);
    box-shadow: 0 0 0 0 rgba(102, 187, 106, 0);
  }
  96%, 100% {
    border-color: rgba(249, 178, 51, 0.3);
    background: rgba(249, 178, 51, 0.08);
  }
}

@keyframes pj-check {
  0%, 52%   { opacity: 0; transform: translateY(-50%) scale(1.3); }
  58%       { opacity: 1; transform: translateY(-50%) scale(1); }
  88%       { opacity: 1; transform: translateY(-50%) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(-50%) scale(1); }
}

/* ----------------------------------------
   Support – nytt ärende in, tilldelas (18s, fast höjd)
   ---------------------------------------- */
.fsect__mockup-list {
  overflow: hidden;
  height: 424px; /* höjd så mockupen fyller den enhetliga ytan; nytt ärende ändrar inte yttre mått */
}

.spmock__new {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-width: 0;
  overflow: hidden;
  background: rgba(62, 137, 190, 0.06);
  animation: sp-row 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 3s;
}

@keyframes sp-row {
  0%, 6% {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-width: 0;
  }
  12% {
    max-height: 52px;
    padding-top: 12px;
    padding-bottom: 12px;
    opacity: 1;
    border-bottom-width: 1px;
  }
  86% {
    max-height: 52px;
    padding-top: 12px;
    padding-bottom: 12px;
    opacity: 1;
    border-bottom-width: 1px;
  }
  94%, 100% {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-width: 0;
  }
}

.spmock__badges {
  display: inline-grid;
  margin-left: auto;
}

.spmock__badges > * {
  grid-area: 1 / 1;
  justify-self: end;
}

.spmock__tag-new {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  opacity: 0;
  animation: sp-tag-new 18s ease infinite;
  animation-delay: 3s;
}

.spmock__tag-assigned {
  background: rgba(102, 187, 106, 0.15);
  color: #66bb6a;
  opacity: 0;
  animation: sp-tag-assigned 18s ease infinite;
  animation-delay: 3s;
}

@keyframes sp-tag-new {
  0%, 10%   { opacity: 0; }
  14%, 44%  { opacity: 1; }
  48%, 100% { opacity: 0; }
}

@keyframes sp-tag-assigned {
  0%, 46%   { opacity: 0; transform: scale(1.15); }
  52%       { opacity: 1; transform: scale(1); }
  88%       { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(1); }
}

/* ========================================
   Nativa hero-visualiseringar (heromock)
   Handbyggda ersättare för skärmdumparna i herokarusellen.
   Kravspec: docs/kravstallning-hero-visualiseringar.md
   Gating: site.js sätter .is-live på .hero-showcase__scene
   när karusellen är i blickfånget; annars pausas allt.
   ======================================== */
.hero-showcase__scene:not(.is-live) .heromock *,
.hero-showcase__scene:not(.is-live) .heromock *::before,
.hero-showcase__scene:not(.is-live) .heromock *::after {
  animation-play-state: paused;
}

/* Kärntesen som kompakt underrad i h1 – behåller SEO-värdet i
   rubriken men tar en bråkdel av ytan */
.hero-h1-sub {
  display: block;
  margin-top: 12px;
  font-size: 0.42em;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  color: #12b5c0;
}

/* Panelernas berättelser går bara framåt när panelen är i fokus.
   Utan detta synkar 30s-looparna med karusellens 5x6s-cykel och
   besökaren ser samma sekvenssnutt varje varv - samtalet i
   chattpanelen skulle aldrig hinna visas. Pausad panel fryser
   mitt i sin berättelse och fortsätter där den var. */
.hero-panel:not(.is-active) .heromock *,
.hero-panel:not(.is-active) .heromock *::before,
.hero-panel:not(.is-active) .heromock *::after {
  animation-play-state: paused;
}

.hero-panel .appframe {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0b1526;
}

.heromock {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  overflow: hidden;
  user-select: none;
}

/* --- Gemensamt app-skal: toppbar --- */
.hm-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(6, 14, 28, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex: none;
}

.hm-top__grid {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  gap: 1.5px;
}

.hm-top__grid i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hm-top__logo {
  font-weight: 800;
  font-size: 10px;
  color: #12b5c0;
  letter-spacing: 0.02em;
}

.hm-top__app {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.hm-top__spacer { flex: 1; }

.hm-top__ico { color: rgba(255, 255, 255, 0.4); }

.hm-top__bell {
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.4);
}

.hm-top__bell::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e5484d;
}

.hm-top__user { position: relative; }

.hm-top__user::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3fa77a;
  border: 1px solid #060e1c;
}

/* --- Gemensamma byggstenar --- */
.hm-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.hm-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  flex: none;
}

.hm-avatar--xs { width: 14px; height: 14px; font-size: 5.5px; }
.hm-avatar--kl { background: linear-gradient(135deg, #0e8f89, #12b5c0); }
.hm-avatar--ai { background: linear-gradient(135deg, #1a7fb5, #00948f); }
.hm-avatar--ax { background: linear-gradient(135deg, #58718c, #43566e); }
.hm-avatar--je { background: linear-gradient(135deg, #b5762a, #d19334); }

.hm-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #3d8fc7;
  color: #fff;
  font-size: 8.5px;
  font-weight: 650;
  white-space: nowrap;
}

.hm-pill--sm { padding: 3px 8px; font-size: 8px; }

.hm-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.hm-tag--green { background: rgba(63, 167, 122, 0.18); color: #55c093; }
.hm-tag--yellow { background: rgba(209, 147, 52, 0.18); color: #d19334; }
.hm-tag--teal { background: rgba(18, 181, 192, 0.16); color: #6fd6dd; }

.hm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.hm-verif {
  display: inline-block;
  margin-left: auto;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(63, 167, 122, 0.15);
  color: #55c093;
  font-size: 6.5px;
  font-weight: 700;
  font-style: normal;
}

.hm-skel {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 5px;
}

.hm-dots {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.hm-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  animation: live-dot 1.2s ease-in-out infinite;
}

.hm-dots i:nth-child(2) { animation-delay: 0.15s; }
.hm-dots i:nth-child(3) { animation-delay: 0.3s; }

/* ----------------------------------------
   Panel 1: Meddelanden – SDK-inkorg (18s)
   ---------------------------------------- */
.mm-side {
  width: 128px;
  flex: none;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mm-side .hm-pill { display: block; text-align: center; margin-bottom: 8px; }

.mm-side__label {
  font-size: 6.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  margin: 6px 0 3px;
}

.mm-side__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mm-side__item.is-active {
  background: rgba(74, 159, 216, 0.15);
  color: #7cc0ea;
}

.mm-count {
  margin-left: auto;
  min-width: 12px;
  text-align: center;
  padding: 0 3px;
  border-radius: 999px;
  background: #3d8fc7;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
  animation: mm-count 18s ease infinite;
}

@keyframes mm-count {
  0%, 5%   { opacity: 0; transform: scale(0.6); }
  8%, 100% { opacity: 1; transform: scale(1); }
}

.mm-list {
  width: 230px;
  flex: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mm-search {
  margin: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.25);
}

.mm-group {
  padding: 0 10px 3px;
  font-size: 6.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
}

.mm-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mm-row__meta {
  flex: 1;
  min-width: 0;
}

.mm-row__meta b {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mm-row__meta i {
  font-style: normal;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.35);
}

.mm-row.is-sel { background: rgba(74, 159, 216, 0.18); }

.mm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a9fd8;
  flex: none;
}

/* Inkommande kallelse glider in 0,5s */
.mm-row--new {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  background: rgba(74, 159, 216, 0.08);
  animation: mm-row-in 18s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes mm-row-in {
  0%, 2% { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
  6%, 100% { max-height: 54px; padding-top: 7px; padding-bottom: 7px; opacity: 1; }
}

/* Hanterat-taggen fälls på 7s */
.mm-tag-anim {
  animation: mm-tag 18s ease infinite;
}

@keyframes mm-tag {
  0%, 38%  { opacity: 0; transform: scale(1.3); }
  41%, 100% { opacity: 1; transform: scale(1); }
}

/* Kallelsen tilldelas Karin Lindqvist 12s */
.mm-tag-kl {
  display: inline-block;
  margin-top: 2px;
  animation: mm-tag-kl 18s ease infinite;
}

@keyframes mm-tag-kl {
  0%, 65%  { opacity: 0; transform: scale(1.25); }
  69%, 100% { opacity: 1; transform: scale(1); }
}

.mm-read {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  overflow: hidden;
}

.mm-read__title {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3px;
}

.mm-read__meta {
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 7px;
}

/* Kvittenschipen tonar in 4s – HUVUDDIFFERENTIERAREN */
.mm-receipt {
  background: rgba(63, 167, 122, 0.13);
  border-color: rgba(63, 167, 122, 0.3);
  color: #55c093;
  margin-bottom: 9px;
  animation: mm-receipt 18s ease infinite;
}

@keyframes mm-receipt {
  0%, 21%  { opacity: 0; transform: translateY(3px); }
  25%, 100% { opacity: 1; transform: translateY(0); }
}

.mm-reply { display: inline-block; margin-top: 6px; }

.mm-detail {
  width: 138px;
  flex: none;
  padding: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mm-detail__label {
  font-size: 6.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  margin: 7px 0 3px;
}

.mm-detail__label:first-child { margin-top: 0; }

.mm-detail__val {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

/* KL-avataren tonar in vid Tilldelad 10s */
.mm-assignee .hm-avatar {
  animation: mm-assignee 18s ease infinite;
}

@keyframes mm-assignee {
  0%, 54%  { opacity: 0; transform: scale(0.6); }
  58%, 100% { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------
   Panel 2: Chatt – Detaljplan Hamnen (16s)
   ---------------------------------------- */
.cm-convs {
  width: 148px;
  flex: none;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.cm-convs__search {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 6px;
}

.cm-conv {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cm-conv.is-active {
  background: rgba(74, 159, 216, 0.18);
  color: rgba(255, 255, 255, 0.85);
}

.cm-thread {
  position: relative; /* förankrar videosamtals-overlayn */
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cm-head {
  padding: 7px 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex: none;
}

.cm-head__row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cm-head__row + .cm-head__row { margin-top: 4px; }

.cm-head__title {
  flex: 1;
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cm-call { display: inline-flex; align-items: center; gap: 4px; }

.cm-doc { max-width: 200px; overflow: hidden; }

.cm-doc__saved {
  font-style: normal;
  margin-left: 4px;
  color: #55c093;
  font-weight: 650;
  opacity: 0;
  animation: cm-saved 30s ease infinite;
}

@keyframes cm-saved {
  0%, 27%   { opacity: 0; }
  30%, 42%  { opacity: 1; }
  47%, 100% { opacity: 0; }
}

.cm-note {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.cm-msgs {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 8px 10px;
  overflow: hidden;
}

.cm-day {
  align-self: center;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.35);
}

.cm-msg {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  max-width: 85%;
}

.cm-msg__body {
  position: relative;
  display: block;
  padding: 5px 9px;
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.75);
}

.cm-msg__body b {
  display: block;
  font-size: 7px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1px;
}

.cm-msg__body i {
  display: block;
  font-style: normal;
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
  margin-top: 1px;
}

.cm-msg--own {
  align-self: flex-end;
}

.cm-msg--own .cm-msg__body {
  background: rgba(18, 181, 192, 0.14);
  border-radius: 10px;
  border-bottom-right-radius: 3px;
}

.cm-ticks {
  color: #55c093;
  font-weight: 700;
  animation: cm-ticks 30s ease infinite;
}

@keyframes cm-ticks {
  0%, 21%  { opacity: 0; }
  24%, 100% { opacity: 1; }
}

/* Reaktionen poppar 1s */
.cm-react {
  position: absolute;
  bottom: -7px;
  left: 8px;
  padding: 0 5px;
  border-radius: 999px;
  background: #17263e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-style: normal;
  font-size: 7px;
  animation: cm-react 30s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes cm-react {
  0%, 3%     { opacity: 0; transform: scale(0.5); }
  5.5%, 100% { opacity: 1; transform: scale(1); }
}

/* Skrivindikatorn 3–5s, ersätts av meddelandet 5s */
.cm-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.4);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  animation: cm-typing 30s ease infinite;
}

@keyframes cm-typing {
  0%, 11%     { max-height: 0; opacity: 0; }
  13%, 17.5%  { max-height: 16px; opacity: 1; }
  20%, 100%   { max-height: 0; opacity: 0; }
}

.cm-msg--new {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  animation: cm-msg-in 30s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes cm-msg-in {
  0%, 17%  { max-height: 0; opacity: 0; }
  21%, 100% { max-height: 50px; opacity: 1; }
}

.cm-comp {
  flex: none;
  margin: 0 10px 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.25);
}

.cm-people {
  width: 148px;
  flex: none;
  padding: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.cm-people__head {
  font-size: 7px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.cm-person {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.cm-person i {
  font-style: normal;
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.35);
}

/* Gästen tonar in 11s – då är alla fyra på plats före mötet */
.cm-person--guest {
  animation: cm-guest 30s ease infinite;
}

@keyframes cm-guest {
  0%, 35%  { opacity: 0; transform: translateY(3px); }
  39%, 100% { opacity: 1; transform: translateY(0); }
}

/* "Starta samtal" trycks 18s */
.cm-call {
  animation: cm-press 30s ease infinite;
}

@keyframes cm-press {
  0%, 59.5% { transform: scale(1); filter: brightness(1); }
  60%, 61%  { transform: scale(0.94); filter: brightness(1.35); }
  63%, 100% { transform: scale(1); filter: brightness(1); }
}

/* Videosamtalet tänds 19–28,5s med alla fyra i rummet.
   Regi efter videomötes-referensen: REC-indikator uppe till
   vänster, toasts uppe till höger (Inspelning startar →
   Transkribering startar) och liveundertexter nertill. */
.cm-callui {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 8px;
  background: rgba(5, 11, 22, 0.95);
  opacity: 0;
  pointer-events: none;
  animation: cm-callui 30s ease infinite;
}

@keyframes cm-callui {
  0%, 62%   { opacity: 0; transform: scale(0.985); }
  65%, 94%  { opacity: 1; transform: scale(1); }
  97.5%, 100% { opacity: 0; transform: scale(0.985); }
}

.cm-callui__top {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  height: 16px;
  flex: none;
}

/* Inspelningsindikator med blinkande punkt */
.cm-callui__rec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.65);
}

.cm-callui__rec i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e5484d;
  animation: cm-recblink 1.6s ease-in-out infinite;
}

@keyframes cm-recblink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* Toasts i Talk-stil: vitt kort uppe till höger */
.cm-callui__toast {
  position: absolute;
  right: 0;
  top: 0;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(250, 252, 254, 0.95);
  border-left: 2.5px solid #3fa77a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  font-size: 7px;
  font-weight: 650;
  color: #17263e;
  white-space: nowrap;
  opacity: 0;
}

.cm-callui__toast--rec {
  animation: cm-toast-rec 30s ease infinite;
}

.cm-callui__toast--rec { color: #b02a30; }

@keyframes cm-toast-rec {
  0%, 66%   { opacity: 0; transform: translateX(10px); }
  68%, 76%  { opacity: 1; transform: translateX(0); }
  78%, 100% { opacity: 0; transform: translateX(0); }
}

.cm-callui__toast--ts {
  animation: cm-toast-ts 30s ease infinite;
}

@keyframes cm-toast-ts {
  0%, 78%   { opacity: 0; transform: translateX(10px); }
  80%, 88%  { opacity: 1; transform: translateX(0); }
  90%, 100% { opacity: 0; transform: translateX(0); }
}

/* 2×2-rutnät med riktiga videobilder */
.cm-callui__grid {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  grid-auto-rows: 88px;
  gap: 6px;
}

.cm-callui__tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1830;
  animation: cm-speak 8s linear infinite;
  animation-delay: var(--sp, 0s);
}

.cm-callui__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cm-callui__tile b {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* Talar-ram som vandrar mellan de fyra deltagarna (2s var) */
@keyframes cm-speak {
  0%        { box-shadow: inset 0 0 0 2px rgba(18, 181, 192, 0.85); }
  7%        { box-shadow: inset 0 0 0 2px rgba(18, 181, 192, 0.35); }
  13%       { box-shadow: inset 0 0 0 2px rgba(18, 181, 192, 0.85); }
  20%       { box-shadow: inset 0 0 0 2px rgba(18, 181, 192, 0.4); }
  23%       { box-shadow: inset 0 0 0 2px rgba(18, 181, 192, 0.7); }
  26%, 100% { box-shadow: inset 0 0 0 0 rgba(18, 181, 192, 0); }
}

/* Liveundertexter */
.cm-callui__cc {
  position: relative;
  display: grid;
  width: 300px;
  height: 15px;
  flex: none;
}

.cm-callui__cc-line {
  grid-area: 1 / 1;
  justify-self: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 7px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  opacity: 0;
}

.cm-callui__cc-line b {
  font-weight: 700;
  color: #6fd6dd;
}

.cm-callui__cc-line--1 { animation: cm-cc1 30s ease infinite; }
.cm-callui__cc-line--2 { animation: cm-cc2 30s ease infinite; }

@keyframes cm-cc1 {
  0%, 71%   { opacity: 0; }
  73%, 81%  { opacity: 1; }
  83%, 100% { opacity: 0; }
}

@keyframes cm-cc2 {
  0%, 83%   { opacity: 0; }
  85%, 93%  { opacity: 1; }
  95%, 100% { opacity: 0; }
}

.cm-callui__bar {
  display: flex;
  gap: 8px;
  flex: none;
}

.cm-callui__btn {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  font-size: 8px;
}

.cm-callui__btn--end {
  background: rgba(229, 72, 77, 0.28);
  color: #ff8a8e;
}

/* ----------------------------------------
   Panel 3: Filer – förvaltningsgemensam yta (20s)
   ---------------------------------------- */
.fl-side {
  width: 128px;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.fl-side .hm-pill { display: block; text-align: center; margin-bottom: 8px; }

.fl-side__item {
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fl-side__item.is-active {
  background: rgba(74, 159, 216, 0.15);
  color: #7cc0ea;
}

/* Kvotmätaren – bär kärntesen */
.fl-quota {
  margin-top: auto;
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.4);
}

.fl-quota b { color: #55c093; font-weight: 700; }

.fl-quota__bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
  overflow: hidden;
}

.fl-quota__bar i {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: 2px;
  background: #3d8fc7;
}

.fl-main {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  overflow: hidden;
}

.fl-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.fl-chips {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
}

.fl-chips i {
  font-style: normal;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.4);
}

.fl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.fl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 6px 6px;
  border-radius: 8px;
  background: rgba(74, 159, 216, 0.06);
}

.fl-card__ico { font-size: 15px; line-height: 1; opacity: 0.85; }

.fl-card b {
  max-width: 100%;
  font-size: 7px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fl-card i,
.fl-when {
  font-style: normal;
  font-size: 6px;
  color: rgba(255, 255, 255, 0.28);
}

.fl-card--file { background: rgba(255, 255, 255, 0.035); }

/* "just nu"-växling + highlight 1s */
.fl-card--justnow { animation: fl-hilite 20s ease infinite; }

@keyframes fl-hilite {
  0%, 4%   { box-shadow: inset 0 0 0 1px rgba(74, 159, 216, 0); }
  6%, 14%  { box-shadow: inset 0 0 0 1px rgba(74, 159, 216, 0.5); }
  22%, 100% { box-shadow: inset 0 0 0 1px rgba(74, 159, 216, 0); }
}

.fl-when { display: inline-grid; }
.fl-when s, .fl-when u { grid-area: 1 / 1; text-decoration: none; }
.fl-when s { animation: fl-when-old 20s ease infinite; }
.fl-when u { color: #7cc0ea; opacity: 0; animation: fl-when-new 20s ease infinite; }

@keyframes fl-when-old {
  0%, 4%   { opacity: 1; }
  6%, 100% { opacity: 0; }
}

@keyframes fl-when-new {
  0%, 4%   { opacity: 0; }
  6%, 100% { opacity: 1; }
}

/* Delningschipen tonar in 5s */
.fl-share {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: #17263e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 5.5px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  opacity: 0;
  animation: fl-share 20s ease infinite;
}

@keyframes fl-share {
  0%, 24%  { opacity: 0; transform: translateX(-50%) translateY(2px); }
  27%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Stilla hover-lyft 12,5s */
.fl-card--hover { animation: fl-lift 20s ease-in-out infinite; }

@keyframes fl-lift {
  0%, 60%  { transform: translateY(0); box-shadow: none; }
  65%, 70% { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
  75%, 100% { transform: translateY(0); box-shadow: none; }
}

.fl-act {
  width: 168px;
  flex: none;
  padding: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.fl-act__head {
  font-size: 7px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.fl-act__row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.fl-act__row b { color: rgba(255, 255, 255, 0.75); font-weight: 650; }
.fl-act__row i { font-style: normal; color: rgba(255, 255, 255, 0.3); }

/* Ny aktivitetsrad rullar in 9s */
.fl-act__row--new {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  animation: fl-act-in 20s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes fl-act-in {
  0%, 44%  { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
  48%, 100% { max-height: 34px; padding-top: 4px; padding-bottom: 4px; opacity: 1; }
}

/* ----------------------------------------
   Panel 4: Kalender – vecka 24 (18s)
   ---------------------------------------- */
.ca-side {
  width: 122px;
  flex: none;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ca-nav {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.ca-nav b { color: rgba(255, 255, 255, 0.8); font-weight: 650; }

.ca-side .hm-pill { display: block; text-align: center; margin-bottom: 6px; }

.ca-side__label {
  font-size: 6.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  margin: 7px 0 3px;
}

.ca-cb {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.ca-cb__box {
  display: inline-grid;
  place-items: center;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  font-size: 6px;
  font-style: normal;
  color: #fff;
  flex: none;
}

.ca-grid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ca-days {
  display: grid;
  grid-template-columns: 22px repeat(5, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex: none;
}

.ca-days span {
  padding: 5px 2px;
  text-align: center;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.ca-days .is-today b {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: #3d8fc7;
  color: #fff;
  font-weight: 650;
}

.ca-canvas {
  position: relative; /* förankrar boka-dialogen */
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 22px repeat(5, 1fr);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.045) 0,
    rgba(255, 255, 255, 0.045) 1px,
    transparent 1px,
    transparent 12.5%
  );
}

.ca-hours {
  display: flex;
  flex-direction: column;
}

.ca-hours span {
  flex: 1;
  font-size: 6px;
  color: rgba(255, 255, 255, 0.25);
  text-align: right;
  padding-right: 3px;
}

.ca-col {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.045);
}

.ca-col--today { background: rgba(74, 159, 216, 0.06); }

.ca-ev {
  position: absolute;
  left: 2px;
  right: 2px;
  border-radius: 4px;
  padding: 2px 4px 2px 6px;
  overflow: hidden;
}

.ca-ev::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
}

.ca-ev i {
  display: block;
  font-style: normal;
  font-size: 5.5px;
  opacity: 0.75;
  line-height: 1.2;
}

.ca-ev b {
  display: block;
  font-size: 6.5px;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
}

.ca-ev--blue { background: rgba(74, 159, 216, 0.2); color: #a8d4f0; }
.ca-ev--blue::before { background: #4a9fd8; }
.ca-ev--green { background: rgba(63, 167, 122, 0.18); color: #9ed8bd; }
.ca-ev--green::before { background: #3fa77a; }
.ca-ev--orange { background: rgba(209, 147, 52, 0.18); color: #e5c08a; }
.ca-ev--orange::before { background: #d19334; }

/* SIP-mötet och Mötesscheman-slotet är statiska referenspunkter –
   berättelsen bärs av boka-säkert-möte-sekvensen nedan */
.ca-acc {
  display: inline-block;
  font-size: 5.5px;
  font-weight: 700;
  color: #55c093;
}

.ca-talk {
  display: inline-block;
  margin-left: 3px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(18, 181, 192, 0.2);
  color: #6fd6dd;
  font-size: 5.5px;
  font-weight: 650;
}

/* ----------------------------------------
   Sekvens: boka säkert möte (18s)
   1,4s dialogen tänds → 4,5s Boka trycks → 5,8s dialogen
   släcks → 7,2s händelsen landar i fredagskolumnen →
   9s Talk-länken tänds – HUVUDDIFFERENTIERAREN
   ---------------------------------------- */
.ca-dialog {
  position: absolute;
  top: 12%;
  right: 4px;
  width: 118px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px;
  border-radius: 8px;
  background: #13223a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: ca-dialog 18s ease infinite;
}

@keyframes ca-dialog {
  0%, 5%   { opacity: 0; transform: translateY(5px); }
  9%, 28%  { opacity: 1; transform: translateY(0); }
  32%, 100% { opacity: 0; transform: translateY(0); }
}

.ca-dialog__title {
  font-size: 7.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.ca-dialog__field {
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.8);
}

.ca-dialog__row {
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ca-dialog__row--secure {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6fd6dd;
}

/* Toggle i på-läge */
.ca-toggle {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 999px;
  background: #12b5c0;
  flex: none;
}

.ca-toggle u {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.ca-dialog__boka {
  align-self: flex-end;
  animation: ca-boka 18s ease infinite;
}

@keyframes ca-boka {
  0%, 24%   { transform: scale(1); filter: brightness(1); }
  25%, 26%  { transform: scale(0.93); filter: brightness(1.35); }
  28%, 100% { transform: scale(1); filter: brightness(1); }
}

/* Händelsen landar i fredagskolumnen 7,2s */
.ca-ev--new {
  transform-origin: top center;
  animation: ca-ev-new 18s cubic-bezier(0.34, 1.4, 0.64, 1) infinite;
}

@keyframes ca-ev-new {
  0%, 38%  { opacity: 0; transform: translateY(-4px) scale(0.95); }
  42%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Talk-länken tänds på den nya händelsen 9s */
.ca-talk--anim {
  animation: ca-talk-in 18s ease infinite;
}

@keyframes ca-talk-in {
  0%, 49%  { opacity: 0; transform: scale(0.8); }
  53%, 100% { opacity: 1; transform: scale(1); }
}

/* Nu-linjen kryper omärkligt genom hela loopen */
.ca-now {
  position: absolute;
  left: 0;
  right: 0;
  top: 34%;
  height: 1px;
  background: #e5484d;
  animation: ca-now 18s linear infinite;
}

.ca-now::before {
  content: '';
  position: absolute;
  left: -2px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e5484d;
}

@keyframes ca-now {
  from { transform: translateY(0); }
  to   { transform: translateY(7px); }
}

/* ----------------------------------------
   Panel 5: Kunskapsbank – kommunens wiki (16s)
   ---------------------------------------- */
.wk-side {
  width: 168px;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.wk-search {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 7px;
}

.wk-title {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-item {
  padding: 3.5px 6px 3.5px 12px;
  border-radius: 5px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sidan markeras i trädet 1s */
.wk-item--sel { animation: wk-sel 16s ease infinite; }

@keyframes wk-sel {
  0%, 5% { background: transparent; color: rgba(255, 255, 255, 0.5); }
  9%, 100% { background: rgba(74, 159, 216, 0.15); color: #7cc0ea; }
}

.wk-trash {
  margin-top: auto;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.3);
}

.wk-page {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 14px 8px;
  overflow: hidden;
}

.wk-h1 {
  font-size: 11px;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 5px;
}

.wk-members {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 7px;
}

.wk-members .hm-avatar + .hm-avatar { margin-left: -4px; }

.wk-members__link {
  margin-left: auto;
  font-size: 7px;
  color: #7cc0ea;
}

/* JE får närvaroprick 10s */
.wk-je { position: relative; }

.wk-je::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #3fa77a;
  border: 1px solid #0b1526;
  opacity: 0;
  animation: wk-je 16s ease infinite;
}

@keyframes wk-je {
  0%, 60%  { opacity: 0; transform: scale(0.5); }
  64%, 100% { opacity: 1; transform: scale(1); }
}

.wk-ingress {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 7px;
}

.wk-callout {
  padding: 5px 8px 5px 10px;
  border-left: 2.5px solid #4a9fd8;
  border-radius: 4px;
  background: rgba(74, 159, 216, 0.09);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.wk-recent {
  margin-top: auto;
  height: 34px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 4px;
}

.wk-recent__row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
}

.wk-recent__row i {
  font-style: normal;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
}

.wk-recent__row--new i { color: #7cc0ea; }

/* Ny post glider in 7,5s */
.wk-recent__row--new {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  animation: wk-recent 16s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes wk-recent {
  0%, 45%  { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
  50%, 100% { max-height: 18px; padding-top: 2px; padding-bottom: 2px; opacity: 1; }
}

.wk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 6.5px;
  color: rgba(255, 255, 255, 0.35);
  flex: none;
}

/* Versionsraden tickar 4s */
.wk-version { display: inline-grid; }
.wk-version s, .wk-version u { grid-area: 1 / 1; text-decoration: none; white-space: nowrap; }
.wk-version s { animation: wk-ver-old 16s ease infinite; }
.wk-version u { opacity: 0; color: rgba(255, 255, 255, 0.55); animation: wk-ver-new 16s ease infinite; }

@keyframes wk-ver-old {
  0%, 23%  { opacity: 1; }
  27%, 100% { opacity: 0; }
}

@keyframes wk-ver-new {
  0%, 23%  { opacity: 0; }
  27%, 100% { opacity: 1; }
}

.wk-format { white-space: nowrap; }

/* --- Små skärmar: dölj sidokolumner så huvudytan får plats --- */
@media (max-width: 760px) {
  .mm-side, .mm-detail,
  .cm-convs, .cm-people,
  .fl-side, .fl-act,
  .ca-side,
  .wk-side {
    display: none;
  }
}

/* ========================================
   Flödet – inbäddad realtids-3D-sektion
   Namespace:ad från design-mockups/05-flodet-3d.html så scenens
   klasser (.hero, .infocard m.fl.) inte krockar med startsidans.
   Scenen ritas i JS (rAF + GSAP), inte via CSS-animationer.
   ======================================== */
.flodet-section { padding-bottom: 0; }

.flodet {
  position: relative;
  height: clamp(460px, 68vh, 700px);
  margin-top: 42px;
  overflow: hidden;
  background: linear-gradient(180deg, #aebfd2 0%, #cfdce8 55%, #f2dcc4 85%, #f6e3c9 100%);
}

.flodet #flodet-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.flodet__badge {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 6;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(29, 38, 55, 0.55);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 5px 12px;
}

.flodet__pause {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 6;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  color: #46556e;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dde5ec;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}

.flodet__info {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 300px;
  padding: 16px 18px 14px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(249, 251, 252, 0.94), rgba(249, 251, 252, 0.82));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(221, 229, 236, 0.85);
  box-shadow: 0 10px 30px -14px rgba(29, 38, 55, 0.3);
}

.flodet__info .ic-eyebrow {
  display: block;
  margin-bottom: 6px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  color: #00705f;
  font-weight: 600;
}

.flodet__info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #46556e;
}

.flodet__fallback {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13.5px;
  color: #46556e;
}

.flodet__fallback.show { display: flex; }

@media (max-width: 960px) {
  .flodet { height: clamp(360px, 56vh, 520px); margin-top: 32px; }
  .flodet__info { width: 240px; }
}

/* ========================================
   Varför ITSL — uttalande + ikonrad + tidslinjeband
   ======================================== */
.why-head.section-head {
  text-align: center;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.why-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.why-pill {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #d3dde7;
  border-radius: 14px;
  padding: 20px 20px;
  box-shadow: 0 1px 2px rgba(20, 32, 46, 0.05), 0 12px 28px -14px rgba(20, 32, 46, 0.18);
}

.why-pill__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: #00705f;
  flex: none;
}

.why-pill__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.why-pill h3 {
  color: #1d2637;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2px 0 5px;
}

.why-pill p {
  color: #5a6b7d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .why-icons {
    grid-template-columns: 1fr;
  }
}
