/* ============================================================
   PRISTJENESTEN.NO — designsystem v1 (Steg 18)
   Rolig, presis, norsk tillit. Ingen stockfoto. Luft og tall.
   ============================================================ */

:root {
  /* Pristjenesten designprofil v2 — moderne SaaS, skandinavisk, premium */
  --ps-ink: #0F172A;          /* primær tekst */
  --ps-paper: #F8FAFC;        /* bakgrunn */
  --ps-surface: #FFFFFF;      /* kort */
  --ps-primary: #2563EB;      /* CTA, lenker, ikoner, fokus, aktive */
  --ps-primary-dk: #1D4ED8;   /* hover primærknapp */
  --ps-primary-soft: #EFF6FF; /* lys blå flate */
  --ps-accent: #10B981;       /* KUN: spar penger, beste valg, suksess, sendt */
  --ps-accent-soft: #ECFDF5;
  --ps-b2b: #1E40AF;          /* bedriftssegmentets dypblå aksent */
  --ps-b2b-soft: #DBEAFE;
  --ps-muted: #64748B;        /* sekundær tekst */
  --ps-line: #E2E8F0;         /* borders */
  --ps-error: #DC2626;
  --ps-warn: #F59E0B;
  --ps-info: #0EA5E9;
  --ps-success: #10B981;
  --radius: 12px;             /* inputs + buttons */
  --radius-card: 16px;        /* cards */
  --radius-section: 24px;     /* store seksjoner/bannere */
  --shadow-card: 0 1px 2px rgba(15,23,42,.04);
  --shadow-lift: 0 10px 30px rgba(15,23,42,.06);
  --container: 1280px;
  --text-col: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; line-height: 1.65;
  color: var(--ps-ink); background: var(--ps-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Inter", system-ui, -apple-system, sans-serif; line-height: 1.18; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); font-weight: 650; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { max-width: 68ch; }
a  { color: var(--ps-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; }
table { border-collapse: collapse; font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--ps-primary); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section h2 { margin-bottom: 12px; }
.section .lede { color: var(--ps-muted); margin-bottom: 36px; max-width: var(--text-col); }
@media (max-width: 720px) { .section { padding: 56px 0; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: 64px;
  background: rgba(250,250,247,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--ps-line); box-shadow: 0 1px 8px rgba(22,33,28,.06); }
.header__inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { font-family: "Inter", system-ui, sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--ps-ink); letter-spacing: -0.02em; }
.logo span { color: var(--ps-primary); }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--ps-ink); font-weight: 500; font-size: .97rem; }
.nav a.nav--dim { color: var(--ps-muted); font-weight: 400; }
.header__cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--ps-line); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: block; }
}
.mobilemenu { display: none; position: fixed; inset: 64px 0 0 0; background: var(--ps-paper); z-index: 99; padding: 24px 20px; overflow-y: auto; }
.mobilemenu.is-open { display: block; }
.mobilemenu .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.mobilemenu .seg a { display: block; text-align: center; padding: 18px; border-radius: var(--radius); font-weight: 600; }
.mobilemenu .seg a.privat { background: var(--ps-primary-soft); color: var(--ps-primary-dk); }
.mobilemenu .seg a.bedrift { background: var(--ps-b2b-soft); color: var(--ps-b2b); }
.mobilemenu ul { list-style: none; }
.mobilemenu li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ps-line); color: var(--ps-ink); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--ps-primary); color: #fff; }
.btn--primary:hover { background: var(--ps-primary-dk); }
.btn--secondary { background: transparent; color: var(--ps-primary); border-color: var(--ps-primary); }
.btn--secondary:hover { background: var(--ps-primary-soft); }
.btn--link { background: none; border: none; color: var(--ps-primary); font-weight: 600; padding: 0; min-height: 0; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero h1 { max-width: 18ch; margin-bottom: 16px; }
.hero .sub { font-size: 1.15rem; color: var(--ps-muted); max-width: 56ch; margin-bottom: 28px; }
.hero--compact { padding: 48px 0 24px; }
.trustline { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ps-muted); font-size: .95rem; margin-top: 20px; }
.trustline span::before { content: "✓ "; color: var(--ps-accent); font-weight: 700; }

