/* Combien vaut mon commerce ? : home page, free result, offer forms and public pages.
   The mix (fiche, part 3): the structure of Function Health, the matter of Mercury, the
   motion of Integrated Wealthcare, in the colours of our report (bottle green, warm paper,
   a touch of brass). Fonts served by the site (OFL): Newsreader for titles and figures,
   Inter Tight for the interface, IBM Plex Mono for labels and sources. Rules are scoped
   to .cv, or to a page holding .cv-home or .cv-res. */

@font-face {
  font-family: "Newsreader CV";
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight CV";
  src: url("fonts/intertight-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono CV";
  src: url("fonts/plexmono-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.cv {
  --cv-paper: #f3f0e8;
  --cv-paper-2: #e8e3d6;
  --cv-card: #fbfaf6;
  --cv-ink: #121a17;
  --cv-ink-2: #46514c;
  --cv-ink-3: #5f6a65;
  --cv-rule: rgba(18, 26, 23, 0.12);
  --cv-ring: rgba(18, 26, 23, 0.1);
  --cv-green: #1d4d3c;
  --cv-green-2: #143a2d;
  --cv-green-soft: #93ab9f;
  --cv-brass: #8a5f1a;
  --cv-brass-soft: #d9c79f;
  --cv-display: "Newsreader CV", "Iowan Old Style", Georgia, serif;
  --cv-sans: "Inter Tight CV", "Helvetica Neue", Arial, sans-serif;
  --cv-mono-font: "Plex Mono CV", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --cv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color: var(--cv-ink);
  font-family: var(--cv-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums lining-nums;
}
.cv *, .cv *::before, .cv *::after { box-sizing: border-box; }
.cv h1, .cv h2, .cv h3 { font-family: var(--cv-display); font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; margin: 0; color: var(--cv-ink); }
.cv p { margin: 0 0 1rem; }
.cv a { color: var(--cv-green); }
.cv-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Page chrome, only on our pages */
body:has(.cv-home), body:has(.cv-res), body:has(.cv-guide), body:has(.cv-offer-form), body:has(.cv-pack-teaser) { background: #f3f0e8; }
body:has(.cv-home) .topbar { max-width: 1200px; padding: 18px 20px; }
body:has(.cv-home) .brand, body:has(.cv-res) .brand { font-family: "Newsreader CV", Georgia, serif; font-weight: 500; font-size: 1.3rem; color: #121a17; letter-spacing: -0.01em; }
body:has(.cv-home) .brand-emoji { font-size: 0; width: 26px; height: 26px; display: inline-block; vertical-align: -6px; margin-right: 8px; background: url("logo.svg") center / contain no-repeat; }
body:has(.cv-home) .topnav a { color: #46514c; }
body:has(.cv-home) .footer { max-width: 1200px; color: #46514c; }

/* Labels */
.cv .cv-mono { font-family: var(--cv-mono-font); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cv-ink-3); margin: 0 0 12px; display: block; }
.cv-note { font-size: 0.875rem; color: var(--cv-ink-3); }
.cv .cv-source { font-family: var(--cv-mono-font); font-size: 0.6875rem; letter-spacing: 0.02em; color: var(--cv-ink-3); margin: 14px 0 0; }
.cv-pill { font-family: var(--cv-mono-font); font-size: 0.6875rem; border: 1px solid var(--cv-ring); border-radius: 999px; padding: 3px 9px; color: var(--cv-ink-2); white-space: nowrap; }
.cv-tag { display: inline-block; font-family: var(--cv-mono-font); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cv-brass); margin-bottom: 14px; }

/* Cards: no drop shadow, a fine ring (Mercury) */
.cv-card { background: var(--cv-card); border-radius: 12px; box-shadow: 0 0 0 1px var(--cv-ring); padding: 24px; }

/* Buttons */
.cv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 6px;
  background: var(--cv-green); color: #fff; font: 600 1rem/1 var(--cv-sans); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; transition: background 220ms var(--cv-ease), transform 220ms var(--cv-ease);
}
.cv a.cv-btn { color: #fff; }
.cv-btn:hover { background: var(--cv-green-2); }
.cv-btn:active { transform: translateY(1px); }
.cv-btn:focus-visible { outline: 3px solid var(--cv-brass-soft); outline-offset: 2px; }
.cv-btn.ghost { background: transparent; color: var(--cv-green); box-shadow: inset 0 0 0 1.5px var(--cv-green); }
.cv a.cv-btn.ghost { color: var(--cv-green); }
.cv-btn.ghost:hover { background: rgba(29, 77, 60, 0.06); }

/* Links: the underline grows on hover (Integrated Wealthcare) */
.cv-link, .cv-guides a, .cv-latest a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 320ms var(--cv-ease); }
.cv-link:hover, .cv-guides a:hover, .cv-latest a:hover .cv-latest-place { background-size: 100% 1px; }
.cv-link { font-weight: 600; color: var(--cv-green); padding-bottom: 2px; }

/* The free tool */
.cv-tool { display: grid; gap: 8px; padding: 26px; }
.cv-tool-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.cv-tool-head h2 { font-size: 1.45rem; }
.cv-tool-head .cv-mono { margin: 0; }
.cv label { font-size: 0.875rem; font-weight: 600; color: var(--cv-ink-2); margin-top: 6px; }
.cv input[type="text"], .cv select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 6px;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(18, 26, 23, 0.22); color: var(--cv-ink);
  font: 400 1rem/1.3 var(--cv-sans); appearance: none; transition: box-shadow 180ms var(--cv-ease);
}
.cv input[type="text"]:focus, .cv select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cv-green); }
.cv-select { position: relative; }
.cv-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--cv-ink-2); border-bottom: 1.5px solid var(--cv-ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cv-tool .cv-btn { margin-top: 10px; width: 100%; }
.cv-embed .cv-tool { box-shadow: none; padding: 0; background: transparent; }

/* Hero (Function Health: short serif title, proof line, one tool) */
.cv-hero { padding: 28px 0 56px; }
.cv-hero-grid { display: grid; gap: 36px; }
@media (min-width: 980px) { .cv-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 64px; align-items: start; } .cv-hero { padding: 48px 0 88px; } }
.cv-hero h1 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 26px; }
.cv-hero h1 span { display: block; color: var(--cv-ink-2); font-weight: 400; font-size: 0.56em; line-height: 1.2; letter-spacing: -0.01em; margin-top: 12px; }
.cv .cv-lead { color: var(--cv-ink-2); font-size: 1rem; margin: 20px 0 0; max-width: 34em; }

