/* Självhostade typsnitt — inga anrop till Google. Genererade från Google Fonts woff2. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spectral-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spectral-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/spectral-500-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/spectral-500-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spectral-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spectral-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/spectral-500-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/spectral-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/spectral-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/spectral-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   Adressrapporten — editorial landing page
   Serif display (Spectral) + sans body (Hanken Grotesk) + mono labels (IBM Plex Mono)
   Warm off-white, muted green/teal. Mobile-first.
   ============================================================ */

:root {
  /* surfaces — warm, low saturation */
  --bg:        #f6f5f1;
  --surface:   #fffdf9;
  --surface-2: #f0eee7;
  --surface-3: #e9e6dd;

  /* ink */
  --ink:   #1d1c18;
  --ink-2: #4d4b44;
  --ink-3: #87847b;
  --line:  #e2dfd6;
  --line-2:#d4d0c4;

  /* accents — option 1: muted green primary + tealblue secondary */
  --green:      #2f5d50;
  --green-deep: #264b41;
  --green-soft: #e4ece8;
  --teal:       #1f4a5c;
  --teal-soft:  #e2eaee;

  --accent:      var(--green);
  --accent-deep: var(--green-deep);
  --accent-soft: var(--green-soft);

  /* risk flags — muted */
  --flag-green: #3f7356;
  --flag-amber: #9c7426;
  --flag-red:   #9a463a;

  /* type */
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --maxw: 1080px;
  --textw: 640px;
  --pad: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

/* ---------- shared structure ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}

.lead { color: var(--ink-2); font-size: clamp(17px, 2.1vw, 19px); max-width: 52ch; }

/* ---------- source stamp (recurring element) ---------- */
.stamp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.stamp b {
  color: var(--accent-deep);
  font-weight: 600;
}
.stamp .src {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  background: var(--accent-soft);
  border-radius: 4px;
  color: var(--accent-deep);
  font-weight: 600;
}
.stamp .upd { color: var(--ink-3); }
.stamp .dot { color: var(--line-2); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 0;
  border-radius: 9px;
  padding: 15px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn--sm { padding: 11px 16px; font-size: 14.5px; border-radius: 8px; }
.btn--block { width: 100%; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__pin {
  width: 22px; height: 22px; flex: none;
  display: grid; place-items: center;
  color: var(--accent);
}
.brand__name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.topbar .btn { padding: 10px 16px; font-size: 14.5px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__map {
  position: absolute; inset: 0;
  background-image: var(--map-grid);
  background-size: 360px 360px;
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
}
.hero__inner { position: relative; padding-block: clamp(48px, 8vw, 92px); }
.hero h1 {
  font-size: clamp(38px, 7.2vw, 70px);
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-top: 22px;
}
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero__sub {
  margin-top: 24px;
  font-size: clamp(17px, 2.3vw, 20px);
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.55;
}

/* address form */
.finder {
  margin-top: 34px;
  max-width: 540px;
}
.finder__field {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 13px;
  padding: 7px 7px 7px 7px;
  box-shadow: 0 8px 30px -18px rgba(38,75,65,.35);
  flex-wrap: wrap;
}
.finder__field:focus-within { border-color: var(--accent); box-shadow: 0 8px 34px -16px rgba(47,93,80,.5); }
.finder__input-wrap { flex: 1 1 220px; display: flex; align-items: center; gap: 11px; padding-left: 12px; min-width: 0; }
.finder__input-wrap svg { color: var(--ink-3); flex: none; }
.finder input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-family: var(--sans); font-size: 16.5px; color: var(--ink);
  padding: 13px 0;
}
.finder input::placeholder { color: var(--ink-3); }
.finder .btn { flex: 0 0 auto; }

/* Adress-autocomplete dropdown (Google Places via /api/autocomplete). */
.finder__field { position: relative; }
.ac-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 30;
  margin: 0; padding: 5px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  box-shadow: 0 18px 40px -18px rgba(38,75,65,.45);
  max-height: 320px; overflow-y: auto;
}
.ac-item {
  padding: 11px 12px;
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ac-item:hover, .ac-item.is-active { background: var(--surface); color: var(--accent-deep); }
.finder__note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
}
.finder__note b { color: var(--accent-deep); font-weight: 600; }
.finder__note .sep { color: var(--line-2); }

/* transparent pris-/modellrad i hero */
.hero__model { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); max-width: 46ch; }
.hero__model [data-price] { color: var(--accent-deep); font-weight: 600; }

/* hero map placeholder card (desktop) */
.hero__grid { display: grid; gap: 40px; }
.hero__aside { display: none; }

/* map placeholder */
.mapholder {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 11px, var(--surface-3) 11px 22px);
  min-height: 220px;
  display: grid;
  place-items: center;
}
.mapholder::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.mapholder__pin {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  transform: translate(-50%, -160%);
  color: var(--accent);
}
/* Live: riktig kartbild (background sätts inline av app.js). Dölj dekor-pinnen
   (kartan har egen nål) och flytta etiketten till nederkant. */
