/* Atelier 35 — design tokens + base styles */

/* Self-hosted variable fonts — replaces Google Fonts (RGPD + perf).
   Subset: latin only. For latin-ext re-fetch from fonts.googleapis.com. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/fonts/dm-sans.woff2') format('woff2-variations'),
       url('/fonts/dm-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/fonts/inter.woff2') format('woff2-variations'),
       url('/fonts/inter.woff2') format('woff2');
}

:root {
  /* Surfaces */
  --bg: #FAF8F5;
  --bg-alt: #F2EEE5;
  --bg-card: #FFFFFF;
  --border: #E8E2D5;
  --border-strong: #D8CFB9;

  /* Text */
  --ink: #1F1F1F;
  --ink-soft: #3A3A38;
  --muted: #6B6356;
  --muted-2: #8A8175;

  /* Accent — bleu travail */
  --accent: #2C5282;
  --accent-ink: #1F3F66;
  --accent-soft: #DCE5F0;
  --on-accent: #FFFFFF;

  /* Type */
  --font-sans: "Inter", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rythme */
  --r-1: 4px;
  --r-2: 6px;
  --r-3: 10px;
  --shadow-1: 0 1px 0 rgba(31,31,31,0.04), 0 1px 3px rgba(31,31,31,0.06);
  --shadow-2: 0 1px 0 rgba(31,31,31,0.04), 0 6px 18px -8px rgba(31,31,31,0.12);

  --section-py: 120px;
  --container-px: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.container--narrow { max-width: 880px; }

section {
  padding: var(--section-py) 0;
  scroll-margin-top: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: 50px; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: 32px; line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; }
h4 { font-size: 16px; line-height: 1.4; font-weight: 600; }

p { margin: 0; text-wrap: pretty; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--r-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-alt); border-color: var(--muted-2); }

.btn--link {
  background: transparent;
  color: var(--accent);
  padding: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 28px;
}
.card--soft {
  background: var(--bg);
  border: 1px solid var(--border);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.nav__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}
.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-1);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  align-self: center;
}
.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 0 auto;
}
.nav__links a {
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 100ms ease;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta { margin-left: 4px; }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* Pictos */
.picto {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.picto--lg { width: 32px; height: 32px; stroke-width: 1.25; }

/* Helpers */
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────── Hero ─────────────────── */
.hero {
  padding-top: 80px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero__sub {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
}
.hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
.hero__meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--border-strong);
}

/* Hero recap card */
.recap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 8px;
  box-shadow: var(--shadow-2);
  position: relative;
}
.recap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.recap__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.recap__lights { display: inline-flex; gap: 6px; }
.recap__lights span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}
.recap__list { padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.recap__row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 14px;
  padding: 14px 12px;
  border-radius: var(--r-2);
  align-items: center;
  transition: background 150ms ease;
}
.recap__row:hover { background: var(--bg-alt); }
.recap__row + .recap__row { border-top: 1px solid var(--border); }
.recap__row .picto { color: var(--accent); }
.recap__name { font-weight: 500; color: var(--ink); font-size: 15.5px; }
.recap__delay { font-size: 13px; color: var(--muted); }
.recap__price { font-size: 15px; font-weight: 600; color: var(--ink); }
.recap__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--r-3) var(--r-3);
  font-size: 13px;
  color: var(--muted);
}
.recap__foot strong { color: var(--ink); font-weight: 600; }

/* hero stamp */
.hero__stamp {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.5;
  text-align: center;
}
@media (max-width: 980px) { .hero__stamp { display: none; } }

/* ─────────────────── Three columns ─────────────────── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .three-col { grid-template-columns: 1fr; } }

.three-col__item {
  padding: 28px;
  border-radius: var(--r-3);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.three-col__item .picto { color: var(--accent); }
.three-col__price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.three-col__price strong { font-size: 17px; font-weight: 600; }
.three-col__price span { font-size: 13px; color: var(--muted); }

/* ─────────────────── Pourquoi ─────────────────── */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
}
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }
.reason {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reason__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.reason h3 { font-size: 22px; }

/* ─────────────────── Forfaits ─────────────────── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .tier-grid--3 { grid-template-columns: 1fr; } }

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: border-color 150ms ease, transform 200ms ease;
}
.tier:hover { border-color: var(--border-strong); }

.tier--featured {
  border-color: var(--accent);
  border-width: 1.5px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.tier__badge {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}

.tier__name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tier__price strong {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.tier__price em {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
}
.tier__delay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  align-self: flex-start;
}
.tier__delay .picto { width: 14px; height: 14px; color: var(--accent); }

.tier__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.tier__features li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.45;
}
.tier__features .picto { color: var(--accent); width: 16px; height: 16px; margin-top: 3px; }

.tier__quote {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  text-wrap: pretty;
}

.tier__cta { margin-top: 4px; }

/* ─────────────────── Maintenance ─────────────────── */
.maint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 760px) { .maint-grid { grid-template-columns: 1fr; } }
.maint {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  background: var(--bg-card);
}
.maint__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-2);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex: none;
}
.maint__price {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.maint__price em { font-style: normal; font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }

/* ─────────────────── Pour qui ─────────────────── */
.foryou {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .foryou { grid-template-columns: 1fr; gap: 32px; } }
.foryou__copy { font-size: 19px; line-height: 1.55; color: var(--ink-soft); }
.foryou__copy strong { color: var(--ink); font-weight: 600; }

.sister {
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  background: var(--bg-card);
  padding: 4px;
  display: flex;
  flex-direction: column;
}
.sister__head {
  padding: 16px 20px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.sister__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 18px 20px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-2);
  transition: background 150ms ease;
}
.sister__row:hover { background: var(--bg-alt); }
.sister__row + .sister__row { border-top: 1px solid var(--border); }
.sister__name { font-size: 16px; font-weight: 600; color: var(--ink); }
.sister__url { font-size: 13px; color: var(--muted); }
.sister__desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; padding-top: 4px; }
.sister__row .arrow { color: var(--muted); transition: color 150ms ease, transform 150ms ease; }
.sister__row:hover .arrow { color: var(--accent); transform: translateX(2px); }
.sister__col { display: flex; flex-direction: column; gap: 2px; }

