/*
  Stone & Ink — landing pages (DESIGN.md §7 component inventory).
  Requires /assets/css/fonts.css and /assets/css/tokens.css. Tokens only: no raw values here.
  Every landing page uses this one file, so a change here reaches all of them at once.
  Interactive behavior (form, sticky CTA, date chip) is /assets/js/lp.js (Plan 002).
*/

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone-0);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: var(--weight-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: var(--taupe-500); text-underline-offset: 0.15em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--stone-200); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 2px; border-radius: var(--radius-sm); }
[hidden] { display: none !important; } /* component display rules never un-hide a hidden element (e.g. the .ics button until Plan 004) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Type roles (§4) ---------- */
.display { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-display); line-height: var(--lh-display); text-wrap: balance; }
.h1 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-h1); line-height: var(--lh-h1); text-wrap: balance; }
.h2 { font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h2); line-height: var(--lh-h2); text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3); }
.lead { font-weight: var(--weight-lead); font-size: var(--text-lead); line-height: var(--lh-lead); max-inline-size: var(--max-prose); }
.body { max-inline-size: var(--max-prose); }
.small { font-size: var(--text-small); line-height: var(--lh-small); }
.muted { color: var(--ink-500); }
.eyebrow {
  display: inline-block; font-weight: var(--weight-body); font-size: var(--text-eyebrow); line-height: var(--lh-eyebrow);
  letter-spacing: var(--tracking-label); color: var(--taupe-700);
  padding-block-end: var(--space-2); border-block-end: var(--hairline);
}
.price { font-weight: var(--weight-heading); font-size: var(--text-price); line-height: var(--lh-price); font-variant-numeric: tabular-nums; }
.price__currency { font-size: var(--text-small); font-weight: var(--weight-body); }
bdi, .num { font-variant-numeric: tabular-nums; }

/* ---------- Layout (§5): one column, one eye-path ---------- */
.container { inline-size: 100%; max-inline-size: var(--max-lp); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--stone-50); }
.section--dark { background: var(--ink-900); color: var(--stone-100); }
.section--tight { padding-block: var(--space-12); }
.stack > * + * { margin-block-start: var(--space-4); }
.stack--lg > * + * { margin-block-start: var(--space-8); }
.hairline { border: 0; border-block-start: var(--hairline); margin: 0; }
.section--dark .hairline { border-block-start: var(--hairline-on-dark); }
.textured { position: relative; isolation: isolate; }
.textured::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: image-set(url('/assets/brand/texture-1.avif') type('image/avif'), url('/assets/brand/texture-1.webp') type('image/webp'));
  background-size: cover; background-position: center; opacity: var(--texture-opacity); pointer-events: none;
}

/* ---------- Header: logo only (§7) ---------- */
.lp-header { position: sticky; inset-block-start: 0; z-index: 10; background: var(--stone-0); border-block-end: var(--hairline); }
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; min-block-size: 60px; }
.lp-header__logo { display: inline-flex; color: var(--ink-900); }
.lp-header__logo img { block-size: 34px; inline-size: auto; }
.lp-header__meta { font-size: var(--text-small); color: var(--ink-500); }

/* ---------- Hero (§7) ---------- */
.hero { padding-block: var(--space-8) var(--space-12); }
.hero__inner { display: grid; gap: var(--space-6); }
.hero__cta { display: flex; flex-direction: column; gap: var(--space-3); }
.hero__trust { font-size: var(--text-small); color: var(--ink-500); }
.hero__media { position: relative; }
.hero__media img { inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone-100); }
/* a short stone fade on the top edge blends the photo into the page; the photo itself stays clear */
.hero__media::after { content: ''; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 18%; background: var(--overlay-stone); pointer-events: none; }
@media (min-width: 768px) {
  .hero { padding-block: var(--space-16) var(--space-24); }
  .hero__cta { flex-direction: row; align-items: center; }
  /* one 720px column: a portrait hero would fill the screen, so the same image is cropped wider */
  .hero__media img { aspect-ratio: 3 / 2; }
}

