:root {
  --navy: #0b1a3a;
  --navy-2: #13275a;
  --blue: #1f4fd1;
  --red: #d7263d;
  --red-hi: #ff4058;
  --white: #ffffff;
  --ink: #0b1a3a;
  --muted: #5a6683;
  --line: #d8deea;
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--white);
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }

/* WebGL background */
#glow-bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(215,38,61,.35), transparent 70%),
    radial-gradient(60% 50% at 90% 80%, rgba(31,79,209,.45), transparent 70%),
    var(--navy);
}

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px clamp(16px, 4vw, 48px);
  padding-top: max(14px, env(safe-area-inset-top));
  background: rgba(11,26,58,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700; font-size: 1.35rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
}

/* Hero */
.hero {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px) 48px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.hero-photo {
  position: sticky; top: 96px;
  border-radius: var(--radius);
  padding: 6px;
  background: linear-gradient(140deg, var(--red), rgba(255,255,255,.9) 45%, var(--blue));
  box-shadow: 0 0 40px rgba(215,38,61,.35), 0 0 80px rgba(31,79,209,.3);
}
.hero-photo img {
  display: block; width: 100%; height: auto;
  border-radius: calc(var(--radius) - 6px);
}

.eyebrow {
  margin: 0 0 6px;
  font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  color: #c9d3ee;
}
.stars { color: var(--red-hi); margin-right: 6px; letter-spacing: .1em; }
h1 {
  margin: 0;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .98; letter-spacing: .01em;
}
.tagline {
  margin: 18px 0 0;
  font-family: Oswald, Impact, sans-serif; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem); text-transform: uppercase; line-height: 1.1;
}
.tagline-big {
  margin: 6px 0 28px;
  font-family: Oswald, Impact, sans-serif; font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.2rem); text-transform: uppercase; line-height: 1.05;
}
.red { color: var(--red-hi); }
.glow-text {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,64,88,.9), 0 0 28px rgba(255,64,88,.6), 0 0 48px rgba(31,79,209,.6);
}

/* Card / form */
.card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border-top: 6px solid var(--red);
}
.signup h2 {
  margin: 0;
  font-family: Oswald, Impact, sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 1.8rem; color: var(--navy);
}
.signup .sub { margin: 4px 0 18px; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.field input {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #f6f8fc;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus {
  outline: none; background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31,79,209,.18);
}
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215,38,61,.14); }
.check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .78rem; line-height: 1.45; color: var(--muted);
  margin: 10px 0;
}
.check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.check.invalid span { color: var(--red); }
.check a { color: var(--blue); }
.form-msg { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; text-align: center; }
.form-msg.ok { color: #157a3a; }
.form-msg.err { color: var(--red); }

/* Glow buttons */
.btn {
  --glow-a: var(--red-hi);
  --glow-b: #ffffff;
  --glow-c: #3a6bff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: Oswald, Impact, sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem;
  color: #fff;
  padding: 16px 28px;
  border-radius: 999px;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.btn > span {
  position: relative; z-index: 2;
}
/* inner fill */
.btn::before {
  content: ""; position: absolute; inset: 2px; z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, #e8334a, #b51b30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -8px 18px rgba(0,0,0,.18);
}
/* rotating glowing ring */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), var(--glow-a), var(--glow-b), var(--glow-c), var(--glow-a));
  filter: blur(0);
  animation: spin 3.5s linear infinite;
}
.btn-glow {
  box-shadow: 0 0 18px rgba(255,64,88,.55), 0 0 42px rgba(58,107,255,.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-glow:hover, .btn-glow:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(255,64,88,.8), 0 0 64px rgba(58,107,255,.55);
  outline: none;
}
.btn-glow:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-sm { font-size: .95rem; padding: 10px 18px; }
.btn-block { width: 100%; margin-top: 8px; }

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }

/* Footer */
.footer {
  text-align: center;
  padding: 36px 16px max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(6,14,34,.6);
}
.social { display: flex; justify-content: center; gap: 14px; margin-bottom: 18px; }
.social a {
  width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.social a:hover, .social a:focus-visible {
  background: var(--red); transform: translateY(-2px); outline: none;
  box-shadow: 0 0 22px rgba(255,64,88,.6);
}
.social svg { width: 22px; height: 22px; fill: #fff; }
.footer p { margin: 6px 0; font-size: .9rem; color: #c9d3ee; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.disclaimer {
  display: inline-block;
  margin-top: 14px !important;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 10px;
  font-size: .72rem !important; letter-spacing: .08em; text-transform: uppercase; color: #fff !important;
}
.legal { font-size: .8rem !important; }

/* Mobile */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { position: static; order: 2; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-copy { display: contents; }
  .eyebrow, h1 { order: 0; text-align: center; }
  .eyebrow { margin-bottom: -18px; }
  .tagline, .tagline-big { order: 3; text-align: center; }
  .tagline { margin-top: 0; }
  .tagline-big { margin: -18px 0 0; }
  .signup { order: 4; }
}
@media (max-width: 480px) {
  .row { grid-template-columns: 1fr; gap: 0; }
  .brand { font-size: 1.1rem; }
  .btn-sm { font-size: .85rem; padding: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn::after { animation: none; }
}

/* Legal pages */
.legal-page { max-width: 820px; margin: 0 auto; padding: 32px 16px 56px; }
.legal-page .card { border-top-color: var(--blue); font-size: .95rem; line-height: 1.65; }
.legal-page h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 20px; }
