:root {
  --ink: #182422;
  --muted: #5b6865;
  --line: #d8e1dd;
  --paper: #fbfcf8;
  --white: #ffffff;
  --teal: #0f4b46;
  --teal-2: #dcefe8;
  --blue: #315f93;
  --coral: #b74347;
  --yellow: #f2c75c;
  --shadow: 0 18px 60px rgba(24, 36, 34, 0.12);
  --radius: 8px;
  color-scheme: light;

  /* Outfit is used throughout, loaded as a variable font over the 400-700 axis.
     Stay inside the loaded range. */
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;

  /* Type scale. Outfit runs optically large and its round bowls open up as the
     size grows, so tracking tightens on the way up and only turns positive for
     the uppercase label. Components reference these roles instead of restating
     the numbers — if a component needs a value that is not here, it is either
     the wrong role or the scale is missing a step. */
  /* The published band tops out at 88px display / 56px H1; this site's 1180px
     column reaches the bottom of the display band and the top of the H1 band,
     which is the intended desktop rendering. The floors are lower than the
     band because Swedish compounds are long: "nikotinavvänjning:" measures
     338px at 44px, against 335px of content width on a 375px phone, so a
     literal 44px floor overflows the viewport. These curves hit 56px/64px on
     desktop and only give way below ~860px. Re-measure that word before
     raising either floor. */
  --fs-display: clamp(2.25rem, 1.2rem + 3.9vw, 4rem);
  --fs-h1: clamp(2rem, 1.1rem + 3.4vw, 3.5rem);
  --fs-h2: 2rem;
  --fs-h3: 1.375rem;
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  /* The published scale puts small/meta at 13px. Outfit does not hold up there:
     its x-height is 0.68 of cap height against ~0.72 for a grotesque like
     Helvetica, and its strokes are thin and evenly weighted, so 13px/400 reads
     noticeably lighter than the same size in the old stack. 14px is the floor
     that stays comfortable. */
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Outfit is loaded as a true variable font, so any value on the 400-700 axis
     is a real interpolated instance rather than a synthesised or snapped one.
     Small text gets 450 — enough extra stroke density to hold at 14px without
     reading as emphasis the way 500 does next to 400 body copy. */
  --wt-small: 450;

  --ls-display: -0.03em;
  --ls-h1: -0.025em;
  --ls-h2: -0.02em;
  --ls-h3: -0.015em;
  --ls-body-lg: -0.005em;
  --ls-label: 0.08em;
  --ls-button: -0.01em;

  /* 60-75 characters. Deliberately not in ch: Outfit's digits are far wider
     than its average lowercase letter, so a ch-based cap overshoots badly —
     68ch measured out at ~90 characters per line. Outfit averages 0.44em per
     character in Swedish body copy, so 32em lands at ~73. Scales correctly for
     the 18px lead because em tracks the element's own size. */
  --measure: 32em;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  /* The 400-700 axis covers every weight the site asks for, so any synthesised
     face would be a bug rather than a fallback. */
  font-synthesis: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--teal);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Header and footer show the wordmark alone (26 November 2026 owner decision:
   no S mark in the top menu, larger wordmark). */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-header .brand {
  font-size: 2rem;
  letter-spacing: -0.025em;
}

.site-footer .brand {
  font-size: 1.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 22px rgba(15, 75, 70, 0.14);
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--teal-2);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.program-nav {
  position: relative;
}

.program-nav > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.program-nav > summary::-webkit-details-marker {
  display: none;
}

.program-nav > summary svg {
  width: 16px;
  height: 16px;
}

.program-nav[open] > summary {
  color: var(--white);
}

.program-nav[open] > summary svg {
  transform: rotate(180deg);
}

.program-nav-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: -12px;
  z-index: 1;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(24, 36, 34, 0.15);
}

.program-nav-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 5px;
  color: var(--ink);
  white-space: nowrap;
}

.program-nav-panel a:hover,
.program-nav-panel a:focus-visible {
  background: var(--teal-2);
  color: var(--teal);
}

.site-header .brand:focus-visible,
.nav-links > a:focus-visible,
.nav-actions > a:focus-visible,
.program-nav > summary:focus-visible,
.mobile-nav > summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 1139px) {
  .nav-actions .button.secondary {
    display: none;
  }
}

.mobile-nav-programs {
  padding-bottom: 8px;
  margin-bottom: 3px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-label {
  display: block;
  padding: 8px 11px 3px;
  font-size: var(--fs-small);
  color: var(--muted);
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  position: relative;
  z-index: 103;
  width: 44px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-icon,
.mobile-nav-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.mobile-nav .menu-close-icon,
.mobile-nav[open] .menu-open-icon {
  display: none;
}

.mobile-nav[open] .menu-close-icon {
  display: block;
}

.mobile-nav[open] summary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 14px;
  right: 14px;
  z-index: 102;
  width: auto;
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  padding: 16px;
  display: none;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(24, 36, 34, 0.3);
}

.mobile-nav[open] .mobile-nav-panel {
  display: grid;
}

.mobile-nav-panel > a:not(.button),
.mobile-nav-programs a {
  min-height: 48px;
  padding: 12px 11px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav-panel > a:not(.button):hover,
.mobile-nav-panel > a:not(.button):focus-visible,
.mobile-nav-programs a:hover,
.mobile-nav-programs a:focus-visible {
  background: var(--teal-2);
}

.mobile-nav-primary {
  width: 100%;
  min-height: 50px;
  margin-bottom: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: var(--fs-body);
  line-height: 1;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(15, 75, 70, 0.24);
}

.button.secondary {
  background: var(--white);
  color: var(--teal);
  border-color: var(--line);
}

.button.nav-cta {
  min-height: 48px;
  background: var(--white);
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

.button.nav-cta:hover {
  background: var(--teal-2);
}

/* "Räkna på besparingen" looks like "Logga in" (owner, 24 November 2026), so
   "Kom igång" is the one white button in the header. */
.button.nav-login,
.nav-actions .button.secondary {
  min-height: 48px;
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  white-space: nowrap;
}

.button.nav-login:hover,
.nav-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.button.coral {
  background: var(--coral);
  color: var(--white);
}

.button.ghost {
  color: var(--teal);
  background: transparent;
  border-color: var(--line);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 20px;
}

.section.tight {
  padding: 42px 20px;
}

/* Section padding plus this offset keeps the heading below the sticky header. */
#sa-fungerar-det {
  scroll-margin-top: 56px;
}

/* The navigation occupies two rows at this breakpoint. */
@media (min-width: 681px) and (max-width: 800px) {
  #sa-fungerar-det {
    scroll-margin-top: 112px;
  }
}

.section-title {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 30px;
}

/* The label role, and the only place uppercase is allowed. The positive
   tracking is not optional at this size — Outfit's caps close up without it. */
.eyebrow {
  color: var(--coral);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.article-review-note {
  margin: -10px 0 22px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  font-weight: var(--wt-small);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* The H1 ceiling stays below the display role so entry-page, calculator and
   privacy headlines cannot shout louder than the home hero, which is the only
   place display is used. Keep --fs-h1 under --fs-display if either moves. */
h1 {
  max-width: 760px;
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: var(--ls-h1);
  margin-bottom: 20px;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: var(--ls-h2);
  margin-bottom: 0;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: var(--ls-h3);
}

/* The user agent sets <strong>, <b> and <th> to 700, and with the 400-700 axis
   loaded that is a real 700 rather than a near miss. The scale reserves 700 for
   one deliberate figure, so inline emphasis lands on 600 instead — otherwise
   every bolded phrase in prose quietly outranks it. */
strong,
b,
th {
  font-weight: 600;
}

/* Headings set in 2-3 lines strand a single word on the last line often enough
   to be worth balancing; body copy just needs its last line protected.
   Both degrade to normal wrapping in browsers that do not support them. */
h1,
h2,
h3,
.hero-panel strong {
  text-wrap: balance;
}

p,
.lead,
li {
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: var(--ls-body-lg);
  color: var(--muted);
  max-width: var(--measure);
}

.small {
  font-size: var(--fs-small);
  line-height: 1.5;
  font-weight: var(--wt-small);
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(251, 252, 248, 0), var(--paper));
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 20px 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: 38px;
  align-items: center;
}

.hero-copy {
  padding-top: 18px;
}

.hero-media {
  position: relative;
  min-height: 510px;
}

.hero-media img,
.hero-media video {
  height: 510px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-hero .hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-hero .hero-media video {
  box-shadow: none;
  display: block;
}

.hero-panel {
  position: absolute;
  left: -24px;
  bottom: 26px;
  width: min(330px, calc(100% - 22px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.center-actions {
  justify-content: center;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card.highlight {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.card.highlight .small,
.card.highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-2);
  color: var(--teal);
  margin-bottom: 16px;
}

.icon svg {
  width: 20px;
  height: 20px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 22px 22px;
  counter-increment: steps;
}

.step::before {
  content: counter(steps);
  position: absolute;
  top: 18px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-small);
}

/* HTML captions stay readable without JavaScript; the SVG only illustrates
   the planned reduction in snus use, not a measured effect on cravings. */
.treatment-journey {
  --journey-duration: 12s;
  /* Matches the SVG's x=340 stop point; the second card starts here too. */
  --journey-stop: 34%;
  --journey-gap: 12px;
  --journey-chart-gap: 20px;
  margin-top: 40px;
  padding: 32px;
  border-radius: calc(var(--radius) * 2);
  background: #edf4ef;
  color: var(--teal);
}

.treatment-journey > h3 {
  margin: 0;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.journey-lead {
  margin: 8px 0 0;
  color: var(--muted);
}

.journey-chart {
  position: relative;
  height: clamp(140px, 18vw, 210px);
  margin: 20px 0 var(--journey-chart-gap);
}

.journey-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.journey-track-area {
  fill: var(--teal);
  opacity: 0.045;
}

.journey-track-base,
.journey-track-progress,
.journey-axis {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.journey-track-base {
  stroke: #c7dbd2;
  stroke-width: 4;
}

.journey-track-progress {
  stroke: var(--teal);
  stroke-width: 4;
  clip-path: inset(-6px);
}

.journey-axis {
  stroke: #b6c9c1;
  stroke-width: 1;
}

.journey-marker,
.journey-traveller {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid var(--teal);
  background: var(--teal-2);
}

.journey-marker {
  border-radius: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.journey-marker-start { left: 0; top: 16%; }
.journey-marker-stop { left: var(--journey-stop); top: 90%; }
.journey-marker-end { left: 100%; top: 90%; }

.journey-connector {
  position: absolute;
  bottom: calc(-1 * var(--journey-chart-gap));
  border-left: 1px dashed #a6bbb2;
  transform: translateX(-50%);
}

.journey-connector-start { left: 0; top: 16%; }
.journey-connector-stop { left: var(--journey-stop); top: 90%; }
.journey-connector-end { left: 100%; top: 90%; }

.journey-traveller {
  left: 100%;
  top: 90%;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(15, 75, 70, 0.12);
  transform: translate(-50%, -50%);
}

.journey-phases {
  display: grid;
  grid-template-columns: calc(var(--journey-stop) - var(--journey-gap)) repeat(2, minmax(0, 1fr));
  gap: var(--journey-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-phase {
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
}

.journey-phase-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: var(--fs-small);
  font-weight: 600;
}

.journey-phase h4 {
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-body-lg);
  line-height: 1.25;
  font-weight: 600;
}

.journey-phase-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.45;
}

.journey-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.journey-footer .button {
  min-height: 48px;
  padding-block: 12px;
  line-height: 1.3;
}

.treatment-journey[data-state="playing"] .journey-track-progress {
  animation: journey-progress var(--journey-duration) linear infinite;
}

.treatment-journey[data-state="playing"] .journey-traveller {
  animation: journey-travel var(--journey-duration) linear infinite;
}

.treatment-journey.is-paused .journey-track-progress,
.treatment-journey.is-paused .journey-traveller {
  animation-play-state: paused;
}

@keyframes journey-progress {
  0%, 5% { clip-path: inset(-6px 100% -6px -6px); }
  33.333%, 40% { clip-path: inset(-6px calc(100% - var(--journey-stop)) -6px -6px); }
  66.667%, 100% { clip-path: inset(-6px); }
}

@keyframes journey-travel {
  0%, 5% { left: 0; top: 16%; }
  33.333%, 40% { left: var(--journey-stop); top: 90%; }
  66.667%, 100% { left: 100%; top: 90%; }
}

@media (max-width: 680px) {
  .treatment-journey {
    --journey-gap: 8px;
    margin-top: 16px;
    padding: 20px 14px;
  }

  .journey-lead {
    font-size: var(--fs-small);
    line-height: 1.5;
    margin-top: 6px;
  }

  .journey-chart {
    height: 100px;
    margin-top: 14px;
  }

  .journey-phase {
    padding: 10px 6px;
  }

  .journey-phase-label {
    margin: 0 0 6px;
  }

  .journey-phase h4 {
    font-size: var(--fs-small);
    line-height: 1.35;
    overflow-wrap: normal;
    text-wrap: initial;
  }

  .journey-phase-note {
    overflow-wrap: anywhere;
  }

  .journey-footer {
    margin-top: 16px;
  }
}

.band {
  background: var(--teal-2);
  border-block: 1px solid rgba(15, 75, 70, 0.12);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.checklist li::before {
  content: "";
  margin-top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px var(--teal-2);
}

.treatment-section {
  scroll-margin-top: 84px;
}

.treatment-compact {
  max-width: 980px;
}

.treatment-compact h2 {
  max-width: 760px;
  margin-top: 10px;
}

.treatment-compact .lead {
  margin-top: 18px;
}

.treatment-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.treatment-points li {
  min-height: 76px;
  padding: 16px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(24, 36, 34, 0.06);
}

.treatment-points li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--teal-2);
  box-shadow: inset 0 0 0 6px var(--teal);
}

.entry-rail {
  display: grid;
  gap: 12px;
}

.entry-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.entry-link:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(15, 75, 70, 0.08);
}

.price {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 48px rgba(15, 75, 70, 0.08);
}

.price strong {
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: var(--ls-h2);
}

.calculator-hero {
  padding-top: 68px;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.calculator-form,
.calculator-results {
  background: linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 55px rgba(24, 36, 34, 0.08);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  align-content: start;
}

.calculator-example-note {
  grid-column: 1 / -1;
  margin: 0;
}

.calculator-noscript {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.article .calculator-embedded {
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 24px 0 36px;
}

.article .calculator-embedded .calculator-form,
.article .calculator-embedded .calculator-results {
  padding: 22px;
}

.calc-group,
.range-field {
  display: grid;
  gap: 12px;
}

.product-group,
.calc-divider {
  grid-column: 1 / -1;
}

.calc-label,
.range-field > span {
  color: var(--ink);
  font-weight: 500;
}

.range-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  line-height: 1.25;
}

.range-field b {
  color: var(--teal);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: var(--ls-button);
  white-space: nowrap;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(220, 239, 232, 0.52);
}

.segment {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.segment:hover {
  background: rgba(255, 255, 255, 0.76);
}

.segment.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 9px 20px rgba(15, 75, 70, 0.18);
}

.segment:focus-visible,
.range-field input[type="range"]:focus-visible {
  outline: 3px solid rgba(49, 95, 147, 0.22);
  outline-offset: 3px;
}

.range-field input[type="range"] {
  --range-progress: 0%;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--teal) 0 var(--range-progress, 0%),
    rgba(216, 225, 221, 0.95) var(--range-progress, 0%) 100%
  );
  cursor: pointer;
}

.range-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border: 6px solid var(--teal);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(15, 75, 70, 0.2);
}

.range-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 6px solid var(--teal);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(15, 75, 70, 0.2);
}

.calc-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.calc-divider::before,
.calc-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.calculator-results {
  display: grid;
  gap: 18px;
}

.calculator-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.saving-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.saving-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--paper);
}