/* ---------- Buttons (§7) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-block-size: var(--control-h); min-inline-size: var(--tap-min); padding-inline: var(--space-6);
  border-radius: var(--radius-sm); border: 1px solid var(--ink-900);
  background: var(--ink-900); color: var(--stone-0);
  font-weight: var(--weight-strong); font-size: var(--text-body); line-height: 1; text-decoration: none; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset-inline-start: var(--space-6); inset-block-end: var(--space-2);
  block-size: 2px; inline-size: 0; background: var(--gold-500); transition: inline-size var(--dur) var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { inline-size: calc(100% - 2 * var(--space-6)); }
.btn--hero { min-block-size: var(--control-h-hero); padding-inline: var(--space-8); }
.btn--block { inline-size: 100%; }
.btn--secondary { background: transparent; color: var(--ink-900); border-color: var(--taupe-600); }
.btn--secondary:hover { border-color: var(--ink-900); }
.btn--secondary::after { display: none; }
.btn--accent { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-900); }
.btn--accent:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn--accent::after { background: var(--ink-900); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.btn__icon { inline-size: 20px; block-size: 20px; flex: none; }

/* ---------- Form card (§7) ---------- */
.form-card { background: var(--stone-100); border-radius: var(--radius-md); padding: var(--space-6); }
.form-card__title { font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3); margin-block-end: var(--space-4); }
.form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: var(--space-2); }
.field__label { font-weight: var(--weight-strong); }
.field__input {
  inline-size: 100%; min-block-size: var(--control-h); padding-inline: var(--space-4);
  background: var(--white); color: var(--ink-900);
  border: var(--hairline); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease);
}
.field__input::placeholder { color: var(--ink-500); opacity: 1; }
.field__input:focus-visible { outline-offset: 2px; border-color: var(--taupe-600); }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__help { font-size: var(--text-small); color: var(--ink-500); }
.field__error { font-size: var(--text-small); color: var(--error); min-block-size: 1.2em; }
.field__error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
fieldset.field > legend { padding: 0; margin-block-end: var(--space-2); }
.radio-group { display: grid; gap: var(--space-2); }
.radio {
  display: flex; align-items: center; gap: var(--space-3); min-block-size: var(--tap-min);
  padding-inline: var(--space-3); background: var(--white); border: var(--hairline); border-radius: var(--radius-sm); cursor: pointer;
}
.radio input { inline-size: 18px; block-size: 18px; margin: 0; accent-color: var(--ink-900); }
.radio:has(input:checked) { border-color: var(--ink-900); }
.form__consent { font-size: var(--text-small); color: var(--ink-500); }
.form__honeypot { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; opacity: 0; }
.form__status { font-size: var(--text-small); min-block-size: 1.5em; }
.form__status[data-state="error"] { color: var(--error); }

/* ---------- Section image (§7 "Section image", §8): generated illustration, never captioned as a project ---------- */
.lp-figure { margin-block-start: var(--space-8); }
.lp-figure img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-none); background: var(--stone-100); }

/* ---------- Intro: the opening story under the hero ---------- */
.intro { display: grid; gap: var(--space-4); max-inline-size: var(--max-prose); color: var(--ink-700); }
.intro__lead { color: var(--ink-900); }

/* ---------- Section intro + benefit list (§7) ---------- */
.section-intro { display: grid; gap: var(--space-3); margin-block-end: var(--space-8); }
.benefits { display: grid; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); padding-block: var(--space-4); border-block-start: var(--hairline); }
.benefit:last-child { border-block-end: var(--hairline); }
.benefit__icon { inline-size: 24px; block-size: 24px; color: var(--taupe-600); grid-row: span 2; translate: 0 2px; }
.benefit__num { font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h2); line-height: 1; color: var(--taupe-600); min-inline-size: 1.4em; grid-row: span 2; }
.benefit__title { font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3); }
.benefit__text { max-inline-size: var(--max-prose); }

/* ---------- Credentials (trust block while no testimonials exist) ---------- */
.credentials { display: grid; }
.credentials > li { padding-block: var(--space-3); border-block-start: var(--hairline); display: flex; gap: var(--space-3); align-items: baseline; }
.credentials > li:last-child { border-block-end: var(--hairline); }
.credentials__mark { color: var(--taupe-600); flex: none; inline-size: 14px; block-size: 14px; translate: 0 1px; }

