/* =========================================================================
   lekmannarevisor.nu — delad stilmall
   Alla sidor länkar hit. Designtokens + komponenter från Claude Design-projektet.
   ========================================================================= */

/* ---- Hex-fallback för browsers utan oklch() (mycket gamla) ------------- */
:root {
  --bg:            #f7f3ec;
  --bg-card:       #fdfbf7;

  --accent:        #b83f30;
  --accent-hover:  #9c3529;
  --accent-text:   #fdfbf7;

  --teal:          #2b4a4d;
  --teal-light:    #e6edee;
  --teal-text:     #cdd8d9;
  --teal-border:   #93b0b3;
  --teal-border-hover: #cfe0e1;
  --teal-hover-bg: #365e61;

  --ink:           #2b2622;
  --ink-2:         #40392f;
  --ink-label:     #4a4238;
  --ink-body:      #52493f;
  --ink-faint:     #5c5349;
  --ink-muted:     #726a5f;
  --ink-lighter:   #7b7266;

  --line:          #e2ddd6;
  --chip-bg:       #f0e9dc;
  --chip-border:   #ddd0bb;
  --dark:          #2b2622;
  --dark-hover:    #453f39;

  --shadow-card:   0 18px 44px -28px rgba(43, 38, 34, 0.35);

  --max-width:     1280px;
  --gutter:        clamp(20px, 5vw, 48px);
  --section-pad:   clamp(56px, 8vw, 96px);
  --radius-card:   14px;
  --radius-panel:  16px;
  --radius-block:  20px;
  --radius-input:  9px;
  --radius-pill:   999px;
}

