/* Efferias publika startsida (2026-11-03, omgjord 2026-11-11).
   Samma färger och typsnitt som appen. Ren CSS, inget skript. */
:root {
  color-scheme: dark;
  --bg: #05070A;
  --bg-2: #090C12;
  --surface: #0D1118;
  --border: rgba(255,255,255,0.09);
  --border-2: rgba(255,255,255,0.17);
  --text: #EEF1F6;
  --muted: #9AAAC6;
  --dim: #7887A2;
  --accent: #E8943F;
  --accent-hover: #F4A658;
  --accent-ink: #1B1206;
  --ok: #4ECDA0;
  --miss: #E55C5C;
  --r: 14px;
  --pad: 104px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[id] { scroll-margin-top: 92px; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h1, h2, h3, p { overflow-wrap: break-word; }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.14; letter-spacing: -0.022em; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(232,148,63,0.35); }
.wrap { max-width: 1208px; margin: 0 auto; padding: 0 24px; }

/* ---------- Sidhuvud: ligger kvar när man rullar ---------- */
.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border);
  background: rgba(5,7,10,0.8); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: block; padding: 3px 0; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 2px; font-size: 15px; }
.nav a { padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--muted);
  transition: color .15s, background-color .15s, border-color .15s; }
.nav a:hover { color: var(--text); }
.nav .sec:hover { background: rgba(255,255,255,0.05); }
.nav .lang { margin-left: 10px; }
.nav .login { margin-left: 6px; padding: 8px 16px; color: var(--text); border: 1px solid var(--border-2); }
.nav .login:hover { border-color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.05); }
.nav .btn-primary, .nav .btn-primary:hover { margin-left: 10px; padding: 9px 16px; font-size: 15px; font-weight: 600;
  color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28); }

/* ---------- Knappar: koppar bara på det man ska klicka på ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 10px;
  border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.25;
  transition: background-color .15s, border-color .15s, transform .15s; }
/* Finns ingen kontaktknapp är "Se hur det fungerar" sidans huvudknapp. */
.btn-primary, .cta .btn-ghost:only-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 10px 28px -10px rgba(232,148,63,0.65); }
.btn-primary:hover, .cta .btn-ghost:only-child:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-2); background: rgba(255,255,255,0.03); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.06); }
/* Pil nedåt på knappar som hoppar till ett avsnitt längre ner. */
.btn[href^="#"]::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hjälten ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 104px; }
/* Rutnät som tonar ut, och en kopparglöd bakom exemplet. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 72% 22%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 75% 75% at 72% 22%, #000 0%, transparent 76%); }
.hero::after { content: ""; position: absolute; z-index: -1; right: -12%; top: -32%; width: 72%; height: 125%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232,148,63,0.16), rgba(232,148,63,0) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-copy { container-type: inline-size; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--accent); font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; }
.kicker::before { content: ""; flex: none; width: 24px; height: 1px; background: currentColor; }
/* Rubriken följer spaltens bredd så att sidans längsta ord får plats på en rad. */
h1 { margin: 0 0 24px; line-height: 1.05; letter-spacing: -0.03em;
  font-size: clamp(28px, 4.4vw, 46px); font-size: clamp(27px, 8.7cqi, 54px); }
h1 span { display: block; color: var(--muted); }
/* Rubrikens långa ord delas bara på riktigt smala telefoner; annars fyller
   webbläsaren första raden med "kapacitets-" och rubriken blir en rad längre. */
h1 { hyphens: none; }
.nav a { white-space: nowrap; }
@media (max-width: 360px) {
  h1 { hyphens: manual; }
  .brand img { height: 26px; }
  .nav a { padding: 8px 8px; }
  .nav .login { margin-left: 2px; padding: 7px 12px; }
}
.lead { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 32px; max-width: 34em; text-wrap: pretty; }
/* Efter .lead: centreringen ska vinna över ingressens marginaler. */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.hero-note { display: flex; align-items: flex-start; gap: 12px; margin: 36px 0 0; padding-top: 24px; max-width: 36em;
  border-top: 1px solid var(--border); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.hero-note .tag { flex: none; margin-top: 1px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--accent);
  background: rgba(232,148,63,0.12); border: 1px solid rgba(232,148,63,0.35); border-radius: 999px; padding: 3px 10px; }