.mapholder--live { background-size: cover; background-position: center; }
.mapholder--live .mapholder__pin { display: none; }
.mapholder--live::after { align-self: end; justify-self: start; margin: 10px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem h2 { font-size: clamp(28px, 5vw, 44px); max-width: 18ch; }
.problem__scatter {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
}
.chip--ghost { opacity: 0.55; }
.problem__arrow { color: var(--ink-3); font-size: 20px; padding-inline: 4px; }
.problem__resolve {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 27px);
  color: var(--ink);
  max-width: 24ch;
}
.problem__resolve b { color: var(--accent-deep); font-weight: 500; font-style: italic; }

/* ============================================================
   EXAMPLE REPORT
   ============================================================ */
.report__head { max-width: 56ch; }
.report__head h2 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 16px; }

.card {
  margin-top: 38px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 30px 60px -42px rgba(38,60,55,.45);
  overflow: hidden;
  max-width: 720px;
}

/* card header */
.card__head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background:
    var(--map-grid-soft),
    var(--surface);
  background-size: 200px 200px, auto;
  flex-wrap: wrap;
}
.card__addr { min-width: 0; }
.card__addr .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.card__addr h3 { font-size: 24px; margin-top: 6px; }
.card__addr .meta { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.card__thumb {
  width: 96px; height: 70px; flex: none;
  border-radius: 9px;
}
.card__thumb.mapholder { min-height: 0; }
.card__thumb.mapholder::after { font-size: 9px; padding: 3px 6px; }
.card__thumb .mapholder__pin { width: 13px; height: 13px; }

/* rows */
.rows { position: relative; }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row__main { min-width: 0; }
.row__title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.row__title .k { font-size: 16px; font-weight: 600; color: var(--ink); }
.row__title .desc { font-size: 13.5px; color: var(--ink-3); }
.row__stamp { margin-top: 9px; }

/* the visualization cell sits right */
.row__viz { display: flex; align-items: center; gap: 14px; justify-self: end; }
.bigval { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink); white-space: nowrap; }
.bigval small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); font-weight: 500; }