/* Sentence-case label sitting above a figure. The scale's small/meta role is
   400, which reads as caption rather than label next to a number this heavy, so
   labels of this kind take 500 at the same size. That pairing — small size,
   medium weight, sentence case — is the only step added to the published
   scale; anything uppercase belongs to .eyebrow instead. */
.saving-card span {
  display: block;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 6px;
}

.saving-card strong {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: var(--ls-h2);
}

.primary-saving {
  background: linear-gradient(135deg, var(--teal), #1a5361);
  color: var(--white);
  border-color: var(--teal);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.primary-saving span,
.primary-saving .small {
  color: rgba(255, 255, 255, 0.78);
}

/* The one place weight 700 is used. The scale reserves it for a single number
   or word carrying real emphasis, and this is the figure the whole calculator
   exists to produce. Do not spend it a second time. */
.primary-saving strong {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: var(--ls-display);
}

.calc-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-comparison div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(220, 239, 232, 0.38);
}

.calc-comparison span {
  display: block;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 5px;
}

.calc-comparison strong {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: var(--ls-h3);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-size: var(--fs-body-lg);
  font-weight: 600;
  letter-spacing: var(--ls-h3);
}

.article-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 46px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 54px);
}

/* Long-form prose is the one place the measure has to be enforced explicitly —
   the article column can grow past 75 characters on wide screens. Lists keep
   their own indent, so the cap goes on paragraphs. */
.article > p,
.article li {
  max-width: var(--measure);
}

/* The article column is ~610px, so titles run long here. Holding the H1 to the
   bottom of its 44-56px band keeps the common ones in two lines; the floor
   follows the same narrow-viewport reasoning as --fs-h1. */
.article h1 {
  font-size: clamp(2rem, 1.1rem + 3vw, 2.75rem);
  line-height: 1.1;
}

.article h2 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.article ul {
  padding-left: 20px;
}

.article-byline {
  color: var(--teal);
  font-size: var(--fs-small);
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 18px;
}

.keypoints {
  background: var(--teal-2);
  border: 1px solid rgba(15, 75, 70, 0.16);
  border-radius: var(--radius);
  padding: 22px;
  margin: 26px 0;
}

.article .keypoints > h2 {
  margin-top: 0;
}

.article h3 {
  margin: 0 0 8px;
}

/* The illustration stays readable within the article column on small screens. */
.mechanism-figure {
  margin: 28px 0;
}
.mechanism-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.mechanism-figure button {
  margin-top: 14px;
}
/* Read the treatment journey first, then how the medicine works. */
.treatment-intro {
  max-width: 760px;
}
.treatment-intro .section-title {
  margin-bottom: 12px;
}
.treatment-mechanism {
  max-width: 640px;
  margin: 32px auto 0;
  scroll-margin-top: 104px;
}

@media (min-width: 681px) and (max-width: 800px) {
  .treatment-mechanism {
    scroll-margin-top: 148px;
  }
}
.treatment-mechanism > .mechanism-figure {
  margin: 0;
}
.mechanism-figure figcaption {
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Match the treatment journey; HTML keeps the heading and key legible on phones. */
.mechanism-card {
  padding: 32px;
  border-radius: calc(var(--radius) * 2);
  background: #edf4ef;
  color: var(--teal);
}

.mechanism-card .mechanism-heading {
  margin: 0 0 20px;
}

.mechanism-heading h3 {
  margin: 0;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.mechanism-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.5;
}

.mechanism-legend span {
  white-space: nowrap;
}

.mechanism-legend b {
  color: var(--teal);
  font-weight: 600;
}

/* Both illustrations follow the same desktop columns as the pricing content. */
@media (min-width: 981px) {
  .home-page #sa-fungerar-det {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 32px 48px;
  }

  .home-page .treatment-intro {
    grid-column: 1 / -1;
  }

  .home-page .treatment-journey {
    display: flex;
    flex-direction: column;
    margin-top: 0;
  }

  .home-page .journey-footer {
    margin-top: auto;
    padding-top: 20px;
  }

  .home-page .treatment-mechanism {
    display: grid;
    max-width: none;
    margin: 0;
  }

}

@media (max-width: 680px) {
  .mechanism-card {
    padding: 20px 14px;
  }

  .mechanism-card .mechanism-heading {
    margin-bottom: 16px;
  }
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 30px;
}

.article .savings-examples {
  grid-template-columns: 1fr;
}

.evidence-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fffefa;
}

