/* ──────────────────────────────────────────────────────────────────────────
   Check GE — design system
   Direction: Genève · précision horlogère · finance moderne · barber premium
   Deep ink, warm off-white, one brass accent, hairlines, a watch-dial motif.
   Mobile-first (375 → 1440). No framework, no external request.
   ────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the swap does not shift the layout (CLS). */
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 86%;
  ascent-override: 98%;
  descent-override: 26%;
}

:root {
  --ink: #0b0f14;
  --ink-2: #0f141b;
  --surface: #141a22;
  --surface-2: #19212b;
  --line: rgb(243 239 230 / 0.11);
  --line-strong: rgb(243 239 230 / 0.22);
  --paper: #f3efe6;
  --muted: #a7aeb8;
  --faint: #8a929e;
  --brass: #d4b47a;
  --brass-soft: rgb(212 180 122 / 0.12);
  --brass-line: rgb(212 180 122 / 0.55);
  --error: #ff9b8a;
  --serif: "Instrument Serif", "Serif Fallback", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --gutter: 20px;
  --max: 1160px;
  --tap: 52px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}
html.app-open {
  overflow: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--brass);
  color: var(--ink);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tap);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 0.15s var(--ease),
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgb(243 239 230 / 0.2), 0 10px 30px -12px rgb(212 180 122 / 0.5);
}
.btn--primary:hover {
  background: #fff;
}
.btn--primary:hover .icon {
  transform: translateX(3px);
}
.btn--primary[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.btn--xl {
  min-height: 58px;
  padding: 0 28px;
  font-size: 1.0625rem;
}
.btn--block {
  width: 100%;
}
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--paper);
}
.btn--link {
  min-height: 44px;
  padding: 0 4px;
  gap: 6px;
  background: none;
  color: var(--brass);
  font-weight: 500;
  font-size: 0.9375rem;
}
.btn--link .icon {
  width: 16px;
  height: 16px;
}
.link {
  color: var(--brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ── Top bar ─────────────────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand__mark {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.langs a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 36px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
}
.langs a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--paper);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero__dial {
  position: absolute;
  z-index: -1;
  top: -2%;
  right: -34%;
  width: min(96vw, 520px);
  aspect-ratio: 1;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
  pointer-events: none;
}
.hero__body {
  max-width: 640px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 11.5vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero h1 em {
  display: block;
  color: var(--brass);
  font-style: italic;
}
.hero__sub {
  max-width: 34ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 32px;
}
.duration {
  align-self: center;
  color: var(--faint);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust .icon {
  width: 16px;
  height: 16px;
  color: var(--brass);
  stroke-width: 2;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 22px;
  color: var(--faint);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero__scroll::after {
  content: " ↓";
}

/* Dial */
.dial {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.dial__ring {
  fill: none;
  stroke: var(--line);
}
.dial__ticks line {
  stroke: rgb(243 239 230 / 0.28);
  stroke-width: 0.6;
}
.dial__ticks line.major {
  stroke: var(--brass);
  stroke-width: 1.2;
}
.dial__arc {
  fill: none;
  stroke: var(--brass);
  stroke-width: 0.8;
  stroke-dasharray: 100;
  stroke-dashoffset: 18;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  opacity: 0.7;
  animation: dial-arc 1.6s var(--ease) both;
}
.dial__hand {
  transform-origin: 100px 100px;
  transform: rotate(295deg);
  animation: dial-hand 1.6s var(--ease) both;
}
.dial__hand line {
  stroke: var(--paper);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.dial__hand circle {
  fill: var(--brass);
}
@keyframes dial-arc {
  from {
    stroke-dashoffset: 100;
  }
}
@keyframes dial-hand {
  from {
    transform: rotate(0deg);
  }
}

/* ── Sections ────────────────────────────────────────────────────────── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter);
  border-top: 1px solid var(--line);
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section__lead {
  margin-top: 12px;
  color: var(--muted);
  max-width: 46ch;
}
.how__list {
  display: grid;
  gap: 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.how__list li {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.how__n {
  color: var(--brass);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.how h3 {
  font-size: 1.1875rem;
  font-weight: 600;
}
.how p {
  color: var(--muted);
}

.tiles {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.tile > .icon:first-child {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  color: var(--brass);
}
.tile__label {
  font-weight: 600;
}
.tile__desc {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.875rem;
}
.tile__go {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--faint);
  transition: transform 0.2s var(--ease), color 0.2s;
}
.tile:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}
.tile:hover .tile__go {
  color: var(--paper);
  transform: translateX(3px);
}
.tile--global {
  border-color: var(--brass-line);
  background: linear-gradient(135deg, var(--brass-soft), transparent 60%), var(--ink-2);
}

.checks {
  display: grid;
  gap: 14px;
  margin: 28px 0 22px;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 60ch;
}
.checks .icon {
  margin-top: 3px;
  color: var(--brass);
  stroke-width: 2;
}

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq h2 {
  margin-bottom: 18px;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--brass);
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
  max-width: 62ch;
}

.final {
  text-align: left;
}
.final p {
  margin: 12px 0 28px;
  color: var(--muted);
}
.final .btn {
  width: 100%;
}

.footer {
  display: grid;
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter) calc(110px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.875rem;
}
.footer nav {
  display: flex;
  gap: 20px;
}
.footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}
.footer__note {
  font-size: 0.8125rem;
}

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--ink) 60%, transparent);
  animation: rise 0.25s var(--ease);
}
.sticky-cta .btn {
  width: 100%;
}
.has-consent-bar .sticky-cta {
  bottom: var(--consent-h, 132px);
}
@keyframes rise {
  from {
    transform: translateY(100%);
  }
}

.consent-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: grid;
  gap: 12px;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--muted);
}
.consent-bar__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.consent-bar .btn {
  min-height: 46px;
}

.noscript {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  background: var(--surface);
}

/* ── Legal pages ─────────────────────────────────────────────────────── */
.legal {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1.05;
}
.legal__notice {
  padding: 14px 16px;
  border: 1px dashed var(--brass-line);
  border-radius: var(--radius);
  color: var(--brass);
}

/* ══ The check (multi-step form) ═════════════════════════════════════ */
.app {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  animation: fade 0.2s ease;
}
.app__inner {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  height: 100dvh;
  max-width: 640px;
  margin: 0 auto;
}
.app__inner--langs {
  grid-template-rows: auto auto 1fr;
}
.app__langs {
  justify-self: center;
  margin-top: 10px;
}
.app__bar {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
  border-bottom: 1px solid var(--line);
}
.app__icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.app__icon-btn:hover {
  background: var(--surface);
}
.app.is-done .app__bar > .app__icon-btn:first-child,
.app.is-done .progress {
  visibility: hidden;
}
.app__stage {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.progress__ring {
  width: 30px;
  height: 30px;
  flex: none;
  transform: rotate(-90deg);
}
.progress__ring circle {
  fill: none;
  stroke-width: 2.4;
}
.progress__ring-track {
  stroke: var(--line);
}
.progress__ring-arc {
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p, 4));
  transition: stroke-dashoffset 0.5s var(--ease);
}
.progress__text {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}
.progress__label {
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.progress__section {
  color: var(--faint);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.progress__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
}
.progress__fill {
  display: block;
  height: 100%;
  background: var(--brass);
  transform-origin: left;
  transform: scaleX(var(--p, 0.04));
  transition: transform 0.5s var(--ease);
}

.step {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px var(--gutter) 0;
}
.step.enter-forward {
  animation: enter-forward 0.32s var(--ease);
}
.step.enter-back {
  animation: enter-back 0.32s var(--ease);
}
@keyframes enter-forward {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
}
@keyframes enter-back {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.step__head {
  margin-bottom: 22px;
}
.step__eyebrow {
  margin-bottom: 10px;
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.step__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 8.6vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.step__title:focus {
  outline: none;
}
.step__hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-wrap: pretty;
}
.step__body {
  display: grid;
  gap: 18px;
}
.step__error {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgb(255 155 138 / 0.4);
  border-radius: 12px;
  background: rgb(255 155 138 / 0.08);
  color: var(--error);
  font-size: 0.9375rem;
}
.step__error.is-visible {
  display: flex;
}
.step__error.is-visible::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}
.step__actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
.step__actions--sticky {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding-top: 30px;
  background: linear-gradient(to top, var(--ink) 80%, rgb(11 15 20 / 0));
}
.step__body + .step__error + .step__actions--sticky {
  margin-top: auto;
}
.step__reassure {
  color: var(--faint);
  font-size: 0.8125rem;
  text-align: center;
}

/* Option cards */
.choices {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.choices__grid {
  display: grid;
  gap: 10px;
}
.choices__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choices__legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-2);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.18s,
    background-color 0.18s,
    transform 0.12s var(--ease);
}
.card--compact {
  min-height: var(--tap);
  padding: 12px 14px;
}
.card--wide {
  grid-column: 1 / -1;
}
.card:active {
  transform: scale(0.985);
}
.card:hover {
  border-color: rgb(243 239 230 / 0.36);
}
.card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.card:has(.card__input:focus-visible) {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brass);
}
.card__text {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.card__label {
  font-weight: 600;
  line-height: 1.25;
}
.card__desc {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.35;
}
.card__state {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.card__badge {
  display: none;
  position: absolute;
  top: 9px;
  right: 14px;
  color: var(--brass);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card__tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition:
    background-color 0.18s,
    border-color 0.18s;
}
.card input[type="checkbox"] ~ .card__state .card__tick {
  border-radius: 7px;
}
.card__tick .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.15s,
    transform 0.25s var(--ease);
}
.card.is-selected {
  border-color: var(--brass);
  background: linear-gradient(135deg, var(--brass-soft), transparent 70%), var(--ink-2);
}
.card.is-selected .card__tick {
  background: var(--brass);
  border-color: var(--brass);
}
.card.is-selected .card__tick .icon {
  opacity: 1;
  transform: none;
}
.card.is-selected .card__badge {
  display: inline;
}
.card:has(.card__desc) {
  min-height: 78px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.choices__grid--2 .card__badge,
.card--compact .card__badge {
  display: none !important;
}

/* Services */
.selector {
  display: grid;
  gap: 12px;
}
.selector__grid {
  display: grid;
  gap: 10px;
}
.selector__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.selector__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.selector__count {
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.selector__count.is-empty {
  color: var(--faint);
  font-weight: 400;
}
.global {
  display: grid;
  gap: 8px;
}
.card--global {
  min-height: 84px;
  padding: 18px 16px;
  border-color: var(--brass-line);
  background: linear-gradient(135deg, var(--brass-soft), transparent 65%), var(--ink-2);
}
.card--global .card__icon {
  border-color: var(--brass-line);
}
.card--global .card__label {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
}
.global__note {
  padding: 0 4px;
  color: var(--faint);
  font-size: 0.8125rem;
}
.global__note.is-active {
  color: var(--brass);
}

/* Fields */
.fields {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field__label {
  font-weight: 600;
  font-size: 0.9375rem;
}
.field__optional {
  color: var(--faint);
  font-weight: 400;
}
.field__input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-2);
  font-size: 1.125rem; /* ≥16px: no zoom on iOS */
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
}
textarea.field__input {
  min-height: 112px;
  resize: vertical;
  line-height: 1.45;
}
.field__input::placeholder {
  color: var(--faint);
}
.field__input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-soft);
}
.field__input[aria-invalid="true"] {
  border-color: var(--error);
}
.field__input--short {
  max-width: 140px;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.field__wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.field__suffix {
  color: var(--muted);
  font-size: 1.125rem;
}
.field__hint {
  color: var(--faint);
  font-size: 0.8125rem;
}
.field__error {
  display: none;
  color: var(--error);
  font-size: 0.875rem;
}
.field__error.is-visible {
  display: block;
}
.reveal {
  display: grid;
  gap: 10px;
  padding-top: 6px;
  animation: fade 0.25s ease;
}

/* Checkbox rows (WhatsApp, consent) */
.check {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.check__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.check__box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 7px;
  transition: background-color 0.15s, border-color 0.15s;
}
.check__box .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
  color: var(--ink);
  opacity: 0;
}
.check__input:checked + .check__box {
  background: var(--brass);
  border-color: var(--brass);
}
.check__input:checked + .check__box .icon {
  opacity: 1;
}
.check__input:focus-visible + .check__box {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.check__input[aria-invalid="true"] + .check__box {
  border-color: var(--error);
}
.check--quiet {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Review */
.summary {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}
.summary__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.summary dt {
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.summary dd {
  grid-column: 1;
  margin: 0;
}
.summary dd.summary__edit {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
.summary__ticks {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.summary__ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary__ticks .icon {
  width: 16px;
  height: 16px;
  color: var(--brass);
  stroke-width: 2;
}
.summary__muted {
  color: var(--muted);
  font-size: 0.875rem;
}
.consents {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Confirmation */
.confirm {
  display: grid;
  gap: 14px;
  padding: 44px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  animation: enter-forward 0.4s var(--ease);
}
.confirm__seal {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border: 1px solid var(--brass-line);
  border-radius: 50%;
  color: var(--brass);
  background: var(--brass-soft);
}
.confirm__seal .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
  stroke-dasharray: 30;
  animation: draw 0.6s 0.15s var(--ease) both;
}
@keyframes draw {
  from {
    stroke-dashoffset: 30;
  }
}
.confirm__title {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 10vw, 3.2rem);
  line-height: 1.04;
}
.confirm__title:focus {
  outline: none;
}
.confirm__lead {
  font-size: 1.125rem;
  font-weight: 600;
}
.confirm > p {
  color: var(--muted);
}
.confirm__next-title {
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.confirm__next {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}
.confirm__next li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  counter-increment: next;
}
.confirm__next li::before {
  content: "0" counter(next);
  color: var(--brass);
  font-size: 0.8125rem;
  font-weight: 600;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.confirm .trust {
  margin-top: 8px;
}
.confirm__ref {
  color: var(--faint) !important;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.confirm .btn {
  justify-self: start;
  margin-top: 8px;
}

/* ── Tablet & desktop ────────────────────────────────────────────────── */
@media (min-width: 600px) {
  :root {
    --gutter: 32px;
  }
  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .hero__actions .btn {
    width: auto;
  }
  .tiles,
  .selector__grid {
    grid-template-columns: 1fr 1fr;
  }
  .tiles__global {
    grid-column: 1 / -1;
  }
  .how__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .final .btn {
    width: auto;
  }
  .sticky-cta {
    display: none;
  }
  .consent-bar {
    grid-template-columns: 1fr auto;
    align-items: center;
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 560px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
  }
  .step {
    padding-top: 44px;
  }
  .confirm {
    padding-top: 64px;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: min(820px, calc(100svh - 72px));
  }
  .hero__dial {
    top: 50%;
    right: -4%;
    width: 560px;
    transform: translateY(-50%);
    opacity: 0.9;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__sub {
    font-size: 1.1875rem;
  }
  .section {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
    align-items: start;
    padding: 96px var(--gutter);
  }
  .section > h2 {
    grid-row: 1 / 4;
  }
  .section > *:not(h2) {
    grid-column: 2;
  }
  .how__list,
  .tiles,
  .checks {
    margin-top: 0;
  }
  .how__list {
    grid-template-columns: 1fr;
  }
  .final {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .final > h2 {
    grid-row: auto;
  }
  .final > * {
    grid-column: auto !important;
  }
  .final p {
    margin: 0;
  }
  .final .trust {
    grid-column: 1 / -1 !important;
  }
  .footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer__note {
    grid-column: 1 / -1;
  }
  .app__inner {
    max-width: 680px;
  }
}

@media (min-width: 1440px) {
  .hero h1 {
    font-size: 6.25rem;
  }
}

/* Motion: only what helps; none when the user asks for none. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .card.is-selected {
    outline: 3px solid Highlight;
  }
}

/* ══ v2: video heroes, hooks, featured service, communes, booking ═══════ */

/* Hero chip (LAMal countdown / 3a+3b) */
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--brass-line);
  border-radius: 999px;
  background: var(--brass-soft);
  color: var(--brass);
  font-size: 0.875rem;
  font-weight: 600;
}
.hero__chip .icon {
  width: 17px;
  height: 17px;
}
.hero__chip--urgent {
  border-color: rgb(255 155 138 / 0.5);
  background: rgb(255 155 138 / 0.1);
  color: #ffb4a6;
}
.hero__by {
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* Landing tiles: hook line */
.tile {
  grid-template-rows: auto auto auto;
}
.tile > .icon:first-child,
.tile__go {
  grid-row: 1 / 4;
}
.tile__hook {
  grid-column: 2;
  margin-top: 4px;
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hooks inside option cards */
.card__hook {
  margin-top: 2px;
  color: var(--brass);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Featured service (the video's insurance) — first thing seen, already ticked */
.card--featured {
  min-height: 108px;
  padding: 20px 18px;
  border-color: var(--brass);
  background: linear-gradient(135deg, rgb(212 180 122 / 0.2), transparent 70%), var(--ink-2);
}
.card--featured .card__icon {
  width: 48px;
  height: 48px;
  border-color: var(--brass-line);
}
.card--featured .card__icon .icon {
  width: 24px;
  height: 24px;
}
.card--featured .card__label {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.05;
}
.card--featured .card__desc {
  font-size: 0.9375rem;
}

/* Mini cards: compact 2-column grid of other insurances */
.selector__grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.card--mini {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 112px;
  padding: 12px;
}
.card--mini .card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.card--mini .card__label {
  font-size: 0.9375rem;
}
.card--mini .card__state {
  position: absolute;
  top: 12px;
  right: 12px;
}
.card--mini .card__badge,
.card--featured .card__badge {
  display: none !important;
}
.card--featured .card__state {
  align-self: flex-start;
}
.card--global .card__label {
  font-size: 1.5rem;
}

/* Date of birth */
.field__input--date {
  max-width: 220px;
  font-size: 1.375rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

/* Commune search */
.commune__search-wrap {
  position: relative;
}
.commune__search-wrap > .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}
.commune__search {
  padding-left: 46px;
}
.commune__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.commune__outside {
  display: grid;
  gap: 8px;
}
.commune__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--tap);
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-2);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.commune__option.is-selected {
  border-color: var(--brass);
  background: linear-gradient(135deg, var(--brass-soft), transparent 70%), var(--ink-2);
}
.commune__option.is-selected .card__tick {
  background: var(--brass);
  border-color: var(--brass);
}
.commune__option.is-selected .card__tick .icon {
  opacity: 1;
  transform: none;
}
.commune__empty {
  color: var(--faint);
  font-size: 0.875rem;
}

/* In-page booking */
.booking {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 18px 16px;
  border: 1px solid var(--brass-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--brass-soft), transparent 60%), var(--ink-2);
}
.booking__title {
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1.1;
}
.booking__lead {
  color: var(--muted) !important;
  font-size: 0.9375rem;
}
.booking__status {
  color: var(--muted);
  font-size: 0.9375rem;
}
.booking__status:empty {
  display: none;
}
.booking__status--done {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brass-soft);
  color: var(--paper);
  font-weight: 600;
}
.booking__picker {
  display: grid;
  gap: 12px;
}
.booking__days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.booking__days::-webkit-scrollbar {
  display: none;
}
.booking__day,
.booking__time {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  touch-action: manipulation;
  font-variant-numeric: tabular-nums;
}
.booking__day::first-letter {
  text-transform: uppercase;
}
.booking__day.is-active,
.booking__time.is-selected {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
}
.booking__times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 232px;
  overflow-y: auto;
}
.booking__time {
  padding: 0 4px;
}
.booking__tz {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-size: 0.75rem;
}
.booking__tz .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 360px) {
  .booking__times {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 600px) {
  .selector__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .commune__results {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
}

/* v3 — typed 3a amount, per-question recap, Instagram link */
.field__input--amount {
  max-width: 160px;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.summary dt .summary__eyebrow {
  display: block;
  margin-bottom: 2px;
}
.summary dt:has(.summary__eyebrow) {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.summary dt:has(.summary__eyebrow) .summary__eyebrow {
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.confirm__social {
  display: inline-block;
  margin: 8px 0 16px;
  font-weight: 600;
}
.footer__social {
  margin-top: 8px;
}

/* v4 — postcode search, "other reason" text */
.field__input--postcode {
  max-width: 180px;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.step__body .commune__results {
  grid-template-columns: 1fr;
  margin-top: 12px;
}
.step__body .commune__results:empty {
  display: none;
}
.commune__nomatch {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.875rem;
}
.commune__toggle {
  justify-self: start;
  margin-top: 16px;
  text-align: left;
}
.commune__outside-box {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.commune__outside-box[hidden],
.commune__nomatch[hidden] {
  display: none;
}
.commune__toggle[hidden] {
  display: none;
}

/* v5 — pick the call slot inside the form */
.slot {
  display: grid;
  gap: 12px;
}
.slot .booking__status[hidden],
.slot__callback-note[hidden],
.slot__callback[hidden] {
  display: none;
}
.slot__callback {
  justify-self: start;
  text-align: left;
}
.slot__callback.is-selected {
  text-decoration: underline;
}
.slot__callback-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brass);
  font-weight: 600;
}
.confirm__booked {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.confirm__slot-lost {
  margin-bottom: 8px;
  color: var(--brass);
}

/* v6 — legal texts */
.legal section {
  margin-top: 28px;
}
.legal h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}
.legal p + p {
  margin-top: 10px;
}
.legal ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 20px;
}
.legal__updated {
  margin-top: 32px;
  color: var(--faint);
  font-size: 0.875rem;
}

/* Optional policy upload (confirmation screen) */
.upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload__choose {
  position: relative;
  justify-self: start;
  cursor: pointer;
}
.upload__choose:focus-within {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
.upload__choose.is-busy {
  opacity: 0.6;
  pointer-events: none;
}
.upload__hint {
  color: var(--faint);
  font-size: 0.8125rem;
}
.upload__list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.upload__list:empty {
  display: none;
}
.upload__list li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--paper);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.upload__list .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brass);
}
.booking__status.upload__error {
  color: var(--error);
}

/* Phone: country (🇨🇭 +41 · 🇫🇷 +33 · other) then the number */
.field__row {
  display: flex;
  gap: 8px;
}
.field__row .field__input {
  flex: 1;
  min-width: 0;
}
.phone__country {
  flex: none;
  min-height: 56px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--paper);
  font: inherit;
  font-size: 1rem; /* ≥16px: no zoom on iOS */
}
.phone__country:focus {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* « Ajouter à mon calendrier » after booking */
.calendar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 10px;
}
.calendar__btn .icon {
  width: 18px;
  height: 18px;
}
