:root {
  --ink: #08213f;
  --muted: #667085;
  --paper: #fffdf5;
  --panel: #ffffff;
  --line: #e9e2d1;
  --green: #22c55e;
  --blue: #2f74f3;
  --violet: #7c5cff;
  --yellow: #ffd447;
  --soft-green: #ecfff3;
  --soft-blue: #eef6ff;
  --soft-violet: #f2efff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 212, 71, 0.25), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(47, 116, 243, 0.14), transparent 34%),
    var(--paper);
  color: var(--ink);
  font-family: Nunito, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 32px), var(--max));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(8, 33, 63, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 60px rgba(8, 33, 63, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  color: var(--ink);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  flex-wrap: wrap;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 12px;
  color: #44536a;
  font-size: 13px;
  font-weight: 900;
}

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

.hero,
.download-strip,
.feature-section,
.screens-section,
.parents-section,
.seo-section,
.closing-cta,
.site-footer,
.page-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  gap: 54px;
  align-items: center;
  min-height: 74svh;
  padding: 62px 0 92px;
}

.eyebrow {
  color: #15934a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 14px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 7vw, 92px);
}

h2 {
  font-size: clamp(36px, 4.8vw, 62px);
}

.hero-copy > p:not(.eyebrow),
.parents-section p,
.seo-section p,
.closing-cta p:not(.eyebrow),
.page-shell p {
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 22px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 18px 42px rgba(34, 197, 94, 0.25);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hero-media {
  position: relative;
  min-height: 720px;
}

.phone {
  position: absolute;
  width: min(54%, 350px);
  border: 1px solid rgba(8, 33, 63, 0.08);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(8, 33, 63, 0.18);
}

.phone-main {
  z-index: 2;
  left: 2%;
  top: 0;
  transform: rotate(-3deg);
}

.phone-side {
  right: 4%;
  top: 118px;
  transform: rotate(4deg);
}

.download-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: -20px;
  padding: 22px;
  border: 1px solid rgba(8, 33, 63, 0.08);
  border-radius: 8px;
  background: white;
  box-shadow: 0 22px 60px rgba(8, 33, 63, 0.1);
}

.download-strip strong {
  max-width: 720px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.05;
}

.feature-section,
.screens-section,
.parents-section {
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

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

.feature-grid article {
  min-height: 238px;
  border: 1px solid rgba(8, 33, 63, 0.08);
  border-radius: 8px;
  padding: 26px;
  background: white;
  box-shadow: 0 18px 50px rgba(8, 33, 63, 0.08);
}

.feature-grid span {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--soft-green);
  color: #15934a;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3 {
  margin-top: 44px;
  font-size: 24px;
  line-height: 1.05;
}

.feature-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.screens-section {
  border-top: 1px solid var(--line);
}

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

.screen-grid img {
  border: 1px solid rgba(8, 33, 63, 0.08);
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 22px 70px rgba(8, 33, 63, 0.12);
}

.screen-grid img:nth-child(2),
.screen-grid img:nth-child(5) {
  margin-top: 44px;
}

.screen-grid img:nth-child(3),
.screen-grid img:nth-child(6) {
  margin-top: 88px;
}

.parents-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 46px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

.use-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: white;
  color: #44536a;
  font-weight: 900;
}

.seo-section {
  padding: 42px;
  border: 1px solid #d5efd9;
  border-radius: 8px;
  background: linear-gradient(135deg, #f1fff6, #f4f0ff);
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 82px;
  margin-bottom: 70px;
  padding: 48px;
  border-radius: 8px;
  background: #071c36;
  color: white;
}

.closing-cta .eyebrow {
  color: var(--yellow);
}

.closing-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  max-width: 560px;
  margin-top: 6px;
}

.site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 900;
}

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

.page-shell {
  padding: 86px 0 72px;
}

.page-shell h1 {
  font-size: clamp(44px, 6vw, 78px);
}

.page-shell h2 {
  margin-top: 38px;
  font-size: clamp(26px, 3.5vw, 38px);
}

.page-shell ul {
  max-width: 900px;
  color: var(--muted);
  font-size: 18px;
}

.page-shell a {
  color: var(--blue);
  font-weight: 900;
}

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

  .hero {
    gap: 30px;
    min-height: auto;
    padding-top: 54px;
  }

  .hero-media {
    min-height: 650px;
  }

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

  .download-strip,
  .closing-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    width: min(calc(100% - 20px), var(--max));
    flex-direction: column;
    align-items: flex-start;
    border-radius: 22px;
  }

  .brand small {
    display: none;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .nav-links a[href="#parents"] {
    display: none;
  }

  .hero,
  .download-strip,
  .feature-section,
  .screens-section,
  .parents-section,
  .seo-section,
  .closing-cta,
  .site-footer,
  .page-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  h1 {
    max-width: 360px;
    font-size: clamp(44px, 12vw, 60px);
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 360px;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 500px;
  }

  .phone {
    width: min(62%, 280px);
    border-radius: 24px;
  }

  .phone-main {
    left: 0;
  }

  .phone-side {
    right: 0;
    top: 86px;
  }

  .feature-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 218px;
  }

  .screen-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .screen-grid img {
    width: 74%;
    min-width: 245px;
  }

  .screen-grid img:nth-child(2),
  .screen-grid img:nth-child(3),
  .screen-grid img:nth-child(5),
  .screen-grid img:nth-child(6) {
    margin-top: 0;
  }

  .seo-section,
  .closing-cta {
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
