:root {
  --blue-950: #172554;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --sky: #38bdf8;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --max: 1140px;
  --radius: 16px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow-soft: 0 18px 50px rgba(30, 58, 138, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--slate-900);
  background: #f7f9fc;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-800);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

/* Full lockup already includes the ParentReach wordmark — do not add text beside it */
.brand img {
  height: 52px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.nav a:not(.btn) {
  color: var(--slate-600);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:not(.btn):hover {
  color: var(--blue-800);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--slate-200);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--slate-700);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.btn-primary,
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
a.btn-primary:focus {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(30, 64, 175, 0.28);
}

.btn-primary:hover,
a.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(30, 64, 175, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue-900);
  border-color: rgba(30, 64, 175, 0.28);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--blue-950);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-800);
  border-color: transparent;
  padding-inline: 0.55rem;
  box-shadow: none;
}

.btn-ghost:hover {
  transform: none;
  background: var(--blue-50);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 85% 20%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(ellipse 45% 55% at 10% 80%, rgba(37, 99, 235, 0.16), transparent 55%),
    linear-gradient(155deg, #dbeafe 0%, #f8fbff 38%, #eef4ff 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
  animation: meshDrift 18s linear infinite;
}

.hero__glow {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  right: -12%;
  top: -18%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__logo {
  height: 64px;
  width: auto;
  max-width: min(280px, 78vw);
  object-fit: contain;
  animation: logoFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 22px rgba(30, 64, 175, 0.16));
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-800);
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(30, 64, 175, 0.14);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.4vw, 3.65rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: var(--blue-800);
  font-style: italic;
  font-weight: 600;
}

.hero__lead {
  font-family: var(--font);
  font-size: clamp(1.08rem, 2.1vw, 1.28rem);
  line-height: 1.7;
  color: var(--slate-600);
  max-width: 34rem;
  font-weight: 500;
}

.hero__note {
  margin-top: 1.05rem;
  font-size: 0.9rem;
  color: var(--slate-500);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, #1e40af, #0ea5e9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  overflow: hidden;
  animation: fadeRise 0.9s var(--ease) both;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.35), transparent 45%);
  pointer-events: none;
}

.phone-stage__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}

.phone-stage__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone-stage h3 {
  font-family: var(--display);
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 0.6rem;
}

.phone-stage p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.phone-stage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.phone-stage__chips span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 600;
}

.float-card {
  position: absolute;
  z-index: 2;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-800);
  animation: floatSoft 5.5s ease-in-out infinite;
}

.float-card--a {
  top: 8%;
  left: -4%;
}

.float-card--b {
  bottom: 12%;
  right: -2%;
  animation-delay: -2s;
}

.float-card small {
  display: block;
  margin-top: 0.15rem;
  font-weight: 500;
  color: var(--slate-500);
  font-size: 0.72rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(219, 234, 254, 0.7), transparent 55%),
    #edf2f9;
}

.section--blue {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(56, 189, 248, 0.22), transparent 50%),
    linear-gradient(135deg, #1e40af 0%, #1e3a8a 55%, #172554 100%);
  color: var(--white);
  overflow: hidden;
}

.section--blue h2,
.section--blue p {
  color: var(--white);
}

.section--blue p {
  opacity: 0.92;
}

.section--payments {
  background:
    linear-gradient(90deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.9)),
    #ffffff;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.7rem;
}

.section--blue .section__eyebrow {
  color: #bfdbfe;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  color: var(--slate-900);
  line-height: 1.2;
}

.section__intro {
  color: var(--slate-600);
  max-width: 40rem;
  margin-bottom: 2rem;
  font-size: 1.02rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1e40af, #0f3b8c);
  color: white;
  box-shadow: var(--shadow-soft);
}

.about-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.about-stat span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.88;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(30, 64, 175, 0.1);
}

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: linear-gradient(145deg, #dbeafe, #eff6ff);
  color: var(--blue-800);
}

.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

.card p,
.card li {
  color: var(--slate-600);
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.steps li:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.08);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--slate-900);
}

.steps p {
  color: var(--slate-600);
  font-size: 0.93rem;
}

.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-grid .dot {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-600), var(--sky));
}

.payments-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.payments-aside {
  border-radius: var(--radius);
  padding: 1.6rem;
  background: linear-gradient(145deg, #0f172a, #1e3a8a);
  color: white;
  box-shadow: var(--shadow-soft);
}

.payments-aside h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.payments-aside p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.panel p + p {
  margin-top: 0.75rem;
}

.panel--pricing {
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.85), rgba(255, 255, 255, 0.95));
  border-color: #bfdbfe;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.contact-block h3 {
  margin-bottom: 0.65rem;
  font-size: 1.08rem;
}

.contact-block p,
.contact-block li {
  color: var(--slate-600);
  font-size: 0.95rem;
}

.contact-block ul {
  list-style: none;
}

.contact-block li + li {
  margin-top: 0.4rem;
}

/* Policy / legal pages */
.page-hero {
  padding: 3.25rem 0 2.25rem;
  background:
    radial-gradient(ellipse 50% 80% at 90% 0%, rgba(56, 189, 248, 0.16), transparent 50%),
    linear-gradient(165deg, #dbeafe, #ffffff);
  border-bottom: 1px solid var(--slate-200);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.page-hero p {
  color: var(--slate-600);
  font-size: 0.95rem;
}

.prose {
  padding: 2.5rem 0 4rem;
  max-width: 52rem;
}

.prose h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.55rem;
  color: var(--slate-900);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--slate-700);
  margin-bottom: 0.7rem;
}

.prose ul {
  margin: 0.4rem 0 1rem 1.25rem;
}

.prose ul li {
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(37, 99, 235, 0.25), transparent 50%),
    #020617;
  color: #cbd5e1;
  padding: 3rem 0 2rem;
}

.site-footer a {
  color: #e2e8f0;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.35rem;
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-copy strong {
  color: #e2e8f0;
  font-weight: 600;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes meshDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 42px 42px, 42px 42px;
  }
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero__layout,
  .about-split,
  .payments-band,
  .steps,
  .feature-grid,
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 3rem;
  }

  .hero__visual {
    min-height: 300px;
    order: -1;
  }

  .phone-stage {
    width: min(100%, 300px);
  }

  .float-card--a {
    left: 0;
  }

  .float-card--b {
    right: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.35rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.65rem 0.4rem;
  }

  .nav .btn {
    width: 100%;
    margin-top: 0.35rem;
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    position: relative;
  }
}