/* Exemplet: ledig kapacitet per station, staplar mot förfrågans linje (--req). */
.sample { position: relative; margin: 0; padding: 24px; overflow-x: auto; border-radius: 16px; border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(155deg, rgba(232,148,63,0.55), rgba(255,255,255,0.1) 38%, rgba(255,255,255,0.06)) border-box;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9), 0 0 80px -20px rgba(232,148,63,0.2); }
.sample::before { content: attr(aria-label); display: block; margin-bottom: 14px; font: 600 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sample figcaption { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 18px; }
.cap-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.cap { list-style: none; margin: 0; padding: 0; }
.cap li { padding: 12px 0 14px; border-top: 1px solid var(--border); }
.cap-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 14px; margin-bottom: 9px; }
.cap-row b { font-weight: 700; margin-right: 4px; }
.cap-row span:last-child { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; }
.st { font-style: normal; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 12px; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.st::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.st.ok::before { background: var(--ok); }
.st.miss::before { background: var(--miss); }
.cap-track { position: relative; height: 14px; }
.cap-track::before { content: ""; position: absolute; inset: 6px 0; background: rgba(255,255,255,0.06); border-radius: 2px; }
.cap-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: #4A5D7E; border-radius: 0 4px 4px 0; transform-origin: left center; }
.cap li.best .cap-track i { background: var(--accent); }
.cap-track s { position: absolute; top: 0; bottom: 0; left: calc(var(--v, 22.1%) + 2px); width: calc(var(--req) - 22.1% - 2px);
  border: 1.5px dashed var(--miss); border-left: 0; border-radius: 0 4px 4px 0;
  background: repeating-linear-gradient(135deg, rgba(229,92,92,0.28) 0 3px, transparent 3px 7px); }
.cap-track::after { content: ""; position: absolute; left: var(--req); top: -6px; bottom: -12px; border-left: 1.5px dashed var(--text); opacity: .7; }
.cap-req { position: relative; height: 20px; margin: 0; font-size: 12px; color: var(--text); }
.cap-req span { position: absolute; left: 35.7%; top: 2px; transform: translateX(-50%); white-space: nowrap; }
.sample .note { margin: 18px 0 10px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5;
  background: rgba(232,148,63,0.08); border: 1px solid rgba(232,148,63,0.24); }
.sample .fine { margin: 0; font-size: 12px; color: var(--dim); }
@media (prefers-reduced-motion: no-preference) {
  .cap-track i { animation: cap-grow .9s cubic-bezier(.2,.7,.2,1) .15s both; }
  .cap li:nth-child(2) .cap-track i { animation-delay: .27s; }
  .cap li:nth-child(3) .cap-track i { animation-delay: .39s; }
  .cap-track s { animation: cap-fade .4s 1.2s both; }
  @keyframes cap-grow { from { transform: scaleX(0); } }
  @keyframes cap-fade { from { opacity: 0; } }
}

/* ---------- Avsnitt ---------- */
.problem, .shot, .sim, .flexsec, .features, .flow, .trust, .start { padding: var(--pad) 0; border-top: 1px solid var(--border); }
.shot, .flexsec, .flow, .start { background: var(--bg-2); }
/* Rubrik till vänster, ingress till höger: bryter raden av centrerade stycken. */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: start; margin-bottom: 56px; }
.sec-head .lead { margin: 0; padding-top: 6px; max-width: none; font-size: 17px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.grid4 p { font-size: 15.5px; }

/* Ställningstagandet: sidans enda centrerade stycke. */
.stance, .closing { position: relative; isolation: isolate; overflow: hidden; padding: 100px 0; border-top: 1px solid var(--border); }
.stance::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(52% 85% at 50% 0%, rgba(232,148,63,0.14), transparent 72%); }
.stance::after { content: ""; position: absolute; top: 0; left: 50%; width: min(560px, 70%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .75; }
.stance h2, .closing h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.028em; max-width: 20em; margin-bottom: 22px; }
.stance .lead { max-width: 40em; margin-bottom: 0; }

.points > div { position: relative; padding-top: 24px; border-top: 1px solid var(--border-2); }
.points > div::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.points h3 { margin-bottom: 8px; }
.points p { margin: 0; color: var(--muted); }

