/* Calctar ? light corporate editorial, fr-CH */

:root {
  --navy: #1A2B3C;
  --navy-soft: #243447;
  --ink: #1A2B3C;
  --muted: #5B6B7C;
  --label: #8A97A5;
  --soft: #F4F7F9;
  --soft-2: #E8EEF3;
  --paper: #FFFFFF;
  --line: rgba(26, 43, 60, 0.1);
  --warn-bg: #FFF8F0;
  --warn-border: #C47A3A;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max: 1100px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --shadow-soft: 0 18px 40px rgba(26, 43, 60, 0.07);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-soft); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.wrap--narrow { max-width: 720px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  z-index: 10000;
  border-radius: var(--radius-sm);
}

/* ?? Top Publicit? (unique navy banner) ?? */
.ad-top {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  border-bottom: none;
}
.ad-top-pill {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  line-height: 1;
}

/* ?? Header (static, light corporate) ?? */
.site-head {
  position: relative;
  z-index: 900;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-topbar {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.head-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand:hover { opacity: 0.9; }
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(260px, 58vw);
  object-fit: contain;
}
.brand-logo--foot {
  height: 42px;
  max-width: 200px;
}

.head-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.88rem;
  font-weight: 600;
}
.head-nav a {
  text-decoration: none;
  color: var(--muted);
}
.head-nav a:hover { color: var(--navy); }

/* ?? Buttons ?? */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-soft);
  color: #fff;
  opacity: 1;
}
.btn-ghost {
  background: var(--soft-2);
  color: var(--navy);
}
.btn-ghost:hover {
  background: #dce4ec;
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 10px 18px;
  flex-shrink: 0;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ?? Hero ?? */
.hero-wrap {
  margin-top: 28px;
}
.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: var(--soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 500px;
}
.hero-visual {
  position: relative;
  min-height: 320px;
  background: var(--soft-2);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 40px 32px;
  gap: 18px;
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 38ch;
}
.hero-cta-row { margin-top: 4px; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat {
  padding: 0 14px;
  text-align: left;
}
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--label);
  margin-top: 4px;
  line-height: 1.35;
}

/* ?? Sections ?? */
.section {
  padding: 72px 0 0;
}
.section-label {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 12px;
}
.section-title {
  margin: 0 auto 16px;
  max-width: 24ch;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-lead {
  margin: 0 auto 36px;
  max-width: 52ch;
  text-align: center;
  color: var(--muted);
}

.section-head-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head-split .section-label { text-align: left; }
.section-head-split .section-title {
  text-align: left;
  margin: 0;
  max-width: none;
}
.section-aside {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ?? Feature pills ?? */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 28px;
}
.pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.pill-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  line-height: 0;
}
.pill-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.pill strong {
  display: block;
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 650;
  line-height: 1.35;
}
.pill span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.45;
}
.center-cta {
  text-align: center;
  margin-top: 8px;
}

/* ?? Feature cards (icon tiles) ?? */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px;
}
.feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.feature-card-body { padding: 0; }
.feature-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 650;
  color: var(--navy);
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ?? Article ?? */
.article-block {
  padding: 64px 0 0;
}
.article-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.25;
}
.article-block h3 {
  font-family: var(--font-ui);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}
.article-block p { color: var(--ink); margin: 0 0 14px; }
.article-block ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  color: var(--ink);
}
.article-block li { margin-bottom: 8px; }
.article-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 10px;
}
.article-intro {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.callout {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 24px 0;
  color: var(--ink);
  font-size: 0.98rem;
}
.callout strong { color: var(--navy); }

.warning-box {
  background: var(--warn-bg);
  border: 1px solid rgba(196, 122, 58, 0.28);
  border-left: 4px solid var(--warn-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 28px 0;
  color: var(--navy);
  font-size: 0.95rem;
  box-shadow: 0 1px 0 rgba(26, 43, 60, 0.04);
}
.warning-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warn-border);
}

/* ?? Quiz ?? */
.quiz-section {
  margin-top: 64px;
}
.quiz-shell {
  background: linear-gradient(165deg, #1A2B3C 0%, #2A4058 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quiz-shell::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 65%);
  pointer-events: none;
}
.quiz-shell > * { position: relative; z-index: 1; }
.quiz-shell .section-label {
  text-align: left;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.quiz-shell h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.quiz-sub {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
}

.quiz-shell.has-result {
  background: var(--soft);
  color: var(--ink);
  padding: 12px;
}
.quiz-shell.has-result::before { display: none; }

.quiz-progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.quiz-progress-track > span {
  display: block;
  height: 100%;
  width: 20%;
  background: #fff;
  border-radius: 99px;
  transition: width 0.35s ease;
}
.quiz-progress-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.quiz-step { display: none; animation: fadeIn 0.35s ease both; }
.quiz-step.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.quiz-q {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.35;
}

.quiz-options {
  display: grid;
  gap: 10px;
}
.quiz-options label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  color: #fff;
  font-size: 0.98rem;
}
.quiz-options label:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
.quiz-options input {
  margin-top: 3px;
  accent-color: #fff;
  flex-shrink: 0;
}
.quiz-options label:has(input:checked) {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}
.quiz-options.quiz-options--error {
  animation: quizShake 0.4s ease;
}
.quiz-options.quiz-options--error label {
  border-color: rgba(255, 180, 140, 0.7);
}
@keyframes quizShake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.quiz-error {
  display: none;
  margin: 12px 0 0;
  color: #ffd0b8;
  font-size: 0.9rem;
}
.quiz-error.show { display: block; }

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.quiz-nav .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.quiz-nav .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.quiz-nav .btn-primary {
  background: #fff;
  color: var(--navy);
}
.quiz-nav .btn-primary:hover {
  background: var(--soft);
  color: var(--navy);
}

.quiz-shell.is-loading .quiz-sub,
.quiz-shell.is-loading #quiz-title,
.quiz-shell.is-loading #quiz-label {
  opacity: 0.35;
}
.quiz-shell.is-loading #quiz-flow { display: none !important; }