/* Real examples (Chimnie-style cards with real figures) */
.cv-examples { display: grid; gap: 14px; }
.cv-example-main { padding: 26px; }
.cv-example-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cv-example-head .cv-mono { margin: 0; }
.cv-example-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-example { display: grid; gap: 6px; align-content: start; padding: 18px; }
.cv-example .cv-mono { margin: 0; font-size: 0.66rem; }
.cv-example-price { font-family: var(--cv-display); font-weight: 500; font-size: 1.75rem; letter-spacing: -0.02em; color: var(--cv-green); line-height: 1.1; }
.cv-example .cv-note { font-size: 0.8rem; line-height: 1.35; }

/* The big figure */
.cv .cv-big { margin: 18px 0 6px; display: grid; gap: 4px; }
.cv-big-label { font-size: 0.85rem; color: var(--cv-ink-3); }
.cv-big b { font-family: var(--cv-display); font-weight: 500; font-size: clamp(2.8rem, 7vw, 3.9rem); line-height: 1; letter-spacing: -0.03em; color: var(--cv-green); }
.cv .cv-range { color: var(--cv-ink-2); margin: 4px 0 18px; }
.cv-range strong { color: var(--cv-ink); font-weight: 600; }
.cv-scope { font-size: 0.9rem; color: var(--cv-ink-3); }

