/* Söderslätts Redovisningstjänst — designsystem "Magenta Ledger" (visual-direction C1–C14). */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --brand: #DF4488; /* kundens profilfärg = logotypens färg (kundfeedback 2026-09-24) */
  --band: var(--brand);
  --accent: var(--brand);
  --accent-hover: #e8699f;
  --accent-active: #f08ab6;
  --accent-ink: #b42c6a; /* samma ton, mörkare: liten text på ljus yta (≥5:1) — #DF4488 bär svart text (5.3:1) */
  --text: #4a4750;
  --muted: #6b6775;
  --panel-cool: #f1f1f6;
  --panel-warm: #faf3f1;
  --panel-tint: #fcebf3;
  --pill-bg: #f8d3e4;
  --pill-fg: #9c2459;
  --line: #a7a2b3;
  --line-soft: #dcd9e2;
  --error: #b3261e;
  --ok: #1d6b3a;

  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 76px;
  --section: 64px;
  --radius: 8px;
  --pill: 48px;
  --badge: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 768px) { :root { --gutter: 24px; --section: 80px; } }
@media (min-width: 992px) { :root { --header-h: 103px; --section: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 32px; line-height: 36px; }
.h2-xl { font-size: 28px; line-height: 34px; }
.h2-md, h2 { font-size: 24px; line-height: 30px; }
h3 { font-size: 20px; line-height: 26px; }
@media (min-width: 768px) {
  h1 { font-size: 44px; line-height: 48px; }
  .h2-xl { font-size: 40px; line-height: 46px; }
  .h2-md, h2 { font-size: 28px; line-height: 34px; }
}
@media (min-width: 992px) {
  .h2-xl { font-size: 48px; line-height: 54px; }
  .h2-md, h2 { font-size: 32px; line-height: 38px; }
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight-top { padding-top: 0; }
.lead { font-size: 18px; line-height: 27px; color: var(--ink); }
@media (min-width: 768px) { .lead { font-size: 20px; line-height: 28px; } }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .band :focus-visible { outline-color: var(--band); }
.band :focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: var(--radius); font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- C3 buttons, C11 badge ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px; border-radius: var(--pill);
  font: 700 16px/20px var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-active); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 4px; text-decoration-color: var(--accent);
}
.textlink:hover { text-decoration-color: var(--ink); }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--badge);
  background: var(--pill-bg); color: var(--pill-fg);
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.arrow { width: 24px; height: 24px; flex: 0 0 24px; fill: var(--accent); transition: transform .3s var(--ease); }
a:hover .arrow, a:focus-visible .arrow { transform: translateX(6px); }
.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.more span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color .2s var(--ease); }
.more:hover span { text-decoration-color: var(--accent); }

