/* Enercia — hand-written stylesheet (DESIGN §6).
   Reproduces the former Tailwind design (tailwind.config.ts + compiled .next CSS):
   tokens as custom properties, mobile-first, WCAG AA contrasts, :focus-visible, reduced motion.
   Breakpoints: sm 640px · md 768px · lg 1024px · container 1200px. */

/* ── fonts ─────────────────────────────────────────────────────────────────── */
/* Both faces are limited to the latin subset of the file: a glyph outside it (e.g. "→" U+2192)
   then comes from system-ui, as on the former site, not from the metric-matched Arial fallback. */
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/sofia-sans-latin-wght.woff2?v=e0ea7bf0ba) format("woff2");
}
@font-face {
  font-family: "Sofia Sans Condensed";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/sofia-sans-condensed-latin-wght.woff2) format("woff2");
}

/* ── tokens ────────────────────────────────────────────────────────────────── */
:root {
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --brand-200: #fed7aa;
  --brand-300: #fdba74;
  --brand-400: #fb923c;
  --brand-500: #f97316;
  --brand-600: #c2410c;
  --brand-700: #c2410c;
  --brand-800: #9a3412;
  --brand-900: #7c2d12;
  --brand-950: #431407;

  --ink-50: #f6f7f9;
  --ink-100: #eceef2;
  --ink-200: #d4d9e2;
  --ink-300: #aeb7c8;
  --ink-400: #8290a8;
  --ink-500: #61708c;
  --ink-600: #4c5972;
  --ink-700: #3e495d;
  --ink-800: #363f4f;
  --ink-900: #0f172a;
  --ink-950: #080d18;

  --amber-50: #fff8eb;
  --amber-100: #ffedc6;
  --amber-200: #ffd988;
  --amber-700: #b74506;
  --amber-800: #94350c;
  --amber-900: #7a2d0d;
  --amber-text: rgba(122, 45, 13, 0.9);

  --danger: #b91c1c;
  --danger-50: #fef2f2;
  --danger-200: #fecaca;
  --danger-800: #991b1b;

  --radius-sm: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.12);

  --container: 1200px;
  --gutter: 1.25rem;
  --font-sans: "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Sofia Sans Condensed", "Sofia Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── base (Tailwind preflight subset) ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--ink-200);
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  text-wrap: balance;
}
p, blockquote, dl, dd, figure, pre, hr { margin: 0; }
ul, ol, menu { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: inherit; text-underline-offset: 2px; }
b, strong { font-weight: bolder; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea {
  margin: 0;
  font: inherit;
  font-feature-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
}
button { cursor: pointer; background: transparent; padding: 0; }
summary { display: list-item; }
textarea { resize: vertical; }
[hidden]:where(:not([hidden="until-found"])) { display: none !important; }

/* Focus always visible (WCAG 2.4.7) */
:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}
main:focus { outline: none; }

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

/* ── layout primitives ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 1200px) {
  .container { max-width: var(--container); }
}
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border-radius: var(--radius-sm);
  background: var(--brand-700);
  padding: 0.5rem 1rem;
  color: #fff;
  box-shadow: var(--shadow-card);
}
.icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; }
.icon--xs { width: 0.875rem; height: 0.875rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }

/* ── buttons & badges ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-align: center;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn--sm { min-height: 2.25rem; padding: 0.375rem 0.75rem; font-size: 0.875rem; line-height: 1.25rem; }
.btn--md { min-height: 2.75rem; padding: 0.5rem 1.25rem; font-size: 0.95rem; line-height: 1.375rem; }
.btn--lg { min-height: 3rem; padding: 0.5rem 1.5rem; font-size: 1rem; line-height: 1.5rem; }
/* primary uses brand-700 (5.8:1 with white) instead of brand-600 (4.0:1) for WCAG AA */
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-800); }
.btn--secondary { background: var(--ink-900); color: #fff; }
.btn--secondary:hover { background: var(--ink-800); }
.btn--outline { border: 1px solid var(--ink-300); background: #fff; color: var(--ink-900); }
.btn--outline:hover { background: var(--ink-50); }
.btn--ghost { color: var(--ink-800); }
.btn--ghost:hover { background: var(--ink-100); }
.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--brand-50); }
.btn--block { width: 100%; }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; cursor: default; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: var(--radius-full);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--badge-ring, var(--ink-200));
}
.badge--brand { background: var(--brand-50); color: var(--brand-800); --badge-ring: var(--brand-200); }
.badge--neutral { background: var(--ink-100); color: var(--ink-700); --badge-ring: var(--ink-200); }
.badge--warn { background: var(--amber-50); color: var(--amber-800); --badge-ring: var(--amber-200); }

/* ── header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--ink-200);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink-900);
}
.brand__mark {
  display: flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--brand-600);
  color: #fff;
}
.brand__name { font-size: 1.125rem; line-height: 1.75rem; }
/* The first row stays 4rem tall when the open menu wraps below it (32px + 2rem, 40px + 1.5rem). */
.site-header__bar > .brand { margin-block: 1rem; }
.nav-toggle {
  margin-block: 0.75rem;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--ink-700);
}
.nav-toggle:hover { background: var(--ink-100); }
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.site-nav {
  display: none;
  flex: 0 0 calc(100% + 2 * var(--gutter));
  margin-inline: calc(-1 * var(--gutter));
  border-top: 1px solid var(--ink-200);
  padding: 1rem var(--gutter);
}
.site-nav.is-open { display: block; }
.site-nav__list { display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav__link {
  display: block;
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--ink-800);
}
.site-nav__link:hover { background: var(--ink-100); }
.site-nav__link[aria-current] { color: var(--brand-700); }
.site-nav__cta { margin-top: 0.75rem; width: 100%; min-height: 2.75rem; font-size: 0.95rem; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-header__bar { flex-wrap: nowrap; height: 4rem; }
  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    column-gap: 1rem;
    margin: 0;
    border: 0;
    padding: 0;
  }
  /* centred between the logo and the CTA like the former justify-between row (gap-4 on both sides) */
  .site-nav__list { flex-direction: row; gap: 1.5rem; margin-inline: auto; }
  .site-nav__link {
    padding: 0;
    border-radius: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--ink-700);
  }
  .site-nav__link:hover { background: none; color: var(--brand-700); }
  .site-nav__cta { margin-top: 0; width: auto; min-height: 2.25rem; font-size: 0.875rem; }
}

