:root {
  --preview-blue: #075fe8;
  --preview-blue-deep: #0642a7;
  --preview-text: #081b3d;
  --preview-green: #237f24;
}

body {
  background:
    radial-gradient(circle at 16% 3%, rgba(221, 238, 255, 0.72), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(226, 245, 218, 0.48), transparent 25rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, var(--bg) 100%);
}

.landing-shell {
  width: min(1460px, calc(100% - 4rem));
  padding-top: 1.25rem;
  padding-bottom: 0;
}

.site-header {
  top: 1rem;
  margin-bottom: 1.8rem;
  padding: 0.75rem 0.95rem 0.75rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 58px rgba(16, 43, 82, 0.1);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0.34rem;
  z-index: -1;
  border: 1px solid rgba(154, 177, 211, 0.38);
  border-radius: inherit;
}

.brand-logo {
  width: min(245px, 30vw);
  height: 68px;
  max-height: 68px;
}

.site-nav {
  gap: 1.65rem;
}

.header-cta,
.primary-link {
  background: linear-gradient(135deg, var(--preview-blue) 0%, var(--preview-blue-deep) 100%);
  box-shadow: 0 16px 36px rgba(6, 76, 184, 0.26);
}

.secondary-link {
  border-color: rgba(6, 76, 184, 0.42);
  background: rgba(255, 255, 255, 0.74);
  color: var(--preview-blue-deep);
}

.hero-section {
  position: relative;
  grid-template-columns: minmax(0, 1.62fr) minmax(340px, 0.7fr);
  gap: 1.5rem;
  padding: 0 1rem 1.65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.55rem 0;
  z-index: -2;
  border-radius: 42px;
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.96), transparent 18rem),
    linear-gradient(90deg, rgba(244, 249, 255, 0.9), rgba(255, 255, 255, 0.74) 48%, rgba(250, 253, 255, 0.92));
}

.hero-copy {
  grid-template-columns: minmax(420px, 0.93fr) minmax(390px, 1fr);
  gap: 1.15rem;
}

