.compare-preview {
  --position: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: clamp(245px, 29vw, 350px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.compare-site { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: clamp(20px, 5vw, 65px); }
.compare-site h3 { font-size: clamp(24px, 4vw, 52px); line-height: 1.1; }
.compare-site small { font-size: 12px; }
.compare-new { color: white; background: linear-gradient(110deg, #0a1638 5%, #194496 65%, #3c71bf); }
.compare-new::after { position: absolute; right: -5%; bottom: -55%; content: ""; width: 42%; aspect-ratio: 1; transform: rotate(45deg); border: 24px double #ffffff26; }
.compare-new > span { color: #c1dafa; font-size: 12px; font-weight: 600; letter-spacing: .13em; }
.compare-new b { display: inline-block; padding: 9px 15px; font-size: 14px; background: white; color: #173574; border-radius: 8px; }
.compare-old { clip-path: inset(0 calc(100% - var(--position)) 0 0); align-items: center; text-align: center; background: repeating-linear-gradient(45deg, #f6eacd 0 6px, #f7ecd3 6px 12px); font-family: Georgia, serif; color: #263278; }
.compare-old b { font-family: monospace; color: #e9f39c; background: #414448; padding: 3px 8px; }
.compare-old::after { content: ""; position: absolute; right: 16%; top: 20%; width: 42px; height: 70px; border-radius: 50%; background: #74716c44; filter: blur(12px); animation: steam 3s ease-in-out infinite alternate; }
@keyframes steam { to { transform: translate(7px,-20px) scale(1.3); opacity: .2; } }
.compare-divider { position: absolute; inset-block: 0; left: var(--position); border-left: 3px solid white; }
.compare-divider b { position: absolute; top: 50%; left: -1px; width: 38px; height: 38px; display: grid; place-items: center; transform: translate(-50%,-50%); background: var(--blue-600); color: white; border-radius: 50%; border: 2px solid white; }
.compare-preview input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: ew-resize; width: 100%; height: 100%; }
.compare-preview:focus-within { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.price-pair, .evidence-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 22px 0; }
.price-pair > div, .evidence-grid article { display: grid; align-content: start; gap: 8px; border-radius: 16px; padding: 22px; background: var(--gray-50); }
.price-pair > div:last-child { background: var(--blue-50); }
.price-pair strong, .evidence-grid strong { font: 600 clamp(22px,3vw,38px)/1.15 var(--font-display); }
.price-pair small { font-weight: 600; }
.evidence-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.evidence-grid article { color: white; background: #142547; }
.evidence-grid strong { color: #b8d8ff; }
.evidence-grid a, .source-note a { text-decoration: underline; text-underline-offset: .15em; }
.evidence-grid a, .source-note { font-size: 13px; }
.chantier-flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; padding: 0; }
.chantier-flow li { background: var(--blue-50); color: var(--night-2); padding: 18px 14px; list-style: none; font-weight: 600; }
.chantier-flow li:first-child { border-radius: 12px 0 0 12px; }
.chantier-flow li:last-child { border-radius: 0 12px 12px 0; }
.content-chart { margin: 24px 0 0; padding: 24px; border: 1px solid var(--gray-200); border-radius: 16px; }
.content-chart figcaption { display: grid; gap: 6px; }
.content-chart figcaption span { color: var(--gray-600); font-size: 14px; }
.month-bars { display: flex; gap: 2%; align-items: flex-end; height: 80px; margin-top: 20px; border-bottom: 2px solid var(--blue-200); }
.month-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(var(--blue-500),var(--blue-200)); }
.timeline-demo { display: grid; gap: 14px; margin: 20px 0; }
.timeline-demo p { display: grid; gap: 4px; border-left: 3px solid var(--blue-200); padding-left: 16px; }
.timeline-demo p:last-child { border-color: var(--green-500); }
@media(max-width: 700px) {
  .evidence-grid, .chantier-flow { grid-template-columns: 1fr; }
  .chantier-flow li, .chantier-flow li:first-child, .chantier-flow li:last-child { border-radius: 8px; padding: 12px 16px; }
  .price-pair { gap: 8px; }
  .price-pair > div { padding: 12px; font-size: 13px; }
  .price-pair strong { font-size: 21px; }
}
@media(prefers-reduced-motion: reduce) { .compare-old::after { animation: none; } }
.month-scene { background: white; border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; }
.month-header, .month-overview, .month-costs { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.month-header { background: var(--gray-50); padding: 12px 16px; font-size: 12px; }
.month-header > span:last-child { color: var(--gray-600); }
.month-overview { background: linear-gradient(115deg,#07122b,#103575); color: white; padding: 22px 24px; }
.month-overview strong { display: block; font: 600 clamp(36px,4vw,52px)/1.15 var(--font-display); margin-top: 5px; font-variant-numeric: tabular-nums; }
.month-overview small { color: #c9dcff; }
.month-overview svg { width: 26%; }
.month-events { margin: 0; padding: 8px 18px; list-style: none; }
.month-events li { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--gray-100); padding: 10px 0; }
.month-events time { flex: none; width: 54px; font-size: 12px; font-weight: 600; color: var(--blue-700); }
.month-events b, .month-events small { display: block; }
.month-events b { font-size: 14px; }
.month-events small { margin-top: 2px; color: var(--gray-600); font-size: 12px; }
.month-costs { flex-wrap: wrap; justify-content: flex-start; padding: 3px 17px 16px; }
.month-costs b { border-radius: 50px; background: var(--green-50); color: var(--green-600); padding: 5px 8px; font-size: 11px; }
.month-costs b:first-child { color: var(--blue-700); background: var(--blue-50); }
.book-dialog { max-width: min(420px,90vw); padding: 26px; margin: auto; border: 1px solid var(--gray-200); border-radius: 16px; color: var(--ink); }
.book-dialog::backdrop { background: #07122bad; }
.book-dialog p { margin: 16px 0; }
.evidence-notes { margin-top: 18px; font-size: 14px; max-width: 760px; }
.evidence-notes summary { cursor: pointer; font-weight: 600; }
.evidence-notes p { padding-top: 10px; }
.evidence-notes a { text-decoration: underline; }