/* Yearly bars */
.cv .cv-chart-title { font-size: 0.85rem; font-weight: 600; color: var(--cv-ink-2); margin: 18px 0 8px; }
.cv-bars { margin: 0; }
.cv-bars ol { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; align-items: end; height: 170px; border-bottom: 1px solid var(--cv-rule); }
.cv-bars li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.cv-bars i { display: block; width: min(34px, 72%); background: var(--cv-green-soft); border-radius: 3px 3px 0 0; transform-origin: bottom; }
.cv-bars li.last i { background: var(--cv-green); }
.cv-bars b { position: absolute; bottom: -24px; font: 500 0.72rem/1 var(--cv-mono-font); color: var(--cv-ink-3); }
.cv-bars small { position: absolute; bottom: -40px; font-size: 0.66rem; color: var(--cv-ink-3); }
.cv-bar-value { font-size: 0.66rem; font-weight: 600; color: var(--cv-ink-2); margin-bottom: 4px; white-space: nowrap; }
.cv-bar-value .cv-short { display: none; }
.cv-bars + * { margin-top: 52px; }
.cv-res-chart, .cv-example-main .cv-bars { padding-bottom: 44px; }

/* Band of four facts */
.cv-band { background: var(--cv-green-2); color: #e9efe9; padding: 30px 0; }
.cv-band ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 0 auto; }
@media (min-width: 900px) { .cv-band ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cv-band li { display: grid; gap: 4px; border-left: 1px solid rgba(233, 239, 233, 0.22); padding-left: 16px; }
.cv-band b { font-family: var(--cv-display); font-weight: 500; font-size: 1.5rem; color: #fff; letter-spacing: -0.01em; }
.cv-band span { font-size: 0.88rem; color: #c7d4cc; line-height: 1.4; }

/* Steps 01 to 03 */
.cv-how { padding: 84px 20px; }
.cv-how h2, .cv-compare-zone h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 36px; max-width: 18em; }
.cv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 860px) { .cv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.cv-steps li { border-top: 1px solid var(--cv-rule); padding-top: 22px; }
.cv-step-n { display: block; font-family: var(--cv-display); font-size: 3.4rem; line-height: 1; color: var(--cv-brass); margin-bottom: 18px; letter-spacing: -0.03em; }
.cv-steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cv-steps p { color: var(--cv-ink-2); }

/* Products */
.cv-intro { padding: 24px 20px 12px; }
.cv-intro > * { max-width: 760px; }
.cv-intro h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cv-intro p { color: var(--cv-ink-2); }
.cv-product { padding: 56px 0; }
.cv-product.alt { background: linear-gradient(180deg, #efece3, #e8e3d6); }
.cv-product-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .cv-product-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; } .cv-product.alt .cv-shot { order: 2; } }
.cv-copy-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.cv-copy-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cv-price { font-family: var(--cv-display); font-size: 1.6rem; font-weight: 500; color: var(--cv-green); white-space: nowrap; }
.cv-copy > p { color: var(--cv-ink-2); }
.cv-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.cv-list li { position: relative; padding-left: 26px; }
.cv-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 7px; border-left: 2px solid var(--cv-green); border-bottom: 2px solid var(--cv-green); transform: rotate(-45deg); }
.cv-copy .cv-note { margin-top: 14px; }

/* Report pages shown whole, opened in large on click */
.cv-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.cv-page { display: block; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px var(--cv-ring), 0 18px 40px -24px rgba(18, 26, 23, 0.45); transition: transform 360ms var(--cv-ease); background: #fff; }
.cv-page:nth-child(2) { transform: translateY(26px); }
.cv-page:hover { transform: translateY(-4px); }
.cv-page:nth-child(2):hover { transform: translateY(22px); }
.cv-page img { display: block; width: 100%; height: auto; }
.cv-pages-label { grid-column: 1 / -1; margin-top: 34px; font-family: var(--cv-mono-font); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--cv-ink-3); }
.cv-pages.two .cv-page:nth-child(2) { transform: none; }

/* Comparison table (Function Health) */
.cv-compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cv-compare th { text-align: left; font-family: var(--cv-mono-font); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cv-ink-3); padding: 10px 8px; border-bottom: 1px solid var(--cv-rule); }
.cv-compare td { padding: 11px 8px; border-bottom: 1px solid var(--cv-rule); vertical-align: top; color: var(--cv-ink-2); }
.cv-compare td:first-child { color: var(--cv-ink); font-weight: 600; }
.cv-compare td:last-child, .cv-compare th:last-child { color: var(--cv-green); }
.cv-compare td:last-child { font-weight: 600; }
.cv-compare-zone { padding: 84px 20px 40px; }
.cv-compare.big { font-size: 1rem; }
.cv-compare.big td, .cv-compare.big th { padding: 16px 12px; }