/* trend */
.trend { display: inline-flex; align-items: center; gap: 9px; }
.trend__spark { display: block; }
.trend__delta { font-family: var(--mono); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.trend--down .trend__delta { color: var(--flag-green); }
.trend--up   .trend__delta { color: var(--flag-red); }

/* school bar */
.meritbar { width: 132px; }
.meritbar .scale { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meritbar .scale > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.meritbar .cap { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }

/* risk flag */
.flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid;
}
.flag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.flag--low  { color: var(--flag-green); border-color: color-mix(in srgb, var(--flag-green) 35%, var(--line)); background: color-mix(in srgb, var(--flag-green) 8%, var(--surface)); }
.flag--low::before  { background: var(--flag-green); }
.flag--mid  { color: var(--flag-amber); border-color: color-mix(in srgb, var(--flag-amber) 35%, var(--line)); background: color-mix(in srgb, var(--flag-amber) 8%, var(--surface)); }
.flag--mid::before  { background: var(--flag-amber); }
.flag--high { color: var(--flag-red); border-color: color-mix(in srgb, var(--flag-red) 35%, var(--line)); background: color-mix(in srgb, var(--flag-red) 8%, var(--surface)); }
.flag--high::before { background: var(--flag-red); }

/* yes/no pill */
.yn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.yn svg { color: var(--accent); }

/* ----- LOCKED rows + paywall ----- */
.rows__locked { position: relative; }
.row--locked .row__main,
.row--locked .row__viz { transition: filter .2s ease; }

/* lock style = blur */
.row--locked .row__main,
.row--locked .row__viz { filter: blur(5px); opacity: .8; user-select: none; }

.viz-content { display: contents; }

/* paywall overlay */
.paywall {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 20%, transparent) 0%, color-mix(in srgb, var(--surface) 78%, transparent) 42%, var(--surface) 100%);
}
.paywall__lock {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.paywall h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0; }
.paywall p { font-size: 14.5px; color: var(--ink-2); max-width: 34ch; }
.paywall .btn { margin-top: 4px; }
.paywall .price-mini { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--ink-3); text-transform: uppercase; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; gap: 18px; margin-top: 38px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step__num {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
  flex: none;
  width: 44px;
}
.step h3 { font-size: 20px; margin-bottom: 7px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ============================================================
   SOURCES
   ============================================================ */
.sources__grid {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  grid-template-columns: 1fr;
}
.src-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
}
.src-card .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 5px;
  display: inline-block;
}
.src-card h3 { font-family: var(--sans); font-weight: 700; font-size: 16px; margin: 14px 0 5px; }
.src-card p { font-size: 14px; color: var(--ink-2); }

