/* Frödin & Company Tech
   Samma uppbyggnad som frodincompany.se: sticky header, hero med "Så går det till"-kort,
   sektioner i rubrik | innehåll-rutnät, offertformulär + sticky sammanfattning.
   Blå grundton; en ljusare "signalblå" är ämnesaccenten (raden av portar överst på korten).
   Sajten är alltid ljus, oavsett om besökarens dator är inställd på mörkt läge. */
/* Typsnitt från egen server (SIL Open Font License, se /fonts/OFL-*.txt) */
@font-face { font-family: "Familjen Grotesk"; src: url("../fonts/familjen-grotesk.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3.woff") format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-amp.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #F2F4F8;
  --surface: #FBFCFE;
  --ink: #111B2B;
  --muted: #536077;
  --line: #D2D9E4;
  --accent: #1C4F8F;
  --accent-hover: #153E72;
  --accent-ink: #FFFFFF;
  --accent-soft: #DCE7F5;
  --signal: #2E9BD6;
  --signal-soft: #DDEFFA;
  --signal-ink: #0E4A6E;
  --band: #0F1A2B;
  --band-ink: #E6ECF4;
  --band-muted: #A3B1C6;
  --danger: #A33A2C;
  color-scheme: light;

  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 4.2vw, 2.9rem);
  --step-4: clamp(2.4rem, 5.8vw, 4.4rem);

  --wrap: 72rem;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; }
.skip:focus { left: 0; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 93%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 1.25rem; padding-block: .8rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; margin-right: auto; }
/* Logotyp: FRÖDIN & COMPANY på en rad (Jost 500 + &-tecken i DM Serif Display) */
.brand b { display: flex; align-items: baseline; gap: .4em; font-family: "Jost", var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: .16em; margin-right: -.16em; color: var(--ink); white-space: nowrap; }
.brand b .amp { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.08em; letter-spacing: 0; color: var(--signal); }
@media (max-width: 420px) { .brand b { font-size: 16px; } }
.brand small { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-ink); background: var(--signal-soft); padding: .1rem .35rem; border-radius: 2px; align-self: flex-start; margin-top: .25rem; }
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .45rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 6px; color: var(--ink); font: 600 .95rem var(--f-body); padding: .55rem .8rem; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
  .nav[data-open="false"] { display: none; }
  .nav a { padding-block: .9rem; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav a.nav-cta { color: var(--accent); }
}
@media (min-width: 961px) { .nav a.nav-cta { display: none; } }
/* På smala skärmar får knappen inte plats bredvid logotypen och menyn; den finns då i menyn */
@media (max-width: 560px) { .site-head .head-cta { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1.1 var(--f-body); padding: .85rem 1.2rem; border-radius: 6px; border: 1.5px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { font-size: var(--step-4); margin-top: .9rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: var(--step-1); color: var(--muted); max-width: 40rem; margin-top: 1.25rem; line-height: 1.5; }
/* Startsidans hero: text till vänster, "Så går det till" till höger */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23.5rem); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-split h1 { font-size: clamp(2rem, 3.3vw, 2.75rem); }
.hero-split .lead + .lead { margin-top: .9rem; }
.hero-steps { display: grid; gap: .85rem; }
.steps-title { font-size: var(--step-1); }
.hero-steps .calc-cta-card { padding-top: 1.9rem; gap: 1.1rem; }
.hero-steps .process li { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .8rem; padding-block: .9rem; }
.hero-steps .process h3 { font-size: 1.12rem; }
.hero-steps .process p { font-size: .97rem; line-height: 1.5; }
@media (max-width: 960px) { .hero-split { grid-template-columns: minmax(0, 1fr); } .hero-steps { max-width: 34rem; } }
.trust { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.trust li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .97rem; }
.trust li::before { content: ""; width: .85rem; height: .45rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-2px); flex: none; }
.page-hero { padding-block: clamp(2.25rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); max-width: 20ch; }
.crumbs { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin-inline: .35rem; }

/* Packing label card (hero mini calculator) */

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 7.5vw, 5.5rem); border-top: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.section-grid > * { min-width: 0; }
.section-head { position: static; }
.section-head h2, .section h2.h { font-size: var(--step-3); margin-top: .6rem; }
.intro { margin-top: 1rem; color: var(--muted); max-width: 36rem; }
.section-head .actions { margin-top: 1.5rem; }
@media (max-width: 880px) { .section-grid { grid-template-columns: minmax(0, 1fr); } }


/* Sequence (the whole job, in order) */