/* Skärmbilderna i en ram. */
.shot figure { margin: 0; }
.shot figure > a { display: block; overflow: hidden; border-radius: 16px; border: 1px solid var(--border-2);
  box-shadow: 0 50px 100px -40px #000; transition: border-color .2s; }
.shot figure > a:hover { border-color: rgba(255,255,255,0.34); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* Simulering: fyra anläggningstyper med ett typdygn var. */
.chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.chips li { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 14px;
  padding: 24px 22px 20px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.chips li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--c, var(--accent)); }
.chips li::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--c) 13%, transparent), transparent 70%); }
.chips .sol  { --c: #F4C542; }
.chips .vind { --c: #5EB3E0; }
.chips .bat  { --c: #4ECDA0; }
.chips .last { --c: #E8943F; }
.chips .ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: color-mix(in srgb, var(--c) 13%, transparent);
  fill: none; stroke: var(--c, var(--accent)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip-name { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.chips .spark { grid-column: 1 / -1; width: 100%; height: 64px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .sp-area { fill: var(--c); opacity: .16; stroke: none; }
.spark .sp-mid { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: .6; vector-effect: non-scaling-stroke; }
.chips small { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.4; }
.sim-note { margin: 18px 0 0; font-size: 13px; color: var(--dim); }

/* Flexbehov: varaktighetskurva med kapacitetsgräns. */
.fc { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px 32px 22px; }
.fc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; align-items: center; }
.fc-plot { position: relative; height: 280px; margin: 10px 0 0 48px; }
.fc-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fc-gridline { stroke: rgba(255,255,255,0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fc-axis { stroke: rgba(255,255,255,0.25); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fc-area { fill: rgba(146,165,196,0.14); }
.fc-ex { fill: var(--accent); opacity: .85; }
.fc-line { fill: none; stroke: #C9D4E6; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fc-lim { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.fc-y { position: absolute; right: calc(100% + 10px); bottom: var(--y); transform: translateY(50%); font-size: 12px; color: var(--muted); white-space: nowrap; font-family: 'JetBrains Mono', monospace; }
.fc-limtag { position: absolute; right: 0; bottom: calc(80% + 6px); font-size: 13px; color: var(--text); background: var(--surface); padding: 0 4px; }
.fc-extag { position: absolute; left: calc(5.4% + 12px); bottom: calc(80% + 16px); font-size: 13px; font-weight: 600; color: var(--text); }
.fc-extag::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); margin-right: 6px; vertical-align: -1px; }
.fc-x { position: relative; height: 22px; margin-left: 48px; font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.fc-x span { position: absolute; left: var(--x); top: 6px; transform: translateX(-50%); white-space: nowrap; }
.fc-x span:first-child { transform: none; }
.fc-x span:last-child { transform: translateX(-100%); }
.fc-xlabel { margin: 6px 0 0 48px; font-size: 12px; color: var(--muted); }
.fc-stats { margin: 0; display: grid; gap: 22px; }
.fc-stats div { display: flex; flex-direction: column; border-left: 2px solid var(--accent); padding-left: 16px; }
.fc-stats dd { order: -1; margin: 0; font-size: 32px; font-weight: 600; line-height: 1.15; font-family: 'JetBrains Mono', monospace; letter-spacing: -0.03em; }
.fc-stats dt { margin-top: 2px; font-size: 13px; color: var(--muted); }
.fc figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--dim); }

/* Det här ingår. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.features article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 26px; }
.features article.req { border-color: rgba(232,148,63,0.34);
  background: linear-gradient(180deg, rgba(232,148,63,0.09), rgba(232,148,63,0) 62%), var(--surface); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-top svg { width: 44px; height: 44px; padding: 10px; border-radius: 11px; background: rgba(232,148,63,0.1); border: 1px solid rgba(232,148,63,0.22);
  fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { margin-bottom: 8px; }
.features article p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Från förfrågan till svar. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r); padding: 26px; }
/* Pil mellan stegen: åt höger på bred skärm, nedåt på smal. */
.steps li + li::before { content: ""; position: absolute; left: -20px; top: 50%; width: 10px; height: 10px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.steps li > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--accent);
  background: rgba(232,148,63,0.12); border: 1px solid rgba(232,148,63,0.4); font: 600 14px/1 'JetBrains Mono', monospace; }
.steps h3 { margin: 18px 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.vis { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.vis span { font-size: 12px; font-weight: 600; color: var(--text); }
.vis-files span, .vis-calc span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.vis-files svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linejoin: round; }
.vis-calc span::before { content: ""; width: 7px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translateY(-2px); }
.doc { position: relative; width: 58px; height: 72px; border-radius: 4px; background: #E8ECF3; padding: 9px 8px; display: flex; flex-direction: column; gap: 5px; }
.doc b { display: block; height: 5px; width: 70%; background: var(--accent); border-radius: 1px; }
.doc i { display: block; height: 3px; background: #9AA6BA; border-radius: 1px; }
.doc i.sh { width: 60%; }
.doc u { display: block; height: 6px; border: 1px solid #9AA6BA; border-radius: 1px; }
.badge { padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(232,148,63,0.35); background: rgba(232,148,63,0.12); color: var(--accent) !important; letter-spacing: .04em; }

/* Bra att veta. */
.trust h2 { margin-bottom: 48px; }
.trust .grid3 { gap: 40px 48px; }
.trust strong { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.trust svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Avslutet: visas bara när sidan har en kontaktadress. */
.closing::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(52% 85% at 50% 100%, rgba(232,148,63,0.16), transparent 72%); }
.closing .lead { max-width: 36em; margin-bottom: 32px; }
.closing .cta { justify-content: center; }

.foot { border-top: 1px solid var(--border); padding: 26px 0; color: var(--dim); font-size: 14px; }
.foot-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.foot .brand img { height: 26px; }
.foot-copy { margin-right: auto; }
.foot-nav { display: flex; gap: 2px; margin-right: -10px; }
.foot-nav a { padding: 10px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); transition: color .15s; }
.foot-nav a:hover { color: var(--text); }

/* ---------- Smalare skärmar ---------- */
@media (max-width: 1000px) {
  :root { --pad: 84px; }
  .nav .sec { display: none; }
  .hero-grid { gap: 44px; }
  .cards, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --pad: 68px; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .sec-head, .steps { grid-template-columns: minmax(0, 1fr); }
  .sec-head { gap: 14px; margin-bottom: 36px; }
  .sec-head .lead { padding-top: 0; }
  .stance, .closing { padding: 76px 0; }
  .points { gap: 28px; }
  .steps li + li::before { left: 50%; top: -20px; transform: translateX(-50%) rotate(135deg); }
  .fc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fc-plot { height: 220px; }
  .fc { padding: 22px 18px 16px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .top-row { min-height: 60px; }
  .brand img { height: 30px; }
  .nav .btn-primary { display: none; }
  .nav .lang { margin-left: 0; }
  .center { text-align: left; margin-left: 0; margin-right: 0; }
  .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 100%; }
  .hero-note { flex-direction: column; gap: 10px; }
  .cards, .points, .trust .grid3 { grid-template-columns: minmax(0, 1fr); }
  .trust .grid3 { gap: 28px; }
  .trust h2 { margin-bottom: 32px; }
  .features article, .steps li { padding: 22px; }
  .chips { gap: 12px; }
  .chips li { padding: 18px 16px 16px; gap: 14px 10px; }
  .chips .ico { width: 34px; height: 34px; padding: 7px; }
  .chip-name { font-size: 15px; }
  .chips .spark { height: 48px; }
  .fc-x span:nth-child(2), .fc-x span:nth-child(4) { display: none; }
  .fc-limtag { bottom: auto; top: calc(20% + 6px); }
  .fc-stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fc-stats dd { font-size: 28px; }
  .foot-nav { flex-basis: 100%; margin: 0 0 0 -10px; }
}

/* ---------- Låga skärmar: bärbara datorer och 125-150 % skalning ----------
   Mätt mot prod 2026-11-11: på innerhöjd 650-730 px klipptes Krav-raden i
   hjälten, och 104 px luft per avsnitt gav en rubrik och ett stycke per skärm. */
@media (min-width: 821px) and (max-height: 800px) {
  :root { --pad: 68px; }
  .hero { padding: 48px 0 60px; }
  .kicker { margin-bottom: 16px; }
  h1 { margin-bottom: 20px; }
  .hero .lead { margin-bottom: 26px; }
  .hero-note { margin-top: 26px; padding-top: 18px; }
  .stance, .closing { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
}
@media (min-width: 821px) and (max-height: 690px) {
  .hero { padding: 30px 0 48px; }
  h1 { font-size: clamp(27px, 7.8cqi, 46px); }
  .hero .lead { margin-bottom: 22px; }
  .hero-note { margin-top: 22px; padding-top: 16px; }
  .sample { padding: 20px; }
  .cap li { padding: 9px 0 11px; }
}
@media (min-width: 821px) and (max-height: 620px) {
  .hero { padding: 20px 0 40px; }
  .kicker { margin-bottom: 12px; }
  h1 { font-size: clamp(27px, 7.2cqi, 42px); }
  .hero-note { margin-top: 16px; padding-top: 12px; }
  .sample .note { margin: 12px 0 8px; }
}

/* ---------- Utskrift: mörk text på vitt papper ---------- */
@media print {
  :root { color-scheme: light; --bg: #fff; --bg-2: #fff; --surface: #fff; --border: #c9ced6; --border-2: #aab1bd;
    --text: #111; --muted: #2f3640; --dim: #555d69; --accent: #B5651D; --accent-ink: #fff; --pad: 26px; }
  html, body { background: #fff; }
  .top { position: static; background: none; }
  .nav, .cta, .closing, .foot-nav, .hero::before, .hero::after, .stance::before, .stance::after, .chips li::after { display: none; }
  .brand img { filter: invert(1) hue-rotate(180deg); }
  .hero { padding: 20px 0 24px; overflow: visible; }
  .stance { padding: 26px 0; overflow: visible; }
  /* Papperet är smalt som en surfplatta: behåll datorns spalter med mindre text, annars blir det nio glesa sidor. */
  body { font-size: 13px; }
  h1 { font-size: 32px; margin-bottom: 14px; }
  h2, .stance h2 { font-size: 21px; margin-bottom: 10px; }
  h3 { font-size: 14.5px; }
  .lead, .sec-head .lead { font-size: 13.5px; margin-bottom: 0; padding-top: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .hero-note { margin-top: 18px; padding-top: 14px; font-size: 12px; }
  .sample { padding: 16px; }
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; margin-bottom: 18px; }
  .points, .steps, .cards, .trust .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .chips, .points { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .features article, .steps li, .chips li { padding: 14px; }
  .features article p, .steps p, .trust p, .points p { font-size: 12px; }
  .card-top { margin-bottom: 12px; }
  .chips .spark { height: 44px; }
  .chips li { gap: 12px 8px; }
  .chips .ico { width: 28px; height: 28px; padding: 5px; }
  .chip-name { font-size: 13px; }
  .fc { padding: 18px; }
  .fc-grid { grid-template-columns: minmax(0, 1fr) 170px; gap: 24px; }
  .fc-plot { height: 190px; }
  .fc-stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fc-stats dd { font-size: 22px; }
  .steps li + li::before { left: -13px; top: 50%; width: 7px; height: 7px; transform: translateY(-50%) rotate(45deg); }
  .trust h2 { margin-bottom: 18px; }
  .foot { padding: 14px 0; }
  .sample, .fc, .chips li, .features article, .features article.req, .steps li { background: none; box-shadow: none; border-color: var(--border-2); }
  .shot figure > a { box-shadow: none; }
  .sample, .fc, .chips li, .features article, .steps li, .shot figure, .points > div, .trust .grid3 > div { break-inside: avoid; }
  h2, h3, .sec-head { break-after: avoid; }
  /* Rubrik och innehåll hålls ihop: ett avsnitt som inte får plats börjar på nästa sida. */
  main > section, .sec-head { break-inside: avoid; }
  .fc-line { stroke: #2f3640; }
  .fc-gridline { stroke: #dfe3e8; }
  .fc-axis { stroke: #8a92a0; }
  .fc-limtag { background: #fff; }
  .cap-track i, .cap-track s, .st::before, .doc, .doc b, .doc i, .tag, .badge, .steps li > span, .fc-extag::before,
  .chips li::before, .points > div::before, .sample .note { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cap-track i { animation: none; }
}
