@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/fraunces-latin-ext-opsz-normal.woff2) format('woff2-variations');
  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: 'Fraunces';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/fraunces-latin-opsz-normal.woff2) format('woff2-variations');
  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: 'Fraunces';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/fraunces-latin-ext-opsz-italic.woff2) format('woff2-variations');
  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: 'Fraunces';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/fraunces-latin-opsz-italic.woff2) format('woff2-variations');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  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;
}
/* Commendo – stilmall. B1 "Indigo på sand", se DESIGN.md.
   Indigo är den enda starka färgen. Rost bara i detaljer, aprikos bara för "rekommenderad". */

:root {
  --sand: #F4EBDE;
  --sand-light: #FBF5ED;
  --card: #FFFBF5;
  --line: #E3D9CA;
  --line-strong: #CDBFAB;
  --ink: #1C1B2E;
  --muted: #58566B;
  --indigo: #33307A;
  --indigo-hover: #2A2768;
  --indigo-deep: #23214F;
  --indigo-line: #3A3770;
  --on-indigo: #F3ECE1;
  --on-indigo-muted: #C8C3DC;
  --rust: #B5522E;
  --apricot: #F2DCC6;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --section: clamp(64px, 10vw, 128px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --fs-sm: .9375rem;
  --fs-xs: .78rem;
  /* Djup: kontaktskugga, en mjuk indigoskugga under och en svag glöd runt om i indigo med en aning varm rost. Inget vitt sken. */
  --shadow-card: 0 1px 2px rgb(35 33 79 / .06), 0 22px 44px -24px rgb(35 33 79 / .26), 0 38px 90px -36px rgb(51 48 122 / .34), 0 0 72px -12px rgb(51 48 122 / .12), 0 0 90px -20px rgb(181 82 46 / .09);
  --glow-panel: 0 1px 2px rgb(35 33 79 / .05), 0 24px 56px -30px rgb(51 48 122 / .34), 0 0 60px -14px rgb(51 48 122 / .1), 0 0 76px -18px rgb(181 82 46 / .08);
  --glow-dark: 0 1px 2px rgb(35 33 79 / .14), 0 28px 64px -26px rgb(35 33 79 / .6), 0 0 64px -14px rgb(51 48 122 / .38);
  --glow-btn: 0 1px 2px rgb(35 33 79 / .2), 0 8px 18px -8px rgb(51 48 122 / .55), 0 16px 40px -14px rgb(51 48 122 / .5), 0 0 28px -8px rgb(51 48 122 / .32), inset 0 1px 0 rgb(255 255 255 / .16);
  --glow-btn-hover: 0 1px 2px rgb(35 33 79 / .22), 0 12px 26px -10px rgb(51 48 122 / .62), 0 22px 52px -14px rgb(51 48 122 / .58), 0 0 38px -8px rgb(51 48 122 / .42), inset 0 1px 0 rgb(255 255 255 / .22);
  --glow-btn-press: 0 1px 1px rgb(35 33 79 / .22), 0 4px 10px -6px rgb(51 48 122 / .5), inset 0 1px 0 rgb(255 255 255 / .08);
  --ease-press: cubic-bezier(.23, 1, .32, 1);
  --glow-warm: 0 6px 16px -10px rgb(181 82 46 / .45), 0 0 22px -10px rgb(181 82 46 / .3);
  --inset-soft: inset 0 1px 2px rgb(35 33 79 / .07);
}

/* ---------- Grund ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
  scroll-padding-top: 24px;
  scrollbar-color: var(--line-strong) var(--sand);
  interpolate-size: allow-keywords;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 540;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; font-weight: inherit; color: var(--indigo); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.015em; }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
p { text-wrap: pretty; }

a {
  color: var(--indigo);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: color .2s, text-decoration-color .2s;
}
a:hover { text-decoration-color: currentColor; }

::selection { background: var(--apricot); color: var(--indigo-deep); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--apricot); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: lining-nums tabular-nums; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--indigo); color: var(--on-indigo); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.icon {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Ordmärke, knappar, länkar ---------- */

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 72;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .dot { color: var(--rust); }
.brand { display: inline-flex; text-decoration: none; padding-block: 6px; }
.dark .wordmark { color: var(--on-indigo); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 50px; padding: 0 1.4em;
  border: 1px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--sans); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .35s var(--ease-press), transform .35s var(--ease-press);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn .icon { transition: transform .35s var(--ease-press); }