/* ---------- Testimonial (§7; unused until real clients exist) ---------- */
.testimonial { display: grid; gap: var(--space-3); padding-block: var(--space-6); border-block-start: var(--hairline); }
.testimonial__quote { font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3); color: var(--ink-700); }
.testimonial__who { display: flex; align-items: center; gap: var(--space-3); font-weight: var(--weight-strong); font-size: var(--text-small); }
.testimonial__photo { inline-size: 56px; block-size: 56px; border-radius: var(--radius-full); object-fit: cover; }

/* ---------- About: personal story (§7 "About"; same rules as site.css) ---------- */
.about__title { margin-block-end: var(--space-6); }
.about__text { max-inline-size: var(--max-prose); color: var(--ink-700); }
.about__text p + p { margin-block-start: var(--space-4); }
.about__pivot {
  margin-block: var(--space-8) !important;
  font-family: var(--font-display); font-weight: var(--weight-heading);
  font-size: var(--text-h3); line-height: var(--lh-h3); color: var(--ink-900);
}
.about__sign { margin-block-start: var(--space-8); font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3); }

/* ---------- Thank-you page (Plan 003 D7) ---------- */
.thanks { padding-block: var(--space-16); }
.thanks__actions { display: grid; gap: var(--space-3); margin-block-start: var(--space-8); }
@media (min-width: 768px) {
  .thanks { padding-block: var(--space-24); }
  .thanks__actions { grid-auto-flow: column; justify-content: start; }
}

/* ---------- Pricing ladder (§7) ---------- */
.pricing { display: grid; }
.pricing__row { display: grid; gap: var(--space-2); padding-block: var(--space-4); border-block-start: var(--hairline); }
.pricing__row:last-child { border-block-end: var(--hairline); }
.pricing__name { font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3); }
.pricing__anchor { color: var(--ink-500); text-decoration: line-through; font-size: var(--text-small); }
.pricing__note { font-size: var(--text-small); color: var(--ink-500); }
.badge { display: inline-flex; align-items: center; min-block-size: 24px; padding-inline: var(--space-2); border-radius: var(--radius-full); font-size: var(--text-small); font-weight: var(--weight-strong); }
.badge--gold { background: var(--gold-500); color: var(--ink-900); }
@media (min-width: 768px) {
  .pricing__row { grid-template-columns: 1fr auto; align-items: baseline; }
}

/* ---------- FAQ (§7) ---------- */
.faq { display: grid; }
.faq__item { border-block-start: var(--hairline); }
.faq__item:last-child { border-block-end: var(--hairline); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding-block: var(--space-4); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ''; flex: none; inline-size: 10px; block-size: 10px;
  border-inline-end: 1px solid var(--taupe-600); border-block-end: 1px solid var(--taupe-600);
  rotate: 45deg; translate: 0 -3px; transition: rotate var(--dur) var(--ease);
}
.faq__item[open] .faq__q::after { rotate: 225deg; translate: 0 3px; }
.faq__a { padding-block: 0 var(--space-4); max-inline-size: var(--max-prose); color: var(--ink-700); }

/* ---------- Date chip + sticky CTA (§7) ---------- */
.date-chip {
  display: inline-flex; align-items: center; gap: var(--space-2); min-block-size: 32px;
  padding-inline: var(--space-3); border: var(--hairline); border-radius: var(--radius-sm);
  font-weight: var(--weight-strong); font-size: var(--text-small);
}
.date-chip .num { color: var(--ink-900); font-weight: var(--weight-strong); }
.sticky-cta {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 20;
  background: var(--stone-0); box-shadow: var(--shadow-float); border-block-start: var(--hairline);
  padding: var(--space-3) var(--gutter) max(var(--space-3), env(safe-area-inset-bottom));
  display: none; align-items: center; gap: var(--space-3);
  translate: 0 100%; transition: translate var(--dur) var(--ease);
}
.sticky-cta.is-visible { translate: 0 0; }
.sticky-cta .btn { flex: 1; }
.sticky-cta__meta { font-size: var(--text-small); color: var(--ink-500); white-space: nowrap; }
@media (max-width: 767px) { .sticky-cta { display: flex; } }
.sticky-cta--demo { position: static; display: flex; translate: none; border-radius: var(--radius-md); }

