:root {
  --ink: #12152d;
  --muted: #5f647b;
  --paper: #f7f5ef;
  --white: #ffffff;
  --indigo: #4438ca;
  --indigo-dark: #28227a;
  --violet: #7567ff;
  --lime: #d9f45b;
  --coral: #ff765f;
  --sky: #dff3ff;
  --line: rgba(18, 21, 45, 0.12);
  --shadow: 0 24px 70px rgba(45, 40, 118, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--indigo);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(68, 56, 202, 0.24);
}

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

.brand-copy strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  padding: 9px 12px;
  color: #34384f;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.header-nav a:hover {
  color: var(--indigo);
}

.header-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 17px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  min-height: 650px;
  padding: 62px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.74fr);
  align-items: center;
  gap: 64px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 93% 10%, rgba(217, 244, 91, 0.48), transparent 22%),
    linear-gradient(135deg, #eeecff 0%, #f7f5ef 52%, #fff5e9 100%);
  border: 1px solid rgba(68, 56, 202, 0.1);
  border-radius: 38px;
}

.hero::after {
  content: '';
  width: 180px;
  height: 180px;
  position: absolute;
  left: -90px;
  bottom: -90px;
  border: 36px solid rgba(68, 56, 202, 0.1);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--indigo);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 3px;
  background: var(--lime);
  border-radius: 999px;
}

.hero h1,
.section-heading h2,
.sample-copy h2,
.pricing-copy h2,
.parent-view-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.55rem, 3.9vw, 3.85rem);
  line-height: 1.08;
}