/* ---------- Tjenestevelger (signaturelementet) ---------- */
.picker { background: var(--ps-surface); border: 1px solid var(--ps-line); border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-card); max-width: 880px; }
.picker__tabs { display: inline-flex; background: var(--ps-paper); border: 1px solid var(--ps-line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.picker__tabs button { border: none; background: transparent; font: inherit; font-weight: 600; padding: 8px 22px; border-radius: 999px; cursor: pointer; color: var(--ps-muted); }
.picker__tabs button[aria-selected="true"] { background: var(--ps-primary); color: #fff; }
.picker__tabs button.b2b[aria-selected="true"] { background: var(--ps-b2b); }
.picker__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 720px) { .picker__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Kort ---------- */
.cardgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .cardgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cardgrid { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: block; background: var(--ps-surface); border: 1px solid var(--ps-line);
  border-radius: var(--radius-card); padding: 18px 16px; color: var(--ps-ink);
  box-shadow: var(--shadow-card); transition: transform .12s, border-color .12s, box-shadow .12s;
  min-height: 44px;
}
.card:hover { transform: translateY(-2px); border-color: var(--ps-primary); box-shadow: var(--shadow-lift); text-decoration: none; }
.card .card__icon { color: var(--ps-primary); margin-bottom: 8px; display: block; }
.card--b2b .card__icon { color: var(--ps-b2b); }
.card--b2b:hover { border-color: var(--ps-b2b); }
.card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.card p { font-size: .9rem; color: var(--ps-muted); line-height: 1.45; }

.benefit { background: var(--ps-surface); border: 1px solid var(--ps-line); border-radius: var(--radius-card); padding: 22px; }
.benefit h3 { margin-bottom: 6px; }
.benefit p { color: var(--ps-muted); font-size: .97rem; }

/* ---------- Steg (slik fungerer det) ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(var(--steps-n, 3), 1fr); } }
.step { position: relative; padding-left: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--ps-primary-soft); color: var(--ps-primary-dk);
  display: grid; place-items: center; font-weight: 700; font-family: "Inter", system-ui, sans-serif;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--ps-muted); font-size: .97rem; }

/* ---------- Ærlighetsboks / infoboks ---------- */
.honest {
  border-left: 4px solid var(--ps-info); background: var(--ps-surface);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px;
  max-width: var(--text-col); box-shadow: var(--shadow-card);
}
.honest h3 { margin-bottom: 6px; }

/* ---------- Tabeller ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--ps-line); border-radius: var(--radius-card); background: var(--ps-surface); }
.tablewrap table { width: 100%; min-width: 520px; }
.tablewrap th, .tablewrap td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--ps-line); font-size: .97rem; }
.tablewrap tr:last-child td { border-bottom: none; }
.tablewrap thead th { background: var(--ps-paper); font-weight: 600; }
.tablewrap tbody tr:nth-child(even) { background: #FCFCFA; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--text-col); }
.faq details { border-bottom: 1px solid var(--ps-line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 4px; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ps-primary); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 4px 20px; color: var(--ps-muted); }

/* ---------- Skjema ---------- */
.form-shell { background: var(--ps-surface); border: 1px solid var(--ps-line); border-radius: var(--radius-card); padding: 28px; max-width: 640px; box-shadow: var(--shadow-card); }
.progress { margin-bottom: 22px; }
.progress__label { font-size: .9rem; color: var(--ps-muted); margin-bottom: 8px; }
.progress__bar { height: 4px; background: var(--ps-line); border-radius: 2px; overflow: hidden; }
.progress__fill { height: 100%; background: var(--ps-primary); border-radius: 2px; transition: width .25s; }

.field { margin-bottom: 20px; }
.field > label { display: block; font-weight: 600; margin-bottom: 8px; }
.field .hint { font-size: .88rem; color: var(--ps-muted); margin-top: -4px; margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit;
  border: 1px solid var(--ps-line); border-radius: 10px; background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ps-primary); box-shadow: 0 0 0 2px var(--ps-primary-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--ps-error); }
.field .error { display: none; color: var(--ps-error); font-size: .9rem; margin-top: 6px; }
.field.has-error .error { display: block; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices.cols-1 { grid-template-columns: 1fr; }
.choice {
  border: 1px solid var(--ps-line); border-radius: 10px; background: #fff;
  padding: 14px; cursor: pointer; font: inherit; text-align: left; min-height: 52px;
  transition: border-color .1s, background .1s; position: relative;
}
.choice:hover { border-color: var(--ps-primary); }
.choice[aria-pressed="true"] {
  border: 2px solid var(--ps-primary); background: var(--ps-primary-soft); font-weight: 600; padding: 13px;
}
.choice[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 10px; right: 12px; color: var(--ps-primary); font-weight: 700; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ps-muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--ps-primary); }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.form-note { text-align: center; font-size: .85rem; color: var(--ps-muted); margin-top: 14px; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success h3 { color: var(--ps-success); margin-bottom: 10px; }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA-banner ---------- */
.ctaband { background: var(--ps-primary); color: #fff; border-radius: var(--radius-section); padding: 48px 32px; text-align: center; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.85); margin: 10px auto 24px; }
.ctaband .btn--primary { background: #fff; color: var(--ps-primary-dk); }
.ctaband .btn--primary:hover { background: var(--ps-paper); }

/* ---------- Sticky mobil-CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250,250,247,.95); border-top: 1px solid var(--ps-line); backdrop-filter: blur(8px);
  }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky { padding-bottom: 84px; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .9rem; color: var(--ps-muted); padding: 18px 0 0; }
.crumbs a { color: var(--ps-muted); }
.crumbs span[aria-current] { color: var(--ps-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ps-ink); color: #C9D2CD; margin-top: 96px; padding: 64px 0 32px; }
.footer a { color: #C9D2CD; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; font-size: .93rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: .87rem; color: #9AA6A0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Diverse ---------- */
.prose { max-width: var(--text-col); }
.prose h3 { margin: 26px 0 8px; }
.prose p + p { margin-top: 14px; }
.checklist, .warnlist { list-style: none; max-width: var(--text-col); }
.checklist li, .warnlist li { padding: 8px 0 8px 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ps-success); font-weight: 700; }
.warnlist li::before { content: "!"; position: absolute; left: 4px; color: var(--ps-error); font-weight: 700; }
.grid-3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.updated { display: inline-block; font-size: .82rem; color: var(--ps-muted); background: var(--ps-surface); border: 1px solid var(--ps-line); border-radius: 999px; padding: 4px 12px; }
.badge-b2b { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--ps-b2b); background: var(--ps-b2b-soft); border-radius: 999px; padding: 3px 10px; vertical-align: middle; }

/* ============================================================
   MOBILOPTIMALISERING v1.1
   ============================================================ */
button, a.btn, .choice, .card { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

@media (max-width: 720px) {
  body { font-size: 1rem; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero { padding: 40px 0 44px; }
  .hero .sub { font-size: 1.05rem; margin-bottom: 22px; }
  .header, .header__inner { height: 56px; }
  .mobilemenu { inset: 56px 0 0 0; }
  .ctaband { padding: 36px 20px; border-radius: 12px; }
  .form-shell { padding: 20px 16px; }
  .choices .choice { font-size: .95rem; }
  .faq summary { padding: 16px 4px; font-size: 1rem; }
  .step { padding-left: 50px; }
  .step::before { width: 36px; height: 36px; }
  /* fullbredde-CTA i hero på kategorisider */
  .hero p > .btn--primary { width: 100%; }
  .hero p > .btn--link { display: block; margin: 12px 0 0 !important; }
}

@media (max-width: 480px) {
  .picker { padding: 14px 12px; }
  .picker__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .picker__tabs button { padding: 8px 16px; font-size: .95rem; }
  .card { padding: 14px 12px; }
  .card h3 { font-size: .95rem; }
  .card p { font-size: .85rem; }
  .trustline { gap: 10px 14px; font-size: .88rem; }
}

/* benefit-grid: 1 kolonne på mobil, 2 fra 600px */
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* 2-kolonners tabeller trenger ikke tvinge scroll på mobil */
@media (max-width: 640px) {
  .tablewrap table { min-width: 0; }
  .tablewrap th, .tablewrap td { padding: 12px 12px; font-size: .92rem; }
}

/* footer: 2 kolonner på mobil i stedet for 1 lang liste */
.footer { margin-top: 64px; padding: 48px 0 28px; }
.footer__grid { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }

/* scroll-lås når mobilmeny er åpen */
body.menu-open { overflow: hidden; }

/* FIX: hidden-attributt skal vinne over display:grid (fane-panelene i velgeren) */
.picker__grid[hidden] { display: none; }

/* ============================================================
   HEADER v2: Logg inn/Registrer på desktop, full meny i
   mobil/iPad-menyen (breakpoint 1024px — iPad = mobil-modus)
   ============================================================ */
.header__cta { margin-left: auto; display: flex; gap: 10px; }
.btn--hdr { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.mobilemenu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mobilemenu__auth .btn { width: 100%; }

/* nav-lenker finnes ikke lenger i header; meny-knappen tar over t.o.m. iPad */
@media (max-width: 1024px) {
  .header__cta { display: none; }
  .menu-btn { display: block; }
  .mobilemenu { inset: 64px 0 0 0; }
}
@media (min-width: 1025px) {
  .menu-btn { display: none; }
  .mobilemenu { display: none !important; }
}
@media (max-width: 720px) {
  .mobilemenu { inset: 56px 0 0 0; }
}

/* ============================================================
   MIDTSTILT LAYOUT v2.1 — hele nettstedet sentreres
   Overskrifter, ingresser og hero er tekst-sentrert; blokker
   (kort, lister, skjema, tabeller, FAQ) sentreres horisontalt,
   med lesbar venstrejustert tekst INNI blokkene.
   ============================================================ */

/* Hero */
.hero .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero .sub { margin-left: auto; margin-right: auto; }
.hero p { text-align: center; }
.picker { margin-left: auto; margin-right: auto; width: 100%; }
.picker__tabs { margin-left: auto; margin-right: auto; display: inline-flex; }
.trustline { justify-content: center; }

/* Seksjonsoverskrifter og ingresser */
.section h2 { text-align: center; }
.section .lede { text-align: center; margin-left: auto; margin-right: auto; }

/* Blokker sentreres horisontalt */
.steps, .grid-3, .grid-4, .cardgrid,
.checklist, .warnlist, .prose, .faq,
.tablewrap, .honest, .form-shell { margin-left: auto; margin-right: auto; }

.steps { max-width: 1100px; }
.tablewrap { max-width: 900px; }

/* Tekst inni blokker forblir venstrejustert for lesbarhet */
.card, .benefit, .step, .honest, .faq, .checklist, .warnlist,
.prose, .form-shell, .tablewrap { text-align: left; }

/* Kortgrids: kort-tekst sentrert i tjenestevelger og hub-kort */
.picker .card, .cardgrid .card { text-align: center; }
.cardgrid .card .card__icon { margin-left: auto; margin-right: auto; }

/* Fordeler/fallgruver-blokken sentreres */
.section .grid-3[style] { margin-left: auto !important; margin-right: auto !important; }

/* Brødsmulesti og badges i flyt */
.crumbs { text-align: center; }
.hero .badge-b2b { display: inline-block; margin-bottom: 8px; }

/* Relaterte tjenester + benefits: sentrert innhold i kortene */
.benefit { text-align: center; }
.benefit h3 { text-align: center; }

/* Footer: sentrer bunnlinjen */
.footer__bottom { justify-content: center; text-align: center; }

/* Takkesider og statiske sider */
main .hero--compact .container { align-items: center; }

/* ============================================================
   FORDELER/FALLGRUVER-BOKSER v2.2 — ryddige kort, alle sider
   ============================================================ */
.proscons {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  max-width: 960px; margin: 28px auto 0;
}
@media (min-width: 760px) { .proscons { grid-template-columns: 1fr 1fr; } }

.probox, .conbox {
  background: var(--ps-surface); border: 1px solid var(--ps-line);
  border-radius: var(--radius-card); padding: 24px;
  box-shadow: var(--shadow-card); text-align: left;
}
.probox { border-top: 3px solid var(--ps-accent); }
.conbox { border-top: 3px solid var(--ps-warn); }

.probox h3, .conbox h3 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; text-align: left; font-size: 1.1rem;
}
.pc-ikon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .9rem; font-weight: 700;
}
.pc-ok   { background: var(--ps-accent-soft); color: var(--ps-accent); }
.pc-warn { background: #FEF3C7; color: var(--ps-warn); }

/* listene inni boksene: rene rader med luft, uten dobbel-ikonstøy */
.probox .checklist li, .conbox .warnlist li {
  padding: 10px 0 10px 26px; border-bottom: 1px solid var(--ps-line);
  font-size: .97rem; line-height: 1.55;
}
.probox .checklist li:last-child, .conbox .warnlist li:last-child { border-bottom: none; padding-bottom: 2px; }
.probox .checklist li::before { color: var(--ps-accent); top: 10px; }
.conbox .warnlist li::before  { color: var(--ps-warn); top: 10px; }
.checklist li, .warnlist li { position: relative; }
.checklist li::before, .warnlist li::before { position: absolute; }

/* ============================================================
   TJENESTEVELGER v2.3 — «Se alle» som midtstilt lenke under grid
   ============================================================ */
.picker__panel[hidden] { display: none; }
.picker__more { text-align: center; margin-top: 16px; }
.picker__more a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ps-primary); font-weight: 600; font-size: .95rem;
  padding: 8px 16px; border-radius: 999px;
  transition: background .15s;
}
.picker__more a:hover { background: var(--ps-primary-soft); text-decoration: none; }

/* ============================================================
   TAKKESIDE v2.4 — suksess-ikon + konto-boks
   ============================================================ */
.takk-ikon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ps-accent-soft); color: var(--ps-accent);
  display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 700;
  margin: 0 auto 20px;
}
.konto-boks {
  background: var(--ps-primary-soft);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-card);
  padding: 26px 28px;
  max-width: 560px; margin: 28px auto 0;
  text-align: center;
}
.konto-boks h3 { margin-bottom: 10px; }
.konto-boks p { font-size: .97rem; color: var(--ps-ink); margin: 0 auto 18px; }

