:root {
  --ink: #142235;
  --muted: #5c6b7d;
  --soft: #eef5f7;
  --paper: #ffffff;
  --line: #dce7ec;
  --blue: #08667c;
  --blue-2: #2e7cb5;
  --green: #18b89e;
  --amber: #f2a93b;
  --shadow: 0 24px 70px rgba(20, 34, 53, 0.14);
  --radius: 8px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f7fafb;
  color: var(--ink);
  font: 16px/1.6 "DM Sans", system-ui, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: hidden; } /* Safety net against unexpected horizontal scroll on mobile */

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid #b3d8e0;
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.btn.primary:focus-visible { outline-color: #18b89e; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b3d8e0;
  outline-offset: 1px;
  border-color: #08667c;
}

.notice {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 18px;
}

.notice a { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 11px clamp(18px, 4vw, 58px);
  background: rgba(255,255,255,0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff7e8;
  border: 1px solid rgba(8,102,124,0.14);
  color: var(--blue);
  font-weight: 900;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 18px);
  color: #405066;
  font-size: 14px;
  font-weight: 800;
}

.btn {
  min-height: 44px; /* WCAG 2.5.5 / iOS HIG / Material 3 touch target */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(20, 34, 53, 0.04);
}

.btn:hover { text-decoration: none; border-color: #c7d7df; }

.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #082c2b;
}

.btn.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--ink); }

/* Logg inn-dropdown — diskret single-button som åpner panel med to valg */
.login-menu {
  position: relative;
}
.login-menu > summary {
  list-style: none;
  user-select: none;
  cursor: pointer;
}
.login-menu > summary::-webkit-details-marker { display: none; }
.login-menu > summary::marker { content: ""; }
.login-chevron {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  line-height: 1;
  color: var(--muted);
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
.login-menu[open] > summary .login-chevron {
  transform: rotate(180deg);
  color: var(--ink);
}
.login-menu[open] > summary {
  border-color: var(--ink);
  background: #fbfdfd;
}
.login-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px -6px rgba(20, 34, 53, 0.12), 0 2px 6px rgba(20, 34, 53, 0.04);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  animation: login-menu-in 160ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes login-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.login-menu-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  transition: background 120ms ease;
}
.login-menu-panel a strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.login-menu-panel a span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.login-menu-panel a:hover {
  background: #f3f7f8;
  text-decoration: none;
}
.login-menu-panel a:hover strong {
  color: var(--green);
}
@media (max-width: 760px) {
  .login-menu-panel {
    right: auto;
    left: 0;
    min-width: 200px;
  }
}

.hero {
  padding: clamp(42px, 5.4vw, 72px) clamp(18px, 4vw, 58px) clamp(38px, 5vw, 62px);
  background:
    linear-gradient(135deg, rgba(8,102,124,0.11), rgba(24,184,158,0.07) 46%, transparent 46%),
    #f7fafb;
}

.home-hero {
  padding: clamp(38px, 5vw, 68px) clamp(18px, 4vw, 58px) clamp(40px, 5vw, 66px);
  background:
    radial-gradient(circle at 84% 24%, rgba(24,184,158,0.16), transparent 32%),
    linear-gradient(135deg, rgba(8,102,124,0.12), rgba(24,184,158,0.07) 48%, rgba(255,255,255,0) 48%),
    #f7fafb;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: start;
}

.home-hero .hero-grid {
  max-width: 1220px;
  grid-template-columns: minmax(360px, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(30px, 4.8vw, 58px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 900;
}

h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: 0; }

h1 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 900;
}

.home-hero h1 {
  max-width: 640px;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.lead {
  margin: 20px 0 0;
  max-width: 660px;
  color: #3f5066;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.6;
  font-weight: 550;
}

.home-hero .lead {
  max-width: 660px;
  color: #33465b;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.58;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-actions { margin-top: 22px; }

.home-cost-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 720px;
  margin-top: 14px;
}

.home-cost-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(8,102,124,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #405066;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(20,34,53,0.05);
}

.home-cost-strip strong {
  color: var(--blue);
  font-weight: 900;
}

.home-track-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
  margin-top: 24px;
}