.evidence-tile span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
}

.evidence-tile p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
}

.evidence-strong {
  border-color: rgba(15, 75, 70, 0.24);
  background: linear-gradient(180deg, #f8fdf9 0%, #edf7f1 100%);
}

.evidence-moderate {
  border-color: rgba(49, 95, 147, 0.24);
  background: linear-gradient(180deg, #fbfdff 0%, #eef5fb 100%);
}

.evidence-early {
  border-color: rgba(228, 86, 88, 0.22);
  background: linear-gradient(180deg, #fffdfa 0%, #fff2ec 100%);
}

.evidence-chart {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 252, 248, 0.96)),
    repeating-linear-gradient(90deg, rgba(216, 225, 221, 0.4) 0 1px, transparent 1px 20%);
}

.chart-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.chart-title {
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: var(--ls-h3);
  color: var(--ink);
}

.chart-head p,
.chart-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.5;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 500;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color);
  box-shadow: 0 0 0 3px rgba(24, 36, 34, 0.06);
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(165px, 0.82fr) minmax(0, 1.4fr);
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(216, 225, 221, 0.9);
}

.chart-label {
  display: grid;
  align-content: start;
  gap: 4px;
}

.chart-label b {
  line-height: 1.28;
}

.chart-label span {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
}

.chart-series {
  display: grid;
  gap: 8px;
}

.chart-bar {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
}

.chart-bar-name {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.15;
}

.chart-track {
  position: relative;
  height: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(216, 225, 221, 0.76);
}

.chart-fill {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: 999px;
  background: var(--bar-color);
  box-shadow: inset 0 -1px 0 rgba(24, 36, 34, 0.16);
}

.chart-value {
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.chart-note {
  padding-top: 12px;
  border-top: 1px solid rgba(216, 225, 221, 0.9);
}

.article-callout {
  margin: 24px 0;
  padding: 20px;
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  background: #fff8f5;
}

.article-callout p {
  margin-bottom: 0;
}

.references {
  margin-top: 38px;
  padding-top: 4px;
}

.references ol {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.references li {
  padding-left: 4px;
}

.references a {
  color: var(--teal);
  font-weight: 500;
}

.references li span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.5;
}

.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.site-footer {
  background: var(--teal);
  color: var(--white);
  margin-top: 0;
}

.site-footer .brand {
  color: var(--white);
}

.guide-sidebar {
  border-color: rgba(15, 75, 70, 0.18);
  background: linear-gradient(180deg, #ffffff, #f0f7f3);
}

.guide-sidebar .button {
  margin-top: 8px;
}

/* .eyebrow is an inline span, so it contributes no space above the h3 that
   follows it and the two labels collide in a ~250px sidebar column. */
.guide-sidebar .eyebrow {
  display: block;
  margin-bottom: 6px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 30px;
}

.footer-privacy a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-privacy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: var(--fs-small);
}

.footer-privacy button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-privacy button:hover,
.footer-privacy button:focus-visible {
  color: var(--white);
}

.footer-assurance {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 32px;
}

.footer-assurance-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.footer-assurance-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  text-decoration: none;
}

.footer-assurance-link strong,
.footer-assurance-link > span > span {
  display: block;
}

.footer-assurance-link > span > span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-small);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-assurance-logo {
  display: flex;
  flex: 0 0 136px;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 12px;
  border-radius: 4px;
  background: var(--white);
}

.footer-assurance-logo img {
  display: block;
  width: 112px;
  height: auto;
}

.footer-assurance-logo .footer-legitscript {
  width: 36px;
}

@media (max-width: 760px) {
  .footer-assurance-links {
    grid-template-columns: 1fr;
  }

  .footer-assurance-logo {
    flex-basis: 104px;
  }

  .footer-assurance-logo img {
    width: 80px;
  }
}

.notice {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.5;
  padding: 18px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.funnel-consent {
  max-width: 540px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-small);
  line-height: 1.45;
}

.funnel-consent h2 {
  margin: 0;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  letter-spacing: normal;
}

.funnel-consent p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: inherit;
  line-height: inherit;
}

.funnel-consent-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.funnel-consent button {
  min-height: 44px;
  min-width: 120px;
  padding: 8px 12px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--teal);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.funnel-consent button:hover,
.funnel-consent button:focus-visible {
  background: var(--teal-2);
}

.funnel-consent button:disabled {
  opacity: 0.6;
  cursor: default;
}

.funnel-consent details[open] {
  flex-basis: 100%;
}

.funnel-consent summary {
  padding: 10px 0;
  color: var(--teal);
  cursor: pointer;
}

.funnel-consent [data-funnel-status] {
  margin: 8px 0 0;
}

.funnel-consent [data-funnel-status]:empty {
  display: none;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(15, 75, 70, 0.24);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(24, 36, 34, 0.24);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner-compact .consent-banner-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.consent-banner-compact [data-funnel-status] {
  grid-column: 1 / -1;
}

.consent-banner-compact [data-funnel-status]:empty {
  display: none;
}

.consent-banner [data-consent-summary][hidden],
.consent-banner [data-consent-details][hidden],
.consent-banner [data-statistics-summary][hidden],
.consent-banner [data-statistics-details][hidden] {
  display: none;
}

.consent-purpose-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px;
}

.consent-purpose {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 14px 0 6px;
  border-top: 1px solid var(--line);
}

.consent-purpose input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 4px 0 0;
  accent-color: var(--teal);
  cursor: pointer;
}

.consent-purpose-body {
  flex: 1 1 auto;
  min-width: 0;
}

.consent-purpose label {
  display: block;
  cursor: pointer;
}

.consent-purpose-more summary {
  width: fit-content;
  padding: 8px 0;
  color: var(--teal);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.consent-purpose-more summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.consent-banner .consent-purpose-more p {
  margin: 0 0 10px;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.consent-banner .consent-policy-link {
  max-width: none;
  margin: 0;
  padding: 10px 0 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}

.consent-actions.consent-actions-three {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.consent-save-status:not(:empty) {
  padding: 0 22px 22px;
  color: var(--coral);
}

.funnel-consent-open {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-size: var(--fs-small);
  text-decoration: underline;
  cursor: pointer;
}

.consent-banner .consent-more {
  padding: 0;
  font: inherit;
  font-weight: 500;
}

.consent-banner-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.consent-banner h2 {
  margin: 0 0 8px;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: var(--ls-h3);
}

.consent-banner p {
  max-width: 760px;
  margin: 0 0 8px;
  color: var(--muted);
}

.consent-banner a {
  color: var(--teal);
  font-weight: 500;
}

.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  width: fit-content;
  justify-self: start;
}

.consent-choice {
  min-height: 46px;
  padding: 10px 16px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font: inherit;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  cursor: pointer;
}

.consent-choice:hover,
.consent-choice:focus-visible {
  background: var(--teal-2);
}

.consent-choice[data-consent-choice="granted"] {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 75, 70, 0.2);
}

.consent-choice[data-consent-choice="granted"]:hover,
.consent-choice[data-consent-choice="granted"]:focus-visible {
  background: #093a36;
}

.privacy-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 20px 88px;
}

.privacy-page h1 {
  margin-top: 12px;
}

.privacy-page h1,
.privacy-page h2,
.privacy-page th,
.privacy-page td {
  overflow-wrap: anywhere;
}

/* These h2s are prose headings followed directly by a <p>, not section titles
   inside .section-title (which supplies its own 30px). Left on the global
   display scale they set at ~48px against 16px body copy with zero space
   beneath. Matches .article h2, which solves the same problem. */
.privacy-page h2 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: var(--ls-h3);
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy-page h3 {
  font-size: var(--fs-body-lg);
  line-height: 1.3;
  margin-top: 28px;
  margin-bottom: 8px;
}

.privacy-page .card {
  margin-top: 24px;
}