.hero-message {
  align-self: center;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-message .eyebrow {
  display: inline-flex;
  padding: 0.33rem 0.72rem;
  border-radius: 999px;
  background: rgba(6, 96, 220, 0.08);
  color: var(--preview-blue);
}

h1 {
  font-size: clamp(3.25rem, 4.7vw, 5.1rem);
  letter-spacing: -0.045em;
}

.hero-title span {
  white-space: normal;
}

.hero-title span:last-child {
  color: var(--preview-green);
}

.hero-lead {
  max-width: 54ch;
}

.hero-visual-column {
  align-self: end;
  position: relative;
  z-index: 1;
}

.hero-image-card {
  min-height: 520px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: auto 2rem -1.05rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(19, 42, 75, 0.16);
  filter: blur(22px);
}

.hero-image-card::after {
  inset: -1px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.22) 14%, transparent 32%, rgba(255, 255, 255, 0.08) 72%, #fff 100%),
    linear-gradient(0deg, #fff 0%, transparent 16%, transparent 84%, rgba(255, 255, 255, 0.66) 100%);
}

.hero-image-card img {
  min-height: 520px;
  border-radius: 32px;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
  -webkit-mask-image:
    radial-gradient(ellipse 74% 72% at 52% 48%, #000 65%, rgba(0, 0, 0, 0.72) 78%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 74% 72% at 52% 48%, #000 65%, rgba(0, 0, 0, 0.72) 78%, transparent 100%);
}

.hero-trust-list {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-trust-list li {
  padding-right: 0.62rem;
  font-size: 0.7rem;
}

.hero-aside {
  align-items: center;
}

.problem-panel {
  min-height: auto;
  padding: 1.1rem 0 1.1rem 0.65rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-actions {
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.problem-panel .panel-label {
  display: inline-flex;
  color: var(--preview-text);
}

.problem-panel .panel-label::before {
  content: none;
}

.problem-panel li::marker {
  color: #d13a34;
}

.audience-solution-grid {
  margin-top: 1.7rem;
}

.section-block,
.final-cta-section {
  margin-top: 4.5rem;
}

#features,
.story-section,
.faq-section,
.joy-section,
.pricing-section,
.subscribe-section {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#features::before,
.story-section::before,
.faq-section::before,
.joy-section::before,
.pricing-section::before,
.subscribe-section::before {
  content: "";
  position: absolute;
  inset: -1.65rem -1.1rem -1.45rem;
  z-index: -1;
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 10%, rgba(111, 175, 58, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(246, 250, 255, 0.3));
}

.section-heading {
  max-width: 900px;
  padding: 0;
  margin-bottom: 1.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-section .section-heading,
.subscribe-section .section-heading {
  max-width: none;
}

.subscribe-layout {
  gap: 0;
  border: 1px solid rgba(182, 200, 226, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 12% 0%, rgba(62, 123, 250, 0.055), transparent 22rem);
  box-shadow: 0 30px 82px rgba(14, 35, 68, 0.065);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.joy-photo-row {
  gap: 0.55rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.feature-grid,
.story-grid,
.pricing-grid,
.faq-grid {
  gap: 1.05rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.feature-card,
.story-step,
.checkout-card,
.summary-card,
.joy-photo-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card {
  padding: 4.1rem 1.2rem 1.4rem;
  border: 1px solid rgba(202, 214, 232, 0.5);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.58) 100%),
    radial-gradient(circle at top left, rgba(62, 123, 250, 0.1), transparent 32%);
  box-shadow: 0 12px 26px rgba(16, 32, 59, 0.055);
}

.joy-title-bar {
  margin-bottom: 1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  text-align: left;
}

.joy-photo-row {
  padding: 0;
}

.joy-photo-card + .joy-photo-card {
  border-left: 0;
}

.joy-photo-card {
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(22, 35, 59, 0.11);
}

.joy-photo-card img {
  height: 270px;
}

.joy-photo-card figcaption {
  background: rgba(255, 255, 255, 0.58);
}

.pricing-card {
  border: 1px solid rgba(185, 202, 225, 0.98);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%),
    radial-gradient(circle at top right, rgba(62, 123, 250, 0.1), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 44px rgba(22, 35, 59, 0.14);
}

.pricing-card::before {
  opacity: 0.68;
}

.featured-plan {
  transform: translateY(-4px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%),
    radial-gradient(circle at top right, rgba(111, 175, 58, 0.16), transparent 40%);
  border-color: rgba(151, 181, 219, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 30px 62px rgba(22, 35, 59, 0.2);
}

.checkout-card {
  border-right: 1px solid rgba(182, 200, 226, 0.16);
}

.radio-stack label,
.legal-signup-block,
.checkout-card input[type="text"],
.checkout-card input[type="email"],
.checkout-card input[type="tel"],
.checkout-message {
  border-color: rgba(182, 200, 226, 0.42);
  background: rgba(255, 255, 255, 0.68);
}

.summary-photo-card {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(14, 35, 68, 0.1);
}

.story-section .story-step {
  border: 1px solid rgba(202, 214, 232, 0.5);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.58) 100%),
    radial-gradient(circle at top left, rgba(111, 175, 58, 0.1), transparent 34%);
  box-shadow: 0 12px 26px rgba(16, 32, 59, 0.055);
}

.faq-card {
  border: 1px solid rgba(202, 214, 232, 0.5);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 12px 24px rgba(16, 32, 59, 0.055);
}

.final-cta-card {
  overflow: hidden;
  grid-template-columns: minmax(330px, 0.68fr) minmax(620px, 1.32fr);
  min-height: 470px;
  padding: 2.25rem 2rem 2rem;
  border: 0;
  border-radius: 36px 36px 0 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.78), transparent 20rem),
    linear-gradient(135deg, rgba(241, 248, 255, 0.92), rgba(235, 246, 232, 0.76));
  box-shadow: 0 24px 64px rgba(14, 35, 68, 0.1);
}

.final-cta-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.final-cta-card h2 {
  max-width: 13ch;
  margin-bottom: 0.9rem;
}

.final-cta-card h2 span {
  display: block;
}

.final-cta-title-accent {
  color: var(--green);
}

.final-cta-card p:not(.eyebrow) {
  max-width: 48ch;
}

.final-cta-action-stack {
  align-items: flex-start;
}

.final-screenshot-card {
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.final-screenshot-card:hover,
.final-screenshot-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 30px 62px rgba(16, 32, 59, 0.24);
}

.final-screenshot-card:focus-visible {
  outline: 3px solid rgba(7, 95, 232, 0.28);
  outline-offset: 4px;
}

.final-screenshot-collage {
  position: relative;
  display: block;
  min-height: 395px;
}

.final-screenshot-card,
.final-dashboard-shot,
.final-school-day-shot,
.final-grade-trending-shot,
.final-report-shot {
  position: absolute;
  inset: auto;
}

.final-screenshot-collage .final-screenshot-card img {
  aspect-ratio: auto;
  height: 100%;
}

.final-dashboard-shot {
  left: 0;
  top: 0;
  z-index: 1;
  width: 49%;
  height: 70%;
}

.final-school-day-shot {
  right: 0;
  top: 0.3rem;
  z-index: 2;
  width: 47%;
  height: 76%;
}

.final-grade-trending-shot {
  left: 27%;
  top: 3.2rem;
  z-index: 3;
  width: 45%;
  height: 62%;
}

.final-report-shot {
  left: 42%;
  bottom: 0;
  z-index: 4;
  width: 46%;
  height: 46%;
}

.site-footer {
  position: relative;
  overflow: visible;
  width: min(1460px, calc(100% - 4rem));
  margin: 0 auto 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.site-footer::before,
.site-footer::after {
  content: none;
}

.site-footer-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: grid;
  width: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(320px, 1.08fr) repeat(3, minmax(180px, 1fr));
  column-gap: 0;
  row-gap: 0.8rem;
  padding: 1.65rem 2rem 0.95rem;
  border: 1px solid rgba(202, 214, 232, 0.72);
  border-top: 0;
  border-radius: 0 0 32px 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.9) 58%, rgba(238, 248, 234, 0.72)),
    linear-gradient(180deg, rgba(251, 253, 255, 0.96), #f5faff);
  box-shadow: 0 30px 68px rgba(16, 32, 59, 0.11);
}

.site-footer-card::before,
.site-footer-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-footer-card::before {
  content: none;
}

.site-footer-card::after {
  left: 2rem;
  right: 2rem;
  bottom: 3.4rem;
  height: 1px;
  background: rgba(190, 204, 226, 0.62);
}

.site-footer-brand,
.site-footer-column,
.site-footer-bottom {
  position: relative;
  z-index: 1;
}

.site-footer-brand img {
  display: block;
  width: min(245px, 100%);
  margin: 0 0 0.72rem;
}

.site-footer-brand p {
  max-width: 38ch;
  margin: 0;
  color: #40516d;
  font-size: 0.96rem;
  line-height: 1.42;
}

.site-footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
  padding: 0 0 0 2.35rem;
  border-left: 1px solid rgba(173, 190, 216, 0.62);
}

.footer-column-badge {
  width: 2.9rem;
  height: 2.9rem;
  display: inline-grid;
  place-items: center;
  margin: -0.2rem 0 0.26rem;
  border-radius: 999px;
  background: rgba(62, 123, 250, 0.12);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(62, 123, 250, 0.12);
}

.footer-column-badge svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer-contact .footer-column-badge {
  background: rgba(111, 175, 58, 0.15);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(111, 175, 58, 0.12);
}

.site-footer-column h2 {
  margin: 0 0 0.28rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.18;
}

.site-footer-contact {
  gap: 0.52rem;
}

.footer-contact-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(111, 175, 58, 0.14);
  color: var(--green);
}

.footer-contact-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer-bottom {
  grid-column: 1 / -1;
  margin-top: 0.82rem;
  padding-top: 0.78rem;
  color: #63718a;
  font-size: 0.84rem;
  text-align: center;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.screenshot-preview-open {
  overflow: hidden;
}

.screenshot-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(8, 27, 61, 0.72);
  backdrop-filter: blur(14px);
}

.screenshot-preview-frame {
  position: relative;
  width: min(1180px, 94vw);
  max-height: 88vh;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  border: 1px solid rgba(213, 225, 242, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.screenshot-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.screenshot-preview-frame figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.screenshot-preview-close {
  position: fixed;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 201;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: #ffffff;
  color: var(--preview-text);
  font: inherit;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

@media (max-width: 1180px) {
  .hero-section,
  .hero-copy {
    grid-template-columns: 1fr;
  }

  .hero-image-card,
  .hero-image-card img {
    min-height: 420px;
  }

  .problem-panel {
    padding-left: 0;
    border-left: 0;
  }

  .pricing-grid,
  .story-grid,
  .subscribe-layout {
    grid-template-columns: 1fr;
  }

  .final-cta-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .final-cta-card h2 {
    max-width: none;
  }

  .checkout-card,
  .pricing-card,
  .story-step,
  .feature-card,
  .faq-card,
  .joy-photo-card + .joy-photo-card {
    border-left: 0;
    border-top: 1px solid rgba(182, 200, 226, 0.2);
  }
}

@media (max-width: 680px) {
  .landing-shell {
    width: min(100% - 1rem, 640px);
  }

  .site-header {
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .hero-section {
    padding-inline: 0.35rem;
  }

  .hero-image-card,
  .hero-image-card img {
    min-height: 0;
  }

  .screenshot-preview-modal {
    padding: 0.8rem;
  }

  .screenshot-preview-frame {
    width: 96vw;
    max-height: 84vh;
    padding: 0.6rem;
    border-radius: 18px;
  }

  .screenshot-preview-close {
    top: 0.7rem;
    right: 0.7rem;
  }

  .final-screenshot-collage {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0.9rem;
    min-height: auto;
  }

  .final-dashboard-shot,
  .final-school-day-shot,
  .final-grade-trending-shot,
  .final-report-shot {
    position: static;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
  }

  .final-screenshot-collage .final-screenshot-card img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .site-footer {
    width: 100%;
  }

  .site-footer-card {
    width: min(100% - 1rem, 640px);
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.35rem 0 1rem;
  }

  .site-footer-brand img {
    width: min(230px, 100%);
  }

  .site-footer-column {
    border-left: 0;
    border-top: 1px solid rgba(173, 190, 216, 0.56);
    padding-left: 0;
    padding-top: 1rem;
  }

  .footer-column-badge {
    margin-top: 0;
  }

  .site-footer-bottom {
    text-align: left;
  }

  .feature-grid,
  .faq-grid,
  .joy-photo-row {
    grid-template-columns: 1fr;
  }
}