.btn-primary { background: var(--indigo); color: var(--on-indigo); box-shadow: var(--glow-btn); }
.dark .btn-light {
  background: var(--on-indigo); color: var(--indigo-deep);
  box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 12px 30px -14px rgb(242 220 198 / .4), 0 0 30px -10px rgb(242 220 198 / .3), inset 0 1px 0 rgb(255 255 255 / .6);
}
/* Hover bara med mus, så att knappar inte fastnar i hover-läge på mobilen. */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--indigo-hover); box-shadow: var(--glow-btn-hover); transform: translateY(-1px); }
  .dark .btn-light:hover {
    background: #fff; transform: translateY(-1px);
    box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 16px 40px -14px rgb(242 220 198 / .55), 0 0 40px -10px rgb(242 220 198 / .4), inset 0 1px 0 rgb(255 255 255 / .8);
  }
  .btn:hover .icon { transform: translateX(1px) rotate(-6deg); }
}
/* Trycket går snabbt in och släpper mjukt (basens längre övergång). */
.btn:active { transform: scale(.97); transition-duration: .12s; }
.btn-primary:active { background: var(--indigo-hover); box-shadow: var(--glow-btn-press); }
.dark .btn-light:active { transform: scale(.97); box-shadow: 0 1px 1px rgb(0 0 0 / .25), 0 6px 14px -10px rgb(243 236 225 / .35); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; color: var(--indigo); text-decoration: none;
  padding-block: 8px;
}
.link-arrow span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
  transition: text-decoration-color .2s;
}
.link-arrow .icon { color: var(--rust); transition: transform .35s var(--ease-out); }
.link-arrow:hover span { text-decoration-color: currentColor; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow[href^="#"]:hover .icon { transform: translateY(3px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- Sidhuvud ---------- */

.site-header {
  position: relative; z-index: 20;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgb(255 252 247 / .75), 0 14px 32px -28px rgb(35 33 79 / .35);
}
.header-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: 88px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .5em;
  padding-block: 8px;
}
.main-nav a:hover, .main-nav a[aria-current] { color: var(--indigo); text-decoration-color: currentColor; }
.header-cta { height: 44px; padding-inline: 1.2em; font-size: var(--fs-sm); }
.header-cta .kort { display: none; }

.menu { display: none; }
.menu summary {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, transform .35s var(--ease-press);
}
.menu summary:active { transform: scale(.94); transition-duration: .12s; }
.menu[open] summary { background: var(--card); }
.menu summary::-webkit-details-marker { display: none; }
.menu .icon { width: 20px; height: 20px; }
.menu .icon-close, .menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu:not([open]) .menu-panel { display: none; }
.menu-panel {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 6px);
  padding: 8px 24px 24px;
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.menu-panel li a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.4rem; color: var(--ink); text-decoration: none;
}
.menu-panel li a[aria-current] { color: var(--indigo); }
.menu-call { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 700; text-decoration: none; }
.menu-call .icon { color: var(--rust); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(24px, 4.5vw, 72px) clamp(80px, 9vw, 128px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  word-spacing: .05em;
  font-variation-settings: "opsz" 144;
}
.lede {
  margin-top: clamp(20px, 2.4vw, 30px);
  max-width: 31em;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}
.hero .actions { margin-top: clamp(28px, 3vw, 40px); }
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0;
  margin-top: 28px;
  font-size: var(--fs-sm); color: var(--muted);
}
.byline > * + *::before {
  content: ""; display: inline-block; width: 4px; height: 4px; margin-inline: 12px;
  border-radius: 50%; background: var(--rust); vertical-align: middle;
}
.byline a { color: var(--ink); font-weight: 700; text-decoration: none; }
.byline a:hover { color: var(--indigo); }

/* AI-kortet. Bladen bakom antyder att mätningen är fler frågor än en. */
.ai-stage { position: relative; isolation: isolate; width: 100%; max-width: 476px; justify-self: end; padding-bottom: 26px; }
.ai-stage::before, .ai-stage::after {
  content: ""; position: absolute; top: 48px;
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.ai-stage::before { left: 16px; right: 16px; bottom: 13px; z-index: -1; background: var(--card); }
.ai-stage::after { left: 34px; right: 34px; bottom: 0; z-index: -2; background: var(--sand-light); }

.ai-card {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 18px 20px 16px;
  box-shadow: var(--shadow-card);
}
.ai-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.ai-head-l { display: inline-flex; align-items: center; gap: 8px; }
.ai-head .icon { width: 17px; height: 17px; color: var(--indigo); }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.ai-q {
  width: fit-content; max-width: 88%;
  margin: 18px 0 20px auto; padding: 11px 15px;
  background: var(--sand); border-radius: 16px 16px 4px 16px;
  font-weight: 600; line-height: 1.45;
}
.ai-intro { margin-bottom: 10px; font-size: var(--fs-sm); color: var(--muted); }
.ai-list { display: grid; gap: 4px; }
.ai-item {
  position: relative;
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: baseline; column-gap: 10px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background-color .6s ease .8s, box-shadow .6s ease .8s;
}
.ai-n {
  grid-row: 1 / span 2;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: var(--muted);
}
.ai-name { font-weight: 700; line-height: 1.4; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; color: var(--indigo);
  transition: opacity .5s var(--ease-out) 1.05s, transform .5s var(--ease-out) 1.05s;
}
.ai-badge .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.ai-note { grid-column: 2 / -1; font-size: var(--fs-sm); line-height: 1.45; color: var(--muted); }
.ai-item.is-top { z-index: 1; background: var(--apricot); box-shadow: var(--glow-warm); }
.ai-item.is-top .ai-n, .ai-item.is-top .ai-name { color: var(--indigo); }
.is-before .ai-item { transition: none; }
.is-before .ai-badge { opacity: 0; transform: translateX(-4px); }
.ai-foot {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--muted);
}

/* ---------- Sektioner ---------- */

.section { padding-block: var(--section); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px clamp(32px, 6vw, 96px); align-items: end;
}
.section-head p { max-width: 30em; color: var(--muted); font-size: 1.08rem; }

.prose { color: var(--muted); max-width: 34em; }
.prose p + p { margin-top: 1em; }

/* Problemet */
.problem { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-text .prose { margin-top: 24px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.8vw, 20px); }
.compare-col {
  display: flex; flex-direction: column;
  padding: clamp(16px, 2.4vw, 28px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.compare-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.serp { display: grid; gap: 8px; margin-top: 16px; }
.serp li { display: grid; gap: 5px; }
.serp li::before { content: ""; width: var(--w, 70%); height: 6px; border-radius: 3px; background: var(--line-strong); }
.serp li::after { content: ""; width: 94%; height: 4px; border-radius: 2px; background: var(--line); }
.serp li:nth-child(3n + 1) { --w: 76%; }
.serp li:nth-child(3n + 2) { --w: 58%; }
.serp li:nth-child(4n) { --w: 66%; }
.names { display: grid; margin-top: 12px; }
.names li {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.names li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--indigo); }
.names .ni {
  margin-top: 10px; padding-inline: 12px;
  border: 1.5px dashed var(--rust); border-radius: var(--r-sm);
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem; line-height: 1.2; color: var(--rust);
}
.names .ni::before { background: var(--rust); }
.compare-sum { margin-top: auto; padding-top: 20px; font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.2; text-wrap: balance; }
.compare figcaption { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--muted); }

/* Så funkar det */
.how { background: var(--sand-light); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); }
.step { position: relative; display: flex; flex-direction: column; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }
.step-n {
  font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: .9;
  font-variation-settings: "opsz" 144; color: var(--indigo);
}
.step h3 { margin-top: 22px; }
.step p { margin-top: 12px; color: var(--muted); }
.step .step-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 8px;
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; color: var(--ink);
}
.step .step-meta .vat { font-family: var(--sans); }
.step .step-meta + p { margin-top: 10px; }