/* Tiles */
.cv-more { padding: 40px 0 72px; }
.cv-more-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .cv-more-grid { grid-template-columns: 1.3fr 1fr; } }
.cv-tile { display: grid; gap: 12px; align-content: start; padding: 28px; }
.cv-tile p { color: var(--cv-ink-2); margin: 0; }
.cv-tile-head { display: flex; justify-content: space-between; gap: 16px; font-family: var(--cv-display); font-size: 1.45rem; }
.cv-tile-head strong { font-weight: 500; }
.cv-tile-head strong:last-child { color: var(--cv-green); }
.cv-tile.warm { background: #ece5d3; box-shadow: none; }
.cv-tile-title { font-family: var(--cv-display); font-weight: 500; font-size: 1.45rem; }

/* Method and company */
.cv-trust { border-top: 1px solid var(--cv-rule); padding: 72px 0; }
.cv-trust-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .cv-trust-grid { grid-template-columns: 1.25fr 1fr; gap: 72px; } }
.cv-trust h2 { font-size: 1.85rem; margin-bottom: 14px; }
.cv-trust p { color: var(--cv-ink-2); }

/* Public pages, FAQ */
.cv-guides { padding: 0 0 40px; }
.cv-guides ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cv-guides a { display: inline-block; padding: 9px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--cv-ring); background: var(--cv-card); color: var(--cv-ink); font-size: 0.92rem; background-image: none; }
.cv-guides a:hover { box-shadow: 0 0 0 1px var(--cv-green); color: var(--cv-green); }
.cv-faq { padding: 24px 0 90px; }
.cv-faq h2 { font-size: 2rem; margin-bottom: 18px; }
.cv-faq details { border-top: 1px solid var(--cv-rule); padding: 18px 0; max-width: 860px; }
.cv-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cv-faq summary::-webkit-details-marker { display: none; }
.cv-faq summary::after { content: "+"; font-family: var(--cv-display); font-size: 1.5rem; line-height: 1; color: var(--cv-green); transition: transform 240ms var(--cv-ease); }
.cv-faq details[open] summary::after { transform: rotate(45deg); }
.cv-faq details p { color: var(--cv-ink-2); margin: 12px 0 0; max-width: 46em; }

/* Free result */
.cv-result-zone { padding-bottom: 40px; scroll-margin-top: 16px; }
.cv-res { display: grid; gap: 18px; }
@media (min-width: 940px) { .cv-res { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; } }
.cv-res-figures { padding: 28px; }
.cv-facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 0.95rem; color: var(--cv-ink-2); }
.cv-facts b { color: var(--cv-ink); font-weight: 600; }
.cv-latest ul { list-style: none; margin: 0; padding: 0; }
.cv-latest li { border-top: 1px solid var(--cv-rule); }
.cv-latest a { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 12px; padding: 10px 0; color: var(--cv-ink); background-image: none; }
.cv-latest-price { font-weight: 600; color: var(--cv-green); }
.cv-latest-place { justify-self: start; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 320ms var(--cv-ease); }
.cv-latest-date { font-family: var(--cv-mono-font); font-size: 0.75rem; color: var(--cv-ink-3); }
.cv-res-side { display: grid; gap: 14px; }
.cv-res-offer { display: grid; gap: 16px; padding: 28px; }
.cv-res-offer h2 { font-size: 1.6rem; }
.cv-res-offer .cv-mono { margin: 0; }
.cv-res-offer .cv-btn { width: 100%; }
.cv-res-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.82rem; color: var(--cv-ink-3); }
.cv-res-small { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: var(--cv-ink); transition: box-shadow 220ms var(--cv-ease); }
.cv-res-small:hover { box-shadow: 0 0 0 1.5px var(--cv-green); }
.cv-res-small strong { font-weight: 600; }
.cv-res-small .cv-note { display: block; margin-top: 2px; }
.cv a.cv-res-small { color: var(--cv-ink); }
.cv-res-small .cv-price { font-size: 1.3rem; }