/* ── hero (page header) ───────────────────────────────────────────────────── */
.hero--home,
.hero--gradient,
.hero--measure,
.hero--geo { background: linear-gradient(to bottom, var(--brand-50), #fff); }
.hero__inner { padding-block: 2.5rem; }
.hero--home .hero__inner { padding-block: 4rem; }
.hero--plain .hero__inner,
.hero--center .hero__inner { padding-top: 3rem; padding-bottom: 0; }
.hero--thanks .hero__inner { padding-block: 6rem; text-align: center; }
.hero--error .hero__inner { padding-top: 6rem; padding-bottom: 3rem; text-align: center; }
.breadcrumbs + .hero__body,
.breadcrumbs + .hero__split { margin-top: 1.5rem; }
.hero__body { max-width: 48rem; }
.hero--plain .hero__body { max-width: 42rem; }
.hero--center .hero__body,
.hero--thanks .hero__body,
.hero--error .hero__body { margin-inline: auto; max-width: 42rem; text-align: center; }
.hero__badge { margin-bottom: 1rem; }
.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.hero__title { font-size: 2.25rem; line-height: 1.25; font-weight: 700; }
.hero--plain .hero__title,
.hero--center .hero__title,
.hero--thanks .hero__title,
.hero--error .hero__title,
.hero--split .hero__title { line-height: 2.5rem; }
.hero--measure .hero__title,
.hero--geo .hero__title { font-size: 1.875rem; }
.hero__highlight { color: var(--brand-700); }
.hero__lead { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-700); }
.hero--measure .hero__lead,
.hero--geo .hero__lead { margin-top: 1rem; }
.hero--plain .hero__lead,
.hero--center .hero__lead,
.hero--split .hero__lead { margin-top: 0.75rem; color: var(--ink-600); }
.hero--thanks .hero__lead,
.hero--error .hero__lead {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--ink-600);
}
.hero__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero--measure .hero__ctas { margin-top: 1.5rem; }
.hero--thanks .hero__ctas,
.hero--error .hero__ctas { justify-content: center; }
.hero--thanks .btn--lg,
.hero--error .btn--lg { min-height: 2.75rem; padding: 0.5rem 1.25rem; font-size: 0.95rem; }
.hero__checklist {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--ink-700);
}
.hero__checklist li { display: flex; align-items: center; gap: 0.5rem; }
.hero--center .hero__checklist { justify-content: center; color: var(--ink-600); }
.hero__check { color: var(--brand-600); }
.hero__icon { margin-inline: auto; width: 3rem; height: 3rem; color: var(--brand-600); }
.hero__icon + .hero__title { margin-top: 1rem; }
.hero__eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.375rem; }
.hero__eyebrow + .hero__title { margin-top: 0.75rem; }
.hero__split { display: grid; gap: 2rem; }
.hero__split .hero__body { max-width: none; }
@media (min-width: 640px) {
  .hero--home .hero__inner { padding-block: 6rem; }
  .hero--home .hero__title,
  .hero--gradient .hero__title { font-size: 3rem; line-height: 1; }
  .hero--measure .hero__title,
  .hero--geo .hero__title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero__split { grid-template-columns: 1.4fr 1fr; align-items: center; }
}
.summary-card { padding: 1.5rem; }
.summary-card__title { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }

/* ── breadcrumbs ──────────────────────────────────────────────────────────── */
.breadcrumbs { font-size: 0.875rem; line-height: 1.25rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; color: var(--ink-500); }
.breadcrumbs__item { display: flex; align-items: center; gap: 0.25rem; }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs [aria-current] { font-weight: 500; color: var(--ink-700); }
.breadcrumbs__sep { width: 0.875rem; height: 0.875rem; }

/* ── sections ─────────────────────────────────────────────────────────────── */
.section { padding-block: 3.5rem; }
.section--default { background: #fff; }
.section--muted { background: var(--ink-50); }
.section--brand { background: var(--brand-50); }
.section--before-flush { padding-bottom: 0; }
.section--flush { padding-top: 2rem; }
.hero--plain + .section,
.hero--center + .section { padding-top: 2.5rem; }
.hero--error + .section { padding-top: 0; padding-bottom: 6rem; }
/* plain and centred pages were one py-12 container: 3rem before the footer at every width */
.hero--plain ~ .section:last-child,
.hero--center ~ .section:last-child { padding-bottom: 3rem; }
@media (min-width: 640px) {
  .section { padding-block: 5rem; }
  .section--before-flush { padding-bottom: 0; }
  .section--flush { padding-top: 2rem; }
  .hero--plain + .section,
  .hero--center + .section { padding-top: 2.5rem; }
  .hero--error + .section { padding-top: 0; padding-bottom: 6rem; }
}
.section--center { text-align: center; }
.section--center .section-header { margin-inline: auto; }
.section--center .section-header__title { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-700); letter-spacing: normal; }
.section--center .link-list { justify-content: center; }
.section--center .section-header + .link-list { margin-top: 0.75rem; }