/* Tjänsterna */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.offer {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3.2vw, 44px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.offer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; }
.mark {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--apricot); color: var(--indigo);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .03em;
}
.offer-text { margin-top: 14px; max-width: 32em; color: var(--muted); }
.prices { margin: 28px 0 8px; border-top: 1px solid var(--line); }
.prices li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.prices strong { font-weight: 700; }
.prices .note { grid-column: 1 / -1; max-width: 34em; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.price {
  grid-column: 2; grid-row: 1; align-self: baseline;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; white-space: nowrap;
}
.offer .link-arrow { margin-top: auto; padding-top: 24px; align-self: flex-start; }
.footnote { margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); }

/* Garantin */
.guarantee { background: var(--card); border-block: 1px solid var(--line); }
.g-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.guarantee h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.75rem); line-height: 1.04; letter-spacing: -.02em; word-spacing: .05em;
  font-variation-settings: "opsz" 144;
}
.g-lead { margin-top: 28px; max-width: 30em; color: var(--muted); font-size: 1.08rem; }
/* Rubriken följer med medan man läser de längre villkoren bredvid (bara när de står i två kolumner). */
@media (min-width: 1021px) { .g-statement { position: sticky; top: 32px; } }
.terms { padding: clamp(24px, 3vw, 36px); background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg); }
.terms ol { margin-top: 14px; counter-reset: villkor; }
.terms li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line-strong); }
.terms li::before {
  counter-increment: villkor; content: counter(villkor);
  position: absolute; left: 2px; top: 12px;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--rust);
}
.terms-service { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.terms-service h3 { font-size: 1.15rem; }
.terms-service p { margin-top: 8px; color: var(--muted); }
.terms-service strong { font-weight: 700; color: var(--ink); }

/* Om Adrian */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.cards { position: relative; width: min(100% - 44px, 420px); aspect-ratio: 1.6; margin: 20px 32px 20px 12px; }
.vcard {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-md);
}
.vcard-back { background: var(--indigo-deep); transform: rotate(5deg) translate(16px, -6px); }
.vcard-front { background: var(--card); box-shadow: var(--shadow-card); transform: rotate(-2deg); }
.vcard-name { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.2; }
.vcard-role { margin-top: 2px; font-size: var(--fs-sm); color: var(--muted); }
.vcard-contact { display: grid; gap: 2px; margin-top: 14px; font-size: var(--fs-sm); }
.vcard-contact a { color: var(--ink); font-weight: 600; text-decoration: none; }
.vcard-contact a:hover { color: var(--indigo); }
.portrait img { border-radius: var(--r-lg); }
.about-text .prose { margin-top: 24px; }
.about-text .link-arrow { margin-top: 20px; }

/* Vanliga frågor */
.faq { background: var(--sand-light); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside p { margin-top: 20px; max-width: 22em; color: var(--muted); }
.qa { border-top: 1px solid var(--line-strong); }
.qa:last-child { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 500; line-height: 1.3;
  cursor: pointer; list-style: none;
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--indigo); }
.qa-icon {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--rust);
  transition: transform .4s var(--ease-out), background-color .2s;
}
.qa-icon .icon { width: 16px; height: 16px; }
.qa summary:hover .qa-icon { background: var(--card); }
.qa[open] .qa-icon { transform: rotate(45deg); }
.qa-body { max-width: 62ch; padding: 0 58px 26px 0; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .qa::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}

/* Mörk avslutning och sidfot */
.dark { background: var(--indigo-deep); color: var(--on-indigo); }
.dark h2 { color: var(--on-indigo); }
.dark h2 em { color: var(--apricot); }
.dark a { color: var(--on-indigo); }
.closing { padding-block: clamp(96px, 11vw, 152px); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(48px, 8vw, 128px); align-items: end; }
.closing h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; word-spacing: .05em; font-variation-settings: "opsz" 144; }
.closing-text { margin-top: 24px; max-width: 28em; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--on-indigo-muted); }
.closing .actions { margin-top: 36px; }
.call { font-weight: 700; text-decoration: none; color: var(--on-indigo-muted); }
.call span { color: var(--on-indigo); }
.call:hover span { text-decoration: underline; text-underline-offset: .25em; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--indigo-line); font-weight: 600; }
.checks li:last-child { border-bottom: 1px solid var(--indigo-line); }
.checks .icon { color: var(--apricot); stroke-width: 2.2; }