.privacy-page table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.privacy-page th,
.privacy-page td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-page th {
  background: var(--teal-2);
}
@media (max-width: 800px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .calculator,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-media img,
  .hero-media video {
    height: 390px;
  }

  .hero-panel {
    left: 18px;
  }

  .grid.cols-4,
  .step-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .saving-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    --mobile-header-height: 81px;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav {
    flex-wrap: nowrap;
    padding: 16px 14px;
    gap: 8px;
  }

  /* Keep the footer brand compact on mobile. */
  .brand {
    font-size: var(--fs-body-lg);
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark svg {
    width: 33px;
    height: 33px;
  }

  .site-footer .brand {
    font-size: clamp(var(--fs-h3), 6.6vw, 1.625rem);
  }

  .nav-actions {
    gap: 6px;
    margin-left: auto;
  }

  /* Logo, "Logga in", "Kom igång" and the menu share one row on phones. */
  .site-header .nav {
    padding-inline: 12px;
    gap: 6px;
  }

  /* The space the S mark used goes to the wordmark; still one row with
     "Logga in", "Kom igång" and the menu. */
  .site-header .brand {
    font-size: clamp(1.125rem, 5.2vw, 1.75rem);
  }

  .button.nav-cta,
  .button.nav-login {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.8125rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: var(--mobile-header-height) 0 0;
    z-index: 101;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: rgba(24, 36, 34, 0.52);
    cursor: default;
  }

  .mobile-nav[open] .mobile-nav-backdrop {
    display: block;
  }

  .section {
    padding: 56px 16px;
  }

  .hero-inner {
    padding: 36px 16px 64px;
  }

  .hero-media img,
  .hero-media video {
    height: 300px;
  }

  .hero-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .step-list,
  .calculator-form,
  .saving-grid,
  .calc-comparison {
    grid-template-columns: 1fr;
  }

  .calculator-form,
  .calculator-results {
    padding: 20px;
  }

  .article .calculator-embedded .calculator-form,
  .article .calculator-embedded .calculator-results {
    padding: 17px;
  }

  .segmented {
    border-radius: var(--radius);
  }

  .segment {
    min-height: 44px;
    border-radius: 6px;
  }

  .treatment-section {
    padding: 40px 16px;
  }

  .treatment-compact .lead {
    margin-top: 14px;
  }

  .treatment-points {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .treatment-points li {
    min-height: 56px;
    padding: 11px 14px;
  }

  .range-field > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-height: calc(100vh - 20px);
  }

  .consent-banner-inner,
  .consent-banner-compact .consent-banner-inner,
  .consent-actions,
  .consent-actions.consent-actions-three {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-banner-inner {
    gap: 18px;
    padding: 18px;
  }

  .privacy-page {
    padding-top: 48px;
  }

  .privacy-page table,
  .privacy-page thead,
  .privacy-page tbody,
  .privacy-page tr,
  .privacy-page th,
  .privacy-page td {
    display: block;
  }

  .privacy-page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .privacy-page tr {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .privacy-page td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .privacy-page td:last-child {
    border-bottom: 0;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-chart {
    padding: 16px;
  }

  .chart-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chart-bar {
    grid-template-columns: 82px minmax(0, 1fr) 50px;
    gap: 8px;
  }

  .chart-bar-name,
  .chart-value {
    font-size: var(--fs-label);
  }

  .hero-actions,
  .action-row {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .treatment-journey {
    --journey-gap: 6px;
  }

  .journey-phase {
    padding-inline: 4px;
  }

  .nav {
    padding-inline: 12px;
    gap: 6px;
  }

  .button.nav-cta,
  .button.nav-login {
    padding-inline: 8px;
  }

  .site-footer .brand {
    font-size: clamp(1.125rem, 5.8vw, 1.375rem);
  }
}

/* Narrow phones: a smaller wordmark still fits beside both header buttons. */
@media (max-width: 360px) {
  .site-header .brand {
    font-size: 4.6vw;
  }
}

/* ===== Standalone intake flow (starta.html) ===== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.intake-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 15%, rgba(220, 239, 232, 0.92), transparent 28rem),
    radial-gradient(circle at 92% 86%, rgba(242, 199, 92, 0.16), transparent 30rem),
    var(--paper);
}

.intake-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(15, 75, 70, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 75, 70, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.intake-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  transform: translateY(-160%);
}

.intake-skip:focus {
  transform: translateY(0);
}

.intake-header {
  width: min(1180px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Tin mark plus wordmark for the standalone intake header. */
.intake-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.intake-brand-mark,
.intake-brand-mark svg {
  width: 38px;
  height: 38px;
  display: block;
}

.intake-close {
  padding: 8px 2px;
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: 500;
  text-underline-offset: 4px;
}

.intake-close:hover {
  color: var(--teal);
}

.intake-progress-shell {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: rgba(15, 75, 70, 0.1);
}

.intake-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--teal), #2e8276);
  box-shadow: 0 0 18px rgba(15, 75, 70, 0.26);
  transition: width 280ms ease;
}

.intake-main {
  min-height: calc(100vh - 81px);
  display: grid;
  align-items: center;
}

@supports (height: 100dvh) {
  .intake-page {
    min-height: 100dvh;
  }

  .intake-main {
    min-height: calc(100dvh - 81px);
  }
}

.intake-app {
  width: 100%;
}

.intake-screen {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 94px) 24px 70px;
  animation: intake-enter 260ms ease both;
}

.intake-screen h1 {
  max-width: 720px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 1.55rem + 2vw, 3rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: var(--ls-display);
}

.intake-screen h1:focus {
  outline: none;
}

.intake-intro {
  width: min(820px, 100%);
}

.intake-eyebrow {
  color: var(--teal);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.intake-lead,
.intake-description {
  max-width: var(--measure);
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: var(--ls-body-lg);
}

.intake-description:empty {
  display: none;
}

.intake-local-note,
.intake-clinical-note {
  max-width: 680px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 75, 70, 0.17);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(24, 36, 34, 0.06);
}

.intake-local-note strong,
.intake-clinical-note strong {
  color: var(--teal);
}

.intake-local-note p,
.intake-clinical-note p {
  margin: 5px 0 0;
  color: var(--muted);
}

.intake-local-note-strong {
  border-color: rgba(228, 86, 88, 0.24);
  background: rgba(255, 248, 245, 0.92);
}

.intake-delivery-wait {
  margin: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 500;
}

.intake-delivery-wait span {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(15, 75, 70, 0.2);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: intake-spin 750ms linear infinite;
}

.intake-checkout-screen {
  width: min(1120px, 100%);
}

.intake-payment-assurance {
  max-width: 680px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 75, 70, 0.24);
  border-radius: 10px;
  background: var(--teal-2);
  color: var(--ink);
}

.intake-payment-assurance strong {
  color: var(--teal);
}

.intake-payment-assurance p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.intake-checkout-shell {
  width: 100%;
  min-height: 700px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(24, 36, 34, 0.09);
}

.intake-checkout-shell iframe {
  width: 100%;
  min-height: 700px;
  display: block;
  border: 0;
  background: var(--white);
}

.intake-checkout-fallback {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

.intake-checkout-fallback a {
  color: var(--teal);
  font-weight: 500;
}

.intake-fineprint {
  max-width: var(--measure);
  margin-top: 28px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.5;
}

.intake-intro .intake-fineprint {
  max-width: 680px;
  text-wrap: pretty;
}

.intake-privacy-note strong {
  font-weight: 600;
}

.intake-privacy-note p {
  margin: 5px 0 0;
}

.intake-options {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}

.intake-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.intake-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.intake-option-body {
  min-height: 62px;
  padding: 12px 16px 12px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(15, 75, 70, 0.19);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(24, 36, 34, 0.035);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.intake-option-single .intake-option-body {
  grid-template-columns: minmax(0, 1fr);
}

.intake-option-action {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
}

.intake-consent .intake-option-body {
  grid-template-columns: minmax(0, 1fr) 28px;
}

.intake-option:hover .intake-option-body {
  border-color: rgba(15, 75, 70, 0.48);
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(15, 75, 70, 0.09);
}

.intake-option > input:focus-visible + .intake-option-body,
.intake-option-action:focus-visible .intake-option-body {
  outline: 3px solid rgba(49, 95, 147, 0.27);
  outline-offset: 3px;
}

.intake-option > input:checked + .intake-option-body {
  border-color: var(--teal);
  background: var(--teal-2);
  box-shadow: inset 0 0 0 1px var(--teal), 0 12px 30px rgba(15, 75, 70, 0.11);
}

.intake-option-copy {
  display: grid;
  gap: 2px;
}

.intake-option-copy strong {
  font-size: 0.9375rem;
  line-height: 1.3;
}

.intake-option-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.intake-checkmark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 75, 70, 0.22);
  border-radius: 50%;
  color: transparent;
  font-size: var(--fs-small);
  font-weight: 600;
}

.intake-option > input:checked + .intake-option-body .intake-checkmark {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.intake-selection-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.5;
}

.intake-field {
  max-width: 680px;
  display: grid;
  gap: 8px;
  margin-top: 30px;
  color: var(--ink);
  font-weight: 500;
}

.intake-field input,
.intake-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 75, 70, 0.26);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(24, 36, 34, 0.04);
  font-size: var(--fs-body-lg);
  font-weight: 400;
}

.intake-field input {
  min-height: 58px;
  padding: 0 16px;
}

.intake-field textarea {
  min-height: 138px;
  padding: 14px 16px;
  resize: vertical;
}

.intake-field input:focus-visible,
.intake-field textarea:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 95, 147, 0.22);
  outline-offset: 2px;
}

.intake-consumption {
  max-width: 680px;
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.intake-consumption .intake-field {
  min-width: 0;
  margin-top: 0;
}

.intake-consumption .intake-field small {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.5;
}

.intake-portion-slider > label {
  font-weight: 500;
}

.intake-portion-value {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  text-align: center;
}

.intake-portion-value output {
  color: var(--teal);
  font-size: 2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.intake-portion-value > span {
  color: var(--muted);
  font-size: var(--fs-small);
}

.intake-portion-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 16px;
}

.intake-portion-controls input[type="range"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  accent-color: var(--teal);
  cursor: pointer;
}

.intake-portion-adjust {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(15, 75, 70, 0.26);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  font-size: 1.5rem;
  cursor: pointer;
}

.intake-portion-adjust:disabled {
  opacity: 0.4;
  cursor: default;
}

.intake-portion-adjust:focus-visible,
.intake-portion-controls input:focus-visible {
  outline: 3px solid rgba(49, 95, 147, 0.27);
  outline-offset: 3px;
}

.intake-choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intake-choice-group legend {
  margin-bottom: 10px;
  padding: 0;
  font-weight: 500;
}

.intake-choice-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.intake-choice-buttons .intake-option:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.intake-choice-buttons .intake-option-body {
  height: 100%;
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 480px) {
  .intake-choice-buttons {
    grid-template-columns: minmax(0, 1fr);
  }
}

.intake-input-with-suffix {
  max-width: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 75, 70, 0.26);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
}

.intake-input-with-suffix:focus-within {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 95, 147, 0.22);
  outline-offset: 2px;
}

.intake-input-with-suffix input {
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: 0;
  box-shadow: none;
}

.intake-input-with-suffix input:focus-visible {
  outline: 0;
}

.intake-input-with-suffix > span {
  padding: 0 16px;
  color: var(--muted);
  font-size: var(--fs-body);
}

.intake-measurements {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.intake-error {
  max-width: 680px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--coral);
  border-radius: 5px;
  background: rgba(228, 86, 88, 0.08);
  color: #8a242d;
  font-weight: 500;
}

.intake-actions {
  max-width: 680px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.intake-actions-split {
  justify-content: space-between;
}

.intake-continue-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.intake-button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--ls-button);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.intake-button:hover {
  transform: translateY(-1px);
}

.intake-button:focus-visible,
.intake-link-button:focus-visible,
.intake-close:focus-visible,
.intake-brand:focus-visible {
  outline: 3px solid rgba(49, 95, 147, 0.27);
  outline-offset: 3px;
}

.intake-button-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(15, 75, 70, 0.2);
}

.intake-button-primary:hover {
  background: #0b3e3a;
}

.intake-button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal);
}

.intake-button-secondary:hover {
  border-color: rgba(15, 75, 70, 0.35);
  background: var(--white);
}

