:root {
  --bg: #0b1020;
  --ink: #f6f1e4;
  --muted: #a7adc2;
  --red: #d7262e;
  --green: #2fbf6b;
  --cream: #f6f1e4;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: radial-gradient(1200px 600px at 50% -10%, #1d2a55 0%, var(--bg) 60%); color: var(--ink); min-height: 100%; }
body { font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }
a { color: var(--ink); }
main { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; text-align: center; position: relative; z-index: 1; }

.notch-demo { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 0; margin-bottom: 40px; }
.notch { width: 270px; height: 34px; background: #000; border-radius: 0 0 14px 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.notch span { font-size: 20px; animation: wobble 2.6s ease-in-out infinite; transform-origin: 50% 70%; }
.meter { width: 24px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--green) 80%, #333 80%); }
.bubble { background: #fff; color: #111; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 14px; animation: pop 2.6s ease-in-out infinite; }
@keyframes wobble { 0%, 70%, 100% { transform: rotate(0) } 75% { transform: rotate(-18deg) } 80% { transform: rotate(14deg) } 85% { transform: rotate(-8deg) } 90% { transform: rotate(4deg) } }
@keyframes pop { 0%, 70% { opacity: 0; transform: translateY(-6px) scale(.9) } 78%, 96% { opacity: 1; transform: none } 100% { opacity: 0 } }

h1 { font-family: ui-serif, "New York", Georgia, serif; font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 em { color: var(--red); font-style: italic; }
.lede { color: var(--muted); font-size: 19px; margin: 0 auto 28px; max-width: 560px; }

.demo { width: 100%; aspect-ratio: 16 / 10; background: #000; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.45); margin-bottom: 36px; object-fit: cover; }

.bullets { list-style: none; padding: 0; margin: 0 auto 36px; text-align: left; max-width: 600px; display: grid; gap: 14px; }
.bullets li { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 14px 18px; color: var(--muted); }
.bullets b { color: var(--ink); display: block; }

.cta { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 8px 0 14px; }
.cta form { margin: 0; }
.buy, .download { font: inherit; font-weight: 700; border-radius: 999px; padding: 14px 26px; cursor: pointer; text-decoration: none; display: inline-block; }
.buy { background: var(--red); color: #fff; border: 0; box-shadow: 0 8px 24px rgba(215,38,46,.4); }
.buy:hover { filter: brightness(1.08); }
.download { border: 1px solid rgba(255,255,255,.25); color: var(--ink); }
.download:hover { background: rgba(255,255,255,.06); }
.fine { color: var(--muted); font-size: 14px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; position: relative; z-index: 1; }

.thanks { padding-top: 80px; }
.thanks .big { font-size: 72px; }
.thanks pre { background: var(--cream); color: #1a1a1a; border-radius: 12px; padding: 18px; white-space: pre-wrap; word-break: break-all; font-size: 14px; text-align: left; }

.snow { position: fixed; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 120px 80px, #fff 50%, transparent 51%), radial-gradient(2px 2px at 200px 160px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 60px 200px, #fff 50%, transparent 51%);
  background-size: 260px 260px; animation: snow 18s linear infinite; }
@keyframes snow { to { background-position: 0 260px; } }
@media (prefers-reduced-motion: reduce) { .snow, .notch span, .bubble { animation: none; } .bubble { opacity: 1; } }