.section-header { max-width: 42rem; }
.eyebrow {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.section-header__title { margin-top: 0.5rem; font-size: 1.875rem; line-height: 2.25rem; }
.section-header__title:first-child { margin-top: 0; }
.section-header__intro { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-600); }
/* Links written in a section intro or a card text (intro_md, text_md): visible as links, like .prose a. */
.section-header__intro a,
.feature-card__text a { font-weight: 500; color: var(--brand-700); text-decoration: underline; }
.section-header__intro a:hover,
.feature-card__text a:hover { color: var(--brand-800); }
@media (min-width: 640px) {
  .section-header__title { font-size: 2.25rem; line-height: 2.5rem; }
}
.section-header + * { margin-top: 2.5rem; }
.section-header + .section-body--narrow { margin-top: 2rem; }
.section-header + .sources { margin-top: 1.5rem; }
.section-body--narrow { max-width: 48rem; }
.section-body--center { margin-inline: auto; }
.section-title-sm { margin-bottom: 1.5rem; font-size: 1.5rem; line-height: 2rem; }

/* ── grids & cards ────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) {
  .grid--cols-2,
  .grid--cols-3,
  .grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cards > li:not(.feature-card) { display: flex; }
.card {
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-2xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.icon-box {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--brand-50);
  color: var(--brand-700);
}
.icon-box--sm { width: 2.5rem; height: 2.5rem; }
.step-number { font-weight: 700; }
.feature-card { width: 100%; padding: 1.5rem; }
.feature-card__title { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; }
.feature-card__text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.measure-card,
.geo-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 1.5rem;
  transition: border-color 0.15s var(--ease);
}
.measure-card:hover,
.geo-card:hover,
.related-card:hover,
.post-featured:hover { border-color: var(--brand-300); }
.measure-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.measure-card__title,
.geo-card__title { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-900); }
.measure-card:hover .measure-card__title,
.geo-card:hover .geo-card__title,
.related-card:hover .related-card__title { color: var(--brand-700); }
.measure-card__summary { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.card-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--brand-700);
}
.geo-card .card-cta { margin-top: 0.75rem; }
.card-cta__arrow { transition: transform 0.15s var(--ease); }
a:hover .card-cta__arrow { transform: translateX(0.125rem); }
.related-card { display: block; width: 100%; padding: 1.5rem; transition: border-color 0.15s var(--ease); }
.related-card__title { font-size: 1rem; line-height: 1.5rem; }
.related-card__text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.related-card .card-cta { margin-top: 0.75rem; }
.related-card--post { padding: 1.25rem; }
.related-card--post .related-card__title { margin-top: 0.5rem; }
.related-card--post .related-card__text { margin-top: 0.25rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq { border: 1px solid var(--ink-200); border-radius: var(--radius-2xl); background: #fff; text-align: left; }
.faq__item { padding-inline: 1.25rem; }
.faq__item + .faq__item { border-top: 1px solid var(--ink-200); }
.faq__question {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--ink-900);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ""; }
.faq__chevron { color: var(--ink-400); transition: transform 0.15s var(--ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding-bottom: 1.25rem; font-size: 1rem; }

/* ── boxes: price honesty, trust chain, notice, teaser, CTA ───────────────── */
.price-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-xl);
  background: var(--amber-50);
  padding: 1.25rem;
  text-align: left;
}
.price-box__icon { margin-top: 0.125rem; color: var(--amber-700); }
.price-box__title { font-size: 1rem; line-height: 1.5rem; color: var(--amber-900); letter-spacing: -0.025em; }
.price-box__text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--amber-text); }
.price-box__link {
  margin-top: 0.75rem;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--amber-900);
  text-decoration: underline;
}
.price-box__link:hover { color: var(--amber-700); }

.trust {
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-2xl);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.trust__head { display: flex; align-items: center; gap: 0.5rem; }
.trust__icon { color: var(--brand-600); }
.trust__title { font-size: 1.125rem; line-height: 1.75rem; }
.trust__intro { margin-top: 0.5rem; max-width: 42rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.trust__roles { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) {
  .trust__roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .trust__roles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.trust__role { border-radius: var(--radius-xl); background: var(--ink-50); padding: 1rem; }
.trust__role-head { display: flex; align-items: center; gap: 0.5rem; }
.trust__role-icon { color: var(--brand-700); }
.trust__role-title { font-size: 0.875rem; line-height: 1.25rem; }
.trust__role-text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.trust__data { margin-top: 0.75rem; display: grid; gap: 0.5rem; border-top: 1px solid var(--ink-200); padding-top: 0.75rem; }
.trust__data dt { font-size: 0.75rem; line-height: 1rem; font-weight: 500; color: var(--ink-500); }
.trust__data dd { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-900); }
.trust__note { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.trust__note a { font-weight: 500; color: var(--brand-700); text-decoration: underline; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-lg);
  background: var(--amber-50);
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--amber-900);
  text-align: left;
}
.notice__icon { margin-top: 0.125rem; }
.notice a { text-decoration: underline; }
.notice--brand { border-color: var(--brand-200); background: var(--brand-50); color: var(--ink-700); }
.notice--brand .notice__icon { color: var(--brand-700); }
.notice--brand a { font-weight: 500; color: var(--brand-700); }

.teaser {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  /* the former page nested a second .container here: the box sits one gutter further in */
  margin-inline: var(--gutter);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-2xl);
  background: var(--amber-50);
  padding: 2rem;
}
.teaser__body { max-width: 42rem; }
.teaser__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--amber-800);
}
.teaser__title { margin-top: 0.5rem; font-size: 1.5rem; line-height: 2rem; }
.teaser__text { margin-top: 0.5rem; color: var(--ink-700); }
.teaser__cta { flex-shrink: 0; }
@media (min-width: 1024px) {
  .teaser { flex-direction: row; align-items: center; justify-content: space-between; }
}