.disclaimer {
  margin-top: 34px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 22px 24px;
  border-radius: 0 12px 12px 0;
}
.disclaimer p { font-family: var(--serif); font-size: clamp(18px, 2.6vw, 23px); color: var(--ink); }
.disclaimer .who { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--accent-deep); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); }
.pricing__top { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-end; justify-content: space-between; }
.pricing .eyebrow { color: color-mix(in srgb, #fff 78%, var(--accent)); }
.pricing .eyebrow::before { background: color-mix(in srgb, #fff 60%, var(--accent)); }
.pricing h2 { color: #fff; font-size: clamp(30px, 5vw, 46px); max-width: 16ch; }
.pricing__price { text-align: left; }
.pricing__amount { font-family: var(--serif); font-size: clamp(48px, 9vw, 76px); line-height: 1; }
.pricing__amount sup { font-size: .4em; vertical-align: super; font-family: var(--sans); }
.pricing__unit { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, #fff 72%, transparent); margin-top: 8px; }
.pricing__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 560px; }
.pricing__list li { display: flex; gap: 12px; align-items: flex-start; color: color-mix(in srgb, #fff 88%, transparent); font-size: 15.5px; }
.pricing__list svg { flex: none; margin-top: 3px; color: color-mix(in srgb, #fff 75%, var(--accent)); }
.pricing__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pricing .btn--primary { background: #fff; color: var(--accent-deep); }
.pricing .btn--primary:hover { background: #f1efe9; }
.pricing__cta .free { font-size: 14px; color: color-mix(in srgb, #fff 78%, transparent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 0; margin-top: 30px; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--serif);
  font-size: clamp(18px, 2.6vw, 22px);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary .ico::before,
.faq summary .ico::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .2s ease; }
.faq summary .ico::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq summary .ico::after  { top: 2px; left: 10px; width: 2px; height: 18px; }
.faq details[open] summary .ico::after { transform: scaleY(0); }
.faq__a { padding: 0 4px 24px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }
.faq__a .stamp { margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 52px; }
.footer__grid { display: grid; gap: 32px; }
.footer__brand .brand__name { font-size: 22px; }
.footer__tagline { color: var(--ink-2); font-size: 14.5px; margin-top: 12px; max-width: 40ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer__cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; font-weight: 600; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.footer__cols a:hover { color: var(--accent-deep); }
.footer__sources { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; line-height: 2; }
.footer__base { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer__base small { color: var(--ink-3); font-size: 13px; }
.footer__base .disc { font-style: italic; color: var(--ink-2); font-family: var(--serif); font-size: 15px; }

/* ============================================================
   RESPONSIVE — tablet / desktop
   ============================================================ */
@media (min-width: 760px) {
  .sources__grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .hero__aside { display: block; }
  .pricing__top { flex-wrap: nowrap; }
}

/* ============================================================
   SCOPE TAGS (area vs address)
   ============================================================ */
.scope {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.5;
  white-space: nowrap;
  font-weight: 500;
}
.scope--area { color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, var(--surface)); }
.scope--addr { color: var(--accent-deep); background: var(--accent-soft); }

.card__scopehint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}

/* ============================================================
   MISSING-DATA STATE
   ============================================================ */
.row--missing {
  background:
    repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--surface-2) 55%, transparent) 9px 10px);
}
.row--missing .row__title .k { color: var(--ink-2); }
.nodata {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.nodata::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px dashed var(--ink-3);
  flex: none;
}
.stamp .src--empty { background: var(--surface-2); color: var(--ink-3); }

/* "översiktlig" qualifier beside area-level risk values */
.vizgroup { display: inline-flex; align-items: center; gap: 8px; }
.approx {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* example divider before the missing-data demo row */
.rows__note {
  grid-column: 1 / -1;
  padding: 11px 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: color-mix(in srgb, var(--surface-2) 50%, transparent);
}

/* ============================================================
   "SÅ FÅR VI VÅR DATA" BLOCK
   ============================================================ */
.dataflow {
  margin-top: 40px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  max-width: 720px;
}
.dataflow h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 8px; }
.dataflow p { font-size: 14.5px; color: var(--ink-2); max-width: 68ch; line-height: 1.55; }
.dataflow__pills { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.dataflow__pills span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 6px;
}

/* ============================================================
   SECONDARY EMAIL CATCHER (subordinate to purchase CTA)
   ============================================================ */
.catcher {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 20px 24px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  max-width: 720px;
}
.catcher__txt h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 0 0 3px; }
.catcher__txt p { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.catcher form { display: flex; gap: 8px; flex-wrap: wrap; }
.catcher input {
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: 9px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  min-width: 210px;
  flex: 1 1 210px;
}
.catcher input::placeholder { color: var(--ink-3); }
.catcher input:focus { outline: 0; border-color: var(--accent); }
.catcher .btn--ghost { white-space: nowrap; }

/* footer legal disclaimer */
.footer__legal { margin-top: 30px; font-size: 13px; color: var(--ink-3); max-width: 74ch; line-height: 1.6; }

/* ============================================================
   LIVE REPORT MODE (Step 2) — real data rendered into the card.
   The paywall + blur return with Stripe in Step 3.
   ============================================================ */
.card--live .row--locked .row__main,
.card--live .row--locked .row__viz { filter: none; opacity: 1; user-select: auto; }
.card--live .paywall { display: none; }
/* hide the static example demo rows as soon as a real address is searched */
.card--searched #row-note,
.card--searched #row-missing { display: none; }

/* demografi "vilka bor här" — kompakt mini-statrutnät i viz-cellen */
.statgrid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 18px;
  justify-content: end;
}
.stat { display: flex; flex-direction: column; align-items: flex-end; }
.stat__v { font-family: var(--serif); font-size: 17px; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.stat__l { font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 620px) { .statgrid { justify-content: start; } .stat { align-items: flex-start; } }

/* lås-platshållare i smakprovet (låst rad: etikett + källa + låsikon, ingen siffra) */
.lockmark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  color: var(--ink-3);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}

/* hederlig täckningsnotis i paywallen ("saknar X av Y uppgifter") */
.paywall__coverage {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 12px;
  max-width: 40ch;
}
.paywall__coverage--warn {
  color: var(--flag-amber);
  background: color-mix(in srgb, var(--flag-amber) 8%, var(--surface));
  border-color: color-mix(in srgb, var(--flag-amber) 35%, var(--line));
}

/* inline statusrad (fel/meddelanden, aria-live) — ersätter alert() */
.app-status {
  margin-top: 10px;
  min-height: 1em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--flag-red);
}
.app-status:empty { display: none; }

/* roadmap-notis i källsektionen */
.sources__roadmap {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  max-width: 60ch;
}

/* "Spara som PDF" — visas först när rapporten är upplåst */
.pdf-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.pdf-actions .pdf-note {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* print-only element (dolt på skärm, visas i utskrift/PDF) */
.print-only { display: none; }

/* ============================================================
   PRINT / "SPARA SOM PDF" — ren A4-rapport (bara kortet), scoped
   till body.unlocked så landningssidans utskrift inte påverkas.
   ============================================================ */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  body.unlocked { background: #fff; }
  body.unlocked .topbar,
  body.unlocked .hero,
  body.unlocked .problem,
  body.unlocked .how,
  body.unlocked .sources,
  body.unlocked #pris,
  body.unlocked .faq-section,
  body.unlocked .footer,
  body.unlocked .report__head,
  body.unlocked .dataflow,
  body.unlocked .catcher,
  body.unlocked .pdf-actions,
  body.unlocked .paywall { display: none !important; }

  body.unlocked .print-only { display: block !important; }

  body.unlocked .section.report { padding: 0 !important; border: 0 !important; }
  body.unlocked .card {
    box-shadow: none !important;
    border: 1px solid var(--line-2) !important;
    max-width: none !important;
    margin: 0 !important;
    break-inside: avoid;
  }
  body.unlocked .row { break-inside: avoid; }

  body.unlocked .print-doc-head {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
  }
  body.unlocked .print-brand { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--accent-deep); }
  body.unlocked .print-doc-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
  body.unlocked .print-doc-foot { margin-top: 16px; }
  body.unlocked .print-doc-foot p { font-size: 11px; color: var(--ink-3); line-height: 1.5; margin-top: 6px; }

  @page { size: A4 portrait; margin: 14mm 12mm; }
}

/* ============================================================
   JURIDISKA SIDOR (/integritet, /villkor, /metod)
   ============================================================ */
.legal h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 32px; }
.legal p { color: var(--ink-2); margin-top: 10px; line-height: 1.6; }
.legal ul { color: var(--ink-2); margin-top: 10px; line-height: 1.7; padding-left: 20px; }
.legal li { margin-top: 6px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-deep); text-decoration: underline; }
.legal__updated { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-3); margin-top: 8px; }

/* trygghetsrad i pris-sektionen (mörk bakgrund) + operatör i footern */
.pricing__trust {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, #fff 70%, transparent);
  max-width: 60ch;
  line-height: 1.7;
}
.footer__operator { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* "Se exempelrapport" — länk i hero + banner ovanför demo-kortet */
.hero__demo { color: var(--accent-deep); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.demo-banner {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 12px;
  max-width: 720px;
}
.demo-banner__tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--accent-deep); padding: 4px 9px; border-radius: 5px; flex: none;
}
.demo-banner__txt { font-size: 14px; color: var(--ink-2); }
.demo-banner__txt a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; }
@media print { .demo-banner { display: none !important; } }

/* ============================================================
   COOKIE-SAMTYCKE (banner)
   ============================================================ */
.cc-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--surface);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -8px 30px -20px rgba(38,60,55,.4);
}
.cc-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.cc-text { font-size: 13.5px; color: var(--ink-2); max-width: 64ch; line-height: 1.5; }
.cc-text a { color: var(--accent-deep); text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
@media (max-width: 620px) { .cc-actions { width: 100%; } .cc-actions .btn { flex: 1; } }
@media print { .cc-banner { display: none !important; } }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .btn { transition: none; }
}