/* ---------- C1 header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.topbar { display: none; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 14px; line-height: 20px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 24px; }
.topbar__tag { color: rgba(255,255,255,.78); }
.topbar__links { display: flex; gap: 24px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-decoration-color: var(--band); text-underline-offset: 3px; }
.nav-row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { width: 40px; height: 38px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font-size: 18px; letter-spacing: .01em; }
.brand__txt span { font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: .02em; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px 8px 12px;
  background: none; border: 0; color: #fff; font: 700 16px/20px var(--font); cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 22px; height: 14px; }
.menu-toggle__icon::before, .menu-toggle__icon::after, .menu-toggle__icon span {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon span { top: 6px; }
.menu-toggle__icon::after { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav, .nav-cta { display: none; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  color: #fff; text-decoration: none; font: 400 16px/20px var(--font); background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .sub-toggle:hover, .main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--band); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.chev { width: 16px; height: 16px; fill: currentColor; transition: transform .25s var(--ease); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; padding: 8px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.sub ul { list-style: none; }
.sub a { display: flex; width: 100%; color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 400; }
.sub a:hover { background: var(--panel-tint); text-decoration: none; }
.sub li:last-child a { font-weight: 700; }

@media (min-width: 992px) {
  .topbar { display: block; }
  .nav-row { min-height: calc(var(--header-h) - 37px); }
  .menu-toggle, .mobile-panel { display: none !important; }
  .main-nav { display: block; }
  .nav-cta { display: inline-flex; min-height: 44px; padding: 10px 24px; }
  .brand img { width: 44px; height: 42px; }
  .brand__txt strong { font-size: 20px; }
}

/* Mobile panel — full height below the header, never clipped by it */
.mobile-panel {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
  background: var(--ink); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 40px;
}
.mobile-panel[hidden] { display: none; }
.mobile-panel ul { list-style: none; }
.mobile-panel > ul > li { border-bottom: 1px solid rgba(255,255,255,.2); }
.mobile-panel a, .m-sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 12px 0;
  color: #fff; text-decoration: none; font: 700 20px/26px var(--font); background: none; border: 0; cursor: pointer; text-align: left;
}
.m-sub a { font-weight: 400; font-size: 18px; min-height: 48px; padding-left: 16px; }
.m-sub { padding-bottom: 8px; }
.mobile-panel__contact { padding-top: 24px; display: grid; gap: 4px; }
.mobile-panel__contact a { font-weight: 400; font-size: 18px; min-height: 48px; }
.mobile-panel__contact .btn { justify-content: center; margin-top: 12px; padding: 12px 28px; border-radius: var(--pill); background: var(--accent); color: var(--ink); font: 700 16px/20px var(--font); }
.mobile-panel__contact .btn:hover { background: var(--accent-hover); }
.mobile-panel__contact .btn:active { background: var(--accent-active); }

/* ---------- C13 breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; font-size: 14px; line-height: 20px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
.crumbs a:hover { text-decoration-color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); padding: 6px 0; display: inline-block; }

/* ---------- C2 hero ---------- */
.hero-home { position: relative; background: var(--panel-cool); }
.hero-home__media { aspect-ratio: 4 / 3; overflow: hidden; }
.hero-home__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 62%; }
.hero-home__body { padding-top: 32px; padding-bottom: 48px; }
.hero-home h1 { max-width: 720px; }
.hero-home .lead { max-width: 640px; margin-top: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
@media (max-width: 575px) { .hero-home .hero-actions .btn { width: 100%; } }
@media (min-width: 992px) {
  .hero-home { height: 594px; background: #e9e9ea; overflow: hidden; }
  .hero-home__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-home__media img { object-position: 50% 60%; }
  .hero-home__body { position: relative; height: 100%; display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
  .hero-home__text { max-width: 720px; padding-bottom: 56px; }
  .hero-home h1 { font-size: 56px; line-height: 60px; }
}

.page-hero { background: var(--panel-cool); }
.page-hero__grid { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 48px; }
.page-hero .badge { margin-top: 20px; }
.page-hero h1 { margin-top: 16px; max-width: 760px; }
.page-hero .lead { margin-top: 16px; max-width: 720px; }
.page-hero__media { display: none; }
@media (min-width: 992px) {
  .page-hero__grid { grid-template-columns: 7fr 5fr; gap: 48px; padding-top: 32px; padding-bottom: 72px; align-items: center; }
  .page-hero__grid--solo { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 48px; line-height: 54px; }
  .page-hero__media { display: block; align-self: stretch; margin-top: 16px; }
  .page-hero__media img { width: 100%; height: 100%; min-height: 360px; max-height: 440px; object-fit: cover; }
}

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 830px; }
.sec-head .lead, .sec-head p { margin-top: 16px; }
.sec-head--center .lead { max-width: 660px; margin-left: auto; margin-right: auto; }

/* ---------- C4 link list ---------- */
.linklist { list-style: none; display: grid; gap: 0 40px; max-width: 830px; margin: 0 auto; }
.linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 14px 0;
  color: var(--ink); text-decoration: none; font-size: 18px; line-height: 24px; font-weight: 700;
  border-bottom: 2px solid var(--line); transition: border-color .2s var(--ease);
}
.linklist a:hover { border-bottom-color: var(--accent); }
.linklist--plain li { display: flex; align-items: center; min-height: 62px; padding: 14px 0; border-bottom: 2px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 700; }
@media (min-width: 768px) { .linklist { grid-template-columns: 1fr 1fr; } .linklist a { font-size: 20px; } }
.linklist-foot { text-align: center; margin-top: 32px; }

/* ---------- C5 split ---------- */
.split { display: grid; gap: 0; }
.split__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split__panel { background: var(--panel-cool); border-radius: var(--radius); padding: 32px 24px; }
.split__panel--warm { background: var(--panel-warm); }
.split__panel h2 { margin-top: 16px; }
.split__panel .badge + h2 { margin-top: 16px; }
.split__panel p { margin-top: 16px; }
.split__panel .btn, .split__panel .textlink { margin-top: 24px; }
.split__media + .split__panel { border-top-left-radius: 0; border-top-right-radius: 0; }
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split__media { padding-top: 40px; position: relative; z-index: 1; }
  .split__panel { padding: 48px; min-height: 455px; display: flex; flex-direction: column; justify-content: center; }
  .split__media + .split__panel { border-radius: var(--radius); }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__panel { order: 1; }
  .split--wide { grid-template-columns: 8fr 4fr; gap: 48px; }
  .split--wide .split__panel { min-height: 0; }
}
.facts-aside { padding: 8px 0; }
.facts-aside h3 { margin-bottom: 12px; }
.checklist { list-style: none; display: grid; gap: 0; }
.checklist li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 991px) { .facts-aside { margin-top: 32px; } }

