:root {
  --ink: #182f4b;
  --dark: #1c415e;
  --dark-2: #234f70;
  --blue: #39a1d5;
  --blue-dark: #266b94;
  --orange: #f69325;
  --orange-light: #f9ad56;
  --background: #f2f9f8;
  --muted: #718a99;
  --soft-muted: #b1c2bf;
  --white: #ffffff;
  --line: rgba(24, 47, 75, 0.12);
  --shadow: 0 24px 80px rgba(24, 47, 75, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.no-scroll {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(246, 147, 37, 0.75);
  outline-offset: 4px;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 249, 248, 0.9);
  border-bottom: 1px solid rgba(24, 47, 75, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap.is-scrolled {
  box-shadow: 0 10px 34px rgba(24, 47, 75, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  box-shadow: 0 14px 30px rgba(246, 147, 37, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  padding: 82px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dark-section .eyebrow,
.page-hero .eyebrow {
  color: #d5e4e7;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

h3 {
  font-size: 1.22rem;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.phone-stage {
  position: relative;
  min-height: 570px;
}

.phone {
  width: min(340px, 92vw);
  min-height: 610px;
  margin-left: auto;
  padding: 16px;
  border-radius: 42px;
  background: var(--ink);
  box-shadow: var(--shadow);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: #0d2136;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  min-height: 578px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c415e 0%, #182f4b 100%);
  position: relative;
  color: var(--white);
}

.app-preview-top {
  padding: 54px 22px 22px;
}

.mini-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.video-card {
  margin: 16px 22px;
  min-height: 270px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 36% 30%, rgba(57, 161, 213, 0.7), transparent 28%),
    radial-gradient(circle at 66% 70%, rgba(246, 147, 37, 0.55), transparent 26%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.match-rings {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.34);
  position: relative;
}

.match-rings::before,
.match-rings::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: inherit;
  border: 2px solid rgba(249, 173, 86, 0.78);
}

.match-rings::after {
  inset: 48px;
  background: var(--orange);
  border: 0;
}

.preview-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(12, 31, 48, 0.86);
}

.preview-nav span {
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.preview-nav span:first-child {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 14px 44px rgba(24, 47, 75, 0.08);
}

.card p {
  color: var(--muted);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-weight: 900;
}

.step-card {
  position: relative;
}

.step-number {
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dark-section {
  background: linear-gradient(135deg, var(--ink), var(--dark));
  color: var(--white);
}

.dark-section .section-head p,
.dark-section .card p {
  color: #afc0c8;
}

.dark-section .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.pulse-stage {
  min-height: 280px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 147, 37, 0.22) 0 10%, transparent 11%),
    radial-gradient(circle at 50% 50%, transparent 0 24%, rgba(57, 161, 213, 0.24) 25% 26%, transparent 27%),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(246, 147, 37, 0.28) 43% 44%, transparent 45%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}

.pulse-stage strong {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
}

details.faq summary {
  cursor: pointer;
  font-weight: 900;
}

details.faq p {
  color: var(--muted);
}

.footer {
  padding: 56px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 28px;
}

.footer a {
  display: block;
  color: #afc0c8;
  margin-top: 10px;
}

.footer p {
  color: #afc0c8;
}

.page-hero {
  padding: 76px 0 42px;
  background: linear-gradient(135deg, var(--ink), var(--dark-2));
  color: var(--white);
}

.page-hero p {
  color: #d5e4e7;
  max-width: 760px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  padding: 52px 0 82px;
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.toc a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 750;
}

.document {
  display: grid;
  gap: 18px;
}

.doc-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
}

.doc-section p,
.doc-section li {
  color: #435c6f;
}

.doc-section ul {
  padding-left: 22px;
}

.child-safety-document a {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.safety-callout {
  border-color: rgba(246, 147, 37, 0.32);
  background:
    linear-gradient(135deg, rgba(249, 173, 86, 0.16), rgba(57, 161, 213, 0.08)),
    var(--white);
}

.warning-card {
  border-color: rgba(246, 147, 37, 0.42);
}

.contact-highlight {
  background: linear-gradient(135deg, var(--ink), var(--dark-2));
  color: var(--white);
}

.contact-highlight p {
  color: #d5e4e7;
}

.contact-highlight a,
.contact-highlight .contact-email a {
  color: var(--white);
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(246, 147, 37, 0.16);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-highlight .policy-badge {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.contact-email {
  overflow-wrap: anywhere;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 950;
}

.policy-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.policy-link-grid a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--background);
  text-decoration: none;
}

.contact-card {
  max-width: 680px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stacked-card {
  margin-top: 18px;
}

.muted-note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .phone {
    margin: 0 auto;
  }

  .grid-3,
  .grid-4,
  .footer-grid,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-links,
  .nav .btn-primary {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    font-weight: 900;
  }

  .mobile-panel {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .hero {
    padding-top: 48px;
  }

  .phone-stage {
    min-height: auto;
  }

  .phone {
    min-height: 560px;
  }

  .phone-screen {
    min-height: 528px;
  }

  .grid-3,
  .grid-4,
  .footer-grid,
  .download-grid,
  .policy-link-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}