.intake-button:disabled {
  border-color: var(--line);
  background: #e4e9e5;
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.intake-key-hint {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  white-space: nowrap;
}

.intake-selection-help .intake-key-hint {
  white-space: normal;
}

.intake-actions .intake-error {
  flex-basis: 100%;
  margin: 0;
}

.intake-key-hint kbd,
.intake-selection-help kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

.intake-summary-list {
  max-width: 680px;
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.intake-summary-list > div {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.intake-summary-list > div:last-child {
  border-bottom: 0;
}

.intake-summary-list dt {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 500;
}

.intake-summary-list dd {
  margin: 0;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.intake-summary-list dd small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 500;
}

.intake-summary-actions {
  align-items: center;
}

.intake-link-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.intake-noscript {
  max-width: 680px;
  margin: 20px auto;
  padding: 18px;
  border: 1px solid var(--coral);
  border-radius: 8px;
  background: var(--white);
}

@keyframes intake-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intake-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .intake-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .intake-brand-mark,
  .intake-brand-mark svg {
    width: 34px;
    height: 34px;
  }

  .intake-main {
    min-height: calc(100dvh - 71px);
    align-items: start;
  }

  .intake-screen {
    padding: 28px 16px 40px;
  }

  /* Keep long question titles readable on narrow screens. */
  .intake-screen h1 {
    margin: 8px 0 10px;
    font-size: clamp(1.625rem, 6.8vw, 1.875rem);
    line-height: 1.1;
  }

  .intake-lead,
  .intake-description {
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .intake-option-copy strong {
    font-size: 0.875rem;
  }

  .intake-options {
    gap: 8px;
    margin-top: 20px;
  }

  .intake-option-body {
    min-height: 54px;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 9px 12px 9px 10px;
  }

  .intake-option-single .intake-option-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .intake-choice-buttons .intake-option-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .intake-consent .intake-option-body {
    grid-template-columns: minmax(0, 1fr) 24px;
  }

  .intake-actions {
    margin-top: 24px;
  }

  .intake-button {
    min-height: 46px;
  }

  .intake-payment-assurance {
    margin-top: 18px;
    padding: 14px 16px;
  }

  .intake-checkout-shell {
    margin-top: 20px;
  }

  .intake-measurements,
  .intake-summary-list > div {
    grid-template-columns: 1fr;
  }

  .intake-measurements {
    gap: 0;
  }

  .intake-summary-list > div {
    gap: 3px;
  }
}

/* Keep the next action in reach on phones, including landscape. The measured
   bar height also accounts for wrapped buttons, larger text and errors. */
@media (max-width: 760px), (max-height: 600px) {
  .intake-header {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .intake-screen {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: calc(32px + var(--intake-actions-height, 90px));
    /* A transformed ancestor would anchor the fixed bar to the question. */
    animation: none;
  }

  .intake-actions {
    position: fixed;
    z-index: 40;
    inset: auto 0 var(--intake-keyboard-offset, 0px);
    max-width: none;
    margin: 0;
    padding: 12px;
    padding-left: max(16px, calc((100% - 712px) / 2), env(safe-area-inset-left));
    padding-right: max(16px, calc((100% - 712px) / 2), env(safe-area-inset-right));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 75, 70, 0.14);
    background: var(--paper);
    box-shadow: 0 -4px 20px rgba(15, 75, 70, 0.06);
    gap: 10px 12px;
    align-items: stretch;
  }

  .intake-actions > .intake-button,
  .intake-continue-group {
    flex: 1;
    min-width: 0;
  }

  .intake-actions-split > .intake-button-secondary {
    flex: 0 1 auto;
  }

  .intake-actions .intake-button {
    min-height: 48px;
    padding: 12px 16px;
  }

  .intake-continue-group .intake-button {
    width: 100%;
  }

  .intake-key-hint {
    display: none;
  }

  .intake-options-scale {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .intake-options-scale .intake-option-body {
    grid-template-columns: 1fr;
    padding: 12px 0;
    text-align: center;
  }

  .intake-options-scale .intake-checkmark {
    display: none;
  }

  .intake-option,
  .intake-field input,
  .intake-field textarea {
    scroll-margin-block: 20px calc(20px + var(--intake-actions-height, 90px) + var(--intake-keyboard-offset, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .journey-track-progress,
  .journey-traveller {
    animation: none !important;
    transition: none;
  }

  .intake-screen {
    animation: none;
  }

  .intake-progress-bar,
  .intake-button,
  .intake-option-body {
    transition: none;
  }

  .intake-delivery-wait span {
    animation: none;
    border-color: var(--teal);
  }
}

/* ===== Content discovery, trust and utility pages ===== */

.intake-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 42px;
  align-items: center;
  margin-block: 76px 0;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 16%, rgba(242, 199, 92, 0.2), transparent 17rem),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.intake-teaser h2 {
  max-width: 760px;
}

.intake-teaser .lead,
.intake-teaser .small {
  color: rgba(255, 255, 255, 0.72);
}

.intake-teaser-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.intake-teaser-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-small);
  font-weight: 500;
}

.intake-teaser-action {
  display: grid;
  gap: 14px;
  align-content: center;
}

.intake-teaser-action .button {
  min-height: 54px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.authority-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.authority-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 75, 70, 0.42);
  box-shadow: 0 16px 38px rgba(15, 75, 70, 0.1);
}

.authority-card b {
  color: var(--teal);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
}

.breadcrumbs a {
  color: var(--teal);
  text-underline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
}

.article-meta .article-byline {
  margin: 0;
  color: var(--teal);
}

.article h2[id] {
  scroll-margin-top: 102px;
}

.article-toc,
.sidebar-toc {
  border: 1px solid rgba(15, 75, 70, 0.18);
  border-radius: var(--radius);
  background: rgba(220, 239, 232, 0.42);
}

.article-toc {
  display: none;
  margin: 24px 0;
  padding: 20px;
}

.article-toc h2 {
  margin: 0 0 10px;
  font-size: var(--fs-body-lg);
  letter-spacing: var(--ls-h3);
}

.article-toc ol,
.sidebar-toc ol {
  margin: 0;
  padding-left: 20px;
}

.article-toc li,
.sidebar-toc li {
  margin: 7px 0;
}

.article-toc a,
.sidebar-toc a,
.sidebar-related a {
  color: var(--teal);
  text-underline-offset: 3px;
}

.sidebar-toc {
  padding: 19px;
}

.sidebar-toc h3 {
  margin-bottom: 10px;
}

.sidebar-toc ol {
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
}

.sidebar-related {
  border-left: 4px solid var(--teal);
}

.article-related {
  margin-top: 46px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.article-related .section-title {
  margin-bottom: 22px;
}

.article-related .section-title h2 {
  margin: 0;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.article-related-grid .article-card {
  min-height: 0;
  padding: 18px;
}

/* Card titles sit in a narrow grid column, so they hold at body size rather
   than the full H3 step; the 600 weight is what marks them as headings. */
.article-related-grid .article-card h3 {
  font-size: var(--fs-body);
  letter-spacing: var(--ls-button);
}

.article-related-grid .article-card p {
  display: none;
}

.article-pagination {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 34px;
}

.article-pagination a {
  min-height: 96px;
  padding: 15px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}

.article-pagination a:hover {
  border-color: var(--teal);
  background: rgba(220, 239, 232, 0.35);
}

.article-pagination span {
  color: var(--muted);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.article-pagination b {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.3;
}

.article-series-link {
  text-align: center;
}

.article-cta {
  margin-bottom: 0;
}

.article-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 75, 70, 0.42);
  box-shadow: 0 18px 42px rgba(15, 75, 70, 0.1);
}

.article-card h3 {
  margin-top: 13px;
}

.article-card p {
  flex: 1;
}

.article-card b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.article-card b svg {
  width: 16px;
  height: 16px;
}

/* The hub is a directory, not a landing page: it is read by scanning, so the
   hero is tuned down from the global hero rhythm. The h1 overrides the global
   clamp(2.55rem, 5vw, 5.3rem), which set 40 characters of title across three
   lines and pushed the cluster grid below the fold. */
.article-hub-hero {
  display: block;
  padding: 52px 20px 36px;
}

.article-hub-hero h1 {
  margin-top: 10px;
  margin-bottom: 14px;
  max-width: 880px;
}

.article-hub-hero .lead {
  max-width: 680px;
  margin-bottom: 0;
}

.hub-count {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 500;
}

.article-search {
  max-width: 720px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
}

.article-search > span {
  grid-column: 1 / -1;
  color: var(--ink);
  font-weight: 500;
}

.article-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.article-search input:focus {
  outline: 3px solid rgba(15, 75, 70, 0.18);
  border-color: var(--teal);
}

.article-search small {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  white-space: nowrap;
}

.featured-paths {
  padding-top: 24px;
}

.path-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  border-top: 5px solid var(--teal);
}

.path-card p {
  flex: 1;
  color: var(--muted);
}

.path-card b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.path-card b svg {
  width: 17px;
  height: 17px;
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
  box-shadow: 0 18px 42px rgba(15, 75, 70, 0.1);
}

.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.topic-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
}

.topic-links a:hover {
  border-color: var(--teal);
}

/* 76px top + 76px bottom from .section put ~152px between clusters, which on a
   directory page reads as unfinished rather than airy. */
.article-cluster {
  scroll-margin-top: 86px;
  padding-block: 52px;
  border-top: 1px solid var(--line);
}

.article-cluster:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(220, 239, 232, 0.28), transparent 70%);
}

/* Full-bleed box with the content inset instead of a 900px centred one: the
   radial gradient used to stop dead at the 900px edge, drawing a visible
   rectangle across the page on wide viewports. The padding formula keeps the
   content column at the same 852px it had before. */
.not-found {
  min-height: 100vh;
  padding: 12vh max(24px, calc((100% - 852px) / 2)) 80px;
  display: grid;
  align-content: center;
  background: radial-gradient(circle at 75% 20%, var(--teal-2), transparent 25rem);
}

@supports (height: 100dvh) {
  .not-found {
    min-height: 100dvh;
  }
}

.not-found h1 {
  max-width: 850px;
}

/* ===== Home conversion landing page ===== */

/* Keep the landing page's rhythm independent of the viewport height. */
.home-page .hero {
  min-height: 0;
}

.home-page .hero-inner {
  padding-block: 56px 64px;
}