/* Offer forms */
.cv-offer-form { display: grid; gap: 8px; }
.cv-offer-form details { margin-top: 8px; border-top: 1px solid var(--cv-rule); padding-top: 12px; display: grid; gap: 8px; }
.cv-offer-form summary { cursor: pointer; font-weight: 600; color: var(--cv-green); }

/* Public page chart */
.cv-guide-chart { padding: 22px 22px 8px; margin: 8px 0 24px; }
.cv-guide-chart .cv-chart-title { margin-top: 0; }
.cv-guide-chart .cv-bars { padding-bottom: 28px; }

/* Motion (Integrated Wealthcare): lines rise once as they appear */
.cv-js .cv-reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--cv-ease), transform 600ms var(--cv-ease); }
.cv-js .cv-reveal.is-in { opacity: 1; transform: none; }
.cv-steps li.cv-reveal:nth-child(2) { transition-delay: 80ms; }
.cv-steps li.cv-reveal:nth-child(3) { transition-delay: 160ms; }
.cv-js .cv-bars.is-in i { animation: cv-grow 700ms var(--cv-ease) both; }
.cv-js .cv-bars.is-in li:nth-child(n) i { animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes cv-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 520px) {
  body:has(.cv-home) .brand { font-size: 1.05rem; }
  .cv { font-size: 1rem; }
  .cv-hero { padding: 8px 0 44px; }
  .cv-hero h1 { margin-bottom: 18px; }
  .cv-tool { padding: 20px; }
  .cv-tool-head h2 { font-size: 1.25rem; }
  .cv-example-row { grid-template-columns: 1fr; }
  .cv-latest a { grid-template-columns: 6.5em 1fr auto; gap: 8px; }
  .cv-compare.big td, .cv-compare.big th { padding: 12px 6px; font-size: 0.88rem; }
  .cv-how, .cv-compare-zone { padding-top: 60px; }
  .cv-pages:not(.two) { grid-template-columns: 1fr; gap: 14px; }
  .cv-bars ol:has(li:nth-child(6)) .cv-bar-value .cv-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cv-bars ol:has(li:nth-child(6)) .cv-bar-value .cv-short { display: inline; }
  .cv-bars ol:has(li:nth-child(6)) { gap: 3px; }
  .cv-bars ol:has(li:nth-child(6)) .cv-bar-value { font-size: 0.58rem; letter-spacing: -0.02em; }
  .cv-pages:not(.two) .cv-page:nth-child(2), .cv-pages:not(.two) .cv-page:nth-child(2):hover { transform: none; }
  .cv-pages:not(.two) .cv-pages-label { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .cv-js .cv-reveal { opacity: 1; transform: none; transition: none; }
  .cv-js .cv-bars.is-in i { animation: none; }
  .cv-page, .cv-page:hover { transition: none; }
}

/* Public pages and offer pages: the shared templates in the site's fonts and colours */
body:has(.cv-guide), body:has(.cv-offer-form), body:has(.cv-pack-teaser), body:has(.cv-res) { font-family: "Inter Tight CV", "Helvetica Neue", Arial, sans-serif; color: #121a17; font-variant-numeric: tabular-nums; }
body:has(.cv-guide) h1, body:has(.cv-guide) h2, body:has(.cv-offer-form) h1, body:has(.cv-pack-teaser) h1, body:has(.cv-offer-form) h2, body:has(.cv-pack-teaser) h2 { font-family: "Newsreader CV", Georgia, serif; font-weight: 500; letter-spacing: -0.015em; }
body:has(.cv-guide) h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.08; }
body:has(.cv-guide) .brand, body:has(.cv-offer-form) .brand, body:has(.cv-pack-teaser) .brand { font-family: "Newsreader CV", Georgia, serif; font-weight: 500; font-size: 1.25rem; color: #121a17; }
body:has(.cv-guide) .brand-emoji, body:has(.cv-offer-form) .brand-emoji, body:has(.cv-pack-teaser) .brand-emoji, body:has(.cv-res) .brand-emoji { font-size: 0; width: 24px; height: 24px; display: inline-block; vertical-align: -5px; margin-right: 8px; background: url("logo.svg") center / contain no-repeat; }
body:has(.cv-guide) .card, body:has(.cv-offer-form) .card, body:has(.cv-pack-teaser) .card { border-radius: 12px; box-shadow: 0 0 0 1px rgba(18, 26, 23, 0.1); background: #fbfaf6; }
body:has(.cv-guide) .guide-table th { font-family: "Plex Mono CV", ui-monospace, monospace; font-weight: 400; letter-spacing: 0.04em; color: #5f6a65; }
body:has(.cv-guide) .guide-table td a, body:has(.cv-guide) .link-list a { color: #1d4d3c; }
body:has(.cv-guide) .btn, body:has(.cv-offer-form) .btn, body:has(.cv-pack-teaser) .btn { background: #1d4d3c; border-radius: 6px; box-shadow: none; }
body:has(.cv-guide) .source { font-family: "Plex Mono CV", ui-monospace, monospace; font-size: 0.72rem; }
@media (min-width: 900px) { body:has(.cv-guide) .wrap.guide { max-width: 860px; } }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) .badge { border-radius: 6px; background: #1d4d3c; font-family: "Plex Mono CV", ui-monospace, monospace; font-weight: 400; letter-spacing: 0.06em; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) .offer-price b { font-family: "Newsreader CV", Georgia, serif; font-weight: 500; font-size: 2rem; color: #1d4d3c; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) .offer-price span, :is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) ol { color: #5f6a65; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) a:not(.btn):not(.brand):not(.teaser-zoom) { color: #1d4d3c; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) input:not([type=checkbox]), :is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) select { border: 0; box-shadow: 0 0 0 1px rgba(18, 26, 23, 0.22); border-radius: 6px; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) :is(input, select):focus { outline: 2px solid #1d4d3c; outline-offset: 1px; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) .bullets { list-style: none; padding-left: 0; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) .bullets li { position: relative; padding-left: 28px; }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) .bullets li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid #1d4d3c; border-bottom: 2px solid #1d4d3c; transform: rotate(-45deg); }
:is(body:has(.cv-offer-form), body:has(.cv-pack-teaser)) input[type=checkbox] { accent-color: #1d4d3c; }

/* The simple home and result (29/10/2026, asked by Clément): one column, everyday words,
   no small capital labels. Placed last so it wins over the rules above. */
.cv-simple .cv-narrow, .cv-narrow { max-width: 680px; }
.cv-simple.cv-home .cv-hero { padding: 40px 0 40px; text-align: left; }
.cv-simple .cv-hero h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); line-height: 1.05; margin-bottom: 12px; }
.cv-simple .cv-sub { font-size: 1.2rem; color: var(--cv-ink-2); margin: 0 0 26px; }
.cv-simple .cv-tool { padding: 24px; }
.cv-simple .cv-tool .cv-btn { font-size: 1.08rem; min-height: 56px; }
.cv-simple .cv-reassure { font-size: 0.92rem; color: var(--cv-ink-3); margin: 14px 2px 0; }
.cv-simple .cv-how { padding: 48px 20px 40px; }
.cv-simple .cv-how h2, .cv-simple .cv-offer h2, .cv-simple .cv-faq h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); margin-bottom: 20px; }
.cv-simple .cv-steps { grid-template-columns: 1fr; gap: 0; }
.cv-simple .cv-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; border-top: 1px solid var(--cv-rule); padding: 18px 0; }
.cv-simple .cv-step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--cv-green); color: #fff; font: 600 1rem/36px var(--cv-sans); text-align: center; margin: 0; }
.cv-simple .cv-steps p { margin: 0; color: var(--cv-ink-2); }
.cv-simple .cv-steps strong { color: var(--cv-ink); font-weight: 600; }
.cv-simple .cv-offer { padding: 24px 20px 48px; max-width: 960px; }
.cv-offer-card { display: grid; gap: 28px; padding: 28px; }
@media (min-width: 820px) { .cv-offer-card { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; padding: 36px; } }
.cv-simple .cv-kicker { color: var(--cv-brass); font-weight: 600; font-size: 0.95rem; margin: 0 0 6px; }
.cv-simple .cv-offer h2 { margin-bottom: 8px; }
.cv-offer-price { font-family: var(--cv-display); font-size: 1.9rem; color: var(--cv-green); margin: 0 0 18px; line-height: 1.1; }
.cv-offer-price span { font-family: var(--cv-sans); font-size: 1rem; color: var(--cv-ink-3); }
.cv-offer-text .cv-btn { width: 100%; }
.cv-offer-text .cv-note { margin: 12px 0 0; }
.cv-offer-shot { display: grid; gap: 10px; text-decoration: none; color: var(--cv-ink-3); font-size: 0.85rem; }
.cv-offer-shot img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--cv-ring), 0 18px 40px -24px rgba(18, 26, 23, 0.45); background: #fff; }
.cv a.cv-offer-shot { color: var(--cv-ink-3); }
.cv-others { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 820px) { .cv-others { grid-template-columns: 1fr 1fr; } }
.cv a.cv-other { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: var(--cv-ink); transition: box-shadow 220ms var(--cv-ease); }
.cv-other:hover { box-shadow: 0 0 0 1.5px var(--cv-green); }
.cv-other strong { font-weight: 600; }
.cv-other .cv-note { display: block; margin-top: 4px; }
.cv-other-price { font-family: var(--cv-display); font-size: 1.35rem; color: var(--cv-green); white-space: nowrap; }
.cv-simple.cv-home .cv-faq { padding: 16px 0 56px; }
.cv-simple .cv-contact { margin: 22px 0 12px; }