.cta-band { background: var(--brand-700); }
.cta-band__inner { padding-block: 4rem; text-align: center; }
.cta-band__eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--brand-100); }
.cta-band__title { font-size: 1.875rem; line-height: 2.25rem; color: #fff; }
.cta-band__text { margin: 0.75rem auto 0; max-width: 36rem; color: var(--brand-50); }
.cta-band__actions { margin-top: 2rem; display: flex; justify-content: center; }
.cta-band__link { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--brand-100); }
.cta-band__link a { text-decoration: underline; }
.cta-band :focus-visible,
.cta-box :focus-visible { outline-color: #fff; }

.cta-box {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border-radius: var(--radius-2xl);
  background: var(--brand-700);
  padding: 2rem;
  color: #fff;
}
.cta-box__title { font-size: 1.25rem; line-height: 1.75rem; color: #fff; }
.cta-box__text { margin-top: 0.25rem; color: var(--brand-50); }
@media (min-width: 640px) {
  .cta-box { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── sources, link lists, contact info ────────────────────────────────────── */
.sources { display: grid; max-width: 48rem; gap: 0.75rem; }
@media (min-width: 640px) {
  .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.source-link {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--ink-700);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.source-link:hover { border-color: var(--brand-300); color: var(--brand-700); }
.source-link__icon { color: var(--brand-600); }
.link-list { display: grid; gap: 0.5rem; }
.link-list__link { font-weight: 500; color: var(--brand-700); text-decoration: underline; }
.link-list__text { display: block; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.link-list--pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.link-list--pills .link-list__link {
  display: inline-block;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: var(--ink-700);
  text-decoration: none;
}
.link-list--pills .link-list__link:hover { border-color: var(--brand-300); color: var(--brand-700); }
.contact-info { display: grid; gap: 1rem; }
.contact-info__row { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-info__icon { margin-top: 0.125rem; color: var(--brand-700); }
.contact-info dt { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-600); }
.contact-info dd { color: var(--ink-900); }
.contact-info a:hover { color: var(--brand-700); text-decoration: underline; }
.contact-info__empty { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }

/* ── split layout (contacto) ──────────────────────────────────────────────── */
.page-split { padding-block: 3rem; }
.split { margin-top: 1.5rem; display: grid; gap: 3rem; }
.split__main > .block { margin-top: 2rem; }
.split__main > .block--notice { margin-top: 2rem; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── prose ────────────────────────────────────────────────────────────────── */
.prose { max-width: 68ch; font-size: 1.0625rem; line-height: 1.625; color: var(--ink-800); }
.prose--wide { max-width: none; }
/* inside generic sections the section padding replaces the first heading margin */
.section .prose > :first-child,
.block .prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; line-height: 2rem; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; line-height: 1.75rem; }
.prose p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; list-style: disc; padding-left: 1.5rem; }
.prose ol { margin-top: 1rem; list-style: decimal; padding-left: 1.5rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li > p:first-child { margin-top: 0; }
.prose a { font-weight: 500; color: var(--brand-700); text-decoration: underline; }
.prose a:hover { color: var(--brand-800); }
.prose strong { font-weight: 600; color: var(--ink-900); }
.prose blockquote {
  margin-top: 1.5rem;
  border-left: 4px solid var(--brand-200);
  background: var(--brand-50);
  padding: 0.5rem 0 0.5rem 1rem;
  color: var(--ink-700);
}
.prose blockquote p:first-child { margin-top: 0; }
.prose table { margin-top: 1.5rem; width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th,
.prose td { border-bottom: 1px solid var(--ink-200); padding: 0.5rem 0.75rem 0.5rem 0; text-align: left; vertical-align: top; }
.prose__note { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-500); }
.prose__note strong { color: var(--ink-700); }
.prose .not-prose { margin-block: 1.5rem; font-size: 1rem; line-height: 1.5rem; }
/* the measure pages' «ficha» notice sat 1rem below its list (former my-4); the price box keeps 1.5rem */
.prose .not-prose:has(> .notice) { margin-block: 1rem; }
/* prose sections of generic pages (pillar page) were max-w-3xl, not 65ch */
.section--prose .prose { max-width: 48rem; }
/* one-line notes closing a block were small muted text (text-sm text-ink-500): the zona hub's line
   after the region grid, the pillar page's line after the CTA band (former mt-6 below the CTA) */
.section--geo-grid + .section--prose .prose,
.cta-band + .section--prose .prose { max-width: none; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-500); }
.section--geo-grid + .section--prose .prose a,
.cta-band + .section--prose .prose a { font-weight: 400; }
.cta-band + .section--prose { padding-top: 1.5rem; }
/* FAQ answers: 1rem text and the former 65ch measure (former prose-enercia text-[1rem]); like .prose,
   68ch of this Inter build = 65ch of the former one (686px at 16px) */
.faq__answer.prose { max-width: 68ch; font-size: 1rem; }
.faq__answer.prose > p:first-child { margin-top: 0; }

/* ── measure & geo layouts ────────────────────────────────────────────────── */
.with-sidebar { display: grid; gap: 3rem; padding-block: 3rem; }
.sidebar { display: grid; align-content: start; gap: 1.5rem; }
@media (min-width: 1024px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 18rem; }
  .sidebar { position: sticky; top: 6rem; align-self: start; }
}
.sidebar-box { border-radius: var(--radius-2xl); padding: 1.5rem; }
.sidebar-box--brand { border: 1px solid var(--brand-200); background: var(--brand-50); }
.sidebar-box__title { font-size: 1rem; line-height: 1.5rem; }
.sidebar-box__title--sm { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; }
.sidebar-box__icon { color: var(--brand-700); }
.sidebar-box__text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-700); }
.ficha-code { white-space: nowrap; } /* «RES090–RES099» never breaks after its dash */
.sidebar-box .btn { margin-top: 1rem; }
.sidebar-box__link { margin-top: 0.5rem; display: inline-block; font-size: 0.875rem; line-height: 1.25rem; color: var(--brand-700); text-decoration: underline; }
.checklist { margin-top: 0.75rem; display: grid; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-700); }
.checklist li { display: flex; align-items: flex-start; gap: 0.5rem; }
.checklist__icon { margin-top: 0.125rem; color: var(--brand-600); }

/* ── blog ─────────────────────────────────────────────────────────────────── */
.post-featured {
  display: block;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-2xl);
  background: var(--brand-50);
  padding: 2rem;
  transition: border-color 0.15s var(--ease);
}
.post-featured__title { margin-top: 0.75rem; font-size: 1.5rem; line-height: 2rem; color: var(--ink-900); }
.post-featured__excerpt { margin-top: 0.5rem; max-width: 42rem; color: var(--ink-700); }
.post-grid { margin-top: 2.5rem; }
.post-card { display: flex; width: 100%; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.post-card__title { margin-top: 0.75rem; font-size: 1.125rem; line-height: 1.75rem; }
.post-card__title a:hover { color: var(--brand-700); }
.post-card__excerpt { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.post-card__date { margin-top: 1rem; display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; line-height: 1rem; color: var(--ink-500); }
.page-article { padding-block: 3rem; }
.article { margin-top: 1.5rem; }
.article__header { max-width: 48rem; }
.article__title { margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.25; font-weight: 700; }
.article__lead { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-600); }
.article__meta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--ink-500);
}
.article__meta > span { display: inline-flex; align-items: center; gap: 0.375rem; }
.article__meta-ok { color: var(--brand-600); }
.article__body { margin-top: 2rem; }
.author-box {
  margin-top: 3rem;
  max-width: 48rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-2xl);
  background: var(--ink-50);
  padding: 1.5rem;
}
.author-box__title { font-size: 0.875rem; line-height: 1.25rem; }
.author-box__text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.article-related { margin-top: 3rem; }
.article-related__title { font-size: 1.25rem; line-height: 1.75rem; }
.article-related .grid { margin-top: 1rem; }