.quiz-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 48px 16px;
  text-align: center;
}
.quiz-loader.show { display: flex; }
.quiz-loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.quiz-loader-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* ?? Quiz result: horizontal split (unique) ?? */
.quiz-result {
  display: none;
  animation: fadeIn 0.45s ease both;
}
.quiz-result.show { display: block; }

.result-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  min-height: 280px;
}
.result-panel {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result-panel--navy {
  background: var(--navy);
  color: #fff;
}
.result-panel--paper {
  background: var(--paper);
  color: var(--ink);
}
.result-kicker {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.result-badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
}
.result-panel--navy h3 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 650;
  line-height: 1.25;
  color: #fff;
}
.result-body {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.result-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.result-tags li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.result-panel--paper .btn-primary {
  align-self: flex-start;
}
.result-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--label);
  line-height: 1.45;
  max-width: 42ch;
}

/* ?? FAQ ?? */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ?? Pre-footer Contenu sponsoris? ?? */
.ad-prefooter {
  margin: 64px 0 0;
  padding-bottom: 8px;
}
.ad-prefooter-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 28px;
  align-items: start;
  background: linear-gradient(135deg, #f7f9fb 0%, #eef3f7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 1px 0 rgba(26, 43, 60, 0.03);
}
.ad-prefooter-mark {
  flex-shrink: 0;
}
.ad-prefooter-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  background: var(--navy);
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.ad-prefooter-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ?? Footer ?? */
.site-foot {
  margin-top: 48px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 40px;
  margin-bottom: 32px;
}
.foot-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.foot-tag {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}
.foot-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.75;
}
.foot-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.foot-nav-title {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.foot-nav-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
}
.foot-nav-col a:hover { color: #fff; }

.foot-disclaimer-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.foot-disclaimer-card strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.foot-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.foot-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 24px;
}
.foot-links-inline a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
}
.foot-links-inline a:hover { color: #fff; }

/* ?? Legal pages ?? */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 12px;
}
.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 28px;
}
.legal-page h2 {
  font-family: var(--font-ui);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}
.legal-page p, .legal-page li {
  color: var(--ink);
  font-size: 0.98rem;
}
.legal-page ul { padding-left: 1.2em; }
.legal-back {
  display: inline-flex;
  margin-bottom: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}
.legal-back:hover { color: var(--navy); }

/* ?? Cookie bar ?? */
.cookie-bar {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 950;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--line);
  padding: 18px 20px;
}
.cookie-bar.show { display: block; }
.cookie-bar p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ?? Responsive ?? */
@media (max-width: 960px) {
  .head-nav { display: none; }
  .hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-visual {
    min-height: 260px;
    max-height: 340px;
  }
  .hero-copy { padding: 32px 28px 28px; }
  .section-head-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .result-split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .ad-prefooter-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .head-topbar-inner { flex-direction: column; gap: 2px; }
  .pill-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; gap: 14px; }
  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 14px 0 0;
  }
  .stat { padding: 0; }
  .quiz-shell { padding: 28px 18px; }
  .quiz-shell.has-result { padding: 8px; }
  .result-panel { padding: 28px 22px; }
  .hero-wrap { margin-top: 16px; }
  .section { padding: 48px 0 0; }
  .feature-card { padding: 24px 20px 22px; }
}

/* Centered logo header */
.head-topbar { display: none !important; }
.head-main--centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand--center {
  justify-self: center;
  text-align: center;
}
.head-main--legal {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.head-main--legal .brand--center {
  display: inline-flex;
}
.head-nav--left {
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.head-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.head-right a:not(.btn) {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}
.pill-icon {
  width: 40px !important;
  height: 40px !important;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.feature-grid--rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.feature-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.photo-pair figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 43, 60, 0.08);
}
.photo-pair img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.photo-pair figcaption {
  padding: 12px 16px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.foot-calctar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 32px;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-calctar--solo {
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: none;
}
.foot-brand-block {
  min-width: min(100%, 240px);
}
.foot-calctar .foot-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}
.foot-calctar .foot-tag {
  margin: 8px 0 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}
.foot-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}
.foot-links-row a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.foot-links-row a:hover { color: #fff; }
.foot-disclaimer-card a { color: #fff; }
@media (max-width: 800px) {
  .head-main--centered { grid-template-columns: 1fr; text-align: center; }
  .head-nav--left, .head-right, .brand--center { justify-self: center; }
  .photo-pair { grid-template-columns: 1fr; }
}

/* Pill icons: light tiles, dark glyphs ? readable on soft bg */
.pill {
  background: #fff !important;
  border: 1px solid rgba(26, 43, 60, 0.1);
}
.pill-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: #E8EEF3 !important;
  color: var(--navy) !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