.home-page .hero-actions .button,
.home-page .price .button {
  min-height: 52px;
  padding-block: 12px;
  line-height: 1.3;
}

.home-page .hero-actions .button.primary {
  box-shadow: 0 5px 14px rgba(15, 75, 70, 0.12);
}

.home-page .hero-benefits {
  gap: 12px;
  margin-top: 28px;
}

.home-page .home-hero .hero-actions {
  margin-top: 30px;
}

.home-page .hero-benefits li {
  align-items: start;
}

.home-page .hero-benefits li::before {
  margin-top: 5px;
}

.home-pricing {
  display: block;
}

.home-pricing .price-stack {
  width: 100%;
  max-width: none;
  margin-top: 0;
}

/* Keep the title above the offer, with terms alongside it on wider screens. */
@media (min-width: 761px) {
  .home-pricing {
    padding-top: 0;
  }

  .home-pricing .price-stack {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px;
  }

  .home-pricing .price-notes {
    gap: 20px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
  }

  .home-pricing .price-notes .small {
    font-size: var(--fs-body);
  }
}

/* The surrounding section already supplies the mobile horizontal inset. */
.home-page .section > .intake-teaser {
  margin-inline: 0;
}

/* The only display-role headline on the site. Every other h1 stays a step below
   it so the landing page reads as the loudest page. */
.home-hero h1 {
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: var(--ls-display);
}

/* The copy column sizes to its longest line (capped) and the portrait column
   is fixed, so the photo sits next to the headline instead of at the far edge
   of the container and the headline keeps its two lines down to the tablet
   breakpoint. Both columns start at the top. */
.home-hero .hero-inner {
  grid-template-columns: fit-content(640px) 300px;
  justify-content: start;
  align-items: start;
  gap: 72px;
}

.home-hero .hero-copy {
  padding-top: 0;
}

/* Portrait in place of the hero video. The photo has a plain white backdrop,
   so a hairline and the shared shadow separate it from the paper background.
   Three benefit tags float over the photo's edges, so the portrait is centred
   in its column to leave room for the overhang on both sides. */
.hero-portrait {
  justify-self: start;
  width: min(100%, 300px);
  /* Lines the frame up with the cap height of the display headline rather
     than the top of its line box. */
  margin: 10px 0 0;
}

.hero-portrait-frame {
  position: relative;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-portrait-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Same card language as the rest of the page (paper, hairline, soft shadow)
   with the icon in a teal disc. Positions are percentages of the frame so
   the tags keep their place on the face-free edges when the portrait scales.
   The li only positions and (below) slides out on scroll; the body inside it
   draws the pill and plays the staggered entrance, so the two animations
   never compete for the same opacity and transform. */
.hero-tag {
  position: absolute;
  white-space: nowrap;
}

.hero-tag-body {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(24, 36, 34, 0.14);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1;
  animation: hero-tag-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-tag-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-2);
  color: var(--teal);
}

.hero-tag-icon svg {
  width: 18px;
  height: 18px;
}

.hero-tag:nth-child(1) {
  top: 9%;
  right: -11%;
  --tag-slide: 72px;
}

.hero-tag:nth-child(2) {
  top: 62%;
  left: -17%;
  --tag-slide: -72px;
}

.hero-tag:nth-child(3) {
  bottom: 9%;
  right: -7%;
  --tag-slide: 72px;
}

.hero-tag:nth-child(1) .hero-tag-body {
  animation-delay: 0.15s;
}

.hero-tag:nth-child(2) .hero-tag-body {
  animation-delay: 0.3s;
}

.hero-tag:nth-child(3) .hero-tag-body {
  animation-delay: 0.45s;
}

@keyframes hero-tag-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* On scroll the tags slide out to their own side and fade, driven by the
   document scroll position over the first 320px, so they return when the
   visitor scrolls back up. The root scroller is named explicitly because the
   hero's overflow: hidden would otherwise count as the nearest scroller.
   Browsers without scroll-driven animations keep the tags in place. */
@supports (animation-timeline: scroll()) {
  .hero-tag {
    animation: hero-tag-out linear both;
    animation-timeline: scroll(root);
    animation-range: 0 320px;
  }
}

@keyframes hero-tag-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(var(--tag-slide, 0px));
  }
}

/* Homepage hero (20 November 2026 owner decision): the snusdosa scene from
   the /ansokan loading screen (prototype/style.css) in place of the portrait. The keyframes are the same
   2 s sequence (1% = 20 ms): two rocks, a hop, a spin over the bin, the drop.
   scripts/site.js pauses these animations and sets their time from the scroll
   position; without JavaScript they play once. Everything is scoped and named
   hero-dosa so a form release, which loads this stylesheet next to its own
   copy of the scene, is unaffected. */
.home-hero-dosa .hero-inner {
  grid-template-columns: fit-content(640px) minmax(300px, 440px);
  align-items: center;
}

.hero-dosa {
  justify-self: stretch;
}

.hero-dosa-scene {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-dosa .ink { stroke: #182422; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.hero-dosa .dosa-ground { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.hero-dosa .dosa-shadow { fill: #182422; opacity: 0.14; transform-box: fill-box; transform-origin: center; animation: hero-dosa-shadow 2s both; }
.hero-dosa .dosa-x { animation: hero-dosa-x 2s both; }
.hero-dosa .dosa-hide { animation: hero-dosa-x 2s both, hero-dosa-hide 2s both; }
.hero-dosa .dosa-y { animation: hero-dosa-y 2s both; }
.hero-dosa .dosa-squash { transform-box: fill-box; transform-origin: 50% 100%; animation: hero-dosa-squash 2s both; }
.hero-dosa .dosa-spin { transform-box: fill-box; transform-origin: center; animation: hero-dosa-spin 2s both; }
.hero-dosa .bin-back,
.hero-dosa .bin-front { transform-box: view-box; transform-origin: 220px 184px; animation: hero-dosa-bin-wobble 2s both; }
.hero-dosa .bin-lid { transform-box: view-box; transform-origin: 260px 109px; animation: hero-dosa-bin-lid 2s both; }
.hero-dosa .dosa-puff circle { fill: #eef6f2; stroke: #182422; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: hero-dosa-puff 2s both; }
.hero-dosa .dosa-puff circle:nth-child(2) { animation-delay: 0.03s; }
.hero-dosa .dosa-puff circle:nth-child(3) { animation-delay: 0.06s; }
.hero-dosa .dosa-puff circle:nth-child(4) { animation-delay: 0.04s; }
.hero-dosa .dosa-puff circle:nth-child(5) { animation-delay: 0.08s; }
.hero-dosa .dosa-sparkles path { fill: var(--yellow); stroke: #182422; stroke-width: 1.6; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: hero-dosa-sparkle 2s both; }
.hero-dosa .dosa-sparkles g:nth-child(2) path { animation-delay: 0.1s; }

@keyframes hero-dosa-x { 0%, 24% { transform: translateX(0); animation-timing-function: cubic-bezier(0.3, 0.45, 0.5, 1); } 58.5%, 100% { transform: translateX(150px); } }
@keyframes hero-dosa-y { 0%, 24% { transform: translateY(0); animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); } 44% { transform: translateY(-100px); animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.35); } 70.5%, 100% { transform: translateY(-20px); } }
@keyframes hero-dosa-squash {
  0% { transform: rotate(0deg) scale(1, 1); } 4.5% { transform: rotate(-11deg) scale(1, 1); } 9% { transform: rotate(9deg) scale(1, 1); }
  13.5% { transform: rotate(-5deg) scale(1, 1); } 17.5% { transform: rotate(0deg) scale(1, 1); }
  23% { transform: rotate(0deg) scale(1.2, 0.74); } 27% { transform: rotate(0deg) scale(0.86, 1.18); } 35%, 100% { transform: rotate(0deg) scale(1, 1); }
}
@keyframes hero-dosa-spin { 0%, 25% { transform: rotate(0deg); animation-timing-function: ease-in-out; } 63.5%, 100% { transform: rotate(360deg); } }
@keyframes hero-dosa-hide { 0%, 72.5% { opacity: 1; } 74.5%, 100% { opacity: 0; } }
@keyframes hero-dosa-shadow { 0%, 17.5% { transform: scale(1); opacity: 0.14; } 23% { transform: scale(1.2); opacity: 0.16; } 44% { transform: scale(0.45); opacity: 0.07; } 53%, 100% { transform: scale(0.6); opacity: 0; } }
@keyframes hero-dosa-bin-lid {
  0%, 28.5% { transform: rotate(0deg); } 38% { transform: rotate(118deg); } 44% { transform: rotate(100deg); } 49%, 68% { transform: rotate(106deg); }
  73% { transform: rotate(-3deg); } 77.5% { transform: rotate(12deg); } 82%, 100% { transform: rotate(0deg); }
}
@keyframes hero-dosa-bin-wobble { 0%, 72.5% { transform: none; } 75% { transform: rotate(-4deg) scale(1.05, 0.95); } 78% { transform: rotate(3deg) scale(0.98, 1.03); } 81% { transform: rotate(-1.5deg); } 85%, 100% { transform: none; } }
@keyframes hero-dosa-puff { 0%, 73% { opacity: 0; transform: translateY(0) scale(0); } 77% { opacity: 1; transform: translateY(-4px) scale(1.1); } 90%, 100% { opacity: 0; transform: translateY(-16px) scale(0.6); } }
@keyframes hero-dosa-sparkle { 0%, 76% { opacity: 0; transform: scale(0) rotate(0deg); } 83% { opacity: 1; transform: scale(1.25) rotate(45deg); } 94%, 100% { opacity: 0; transform: scale(0) rotate(90deg); } }

.hero-portrait figcaption {
  margin-top: 14px;
  padding-inline: 4px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.4;
}

.hero-portrait figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

/* Keep this after both hero animation declarations so source order cannot
   re-enable motion for visitors who asked for a static presentation. */
@media (prefers-reduced-motion: reduce) {
  .hero-tag,
  .hero-tag-body {
    animation: none;
  }

  /* The scene stands still: the dosa beside the closed bin. */
  .hero-dosa-scene * {
    animation: none !important;
  }
}

/* 20 November 2026 owner decision: "Det är svårt att sluta snusa", between the hero
   and the treatment section. Three plain cards, side by side on desktop and
   stacked on phones; the coral dot sets them apart from the teal benefit
   lists, which describe what the treatment gives. */
.home-recognition .section-title {
  margin-bottom: 8px;
}

.recognition-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recognition-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  /* Cards in a row share the tallest one's height; keep shorter lines centred. */
  align-content: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 2);
  color: var(--ink);
  font-size: var(--fs-body-lg);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--ls-body-lg);
}

