/* ─── FONTS (self-hosted, CSP-safe via font-src 'self') ─────── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/frontend/assets/fonts/dm-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/frontend/assets/fonts/dm-serif-display.woff2') format('woff2');
}

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --blue:        #2756e8;
  --blue-strong: #1c3fb0;
  --blue-soft:   #dde8ff;
  --navy:        #0f1f5c;
  --navy-deep:   #0a1540;
  --bg:          #eef1f8;
  --bg-card:     #ffffff;
  --bg-soft:     #f5f7fb;
  --text:        #0f1f5c;
  --text-muted:  #4a5a80;
  --text-soft:   #6b7a99;
  --border:      #d8def0;
  --border-soft: #e7ebf6;
  --shadow-sm:   0 2px 10px rgba(15,31,92,.06);
  --shadow-md:   0 4px 24px rgba(15,31,92,.09);
  --shadow-lg:   0 8px 48px rgba(15,31,92,.12);
  --shadow-cta:  0 4px 18px rgba(39,86,232,.30);
  --r:           16px;
  --r-lg:        24px;
  --r-xl:        32px;
  --serif:       'DM Serif Display', ui-serif, Cambria, Georgia, "Times New Roman", serif;
  --sans:        'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max:         1200px;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
sub { font-size: .75em; }
sup { font-size: .72em; }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 12px; outline: 2px solid #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, .display { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.1; letter-spacing: -.01em; }

/* ─── EYEBROW CHIP ────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-soft); color: var(--blue);
  border-radius: 100px; padding: 5px 14px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 20px;
}
.chip.on-dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform .18s ease, box-shadow .2s ease, background .18s ease, border-color .2s ease, color .18s ease;
  cursor: pointer; border: 1.5px solid transparent; text-decoration: none;
}
.btn:hover, .btn:focus-visible { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--blue-strong); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(39,86,232,.38); color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 16px; font-weight: 700; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--blue); color: var(--blue); }
.btn-on-dark { background: #fff; color: var(--navy); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.btn-on-dark:hover, .btn-on-dark:focus-visible { background: #f0f4ff; color: var(--navy); transform: translateY(-1px); }

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { background: rgba(255,255,255,.97); border-bottom-color: var(--border-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark {
  position: relative;
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-size: 22px; line-height: 1;
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(15,31,92,.22);
  flex-shrink: 0;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}
.brand-word { font-family: var(--serif); font-size: 21px; color: var(--navy); line-height: 1; }
.footer-brand .brand-word { color: #fff; font-size: 20px; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--text-muted); font-weight: 500; font-size: 14px; transition: color .15s; }
.nav-link:hover, .nav-link:focus-visible { color: var(--navy); text-decoration: none; }
.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  flex-shrink: 0;
}
.locale-switcher-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
}
.locale-switcher-link:hover,
.locale-switcher-link:focus-visible {
  color: var(--blue);
  text-decoration: none;
}
.locale-switcher-link.is-active {
  background: var(--navy);
  color: #fff;
}
.locale-switcher-link.is-disabled {
  color: #8b96aa;
  cursor: not-allowed;
  opacity: .55;
}
.nav-cta {
  background: var(--blue); color: #fff; padding: 10px 22px;
  border-radius: 100px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-cta);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--blue-strong); transform: translateY(-1px); text-decoration: none; color: #fff; box-shadow: 0 6px 24px rgba(39,86,232,.38); }
.nav-link-quiet {
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 100px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255,255,255,.6);
  transition: border-color .18s, color .18s, background .18s, transform .15s;
}
.nav-link-quiet:hover, .nav-link-quiet:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  background: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
@media (max-width: 860px) {
  .nav-link:not(.nav-link-quiet) { display: none; }
  .nav-link-quiet { padding: 7px 12px; font-size: 12.5px; }
  .primary-nav { gap: 10px; }
  .locale-switcher-link { min-width: 26px; padding: 5px 7px; }
}
@media (max-width: 560px) {
  .nav-link-quiet { display: none; }
}
@media (max-width: 420px) {
  .locale-switcher { padding: 2px; }
  .locale-switcher-link { min-width: 24px; padding: 5px 6px; font-size: 11px; }
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(ellipse 90% 70% at 85% -5%, rgba(39,86,232,.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 110%, rgba(15,31,92,.07), transparent 50%),
    linear-gradient(168deg, #f2f5fc 0%, #eef1f8 55%, #e8edf7 100%);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%232756e8' opacity='.07'/%3E%3C/svg%3E") repeat;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, black, transparent);
          mask-image: radial-gradient(ellipse 70% 80% at 60% 40%, black, transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.06; letter-spacing: -.022em;
  color: var(--navy); margin-bottom: 22px;
}
.hero h1 .accent { color: var(--blue); font-style: italic; }
.hero .lede {
  font-size: 17.5px; color: var(--text-muted);
  line-height: 1.68; max-width: 52ch; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 13px; color: var(--text-soft);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust li::before {
  content: '';
  display: inline-block; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%232756e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}
.hero-meta {
  margin-top: 28px; display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-soft);
  border-top: 1px solid var(--border-soft); padding-top: 24px;
}
.flags { display: inline-flex; align-items: center; gap: 5px; }
.flag {
  display: inline-block; width: 22px; height: 14px; border-radius: 3px;
  border: 1px solid rgba(0,0,0,.06); background-size: cover;
}
.flag.fr { background: linear-gradient(to right, #002395 33%, #fff 33% 66%, #ed2939 66%); }
.flag.be { background: linear-gradient(to right, #000 33%, #fae042 33% 66%, #ed2939 66%); }
.flag.de { background: linear-gradient(to bottom, #000 33%, #dd0000 33% 66%, #ffce00 66%); }
.flag.nl { background: linear-gradient(to bottom, #ae1c28 33%, #fff 33% 66%, #21468b 66%); }
.flag.ch { background: #d52b1e; position: relative; }
.flag.ch::before, .flag.ch::after { content: ''; position: absolute; background: #fff; }
.flag.ch::before { left: 40%; right: 40%; top: 25%; bottom: 25%; }
.flag.ch::after { left: 25%; right: 25%; top: 40%; bottom: 40%; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .mockup-wrap { display: flex; justify-content: center; }
}

/* ─── PHONE MOCKUP ────────────────────────────────────────── */
.mockup-wrap { position: relative; padding: 16px; }
.phone {
  width: 310px; background: #17192e;
  border-radius: 46px; padding: 14px 9px;
  box-shadow: 0 36px 80px rgba(15,31,92,.26), 0 6px 18px rgba(15,31,92,.14), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative;
}
.phone::before {
  content: ''; position: absolute; inset: 3px;
  border-radius: 43px; border: 1px solid rgba(255,255,255,.07); pointer-events: none;
}
.phone-notch {
  width: 90px; height: 22px; background: #17192e;
  border-radius: 13px; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.phone-notch span { display: block; width: 6px; height: 6px; border-radius: 50%; background: #2a2a3e; }
.phone-notch span.bar { width: 36px; height: 4px; border-radius: 3px; }
.phone-screen { background: var(--bg); border-radius: 34px; overflow: hidden; min-height: 530px; }
.phone-topbar {
  background: var(--blue); color: #fff; text-align: center;
  padding: 13px 16px; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.phone-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.phone-card {
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: 0 1px 6px rgba(15,31,92,.05);
}
.phone-progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.phone-progress small { display: block; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }
.phone-progress .label { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.phone-progress .step { font-size: 12px; font-weight: 700; color: var(--blue); }
.pbar { background: #e2e8f0; border-radius: 100px; height: 5px; overflow: hidden; }
.pbar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), #5b8af0); border-radius: 100px; }
.phone-eyebrow { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; margin-bottom: 3px; }
.phone-title { font-family: var(--serif); font-size: 20px; color: var(--navy); line-height: 1.2; }
.phone-amount { font-family: var(--serif); font-size: 30px; color: var(--navy); letter-spacing: -.01em; margin-top: 4px; }
.phone-chip {
  display: inline-block; background: #fef3c7; color: #92400e;
  border-radius: 100px; padding: 3px 10px; font-size: 10px; font-weight: 700; margin-top: 7px;
}
.phone-line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; padding: 7px 0;
  border-bottom: 1px solid #f4f6fb;
}
.phone-line:last-child { border-bottom: 0; }
.phone-line .l { color: var(--text-muted); }
.phone-line .v { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-badge {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 9px 14px; box-shadow: 0 8px 28px rgba(15,31,92,.14);
  border: 1px solid var(--border-soft); font-size: 12px;
  font-weight: 700; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.phone-badge.top { top: 24px; right: -18px; }
.phone-badge.bottom { bottom: 64px; left: -22px; color: #065f46; }
.phone-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.phone-badge.bottom .dot { background: #10b981; }
@media (min-width: 941px) {
  .home-phone-mockup .phone-badge.top {
    left: calc(16px + 310px + 24px);
    right: auto;
  }
  .home-phone-mockup .phone-badge.bottom {
    bottom: 48px;
    left: -72px;
  }
}
@media (max-width: 640px) {
  .phone-badge.top { right: 6px; }
  .phone-badge.bottom { left: 6px; }
}
@media (max-width: 420px) {
  .phone { width: 280px; }
  .phone-screen { min-height: 460px; }
}

/* ─── REASSURANCE STRIP ───────────────────────────────────── */
.reassure-strip {
  background: #fff; border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft); padding: 32px 0;
}
.reassure-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; list-style: none; }
.reassure-item { text-align: center; }
.ri-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue); margin: 0 auto 10px;
}
.ri-icon svg { width: 20px; height: 20px; }
.reassure-item p { color: var(--navy); font-size: 12.5px; font-weight: 600; line-height: 1.4; margin: 0; }
@media (max-width: 900px) { .reassure-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; } }
@media (max-width: 480px) { .reassure-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── SECTIONS ────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section.alt { background: #fff; }
.section.alt + .section { border-top: 1px solid var(--border-soft); }
.section.dark {
  background: var(--navy-deep); color: #fff;
  position: relative; overflow: hidden;
}
.section.dark::before {
  content: ''; position: absolute;
  top: -30%; right: -15%; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,86,232,.16), transparent 70%);
  filter: blur(70px); pointer-events: none;
}
.section.dark .display { color: #fff; }
.section.dark p { color: rgba(255,255,255,.68); }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.display { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.lede { font-size: 17px; color: var(--text-muted); line-height: 1.68; max-width: 60ch; margin-bottom: 36px; }
.lede.center { margin-left: auto; margin-right: auto; }
.muted-line + .btn { margin-top: 18px; }

/* ─── TWO-COL ─────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 940px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ─── PARAM CARDS ─────────────────────────────────────────── */
.params-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.param-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r); padding: 18px 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.param-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.param-card h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--navy); margin: 0 0 5px; }
.param-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }
@media (max-width: 540px) { .params-grid { grid-template-columns: 1fr; } }

/* ─── STEPS ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.steps li {
  background: var(--bg-soft); border-radius: 20px; padding: 24px 20px;
  border: 1px solid var(--border-soft);
  transition: transform .18s, box-shadow .18s;
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: 14px; margin-bottom: 14px;
}
.steps li h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 0 0 7px; line-height: 1.3; }
.steps li p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ─── RESULT CARD ─────────────────────────────────────────── */
.result-card {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--border-soft);
}
.result-head {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3488 100%);
  padding: 28px 30px; color: #fff;
}
.result-head .label { display: block; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; margin-bottom: 10px; }
.result-head .amount { font-family: var(--serif); font-size: 38px; letter-spacing: -.01em; line-height: 1; }
.result-head .note { display: block; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.45); }
.result-body { padding: 10px 30px 24px; }
.result-line { display: flex; justify-content: space-between; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid #f2f5fb; }
.result-line:last-of-type { border-bottom: 0; }
.result-line .lh strong { display: block; font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.result-line .lh small { font-size: 12px; color: var(--text-soft); }
.result-line .v { font-size: 14px; color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 16px; white-space: nowrap; }
.result-cta {
  display: block; width: 100%; margin-top: 12px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 14px; padding: 16px;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  text-align: center; cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.result-cta:hover, .result-cta:focus-visible { background: var(--blue-strong); color: #fff; text-decoration: none; }
.result-disclaimer {
  background: #fffbea; border: 1px solid #e8c84a;
  color: #7a5800; border-radius: 12px; padding: 12px 16px;
  font-size: 13.5px; line-height: 1.55; margin-bottom: 28px;
}

/* ─── COMPARE TABLE ───────────────────────────────────────── */
.compare-wrap {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table thead th {
  background: var(--bg-soft); text-align: left;
  padding: 17px 20px; font-size: 13px; color: var(--navy);
  font-weight: 700; border-bottom: 1px solid var(--border-soft);
}
.compare-table thead th:first-child { width: 27%; }
.compare-table tbody tr:hover td { background: #fafbff; }
.compare-table tbody td {
  padding: 15px 20px; border-bottom: 1px solid #f2f5fb;
  color: var(--text-muted); vertical-align: top; line-height: 1.5;
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: 0; }
.compare-table tbody th {
  padding: 15px 20px; border-bottom: 1px solid #f2f5fb;
  color: var(--navy); font-weight: 600; background: #fafbfd;
  text-align: left; vertical-align: top;
}
.compare-table .pos { color: #065f46; font-weight: 600; }
.compare-table .neg { color: #7a3d00; font-weight: 600; }
.compare-table .neu { color: var(--text-soft); font-style: italic; }
@media (max-width: 760px) { .compare-wrap { overflow-x: auto; } .compare-table { min-width: 620px; } }

/* ─── TAX GRID ────────────────────────────────────────────── */
.tax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.tax-grid li {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r); padding: 18px 20px;
}
.tax-grid li strong { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 5px; }
.tax-grid li span { display: block; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 900px) { .tax-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tax-grid { grid-template-columns: 1fr; } }

/* ─── CASE GRID ───────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { background: var(--bg-soft); border-radius: 18px; padding: 24px; border: 1px solid var(--border-soft); transition: transform .18s, box-shadow .18s; }
.case-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.case-card h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 7px; }
.case-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .case-grid { grid-template-columns: 1fr; } }

/* ─── TRANSPARENCY ────────────────────────────────────────── */
.transparency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tc {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 20px; padding: 28px;
}
.tc.do { border-top: 3px solid #10b981; }
.tc.dont { border-top: 3px solid #e0a800; }
.tc h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 18px; display: flex; align-items: center; gap: 9px; }
.tc-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-weight: 800; font-size: 12px; flex-shrink: 0;
}
.do .tc-badge { background: #d1fae5; color: #065f46; }
.dont .tc-badge { background: #fef3c7; color: #92400e; }
.tc ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.tc li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.do li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #d1fae5 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 6.4l1.7 1.7L9 4' fill='none' stroke='%23065f46' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/cover no-repeat;
}
.dont li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 10px; height: 2px; border-radius: 1px; background: #d97706; }
@media (max-width: 760px) { .transparency-grid { grid-template-columns: 1fr; } }

/* ─── SEO CONTENT ─────────────────────────────────────────── */
.seo-content { max-width: 760px; margin: 0 auto; }
.seo-block { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border-soft); }
.seo-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.seo-block h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--navy); line-height: 1.25; margin: 0 0 14px; }
.seo-block p { color: var(--text-muted); font-size: 15.5px; line-height: 1.78; }
.seo-block strong { color: var(--navy); }
.seo-block em { font-style: italic; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-card {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); border: 1px solid var(--border-soft);
  overflow: hidden; max-width: 840px; margin: 0 auto;
}
.faq-item { border-bottom: 1px solid #f2f5fb; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 21px 28px;
  font-weight: 600; color: var(--navy); font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; line-height: 1.4;
  transition: background .15s;
}
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--blue); font-weight: 300;
  font-size: 26px; line-height: 1; flex-shrink: 0;
  transition: transform .22s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 28px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.72; }

/* ─── FINAL CTA ───────────────────────────────────────────── */
.final-cta { text-align: center; max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(28px, 3.5vw, 46px); color: #fff; margin-bottom: 18px; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,.65); margin-bottom: 40px; max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta-meta { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.38); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 72px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { color: rgba(255,255,255,.4); font-size: 13px; line-height: 1.7; max-width: 270px; margin-top: 14px; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: 13px; margin: 0 0 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.4); font-size: 13.5px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,.28);
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
html.reveal-js .reveal.is-pending { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }

/* ─── MOBILE RHYTHM ───────────────────────────────────────── */
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 40px; }
  .wrap { padding: 0 18px; }
  .section-head { margin-bottom: 36px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ─── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── CLIENT ACCESS PAGE ──────────────────────────────────── */
.client-access-page .site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border-soft); }

.client-access-main { padding: 56px 0 96px; min-height: calc(100vh - 72px); }
@media (max-width: 760px) { .client-access-main { padding: 36px 0 64px; } }

.auth-section { margin-bottom: 40px; }
.auth-section:last-child { margin-bottom: 0; }
.auth-section-tight { margin-top: -8px; }

.auth-wrap { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 760px) { .auth-wrap { padding: 0 18px; } }

.auth-hero { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.auth-hero .chip { margin-bottom: 18px; }
.auth-hero-title {
  font-size: clamp(2.2rem, 1.55rem + 2vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
}
.auth-hero-copy { margin: 0 auto; max-width: 60ch; color: var(--text-muted); }
.auth-hero-tight { margin-bottom: 28px; }
.auth-hero-tight h2.display { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); }

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
@media (max-width: 760px) { .auth-grid { grid-template-columns: 1fr; gap: 18px; } }

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-card .chip { margin-bottom: 0; align-self: flex-start; }
.auth-card-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -.01em;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0;
}
.auth-card-lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.auth-card-wide { max-width: 640px; margin: 0 auto; }
@media (max-width: 760px) { .auth-card { padding: 24px 22px; border-radius: var(--r-lg); } }

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.auth-field > span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.auth-field input {
  appearance: none;
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.auth-field input::placeholder { color: var(--text-soft); font-weight: 400; }
.auth-field input:hover { border-color: #bfcaea; }
.auth-field input:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(39, 86, 232, 0.16);
  background: #fff;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.auth-actions-row {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn.btn-block { width: 100%; }

.btn-link {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 4px;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s ease;
}
.btn-link:hover, .btn-link:focus-visible { color: var(--blue); text-decoration: underline; }

.auth-help {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* notices written via setNotice() — JS sets className to "muted-line" or "field-error" */
.client-access-page .muted-line {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.client-access-page .field-error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #b3261e;
  line-height: 1.55;
}
.client-access-page .muted-line:empty,
.client-access-page .field-error:empty { display: none; }

/* My-dossiers list (cards) */
.dossier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.my-dossier-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.my-dossier-item:hover { border-color: var(--blue-soft); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.my-dossier-item.is-current { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39, 86, 232, 0.12); }

.my-dossier-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.my-dossier-imm {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -.01em;
}
.my-dossier-badge {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.my-dossier-badge.is-current {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue-soft);
}

.my-dossier-item-body { display: flex; flex-direction: column; gap: 4px; }
.my-dossier-vehicle { margin: 0; color: var(--navy); font-weight: 600; font-size: 15px; }
.my-dossier-meta { margin: 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }

.my-dossier-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.my-dossier-actions .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border: 1.5px solid transparent;
  border-radius: 100px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: background .18s ease, transform .15s ease, box-shadow .2s ease;
}
.my-dossier-actions .primary:hover,
.my-dossier-actions .primary:focus-visible {
  background: var(--blue-strong);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(39, 86, 232, 0.38);
}
.my-dossier-actions .primary:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
@media (max-width: 560px) {
  .auth-footer-actions { flex-direction: column; align-items: stretch; }
  .auth-footer-actions .btn-link { text-align: left; padding: 12px 0; }
}