/* ---------- Before / After (§7) ---------- */
.before-after { display: grid; gap: var(--space-4); }
.before-after figure { display: grid; gap: var(--space-2); }
.before-after figcaption { font-size: var(--text-small); color: var(--ink-500); }
@media (min-width: 768px) {
  .before-after { grid-template-columns: 1fr 1px 1fr; align-items: start; }
  .before-after__rule { inline-size: 1px; align-self: stretch; background: rgb(154 139 122 / 0.3); }
}

/* ---------- Footer (§7) ---------- */
.lp-footer { margin-block-start: auto; background: var(--ink-900); color: var(--stone-100); padding-block: var(--space-12); }
.lp-footer__inner { display: grid; gap: var(--space-4); }
.lp-footer__logo img { inline-size: 140px; }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); font-size: var(--text-small); }
.lp-footer__links a { color: var(--stone-100); }
.lp-footer__legal { font-size: var(--text-small); color: var(--stone-200); }

/* ---------- Motion (§6) ---------- */
.reveal { opacity: 0; translate: 0 8px; transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: 0 0; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Conversion layout (Plan 003 Amendment 1, 2026-10-13)
   The agency's converting structure in Hana's brand: the quiz in the first
   screen, content in cards, alternating colored bands, one spacing rhythm
   (--band-y between bands, --gutter from the edge, --space-6 inside cards).
   ===================================================================== */
.cv { background: var(--stone-50); }
.cv .container { max-inline-size: var(--max-lp); }
.cv .container--wide { max-inline-size: 1040px; }

/* Bands: full-width colored sections; text centered on every screen size */
.band { padding-block: var(--band-y); text-align: center; position: relative; }
.band--light { background: var(--stone-0); }
.band--stone { background: var(--stone-100); }
.band--ink { background: var(--ink-900); color: var(--stone-100); }
.band--curve { border-start-start-radius: var(--radius-xl); border-start-end-radius: var(--radius-xl); margin-block-start: calc(-1 * var(--radius-xl)); }
.band:has(+ .band--curve) { padding-block-end: calc(var(--band-y) + var(--radius-xl)); }
.band__title { margin-block-end: var(--space-2); }
.band__lead { margin-inline: auto; margin-block-end: var(--space-6); color: var(--ink-700); }
.band--ink .band__lead { color: var(--stone-200); }

/* Photo band: a generated image as the background, slightly blurred, under an ink overlay; light text on top.
   The image is a real <img> (Hebrew alt, width/height, lazy) so check:pages counts it. */
.band--photo, .cv-hero--photo { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); color: var(--stone-0); }
.band__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.band__bg img { inline-size: 100%; block-size: 100%; object-fit: cover; filter: blur(var(--photo-blur)); scale: 1.06; }
.band--photo::before, .cv-hero--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--overlay-ink); pointer-events: none; }
.band--photo .band__lead { color: var(--stone-200); }
.cv-hero--photo .cv-hero__text .lead { color: var(--stone-200); }
.cv-hero--photo .cv-brand img { filter: brightness(0) invert(1); }
.cv-hero:has(+ .band--curve) { padding-block-end: calc(var(--band-y) + var(--radius-xl)); }

/* Brand row at the top of the page (no sticky header on conversion pages) */
.cv-brand { display: flex; justify-content: center; padding-block: var(--space-4) 0; }
.cv-brand img { block-size: 40px; inline-size: auto; }

/* Hero */
.cv-hero { padding-block: var(--space-4) var(--band-y); text-align: center; }
.cv-hero__text { display: grid; gap: var(--space-3); justify-items: center; }
.cv-hero__text .lead { margin-inline: auto; color: var(--ink-700); }
.cv-hero__media { margin-block-start: var(--space-6); }
.cv-hero__media img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); background: var(--stone-100); }
.pill {
  display: inline-flex; align-items: center; gap: var(--space-2); min-block-size: 28px; padding-inline: var(--space-3);
  border-radius: var(--radius-full); background: var(--white); border: var(--hairline);
  font-size: var(--text-small); font-weight: var(--weight-strong); color: var(--taupe-700);
}
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); font-size: var(--text-small); color: var(--ink-700); }
.facts li { display: inline-flex; align-items: center; gap: var(--space-2); }

