:root {
  --bg: #02050a;
  --bg-deep: #050812;
  --panel: rgba(10, 16, 24, 0.72);
  --panel-strong: rgba(12, 19, 29, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(70, 255, 136, 0.32);
  --text: #f7fbff;
  --text-soft: #c7d0dc;
  --text-muted: #8c98a8;
  --green: #24f06b;
  --green-soft: #9effbc;
  --red: #ff1c2d;
  --red-dark: #a50d1d;
  --red-soft: rgba(255, 28, 45, 0.28);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 28, 45, 0.24), transparent 32rem),
    radial-gradient(circle at 16% 8%, rgba(36, 240, 107, 0.1), transparent 24rem),
    linear-gradient(145deg, #02050a 0%, #060914 48%, #080306 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

ul {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(7, 12, 20, 0.9), rgba(3, 6, 12, 0.74));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.header-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr minmax(140px, 260px);
  align-items: center;
  gap: 28px;
}

.brand-link,
.footer-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 238px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  flex: 1 1 auto;
}

.site-nav a,
.footer-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--green);
  text-shadow: 0 0 18px rgba(36, 240, 107, 0.4);
}

.header-cta,
.email-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ff2a36, #c60e20);
  box-shadow: 0 0 22px rgba(255, 28, 45, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta {
  justify-self: end;
  padding: 0 18px;
}

.header-cta-neutral {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.22);
  color: var(--text-soft);
}

.header-cta:hover,
.email-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 28, 45, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.header-cta-neutral:hover {
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 38px rgba(0, 0, 0, 0.28);
}

.email-pill:hover {
  border-color: rgba(95, 255, 152, 0.78);
  box-shadow: 0 0 22px rgba(36, 240, 107, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-section {
  position: relative;
  width: min(calc(100% - 32px), calc(var(--max) + 128px));
  margin: 0 auto;
  padding: 34px 0 12px;
  scroll-margin-top: 100px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 4% 3% 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 28, 45, 0.28), transparent 28rem),
    radial-gradient(circle at 34% 64%, rgba(255, 28, 45, 0.14), transparent 36rem);
  filter: blur(24px);
}

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius-lg);
  background: #03060c;
  box-shadow: var(--shadow), 0 0 86px rgba(255, 28, 45, 0.14);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 38px rgba(255, 28, 45, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-store-link {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: var(--radius);
}

.hero-app-store-link {
  left: 5.9%;
  top: 80.6%;
  width: 17.2%;
  height: 9.2%;
}

.hero-google-play-link {
  left: 24.6%;
  top: 80.6%;
  width: 15.6%;
  height: 9.2%;
}

.hero-store-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.kids-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 213, 80, 0.2), transparent 22rem),
    radial-gradient(circle at 84% 18%, rgba(83, 192, 255, 0.24), transparent 32rem),
    radial-gradient(circle at 50% 86%, rgba(36, 240, 107, 0.16), transparent 30rem),
    linear-gradient(145deg, #041528 0%, #081c3d 46%, #06150e 100%);
}

.kids-page .site-header {
  background:
    linear-gradient(180deg, rgba(4, 35, 74, 0.88), rgba(3, 16, 35, 0.72));
}

.kids-page .header-cta {
  background: linear-gradient(180deg, #21d95f, #079a3f);
  box-shadow: 0 0 22px rgba(36, 240, 107, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.kids-page .header-cta:hover {
  box-shadow: 0 0 30px rgba(36, 240, 107, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.kids-brand-logo {
  width: 260px;
  height: 48px;
}

.kids-footer-logo {
  width: 220px;
  height: 40px;
}

.kids-hero-section::before {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 214, 75, 0.34), transparent 24rem),
    radial-gradient(circle at 78% 42%, rgba(83, 192, 255, 0.28), transparent 30rem),
    radial-gradient(circle at 42% 82%, rgba(36, 240, 107, 0.2), transparent 36rem);
}

.kids-hero-frame {
  background: #74d9ff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow), 0 0 88px rgba(83, 192, 255, 0.2), 0 0 44px rgba(36, 240, 107, 0.14);
}

.kids-hero-frame::before {
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.kids-cards-section::before {
  background: radial-gradient(circle, rgba(255, 213, 80, 0.18), transparent 68%);
}

.kids-card {
  background: linear-gradient(150deg, rgba(9, 29, 54, 0.9), rgba(5, 19, 20, 0.72));
}

.kids-card::before {
  background: radial-gradient(circle, rgba(255, 213, 80, 0.2), transparent 70%);
}

.kids-card:hover {
  border-color: rgba(255, 213, 80, 0.36);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), 0 0 34px rgba(83, 192, 255, 0.14);
}

.kids-card-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 213, 80, 0.24);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 213, 80, 0.18), rgba(36, 240, 107, 0.07) 52%, rgba(4, 14, 24, 0.18));
  box-shadow: 0 0 24px rgba(255, 213, 80, 0.18), 0 0 52px rgba(36, 240, 107, 0.12);
  color: #06110a;
}