/* ─────────────────── Timeline ─────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 28px 24px 28px 0;
  position: relative;
  border-top: 2px solid var(--border);
}
.step::before {
  content: "";
  position: absolute;
  top: -7px; left: 0;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
}
.step__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ─────────────────── Projets / Mehdi ─────────────────── */
.projets {
  background: var(--bg-alt);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-3);
  padding: 56px 32px;
  text-align: center;
}

.mehdi {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 760px) { .mehdi { grid-template-columns: 1fr; } }

.mehdi__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-3);
  background:
    linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.0) 40%),
    var(--bg-alt);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.mehdi__photo--filled { padding: 0; }
.mehdi__photo--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-3);
}
.mehdi__quote { font-size: 19px; line-height: 1.55; color: var(--ink); }
.mehdi__quote p + p { margin-top: 14px; }
.mehdi__links { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ─────────────────── FAQ ─────────────────── */
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq__btn:hover { color: var(--accent); }
.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--muted);
  transition: transform 200ms ease, color 150ms ease, border-color 150ms ease, background 150ms ease;
  flex: none;
}
.faq__item.is-open .faq__icon {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}
.faq__panel-inner {
  padding: 0 4px 26px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 70ch;
}

/* ─────────────────── CTA Strip ─────────────────── */
.cta-strip {
  background: var(--ink);
  color: #FAF8F5;
  border-radius: var(--r-3);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: #FAF8F5; font-size: 30px; max-width: 28ch; }
.cta-strip p { color: rgba(250,248,245,0.7); font-size: 15px; margin-top: 8px; }
.cta-strip .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
}
.cta-strip .btn--ghost {
  background: transparent;
  color: #FAF8F5;
  border-color: rgba(250,248,245,0.3);
}
.cta-strip .btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(250,248,245,0.5); }

/* ─────────────────── Footer ─────────────────── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  font-size: 14px;
  color: var(--muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* ─────────────────── Configurateur ─────────────────── */
.config {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 8px;
  box-shadow: var(--shadow-1);
}
.config__head {
  padding: 24px 28px 22px;
  border-bottom: 1px solid var(--border);
}
.config__head h3 { font-size: 22px; }
.config__head p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }
.config__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}
@media (max-width: 880px) { .config__body { grid-template-columns: 1fr; } }
.config__main { padding: 28px; display: flex; flex-direction: column; gap: 28px; }
.config__side {
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 880px) { .config__side { border-left: 0; border-top: 1px solid var(--border); } }
.config__group h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 540px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.choice:hover { border-color: var(--border-strong); }
.choice.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.choice__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex: none;
  position: relative;
}
.choice.is-active .choice__dot { border-color: var(--accent); }
.choice.is-active .choice__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.choice__copy { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.choice__name { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.choice__hint { font-size: 12.5px; color: var(--muted); }

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px;
}
.toggle + .toggle { border-top: 1px solid var(--border); }
.toggle__copy { display: flex; flex-direction: column; gap: 2px; }
.toggle__copy span:first-child { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.toggle__copy span:last-child { font-size: 12.5px; color: var(--muted); }
.switch {
  width: 36px; height: 20px;
  border-radius: 999px;
  background: var(--border-strong);
  position: relative;
  cursor: pointer;
  border: 0;
  flex: none;
  transition: background 150ms ease;
  padding: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #FFF;
  transition: transform 150ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.switch.is-on { background: var(--accent); }
.switch.is-on::after { transform: translateX(16px); }

.config__total { display: flex; flex-direction: column; gap: 4px; }
.config__total-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.config__total-amount {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.config__delay {
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.config__delay strong { color: var(--ink); font-weight: 600; }

.config__breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}
.config__breakdown-row {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
}
.config__breakdown-row .v { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.config__cta { margin-top: 8px; width: 100%; justify-content: center; }