/* ---------- C6 cards ---------- */
.cards { display: grid; gap: 40px 32px; }
@media (min-width: 768px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; }
.card__media { margin-bottom: 20px; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card h3 { margin-bottom: 8px; }
.card .more { margin-top: auto; padding-top: 12px; }
.card__places { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; }
.cards--ruled .card { border-top: 2px solid var(--ink); padding-top: 20px; }
.card__services { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.card__services a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-weight: 700; text-decoration: none; }
.card__services a:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }
.card__services a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- C7 statement ---------- */
.statement { max-width: 1000px; margin: 0 auto; background: var(--panel-warm); border-radius: var(--radius); padding: 32px 24px; }
.statement__mark { width: 40px; height: 40px; fill: var(--accent); margin-bottom: 16px; }
.statement__logo { width: 160px; height: auto; margin-bottom: 24px; }
.statement blockquote { margin: 0; }
.statement blockquote p, .statement__text { color: var(--ink); font-weight: 700; font-size: 24px; line-height: 30px; }
.statement footer, .statement__by { margin-top: 20px; color: var(--muted); font-size: 16px; }
@media (min-width: 992px) { .statement { padding: 48px; } .statement blockquote p, .statement__text { font-size: 32px; line-height: 38px; } }
.panel-note { max-width: 1000px; margin: 0 auto; background: var(--panel-warm); border-radius: var(--radius); padding: 32px 24px; }
.panel-note h2 { margin-bottom: 12px; }
@media (min-width: 992px) { .panel-note { padding: 48px; } }