/* ---- Riktiga färger i oklch för moderna browsers --------------------- */
@supports (color: oklch(0.5 0.1 180)) {
  :root {
    --bg:            oklch(0.968 0.012 88);
    --bg-card:       oklch(0.992 0.005 88);

    --accent:        oklch(0.54 0.17 18);
    --accent-hover:  oklch(0.46 0.15 18);
    --accent-text:   oklch(0.992 0.005 88);

    --teal:          oklch(0.34 0.045 200);
    --teal-light:    oklch(0.93 0.014 200);
    --teal-text:     oklch(0.86 0.012 200);
    --teal-border:   oklch(0.72 0.05 200);
    --teal-border-hover: oklch(0.9 0.02 200);
    --teal-hover-bg: oklch(0.42 0.045 200);

    --ink:           oklch(0.24 0.015 30);
    --ink-2:         oklch(0.35 0.014 30);
    --ink-label:     oklch(0.4 0.014 30);
    --ink-body:      oklch(0.45 0.015 30);
    --ink-faint:     oklch(0.5 0.014 30);
    --ink-muted:     oklch(0.55 0.014 30);
    --ink-lighter:   oklch(0.58 0.014 30);

    --line:          oklch(0.89 0.012 30);
    --chip-bg:       oklch(0.95 0.022 80);
    --chip-border:   oklch(0.88 0.032 80);
    --dark:          oklch(0.24 0.015 30);
    --dark-hover:    oklch(0.35 0.02 30);

    --shadow-card:   0 18px 44px -28px oklch(0.24 0.015 30 / 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  margin: 0;
}
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-pad { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-border { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; color: var(--bg); }

/* ---- Header --------------------------------------------------------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  max-width: var(--max-width); margin: 0 auto;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: #144C4C; }
.logo svg { display: block; flex: 0 0 auto; }
.logo-word { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; line-height: 1; color: #144C4C; }
.logo-word em { color: #9E2438; font-style: italic; }
.logo-word.small { font-size: 17px; }

.main-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.main-nav a:not(.btn-dark) { color: var(--ink-label); }
.main-nav a:not(.btn-dark):hover { color: var(--ink); }
.main-nav a[aria-current="page"]:not(.btn-dark) { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: none; border: 1px solid var(--line);
  border-radius: 9px; cursor: pointer; flex: 0 0 auto;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 200ms ease, opacity 200ms ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .site-header { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 4px; margin-top: 8px; font-size: 16px;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a:not(.btn-dark) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"]:not(.btn-dark) { border-bottom: 1px solid var(--line); }
  .main-nav .btn-dark { margin-top: 10px; padding: 14px 20px; }
}

/* ---- Knappar ------------------------------------------------------- */
.btn-dark, .btn-primary, .btn-outline-teal, .btn-link {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  font-family: Manrope, sans-serif; font-weight: 700; cursor: pointer; border: none;
}
.btn-dark { background: var(--dark); color: var(--bg); padding: 11px 20px; border-radius: 8px; font-size: 15px; }
.btn-dark:hover { background: var(--dark-hover); color: var(--bg); }
.btn-primary { background: var(--accent); color: var(--accent-text); padding: 16px 26px; border-radius: var(--radius-input); font-size: 16px; }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn-outline-teal { background: transparent; color: var(--bg); border: 1px solid var(--teal-border); padding: 16px 26px; border-radius: var(--radius-input); font-size: 16px; }
.btn-outline-teal:hover { border-color: var(--teal-border-hover); background: var(--teal-hover-bg); color: var(--bg); }
.btn-link { font-size: 16px; border-bottom: 2px solid var(--accent); padding-bottom: 3px; border-radius: 0; background: none; }
.btn-link:hover { color: var(--accent); border-color: var(--accent-hover); }
form .btn-primary { width: 100%; margin-top: 6px; padding: 15px 20px; font-size: 16px; border: none; }

/* ---- Etiketter / badges ------------------------------------------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.kicker-badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg); background: var(--teal); padding: 7px 13px; border-radius: var(--radius-pill);
}
.pill {
  display: inline-flex; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 600;
  background: var(--teal-light); border: 1px solid var(--teal-border); padding: 9px 14px; border-radius: var(--radius-pill);
}
.chip {
  display: inline-flex; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 600;
  background: var(--chip-bg); border: 1px solid var(--chip-border); padding: 9px 14px; border-radius: var(--radius-pill);
}

/* ---- Hero -------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(32px, 6vw, 56px); padding-bottom: clamp(56px, 8vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: clamp(36px, 6vw, 72px); align-items: start; }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 330px; pointer-events: none; overflow: hidden; opacity: 0.32; }
.hero-skyline-row { position: absolute; left: 40px; right: 40px; bottom: 0; display: flex; align-items: flex-end; gap: 0; }
.hero-skyline-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 165px; background: linear-gradient(to top, var(--bg) 0%, rgba(247,243,236,0.55) 62%, rgba(247,243,236,0) 100%); }
.house { position: relative; }
.house-window { position: absolute; width: 22px; height: 26px; border-radius: 1px; background: var(--bg); }
.house-body { background: var(--teal); }
.house-chimney { position: absolute; background: var(--teal); }
.house-roof { position: absolute; background: var(--teal); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.hero-intro { position: relative; padding-top: 24px; }
.hero-intro h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; margin-top: 22px; }
.hero-intro h1 em { color: var(--accent); font-style: italic; }
.hero-intro > p { font-size: 19px; line-height: 1.6; color: var(--ink-body); margin-top: 22px; max-width: 30em; }
.feature-list { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.feature-list li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.feature-list li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--accent); }

@media (max-width: 760px) {
  .hero-skyline { display: none; }
}

/* ---- Offertformulär -------------------------------------------- */
.quote-panel { position: relative; }
.quote-panel-backdrop { position: absolute; inset: -28px -28px auto -28px; height: 240px; background: var(--teal); border-radius: 20px; }
.quote-card { position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(20px, 5vw, 34px); box-shadow: var(--shadow-card); }
.quote-card h2 { font-family: Manrope, sans-serif; font-size: 23px; font-weight: 700; letter-spacing: -0.015em; }
.quote-card > p { font-size: 15px; line-height: 1.55; color: var(--ink-body); margin: 9px 0 26px; }

form { display: grid; gap: 15px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(132px, 100%), 1fr)); gap: 15px; }
label.field { display: grid; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink-label); }
label.field .optional { font-weight: 500; color: var(--ink-lighter); }
.field input, .field textarea, .field select {
  font-family: Manrope, sans-serif; font-size: 15px; font-weight: 500; width: 100%; min-width: 0;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-input);
  background: var(--bg); color: var(--ink); outline: none;
}
.field textarea { line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: var(--bg-card); }