/* ── legal ────────────────────────────────────────────────────────────────── */
/* .container only: <body> also carries class="page-legal" (page-{{ kind }}) and must not get the padding */
.container.page-legal { padding-block: 3rem; }
.legal { margin-top: 1.5rem; max-width: 48rem; }
.legal__title { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.legal__updated { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-500); }
.legal .notice { margin-top: 1.5rem; }
.legal__intro { margin-top: 1.5rem; color: var(--ink-700); }
.legal__body { margin-top: 2rem; }
.placeholder {
  border-radius: 0.25rem;
  background: var(--ink-100);
  padding: 0 0.25rem;
  font-size: 0.9em;
  color: var(--ink-600);
}

/* ── lead form ────────────────────────────────────────────────────────────── */
.lead { position: relative; }
.lead-form { padding: 1.5rem; }
.lead-form__title { font-size: 1.125rem; line-height: 1.75rem; }
.lead-form__intro { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.lead-form__fields { margin-top: 1rem; display: grid; gap: 1rem; }
.lead-form__footnote { text-align: center; font-size: 0.75rem; line-height: 1rem; color: var(--ink-500); }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field__label { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-800); }
.field__req { color: var(--danger); }
.field__hint { margin-top: 0.125rem; font-size: 0.75rem; line-height: 1rem; color: var(--ink-500); }
.field__error { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1rem; color: var(--danger); }
.input {
  margin-top: 0.375rem;
  display: block;
  width: 100%;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0.625rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5rem;
  color: var(--ink-900);
}
.input:focus { outline: 2px solid var(--brand-600); outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input--textarea { min-height: 5.5rem; }
.consent { border-radius: var(--radius-lg); background: var(--ink-50); padding: 1rem; }
.consent__row { display: flex; align-items: flex-start; gap: 0.5rem; }
.consent__box { margin-top: 0.125rem; width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--brand-700); }
.consent__label { font-size: 0.75rem; line-height: 1rem; color: var(--ink-700); }
.consent__label a { font-weight: 500; color: var(--brand-700); text-decoration: underline; }
.consent .field__error { margin-top: 0.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--danger-200);
  border-radius: var(--radius-lg);
  background: var(--danger-50);
  padding: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--danger-800);
}
.alert__icon { margin-top: 0.125rem; }
.lead-success {
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-2xl);
  background: var(--brand-50);
  padding: 1.5rem;
}
.lead-success:focus { outline: none; }
.lead-success__icon { color: var(--brand-600); }
.lead-success__title { margin-top: 0.75rem; font-size: 1.125rem; line-height: 1.75rem; }
.lead-success__title:focus { outline: none; }
.lead-success__text,
.lead-success__ref { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-700); }
.lead-success__ref strong { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.02em; color: var(--ink-900); }
.lead-success__more { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.lead-success__more a { color: var(--brand-700); text-decoration: underline; }

/* ── eligibility simulator ────────────────────────────────────────────────── */
/* The steps and the result view share one centred column: the result takes the place of the card. */
.simulator__flow,
.sim-outcome { margin-inline: auto; max-width: 36rem; }
.sim-progress { display: flex; align-items: center; gap: 0.5rem; }
.sim-progress__bar { height: 0.375rem; flex: 1; border-radius: var(--radius-full); background: var(--ink-200); }
.sim-progress__bar.is-done { background: var(--brand-600); }
.sim-progress__label { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-500); }
.sim-card { margin-top: 1rem; padding: 1.5rem; }
.sim-step__title { font-size: 1.25rem; line-height: 1.75rem; }
.sim-step__title:focus,
.sim-result__title:focus,
.sim-outcome__title:focus { outline: none; }
.sim-options { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.sim-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--ink-800);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.sim-option:hover { border-color: var(--brand-300); }
.sim-option__check { color: var(--ink-200); }
.sim-option[aria-pressed="true"] { border-color: var(--brand-400); background: var(--brand-50); color: var(--brand-800); }
.sim-option[aria-pressed="true"] .sim-option__check { color: var(--brand-600); }
.sim-zone { margin-top: 1.25rem; display: grid; gap: 1rem; }
.sim-hint { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; line-height: 1rem; color: var(--ink-500); }
.sim-back {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--ink-500);
}
.sim-back:hover { color: var(--ink-700); }
/* last step: the visitor's details unlock the result (the form sits in the card, without its own card) */
.sim-done { margin-bottom: 0.75rem; }
.sim-step__lead { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.5rem; color: var(--ink-600); text-wrap: pretty; }
.lead-form--sim { padding: 0; }
.lead-form--sim .alert,
.lead-form--sim .lead-form__fields { margin-top: 1.25rem; }
.lead-form--sim .lead-form__footnote { text-wrap: balance; }
/* What the focus lands on is never left under the sticky header (4rem): a browser scrolls a focused
   element only when it is out of the viewport, not when the header covers it. So the first invalid field
   after a send (its label above it stays in view) and the last step's title after «Continuar» (with the
   «Análisis completado» badge above it) keep a scroll margin. */
