:root {
  --bg: #061326;
  --ink: #f0e6d8;
  --muted: #b7c3cc;
  --line: rgba(240, 230, 216, 0.16);
  --gold: #d7b07a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.water { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ripple-svg { width: 100%; height: 100%; display: block; }
.caustics {
  position: absolute;
  inset: auto 0 -10% 0;
  height: 46%;
  background:
    radial-gradient(ellipse 40% 30% at 20% 40%, rgba(160, 220, 255, .1), transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(255, 196, 120, .08), transparent 55%);
  filter: blur(8px);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to { transform: translate3d(4%, -2%, 0) scale(1.06); }
}

.hold, footer { position: relative; z-index: 1; }
.hold {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 6vw 4rem;
}
.logo-video {
  width: min(520px, 92vw);
  height: auto;
  background: var(--bg);
  margin-bottom: 0.25rem;
}
.kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
h1 { font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.02em; }
.lede { max-width: 28rem; color: var(--muted); margin: 0.7rem 0 1.4rem; line-height: 1.55; }
.cta-row { margin-bottom: 1rem; width: min(440px, 100%); }
.cta-row a { display: flex; min-height: 3rem; align-items: center; justify-content: center; text-decoration: none; }

.notify { display: flex; gap: 0.55rem; width: min(440px, 100%); }
.glass {
  font: inherit;
  border-radius: 999px;
  padding: 0.9rem 1.15rem;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.04));
  background-color: rgba(16, 28, 40, .28);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.22);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.glass.primary {
  color: #1a1408;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(212,160,80,.35));
  background-color: rgba(224, 196, 138, .72);
}
.notify input { flex: 1; min-width: 0; }
.notify input::placeholder { color: rgba(240,230,216,.55); }
.notify button { cursor: pointer; white-space: nowrap; }
.fine { margin-top: 0.85rem; color: var(--muted); font-size: 0.82rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 6vw 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

body.sample { min-height: 100dvh; }
.sample-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.sample-bar a { color: var(--gold); text-decoration: none; }
.sample-bar span { color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.7rem; }
body.sample iframe {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: calc(100dvh - 48px);
  background: var(--bg);
}

.drop {
  position: fixed;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(180, 220, 240, .55);
  pointer-events: none;
  z-index: 5;
  animation: splash .9s ease-out forwards;
}
@keyframes splash { to { transform: scale(18); opacity: 0; } }

@media (max-width: 560px) { .notify { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .caustics, .drop { animation: none !important; } }