.checkbox-group { display: grid; gap: 9px; min-width: 0; }
.checkbox-group > span { font-size: 13px; font-weight: 600; color: var(--ink-label); }
.checkbox-row { display: flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.checkbox-row input, .consent input { accent-color: var(--accent); width: 15px; height: 15px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-faint); margin-top: 3px; }
.consent input { margin-top: 2px; flex: 0 0 auto; }
.form-note { font-size: 12.5px; color: var(--ink-body); margin: 2px 0 0; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Om uppdraget --------------------------------------------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-grid h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.12; margin-top: 16px; }
.about-grid > div:first-child > p { font-size: 17px; line-height: 1.65; color: var(--ink-body); margin-top: 18px; max-width: 30em; }
.pill-list { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }

.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: end; }
.about-skyline { background: var(--teal-light); border-radius: var(--radius-card); height: 340px; position: relative; overflow: hidden; }
.about-skyline-row { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.about-house-window { width: 16px; height: 20px; border-radius: 1px; background: var(--bg-card); }
.about-house-body { background: var(--teal); }
.about-house-roof { position: absolute; background: var(--teal); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.stat-stack { display: grid; gap: 22px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; }
.stat-card-dark { background: var(--ink); color: #f4f1ec; border-radius: var(--radius-card); padding: 22px; }
.stat-label { font-size: 13px; font-family: ui-monospace, monospace; }
.stat-card .stat-label { color: var(--ink-body); }
.stat-card-dark .stat-label { color: #b7b1a8; }
.stat-value { font-family: Newsreader, Georgia, serif; font-size: 32px; margin-top: 6px; }
.stat-bars { display: grid; gap: 8px; margin-top: 18px; }
.stat-bar { height: 10px; border-radius: var(--radius-pill); background: var(--line); }
.stat-bar.filled { background: var(--accent); width: 62%; }
.stat-card-dark .stat-bar.filled { height: 5px; margin-top: 18px; width: 100%; }

@media (max-width: 640px) {
  .about-visual { grid-template-columns: 1fr; }
  .about-skyline { height: 240px; }
}

/* ---- Sektionshuvud ------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.12; margin-top: 16px; }

/* ---- Steg -------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; margin-top: 48px; }
.step-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(22px, 4.5vw, 32px); }
.step-num { font-family: Newsreader, Georgia, serif; font-size: 40px; color: var(--accent); line-height: 1; }
.step-card h3 { font-family: Manrope, sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-top: 18px; }
.step-card p { font-size: 16px; line-height: 1.6; color: var(--ink-body); margin-top: 10px; }

/* ---- Artikelkort ----------------------------------------- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px; margin-top: 48px; }
.post-card { display: grid; gap: 18px; color: inherit; }
.post-card:hover { color: inherit; }
.post-card[hidden] { display: none; }
.post-thumb {
  aspect-ratio: 1 / 1; border-radius: var(--radius-card);
  background: repeating-linear-gradient(135deg, var(--teal-light) 0 10px, var(--line) 10px 20px);
  border: 1px solid var(--line); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-thumb span.placeholder-text { font-family: ui-monospace, monospace; font-size: 12.5px; color: var(--ink-faint); text-align: center; padding: 16px; }
.post-thumb .post-category {
  position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--bg-card); color: var(--accent); padding: 6px 11px; border-radius: var(--radius-pill); z-index: 1;
}
.post-card h2, .post-card h3 { font-family: Newsreader, Georgia, serif; font-size: 25px; line-height: 1.22; letter-spacing: -0.01em; }
.post-card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-body); margin-top: 10px; }
.post-meta { font-family: ui-monospace, monospace; font-size: 12.5px; color: var(--ink-body); margin-top: 14px; }

/* ---- Kategorifilter (guider) --------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.filter-bar button {
  font-family: Manrope, sans-serif; cursor: pointer; display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 14px; font-weight: 600; background: var(--bg-card); color: var(--ink-2);
  border: 1px solid var(--line); padding: 9px 16px; border-radius: var(--radius-pill);
}
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.is-active { background: var(--dark); color: var(--bg); border-color: var(--dark); font-weight: 700; }

/* ---- FAQ ---------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(36px, 6vw, 72px); align-items: start; }
.faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; padding: 24px 0; margin: 0; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 20px; justify-content: space-between; font: inherit; color: #1A1A1A;
}
.faq-q:hover { color: var(--accent); }
.faq-q h3 { font-family: Manrope, sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: inherit; }
.faq-icon { flex: 0 0 auto; color: var(--ink-muted); transform: rotate(0deg); transition: transform 260ms ease, color 260ms ease; }
.faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms ease, opacity 200ms ease; opacity: 0; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-wrap p { font-size: 16px; line-height: 1.65; color: var(--ink-body); margin: 0 0 24px; max-width: 44em; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-item.is-open .faq-answer-wrap { grid-template-rows: 1fr; opacity: 1; }
.faq-item:not(.is-open) .faq-answer-wrap p { margin-bottom: 0; }

/* ---- CTA-block -------------------------------------- */
.cta-panel {
  background: var(--teal); border-radius: var(--radius-block);
  padding: clamp(34px, 7vw, 72px) clamp(22px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 5vw, 56px); align-items: center;
}
.cta-panel h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; color: var(--bg); }
.cta-panel > div:first-child > p { font-size: 18px; line-height: 1.6; color: var(--teal-text); margin-top: 16px; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; }
.cta-bars div { border-radius: 4px 4px 0 0; }

/* ---- Artikelsida --------------------------------- */
.article-wrap { max-width: var(--max-width); margin: 0 auto; padding: clamp(24px, 5vw, 40px) var(--gutter) 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--accent); font-weight: 700; }
.article-title { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.08; margin: 18px 0 0; max-width: 17em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; font-family: ui-monospace, monospace; font-size: 13px; color: var(--ink-muted); }
.article-hero {
  margin-top: 36px; aspect-ratio: 21 / 8; border-radius: var(--radius-panel);
  background: repeating-linear-gradient(135deg, var(--chip-bg) 0 12px, var(--line) 12px 24px);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace; font-size: 13px; color: var(--ink-faint); text-align: center; padding: 16px; overflow: hidden;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(40px, 6vw, 64px); margin-top: 56px; align-items: start; }
.prose { max-width: 40em; }
.prose > p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink-2); }
.prose h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.015em; margin: 44px 0 0; }
.prose p { font-size: 17.5px; line-height: 1.7; color: var(--ink-body); margin: 14px 0 0; }
.prose ul, .prose ol { margin: 20px 0 0; padding-left: 22px; display: grid; gap: 12px; font-size: 17.5px; line-height: 1.65; color: var(--ink-body); }
.prose blockquote {
  margin: 36px 0 0; border-left: 3px solid var(--accent); padding: 4px 0 4px 22px;
}
.prose blockquote p { font-family: Newsreader, Georgia, serif; font-size: 24px; line-height: 1.35; margin: 0; color: var(--ink); }
.article-tags { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

.article-aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.aside-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 28px; box-shadow: var(--shadow-card); }
.aside-form h2 { font-family: Manrope, sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.aside-form > p { font-size: 14.5px; line-height: 1.55; color: var(--ink-faint); margin: 9px 0 22px; }
.aside-form form { gap: 13px; }
.aside-read { background: var(--teal); border-radius: var(--radius-panel); padding: 24px; }
.aside-read > div:first-child { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); }
.aside-read-links { display: grid; gap: 14px; margin-top: 16px; }
.aside-read-links a { font-family: Newsreader, Georgia, serif; font-size: 19px; line-height: 1.3; color: var(--bg); }
.aside-read-links a:hover { color: var(--teal-text); }