.home-track-card {
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(8,102,124,0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 34px rgba(20,34,53,0.07);
  text-decoration: none;
}

.home-track-card:hover {
  border-color: rgba(8,102,124,0.32);
  text-decoration: none;
  transform: translateY(-1px);
}

.home-track-card span {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

.home-track-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.home-track-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.home-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.home-proof-list li {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(8,102,124,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  color: #405066;
  font-size: 13px;
  font-weight: 800;
}

.home-proof-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.hero-note {
  margin-top: 22px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

.product-shot {
  position: relative;
  border: 1px solid rgba(8,102,124,0.16);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  margin-top: clamp(10px, 3vw, 34px);
}

.home-product-shot {
  margin-top: clamp(16px, 4vw, 48px);
  padding: 0;
  overflow: hidden;
}

.product-shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.product-shot-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d7e5ea;
}

.product-shot-bar strong {
  margin-left: 4px;
  color: #405066;
}

.product-shot img {
  border-radius: 10px;
  border: 1px solid var(--line);
}

.home-product-shot img {
  border: 0;
  border-radius: 0;
}

.hero-asset-stack {
  display: grid;
  gap: 14px;
}

.runware-illustration {
  margin: 0;
  border: 1px solid rgba(8,102,124,0.16);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,0.76);
  box-shadow: var(--shadow);
}

.runware-illustration img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.runware-illustration.compact img {
  max-height: 260px;
  object-fit: contain;
  background: #fffaf0;
}

.runware-hero-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section { padding: clamp(58px, 7.5vw, 92px) 0; }
.section.soft { background: var(--soft); }
.section.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}
.section h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  margin: 28px 0 10px;
  color: var(--ink);
}
.section p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.section ul:not(.check-list):not(.nav):not(.feature-grid) {
  font-size: 16px;
  line-height: 1.7;
}

/* Generic table styling — used on om.html and other pages without .pricing-table class */
.section table:not(.pricing-table),
.container > table:not(.pricing-table) {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 16px;
}
.section table:not(.pricing-table) th,
.section table:not(.pricing-table) td,
.container > table:not(.pricing-table) th,
.container > table:not(.pricing-table) td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.section table:not(.pricing-table) th,
.container > table:not(.pricing-table) th {
  font-weight: 800;
  color: var(--ink);
  background: rgba(8,102,124,0.03);
  width: 30%;
}
.section table:not(.pricing-table) tbody tr:last-child th,
.section table:not(.pricing-table) tbody tr:last-child td,
.container > table:not(.pricing-table) tbody tr:last-child th,
.container > table:not(.pricing-table) tbody tr:last-child td {
  border-bottom: none;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  margin: 12px 0 0;
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.version-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(20, 34, 53, 0.08);
}

.version-card.featured { border-color: rgba(46,124,181,0.38); }

.choice-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.choice-flow > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,34,53,0.06);
}

.choice-flow span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f4f7;
  color: var(--blue);
  font-weight: 900;
}

.choice-flow strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.choice-flow p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.version-media {
  aspect-ratio: 16 / 9;
  background: #e8f1f4;
  overflow: hidden;
}

.version-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.version-body { padding: clamp(22px, 3vw, 32px); }

