/* Mobile-first: the complete landing page works without JavaScript. */
:root {
  --ink: #15213b;
  --ink-soft: #263552;
  --muted: #63708a;
  --lime: #c8f052;
  --lime-dark: #9bc32a;
  --violet: #7059f4;
  --violet-dark: #4c38c5;
  --paper: #fbfcf7;
  --white: #fff;
  --line: #dbe2dd;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 33, 59, 0.09);
  background: rgba(251, 252, 247, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.7px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.nav nav { display: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--lime);
  color: var(--white);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--lime);
}

.button-small {
  min-height: 40px;
  padding: 9px 12px;
  box-shadow: 3px 3px 0 var(--lime);
  font-size: 10px;
}

.hero {
  display: grid;
  gap: 44px;
  padding-block: 52px 66px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: #59677b;
  font: 500 10px/1.5 "DM Mono", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eyebrow i {
  padding-inline: 5px;
  color: var(--violet);
  font-style: normal;
}

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

.hero h1, h2 {
  margin: 0;
  letter-spacing: -2px;
  line-height: 1.06;
}

.hero h1 {
  max-width: 710px;
  font-size: clamp(42px, 12.4vw, 69px);
}

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

.lead {
  max-width: 700px;
  margin: 23px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.67;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 19px;
}

.hero-points span {
  padding: 7px 10px;
  border: 1px solid #cfdad2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4e5e72;
  font: 500 9px "DM Mono", monospace;
  text-transform: uppercase;
}

.hero-points span::before {
  margin-right: 6px;
  color: #4ca66f;
  content: "●";
}

.actions {
  display: grid;
  gap: 12px;
  margin-top: 27px;
}

.micro {
  margin: 21px 0 0;
  color: #768195;
  font: 10px/1.6 "DM Mono", monospace;
}

.hero-art {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  inset: 7% 1% 2%;
  z-index: -3;
  border-radius: 48% 52% 42% 58% / 52% 43% 57% 48%;
  background:
    radial-gradient(circle at 77% 20%, rgba(200, 240, 82, 0.75) 0 7%, transparent 7.5%),
    linear-gradient(145deg, #e2f7ec 0%, #d5efe3 100%);
  content: "";
  transform: rotate(-2deg);
}

.art-orbit {
  position: absolute;
  z-index: -2;
  border: 2px dashed rgba(81, 162, 125, 0.5);
  border-radius: 50%;
}

.orbit-a { width: 90%; height: 43%; transform: rotate(18deg); }
.orbit-b { width: 55%; height: 86%; transform: rotate(-30deg); }

.hero-emblem {
  display: flex;
  width: 215px;
  height: 215px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 8px solid #ffdb6e;
  border-radius: 46%;
  background: var(--violet);
  box-shadow: 14px 16px 0 #b2e0ca;
  color: var(--white);
  transform: rotate(-4deg);
}

.hero-emblem span {
  font-size: 67px;
  font-weight: 800;
  letter-spacing: -5px;
  line-height: 1;
}

.hero-emblem small {
  margin-top: 10px;
  font: 500 9px/1.35 "DM Mono", monospace;
  letter-spacing: 1px;
  text-align: center;
}

.floating-token {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 52px;
  height: 52px;
  justify-content: center;
  border: 1px solid rgba(21, 33, 59, 0.14);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(21, 33, 59, 0.14);
  color: var(--violet-dark);
  font: 800 13px "DM Mono", monospace;
}

.token-code { top: 10%; left: 7%; transform: rotate(-8deg); }
.token-ai { top: 9%; right: 7%; transform: rotate(7deg); }
.token-safe { bottom: 9%; left: 11%; color: #3d9d67; transform: rotate(5deg); }
.token-xp { right: 9%; bottom: 11%; transform: rotate(-6deg); }

.product-loop {
  position: relative;
  z-index: 3;
  padding-block: 21px;
  background: var(--ink);
  color: var(--white);
}

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

.loop-grid div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.loop-grid div > span { font-size: 21px; }
.loop-grid b { font-size: 8px; line-height: 1.3; }
.loop-grid small, .loop-grid i { display: none; }

.section { padding-block: 78px; }
h2 { font-size: clamp(34px, 9vw, 52px); }

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 38px;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.steps { display: grid; gap: 13px; }

.steps article {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.number { color: #8994a5; font: 500 10px "DM Mono", monospace; }
.icon { font-size: 28px; }

.steps h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  letter-spacing: -0.6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.text-link {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.text-link span { color: var(--violet); font-size: 17px; }
.parents-section { background: var(--paper); }

.parents-grid { display: grid; gap: 45px; }

.parents-lead {
  max-width: 620px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.benefits-grid { display: grid; gap: 11px; }

.benefits-grid article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px;
  border-top: 1px solid var(--line);
}

.benefits-grid article > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.benefits-grid h3 { margin: 0 0 4px; font-size: 14px; }
.benefits-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.parent-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--lime);
}

.parent-note > span { font-size: 30px; }
.parent-note .eyebrow { margin-bottom: 6px; color: var(--violet); }
.parent-note h3 { margin: 0 0 7px; font-size: 17px; letter-spacing: -0.5px; }
.parent-note p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.access-section { background: #f0edff; }
.plans { display: grid; gap: 18px; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.plan-plus {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--lime);
  color: var(--white);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-top > span:last-child { font-size: 28px; }
.plan-label { color: var(--violet); font: 500 8px "DM Mono", monospace; letter-spacing: 0.7px; }
.plan-plus .plan-label { color: var(--lime); }

.plan h3 {
  margin: 24px 0 8px;
  font-size: 25px;
  letter-spacing: -1px;
}

.plan-description {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.plan-plus .plan-description { color: #c7d0df; }

.plan ul {
  flex: 1;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  margin: 11px 0;
  padding-left: 22px;
  font-size: 12px;
  line-height: 1.45;
}

.plan li::before {
  position: absolute;
  left: 0;
  color: #45b97a;
  content: "✓";
  font-weight: 800;
}

.plan-plus li::before { color: var(--lime); }
.plan .button { align-self: stretch; }

.button-lime {
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--violet);
  color: var(--ink);
}

.button-lime:hover { box-shadow: 2px 2px 0 var(--violet); }

.plan > small {
  display: block;
  margin-top: 14px;
  color: #788498;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.plan-plus > small { color: #aeb8ca; }

.early {
  position: relative;
  overflow: hidden;
  padding-block: 78px;
  background: var(--violet);
  color: var(--white);
}

.early::before, .early::after {
  position: absolute;
  border: 2px dashed rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.early::before { top: -220px; left: -170px; width: 520px; height: 520px; }
.early::after { right: -180px; bottom: -250px; width: 560px; height: 560px; }

.early-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

.early .eyebrow { color: #ded9ff; }
.early h2 { font-size: clamp(37px, 9vw, 54px); }

.early-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #e4e0ff;
  font-size: 14px;
  line-height: 1.7;
}

.test-benefits { display: grid; gap: 10px; margin-top: 28px; }

.test-benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f2ff;
  font-size: 11px;
  font-weight: 700;
}

.test-benefits b {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--lime);
  font: 500 8px "DM Mono", monospace;
}

form {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 9px 9px 0 #4733b8;
  color: var(--ink);
}

.form-kicker { margin: 0 0 6px; color: var(--violet); font: 500 8px "DM Mono", monospace; letter-spacing: 0.7px; }
form h3 { margin: 0 0 20px; font-size: 22px; letter-spacing: -0.7px; }

label {
  display: block;
  margin: 13px 0 3px;
  font-size: 10px;
  font-weight: 800;
}

input:not([type="checkbox"]), select {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #ccd3df;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: 16px Manrope, sans-serif;
}

input:not([type="checkbox"]):hover, select:hover { border-color: #9ea8b9; }

.check {
  display: flex;
  gap: 9px;
  margin: 16px 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--violet);
}

.check a { color: var(--violet-dark); font-weight: 700; }
form .button { width: 100%; }

form > small {
  display: block;
  margin-top: 14px;
  color: #778094;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.hidden { display: none !important; }
.faq-section .section-heading { margin-bottom: 22px; }
.faq { border-top: 1px solid var(--line); }

.faq details {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding-right: 38px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #eeeaff;
  color: var(--violet);
  content: "+";
  font-size: 17px;
  transform: translateY(-50%);
}

.faq details[open] summary::after { content: "−"; }

.faq p {
  max-width: 790px;
  margin: 13px 38px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

footer {
  padding: 48px 0 20px;
  background: #eaf1eb;
}

.footer { display: grid; gap: 27px; }

.footer p {
  max-width: 330px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

footer a { color: var(--muted); font-size: 11px; text-decoration: none; }
footer a:hover { color: var(--violet); }

.copyright {
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid #d1dbd3;
  color: #7b867f;
  font: 8px/1.5 "DM Mono", monospace;
}

@media (min-width: 620px) {
  .container { width: min(1180px, calc(100% - 40px)); }
  .actions { display: flex; align-items: center; flex-wrap: wrap; }
  .steps, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-grid { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
  .loop-grid i { display: block; color: var(--lime); font-style: normal; }
  .loop-grid b { font-size: 10px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1.5fr 0.8fr 1fr; }
}

@media (min-width: 880px) {
  .nav { min-height: 82px; }
  .nav nav { display: flex; align-items: center; gap: 18px; }
  .nav nav a { color: var(--muted); font-size: 10px; font-weight: 700; text-decoration: none; }
  .nav nav a:hover, .nav nav .nav-platform { color: var(--violet); }

  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 660px;
    align-items: center;
    gap: 25px;
    padding-block: 30px 45px;
  }

  .hero-art { min-height: 510px; }
  .hero-emblem { width: 255px; height: 255px; }
  .floating-token { width: 60px; height: 60px; }

  .loop-grid div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 9px;
    text-align: left;
  }

  .loop-grid div > span { grid-row: 1 / 3; font-size: 25px; }
  .loop-grid b { font-size: 11px; }
  .loop-grid small { display: block; color: #95a2b7; font-size: 8px; }
  .section { padding-block: 110px; }

  .section-heading {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 55px;
    margin-bottom: 50px;
  }

  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps article { min-height: 260px; }
  .steps h3 { margin-top: 50px; }
  .parents-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: center;
    gap: 80px;
  }

  .benefits-grid article { padding-left: 0; }
  .access-heading { margin-bottom: 44px; }
  .plan { padding: 34px; }
  .early { padding-block: 105px; }

  .early-grid {
    grid-template-columns: minmax(0, 1fr) 445px;
    align-items: center;
    gap: 80px;
  }

  form { padding: 30px; }
  .faq { max-width: 900px; }
}

@media (min-width: 1080px) {
  .nav nav { gap: 27px; }
  .nav nav a { font-size: 12px; }
  .button-small { font-size: 11px; }
  .hero { gap: 60px; }
  .lead { font-size: 16px; }
  .hero-emblem { width: 280px; height: 280px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise-in 550ms ease both; }
  .hero-art { animation: rise-in 600ms 100ms ease both; }
  .floating-token { animation: float-token 4s ease-in-out infinite; }
  .token-ai { animation-delay: -1.3s; }
  .token-safe { animation-delay: -2.4s; }
  .token-xp { animation-delay: -3.1s; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-token {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}