.recognition-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  /* Centres the dot on the first line: (1.4em line - 10px) / 2. */
  margin-top: calc(0.7em - 5px);
  border-radius: 50%;
  background: var(--coral);
}

@media (max-width: 760px) {
  .recognition-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .recognition-list li {
    padding: 16px 18px;
  }
}

.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.payment-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
}

.payment-logos img {
  display: block;
  width: 44px;
  height: 28px;
  object-fit: contain;
}

/* Preserve the clear space included in BankID's original artwork. */
.payment-logos .payment-bankid {
  height: 36px;
}

.hero-benefits {
  gap: 8px;
  margin-top: 22px;
}

.hero-benefits li {
  align-items: center;
  font-weight: 500;
}

.hero-benefits li::before {
  margin-top: 0;
}

.hero-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 26px 0 0;
}

.hero-price strong {
  color: var(--ink);
  font-size: clamp(2.15rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-price span {
  color: var(--ink);
  font-size: var(--fs-body-lg);
}

.hero-refund {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  max-width: 560px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.45;
}

.hero-refund svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.home-hero .hero-actions {
  margin-top: 22px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 500;
}

.trust-line span + span::before {
  content: "·";
  margin-right: 18px;
  color: var(--line);
}

.stat {
  display: grid;
  gap: 6px;
  align-content: start;
}

.stat strong {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  line-height: 1.05;
  color: var(--teal);
  text-wrap: balance;
}

.stat span {
  color: var(--muted);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
}

.stat p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: var(--wt-small);
  line-height: 1.5;
}

/* Widens the shared .article-callout for full-section use on the home page.
   .article-callout must stay unscoped — do not nest it under .article. */
.callout-wide {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
}

.callout-wide h2 {
  margin-bottom: 14px;
}

.callout-wide p + p {
  margin-top: 14px;
}

.price-stack .price {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
}

.price-featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, #ffffff 0%, #f2f9f5 100%);
  box-shadow: 0 20px 52px rgba(15, 75, 70, 0.15);
}

.price p {
  margin: 0;
}

.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

/* Home pricing: one card plus plain notes under it, kept at card width. */
.price-stack {
  display: grid;
  gap: 20px;
  max-width: 560px;
  margin-top: 26px;
}

.price-includes {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price-includes > .small {
  color: var(--muted);
  font-size: var(--fs-label);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
}

.price-includes .checklist {
  margin-top: 12px;
}

.price-notes {
  display: grid;
  gap: 10px;
  padding: 0 4px;
}

.price-notes p {
  margin: 0;
}

.price-notes .price-notes-calc {
  margin-top: 22px;
}

/* .intake-teaser carries margin-block: 76px 0 for its original standalone use.
   On the home page it sits inside .section, which already supplies that rhythm. */
.section > .intake-teaser {
  margin-block: 0;
}

/* Inside an article the column is ~740px, which leaves the teaser's first grid
   column too narrow to set text. Collapse to one column at every width. The
   explicit margin outranks the `margin: 46px 16px 0` in the 640px media block
   (0,2,0 beats 0,1,0), which would otherwise inset it inside the article's
   own padding. */
.article > .intake-teaser {
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 46px 0 0;
  padding: clamp(26px, 4vw, 40px);
}

@media (max-width: 980px) {
  .home-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-hero .hero-copy {
    max-width: 700px;
  }

  .home-page .hero-media {
    min-height: 0;
  }

  .home-page .hero-media video {
    height: auto;
    max-height: 390px;
    aspect-ratio: 16 / 9;
  }

  .hero-portrait {
    justify-self: start;
    width: min(100%, 320px);
    margin-top: 0;
  }

  .hero-dosa {
    justify-self: start;
    width: min(100%, 420px);
  }

  .hero-tag:nth-child(1) {
    right: -22%;
  }

  .hero-tag:nth-child(2) {
    left: -12px;
  }

  .hero-tag:nth-child(3) {
    right: -14%;
  }

  .article-toc {
    display: block;
  }

  .sidebar-toc {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-price {
    display: grid;
    gap: 6px;
  }

  .hero-price span {
    font-size: var(--fs-body);
  }

  .trust-line {
    display: grid;
    gap: 5px;
  }

  .trust-line span + span::before {
    content: none;
  }

  .article-meta {
    display: grid;
    gap: 4px;
  }

  .article-toc {
    display: block;
  }

  .sidebar-toc {
    display: none;
  }

  .article-related-grid,
  .article-pagination {
    grid-template-columns: 1fr;
  }

  .article-pagination > span:empty {
    display: none;
  }

  .article-series-link {
    text-align: left;
  }

  .article-search {
    grid-template-columns: 1fr;
  }

  .article-search small {
    justify-self: start;
  }

  .intake-teaser {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 46px 16px 0;
    padding: 32px 22px;
  }

  .intake-teaser-action .button {
    width: 100%;
  }

  .article-hub-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 28px;
  }

  .article-cluster {
    padding-block: 40px;
  }

  .article-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .home-page .hero-inner {
    gap: 20px;
    padding: 22px 16px 28px;
  }

  .home-hero .hero-benefits {
    gap: 6px;
    margin-top: 16px;
  }

  .home-hero .hero-actions {
    margin-top: 16px;
  }

  .home-page .hero-media video {
    aspect-ratio: 4 / 3;
  }

  /* Reserve 28px on each side for the tags, including on narrow phones. */
  .hero-portrait {
    justify-self: center;
    width: min(calc(100% - 56px), 300px);
  }

  .hero-portrait img {
    aspect-ratio: 1;
    object-position: 50% 15%;
  }

  .hero-dosa {
    justify-self: center;
    width: min(100%, 360px);
  }

  /* On phones the snusdosa hero fills the first screen except for a strip
     at the bottom, where the top edge of the next section's heading shows
     as a cue that the page continues (48px: that section's 36px top padding
     plus about a third of the heading's first line). The extra room goes above the headline, so
     the scene rests just above the fold. 81px is the phone header; svh is
     the viewport with the browser's bars showing, so nothing jumps when they
     hide (vh is the fallback for older browsers). Screens too short for the
     hero's content are unaffected. */
  .home-page .home-hero-dosa {
    --hero-peek: 48px;
    min-height: calc(100vh - 81px - var(--hero-peek));
    align-items: end;
  }

  @supports (min-height: 100svh) {
    .home-page .home-hero-dosa {
      min-height: calc(100svh - 81px - var(--hero-peek));
    }
  }

  .hero-tag-body {
    gap: 8px;
    padding: 5px 13px 5px 5px;
  }

  .hero-tag-icon {
    width: 28px;
    height: 28px;
  }

  .hero-tag-icon svg {
    width: 16px;
    height: 16px;
  }

  .hero-tag:nth-child(1) {
    top: 6%;
    right: -28px;
  }

  .hero-tag:nth-child(2) {
    top: 74%;
    left: -28px;
  }

  .hero-tag:nth-child(3) {
    bottom: 7%;
    right: -28px;
  }

  .home-page .section {
    padding: 36px 16px;
  }

  .home-page .section-title {
    margin-bottom: 22px;
  }

  .home-page .treatment-intro .lead {
    margin-bottom: 0;
    font-size: clamp(var(--fs-small), 4.1vw, var(--fs-body));
    line-height: 1.5;
  }

  .home-page .treatment-intro .section-title {
    margin-bottom: 12px;
  }

  .home-page #sa-fungerar-det {
    padding-top: 24px;
    scroll-margin-top: 72px;
  }

  .home-page .treatment-intro h2 {
    font-size: 1.75rem;
  }

  .home-page .price-stack .price {
    padding: 24px 20px;
  }

  .home-page .faq details {
    padding: 16px;
  }

  .home-page .faq summary {
    min-height: 28px;
    line-height: 1.45;
  }

  .home-page .faq details p {
    margin: 12px 0 0;
  }

  .home-page .intake-teaser {
    padding: 28px 20px;
    gap: 22px;
  }
}

@media (max-width: 360px) {
  .hero-tag:nth-child(2) {
    top: 54%;
  }
}

/* ---------------------------------------------------------------------------
   Om oss. Appended at the end of the file on purpose: performance-check.mjs
   asserts that the generic @supports (height: 100dvh) intake override precedes
   the @media (max-width: 640px) one, and its regex matches the FIRST 640px
   block in the file. A new 640px block inserted earlier silently breaks that
   ordering check. New page styles go here.
   --------------------------------------------------------------------------- */

/* Unfilled fact on the Om oss page. Loud on purpose: a placeholder that reads
   like finished copy is how "ORG.NR" ends up on a live healthcare page. */
.tbd {
  background: #fff3cd;
  color: #6b4e00;
  border: 1px dashed #b98900;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 0.86em;
  font-weight: 600;
  letter-spacing: 0;
}

.about-hero {
  padding-bottom: 24px;
}

.about-facts {
  width: 100%;
  max-width: 780px;
  border-collapse: collapse;
}

.about-facts th,
.about-facts td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: var(--fs-body);
}

.about-facts th {
  width: 38%;
  background: var(--teal-2);
  font-weight: 600;
}

.about-person-title {
  margin-bottom: 4px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .about-facts,
  .about-facts tbody,
  .about-facts tr,
  .about-facts th,
  .about-facts td {
    display: block;
  }

  .about-facts tr {
    margin-bottom: 12px;
  }

  .about-facts th {
    width: auto;
    border-bottom: 0;
  }
}