.lead-form--sim .input,
.lead-form--sim .consent__box { scroll-margin-top: 6rem; }
.sim-step--lead .sim-step__title { scroll-margin-top: 7.5rem; }
/* result view, shown in place of the steps once the API accepted the lead (scroll-margin: clear of the
   sticky header). At phone width the result box gets less padding: its text keeps a readable measure. */
.sim-outcome { padding: 1.25rem; scroll-margin-top: 5rem; }
.sim-outcome__title { font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.sim-outcome .sim-result { margin-top: 1.25rem; padding: 1.25rem; }
@media (min-width: 640px) {
  .sim-outcome { padding: 2rem; }
  .sim-outcome .sim-result { padding: 1.5rem; }
}
.sim-ref { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-700); }
.sim-ref strong { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.02em; color: var(--ink-900); }
.sim-next {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: var(--radius-xl);
  background: var(--ink-50);
  padding: 1rem;
}
.sim-next__icon { margin-top: 0.125rem; color: var(--brand-700); }
.sim-next__title { font-size: 1rem; line-height: 1.5rem; }
.sim-next__text { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.sim-outcome__actions { margin-top: 1.5rem; }
.sim-result {
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-2xl);
  background: var(--amber-50);
  padding: 1.5rem;
}
.sim-result.is-likely { border-color: var(--brand-200); background: var(--brand-50); }
.sim-result__icon { color: var(--brand-600); }
.sim-result__title { margin-top: 0.75rem; font-size: 1.125rem; line-height: 1.75rem; }
.sim-result__reasons { margin-top: 1rem; display: grid; gap: 0.5rem; }
.sim-result__reasons li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-700); }
.sim-result__check { margin-top: 0.125rem; color: var(--brand-600); }
.sim-result__disclaimer {
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--ink-600);
}

