:root {
  color-scheme: light;
  --porcelain: #f5f7f3;
  --paper: #ffffff;
  --ink: #13211d;
  --muted: #5c6a65;
  --line: #dce4df;
  --blue: #4267f6;
  --mint: #bfe5d5;
  --coral: #c9513d;
  --shadow: 0 24px 70px rgba(19, 33, 29, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); position: relative;
  box-shadow: inset 0 0 0 8px var(--ink);
}
.brand-mark::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--mint); }
.brand-mark::after { content: ""; position: absolute; width: 4px; height: 28px; background: var(--blue); left: 16px; top: 4px; border-radius: 4px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); align-items: center; padding: 72px 0 88px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1.04; letter-spacing: -0.025em; }
h1 { margin: 0; font-size: clamp(48px, 7vw, 88px); max-width: 760px; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 62px); }
h3 { margin: 0; font-size: 27px; }
.lede { margin: 24px 0 0; max-width: 590px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--ink); background: var(--ink); color: white; text-decoration: none; font-weight: 800; }
.button.secondary { background: transparent; color: var(--ink); }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .compare-range:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(66, 103, 246, .28); outline-offset: 3px; }
.smallprint { margin-top: 14px; color: var(--muted); font-size: 13px; }

.compare { position: relative; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: #cfd8d2; isolation: isolate; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.compare-clean { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--split, 50%); width: 3px; transform: translateX(-1px); background: white; box-shadow: 0 0 0 1px rgba(19,33,29,.18); pointer-events: none; }
.compare-line::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-weight: 900; }
.compare-label { position: absolute; z-index: 3; top: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(19,33,29,.78); color: white; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.compare-label.original { left: 16px; }
.compare-label.cleaned { right: 16px; }
.compare-range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

.band { padding: 86px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.step-number { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 44px; border-radius: 50%; background: var(--mint); font-size: 13px; font-weight: 900; }
.card p { margin: 12px 0 0; color: var(--muted); }
.trust { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.trust-main { padding: 42px; border-radius: 24px; background: var(--ink); color: white; }
.trust-main p { max-width: 580px; color: #c4d0ca; font-size: 18px; }
.trust-list { display: grid; gap: 12px; }
.trust-item { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.trust-item strong { display: block; margin-bottom: 4px; }
.trust-item span { color: var(--muted); }

.legal-hero { padding: 72px 0 44px; max-width: 790px; }
.legal-hero h1 { font-size: clamp(44px, 6vw, 72px); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; padding-bottom: 90px; }
.legal-nav { position: sticky; top: 20px; align-self: start; display: grid; gap: 10px; font-size: 14px; }
.legal-nav a { color: var(--muted); text-decoration: none; }
.prose h2 { margin: 50px 0 14px; font-size: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; font-family: inherit; font-size: 17px; font-weight: 800; letter-spacing: 0; }
.prose p, .prose li { color: #35453f; }
.prose li + li { margin-top: 8px; }
.notice { padding: 20px 22px; border-left: 4px solid var(--blue); background: white; border-radius: 0 14px 14px 0; }
.success-card { max-width: 700px; margin: 80px auto; padding: 46px; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 24px; border-radius: 50%; background: var(--mint); font-size: 25px; font-weight: 900; }
.support-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; padding-bottom: 90px; }
.support-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.support-card p { color: var(--muted); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 800; font-size: 14px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #bdc9c3; border-radius: 10px; background: white; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }

.footer { display: flex; justify-content: space-between; gap: 30px; padding: 32px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero, .section-head, .trust, .support-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-copy { order: 1; }
  .compare { order: 2; border-radius: 18px; }
  .steps { grid-template-columns: 1fr; }
  .step-number { margin-bottom: 24px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1160px); }
  .topbar { min-height: 68px; }
  .nav a:not(.nav-keep) { display: none; }
  .hero { gap: 36px; padding-bottom: 60px; }
  .band { padding: 60px 0; }
  .card, .trust-main, .success-card { padding: 24px; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