.hero h1 em {
  color: var(--indigo);
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.free-credit-banner {
  max-width: 590px;
  margin-top: 18px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: rgba(217, 244, 91, 0.82);
  border: 1px solid rgba(18, 21, 45, 0.08);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(49, 54, 21, 0.08);
}

.free-badge {
  padding: 7px 8px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.free-credit-banner strong,
.free-credit-banner small {
  display: block;
}

.free-credit-banner strong {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}

.free-credit-banner small {
  color: #565d31;
  font-size: 0.76rem;
}

.free-arrow {
  font-size: 1.2rem;
  font-weight: 900;
}

.button {
  min-height: 50px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--indigo);
  box-shadow: 0 14px 30px rgba(68, 56, 202, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.hero-proof {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  color: #4e5368;
  font-size: 0.87rem;
}

.hero-proof span {
  color: var(--indigo);
  font-weight: 900;
}

.quest-card {
  padding: 24px;
  position: relative;
  transform: rotate(1.5deg);
  background: var(--white);
  border: 1px solid rgba(68, 56, 202, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.quest-card::before {
  content: '';
  width: 78px;
  height: 78px;
  position: absolute;
  right: -18px;
  top: -22px;
  z-index: -1;
  background: var(--lime);
  border-radius: 22px;
  transform: rotate(12deg);
}

.quest-topline,
.quest-progress-copy,
.quest-footer,
.report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quest-topline p,
.quest-topline strong {
  margin: 0;
  display: block;
}

.quest-topline p,
.quest-progress-copy,
.quest-footer,
.illustration-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.quest-topline strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
}

.subject-pill,
.tool-label {
  padding: 7px 10px;
  color: var(--indigo-dark);
  background: #ebe9ff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quest-progress {
  margin-top: 22px;
}

.progress-track,
.report-line {
  height: 8px;
  overflow: hidden;
  background: #eeedf4;
  border-radius: 999px;
}

.progress-track {
  margin-top: 9px;
}

.progress-track span,
.report-line span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
  border-radius: inherit;
}

.progress-track span {
  width: 60%;
}

.question-preview {
  margin-top: 22px;
  padding: 20px;
  background: #f7f7fb;
  border-radius: 20px;
}

.question-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.question-preview p {
  margin: 16px 0;
  font-weight: 700;
  line-height: 1.45;
}

.answer-options {
  display: grid;
  gap: 8px;
}

.answer-options span {
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #595e74;
  font-size: 0.8rem;
}

.answer-options .selected {
  color: var(--indigo-dark);
  background: #eeecff;
  border-color: rgba(68, 56, 202, 0.28);
  font-weight: 700;
}

.quest-footer {
  margin-top: 18px;
  justify-content: flex-start;
}

.quest-footer strong {
  margin-left: auto;
  color: var(--indigo);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4fc78b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79, 199, 139, 0.14);
}

.illustration-note {
  margin: 12px 0 -6px;
  text-align: center;
}

.value-strip {
  width: min(1080px, calc(100% - 64px));
  margin: -22px auto 0;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  position: relative;
  z-index: 2;
  background: var(--ink);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(18, 21, 45, 0.18);
}

.value-strip div {
  padding: 3px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.value-strip div:last-child {
  border-right: 0;
}

.value-strip strong,
.value-strip span {
  display: block;
}

.value-strip strong {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
}

.value-strip span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

.parent-promise,
.practice-loop,
.tools-section,
.pricing-section,
.parent-view,
.faq-section {
  padding-top: 110px;
  padding-bottom: 20px;
}

.parent-promise {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: end;
}

.section-heading h2,
.sample-copy h2,
.pricing-copy h2,
.parent-view-copy h2,
.final-cta h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.section-heading > p:not(.eyebrow),
.tools-heading > p,
.promise-copy,
.sample-copy > p,
.pricing-copy > p,
.parent-view-copy > p {
  color: var(--muted);
}

.promise-copy {
  padding-left: 30px;
  border-left: 3px solid var(--lime);
  font-size: 1.06rem;
}

.promise-copy p:first-child {
  margin-top: 0;
}

.promise-copy p:last-child {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.loop-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.loop-card {
  min-height: 300px;
  padding: 23px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.loop-card.featured {
  color: var(--white);
  background: var(--indigo);
  border-color: var(--indigo);
  transform: translateY(-12px);
  box-shadow: 0 20px 46px rgba(68, 56, 202, 0.2);
}

.loop-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #a4a7b7;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.featured .loop-number {
  color: rgba(255, 255, 255, 0.58);
}

.loop-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  color: var(--indigo);
  background: #eeecff;
  border-radius: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
}

.featured .loop-icon {
  color: var(--ink);
  background: var(--lime);
}

.loop-card h3,
.tool-card h3 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  line-height: 1.15;
}

.loop-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.sample-section {
  margin-top: 100px;
  color: var(--white);
  background: var(--ink);
}

.sample-grid {
  min-height: 550px;
  padding-block: 84px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.eyebrow.light {
  color: var(--lime);
}

.sample-copy > p {
  color: rgba(255, 255, 255, 0.64);
}

.text-link {
  display: inline-flex;
  gap: 9px;
  color: var(--lime);
  text-underline-offset: 5px;
  font-weight: 800;
}

.step-stack {
  display: grid;
  gap: 12px;
}

.step-stack details,
.faq-grid details {
  border-radius: 16px;
}

.step-stack details {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

details summary {
  cursor: pointer;
  font-weight: 700;
}

.step-stack summary {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.step-stack summary::-webkit-details-marker {
  display: none;
}

.step-stack summary span {
  padding: 6px 9px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.step-stack details p {
  margin: 15px 0 2px 66px;
  color: rgba(255, 255, 255, 0.68);
}

.tools-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}

.tool-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tool-card {
  min-height: 285px;
  padding: 22px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(68, 56, 202, 0.35);
  box-shadow: 0 18px 38px rgba(44, 39, 112, 0.1);
}

.core-tool {
  min-height: 340px;
  grid-column: span 3;
}

.mock-tool {
  background: linear-gradient(145deg, #eeecff, #ffffff);
}

.puzzle-tool {
  background: linear-gradient(145deg, #f6ffd0, #ffffff);
}

.tool-label {
  align-self: flex-start;
}

.secondary-label {
  color: #4e5368;
  background: #f1f1f5;
}

.tool-symbol {
  width: 58px;
  height: 58px;
  margin: 25px 0 20px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--indigo);
  border-radius: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.puzzle-tool .tool-symbol {
  color: var(--ink);
  background: var(--lime);
}

.tool-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tool-card > span:last-child {
  margin-top: auto;
  color: var(--indigo);
  font-weight: 800;
  font-size: 0.88rem;
}

.pricing-card {
  padding: 54px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--indigo-dark), var(--indigo));
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.pricing-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.usage-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.usage-examples span {
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.8rem;
}

.price-box {
  padding: 28px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 24px;
  transform: rotate(1deg);
}

.free-first {
  margin-bottom: 18px;
  padding: 15px;
  display: grid;
  color: var(--white);
  background: var(--indigo-dark);
  border-radius: 16px;
}

.free-first span,
.free-first small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.free-first strong {
  margin: 2px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.then-upgrade {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #656c36;
  font-size: 0.66rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.then-upgrade span {
  height: 1px;
  background: rgba(18, 21, 45, 0.18);
}

.price-box > span,
.price-box > p,
.price-box > small {
  display: block;
}

.price-box > span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.price {
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 4.7rem;
  font-weight: 800;
  line-height: 1;
}

.price small {
  font-size: 2rem;
  vertical-align: top;
}

.price-box > p {
  margin: 4px 0 18px;
  font-weight: 700;
}

.button-price {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.price-box > small {
  margin-top: 12px;
  color: #4d5426;
  text-align: center;
}

.parent-view {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.report-visual {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.report-row {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.report-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #9a9dad;
  background: #f1f1f5;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.report-day.done {
  color: var(--white);
  background: var(--indigo);
}

.report-day.current {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 244, 91, 0.34);
}

.report-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.report-stat strong {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
}

.report-stat span,
.report-visual small {
  color: var(--muted);
}

.report-line {
  margin: 18px 0 12px;
}

.text-link.dark {
  color: var(--indigo);
}

.faq-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.faq-grid details p {
  margin: 13px 0 0;
  color: var(--muted);
}

.final-cta {
  margin-top: 100px;
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
  background: var(--ink);
  border-radius: 30px;
}

.final-cta h2 {
  max-width: 700px;
}

.final-cta p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.button-light {
  color: var(--ink);
  background: var(--lime);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer > div:last-child {
  display: flex;
  gap: 20px;
}

.site-footer > div:last-child a {
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .header-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 48px 34px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .quest-card {
    max-width: 560px;
    transform: none;
  }

  .value-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-strip div:nth-child(2) {
    border-right: 0;
  }

  .value-strip div:nth-child(-n + 2) {
    padding-bottom: 13px;
  }

  .parent-promise,
  .sample-grid,
  .tools-heading,
  .pricing-card,
  .parent-view {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .loop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loop-card.featured {
    transform: none;
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-card,
  .core-tool {
    grid-column: span 1;
  }

  .price-box {
    max-width: 420px;
    transform: none;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 70px;
  }

  .brand-copy small {
    display: none;
  }

  .header-nav .nav-cta {
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 42px 20px 32px;
    border-radius: 26px;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    line-height: 1.1;
  }

  .hero-actions .button {
    width: 100%;
  }

  .free-credit-banner {
    grid-template-columns: auto 1fr;
  }

  .free-arrow {
    display: none;
  }

  .hero-proof {
    display: grid;
  }

  .quest-card {
    padding: 17px;
  }

  .value-strip {
    width: calc(100% - 40px);
    margin-top: -12px;
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .value-strip div {
    padding: 10px 4px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .value-strip div:last-child {
    border-bottom: 0;
  }

  .parent-promise,
  .practice-loop,
  .tools-section,
  .pricing-section,
  .parent-view,
  .faq-section {
    padding-top: 78px;
  }

  .promise-copy {
    padding-left: 18px;
  }

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

  .loop-card {
    min-height: 250px;
  }

  .sample-section {
    margin-top: 70px;
  }

  .sample-grid {
    padding-block: 64px;
  }

  .step-stack details p {
    margin-left: 0;
  }

  .pricing-card,
  .final-cta {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .price {
    font-size: 4rem;
  }

  .final-actions,
  .final-actions .button {
    width: 100%;
  }

  .site-footer {
    padding-block: 36px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .tool-card {
    transition: none;
  }
}