.kids-card-icon img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.28));
}

.kids-card .feature-list li::before {
  background: #ffd550;
  box-shadow: 0 0 12px rgba(255, 213, 80, 0.62);
}

.kids-email-pill {
  border-color: rgba(255, 213, 80, 0.58);
}

.kids-footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 213, 80, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(6, 29, 56, 0.88), rgba(1, 8, 17, 0.96));
}

.cards-section {
  position: relative;
  width: min(100%, calc(var(--max) + 80px));
  margin: 0 auto;
  padding: 8px 22px 54px;
}

.cards-section::before {
  content: "";
  position: absolute;
  inset: -90px 0 auto 42%;
  width: 44vw;
  height: 250px;
  max-width: 620px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 28, 45, 0.15), transparent 68%);
  filter: blur(14px);
}

.cards-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.glass-card,
.legal-card,
.legal-hero {
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(14, 22, 34, 0.88), rgba(6, 10, 17, 0.68));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-card {
  position: relative;
  min-height: 268px;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  scroll-margin-top: 110px;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 92px;
  height: 92px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(36, 240, 107, 0.18), transparent 70%);
  filter: blur(10px);
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  border-color: rgba(70, 255, 136, 0.24);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), 0 0 34px rgba(36, 240, 107, 0.08);
}

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(36, 240, 107, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 24px rgba(36, 240, 107, 0.22), 0 0 48px rgba(36, 240, 107, 0.1);
  object-fit: cover;
}

.glass-card h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.glass-card p,
.legal-card p,
.legal-card li,
.legal-intro {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.glass-card p {
  margin: 0;
}

#contact p {
  max-width: 23ch;
}

.email-pill {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding: 13px 22px;
  background: linear-gradient(180deg, rgba(8, 14, 22, 0.96), rgba(4, 8, 14, 0.92));
  border-color: rgba(36, 240, 107, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(36, 240, 107, 0.13);
  color: #ffffff;
  font-size: clamp(0.78rem, 1.35vw, 0.9rem);
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.feature-list {
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 0 0 9px;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 0.91rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(36, 240, 107, 0.62);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.095);
  background:
    radial-gradient(circle at 18% 0%, rgba(36, 240, 107, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(9, 15, 24, 0.86), rgba(1, 3, 7, 0.94));
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 38px 28px;
  display: grid;
  grid-template-columns: auto minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 26px;
}

.footer-logo {
  width: 146px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.footer-tagline,
.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header .header-inner {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.legal-shell {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 34px 22px 54px;
  flex: 1;
}

.legal-hero {
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 42px);
  border-color: rgba(36, 240, 107, 0.2);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.05;
}

.effective-date {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.effective-date time {
  color: var(--green);
}

.legal-intro {
  max-width: 68ch;
  margin: 0;
}

.legal-card {
  margin-bottom: 14px;
  padding: clamp(20px, 4vw, 30px);
}

.legal-card h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: clamp(1.12rem, 4vw, 1.35rem);
  line-height: 1.25;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  padding-left: 22px;
  color: var(--text-soft);
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card li::marker {
  color: var(--green);
}

.legal-card a {
  color: var(--green-soft);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.legal-footer .footer-inner {
  grid-template-columns: minmax(180px, 1fr) auto;
}

@media (max-width: 960px) {
  .hero-section {
    width: min(calc(100% - 24px), calc(var(--max) + 128px));
    padding-top: 24px;
    padding-bottom: 10px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand-logo {
    width: 128px;
    height: 35px;
  }

  .kids-brand-logo {
    width: 190px;
    height: 38px;
  }

  .kids-footer-logo {
    width: 190px;
    height: 36px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero-section {
    width: calc(100% - 16px);
    padding: 16px 0 10px;
  }

  .hero-frame {
    border-radius: var(--radius);
  }

  .cards-section {
    padding: 8px 12px 38px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-card {
    min-height: 220px;
    padding: 24px;
  }

  .email-pill {
    min-height: 58px;
    margin-top: 22px;
    padding: 16px 20px;
  }

  .footer-inner,
  .legal-footer .footer-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 16px;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-links a {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
  }

  .legal-shell {
    padding: 22px 12px 36px;
  }

  .legal-hero,
  .legal-card {
    border-radius: var(--radius);
  }
}

@media (max-width: 420px) {
  .header-inner {
    align-items: center;
  }

  .brand-logo {
    width: 118px;
  }

  .kids-brand-logo {
    width: 166px;
  }

  .header-cta {
    max-width: calc(100vw - 180px);
    padding: 0 10px;
  }

  .hero-section {
    width: calc(100% - 10px);
    padding-top: 12px;
  }

  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links a {
    width: 100%;
  }
}
