:root {
  color-scheme: light;
  --ink: #18202b;
  --muted: #5d6876;
  --line: #d9dee7;
  --paper: #fffdf8;
  --surface: #ffffff;
  --teal: #047c84;
  --teal-dark: #035963;
  --coral: #ff6f61;
  --gold: #f2b84b;
  --navy: #192a45;
  --shadow: 0 18px 50px rgba(23, 35, 52, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

section[id] {
  scroll-margin-top: 82px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(22, 32, 45, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 58px;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.82) 0%, rgba(8, 17, 31, 0.58) 43%, rgba(8, 17, 31, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 17, 31, 0.64) 0%, rgba(8, 17, 31, 0) 42%);
}

.hero-content {
  width: min(720px, 100%);
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(4rem, 11vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: var(--coral);
  color: #211514;
  box-shadow: 0 14px 28px rgba(255, 111, 97, 0.25);
}

.button-primary:hover {
  background: #ff8378;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.intro,
.feature-band,
.split-section,
.parents-section,
.interest,
.faq-section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(280px, 1fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
  background: var(--paper);
}

.intro p:last-child,
.split-copy p,
.interest-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.feature-band {
  background: #eef8f7;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.64fr) minmax(280px, 1fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: end;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 246px;
  padding: 24px;
  border: 1px solid rgba(4, 124, 132, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(3, 89, 99, 0.08);
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  background: var(--surface);
}

.parents-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(238, 248, 247, 0.88), rgba(255, 245, 240, 0.92)),
    var(--surface);
}

.split-copy h2 {
  margin-bottom: 24px;
}

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

.parent-dashboard {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(4, 124, 132, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(24, 32, 43, 0.12);
}

.parent-dashboard-header,
.parent-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.parent-dashboard-header p,
.parent-summary strong {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.parent-dashboard-header span {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.child-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.child-tabs span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef8f7;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.child-tabs span:last-child {
  border-color: rgba(255, 111, 97, 0.34);
  background: #fff3ef;
  color: #8f342b;
}

.parent-timeline {
  display: grid;
  gap: 10px;
}

.parent-task {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 16px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.parent-task::before {
  position: absolute;
  inset: 16px auto 16px 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--teal);
  content: "";
}

.parent-task-featured {
  border-color: rgba(255, 111, 97, 0.4);
  background: #fff8f5;
}

.parent-task-featured::before {
  background: var(--coral);
}

.parent-task span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.parent-task h3 {
  font-size: 1.02rem;
}

.parent-task p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.parent-summary {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
}

.parent-summary strong {
  color: #ffffff;
  white-space: nowrap;
}

.parent-summary span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: right;
}

.check-list p {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.check-list p::before {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #231800;
  content: "✓";
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  font-size: 0.82rem;
  font-weight: 900;
}

.interest {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 0.92fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  background: var(--navy);
  color: #ffffff;
}

.interest h2 {
  margin-bottom: 24px;
}

.interest-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.interest-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 30px);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.interest-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfcfd;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(4, 124, 132, 0.16);
}

.interest-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.faq-section {
  background: var(--paper);
}

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

.faq-grid article {
  min-height: 222px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: #101a2b;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.invite-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 18%, rgba(4, 124, 132, 0.18), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(255, 111, 97, 0.14), transparent 30%),
    var(--paper);
}

.invite-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.invite-card {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.invite-logo {
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
}

.invite-card h1 {
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 0.95;
}

.invite-copy {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.58;
}

.invite-token-panel {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.invite-token-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.invite-token-panel code {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f8fb;
  color: var(--ink);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.invite-copy-status {
  min-height: 1.4em;
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .intro,
  .section-heading,
  .split-section,
  .parents-section,
  .interest {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 17, 31, 0.84) 0%, rgba(8, 17, 31, 0.56) 100%),
      linear-gradient(0deg, rgba(8, 17, 31, 0.7) 0%, rgba(8, 17, 31, 0.1) 45%);
  }

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

  .feature-card {
    min-height: auto;
  }

  .parent-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .parent-summary span {
    text-align: left;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