/* Card */
.card { background: var(--white); color: var(--ink-900); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-6) var(--space-4); text-align: start; }
.card--ink { background: var(--ink-900); color: var(--stone-100); box-shadow: var(--shadow-card); }
.card--ink .card__lead { color: var(--stone-200); text-align: center; margin-block: calc(-1 * var(--space-2)) var(--space-4); }
.card--stone { background: var(--stone-100); box-shadow: none; }
.card + .card { margin-block-start: var(--space-3); }
.card__title { text-align: center; margin-block-end: var(--space-4); }
.card__media { margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-4)) var(--space-4); }
.card__media img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-start-start-radius: var(--radius-lg); border-start-end-radius: var(--radius-lg); }

/* Ticks: ✓ / ✗ in a filled circle */
.tick { flex: none; display: inline-grid; place-items: center; inline-size: 24px; block-size: 24px; border-radius: var(--radius-full); background: var(--gold-500); color: var(--ink-900); }
.tick svg { inline-size: 14px; block-size: 14px; }
.tick--no { background: var(--stone-200); color: var(--ink-500); }
.checklist { display: grid; gap: var(--space-3); text-align: start; }
.checklist li { display: flex; align-items: flex-start; gap: var(--space-3); }
.checklist .tick { translate: 0 2px; }

/* Quiz (multi-step lead form; quiz.js shows one step at a time) */
.quiz-card { margin-block-start: var(--space-6); padding-block-start: var(--space-6); }
.quiz-card__title { text-align: center; }
.quiz-card__sub { text-align: center; color: var(--ink-500); margin-block: var(--space-1) var(--space-4); }
.quiz { display: grid; gap: var(--space-4); }
.quiz__progress { display: flex; justify-content: center; gap: var(--space-2); }
.quiz__progress span { inline-size: 32px; block-size: 4px; border-radius: var(--radius-full); background: var(--stone-200); transition: background-color var(--dur) var(--ease); }
.quiz__progress span.is-done { background: var(--gold-500); }
.quiz__label { text-align: center; font-size: var(--text-small); color: var(--ink-500); min-block-size: 1.5em; }
.quiz__step { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: grid; gap: var(--space-3); }
.quiz__step + .quiz__step { margin-block-start: var(--space-4); }
.quiz.is-enhanced .quiz__step + .quiz__step { margin-block-start: 0; }
.quiz.is-enhanced .quiz__step:not(.is-active) { display: none; }
.quiz__q { padding: 0; text-align: center; font-family: var(--font-display); font-weight: var(--weight-heading); font-size: var(--text-h3); line-height: var(--lh-h3); margin-block-end: var(--space-1); }
.quiz__q:focus { outline: none; }
.choices { display: grid; gap: var(--space-3); }
.choices--2 { grid-template-columns: 1fr 1fr; }
.choice {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-block-size: 56px; padding: var(--space-3) var(--space-4);
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); font-weight: var(--weight-strong); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice:hover { border-color: var(--taupe-500); }
.choice:has(input:checked) { border-color: var(--ink-900); background: var(--stone-50); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold-600); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: center; }
.quiz__back { background: none; border: 0; padding: var(--space-2) var(--space-3); color: var(--ink-500); font-size: var(--text-small); cursor: pointer; text-decoration: underline; text-decoration-color: var(--taupe-500); text-underline-offset: 0.15em; min-block-size: var(--tap-min); }
.quiz__back[hidden] { display: none; }
.quiz__secure { display: flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: var(--text-small); color: var(--ink-500); text-align: center; }
.quiz__secure svg { inline-size: 14px; block-size: 14px; flex: none; }
.quiz .form__consent { text-align: center; }

