/* ==========================================================================
   VarmepumpsKoll designsystem.
   En familj (Hanken Grotesk), hierarki genom vikt och struktur. Auktoritet
   genom harlinjer, data och arliga intervall. Inga gradienter, inga piller,
   ingen kortsoppa.
   ========================================================================== */

:root {
  /* Farg */
  --ink: #20242c;          /* text, primar CTA, auktoritet */
  --paper: #f6f2ea;        /* baskanvas */
  --surface: #fdfcf8;      /* kort, paneler, inputs */
  --surface-2: #f0ead9;    /* auktoritetsrad, hover, scenariodata */
  --clay: #bf6b4a;         /* varumarkesaccent, aktiv fas. ALDRIG CTA */
  --blue: #2a5578;         /* lankar, sekundar handling */
  --blue-dark: #1e405c;
  --green: #2e6b4f;        /* besparing, bra match, rimligt */
  --amber: #8a6a2f;        /* utgangen, oklart, osakerhet */
  --red: #9c3d2a;          /* fel och verklig mismatch */

  --rule: #ddd3c2;
  --rule-strong: #c9bfab;
  --rule-weak: #ede6d6;

  --text: #454943;
  --text-2: #54524a;
  --muted: #6f6553;
  --muted-2: #8a7f6a;
  --dim: #b3ac9c;

  --amber-bc: #cdb27a;
  --amber-bg: #f5eed8;
  --amber-fg: #6f5a26;
  --blue-bc: #9fb8cd;

  /* Mat */
  --page: 1160px;
  --page-narrow: 880px;
  --page-form: 680px;
  --gut: clamp(16px, 4vw, 36px);
  --r: 8px;
  --r-lg: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

img, svg { max-width: 100%; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  font-weight: 700; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; text-decoration: none; color: var(--paper); }

/* ------------------------------------------------------------- typografi -- */

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 800; }

.t-page   { font-size: clamp(30px, 5.2vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; text-wrap: pretty; }
.t-page-s { font-size: clamp(28px, 4.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: pretty; }
.t-sect   { font-size: clamp(21px, 2.6vw, 24px); font-weight: 800; letter-spacing: -0.02em; }
.t-sub    { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.t-lead   { font-size: 16.5px; line-height: 1.65; color: var(--text-2); max-width: 64ch; }
.t-lead-l { font-size: 17.5px; line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.t-body   { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.t-small  { font-size: 13px; line-height: 1.6; color: var(--muted); }
.t-fine   { font-size: 13px; line-height: 1.55; color: var(--muted-2); }

.t-data   { font-weight: 800; font-variant-numeric: tabular-nums; }
.t-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted-2);
}
.t-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #6b6350;
}

.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- layout -- */

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.wrap-narrow { max-width: var(--page-narrow); }
.wrap-form { max-width: var(--page-form); }

main { flex: 1; }
.page { padding-top: 34px; padding-bottom: 100px; }
.page-tall { padding-top: 54px; padding-bottom: 110px; }

.stack > * + * { margin-top: 40px; }
.stack-s > * + * { margin-top: 20px; }

.section { margin-top: 44px; }
.section-rule { margin-top: 44px; border-top: 1px solid var(--rule-strong); padding-top: 26px; }
.rule-ink { border-top: 1px solid var(--ink); padding-top: 24px; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.cols-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- header -- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--ink); }
.site-header .wrap { min-height: 66px; display: flex; align-items: center; gap: 38px; }

.brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 21px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink);
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand .dot { color: var(--clay); }

.site-nav { display: flex; gap: 26px; flex: 1; }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current] { font-weight: 700; color: var(--ink); }

.header-util { font-size: 14px; font-weight: 500; color: var(--muted); }
.header-util:hover { color: var(--ink); text-decoration: none; }

.nav-toggle { display: none; }