@media (max-width: 760px) {
  .article-aside { position: static; }
}

/* ---- "Fler guider" ------------------------------ */
.more-guides { max-width: var(--max-width); margin: 0 auto; padding: clamp(52px, 8vw, 88px) var(--gutter) clamp(56px, 8vw, 96px); }
.more-guides-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.more-guides-head h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.14; }
.more-guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px; margin-top: 40px; }
.more-guides-grid a { display: grid; gap: 16px; color: inherit; }
.more-guides-grid h3 { font-size: 24px; line-height: 1.24; }

/* ---- Enkla innehållssidor (policy, tack, 404) --- */
.simple-page { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) var(--gutter); }
.simple-page h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; }
.simple-page h2 { font-size: 26px; margin-top: 40px; }
.simple-page p, .simple-page li { font-size: 17px; line-height: 1.7; color: var(--ink-body); margin-top: 14px; }
.simple-page ul { padding-left: 22px; }
.simple-page .lead { font-size: 20px; color: var(--ink-2); margin-top: 20px; }
.simple-page .meta-updated { font-family: ui-monospace, monospace; font-size: 13px; color: var(--ink-muted); margin-top: 18px; }
.simple-page .btn-primary { margin-top: 32px; }

/* ---- Grid för kort på om/samarbeta -------------- */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 22px; margin-top: 36px; }
.benefit-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px; }
.benefit-card h3 { font-family: Manrope, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.benefit-card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-body); margin-top: 10px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(36px, 6vw, 64px); align-items: start; }
.panel-teal { background: var(--teal); border-radius: var(--radius-block); padding: clamp(26px, 5vw, 44px); }
.panel-teal h2, .panel-teal h3 { color: var(--bg); }
.panel-teal p { color: var(--teal-text); }
.panel-teal .field input, .panel-teal .field textarea, .panel-teal .field select { background: rgba(255,255,255,0.06); color: var(--bg); border-color: var(--teal-border); }
.panel-teal label.field { color: var(--teal-text); }
.panel-teal .consent { color: var(--teal-text); }