.version-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #eaf5f7;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.tag.green { background: #def8f1; color: #087365; }
.tag.amber { background: #fff2d8; color: #8a5a08; }

.version-body p { color: var(--muted); margin: 0 0 18px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #405066;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.matrix {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.matrix-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.matrix-row:first-child { border-top: 0; }

.matrix-row > div {
  padding: 16px 18px;
  border-left: 1px solid var(--line);
}

.matrix-row > div:first-child {
  border-left: 0;
  font-weight: 900;
}

.matrix-head {
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.matrix-head > div:first-child { color: #fff; }

.muted { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature p { margin: 0; color: var(--muted); }

.beta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  border-radius: 14px;
  padding: clamp(28px, 5vw, 46px);
  background: var(--ink);
  color: #fff;
}

.beta-panel h2,
.beta-panel h3 { color: #fff; }

.beta-panel p { color: #d8e4ec; }

.beta-side {
  display: grid;
  gap: 12px;
}

.future-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 34, 53, 0.08);
}

.future-panel p:not(.eyebrow) {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.stat {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255,255,255,0.06);
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stat span {
  color: #d8e4ec;
  font-size: 14px;
  font-weight: 750;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.beta-cost-section {
  padding-top: clamp(42px, 5vw, 64px);
  padding-bottom: clamp(42px, 5vw, 64px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.beta-cost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.beta-cost-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 235px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfd;
  box-shadow: 0 12px 30px rgba(20, 34, 53, 0.06);
}

.beta-cost-card.primary {
  border-color: rgba(24,184,158,0.36);
  background: linear-gradient(180deg, #ecfaf6 0%, #ffffff 100%);
}

.beta-cost-value {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf5f7;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.beta-cost-card.primary .beta-cost-value {
  background: var(--green);
  color: #082c2b;
}

.beta-cost-card h3 {
  margin: 4px 0 0;
  font-size: clamp(20px, 2vw, 24px);
}

.beta-cost-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 600;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 34, 53, 0.05);
}

.faq-item h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.faq-item a,
.info-card a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps-list {
  display: grid;
  gap: 14px;
}

.step-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 34, 53, 0.05);
}

.step-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  color: #405066;
  font-size: 13px;
  font-weight: 850;
}

.field.full { grid-column: 1 / -1; }
.field label { display: block; }
.muted-inline { font-weight: 400; color: var(--muted, #6b7d92); font-size: 12px; }

/* Cookie consent banner — also used on Pattern A pages */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: #08222e;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  padding: 18px clamp(18px, 3vw, 26px);
  max-width: 980px;
  margin: 0 auto;
}
.cookie-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.cookie-banner-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d8e3ea;
}
.cookie-banner-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-btn-decline {
  background: transparent;
  color: #d8e3ea;
  border: 1px solid rgba(255,255,255,0.32);
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
.cookie-btn-decline:hover {
  border-color: #fff;
  color: #fff;
}
.cookie-btn-accept {
  background: var(--green, #18b89e);
  border: 1px solid var(--green, #18b89e);
  color: #08222e;
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cookie-btn-accept:hover {
  background: #14a48b;
  border-color: #14a48b;
}
@media (max-width: 720px) {
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions button { flex: 1; }
}

/* FAQ section heading + intro — used to group questions under a topic */
.faq-section-heading {
  margin: 56px 0 8px;
  padding-top: 24px;
  border-top: 2px solid var(--blue);
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--ink);
  font-weight: 900;
  grid-column: 1 / -1;
}
.faq-section-intro {
  margin: 0 0 24px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
  color: #3f5066;
  grid-column: 1 / -1;
}

/* Visually hidden — accessible but not displayed */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pricing table — used on transkripsjon.html and similar */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
}
.pricing-table caption {
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  font-size: 15px;
  background: rgba(8,102,124,0.06);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.pricing-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #405066;
  background: rgba(8,102,124,0.04);
  border-bottom: 1px solid var(--line);
}
.pricing-table tbody th,
.pricing-table tbody td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table tbody th {
  font-weight: 800;
  color: var(--ink);
  width: auto;
  min-width: 130px;
}
.pricing-table tbody td:first-of-type {
  color: #405066;
  font-size: 16px;
  line-height: 1.55;
}
.pricing-table tbody td:last-child {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
  width: auto;
  min-width: 160px;
}
.pricing-table tbody td:last-child strong {
  font-size: 22px;
  color: #08667c;
  display: block;
  line-height: 1.2;
}
.pricing-table tbody tr:hover {
  background: rgba(8,102,124,0.03);
}

/* Mobile — stack to readable cards */
@media (max-width: 768px) {
  .pricing-table { font-size: 15px; }
  .pricing-table thead { display: none; }
  .pricing-table, .pricing-table tbody, .pricing-table tr { display: block; }
  .pricing-table tbody tr {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  .pricing-table tbody tr:last-child { border-bottom: none; }
  .pricing-table tbody th,
  .pricing-table tbody td {
    display: block;
    padding: 4px 0;
    border: none;
    width: auto;
  }
  .pricing-table tbody th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7d92;
    margin-bottom: 4px;
  }
  .pricing-table tbody td:first-of-type {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .pricing-table tbody td:last-child {
    text-align: left;
  }
  .pricing-table tbody td:last-child strong {
    font-size: 24px;
  }
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font-family: inherit;
  font-size: 16px; /* prevents iOS Safari auto-zoom on focus (>= 16px required) */
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
}

.site-footer {
  padding: 32px clamp(18px, 4vw, 58px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-legal {
  flex-basis: 100%;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.version-strip,
.transcription-value-strip {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.version-strip-inner,
.transcription-value-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.version-strip strong,
.transcription-value-strip strong {
  color: var(--ink);
}

.version-strip a,
.transcription-value-strip a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.transcription-value-strip {
  background: #eaf8f4;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.cost-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}

.cost-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.cost-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 920px) {
  /* Tablet: nav reflows compact horizontally instead of disappearing */
  .nav {
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 14px;
    justify-content: flex-end;
  }
  .nav .login-menu summary { padding: 8px 12px; }
  .hero-grid,
  .home-hero .hero-grid,
  .version-grid,
  .beta-panel,
  .contact-grid,
  .future-panel {
    grid-template-columns: 1fr;
  }
  .home-product-shot {
    max-width: 760px;
    margin-top: 8px;
  }
  .choice-flow { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .beta-cost-grid { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .version-strip-inner,
  .transcription-value-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .matrix-row { grid-template-columns: 1fr; }
  .matrix-row > div { border-left: 0; border-top: 1px solid var(--line); }
  .matrix-row > div:first-child { border-top: 0; }
}

/* Mobile: collapse nav into a compact toggleable list (CSS-only via details) */
@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .home-page .site-header {
    flex-direction: row;
    align-items: center;
  }
  .home-page .nav {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }
  .home-page .nav a:not(.btn),
  .home-page .nav .login-menu {
    display: none;
  }
  .home-page .nav .btn.primary {
    display: inline-flex;
  }
  .home-hero {
    padding-top: 34px;
  }
  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 13px;
    justify-content: flex-start;
  }
  .nav a:not(.btn):not(summary) {
    padding: 6px 8px;
    border-radius: 6px;
  }
  .nav .btn.primary,
  .nav .btn.ghost { padding: 8px 14px; font-size: 13px; }
  .nav .login-menu { margin-left: auto; }
  .announcement-bar,
  .notice {
    font-size: 13px;
    text-align: center;
  }
  .notice { padding: 8px 18px; }
  .version-strip-inner,
  .transcription-value-inner {
    gap: 8px;
    padding: 10px 0;
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 620px) {
  h1 { font-size: 42px; }
  .home-hero h1 { font-size: 36px; }
  .home-hero .lead { font-size: 17px; }
  .home-track-cards { grid-template-columns: 1fr; }
  .home-track-card { min-height: 0; }
  .home-cost-strip {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-cost-strip span {
    justify-content: flex-start;
  }
  .home-proof-list {
    display: grid;
    grid-template-columns: 1fr;
  }
  .choice-flow > div {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 15px;
  }
  .choice-flow span {
    width: 34px;
    height: 34px;
  }
  .feature-grid,
  .form { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 1fr; }
  .footer-inner { display: grid; }
}