.authbar { border-bottom: 1px solid var(--rule); background: var(--surface-2); }
.authbar .wrap { padding-top: 9px; padding-bottom: 9px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.authbar span { font-size: 12.5px; color: #6b6350; }
.authbar .lead-txt { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 900px) {
  .site-header .wrap { gap: 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .header-util { display: none; }
  .site-nav {
    order: 3; flex-basis: 100%; gap: 18px; padding-top: 10px; padding-bottom: 2px;
    border-top: 1px solid var(--rule-weak);
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Helbredd, sa att sista posten kan rullas fram i stallet for att kapas. */
    margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1);
    padding-left: var(--gut); padding-right: var(--gut);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav::after { content: ''; flex: 0 0 var(--gut); }
  .site-nav a { white-space: nowrap; }
}

/* ---------------------------------------------------------------- footer -- */

.site-footer { border-top: 1px solid var(--rule); background: var(--surface); }
.site-footer .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand { font-size: 15px; color: var(--text); }
.site-footer .brand:hover { color: var(--text); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 12.5px; color: var(--muted-2); }
.footer-links a:hover { color: var(--ink); text-decoration: none; }

/* ----------------------------------------------------------- brodsmulor -- */

.crumbs { font-size: 12.5px; color: var(--muted-2); margin-bottom: 34px; }
.crumbs a { color: var(--muted-2); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- knappar - */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; cursor: pointer; border-radius: 6px;
  text-align: center; min-height: 44px;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--ink); color: var(--paper); border: none;
  padding: 14px 26px; font-size: 15px; font-weight: 800;
}
.btn-primary:hover { background: var(--blue); color: var(--paper); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 40px; font-weight: 700; }

.btn-secondary {
  background: transparent; border: 1px solid var(--ink);
  padding: 13px 22px; font-size: 14px; font-weight: 700; color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-invert { background: var(--paper); color: var(--ink); border: none; padding: 14px 24px; font-size: 15px; font-weight: 800; }
.btn-invert:hover { background: #e8e0cf; color: var(--ink); }

.btn-link {
  background: none; border: none; padding: 0; min-height: 0;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--blue); cursor: pointer;
}
.btn-link:hover { color: var(--blue-dark); }

.btn-quiet {
  background: none; border: none; padding: 0; min-height: 0;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.btn-quiet:hover { color: var(--ink); }

.btn-block { width: 100%; }

.chip {
  padding: 12px 18px; border-radius: 6px; font-family: inherit; min-height: 44px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--rule-strong); background: var(--surface); color: var(--text);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------- ytor ----- */

.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px 28px; }
.panel-flush { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 0 28px; }
.panel-ink { background: var(--ink); border-radius: var(--r-lg); padding: 26px 30px; color: var(--paper); }
.panel-ink p { color: var(--dim); }
.panel-ink.row-between > div:first-child { flex: 1 1 300px; min-width: 0; }
.panel-outline { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 24px 26px; }

.note-clay { border-left: 2px solid var(--clay); padding-left: 16px; }

.notice {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 20px; border: 1px solid var(--amber-bc); border-radius: var(--r);
  background: var(--amber-bg); color: var(--amber-fg); flex-wrap: wrap;
}
.notice p { margin: 0; font-size: 14px; line-height: 1.5; }
.notice .btn { border-color: #c2ae76; color: var(--amber-fg); background: none; }
.notice .btn:hover { background: #efe5c6; color: var(--amber-fg); }

/* --------------------------------------------------------------- status --- */

.badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 5px; white-space: nowrap;
}
.badge-legacy { border: 1px solid var(--amber-bc); color: var(--amber); }
.badge-current { border: 1px solid var(--blue-bc); color: var(--blue); }
.badge-unknown { border: 1px solid var(--rule-strong); color: var(--muted-2); }

.fit { font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.fit-best { color: var(--green); }
.fit-good { color: var(--blue); }
.fit-maybe { color: var(--muted-2); }

.conf { font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
.save { color: var(--green); }
.err { color: var(--red); font-weight: 600; font-size: 14px; }

/* ------------------------------------------------------------ datarader -- */

.dl { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.dl .dl-row {
  display: flex; justify-content: space-between; gap: 14px;
  border-bottom: 1px solid var(--rule-weak); padding-bottom: 9px;
}
.dl dt, .dl .dl-k { font-size: 13.5px; color: var(--muted); margin: 0; }
.dl dd, .dl .dl-v { font-size: 13.5px; font-weight: 700; text-align: right; margin: 0; font-variant-numeric: tabular-nums; }
.dl .is-empty { color: var(--dim); font-weight: 400; }

/* Fyra nyckeltal pa en rad. auto-fit gav tre kolumner sa fort ett
   prisintervall blev brett, och da hamnade "Kostnad 15 ar" pa egen rad under
   de tre andra, vilket laser som en eftertanke i stallet for som en av fyra. */
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: 18px 0; border-top: 1px solid var(--rule-weak); border-bottom: 1px solid var(--rule-weak); }
/* Forsta talet ar ett prisintervall och alltid det bredaste. Far alla fyra
   lika stor andel bryts det pa mitten medan de tre andra star med luft kvar. */
@media (min-width: 760px) { .metrics { grid-template-columns: 1.35fr 1fr 1fr 1fr; } }
.metric-v { font-size: 15.5px; font-weight: 800; font-variant-numeric: tabular-nums; }

.metric-k { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }

/* -------------------------------------------------------------- tabeller -- */

.table-wrap { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 13px 22px; }
table.data thead th { border-bottom: 1px solid var(--ink); font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; text-align: right; }
table.data thead th:first-child { text-align: left; }
table.data tbody th { text-align: left; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--rule-weak); }
table.data tbody td { text-align: right; border-bottom: 1px solid var(--rule-weak); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: none; }
table.data tr.total td { font-weight: 800; }
table.data td.save { color: var(--green); }

table.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
table.spec th { text-align: left; padding: 11px 20px; border-bottom: 1px solid var(--rule-weak); font-weight: 600; color: var(--muted); width: 50%; }
table.spec td { padding: 11px 20px; border-bottom: 1px solid var(--rule-weak); font-weight: 700; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }

/* ------------------------------------------------------------- entiteter -- */

.entity-list { border-top: 1px solid var(--ink); }
.entity {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px 4px; background: transparent; border: none;
  border-bottom: 1px solid var(--rule); cursor: pointer; text-align: left;
  font-family: inherit; color: var(--ink); min-height: 52px;
}
.entity:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.entity-name { font-size: 15px; font-weight: 700; }
.entity-meta { font-size: 13.5px; color: var(--muted); }
.entity-go { font-size: 13.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }

.rows { }
.rows .row-item {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; flex-wrap: wrap; border-top: 1px solid var(--rule-weak);
}
.rows .row-item:first-child { border-top: none; }
.rows .row-main { flex: 1 1 240px; min-width: 0; }
.rows .row-title { font-size: 16px; font-weight: 800; }
.rows .row-sub { font-size: 13.5px; color: var(--muted); }
.rows .row-val { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ formular ---- */

.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text); }
.field input, .field textarea, .field select, .input {
  box-sizing: border-box; padding: 13px 15px; font-size: 15px;
  border: 1px solid var(--rule-strong); border-radius: var(--r);
  background: var(--surface); color: var(--ink); font-weight: 400; font-family: inherit;
  min-height: 44px;
}
.input-lg { padding: 16px 18px; font-size: 18px; border-color: var(--ink); }
.input-w-sm { width: 180px; max-width: 100%; }
.input-w-md { width: 200px; max-width: 100%; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

.searchbar {
  background: var(--surface); border: 1px solid var(--ink); border-radius: var(--r);
  padding: 4px 4px 4px 20px; display: flex; align-items: center; gap: 14px;
}
.searchbar input { flex: 1; border: none; background: transparent; padding: 15px 0; font-size: 17px; font-family: inherit; color: var(--ink); min-width: 0; }
.searchbar input:focus { outline: none; }
.searchbar .btn { border-radius: 6px; padding: 13px 22px; font-size: 15px; font-weight: 700; }

.combo { position: relative; max-width: 600px; z-index: 30; }
.combo-list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 14px 36px rgba(32, 36, 44, 0.16); overflow: hidden; max-height: 60vh; overflow-y: auto;
}
.combo-head { padding: 9px 18px; background: var(--surface-2); font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #6b6350; }
.combo-list .entity { padding: 13px 18px; border-bottom: 1px solid var(--rule-weak); background: var(--surface); }
.combo-list .entity[aria-selected="true"] { background: var(--surface-2); }

.checkline { display: flex; align-items: flex-start; gap: 12px; background: none; border: none; padding: 0; cursor: pointer; text-align: left; font-family: inherit; }
.checkbox {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; border: 1.5px solid var(--rule-strong);
  background: var(--surface); color: var(--paper);
}
.checkline[aria-pressed="true"] .checkbox { border-color: var(--ink); background: var(--ink); }
.checkline span:last-child { font-size: 13.5px; line-height: 1.55; color: var(--text); }

/* -------------------------------------------------------------- funnel ---- */

.phases { display: flex; align-items: baseline; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.phase { font-size: 13px; font-weight: 500; color: #9a917c; display: flex; align-items: baseline; gap: 20px; }
.phase .n { margin-right: 6px; color: #9a917c; }
.phase.is-done { color: var(--ink); }
.phase.is-done .n { color: var(--ink); }
.phase.is-current { font-weight: 800; color: var(--ink); }
.phase.is-current .n { color: var(--clay); }
.phase .tick { display: inline-block; width: 24px; height: 1px; background: var(--rule-strong); vertical-align: middle; }

.funnel { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; align-items: start; }
.funnel.is-single { grid-template-columns: minmax(0, 600px); justify-content: start; }
.funnel-main { padding-right: 56px; }
.funnel.is-single .funnel-main { padding-right: 0; }
.funnel-aside { border-left: 1px solid var(--rule-strong); padding-left: 40px; }

.result { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.result-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 1000px) {
  .funnel, .funnel.is-single, .result { grid-template-columns: minmax(0, 1fr); }
  .funnel-main { padding-right: 0; }
  .funnel-aside { display: none; }
  .result-aside { position: static; }
}

.step-hint { margin: 30px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 48ch; border-left: 2px solid var(--clay); padding-left: 14px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(253, 252, 248, 0.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--ink);
}
.sticky-cta .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sticky-cta span { font-size: 14px; font-weight: 700; color: var(--text); }

/* ------------------------------------------------------------ pathways ---- */

.pathway { padding: 32px 0; border-top: 1px solid var(--rule); }
.pathway:first-child { border-top: none; }
.pathway-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; flex-wrap: wrap; }
.pathway-model { font-size: 16px; margin-bottom: 20px; }
.pathway details { margin-top: 20px; }
.pathway details > summary {
  cursor: pointer; font-size: 14px; font-weight: 700; color: var(--blue);
  list-style: none; display: inline-flex; align-items: center; gap: 6px;
}
.pathway details > summary::-webkit-details-marker { display: none; }
.pathway details > summary::after { content: '▾'; }
.pathway details[open] > summary::after { content: '▴'; }
.pathway details > div { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule-weak); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.pathway ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.pathway li { font-size: 14px; line-height: 1.55; color: var(--text); }

/* ----------------------------------------------------------- kalkylator -- */

.calc { border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); padding: 26px 28px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-items: end; }
.calc-out { margin-top: 20px; border-top: 1px solid var(--rule-weak); padding-top: 18px; }
.calc-headline { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ------------------------------------------------------------- utility ---- */

.hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 44px; }
.max-60 { max-width: 60ch; }
.max-64 { max-width: 64ch; }
.max-52 { max-width: 52ch; }
p { margin: 0; }
p + p { margin-top: 12px; }

.spinner {
  width: 16px; height: 16px; border: 2px solid var(--rule-strong);
  border-top-color: var(--ink); border-radius: 50%; display: inline-block;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }


/* ------------------------------------------------------------- startsida -- */
/* Hjaltraden ar en tvaspalt dar VANSTER kolumn bar bade rubrik och
   intentionsvalen. Med rubriken ensam till vanster uppstod ett stort tomrum
   under den, och tomma ytor ar precis vad den har designriktningen inte ska
   ha. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.hero-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 12px;
  padding: 22px 24px; box-shadow: 0 10px 30px rgba(32, 36, 44, 0.07);
  position: sticky; top: 24px;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-card { position: static; width: 100%; order: -1; }
}