/* ---- Footer ----------------------------------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-row {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter); max-width: var(--max-width); margin: 0 auto;
  font-size: 14px; color: var(--ink-muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 26px; align-items: center; }
.footer-links a { color: var(--ink-muted); }
.footer-links a:hover { color: var(--accent); }

/* =========================================================================
   Tillägg — artikel v2, jämförelsetabell, artikel-FAQ, kontaktsida, policy
   ========================================================================= */

/* Artikelbild (figure) */
.article-figure { margin: 36px 0 0; }
.article-figure img {
  width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover;
  border-radius: var(--radius-panel); border: 1px solid var(--line); display: block;
}
.article-figure figcaption { font-family: ui-monospace, monospace; font-size: 12px; color: var(--ink-muted); margin-top: 10px; }
@media (max-width: 640px) { .article-figure img { aspect-ratio: 16 / 10; } }

.prose h3 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 23px; line-height: 1.25; letter-spacing: -0.01em; margin: 30px 0 0; }
.prose ol { list-style: decimal; }
.prose li strong { color: var(--ink); }
.prose .lead-para { font-size: 20px; line-height: 1.6; color: var(--ink-2); }

/* Jämförelsetabell */
.cmp { margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--bg-card); }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row > div { padding: 14px 16px; font-size: 15px; line-height: 1.5; color: var(--ink-body); min-width: 0; }
.cmp-row > div:first-child { font-weight: 700; color: var(--ink); background: var(--bg); }
.cmp-row.cmp-head > div { font-family: Manrope, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-label); background: var(--bg); }
.cmp-label { display: none; font-weight: 700; color: var(--ink); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 620px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row + .cmp-row { border-top: 2px solid var(--line); }
  .cmp-row > div + div { border-top: 1px solid var(--line); }
  .cmp-row.cmp-head { display: none; }
  .cmp-row > div:first-child { font-size: 15px; }
  .cmp-label { display: block; }
}