/* ── footer ───────────────────────────────────────────────────────────────── */
.site-footer { margin-top: 5rem; border-top: 1px solid var(--ink-200); background: var(--ink-50); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 3rem; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.brand--footer .brand__name { font-size: 1rem; line-height: 1.5rem; }
.site-footer__tagline { margin-top: 0.75rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-600); }
.site-footer__title { font-size: 0.875rem; line-height: 1.25rem; }
.site-footer__links { margin-top: 0.75rem; display: grid; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; }
.site-footer__links a { color: var(--ink-600); }
.site-footer__links a:hover { color: var(--brand-700); }
.site-footer__bottom { border-top: 1px solid var(--ink-200); }
.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--ink-500);
}
@media (min-width: 768px) {
  .site-footer__legal { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
}

/* ── print ────────────────────────────────────────────────────────────────── */
@media print {
  .site-header { position: static; }
  /* the simulator's steps are not printed; its result view (once shown) is */
  .nav-toggle, .site-nav, .skip-link, .cta-band, .cta-box, .lead, .simulator__flow { display: none !important; }
  .site-footer { margin-top: 2rem; }
  a { text-decoration: underline; }
}

/* ── the 1 € offers: white page, one orange button, big price, short phrases ── */
:root { --offer: #c2410c; --offer-dark: #9a3412; --sticker: #facc15; }
body { font-size: 1.0625rem; }
.btn--primary { background: var(--offer); font-weight: 700; border-radius: 0.75rem; }
.btn--primary:hover { background: var(--offer-dark); }
.promo-bar { display: block; padding: 0.5rem var(--gutter); background: var(--sticker); color: var(--ink-950); text-align: center; font-size: 0.95rem; line-height: 1.35; text-decoration: none; }
.promo-bar strong { font-weight: 800; }
.promo-bar:hover strong { text-decoration: underline; }
.hero--home { background: #fff; }
.hero--home .hero__inner { padding-block: 1.5rem 2.5rem; }
.hero--home .hero__title,
.hero--measure:has(.quick-form) .hero__title { font-size: clamp(2.375rem, 7vw, 3.75rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.hero--home .hero__lead,
.hero--measure:has(.quick-form) .hero__lead { font-size: 1.25rem; line-height: 1.7rem; color: var(--ink-800); }
.hero--measure:has(.quick-form) { background: #fff; }

.hero__checklist { font-size: 1rem; font-weight: 600; color: var(--ink-800); }
.hero:has(.quick-form) .hero__checklist { margin-top: 1.25rem; display: grid; gap: 0.625rem; font-size: 1.125rem; line-height: 1.4; font-weight: 700; color: var(--ink-900); }
.hero:has(.quick-form) .hero__checklist li { align-items: flex-start; }
.hero:has(.quick-form) .hero__check { flex: none; width: 1.375rem; height: 1.375rem; margin-top: 0.0625rem; color: var(--offer); }
.hero__highlight { color: var(--offer); white-space: nowrap; }
.hero__offer { display: grid; gap: 1.5rem; align-items: start; }
.hero__offer .hero__body { max-width: none; }
.hero:has(.quick-form) .badge { background: var(--offer); color: #fff; --badge-ring: var(--offer); font-size: 0.9375rem; font-weight: 700; padding: 0.3125rem 0.875rem; }
.hero:has(.quick-form) .badge svg { color: #fff; }
.quick { scroll-margin-top: 5rem; }
.quick-form { padding: 0; overflow: hidden; border-radius: 1.25rem; box-shadow: 0 10px 30px rgba(8, 13, 24, 0.14); }
.quick-form__head { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem 1.25rem; background: var(--sticker); color: var(--ink-950); }
.quick-form__amount { flex: none; font-size: 3rem; line-height: 1; font-weight: 900; letter-spacing: -0.03em; white-space: nowrap; }
.quick-form__title { font-size: 1.25rem; line-height: 1.5rem; font-weight: 800; }
.quick-form .alert { margin: 1rem 1.25rem 0; }
.quick-form .lead-form__fields { margin-top: 0; padding: 1.25rem; }
.quick-form .lead-form__footnote { text-align: center; }
.quick-form__choice { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.quick-form__choice legend { margin-bottom: 0.375rem; font-weight: 600; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.25rem 0.5rem; border: 2px solid var(--ink-200); border-radius: 0.75rem; text-align: center; font-weight: 600; line-height: 1.2; }
.choice input:checked + span { border-color: var(--offer); background: #fff7ed; color: var(--offer-dark); }
.choice input:focus-visible + span { outline: 2px solid var(--offer); outline-offset: 2px; }
.input { min-height: 3rem; font-size: 1rem; }
.offers { display: grid; gap: 1.25rem; }
.offer-card { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 1.25rem; overflow: hidden; border: 1px solid var(--ink-200); border-radius: 1.25rem; background: #fff; box-shadow: 0 4px 16px rgba(8, 13, 24, 0.07); }
.offer-card__head { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--sticker); color: var(--ink-950); }
.offer-card__amount { flex: none; font-size: clamp(3.5rem, 12vw, 4.5rem); line-height: 1; font-weight: 900; letter-spacing: -0.03em; white-space: nowrap; }
.offer-card__title { font-size: 1.5rem; line-height: 1.75rem; font-weight: 800; }
.offer-card__list { flex: 1; display: grid; gap: 0.625rem; align-content: start; padding-inline: 1.25rem; }
.offer-card__list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.offer-card__check { flex: none; margin-top: 0.25rem; color: var(--offer); }
.offer-card > .btn { width: auto; margin-inline: 1.25rem; }
.measure-card__amount { font-size: 1.75rem; line-height: 1; font-weight: 900; color: var(--offer); white-space: nowrap; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--offer); color: #fff; font-size: 1.25rem; font-weight: 800; }
.feature-card__text { font-size: 1rem; line-height: 1.5rem; color: var(--ink-700); }
.offer-details { padding-block: 2rem 0; }
.offer-details__box { border: 1px solid var(--ink-200); border-radius: 1rem; padding: 1rem 1.25rem; }
.offer-details__box summary { cursor: pointer; font-size: 1.125rem; font-weight: 700; }
.offer-details__box[open] summary { margin-bottom: 1rem; }
.cta-band { background: var(--offer-dark); }
.cta-band__title { font-weight: 800; }
.cta-band .btn--white { background: var(--sticker); color: var(--ink-950); font-weight: 800; min-height: 3.5rem; padding-inline: 2rem; font-size: 1.125rem; border-radius: 0.75rem; }
.cta-band .btn--white:hover { background: #fde047; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; text-align: center; }
.figure { display: flex; flex-direction: column; gap: 0.25rem; }
.figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.figure__value { font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.1; font-weight: 900; color: var(--offer); }
.figure__label { font-weight: 600; line-height: 1.3; color: var(--ink-800); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3rem; }
.logos img { display: block; height: 3.25rem; width: auto; }
.simulator--followup { scroll-margin-top: 5rem; }
.sim-client { padding: 1.25rem; border-radius: 1.25rem; background: var(--sticker); color: var(--ink-950); scroll-margin-top: 5rem; }
.sim-client:focus { outline: none; }
.sim-client__title { font-size: 1.5rem; line-height: 1.75rem; font-weight: 800; }
.sim-client__ref { margin-top: 0.375rem; font-size: 1.125rem; }
.sim-client__ref strong { font-weight: 800; white-space: nowrap; }
.sim-client__lead { margin-top: 0.5rem; }
.sim-client__skip { margin-top: 0.5rem; padding: 0; background: none; border: 0; color: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.sim-client__bye { margin-top: 0.5rem; font-weight: 700; }
.simulator--followup .simulator__flow { margin-top: 1rem; }
.sim-option { min-height: 3.25rem; font-size: 1rem; }
.brand__lockup { display: block; height: 2.75rem; width: auto; }
.hero__media { margin: 0 0 1.25rem; order: -1; overflow: hidden; border-radius: 1.25rem; aspect-ratio: 16 / 8; }
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__body:has(> .hero__media) { display: flex; flex-direction: column; }
.offer-card__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.offer-card { position: relative; }
.figure__picto { display: block; width: 4.5rem; height: 4.5rem; margin-inline: auto; margin-bottom: 0.5rem; }
.photo-text { display: grid; gap: 1.5rem; align-items: center; }
.photo-text__media { margin: 0; overflow: hidden; border-radius: 1.25rem; aspect-ratio: 3 / 2; }
.photo-text__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-text__body .section-header { margin-bottom: 0; }
.photo-text__text { margin-block: 0.875rem 1.25rem; font-size: 1.1875rem; line-height: 1.65rem; color: var(--ink-800); }
.offer-photos { display: grid; gap: 3rem; }
.cta-band__picto { display: block; width: 5.5rem; height: 5.5rem; margin: 0 auto 1rem; }
.section--steps-band { background: var(--offer-dark); color: #fff; }
.section--steps-band .section-header__title { color: #fff; }
.steps-band { display: grid; gap: 0.875rem; }
.steps-band__item { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 0.75rem; padding: 1.125rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.1); }
.steps-band__num { grid-row: 1 / 3; font-size: 3.5rem; line-height: 1; font-weight: 900; color: var(--sticker); }
.steps-band__title { font-size: 1.1875rem; line-height: 1.3; font-weight: 800; color: #fff; }
.steps-band__text { margin-top: 0.375rem; font-size: 1rem; line-height: 1.45; color: #fff4d6; }
.steps-band__item--hi { background: var(--sticker); }
.steps-band__item--hi .steps-band__num { color: var(--offer); }
.steps-band__item--hi .steps-band__title,
.steps-band__item--hi .steps-band__text { color: var(--ink-950); }
.sticky-offer[hidden] { display: none; }
.sticky-offer { display: none; }
@media (min-width: 768px) {
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figure:last-child:nth-child(odd) { grid-column: auto; }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .photo-text { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .photo-text--reverse .photo-text__media { order: 2; }
}
@media (min-width: 768px) {
  .steps-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .steps-band { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-band__item { display: block; padding: 1.25rem; }
  .steps-band__num { display: block; font-size: 4.25rem; margin-bottom: 0.75rem; }
  .hero__media { order: 0; margin: 1.5rem 0 0; }
  .hero__offer,
  .hero--measure:has(.quick-form) .hero__split { align-items: stretch; }
  .hero:has(.quick-form) .hero__body { display: flex; flex-direction: column; }
  .hero:has(.quick-form) .hero__media { position: relative; flex: 1 1 0; min-height: 8rem; aspect-ratio: auto; }
  .hero .quick { display: flex; flex-direction: column; }
  .hero .quick-form:not([hidden]) { flex: 1; }
  .hero:has(.quick-form) .hero__media img { position: absolute; inset: 0; }
  .hero__offer { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
  .hero--measure:has(.quick-form) .hero__split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; }
}
@media (max-width: 767.98px) {
  .has-sticky-offer { padding-bottom: 4.75rem; }
  .sticky-offer:not([hidden]) { display: block; position: fixed; inset: auto 0 0 0; z-index: 45; padding: 0.625rem var(--gutter); background: #fff; box-shadow: 0 -4px 16px rgba(8, 13, 24, 0.18); }
}
@media print {
  .promo-bar, .sticky-offer { display: none; }
}

/* ── harmonised design: one font family, red and yellow, one card style (charte graphique) ── */
body { font-size: 1.125rem; }
h1, h2, h3, h4,
.hero__title, .section-header__title, .cta-band__title, .btn, .eyebrow, .badge,
.site-nav__link, .feature-card__title, .measure-card__title, .related-card__title, .offer-card__title,
.offer-card__amount, .quick-form__amount, .quick-form__title, .figure__value, .steps-band__num, .steps-band__title,
.faq__question, .sim-step__title, .sim-outcome__title, .sim-result__title, .sim-client__title, .sidebar-box__title, .price-box__title,
.lead-form__title, .notice__title, .site-footer__title, .post-card__title, .geo-card__title {
  font-family: var(--font-title);
  letter-spacing: 0.015em;
}
h1, h2, h3, h4 { font-weight: 800; }
.btn { font-size: 1.125rem; }
.btn--sm { font-size: 1rem; }
.site-nav__link { font-size: 1.0625rem; font-weight: 600; }
.eyebrow { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; color: var(--offer); }
.badge { font-size: 0.875rem; }
.section--muted { background: #fff8e1; }
.section-header { margin-inline: auto; text-align: center; }
.photo-text__body .section-header { margin-inline: 0; text-align: left; }
.section-header__title { font-size: 2.25rem; line-height: 2.5rem; }
.card { border-radius: 1.25rem; }
/* FAQ: centred column of separate cards */
.section-body--narrow, .section--faq .section-body { margin-inline: auto; max-width: 48rem; }
.faq { display: grid; gap: 0.75rem; border: 0; border-radius: 0; background: none; }
.faq__item { padding-inline: 1.25rem; border: 1px solid var(--ink-200); border-radius: 1rem; background: #fff; box-shadow: 0 2px 8px rgba(8, 13, 24, 0.05); }
.faq__item + .faq__item { border-top: 1px solid var(--ink-200); }
.faq__item[open] { border-color: var(--sticker); box-shadow: 0 0 0 2px var(--sticker); }
.faq__question { font-size: 1.25rem; line-height: 1.5rem; font-weight: 700; padding-block: 1rem; }
.faq__chevron { flex: none; width: 1.75rem; height: 1.75rem; padding: 0.3125rem; border-radius: 50%; background: var(--offer); color: #fff; }
.faq__answer { font-size: 1.0625rem; color: var(--ink-700); }
/* partners: centred, same frame for every logo */
.section--logos { padding-block: 3rem; }
.logos { gap: 1rem; }
.logos li { display: flex; align-items: center; justify-content: center; width: 11rem; height: 7rem; border: 1px solid var(--ink-200); border-radius: 1rem; background: #fff; box-shadow: 0 2px 8px rgba(8, 13, 24, 0.05); }
.logos img { height: auto; max-height: 4rem; max-width: 7rem; }
.btn--white { background: var(--sticker); color: var(--ink-950); font-weight: 800; }
.btn--white:hover { background: #fde047; }
.lead-success__ref strong, .sim-ref strong { font-family: var(--font-title); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.04em; color: var(--offer-dark); }
.hero__media + * { margin-top: 0; }
.logos li { width: min(11rem, 42vw); }
.hero--home .hero__title,
.hero--measure:has(.quick-form) .hero__title { letter-spacing: 0.01em; }
.cookie-bar { position: fixed; inset: auto 0.75rem 5.5rem 0.75rem; z-index: 60; display: grid; gap: 0.75rem; max-width: 34rem; margin-inline: auto; padding: 1rem 1.25rem; border-radius: 1rem; background: #fff; box-shadow: 0 8px 30px rgba(8, 13, 24, 0.25); font-size: 1rem; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--offer); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
@media (min-width: 768px) { .cookie-bar { bottom: 1rem; } }