.site-footer { padding-block: 56px 32px; border-top: 1px solid var(--indigo-line); font-size: var(--fs-sm); color: var(--on-indigo-muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 30em; }
.footer-title { margin-bottom: 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--on-indigo-muted); }
.site-footer address, .site-footer ul { display: grid; gap: 6px; }
.site-footer address a, .site-footer li a { text-decoration: none; font-weight: 600; }
.site-footer address a:hover, .site-footer li a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--indigo-line);
  font-size: var(--fs-sm);
}

/* ---------- Undersidor ---------- */

.page-hero { padding-block: clamp(24px, 4vw, 64px) clamp(64px, 8vw, 112px); }
.page-hero-tight { padding-bottom: clamp(36px, 4.5vw, 64px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  word-spacing: .05em;
  font-variation-settings: "opsz" 144;
}
.page-hero-plain h1 { max-width: 14em; }
.page-hero-plain .lede { max-width: 36em; }
.page-hero .actions { margin-top: clamp(28px, 3vw, 40px); }
.page-figure { justify-self: end; width: 100%; max-width: 476px; }
.page-figure-card { max-width: 452px; }
.call-light { color: var(--muted); }
.call-light span { color: var(--ink); }
.call-light:hover span { color: var(--indigo); }

/* Exempelrapporten på /ai-synlighet/ */
.report { background: var(--card); border-radius: var(--r-md); padding: 18px 20px 16px; box-shadow: var(--shadow-card); }
.report-title { margin-top: 18px; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.report-meta { margin-top: 2px; font-size: var(--fs-sm); color: var(--muted); }
.report-label {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.report-rows { display: grid; gap: 4px; margin-top: 8px; }
.report-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  padding: 9px 12px; border: 1.5px solid transparent; border-radius: var(--r-sm);
}
.report-name { font-weight: 700; }
.report-n { min-width: 4.4em; text-align: right; font-size: var(--fs-sm); color: var(--muted); }
.report-row.is-ni { border-style: dashed; border-color: var(--rust); }
.report-row.is-ni .report-name, .report-row.is-ni .report-n { color: var(--rust); }
.dots { display: flex; gap: 5px; }
.dots i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--line);
  transition: background-color .3s var(--ease-out), transform .45s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.dots i.on { background: var(--indigo); }
.is-ni .dots i.on { background: var(--rust); }
.is-before .dots i.on { background: var(--line); transform: scale(.55); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips li {
  padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--sand-light); font-size: var(--fs-xs); font-weight: 600;
}

/* Kapitlen på /ai-synlighet/: siffra och rubrik till vänster, innehåll till höger */
.chapter-alt { background: var(--sand-light); border-block: 1px solid var(--line); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.chapter-head { position: sticky; top: 32px; }
.chapter-n {
  display: block;
  font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9;
  font-variation-settings: "opsz" 144; color: var(--indigo);
}
.chapter-head h2 { margin-top: 20px; }
.chapter-meta { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.chapter-meta::before { content: ""; width: 7px; height: 7px; flex: none; margin-top: .6em; border-radius: 50%; background: var(--rust); }
.chapter-body { padding-top: 12px; }
.chapter-body .prose { max-width: 36em; font-size: 1.08rem; }
.chapter-sub { margin-top: 44px; }
.levers { margin-top: 16px; border-top: 1px solid var(--line-strong); }
.levers > div {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 28px;
  padding: 18px 0; border-bottom: 1px solid var(--line-strong);
}
.levers dt { font-weight: 700; line-height: 1.45; }
.levers dd { margin: 0; color: var(--muted); }
.choice {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.choice-opt { display: flex; flex-direction: column; padding: clamp(20px, 2.6vw, 32px); }
.choice-opt + .choice-opt { border-left: 1px solid var(--line); }
.choice-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.choice-price { margin-top: 10px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -.015em; }
.choice-text { margin-top: 12px; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.chapter-note { position: relative; max-width: 36em; margin-top: 28px; padding-left: 20px; font-weight: 600; }
.chapter-note::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }
.chapter-body .prose + .link-arrow { margin-top: 16px; }

@media (max-width: 1180px) { .levers > div { grid-template-columns: minmax(0, 1fr); } }

/* Två lager på /hemsidor/: det kunden ser och det AI läser */
.layers { background: var(--card); border-radius: var(--r-md); padding: 18px 20px 16px; box-shadow: var(--shadow-card); }
.layer { margin-top: 16px; }
.layer-label { margin-bottom: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.mini-site { padding: 14px 18px 18px; background: var(--sand); border-radius: var(--r-sm); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mini-brand { font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.mini-links { display: flex; gap: 6px; }
.mini-links i { width: 22px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.mini-h { margin-top: 14px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.mini-p { margin-top: 6px; font-size: var(--fs-sm); line-height: 1.45; color: var(--muted); }
.mini-btn {
  display: inline-flex; align-items: center; height: 32px; margin-top: 14px; padding: 0 14px;
  border-radius: 999px; background: var(--ink); color: var(--sand-light);
  font-size: var(--fs-xs); font-weight: 700;
}
.code {
  margin: 0; padding: 14px 16px; overflow-x: auto;
  background: var(--indigo-deep); color: var(--on-indigo-muted); border-radius: var(--r-sm);
  font: 500 .8rem/1.75 ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  scrollbar-color: var(--indigo-line) var(--indigo-deep);
}
.code .c-s { color: var(--on-indigo); }
.code ::selection { background: var(--apricot); color: var(--indigo-deep); }

/* Det här ingår */
.includes { border-top: 1px solid var(--line); }
/* Samma två lager som kortet överst: kundens sida (sand) och det AI läser (djup indigo) */
.two-readers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.reader { padding: clamp(24px, 3.2vw, 44px); border-radius: var(--r-lg); }
.reader-kund { background: var(--card); border: 1px solid var(--line); }
.reader-ai { background: var(--indigo-deep); color: var(--on-indigo); }
.reader h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -.015em; }
.reader-ai h3 { color: var(--on-indigo); }
.reader dl { margin: 20px 0 0; border-top: 1px solid var(--line-strong); }
.reader dl > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.reader dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.reader dt { font-weight: 700; }
.reader dd { margin: 4px 0 0; color: var(--muted); }
.reader-ai dl { border-top-color: var(--indigo-line); }
.reader-ai dl > div { border-bottom-color: var(--indigo-line); }
.reader-ai dd { color: var(--on-indigo-muted); }

/* Priset på /hemsidor/ */
.offer-band { background: var(--sand-light); border-block: 1px solid var(--line); }
.price-panel {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: clamp(40px, 5vw, 64px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.price-panel-main { padding: clamp(24px, 3.2vw, 44px); }
.price-panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; }
.big-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 18px; }
.big-price .num, .rung-price .num {
  font-family: var(--serif); line-height: 1; letter-spacing: -.02em; white-space: nowrap;
  font-variation-settings: "opsz" 144;
}
.big-price .num { font-size: clamp(2.8rem, 5vw, 4rem); }
.vat { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 24px 0 30px; }
.ticks li { display: flex; align-items: baseline; gap: 10px; }
.ticks .icon, .flow-out .icon { color: var(--rust); stroke-width: 2.4; transform: translateY(3px); }
.price-panel-side { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.2vw, 44px); background: var(--sand); border-left: 1px solid var(--line); }
.price-panel-side h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.pledge { margin-top: 14px; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.3; }
.pledge-text { margin-top: 12px; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }

.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }

/* Plats för exempelsajter */
.examples { border-top: 1px solid var(--line); }
.example-slots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.example-slot {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg);
}
.example-slot h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -.015em; }
.example-slot p { max-width: 30em; margin-top: 10px; color: var(--muted); }
.example-slot .slot-status {
  display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
}
@media (min-width: 861px) { .example-slot { min-height: 230px; } }
.slot-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }

/* Prisstegen på /priser/ */
.ladder-section { padding-bottom: var(--section); }
.ladder { border-top: 1px solid var(--line-strong); }
.rung {
  display: grid;
  grid-template-columns: clamp(48px, 7vw, 104px) minmax(0, 1fr) auto;
  grid-template-areas: "n head price" "n body price";
  gap: 0 clamp(24px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-strong);
}
.rung-n {
  grid-area: n;
  font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: .9;
  font-variation-settings: "opsz" 144; color: var(--indigo);
}
.rung-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rung h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.rung-price { grid-area: price; display: grid; justify-items: end; align-content: start; gap: 6px; text-align: right; }
.rung-price .num { font-size: clamp(2rem, 4vw, 3.2rem); }
.rung-body { grid-area: body; }
.rung-text { max-width: 38em; margin-top: 12px; color: var(--muted); }
.rung-terms, .legal-list, .terms .terms-more { display: grid; gap: 6px; margin-top: 16px; }
.rung-terms li, .legal-list li, .terms .terms-more li { position: relative; padding: 0 0 0 20px; border: 0; }
.rung-terms li { font-weight: 600; }
.rung-terms li::before, .legal-list li::before, .terms .terms-more li::before {
  content: ""; counter-increment: none;
  position: absolute; left: 2px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--rust);
}
.rung-body .link-arrow { margin-top: 10px; }
.terms .terms-more { margin-top: 10px; }
.terms .terms-more li { color: var(--muted); }

/* Om: mätverktyget som flöde */
.tool { background: var(--sand-light); border-block: 1px solid var(--line); }
.tool .section-head { align-items: start; }
.flow {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.flow-step { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 36px); }
.flow-step + .flow-step { border-left: 1px solid var(--line); }
.flow-label { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.flow-n { font-style: italic; font-size: 1.5rem; color: var(--indigo); }
.flow-arrow {
  position: absolute; z-index: 1; right: -17px; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--card); border: 1px solid var(--line); border-radius: 50%; color: var(--rust);
}
.flow-arrow .icon { width: 16px; height: 16px; }
.flow-qs { display: grid; gap: 8px; margin-top: 18px; }
.flow-qs li {
  width: fit-content; max-width: 100%; padding: 9px 13px;
  background: var(--sand); border-radius: 14px 14px 4px 14px;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.4;
}
.flow-ai { margin-top: 10px; }
.flow-ai li { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.flow-x { display: flex; gap: 4px; }
.flow-x i { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.flow-x i:nth-child(2) { opacity: .6; }
.flow-x i:nth-child(3) { opacity: .3; }
.flow-out { display: grid; gap: 12px; margin-top: 18px; }
.flow-out li { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.flow-note { margin-top: auto; padding-top: 18px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.tool-why { max-width: 46em; margin-top: 28px; color: var(--muted); }

/* Om: varför Commendo */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.why-text { max-width: 34em; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.why-text p + p { margin-top: 1em; }
.why-text p:first-child { color: var(--ink); }

/* Om: namnet och företagsuppgifterna */
.name-facts { background: var(--card); border-block: 1px solid var(--line); }
.nf-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.entry-word {
  font-size: clamp(3.4rem, 8vw, 6rem); font-weight: 600; line-height: .95; letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
}
.entry-word .dot { color: var(--rust); }
.entry-meta { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; font-size: var(--fs-sm); color: var(--muted); }
.entry-meta span:first-child { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.entry-meta span + span { font-style: italic; }
.entry-def {
  margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1;
  color: var(--indigo);
}
.entry-text { max-width: 28em; margin-top: 18px; color: var(--muted); }
.facts-title { font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.facts { margin: 16px 0 0; border-top: 1px solid var(--line-strong); }
.facts div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.facts a { color: var(--ink); text-decoration: none; }
.facts a:hover { color: var(--indigo); }

/* Kontakt */
.page-hero-contact .page-hero-grid { grid-template-rows: auto 1fr; align-items: start; }
.page-hero-contact .page-figure-form { grid-column: 2; grid-row: 1 / span 2; }
.page-hero-contact .next { grid-column: 1; }
.direct { max-width: 30em; margin-top: clamp(28px, 3vw, 40px); padding-top: 24px; border-top: 1px solid var(--line-strong); }
.direct-line {
  display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 12px;
  color: var(--ink); font-size: 1.15rem; font-weight: 700; text-decoration: none;
}
.direct-line .icon { width: 22px; height: 22px; color: var(--rust); }
.direct-line:hover { color: var(--indigo); }
.direct-phone { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 500; letter-spacing: -.01em; }
.direct-who { margin-top: 18px; font-size: var(--fs-sm); color: var(--muted); }
.next { max-width: 30em; }
.next h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.next-list { margin-top: 16px; border-top: 1px solid var(--line-strong); }
.next-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.next-n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--indigo); }
.next-list h3 { font-size: 1.1rem; font-weight: 600; }
.next-list p { margin-top: 4px; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.next-note { margin-top: 16px; font-size: var(--fs-sm); color: var(--muted); }
.page-figure-form { max-width: 560px; }
.form-card { container-type: inline-size; padding: clamp(24px, 3vw, 40px); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
@container (max-width: 440px) { .form-card .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.form-intro { margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 24px; }
.field { display: grid; align-content: start; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 700; }
.opt { font-weight: 540; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-width: 0; padding: 12px 14px;
  font: 540 1rem/1.45 var(--sans); color: var(--ink); caret-color: var(--indigo);
  background: var(--sand-light); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input { height: 50px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--indigo); background: var(--card);
  box-shadow: 0 0 0 3px rgb(51 48 122 / .16);
}
.field input:user-invalid { border-color: var(--rust); }
.form-submit { width: 100%; margin-top: 24px; }
.form-submit .icon { width: 20px; height: 20px; }
.form-note { margin-top: 14px; font-size: var(--fs-sm); color: var(--muted); }
.form-status { margin-top: 20px; padding: 18px 20px; background: var(--sand); border-radius: var(--r-md); outline: none; }
.form-status-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--indigo); }
.form-status-title .icon { stroke-width: 2.4; }
.form-status p + p { margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }
/* Fel: rost i rubriken, samma lugna ruta som tacket */
.form-fel .form-status-title { color: var(--rust); }
/* Fälla för robotar: osynlig för människor, Web3Forms avvisar formulär där den är ikryssad */
.form-honeypot { display: none; }
/* Medan formuläret skickas */
.form-submit:disabled { opacity: .75; cursor: progress; transform: none; }
/* Efter skickat: fälten göms och tacket tar deras plats */
.form-card.is-sent .form-intro, .form-card.is-sent .form-grid, .form-card.is-sent .form-submit, .form-card.is-sent .form-note { display: none; }
.form-card.is-sent .form-tack { margin-top: 16px; padding: 22px 24px; }
.form-card.is-sent .form-tack .form-status-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

/* Integritet */
.updated { margin-top: 18px; font-size: var(--fs-sm); color: var(--muted); }
.legal-section { padding-bottom: var(--section); }
.legal-grid {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 56px) clamp(32px, 6vw, 96px); align-items: start;
}
.notice { grid-column: 2; grid-row: 1; max-width: 44em; padding: clamp(22px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.notice h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.notice p { margin-top: 8px; color: var(--muted); }
.notice .btn { margin-top: 20px; }
.toc { grid-column: 1; grid-row: 1 / span 2; align-self: start; position: sticky; top: 32px; }
.toc-title { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); }
.toc ol { margin-top: 12px; border-top: 1px solid var(--line-strong); }
.toc a {
  display: block; padding: 9px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
}
.toc a:hover { color: var(--indigo); }
.legal { grid-column: 2; grid-row: 2; max-width: 44em; }
.legal-part + .legal-part { margin-top: clamp(36px, 4vw, 52px); }
.legal-part h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.legal-part p { margin-top: 12px; color: var(--muted); }
.legal-list { margin-top: 12px; }
.legal-list li { color: var(--muted); }

/* Djup på större rutor: samma svaga ljus och indigoskugga överallt */
.offer, .compare-col, .terms, .choice, .price-panel, .flow, .notice, .reader-kund { box-shadow: var(--glow-panel); }
.reader-ai, .vcard-back { box-shadow: var(--glow-dark); }

/* Djup genom sajten */
/* Sektioner som byter bakgrund ligger ett lager under: en svag skugga under kantlinjen. */
.problem, .how, .guarantee, .faq, .chapter-alt, .offer-band, .tool, .name-facts, .examples, .includes {
  box-shadow: inset 0 14px 28px -26px rgb(35 33 79 / .16);
}
/* Mörka bandet sjunker in under sidan, med en svag indigoglöd längst upp. */
.dark.closing { box-shadow: inset 0 56px 72px -64px rgb(10 9 30 / .7), inset 0 1px 0 rgb(91 87 168 / .35); }
.site-footer { box-shadow: inset 0 1px 0 rgb(91 87 168 / .18); }
/* Bladen bakom AI-kortet får egna skuggor, så att högen syns. */
.ai-stage::before { box-shadow: 0 12px 28px -20px rgb(35 33 79 / .3); }
.ai-stage::after { box-shadow: 0 10px 24px -20px rgb(35 33 79 / .25); }
/* Inbyggda ytor: fält, miniskärm och kodblock ligger nedsänkta. */
.field input, .field textarea { box-shadow: var(--inset-soft); }
.mini-site { box-shadow: inset 0 1px 3px rgb(35 33 79 / .1); }
.code { box-shadow: inset 0 2px 8px rgb(0 0 0 / .3); }
.ai-q, .flow-qs li { box-shadow: var(--inset-soft); }
/* Små markeringar och märken lyfts en aning. */
.mark { box-shadow: var(--glow-warm); }
.flow-arrow, .qa-icon { box-shadow: 0 4px 12px -6px rgb(51 48 122 / .3); }
.tag, .chips li { box-shadow: 0 1px 2px rgb(35 33 79 / .06); }
.menu-panel { box-shadow: var(--shadow-card); }

/* Minskad rörelse: knapparna ändrar färg och skugga men flyttar sig inte. */
@media (prefers-reduced-motion: reduce) {
  .btn, .menu summary, .btn .icon { transition-property: background-color, color, box-shadow, border-color; }
  .btn:hover, .btn:active, .dark .btn-light:hover, .dark .btn-light:active, .menu summary:active, .btn:hover .icon { transform: none; }
}

/* 404 */
.notfound { padding-block: clamp(80px, 12vw, 160px); }
.notfound h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; word-spacing: .05em; }
.notfound .actions { margin-top: 32px; }

/* ---------- Mindre skärmar ---------- */

@media (max-width: 1020px) {
  .hero-grid, .split, .g-grid, .about-grid, .faq-grid, .closing-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-stage { justify-self: start; max-width: 520px; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .page-hero-grid, .chapter-grid, .nf-grid, .legal-grid, .why-grid { grid-template-columns: minmax(0, 1fr); }
  .page-figure { justify-self: start; max-width: 520px; }
  .page-figure-form { max-width: 600px; }
  .chapter-head { position: static; }
  .chapter-body { padding-top: 0; }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice, .toc, .legal, .page-hero-contact .page-figure-form, .page-hero-contact .next { grid-column: auto; grid-row: auto; }
  .page-hero-contact .page-hero-grid { grid-template-rows: none; }
  .toc { position: static; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu { display: block; }
  .steps, .offers { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .two-readers, .example-slots, .price-panel { grid-template-columns: minmax(0, 1fr); }
  .price-panel-side { border-left: 0; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-step + .flow-step { border-left: 0; border-top: 1px solid var(--line); }
  .flow-arrow { right: auto; top: auto; left: 50%; bottom: -17px; translate: -50% 0; rotate: 90deg; }
  .flow-note { padding-top: 14px; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 72px; gap: 10px; }
  .wordmark { font-size: 1.62rem; }
  .header-cta { height: 42px; padding-inline: 1em; font-size: var(--fs-sm); }
  .header-cta .lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-cta .kort { display: inline; }
  .hero .actions .btn-primary { flex: 1 1 100%; }
  .hero .actions .link-arrow { margin-inline: auto; }
  .byline { justify-content: center; }
  .byline a { flex-basis: 100%; text-align: center; }
  .byline a::before { display: none; }
  .ai-card { padding: 16px 16px 14px; }
  .ai-stage::before { left: 12px; right: 12px; }
  .ai-stage::after { left: 26px; right: 26px; }
  .compare-sum { font-size: 1.1rem; }
  .compare-label { min-height: 2.9em; }
  .serp { gap: 6px; margin-top: 10px; }
  .serp li { gap: 4px; }
  .names { margin-top: 4px; }
  .names li { padding-block: 11px; font-size: var(--fs-sm); }
  .cards { aspect-ratio: auto; }
  .vcard-front { position: relative; gap: 32px; }
  .step { padding-top: 22px; }
  .step-n { font-size: 2.6rem; }
  .step h3 { margin-top: 14px; }
  .qa-body { padding-right: 0; }
  .closing .actions .btn-light { flex: 1 1 100%; }
  .closing .actions .call { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }

  .page-hero .actions .btn-primary, .notfound .actions .btn-primary { flex: 1 1 100%; }
  .notfound .actions .link-arrow { margin-inline: auto; }
  .page-hero .actions .link-arrow, .page-hero .actions .call { margin-inline: auto; }
  .report, .layers { padding: 16px 16px 14px; }
  .report-row { gap: 10px; padding-inline: 10px; }
  .dots { gap: 4px; }
  .dots i { width: 8px; height: 8px; }
  .levers > div { grid-template-columns: minmax(0, 1fr); }
  .choice { grid-template-columns: minmax(0, 1fr); }
  .choice-opt + .choice-opt { border-left: 0; border-top: 1px solid var(--line); }
  .steps-4 { grid-template-columns: minmax(0, 1fr); }
  .rung { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "n head" "n price" "n body"; column-gap: 16px; }
  .rung-n { font-size: 2.2rem; }
  .rung-price { justify-items: start; grid-auto-flow: column; align-items: baseline; justify-content: start; gap: 10px; margin-top: 10px; text-align: left; }
  .rung-price .num { font-size: 2rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px 18px; }
  .facts div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .notice .btn { width: 100%; }
  /* Klickytor minst 44 px */
  .header-cta { height: 44px; }
  .brand { padding-block: 10px; }
  .site-footer address, .site-footer ul { gap: 0; }
  .site-footer address a, .site-footer li a { display: flex; align-items: center; min-height: 44px; }
  .site-footer address span { display: flex; align-items: center; min-height: 44px; }
  .call { display: inline-block; padding-block: 9px; }
  .direct-line { min-height: 44px; }
  .toc a { padding-block: 12px; }
}

/* ---------- Mobil: centrerad text ----------
   Rubriker, ingresser, korta stycken, knappar och sidfoten centreras i mobil.
   Kort, listor, formulär, prislistor, frågor och svar och integritetstexten står kvar
   vänsterställda, eftersom längre centrerad text blir svår att läsa. Datorn påverkas inte. */
@media (max-width: 560px) {
  /* Sidtoppar */
  .hero-copy, .page-hero-copy, .notfound .wrap { text-align: center; }
  .lede, .page-hero-plain h1 { margin-inline: auto; }
  .actions { justify-content: center; }
  .direct { margin-inline: auto; }
  .direct-line { margin-inline: auto; }
  .page-figure { justify-self: center; margin-inline: auto; }

  /* Rubrik och ingress i avsnitten */
  .section-head, .split-text, .g-statement, .about-text, .faq-aside, .why-grid, .entry, .facts-title,
  .chapter-head, .chapter-body, .closing-grid > div, .notice, .form-card > h2, .form-intro, .form-note,
  .next > h2, .next-note, .compare figcaption, .footnote, .tool-why { text-align: center; }
  .section-head p, .prose, .g-lead, .faq-aside p, .why-text, .tool-why, .closing-text, .entry-text { margin-inline: auto; }
  /* Centrerad text blir jämnare med balanserade rader (inga ensamma ord sist) */
  .lede, .section-head p, .g-lead, .faq-aside p, .closing-text, .entry-text, .tool-why, .form-intro, .next-note, .chapter-note, .compare figcaption { text-wrap: balance; }
  .chapter-meta, .entry-meta, .step .step-meta { justify-content: center; }

  /* Steg: pricken flyttar till mitten av linjen */
  .step { text-align: center; }
  .step::before { left: 50%; translate: -50% 0; }

  /* Kapitlen på /ai-synlighet/: listor och val står kvar vänsterställda */
  .levers, .choice { text-align: left; }
  .chapter-note { padding-left: 0; margin-inline: auto; }
  .chapter-note::before { position: static; display: inline-block; margin-right: 8px; vertical-align: .15em; }
  /* Pricken följer texten även när raden bryts */
  .chapter-meta { display: block; }
  .chapter-meta::before { display: inline-block; margin: 0 8px 0 0; vertical-align: .2em; }

  /* Visitkortet centreras */
  .cards { margin: 20px auto 28px; }

  /* Mörkt band */
  .checks li { justify-content: center; }

  /* Sidfot */
  .site-footer { text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .site-footer address a, .site-footer li a, .site-footer address span { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* Pekskärmar (telefoner på tvären, surfplattor): klickytor minst 44 px oavsett bredd. Mus påverkas inte. */
@media (pointer: coarse) {
  .header-cta { height: 44px; }
  .main-nav a { display: inline-block; padding-block: 12px; }
  .brand { padding-block: 10px; }
  .site-footer address, .site-footer ul { gap: 0; }
  .site-footer address a, .site-footer li a, .site-footer address span { display: flex; align-items: center; min-height: 44px; }
  .call { display: inline-block; padding-block: 9px; }
  .direct-line { min-height: 44px; }
  .toc a { padding-block: 12px; }
}

/* De minsta telefonerna: headern krymper så att menyknappen får plats, och rapportens prickar krymper så att byrånamnen får plats */
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .wordmark { font-size: 1.4rem; }
  .header-cta { padding-inline: .8em; font-size: .8125rem; }
  .brand { padding-block: 11px; }
  /* Långa ord, som mejladressen i företagsuppgifterna, får brytas */
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts dd, .vcard-contact a { overflow-wrap: anywhere; }
  .report-row { gap: 8px; padding-inline: 8px; }
  .dots { gap: 3px; }
  .dots i { width: 6px; height: 6px; }
}

/* Låga fönster: innehållsförteckningen på integritetssidan följer inte med vid scroll, så att inga länkar döljs */
@media (max-height: 600px) {
  .toc { position: static; }
}

/* Tacksidan efter formuläret: luftig, så att den inte känns som ett fel */
.page-hero-tack { padding-block: clamp(64px, 10vw, 128px); }
