:root {
  color-scheme: dark;
  --bg: #241f3d;
  --fg: #f2f0f7;
  --muted: #a8a2b5;
  --accent: #8b5cf6;
  --stage-bg: linear-gradient(135deg, #241f3d 0%, #341f3a 45%, #16233c 100%);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(22, 26, 38, 0.34);
  --glass-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    inset 1px 0 1px rgba(255, 255, 255, 0.14),
    inset -1px 0 1px rgba(255, 255, 255, 0.14),
    0 10px 30px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: #cfbdfe; }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--stage-bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.blob.b1 { width: 58vmin; aspect-ratio: 1; left: -10vmin; top: 10%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.35), rgba(255,255,255,0) 70%); }
.blob.b2 { width: 48vmin; aspect-ratio: 1; right: -12vmin; bottom: 12%; background: radial-gradient(circle at 40% 40%, rgba(236,72,153,.45), rgba(236,72,153,0) 70%); }
.blob.b3 { width: 36vmin; aspect-ratio: 1; right: 8%; top: -8vmin; background: radial-gradient(circle at 40% 40%, rgba(139,92,246,.6), rgba(139,92,246,0) 70%); }
.blob.b4 { width: 30vmin; aspect-ratio: 1; left: 12%; bottom: -8vmin; background: radial-gradient(circle at 40% 40%, rgba(56,189,248,.4), rgba(56,189,248,0) 70%); }

main { max-width: 46rem; margin: 0 auto; padding: 0 24px 64px; }
@media (min-width: 1000px) { main { max-width: 58rem; } }
@media (min-width: 1400px) { main { max-width: 64rem; } }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 8px; }
.top .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.top .brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.top nav a { font-size: 0.95rem; text-decoration: none; color: var(--fg); }

.crumbs { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -0.025em; margin: 20px 0 14px; }
h2 { font-size: clamp(1.3rem, 4.6vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; margin: 44px 0 14px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); margin: 0 0 8px; max-width: 44rem; color: rgba(255, 255, 255, 0.92); }
.note { color: var(--muted); margin: 0; font-size: 0.95rem; }
strong { color: #fff; }

.glass {
  position: relative;
  isolation: isolate;
  border-radius: 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  box-shadow: var(--glass-shadow);
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%),
    linear-gradient(115deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 30%);
  mix-blend-mode: screen;
}

.facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.facts li { padding: 12px 14px; }
.facts small { display: block; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase; }
.facts span { display: block; font-size: 1.1rem; font-weight: 600; margin-top: 2px; }

.names { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.names a { display: block; padding: 10px 16px; text-decoration: none; font-weight: 600; color: #fff; border-radius: 999px; }
.names small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); }

.dates { padding-left: 1.2em; margin: 8px 0 0; }
.dates li { margin: 4px 0; }
.dates .main { font-weight: 700; }

.people { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.people li { padding: 14px 18px; }
.people strong { font-size: 1.05rem; }
.people span { display: block; color: var(--muted); font-size: 0.95rem; }
.people a { text-decoration: none; font-weight: 600; }

.wishes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.wish { padding: 16px 18px; }
.wish p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.94); }
.wish button {
  position: relative;
  z-index: 1;
  font: inherit;
  font-size: 0.9rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.wish button:active { background: rgba(255, 255, 255, 0.18); }

.faq { display: grid; gap: 10px; margin: 14px 0 0; }
.faq div { padding: 16px 18px; }
.faq p { margin: 0; color: rgba(255, 255, 255, 0.9); }

.pager { display: flex; justify-content: space-between; gap: 12px; margin: 32px 0 0; font-size: 0.95rem; }
.pager a { text-decoration: none; color: var(--muted); }
.pager a:hover { color: var(--fg); }

.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: stretch; }
/* One row, one height, each badge as wide as its own content. A fixed width
 * here padded the shorter label with dead space on the right. */
.badge { flex: 0 0 auto; }
.badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 15px;
  border-radius: 16px;
  isolation: isolate;
  white-space: nowrap;
  text-decoration: none;
  background: rgba(10, 12, 18, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px rgba(255, 255, 255, 0.06),
    inset 1px 0 1px rgba(255, 255, 255, 0.1),
    inset -1px 0 1px rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}
.badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%),
    linear-gradient(115deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 30%);
  mix-blend-mode: screen;
}
.badge svg { display: block; }
.badge .btxt { text-align: left; }
.badge .apple-mark { height: 27px; width: 21px; fill: #fff; }
.badge .play-mark { height: 25px; width: 25px; }
.badge .bsmall { display: block; font-size: 10px; letter-spacing: 0.5px; line-height: 1.2; color: rgba(255, 255, 255, 0.92); }
.badge .bbig { display: block; font-size: 17.5px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.15; color: #fff; }
a.badge:hover { transform: translateY(-2px); }
a.badge:active { transform: translateY(0); }

.promo { margin: 32px 0 0; padding: 24px 22px; display: grid; gap: 22px; border-radius: 24px; }
.promo h2 { margin: 0; }
.promo p { margin: 10px 0 22px; color: rgba(255, 255, 255, 0.84); }
.promo .badges { justify-content: flex-start; }
.promo .text { position: relative; z-index: 1; }
/* Scoped as tightly as the `.cta p` and `.promo p` rules below, which are
 * more specific than a bare `.free` and were flattening this margin to zero:
 * the note ended up touching the badges. */
.free, .cta p.free, .promo p.free {
  margin: 22px 0 0;
  max-width: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.cta p.free { text-align: center; }
.promo p.free { text-align: left; }

.phone {
  position: relative;
  z-index: 1;
  width: 190px;
  margin: 0 auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 33px;
  padding: 2px;
  background: linear-gradient(135deg, #bfb8b0 0%, #8e8880 35%, #d6d0c8 62%, #7c766f 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(#7c766f, #bfb8b0); }
.phone::before { left: -2px; top: 19.6%; height: 4.3%; }
.phone::after { right: -2px; top: 20.6%; height: 6.2%; }
.phone .bezel { height: 100%; border-radius: 31px; background: #07070a; padding: 4px; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 27px; }

.cta { margin: 44px 0 0; padding: 30px 24px 32px; text-align: center; border-radius: 24px; }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0 auto 24px; max-width: 34rem; color: rgba(255, 255, 255, 0.84); }
.cta .badges, .cta .free { position: relative; z-index: 1; }

footer { margin-top: 44px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (min-width: 700px) {
  .promo { grid-template-columns: minmax(0, 1.5fr) auto; align-items: center; padding: 32px; gap: 36px; }
  .phone { width: 200px; margin: 0 0 0 auto; }
}
@media (min-width: 1000px) {
  .promo { padding: 40px; }
  .phone { width: 215px; }
  .facts { gap: 14px; }
  .faq { grid-template-columns: 1fr 1fr; gap: 14px; }
  .wishes { grid-template-columns: 1fr 1fr; align-items: start; }
  .people { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .badge { transition: none; }
}

.live { margin: 22px 0 0; padding: 22px 24px; }
.live h2 { margin: 0 0 14px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.live h2 a { color: #fff; text-decoration: none; }
.live .names { margin: 0; }
.live .names span.glass { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; }

.search {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  outline: none;
}
.search:focus { border-color: rgba(207, 189, 254, 0.8); }
.search::placeholder { color: var(--muted); }
[data-letter] h3 { margin: 22px 0 6px; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.08em; }
[data-letter] .names { margin: 6px 0 0; }
[hidden] { display: none !important; }