/* Icon tiles 2×2 (4 across on wide screens) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.tile { display: grid; justify-items: center; align-content: start; gap: var(--space-3); padding: var(--space-6) var(--space-3); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.tile__icon { inline-size: 44px; block-size: 44px; color: var(--taupe-600); }
.tile__label { font-weight: var(--weight-strong); line-height: var(--lh-small); }

/* Numbered steps */
.steps { display: grid; gap: var(--space-3); counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-6) var(--space-4); text-align: center; }
.step__num { display: block; font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-h1); line-height: 1; color: var(--gold-600); margin-block-end: var(--space-2); }
.step__title { margin-block-end: var(--space-1); }
.step__text { color: var(--ink-700); }

/* Comparison ✗ / ✓ */
.compare { display: grid; gap: var(--space-3); }
.compare__title { text-align: center; margin-block-end: var(--space-4); }

/* About card + FAQ card */
.about-card .about__text { margin-inline: auto; }
.about-card .about__sign { text-align: center; }
.faq-card { padding-block: var(--space-2); }
.faq-card .faq__item:first-child { border-block-start: 0; }
.faq-card .faq__item:last-child { border-block-end: 0; }
.faq-card .faq__q { text-align: start; }
.faq-card .faq__a { text-align: start; }

/* Closing band: the quiz again on ink */


/* Light footer for conversion pages (the closing band is already dark) */
.cv-footer { background: var(--stone-100); color: var(--ink-700); padding-block: var(--space-8); text-align: center; }
.cv-footer__inner { display: grid; gap: var(--space-3); justify-items: center; }
.cv-footer__inner img { block-size: 32px; inline-size: auto; }
.cv-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); font-size: var(--text-small); }

@media (min-width: 768px) {
  .card { padding: var(--space-8); }
  .card__media { margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) var(--space-6); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .compare .card + .card { margin-block-start: 0; }
}
@media (min-width: 1024px) {
  /* headline centered across the top; below it the quiz (start side) and the image beside it, same height */
  .cv-hero__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "text text" "quiz media"; gap: var(--space-8) var(--space-8); align-items: stretch; }
  .cv-hero__grid .cv-hero__text { grid-area: text; }
  .cv-hero__grid .quiz-card { grid-area: quiz; margin-block-start: 0; }
  .cv-hero__grid .cv-hero__media { grid-area: media; margin-block-start: 0; }
  .cv-hero__grid .cv-hero__media img { block-size: 100%; aspect-ratio: auto; min-block-size: 420px; }
}

/* Conversion layout, A3 additions: 3-up tiles, 4–5 step cards, a closing line under steps,
   the story card, and the webinar date chip on a photo hero. */
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--3 .tile { padding-inline: var(--space-2); }
.band__after { margin-block-start: var(--space-6); margin-inline: auto; }
.story__close { text-align: center; margin-block-end: 0 !important; }
.cv-hero--photo .date-chip { border: var(--hairline-on-dark); color: var(--stone-0); }
@media (min-width: 768px) {
  .tiles--3 { grid-template-columns: repeat(3, 1fr); }
  .steps--many { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .steps--many { grid-template-columns: repeat(3, 1fr); }
}
/* Thank-you pages in the conversion layout: the photo hero with one white card */
.thanks-hero { min-block-size: 78svh; display: grid; align-content: center; }
.thanks-card { text-align: center; max-inline-size: 560px; margin: var(--space-6) auto 0; }
.thanks-card .lead { margin-inline: auto; }
.thanks-card .thanks__actions { justify-content: center; justify-items: center; }

/* Path chooser (Plan 014): the quiz's answer cards as links, for pages without a form (the home) */
.paths { display: grid; gap: var(--space-3); }
.path { flex-direction: column; gap: var(--space-1); text-decoration: none; color: var(--ink-900); padding-block: var(--space-4); }
.path__title { font-weight: var(--weight-strong); }
.path__sub { font-weight: var(--weight-body); font-size: var(--text-small); line-height: var(--lh-small); color: var(--ink-500); }
.path:hover { border-color: var(--ink-900); background: var(--stone-50); }
.paths-card .quiz__secure { margin-block-start: var(--space-4); }
.paths-card .quiz__secure a { color: var(--ink-700); }
/* beside a tall hero image the chooser card is stretched to the image's height: keep its content centered */
.paths-card { display: flex; flex-direction: column; justify-content: center; }