/* "Nästa steg"-band på artiklar */
.next-step {
  background: var(--teal); border-radius: var(--radius-block);
  padding: clamp(30px, 6vw, 56px) clamp(22px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.next-step .eyebrow { color: var(--teal-text); }
.next-step h2 { color: var(--bg); font-size: clamp(26px, 3vw, 36px); line-height: 1.14; margin-top: 10px; }
.next-step p { color: var(--teal-text); font-size: 16.5px; line-height: 1.6; margin: 0 0 20px; }

/* Kontaktsida */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; margin-top: 8px; }
.contact-cards .benefit-card h3 { font-family: Manrope, sans-serif; font-size: 15px; letter-spacing: 0.02em; }
.contact-email { margin-top: 24px; }
.contact-email .stat-label { font-family: ui-monospace, monospace; font-size: 12.5px; color: var(--ink-muted); }
.contact-email a { font-family: Newsreader, Georgia, serif; font-size: 24px; }

/* Policy-sidan */
.policy { max-width: 820px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) var(--gutter); }
.policy h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; }
.policy > p { font-size: 17px; line-height: 1.7; color: var(--ink-body); margin-top: 16px; }
.policy section { margin-top: 40px; }
.policy h2 { font-size: 25px; margin-bottom: 6px; }
.policy h3 { font-family: Manrope, sans-serif; font-size: 16px; font-weight: 700; margin-top: 20px; }
.policy p, .policy li { font-size: 16px; line-height: 1.7; color: var(--ink-body); margin-top: 12px; }
.policy ul { padding-left: 22px; }
.policy .meta-updated { font-family: ui-monospace, monospace; font-size: 13px; color: var(--ink-muted); margin-top: 14px; }
.policy .contact-box { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg-card); font-size: 15px; }
.policy .todo-box { margin-top: 18px; padding: 14px 18px; border: 1px solid var(--chip-border); border-radius: var(--radius-card); background: var(--chip-bg); font-size: 15px; color: var(--ink-body); }
.policy-table { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--bg-card); }
.policy-table .pt-row { display: grid; grid-template-columns: 1fr 2fr; }
.policy-table .pt-row.pt-3 { grid-template-columns: 1fr 2fr 1fr; }
.policy-table .pt-row + .pt-row { border-top: 1px solid var(--line); }
.policy-table .pt-row > div { padding: 12px 15px; font-size: 14.5px; line-height: 1.55; color: var(--ink-body); }
.policy-table .pt-row.pt-head > div { font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-label); background: var(--bg); }
@media (max-width: 560px) {
  .policy-table .pt-row, .policy-table .pt-row.pt-3 { grid-template-columns: 1fr; }
  .policy-table .pt-row > div + div { border-top: 1px solid var(--line); }
  .policy-table .pt-row.pt-head { display: none; }
}

.article-standfirst {
  font-size: 20px; line-height: 1.6; color: var(--ink-2);
  margin: 16px 0 0; max-width: 40em;
}
.more-guides-grid .post-thumb { aspect-ratio: 16 / 10; }

/* ---- Cookiesamtycke ---------------------------------------- */
#cookie-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 200; width: calc(100% - 32px); max-width: 620px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-panel);
  box-shadow: 0 22px 50px -20px rgba(43,38,34,0.45);
  padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
}
#cookie-bar p { font-size: 14px; line-height: 1.55; color: var(--ink-body); flex: 1 1 260px; margin: 0; }
.cookie-bar-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-bar-actions .btn-dark, .cookie-bar-actions .btn-primary { padding: 10px 18px; font-size: 14px; }
@media (max-width: 480px) {
  #cookie-bar { bottom: 0; width: 100%; border-radius: var(--radius-panel) var(--radius-panel) 0 0; border-bottom: 0; }
  .cookie-bar-actions { width: 100%; }
  .cookie-bar-actions button { flex: 1; }
}