/* ---------- C8 band ---------- */
.band { background: var(--band); color: var(--ink); padding: var(--section) 0; }
.band h2 { color: var(--ink); }
.band__grid { display: grid; gap: 24px; }
.band p { color: var(--ink); font-size: 18px; line-height: 27px; }
.band__places { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 24px; }
.band__places a {
  display: inline-block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 28px; line-height: 40px;
  border-bottom: 4px solid var(--ink); padding-bottom: 2px;
}
.band__places a:hover { border-bottom-color: #fff; }
.band .textlink { color: var(--ink); text-decoration-color: var(--ink); margin-top: 20px; }
.band .textlink:hover { text-decoration-color: #fff; }
.band .btn--outline { margin-top: 24px; }
@media (min-width: 992px) {
  .band__grid { grid-template-columns: 5fr 7fr; gap: 48px; }
  .band__places a { font-size: 44px; line-height: 56px; }
}

/* ---------- C9 contact block ---------- */
.cta-panel { background: var(--panel-tint); border-radius: var(--radius); padding: 40px 24px; text-align: center; }
.cta-panel p { max-width: 640px; margin: 12px auto 0; font-size: 18px; line-height: 27px; color: var(--ink); }
.cta-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; margin-top: 28px; }
@media (min-width: 992px) { .cta-panel { padding: 64px 48px; } }

/* ---------- C12 FAQ ---------- */
.faq { display: grid; gap: 24px; }
@media (min-width: 992px) { .faq { grid-template-columns: 4fr 8fr; gap: 48px; } }
.faq__list { border-bottom: 2px solid var(--line); }
.faq details { border-top: 2px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0;
  cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 18px; line-height: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq__icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 2px; top: 9px; width: 16px; height: 2px; background: var(--accent); transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 32px 24px 0; color: var(--text); }
@media (min-width: 768px) { .faq summary { font-size: 20px; line-height: 26px; } }

/* ---------- C14 form ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }
.lead-form { display: grid; gap: 20px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 400 16px/22px var(--font);
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 3px solid var(--pill-bg); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; line-height: 20px; min-height: 0; }
.field-error:empty { display: none; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
/* Formulärets avslut: samtycke → hjälptext → knapp som ett block. Checkboxen sitter i en egen 20 px-kolumn
   mot första textraden; hjälptext, felmeddelande och (från 576 px) knappen linjerar mot textkolumnen.
   Hela etiketten är klickbar; länken till integritetspolicyn är fortfarande en riktig länk. */
.lead-form { --consent-indent: 32px; }
.field--consent { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line-soft); gap: 4px; }
.field .consent {
  display: block; position: relative; padding-left: var(--consent-indent); cursor: pointer;
  font-size: 15px; line-height: 24px; font-weight: 400; color: var(--ink);
}
.field .consent input {
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 4px; accent-color: var(--accent); cursor: pointer;
}
.field .consent input:focus { outline: none; }
.field .consent input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.consent a:hover { text-decoration-color: var(--ink); }
.field--consent .field-error { padding-left: var(--consent-indent); }
.form-note { font-size: 14px; line-height: 21px; color: var(--muted); }
.lead-form .field--consent + .form-note { margin: -16px 0 0; padding-left: var(--consent-indent); max-width: 560px; }
.form-note a { color: var(--ink); }
.lead-form button[type="submit"] { justify-self: stretch; min-height: 52px; margin-top: 4px; padding: 14px 32px; font-size: 16px; }
@media (min-width: 576px) {
  .lead-form button[type="submit"] { justify-self: start; margin-left: var(--consent-indent); min-width: 220px; }
  .lead-form .form-status { margin-left: var(--consent-indent); }
}
.lead-form button[type="submit"]:disabled,
.lead-form [data-sending="true"] { opacity: .72; cursor: progress; background: var(--accent); }
.lead-form .form-status { margin-top: 4px; }
.form-status { padding: 16px; border-radius: var(--radius); font-weight: 700; }
.form-status--ok { background: #e6f4ea; color: var(--ok); }
.form-status--error { background: #fdecea; color: var(--error); }
.form-status--info { background: var(--panel-cool); color: var(--ink); }
.contact-panel { background: var(--panel-cool); border-radius: var(--radius); padding: 32px 24px; }
.contact-panel dl { margin: 20px 0 0; display: grid; gap: 16px; }
.contact-panel dt { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.contact-panel dd { margin: 4px 0 0; color: var(--ink); font-size: 18px; line-height: 26px; }
.contact-panel dd a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-block; min-height: 44px; padding-top: 9px; }
@media (min-width: 992px) { .contact-panel { padding: 40px; } }

/* ---------- policy ---------- */
.prose { max-width: 720px; }
.prose h2 { margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose > h2:first-child, .prose > section:first-of-type > h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ---------- C10 footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 56px 0 24px; font-size: 15px; line-height: 22px; }
.footer-grid { display: grid; gap: 32px; }
.site-footer .brand { margin-bottom: 16px; }
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--band); text-underline-offset: 3px; }
.footer-col h2 { color: #fff; font-size: 16px; line-height: 22px; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col li a, .footer-contact a { display: inline-block; padding: 8px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; color: rgba(255,255,255,.72); }
.footer-bottom a { padding: 8px 0; display: inline-block; }
.footer-bottom button { background: none; border: 0; color: #fff; font: inherit; cursor: pointer; padding: 8px 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 4fr 2fr 2fr 2fr; gap: 48px; } }

/* ---------- 404 ---------- */
.notfound { padding: 96px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ============================================================================
   KAMPANJSIDAN — sektionsformer som bara finns på /
   Referensens designsystem (rutnät, rytm, linjer, radier, pill) oförändrat.
   ========================================================================== */

/* Ankarnavigation: den sticky headern får aldrig täcka en sektionsrubrik. */
:target, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Aktivt ankare i headern — klass, ingen animation. */
.main-nav a.is-current { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--band); text-underline-offset: 6px; }

/* Meriter (C9): Marie Löfgrens styrkta titlar. Srf:s och Rex officiella märken visas i originalform —
   skalade proportionellt, aldrig omfärgade eller beskurna. Titeln utan eget märke får en ikon ur
   sajtens ikonfamilj (ingen imitation av ett märke). Ingen byråstämpel: byråstatus är inte styrkt. */
.creds { padding: var(--section) 0; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.creds__head { display: grid; gap: 16px; margin-bottom: 40px; }
.creds__head .badge + h2 { margin-top: 20px; }
.creds__head h2 { font-size: 28px; line-height: 34px; }
.creds__head p { color: var(--text); }
.creds__head .textlink { margin-top: 8px; }
.creds__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.cred { display: flex; flex-direction: column; }
.cred__plate {
  display: flex; align-items: center; justify-content: center; height: 128px; margin-bottom: 24px; padding: 20px 24px;
  background: var(--panel-cool); border-radius: var(--radius); border-top: 4px solid var(--accent);
}
.cred__plate img { display: block; width: auto; height: auto; max-width: 100%; }
.cred__plate--line img { width: 272px; }
.cred__plate--seal img { width: 88px; }
.cred__icon { width: 56px; height: 56px; color: var(--accent); }
.cred h3 { font-size: 22px; line-height: 28px; }
.cred .cred__holder { margin: 4px 0 12px; color: var(--accent-ink); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .02em; }
.cred p { color: var(--text); }
.cred .cred__benefit { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.cred p.cred__benefit { color: var(--ink); }
.cred__benefit strong { color: var(--accent-ink); }
.cred > p:nth-last-child(2) { margin-bottom: 20px; }
@media (min-width: 768px) {
  .creds__head { grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; }
  .creds__head h2 { font-size: 40px; line-height: 46px; }
  .creds__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .cred__plate { height: 144px; }
  .cred__plate--line img { width: 100%; max-width: 280px; }
  .cred__plate--seal img { width: 104px; }
}
@media (max-width: 991px) and (min-width: 768px) {
  .creds__list { grid-template-columns: 1fr; gap: 40px; }
  .cred { display: grid; grid-template-columns: 240px 1fr; column-gap: 32px; }
  .cred__plate { grid-row: 1 / span 5; align-self: start; height: 144px; margin-bottom: 0; }
  .cred .cred__benefit { margin-top: 0; }
}
@media (min-width: 992px) { .creds__head h2 { font-size: 48px; line-height: 54px; } }

/* Tjänstekort: kortet ÄR innehållet — ingen "läs mer" till en sida som inte finns. */
.card--service .card__label { margin-top: 20px; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.card--service .checklist { margin-top: 8px; }
.card--service .checklist li { padding-top: 10px; padding-bottom: 10px; }

/* Definitionslista: textburen, tätare än kortrutnätet så rytmen bryts. */
.deflist { display: grid; gap: 0; margin: 0; }
.deflist > div { padding: 20px 0; border-top: 1px solid var(--line-soft); }
.deflist > div:first-child { border-top: 0; }
.deflist dt { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.deflist dd { margin: 0; color: var(--text); }
@media (min-width: 768px) {
  .deflist { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .deflist > div:nth-child(2) { border-top: 0; }
}
@media (min-width: 992px) {
  .deflist--3 { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .deflist--3 > div:nth-child(-n+3) { border-top: 0; }
}
.panel-note--wide { padding: 40px 24px; }
@media (min-width: 992px) { .panel-note--wide { padding: 56px 64px; } }

/* Processrad (C10): sidans enda mörka sektion mellan heron och footern. */
.steps { background: var(--ink); color: #fff; padding: var(--section) 0; }
.steps h2, .steps h3 { color: #fff; }
.steps .sec-head { margin-bottom: 40px; }
.badge--light { background: rgba(255, 255, 255, .12); color: #fff; }
.steps__list { list-style: none; display: grid; gap: 32px; margin: 0; padding: 0; counter-reset: none; }
.steps__list li { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 20px; }
.steps__list li > :not(.steps__mark) { position: relative; z-index: 1; }
.steps__mark {
  position: absolute; z-index: 0; top: 16px; right: -12px; width: 96px; height: 96px;
  color: var(--band); opacity: .12; stroke-width: 1; pointer-events: none;
}
@media (min-width: 768px) { .steps__mark { width: 120px; height: 120px; top: 12px; right: -16px; } }
@media (min-width: 1100px) { .steps__mark { width: 136px; height: 136px; } }
.steps__n { display: block; font-size: 32px; line-height: 40px; font-weight: 700; color: var(--band); margin-bottom: 8px; }
.steps__list h3 { font-size: 20px; line-height: 28px; margin-bottom: 8px; }
.steps__list p { color: rgba(255, 255, 255, .82); }
@media (min-width: 768px) { .steps__list { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; } }
@media (min-width: 1100px) { .steps__list { grid-template-columns: repeat(4, 1fr); gap: 40px; } }

/* SIGNATURRÖRELSE "Dubbelstreck" — processen som en huvudbok.
   Varje steg förs in (magenta linje + dokumentikonen ritas), prickas av (bock) och sista steget stängs
   med dubbelstreck, revisorns tecken för ett avslutat belopp. Grafiken är FÄRDIG som standard: utan JS,
   med reduced motion eller utan IntersectionObserver syns slutläget. Bara dekoration rör sig — text
   döljs aldrig. Endast transform och stroke-dashoffset, en gång per steg. */
/* The li clips its overflow (for .steps__mark), so the hairline moves from border-top into the rule element:
   1px border → 1px padding keeps the box identical, and the 2px ink line is no longer half clipped. */
.steps__list li { border-top: 0; padding-top: 21px; }
.steps__list li > .steps__rule {
  position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 7px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) top left / 100% 1px no-repeat;
}
.steps__rule::before, .steps__rule--closing::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--band); transform-origin: 0 50%;
}
.steps__rule::before { top: 0; }
.steps__rule--closing::after { top: 5px; }
.steps__mark { opacity: .2; }
.steps__n { display: flex; align-items: center; gap: 10px; }
.steps__tick { width: 22px; height: 22px; flex: none; color: #fff; }

.steps__list { --ledger-ease: cubic-bezier(.65, 0, .25, 1); }
.steps__list li { --d: 0s; }
@media (min-width: 768px) { .steps__list li:nth-child(even) { --d: .3s; } }
@media (min-width: 1100px) { .steps__list li { --d: calc(var(--i, 0) * .32s); } }

.motion-ready [data-ledger] .steps__rule::before,
.motion-ready [data-ledger] .steps__rule--closing::after { transform: scaleX(0); transition: transform .8s var(--ledger-ease) var(--d); }
.motion-ready [data-ledger] .steps__rule--closing::after { transition-delay: calc(var(--d) + .9s); }
.motion-ready [data-ledger] .steps__mark path,
.motion-ready [data-ledger] .steps__tick path { stroke-dasharray: 1 2; stroke-dashoffset: 1.01; } /* gap 2 + offset past the start: no round-cap dots before drawing */
.motion-ready [data-ledger] .steps__mark path { transition: stroke-dashoffset 1.2s cubic-bezier(.45, 0, .2, 1) calc(var(--d) + .25s); }
.motion-ready [data-ledger] .steps__mark path:nth-child(n+2) { transition-delay: calc(var(--d) + .45s); }
.motion-ready [data-ledger] .steps__mark path:nth-child(n+4) { transition-delay: calc(var(--d) + .6s); }
.motion-ready [data-ledger] .steps__tick path { transition: stroke-dashoffset .35s cubic-bezier(.3, 0, .2, 1) calc(var(--d) + .75s); }
.motion-ready [data-ledger] .is-posted .steps__rule::before,
.motion-ready [data-ledger] .is-posted .steps__rule--closing::after { transform: scaleX(1); }
.motion-ready [data-ledger] .is-posted .steps__mark path,
.motion-ready [data-ledger] .is-posted .steps__tick path { stroke-dashoffset: 0; }

/* Kontaktpersonen i om-sektionen: namnet och de styrkta titlarna. */
.person { margin-top: 28px; padding: 20px 0 0; border-top: 1px solid var(--line-soft); }
.person__name { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.person__role { color: var(--accent-ink); font-weight: 700; font-size: 15px; line-height: 22px; margin-bottom: 10px; }

/* Faktarad i om-sektionen. */
.factrow { display: grid; gap: 0; margin: 24px 0 0; }
.factrow > div { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.factrow dt { font-size: 14px; line-height: 20px; color: var(--muted); }
.factrow dd { margin: 2px 0 0; color: var(--ink); font-weight: 700; }

/* Kontaktsektionen på startsidan: samma rutnät som den tidigare kontaktsidan. */
#kontakt .contact-grid { margin-top: 40px; }
#kontakt .contact-panel h3 { margin-bottom: 16px; }

/* Om byrån: panelen bär både berättelse och bolagsfakta, så bilden fyller panelens höjd på desktop i stället för att lämna en tom yta. */
@media (min-width: 992px) {
  .split--fill { align-items: stretch; }
  .split--fill .split__media { padding-top: 40px; padding-bottom: 40px; display: flex; }
  .split--fill .split__media img { height: 100%; aspect-ratio: auto; }
}

/* ============================================================================
   VISUELL POLISH 2026-09-24 — ikonsystem, luft och bolagsformskapitlet.
   Ikonerna är en familj (24×24, 1,5 px linje, currentColor) och alltid dekorativa.
   ========================================================================== */

/* 2. Tjänsteblocken: checklistan avslutar kortet med egen luft, och nästa kort börjar först efter en tydlig paus.
   Luften sitter i kortets padding (kortets slut) och i rutnätets radavstånd (mellan korten) — inga tomma element. */
.cards--services { row-gap: 72px; }
.cards--services .card--service { padding-bottom: 16px; }
.card--service .checklist li:last-child { border-bottom: 2px solid var(--ink); }
@media (min-width: 768px) { .cards--services { row-gap: 88px; } }
@media (min-width: 992px) { .cards--services { row-gap: 112px; } .cards--services .card--service { padding-bottom: 24px; } }

/* 3. Eyebrow → rubrik i "Mer som ingår": samma chip, mer luft. */
.panel-note .badge + h2 { margin-top: 28px; }
@media (min-width: 992px) { .panel-note .badge + h2 { margin-top: 32px; } }
.steps .sec-head .badge + h2 { margin-top: 20px; }

/* 5. Bolagsformer — ett eget kapitel. Sektionen delas i två färgfält (svalt till vänster, ljusrosa till höger,
   hela vägen ut till kanten) med magentalinje överst. Bolagsformerna står i ett linjerat register 2×2 med
   tabellstreck — inga kort. Ikonerna ur samma familj, i en vit skiva. */
.forms { position: relative; background: var(--panel-cool); padding: var(--section) 0 0; overflow: hidden; }
.forms::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 6px; background: var(--band); z-index: 1; }
.forms__grid { display: grid; gap: 40px; }
.forms__intro .lead { margin-top: 20px; max-width: 480px; }
.forms__intro .textlink { margin-top: 20px; }
.forms__list {
  margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) var(--section); background: var(--panel-tint);
  display: grid;
}
.forms__item { padding: 28px 0 32px; border-top: 1px solid rgba(0, 0, 0, .16); }
.forms__item:first-child { border-top: 2px solid var(--ink); }
.forms__item dt { display: flex; align-items: center; gap: 16px; font-size: 22px; line-height: 28px; font-weight: 700; color: var(--ink); }
.forms__item dd { margin: 12px 0 0; color: var(--text); max-width: 420px; }
.forms__disc {
  flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); color: var(--accent);
}
.forms__icon { width: 28px; height: 28px; }
@media (min-width: 768px) {
  .forms__list { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .forms__item { padding: 32px 32px 40px 0; }
  .forms__item:nth-child(-n+2) { border-top: 2px solid var(--ink); }
  .forms__item:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid rgba(0, 0, 0, .16); }
  .forms__item dt { flex-direction: column; align-items: flex-start; gap: 20px; font-size: 24px; line-height: 30px; }
  .forms__disc { flex-basis: auto; width: 64px; height: 64px; }
  .forms__icon { width: 32px; height: 32px; }
}
@media (min-width: 992px) {
  /* Färgfälten följer rutnätet: det ljusrosa fältet börjar i mellanrummet mellan introduktion och register. */
  .forms { padding: 0; background: linear-gradient(90deg, var(--panel-cool) calc(50% - 64px), var(--panel-tint) calc(50% - 64px)); }
  .forms__grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: stretch; }
  .forms__intro { padding: var(--section) 0; }
  .forms__intro .h2-xl { font-size: 56px; line-height: 60px; }
  .forms__list { margin: 0; padding: var(--section) 0; background: none; align-content: center; }
}

/* 6. Facebook — ikon i sajtens ljusrosa ton inom en tunn ring, 44 px klickyta, hover fyller ringen. */
.site-footer .social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1.5px solid var(--pill-bg); border-radius: 50%; color: var(--pill-bg);
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.site-footer .social-link:hover { color: var(--ink); background: var(--pill-bg); text-decoration: none; }
.site-footer .social-link:focus-visible { outline: 2px solid var(--band); outline-offset: 3px; }
.footer-col li:has(.social-link) { margin-top: 8px; }
.social-link__icon { width: 22px; height: 22px; }

/* Erfarenhetsmarkör i företagspresentationen (kundfeedback 2026-09-24) — en gång på sidan. */
.exp-mark {
  display: inline-flex; align-items: center; gap: 12px; margin: 16px 0 20px;
  color: var(--ink); font-weight: 700; font-size: 18px; line-height: 24px;
}
.exp-mark::before { content: ""; flex: 0 0 32px; height: 4px; border-radius: 2px; background: var(--brand); }
@media (min-width: 768px) { .exp-mark { font-size: 20px; line-height: 26px; } }