/* The simple result */
.cv-simple.cv-res { grid-template-columns: 1fr; gap: 14px; }
.cv-simple .cv-res-title { font-family: var(--cv-sans); font-size: 1.15rem; font-weight: 500; color: var(--cv-ink-2); letter-spacing: 0; margin: 0 0 4px; }
.cv-res-price { margin: 0 0 10px; }
.cv-res-price b { font-family: var(--cv-display); font-weight: 500; font-size: clamp(3rem, 12vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; color: var(--cv-green); }
.cv-simple .cv-res-range { font-size: 1.1rem; margin: 0 0 6px; }
.cv-res-range strong { font-weight: 600; }
.cv-simple .cv-res-basis { font-size: 0.92rem; color: var(--cv-ink-3); margin: 0 0 6px; }
.cv-simple .cv-res-h { font-family: var(--cv-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 26px 0 8px; }
.cv-simple .cv-res-chart { padding-bottom: 30px; }
.cv-simple .cv-latest .cv-note { margin: 8px 0 0; }
.cv-simple .cv-latest-date { font-family: var(--cv-sans); font-size: 0.85rem; }
.cv-simple .cv-res-offer p { margin: 0; color: var(--cv-ink-2); }
.cv-simple .cv-res-offer .cv-list { margin: 0; }
.cv-simple .cv-res-figures > .cv-note { margin: 10px 0 0; }