/* ============================================================
   LAYOUT v2.5 — steg-bokser, venstrejusterte innholdsseksjoner,
   FAQ-bokser, delt hero med skjema, ny logo
   ============================================================ */

/* Logo: blått ikon + pristjenesten.no */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ps-ink); }
.logo__icon { width: 26px; height: 26px; flex-shrink: 0; }

/* Steg 1-2-3-4: tall OVER teksten, i ryddige bokser */
.step {
  padding: 24px 20px; text-align: center;
  background: var(--ps-surface); border: 1px solid var(--ps-line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.step::before {
  position: static; display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 auto 14px;
  background: var(--ps-primary-soft); color: var(--ps-primary);
  font-size: 1.1rem;
}
.step h3 { text-align: center; margin-bottom: 6px; font-size: 1.05rem; }
.step p { text-align: center; margin: 0 auto; }

/* Innholdsseksjoner: tittel og ingress starter fra venstre,
   men hele blokken er midtstilt på siden */
.section--left h2, .section--left .lede {
  text-align: left; max-width: var(--text-col);
  margin-left: auto; margin-right: auto;
}
.section--left .lede { margin-bottom: 20px; }
.section--left .checklist, .section--left .prose { margin-left: auto; margin-right: auto; }

/* FAQ: hvert spørsmål i egen boks */
.faq details {
  background: var(--ps-surface); border: 1px solid var(--ps-line);
  border-radius: var(--radius); margin-bottom: 10px;
  box-shadow: var(--shadow-card); border-bottom: 1px solid var(--ps-line);
}
.faq summary { padding: 16px 18px; }
.faq .faq__a { padding: 0 18px 18px; }
.faq details[open] { border-color: #BFDBFE; }

/* Delt hero på tjenestesider: tekst venstre, skjema høyre */
.hero--split .container {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: start; text-align: left;
}
@media (min-width: 960px) {
  .hero--split .container { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
}
.hero--split .hero__left { display: block; text-align: left; }
.hero--split h1 { margin-left: 0; margin-right: 0; max-width: 20ch; }
.hero--split .sub { margin-left: 0; margin-right: 0; }
.hero--split .trustline { justify-content: flex-start; }
.hero--split .hero__right { width: 100%; }
.hero--split .form-shell { max-width: 100%; margin: 0; }

/* ============================================================
   HERO/BREADCRUMB v2.6 — maks to linjer, venstre på desktop,
   midtstilt på mobil/iPad med skjema under
   ============================================================ */
.crumbs { text-align: left; }

.hero--split h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 22ch; }
.hero--split .sub { max-width: 52ch; font-size: 1.08rem; }

/* Mobil + iPad (skjemaet stacker under teksten): midtstilt tekst */
@media (max-width: 959px) {
  .hero--split .hero__left { text-align: center; }
  .hero--split h1 { margin-left: auto; margin-right: auto; }
  .hero--split .sub { margin-left: auto; margin-right: auto; }
  .hero--split .trustline { justify-content: center; }
  .crumbs { text-align: left; } /* breadcrumb alltid helt til venstre */
}

/* FIX v2.7: undertittel og all tekst i delt hero skal starte fra venstre
   på desktop (.hero p-regelen fra midtstillingslaget overstyrte den) */
.hero--split .hero__left p,
.hero--split .hero__left .sub { text-align: left; }
@media (max-width: 959px) {
  .hero--split .hero__left p,
  .hero--split .hero__left .sub { text-align: center; }
}