/* Service index */

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.svc-grid > div { border-top: 1px solid var(--line); padding-block: 1.05rem 1.35rem; min-width: 0; }
.svc-grid h3 { font-size: var(--step-1); }
.svc-grid p { color: var(--muted); margin-top: .3rem; }
.svc-grid a { color: var(--accent); }
@media (max-width: 560px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: 1.15rem; width: .9rem; height: .5rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process li { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.process li:first-child { padding-top: 0; }
.process li::before { content: counter(step); font-family: var(--f-mono); font-size: .85rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--accent); color: var(--accent); }
.process h3 { font-size: var(--step-1); }
.process p { color: var(--muted); margin-top: .25rem; }


/* Price examples */
.fineprint { font-size: .88rem; color: var(--muted); margin-top: .9rem; }
.fineprint + .svc-grid { margin-top: 2rem; }

/* Areas */

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 1.1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details > div { color: var(--muted); padding-bottom: 1.2rem; max-width: 42rem; }
.faq details > div a { color: var(--accent); }

/* Band */

/* CTA to the calculator (replaces the contact form on some pages) */
.calc-cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 2.1rem clamp(1.25rem, 3vw, 2rem) 1.6rem; position: relative; overflow: hidden; display: grid; gap: 1.25rem; }
.calc-cta-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: repeating-linear-gradient(90deg, var(--signal) 0 10px, transparent 10px 16px); opacity: .85; }
.calc-cta-card .process li:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-cta-card .fineprint { margin-top: -.4rem; text-align: center; }
.btn-big { width: 100%; padding: 1.05rem 1.2rem; font-size: 1.1rem; }

/* CTA strip */

/* ---------- Forms (shared) ---------- */
.field { display: grid; gap: .35rem; min-width: 0; }
.field > label, .field > legend, .q { font-weight: 600; font-size: .95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 6px; padding: .7rem .8rem; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 7rem; resize: vertical; }
.field .help { font-size: .85rem; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: minmax(0, 1fr); } }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pills span { display: inline-block; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .95rem; color: var(--muted); background: var(--surface); transition: all .15s; }
.pills input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pills label:hover span { border-color: var(--ink); }

.checks { display: grid; gap: .5rem; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; align-items: start; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); }
.check small { display: block; color: var(--muted); font-size: .88rem; }
.consent { font-size: .92rem; color: var(--muted); }
.consent a { color: var(--accent); }

.counter { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg); }
.counter button { width: 2.4rem; height: 2.4rem; border: 0; background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.counter button:hover { background: var(--accent-soft); }
.counter input { width: 3rem; text-align: center; border: 0; background: transparent; font: 500 1rem var(--f-mono); color: var(--ink); -moz-appearance: textfield; }
.counter input::-webkit-outer-spin-button, .counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.25rem; }
.counters > div { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-width: 0; }
.counters > div > label { flex: 1 1 auto; min-width: 0; }
.counters > div > label small { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; }
.counter { flex: none; }
@media (max-width: 480px) { .counters { grid-template-columns: minmax(0, 1fr); } }

.status { font-size: .95rem; padding: .85rem 1rem; border-radius: 6px; background: var(--accent-soft); }
.status.err { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact h2 { font-size: var(--step-3); margin-top: .6rem; }
.contact h1 { font-size: var(--step-3); }
.contact-page { border-top: 0; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.details { margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.details div { display: grid; gap: .1rem; }
.details dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 0; font-size: var(--step-1); font-weight: 600; }
.details dd a { text-decoration: none; }
.details dd a:hover { color: var(--accent); }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; position: relative; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-foot p { font-size: .86rem; color: var(--muted); flex: 1 1 14rem; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.calc > * { min-width: 0; }
@media (max-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-form { display: grid; gap: 1.25rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.1rem, 3vw, 1.6rem); display: grid; gap: 1.1rem; }
.step > legend { float: left; width: 100%; display: flex; align-items: baseline; gap: .7rem; font-family: var(--f-display); font-weight: 700; font-size: var(--step-2); letter-spacing: -.015em; line-height: 1.15; padding: 0; margin-bottom: .2rem; }
.step > legend + * { clear: both; }
.step > legend .n { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 50%; width: 1.9rem; height: 1.9rem; display: inline-grid; place-items: center; flex: none; position: relative; top: -.15rem; }
.step[hidden] { display: none; }
.svc-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 640px) { .svc-pick { grid-template-columns: minmax(0, 1fr); } }
.svc-pick label { position: relative; display: block; cursor: pointer; }
.svc-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.svc-pick .box { display: grid; align-content: start; gap: .2rem; padding: .9rem 1rem .95rem 2.6rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); height: 100%; position: relative; transition: border-color .15s, background .15s; }
.svc-pick .box::before { content: ""; position: absolute; left: .9rem; top: 1.1rem; width: 1.1rem; height: 1.1rem; border: 1.5px solid var(--muted); border-radius: 4px; background: var(--surface); }
.svc-pick input:checked + .box { border-color: var(--accent); background: var(--accent-soft); }
.svc-pick input:checked + .box::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent-soft); }
.svc-pick input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.svc-pick b { font-weight: 600; }
.svc-pick small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.preset { font-size: .92rem; color: var(--muted); }
.addon { display: grid; gap: .6rem; padding: 1rem 1.1rem; background: var(--signal-soft); border-radius: 8px; }
.addon[hidden] { display: none; }
.preset button { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 1rem; align-items: center; }
.range-row input[type="range"] { width: 100%; accent-color: var(--accent); }
.range-row .field input { text-align: right; font-family: var(--f-mono); }

