:root {
  --bg: #120d18;
  --panel: #211929;
  --line: #3a3046;
  --text: #f8f3fb;
  --muted: #bcb0c8;
  --accent: #ff3d71;
  --accent-2: #ff8a3d;
  --mine: #ffd60a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { color: var(--accent); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; text-decoration: none; }
.badge { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .85rem; white-space: nowrap; }
p { margin: 0 0 12px; }
h2 { margin: 0 0 24px; font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h3 { margin: 0 0 6px; font-size: 1.08rem; }

.cta { display: inline-block; min-height: 52px; padding: 13px 30px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 34px -10px var(--accent); transition: transform .15s; }
.cta:hover { transform: translateY(-2px); }
.cta-note { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

.hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 28px 0 72px; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -120px 0 auto auto; width: min(720px, 100%); height: 720px; background: radial-gradient(closest-side, rgba(255, 61, 113, .3), transparent); pointer-events: none; }
h1 { margin: 0 0 18px; font-weight: 700; font-size: clamp(1.35rem, 3.2vw, 1.9rem); line-height: 1.25; text-wrap: balance; }
.display { display: block; margin-bottom: 14px; font-size: clamp(4.2rem, 13vw, 8.2rem); font-weight: 900; line-height: .95; letter-spacing: -.05em; background: linear-gradient(95deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0 0 26px; max-width: 34em; color: var(--muted); font-size: 1.15rem; }

/* Interactive phone: everything runs on the checkbox, no scripts on this page. */
.phone { position: relative; width: min(100%, 340px); margin: 0 auto; padding: 10px; border: 1px solid var(--line); border-radius: 40px; background: #09060d; box-shadow: 0 30px 80px -30px rgba(255, 61, 113, .55); }
.screen { position: relative; overflow: hidden; height: 540px; border-radius: 30px; background: #221b2b; }
.screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dot { position: absolute; width: 22px; height: 22px; margin: -11px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.dot.f { background: var(--accent); }
.dot.me { background: var(--accent); outline: 3px solid var(--mine); outline-offset: 2px; opacity: 0; transform: scale(0); }
.dot.cluster { display: grid; place-items: center; width: 42px; height: 42px; margin: -21px; background: var(--accent); color: #fff; font-size: .95rem; font-weight: 800; }
.demo-label { position: absolute; top: 14px; left: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(9, 6, 13, .75); color: var(--muted); font-size: .75rem; }
.toast { position: absolute; left: 12px; right: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: .9rem; line-height: 1.3; opacity: 0; transform: translateY(-14px); }
.toast strong { display: block; }
.toast-dot { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 50%; background: #2ecc71; }
.toast small { color: var(--muted); font-size: .8rem; }
.toast-1 { top: 44px; }
.toast-2 { top: 104px; }
.dock { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-size: .92rem; line-height: 1.25; }
.dock .on { display: none; }
.switch { position: relative; flex: none; width: 60px; height: 34px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.slider { position: absolute; inset: 0; border-radius: 17px; background: var(--line); pointer-events: none; transition: background .15s; }
.slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:not(:checked) + .slider { animation: nudge 1.8s ease-in-out infinite; }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::after { transform: translateX(26px); }
.switch input:focus-visible + .slider { outline: 2px solid #fff; outline-offset: 2px; }
.phone:has(#demo:checked) .dot.me { animation: pop .35s .1s forwards; }
.phone:has(#demo:checked) .toast-1 { animation: drop .3s 1.1s forwards; }
.phone:has(#demo:checked) .toast-2 { animation: drop .3s 2.6s forwards; }
.phone:has(#demo:checked) .dock .on { display: inline; }
.phone:has(#demo:checked) .dock .off { display: none; }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes drop { to { opacity: 1; transform: none; } }
@keyframes nudge { 50% { box-shadow: 0 0 0 7px rgba(255, 61, 113, .3); } }
.phone-hint { margin: 14px 0 0; color: var(--muted); font-size: .88rem; text-align: center; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 8px; color: var(--accent); font-size: 3.2rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.steps p, .rules p, .moment p { margin: 0; color: var(--muted); }

.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.moment { padding: 20px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.moment time { display: block; margin-bottom: 26px; color: var(--accent-2); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

.versus { width: 100%; border-collapse: collapse; }
.versus th, .versus td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.versus thead th { color: var(--muted); font-size: .9rem; font-weight: 600; }
.versus thead th:last-child { color: var(--accent); font-size: 1.05rem; font-weight: 800; }
.versus tbody th { width: 26%; font-weight: 600; }
.versus td:nth-child(2) { color: var(--muted); }
.versus td:last-child { font-weight: 600; }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
details { padding: 14px 0; border-bottom: 1px solid var(--line); }
summary { min-height: 28px; font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }
.final { padding: 84px 0; text-align: center; }
.final h2 { margin-bottom: 26px; font-size: clamp(2.4rem, 8vw, 4.6rem); font-weight: 900; }
footer { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }

.doc { max-width: 720px; padding-bottom: 48px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; }
.doc h2 { margin: 28px 0 10px; font-size: 1.2rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 12px 0 52px; }
  .steps, .rules { grid-template-columns: 1fr; }
  .moments { grid-template-columns: repeat(2, 1fr); }
  section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .cta { display: block; text-align: center; }
  .moments { grid-template-columns: 1fr; }
  .moment time { margin-bottom: 10px; }
  .versus th, .versus td { padding: 12px 6px; font-size: .92rem; }
  .versus tbody th { width: 28%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .slider, .slider::after { transition: none; }
  .switch input:not(:checked) + .slider { animation: none; }
  .phone:has(#demo:checked) .dot.me, .phone:has(#demo:checked) .toast-1, .phone:has(#demo:checked) .toast-2 { animation-duration: .01s; animation-delay: 0s; }
}