/* Confirmation and payment expectations, scoped to the final intake screen. */
.intake-screen.intake-confirmation { width: min(1056px, 100%); padding: 40px 32px; animation: none; }
.intake-confirmation svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.intake-confirm-intro h1 { margin: 0 0 18px; font-size: clamp(32px, 4.4vw, 48px); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.intake-confirm-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: 60px; align-items: start; margin-top: 38px; }
.intake-confirm-journey-list { list-style: none; margin: 0; padding: 0; }
.intake-confirm-journey-step { position: relative; display: flex; gap: 18px; padding-bottom: 30px; }
.intake-confirm-journey-step:not(:last-child)::after { content: ""; position: absolute; top: 42px; bottom: 4px; left: 19px; width: 1px; background: var(--line); }
.intake-confirm-journey-step:last-child { padding-bottom: 0; }
.intake-confirm-step-number { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 16px; font-weight: 500; }
.intake-confirm-current .intake-confirm-step-number { background: var(--teal); border-color: var(--teal); color: var(--white); box-shadow: 0 0 0 5px rgba(220, 239, 232, .65); }
.intake-confirm-step-content { padding-top: 5px; }
.intake-confirm-step-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.intake-confirm-step-content h2 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
.intake-confirm-step-content p { max-width: 290px; margin: 5px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.intake-confirm-step-content p strong { color: var(--ink); font-weight: 500; }
.intake-confirm-current-label { background: var(--teal-2); color: var(--teal); border-radius: 20px; padding: 2px 8px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.intake-confirm-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 27px; box-shadow: 0 10px 36px rgba(24, 36, 34, .035); }
.intake-confirm-offer-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.intake-confirm-offer-heading h2 { font-size: 18px; letter-spacing: -.02em; font-weight: 600; line-height: 1.3; margin: 0; }
.intake-confirm-offer-price { display: flex; flex-direction: column; align-items: flex-start; }
.intake-confirm-offer-price > strong { font-size: 24px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--teal); }
.intake-confirm-offer-price strong span { font-size: 16px; font-weight: 500; }
.intake-confirm-offer-price > span { font-size: 11px; color: var(--muted); margin-top: 3px; }
.intake-confirm-included-list { display: grid; gap: 7px; padding: 0; margin: 12px 0 23px; list-style: none; }
.intake-confirm-included-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; line-height: 1.45; }
.intake-confirm-included-list svg { width: 17px; height: 17px; color: var(--teal); }
.intake-confirm-refund-note { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 7px; background: #f0f6f0; color: var(--teal); }
.intake-confirm-refund-note svg { width: 23px; height: 23px; }
.intake-confirm-refund-note p { font-size: 12px; line-height: 1.6; margin: 0; }
.intake-confirm-refund-note strong { display: block; font-weight: 600; }
.intake-confirm-medicine-note { margin: 10px 0 21px; font-size: 11px; color: var(--muted); }
.intake-confirm-answer-review { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intake-confirm-answer-review summary { display: flex; align-items: center; gap: 8px; min-height: 50px; cursor: pointer; list-style: none; color: var(--ink); font-size: 13px; font-weight: 500; }
.intake-confirm-answer-review summary::-webkit-details-marker { display: none; }
.intake-confirm-answer-review summary span { font-size: 11px; font-weight: 400; color: var(--muted); }
.intake-confirm-answer-review summary svg { margin-left: auto; width: 17px; height: 17px; transition: transform .15s ease; }
.intake-confirm-answer-review[open] summary svg { transform: rotate(180deg); }
.intake-confirm-answer-review-content { padding-bottom: 16px; font-size: 13px; }
.intake-confirm-answer-review-content dl { margin: 0 0 12px; }
.intake-confirm-answer-review-content dl div { margin-bottom: 8px; }
.intake-confirm-answer-review-content dt { color: var(--muted); }
.intake-confirm-answer-review-content dd { margin: 0; }
.intake-confirm-text-button { appearance: none; border: 0; background: none; font: inherit; color: var(--teal); padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.intake-confirm-privacy-copy { margin: 18px 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.intake-confirm-privacy-copy .intake-confirm-text-button { display: inline; }
.intake-confirmation .intake-confirm-continue-button { width: 100%; min-height: 54px; padding: 14px 16px; gap: 10px; justify-content: center; border-radius: 7px; font-size: 14px; font-weight: 500; }
.intake-confirm-continue-button svg { width: 20px; height: 20px; }
.intake-confirm-button-note { margin: 9px 0 0; text-align: center; color: var(--muted); font-size: 11px; }

.intake-confirmation :is(button, summary, a):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.intake-confirmation .intake-summary-list { border: 0; border-radius: 0; margin: 0 0 12px; }
.intake-confirmation .intake-summary-list > div { display: block; padding: 12px 0; margin: 0; }
.intake-confirmation .intake-summary-list dt { margin-bottom: 4px; font-size: 13px; }
.intake-confirmation .intake-summary-list dd { font-size: 14px; }
.intake-confirmation .intake-error { margin: 0 0 12px; font-size: 13px; line-height: 1.5; }
@media (max-width: 899px) {
  .intake-screen.intake-confirmation { max-width: 650px; padding-top: 24px; }
  .intake-confirm-layout { grid-template-columns: 1fr; gap: 26px; margin-top: 27px; }
  .intake-confirm-journey-list { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
  .intake-confirm-journey-step { padding: 0; gap: 12px; }
  .intake-confirm-journey-step:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) {
  .intake-screen.intake-confirmation { padding: 22px 20px 220px; }
  .intake-confirmation:has([data-intake-review-error]:not([hidden])) { padding-bottom: calc(60dvh + 40px); }
  .intake-confirm-intro h1 { font-size: 32px; margin-bottom: 12px; }
  .intake-confirm-layout { margin-top: 26px; gap: 24px; }
  .intake-confirm-journey-list { display: block; }
  .intake-confirm-journey-step { padding-bottom: 18px; gap: 13px; }
  .intake-confirm-journey-step:not(:last-child)::after { display: block; top: 33px; bottom: 3px; left: 15px; }
  .intake-confirm-step-number { width: 32px; height: 32px; flex-basis: 32px; font-size: 13px; }
  .intake-confirm-step-content { padding-top: 3px; }
  .intake-confirm-step-content h2 { font-size: 14px; }
  .intake-confirm-step-content p { font-size: 13px; margin-top: 3px; max-width: none; }
  .intake-confirm-card { padding: 21px; border-radius: 12px; }
  .intake-confirm-offer-heading h2 { font-size: 17px; }
  .intake-confirm-offer-price > strong { font-size: 22px; }
  .intake-confirm-offer-price > span { font-size: 10px; }
  .intake-confirm-included-list { gap: 7px; margin: 12px 0 20px; }
  .intake-confirm-included-list li { font-size: 13px; }
  .intake-confirm-refund-note { padding: 11px; }
  .intake-confirm-refund-note p { font-size: 13px; }
  .intake-confirm-medicine-note { font-size: 12px; margin-bottom: 16px; }
  .intake-confirm-action { position: fixed; z-index: 20; inset: auto 0 0; max-height: 60dvh; overflow-y: auto; padding: 12px 20px max(14px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(24, 36, 34, .04); }
  .intake-confirm-action .intake-confirm-privacy-copy { margin: 0 0 10px; font-size: 12px; line-height: 1.5; }
  .intake-confirm-action .intake-confirm-button-note { display: none; }
  .intake-confirmation :is(button, summary, a) { scroll-margin-block: 20px 62dvh; }
  .intake-confirmation .intake-confirm-continue-button { font-size: 14px; padding: 14px 8px; gap: 6px; }
  .intake-confirm-continue-button svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) { .intake-confirmation * { animation: none !important; transition: none !important; } }

/* ===== Black Friday (26 November 2026 owner decision) =====
   695 kr instead of 995 kr until 28 November 2026 00:00 Stockholm time.
   scripts/site.js (public pages) and care/application.mjs (application) add
   html.sale-ended at the end, which shows only the ordinary price. Remove
   after the offer has ended. */
.sale-regular { display: none; }
html.sale-ended .sale-now { display: none !important; }
html.sale-ended .sale-regular { display: inline; }

.sale-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--yellow);
  color: #111816;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-sale-countdown] {
  color: var(--coral);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Banner at the top of the sticky site header. */
.sale-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  padding: 9px 16px;
  background: #111816;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.sale-banner:hover { color: var(--white); }
.sale-banner-offer strong { color: var(--yellow); font-weight: 700; }
.sale-banner-offer s { margin-left: 4px; opacity: 0.7; }
.sale-banner-time b { font-weight: 600; }
/* A lighter red stays readable on the black banner and landing-page box. */
.sale-banner [data-sale-countdown],
.sale-hero-timer [data-sale-countdown] { color: #ff6f69; font-weight: 600; }

/* Struck ordinary price next to a sale price. */
.sale-was {
  color: var(--muted);
  font-weight: 400;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

/* Entry-page hero price. */
.hero-price .sale-was { font-size: var(--fs-body-lg); }
.hero-price strong .sale-now,
.hero-price strong .sale-regular { font: inherit; color: inherit; }
.sale-hero-timer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 10px 0 0;
  padding: 6px 10px;
  border-radius: 6px;
  background: #111816;
  color: var(--white);
  font-size: 0.95rem;
}
.sale-hero-timer .sale-tag { font-size: 0.72rem; }

/* Home price card. */
.price-featured.sale-card { position: relative; }
html:not(.sale-ended) .price-featured.sale-card { border-color: #111816; }
.sale-card-tag {
  position: absolute;
  top: -13px;
  left: 20px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #111816;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-amount .sale-was { font-size: 1.35rem; }
.price-featured .sale-card-timer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: var(--fs-body-lg);
}
.sale-card-timer b {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Application: strip under the payment step and checkout heading. */
.sale-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 12px 0 4px;
  padding: 10px 12px;
  border: 1px solid var(--yellow);
  border-radius: 8px;
  background: #fff5d6;
  color: #111816;
  font-size: 0.95rem;
}
.sale-strip .sale-tag { background: #111816; color: var(--yellow); }
.sale-strip strong { font-weight: 700; }
.sale-strip s { margin-left: 2px; color: var(--muted); }

@media (max-width: 760px) {
  /* Sale and struck price share a line; "engångsbetalning" goes under them. */
  html:not(.sale-ended) .hero-price { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; }
  html:not(.sale-ended) .hero-price > span:last-child { grid-column: 1 / -1; }
}