/* Summary: the quote slip */
.slip { position: sticky; top: 5.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.slip::before { content: ""; display: block; height: 10px; background: repeating-linear-gradient(90deg, var(--signal) 0 10px, transparent 10px 16px); opacity: .85; }
.slip-inner { padding: 1.3rem 1.4rem 1.4rem; display: grid; gap: 1rem; }
.slip h2 { font-size: var(--step-2); }
.slip .total { display: grid; gap: .2rem; padding: 1rem; background: var(--accent-soft); border-radius: 8px; }
.slip .total .lbl { font-size: .88rem; color: var(--muted); }
.slip .total .val { font-family: var(--f-mono); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.15; }
.slip .total .sub { font-size: .88rem; color: var(--muted); }
.lines { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.lines li span:first-child { min-width: 0; }
.lines li small { display: block; color: var(--muted); font-size: .82rem; }
.lines li .kr { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines li.sum { border-bottom: 0; font-weight: 600; }
.lines li.rut { color: var(--accent); }
.slip .disclaimer { font-size: .84rem; color: var(--muted); }
.slip .empty { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .slip { position: static; } }
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; justify-content: space-between; align-items: center; gap: 1rem; background: var(--band); color: var(--band-ink); padding: .75rem max(16px, env(safe-area-inset-right, 0px)) calc(.75rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mobile-bar b { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
  .mobile-bar small { display: block; font-size: .78rem; color: var(--band-muted); }
  .mobile-bar a { color: var(--band-ink); font-weight: 600; font-size: .95rem; }
  .has-mobile-bar .site-foot { padding-bottom: 4.5rem; }
}

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

.site-foot { border-top: 1px solid var(--line); background: var(--surface); }
.site-foot .wrap { padding-block: 1.6rem 1.1rem; display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)); gap: 1.1rem 2rem; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }
.site-foot h2 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: .45rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-foot a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.site-foot a:hover { color: var(--accent); }
.site-foot p { color: var(--muted); font-size: .93rem; }
.foot-brand b { font-family: var(--f-display); font-size: 1.2rem; display: block; margin-bottom: .4rem; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: .8rem; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }

/* Policy */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: .8rem; }
.prose ul { padding-left: 1.2rem; margin: 0; display: grid; gap: .45rem; }
.prose b { color: var(--ink); }
.prose a { color: var(--accent); }
.list-h { font-size: var(--step-1); margin: 2.4rem 0 .9rem; }
/* Avbrott: "Känner du dig redo?" */
.redo { background: var(--accent); color: var(--accent-ink); }
.section:has(+ .redo) { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.redo-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2.5rem; padding-block: clamp(1.6rem, 4vw, 2.2rem); }
.redo h2 { font-size: var(--step-2); color: #fff; }
.redo p { color: #D6E3F3; font-size: var(--step-0); margin-top: .3rem; }
.redo-knappar { display: flex; flex-wrap: wrap; gap: .75rem; }
.redo .btn { background: #fff; color: var(--accent); border-color: #fff; }
.redo .btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.redo .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.redo .btn.ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.redo :focus-visible { outline-color: #fff; }


/* ---------- Tillägg för IT-sajten ---------- */
/* Portraden: små "portar" med en mörkare kant nertill, som en patchpanel */
.calc-cta-card::before, .slip::before { height: 10px; background: repeating-linear-gradient(90deg, var(--signal-ink) 0 10px, transparent 10px 16px) left bottom / 100% 3px no-repeat, repeating-linear-gradient(90deg, var(--signal) 0 10px, transparent 10px 16px); opacity: .8; }
.svc-grid h3 .tag { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-ink); background: var(--signal-soft); padding: .12rem .4rem; border-radius: 2px; vertical-align: .25em; margin-left: .45rem; white-space: nowrap; }
.foot-brand .syster { margin-top: .9rem; font-size: .88rem; }
.foot-brand .syster a { color: var(--accent); }
.lines li .cnt { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.slip .total .val.txt { font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; }
.preview-note { background: var(--band); color: var(--band-ink); font-size: .85rem; text-align: center; padding: .45rem 16px; }
.preview-note b { color: #fff; }

/* ---------- Tjänstesidor med illustration ---------- */
.hero-split--bild { grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); }
.hero-fig { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; position: relative; }
.hero-fig::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: repeating-linear-gradient(90deg, var(--signal-ink) 0 10px, transparent 10px 16px) left bottom / 100% 3px no-repeat, repeating-linear-gradient(90deg, var(--signal) 0 10px, transparent 10px 16px); opacity: .8; z-index: 1; }
.hero-fig img { display: block; width: 100%; height: auto; }
.hero-fig figcaption { font-size: .88rem; color: var(--muted); padding: .7rem 1rem .8rem; border-top: 1px solid var(--line); }
.hero-text .actions { margin-top: 1.6rem; }
@media (max-width: 960px) { .hero-split--bild { grid-template-columns: minmax(0, 1fr); } .hero-fig { max-width: 36rem; } }
