@font-face
{
    font-family: Fredoka;
    src: url("./fonts/fredoka-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face
{
    font-family: Fredoka;
    src: url("./fonts/fredoka-500.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face
{
    font-family: Fredoka;
    src: url("./fonts/fredoka-600.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face
{
    font-family: "DM Sans";
    src: url("./fonts/dm-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face
{
    font-family: "DM Sans";
    src: url("./fonts/dm-sans-500.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face
{
    font-family: "DM Sans";
    src: url("./fonts/dm-sans-600.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face
{
    font-family: "DM Sans";
    src: url("./fonts/dm-sans-700.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
:root
{
    --lilac: #EDE7FF;
    --pink: #FF4FA3;
    --blue: #2FADFF;
    --yellow: #FFD84D;
    --green: #4ECB68;
    --ink: #2D174D;
    --secondary: #58466B;
    --white: #FFFFFF;
    --clay: #7A5EA8;
    --line: rgb(45 23 77 / 14%);
    --shadow: 0 16px 32px rgb(122 94 168 / 16%);
    --ledge: 0 4px 0 rgb(45 23 77 / 24%), inset 0 2px 2px rgb(255 255 255 / 55%);
    --clay-shadow: inset 8px 8px 16px rgb(255 255 255 / 55%), inset -10px -12px 20px rgb(122 94 168 / 20%), 0 16px 24px rgb(122 94 168 / 18%);
    --focus: 3px solid var(--ink);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --section-space: 104px;
    --radius-button: 18px;
    --radius-card: 28px;
    --radius-panel: 20px;
    --radius-band: 40px;
    --radius-phone: 48px;
    --radius-screen: 34px;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
}
body
{
    margin: 0;
    background: var(--lilac);
    color: var(--ink);
    font: 400 18px/1.6 "DM Sans", Arial, sans-serif;
}
body.modal-open
{
    overflow: hidden;
}
button, input, select
{
    font: inherit;
    color: inherit;
}
button, a, label, summary
{
    -webkit-tap-highlight-color: transparent;
}
button, summary
{
    cursor: pointer;
}
button
{
    border: 0;
}
a
{
    color: inherit;
}
button, a, input, select, summary
{
    touch-action: manipulation;
}
:focus-visible
{
    outline: var(--focus);
    outline-offset: var(--space-1);
}
[hidden]
{
    display: none !important;
}
.wrap
{
    width: min(1240px, calc(100% - 96px));
    margin-inline: auto;
}
h1, h2, h3, h4, p
{
    margin: 0;
}
h1, h2, h3, h4, .brand, .phone-brand, .price, .equation
{
    font-family: Fredoka, "Arial Rounded MT Bold", sans-serif;
    font-weight: 500;
}
h1
{
    font-size: 68px;
    line-height: 1.02;
    letter-spacing: -.025em;
}
h1 span
{
    display: block;
}
h2
{
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -.02em;
}
h3
{
    font-size: 26px;
    line-height: 1.16;
}
h4
{
    font-size: 24px;
    line-height: 1.2;
}
svg
{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: middle;
}
img
{
    max-width: 100%;
    height: auto;
    display: block;
}
.button
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    min-height: 48px;
    border-radius: var(--radius-button);
    background: var(--ink);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: var(--ledge);
    transition: transform 160ms;
}
.button.secondary
{
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
}
.button:hover
{
    text-decoration: underline;
    text-underline-offset: var(--space-1);
}
.button:active, .answer:active, .phone-next:active
{
    transform: translateY(2px);
}
.text-link
{
    display: inline-flex;
    gap: var(--space-2);
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    text-underline-offset: var(--space-1);
}
.eyebrow
{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: var(--space-4);
}
.small-note
{
    color: var(--secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.section-gap
{
    margin-top: var(--section-space);
}
.section-band
{
    background: var(--yellow);
    border-radius: var(--radius-band);
    margin-inline: var(--space-6);
    padding-block: 64px;
}
.section-band .wrap
{
    width: min(1240px, calc(100% - 48px));
}
.site-header
{
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    position: relative;
    z-index: 4;
}
.brand
{
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 26px;
}
.home-link
{
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.motif
{
    display: grid;
    grid-template-columns: repeat(2, 10px);
    gap: 3px;
    transform: rotate(-10deg);
}
.motif i
{
    height: 10px;
    border-radius: 45%;
    box-shadow: inset 1px 2px 2px rgb(255 255 255 / 55%);
    background: var(--pink);
}
.motif i:nth-child(2)
{
    background: var(--blue);
}
.motif i:nth-child(3)
{
    background: var(--yellow);
}
.motif i:nth-child(4)
{
    background: var(--green);
}
.desktop-nav
{
    display: flex;
    gap: var(--space-8);
}
.desktop-nav a, .site-footer nav a
{
    font-size: 14px;
    font-weight: 600;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.desktop-nav a:hover, .site-footer nav a:hover
{
    text-decoration: underline;
    text-underline-offset: var(--space-1);
}
.menu-button
{
    display: none;
}
.skip
{
    position: fixed;
    left: var(--space-4);
    top: var(--space-4);
    padding: var(--space-3);
    background: var(--ink);
    color: var(--white);
    z-index: 10;
    transform: translateY(-200%);
}
.skip:focus
{
    transform: none;
}
.hero
{
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: start;
    min-height: 616px;
    padding-block: var(--space-10) var(--space-12);
}
.hero-copy
{
    padding-top: var(--space-5);
    padding-right: var(--space-6);
}
.hero .eyebrow
{
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.hero-description
{
    margin-top: var(--space-6);
    max-width: 480px;
    font-size: 17px;
    line-height: 1.65;
}
.hero-actions
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-5);
    margin-top: var(--space-6);
    margin-bottom: var(--space-8);
}
.age-picker
{
    padding: 0;
    border: 0;
    margin: 0 0 var(--space-4);
}
.age-picker legend
{
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--space-2);
}
.age-picker > div
{
    display: flex;
    gap: var(--space-2);
}
.age-picker label
{
    position: relative;
    display: block;
    cursor: pointer;
}
.age-picker input
{
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}
.age-picker span
{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 44px;
    padding: var(--space-2) var(--space-4);
    background: var(--white);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--ledge);
}
.age-picker input:checked + span
{
    background: var(--yellow);
}
.age-picker input:focus-visible + span
{
    outline: var(--focus);
    outline-offset: var(--space-1);
}
.hero-stage
{
    min-width: 0;
    position: relative;
    min-height: 540px;
}
.scene
{
    width: 430px;
    height: 480px;
    position: absolute;
    top: 30px;
    left: -24px;
    z-index: 0;
}
.scene img
{
    width: 430px;
    height: 430px;
    object-fit: contain;
    mask-image: radial-gradient(ellipse at center, var(--ink) 40%, transparent 75%);
}
.orb
{
    position: absolute;
    width: 178px;
    height: 150px;
    left: var(--space-8);
    bottom: 0;
    border-radius: 46% 54% 42% 58% / 48% 45% 55% 52%;
    background: var(--pink);
    box-shadow: var(--clay-shadow);
    transform: rotate(-14deg);
}
.arch
{
    position: absolute;
    bottom: 45px;
    left: -8px;
    width: 140px;
    height: 140px;
    border: 36px solid var(--yellow);
    border-bottom: 0;
    border-radius: 80px 80px 16px 16px;
    box-shadow: var(--clay-shadow);
    transform: rotate(-16deg);
}
.phone
{
    position: relative;
    z-index: 1;
    width: 286px;
    min-height: 540px;
    margin-left: auto;
    padding: var(--space-4) var(--space-3) var(--space-5);
    border-radius: var(--radius-phone);
    background: var(--blue);
    box-shadow: var(--clay-shadow);
}
.phone-screen
{
    min-height: 504px;
    border-radius: var(--radius-screen);
    background: var(--white);
    padding: var(--space-5) var(--space-4) var(--space-4);
}
.phone-header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.phone-brand
{
    font-size: 22px;
}
.tiny-motif
{
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: var(--ledge);
}
.phone-subtitle
{
    font-size: 12px;
    margin-top: 2px;
}
.phone-tabs
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1);
    background: var(--lilac);
    border-radius: 15px;
    padding: var(--space-1);
    margin-top: var(--space-3);
}
.phone-tabs button
{
    background: transparent;
    border-radius: 12px;
    font-size: 14px;
    min-height: 44px;
    font-weight: 700;
}
.phone-tabs button[aria-selected="true"]
{
    background: var(--pink);
    box-shadow: var(--ledge);
}
.phone-tabs button[data-mode="math"][aria-selected="true"]
{
    background: var(--blue);
}
.lesson-panel
{
    animation: crossfade 180ms;
}
.progress
{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    padding-block: var(--space-3) var(--space-2);
}
.lesson-art
{
    height: 92px;
    display: grid;
    place-items: center;
    background: var(--lilac);
    border-radius: 18px;
}
.sun, .mini-sun
{
    display: block;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: var(--clay-shadow);
    position: relative;
}
.sun
{
    width: 54px;
    height: 54px;
    outline: 8px dotted var(--yellow);
    outline-offset: 5px;
}
.sun::after
{
    content: "";
    width: 16px;
    height: 7px;
    border-bottom: 2px solid var(--ink);
    border-radius: 50%;
    position: absolute;
    left: 19px;
    top: 27px;
}
.mini-sun
{
    width: 16px;
    height: 16px;
    outline: 3px dotted var(--yellow);
    outline-offset: 2px;
}
.word-tiles
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-1);
    margin-top: var(--space-2);
}
.word-tile
{
    min-width: 44px;
    min-height: 44px;
    padding: var(--space-1) 7px;
    border-radius: 10px;
    background: var(--lilac);
    font-family: Fredoka, sans-serif;
    font-size: 21px;
}
.word-tile[aria-pressed="true"]
{
    background: var(--yellow);
}
.sound-row
{
    display: flex;
    align-items: center;
    gap: var(--space-1);
    min-height: 44px;
}
.sound-row p
{
    font-size: 12px;
    line-height: 1.35;
    flex: 1;
}
.sound-button
{
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    background: var(--lilac);
}
.voice-message
{
    font-size: 12px;
    line-height: 1.4;
    padding: var(--space-2) 0;
}
.lesson-question
{
    font: 700 14px/1.45 "DM Sans", sans-serif;
    margin-block: var(--space-2) var(--space-3);
}
.answers
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-2);
}
.answer
{
    min-height: 44px;
    min-width: 44px;
    background: var(--pink);
    border-radius: 13px;
    font: 500 22px Fredoka, sans-serif;
    box-shadow: var(--ledge);
    transition: transform 160ms;
}
.phone:has([data-mode="math"][aria-selected="true"]) .answer
{
    background: var(--blue);
}
.answer.correct-answer
{
    background: var(--green) !important;
}
.feedback
{
    margin-top: var(--space-3);
    font-size: 12px;
    line-height: 1.4;
    min-height: 32px;
    position: relative;
}
.feedback.correct, .feedback.hint
{
    display: flex;
    align-items: center;
    gap: var(--space-1);
    background: var(--yellow);
    border-radius: 12px;
    padding: var(--space-2);
}
.feedback.hint
{
    animation: nudge 250ms;
}
.phone-next
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 44px;
    width: 100%;
    background: var(--ink);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
    margin-top: var(--space-2);
    box-shadow: var(--ledge);
}
.pause-note
{
    font: 500 20px/1.2 Fredoka, sans-serif;
    margin-top: var(--space-3);
}
.stars
{
    position: absolute;
    right: 0;
    top: -12px;
    pointer-events: none;
}
.stars i
{
    color: var(--ink);
    font-size: 18px;
    display: inline-block;
    font-style: normal;
    animation: star 450ms both;
}
.stars i:nth-child(2)
{
    animation-delay: 50ms;
}
.stars i:nth-child(3)
{
    animation-delay: 90ms;
}
.pebble-groups
{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-2);
    min-height: 100px;
    background: var(--lilac);
    border-radius: 18px;
}
.pebble-tray
{
    display: grid;
    grid-template-columns: repeat(2, 20px);
    gap: 6px;
    padding: var(--space-1);
    border-radius: 10px;
    border: 1px solid var(--line);
}
.pebble
{
    width: 20px;
    height: 22px;
    border-radius: 44% 56% 50% 46%;
    background: var(--green);
    box-shadow: var(--ledge);
    position: relative;
}
.pebble-tray:nth-child(2) .pebble
{
    background: var(--yellow);
}
.pebble.removed::after
{
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: 10px;
    height: 2px;
    width: 22px;
    background: var(--ink);
    transform: rotate(-40deg);
}
.equation
{
    text-align: center;
    font-size: 30px;
    margin-top: var(--space-3);
}
.sprout
{
    display: block;
    width: 6px;
    height: 45px;
    background: var(--ink);
    border-radius: 10px;
    position: relative;
    margin-top: 12px;
}
.sprout::before, .sprout::after
{
    content: "";
    position: absolute;
    width: 28px;
    height: 17px;
    border-radius: 80% 20% 80% 20%;
    background: var(--green);
    box-shadow: var(--ledge);
    left: -25px;
    top: 4px;
    transform: rotate(40deg);
}
.sprout::after
{
    left: 3px;
    top: -5px;
    transform: rotate(-20deg);
}
.map
{
    display: block;
    width: 64px;
    height: 48px;
    background: var(--yellow);
    border: 3px solid var(--ink);
    border-radius: 8px;
    transform: rotate(-8deg);
    position: relative;
}
.map::after
{
    content: "";
    position: absolute;
    left: 16px;
    top: 8px;
    height: 20px;
    width: 25px;
    border-bottom: 3px dashed var(--ink);
    border-right: 3px dashed var(--ink);
}
.cap
{
    display: block;
    width: 58px;
    height: 35px;
    background: var(--pink);
    border: 2px solid var(--ink);
    border-radius: 30px 30px 8px 8px;
    position: relative;
    box-shadow: var(--clay-shadow);
}
.cap::after
{
    content: "";
    position: absolute;
    bottom: -7px;
    left: 28px;
    width: 40px;
    height: 10px;
    border-radius: 8px;
    background: var(--pink);
    border: 2px solid var(--ink);
}
.section-top
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-10);
    margin-bottom: var(--space-8);
}
.section-top > div
{
    max-width: 650px;
}
.section-top p:not(.eyebrow)
{
    margin-top: var(--space-4);
}
.learning .age-picker
{
    flex-shrink: 0;
}
.learning .age-picker input:checked + span
{
    background: var(--yellow);
    color: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink), var(--ledge);
}
.path-card
{
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-card);
    min-height: 340px;
    animation: crossfade 180ms;
}
.path-title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.age-label
{
    font-size: 14px;
    font-weight: 700;
    padding: var(--space-1) var(--space-3);
    border-radius: 10px;
    background: var(--lilac);
}
.path-columns
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-block: var(--space-6);
}
.path-columns article
{
    min-height: 152px;
    position: relative;
    padding-right: var(--space-5);
    border-right: 1px solid var(--line);
}
.path-columns article:last-child
{
    border: 0;
}
.skill-label
{
    display: inline-flex;
    background: var(--lilac);
    padding: var(--space-1) var(--space-3);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--space-3);
}
.skill-0
{
    background: var(--pink);
}
.skill-1
{
    background: var(--green);
}
.path-drawing
{
    display: block;
    margin-top: var(--space-4);
    width: 35px;
    height: 18px;
    background: var(--yellow);
    border-radius: 7px;
    box-shadow: var(--ledge);
}
.drawing-0
{
    width: 30px;
    height: 24px;
    background: var(--pink);
    border-radius: 4px 10px 10px 4px;
    border-left: 3px solid var(--ink);
    transform: rotate(-8deg);
}
.drawing-1
{
    width: 20px;
    height: 20px;
    border-radius: 45%;
    background: var(--green);
    box-shadow: 25px 0 0 var(--yellow), var(--ledge);
}
.drawing-2
{
    transform: rotate(-5deg);
    border-bottom: 4px solid var(--ink);
}
.path-bottom
{
    border-top: 1px solid var(--line);
    padding-top: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}
.path-bottom p
{
    font-size: 15px;
}
.play
{
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    gap: 0;
}
.play-art
{
    padding-right: var(--space-8);
}
.play-image
{
    width: 100%;
    object-fit: contain;
    mask-image: radial-gradient(ellipse at center, var(--ink) 48%, transparent 76%);
}
.play h2 + p
{
    margin-top: var(--space-4);
}
.play-block
{
    background: var(--pink);
    border-radius: 28px 36px 30px 24px;
    padding: var(--space-6);
    margin-top: var(--space-6);
}
.play-block.math
{
    background: var(--blue);
    border-radius: 32px 24px 36px 28px;
}
.play-block h3
{
    font-size: 24px;
}
.play-block p
{
    margin-block: var(--space-2) var(--space-4);
    font-size: 16px;
}
.play .small-note
{
    margin-top: var(--space-5);
}
.parents
{
    padding: var(--space-10);
    background: var(--blue);
    border-radius: var(--radius-band);
}
.section-intro
{
    max-width: 600px;
    margin-top: var(--space-4);
}
.parent-layout
{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
}
.dashboard
{
    padding: var(--space-6);
    background: var(--white);
    border-radius: var(--radius-panel);
    min-width: 0;
}
.dashboard-heading
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
}
.dashboard-heading h3
{
    font-size: 23px;
}
.sample-label
{
    font-size: 12px;
    background: var(--lilac);
    padding: var(--space-1) var(--space-2);
    border-radius: 8px;
}
.segments
{
    display: inline-flex;
    background: var(--lilac);
    padding: var(--space-1);
    gap: var(--space-1);
    border-radius: var(--radius-button);
}
.segments button
{
    min-height: 44px;
    border-radius: 14px;
    padding: var(--space-2) var(--space-4);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
}
.segments button[aria-pressed="true"]
{
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--ledge);
}
.period-controls
{
    margin-top: var(--space-5);
}
.metrics
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-6);
}
.metrics > div
{
    padding: var(--space-3);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.metrics strong
{
    display: block;
    font: 500 32px Fredoka, sans-serif;
}
.metrics span
{
    display: block;
    font-size: 12px;
    line-height: 1.3;
    margin-top: var(--space-1);
}
.chart
{
    display: flex;
    gap: var(--space-3);
    height: 180px;
    padding-top: var(--space-4);
    margin-top: var(--space-3);
}
.bar-column
{
    flex: 1;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 600;
}
.bar-space
{
    height: 120px;
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid var(--line);
}
.bar
{
    display: block;
    width: 100%;
    height: var(--bar-height);
    border-radius: 10px 10px 0 0;
    background: var(--pink);
    transition: height 280ms;
}
.bar-column:nth-child(even) .bar
{
    background: var(--green);
}
.chart-caption
{
    text-align: center;
    font-size: 12px;
    margin-top: var(--space-1);
}
.chart-details
{
    margin-top: var(--space-3);
    font-size: 13px;
}
.chart-details summary
{
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.chart-details table
{
    border-collapse: collapse;
    width: 100%;
}
.chart-details th, .chart-details td
{
    border-bottom: 1px solid var(--line);
    padding: var(--space-1);
    text-align: left;
}
.balance-labels
{
    display: flex;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: 12px;
    font-weight: 600;
    margin-block: var(--space-3) var(--space-2);
}
.balance
{
    display: flex;
    height: 12px;
    border-radius: 8px;
    overflow: hidden;
}
.balance i
{
    background: var(--green);
    flex-grow: 1;
}
.balance i:first-child
{
    background: var(--pink);
    flex-grow: 0;
    transition: width 280ms;
}
.next-step
{
    background: var(--yellow);
    border-radius: var(--radius-panel);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.next-step .sprout
{
    margin-left: var(--space-6);
    margin-bottom: var(--space-6);
}
.next-step h3
{
    font-size: 25px;
}
.next-step > p:not(.sample-note)
{
    margin-block: var(--space-4) var(--space-6);
}
.next-step .button
{
    margin-top: auto;
    text-align: left;
    padding-inline: var(--space-4);
}
.sample-note
{
    font-size: 12px;
    line-height: 1.5;
    margin-top: var(--space-4);
}
.safety-layout
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-12);
}
.safety-intro p:not(.eyebrow)
{
    margin-top: var(--space-4);
}
.safety-art
{
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}
.safety-art img
{
    width: 100%;
    border-radius: var(--radius-card);
}
.principles
{
    margin-top: var(--space-6);
}
.principles article
{
    display: flex;
    gap: var(--space-4);
    border-bottom: 1px solid rgb(255 255 255 / 70%);
    padding-block: var(--space-5);
}
.principles article > svg
{
    margin-top: var(--space-1);
    width: 24px;
    height: 24px;
}
.principles h3
{
    font: 700 18px/1.4 "DM Sans", sans-serif;
}
.principles p
{
    font-size: 16px;
    margin-top: var(--space-2);
}
.principles > a
{
    margin-top: var(--space-4);
}
.pricing
{
    text-align: center;
}
.pricing > p
{
    margin-top: var(--space-4);
}
.billing-controls
{
    margin-block: var(--space-6) var(--space-8);
    background: var(--white);
    box-shadow: var(--ledge);
}
.billing-controls button
{
    min-width: 104px;
}
.price-cards
{
    max-width: 880px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    text-align: left;
}
.price-card
{
    padding: var(--space-8);
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.price-card.family
{
    background: var(--pink);
    box-shadow: var(--clay-shadow);
}
.plan-kicker
{
    font-size: 12px;
    font-weight: 700;
    margin-bottom: var(--space-4);
    min-height: 28px;
    display: inline-flex;
    align-items: center;
}
.family-label
{
    background: var(--yellow);
    padding: var(--space-1) var(--space-3);
    border-radius: 9px;
}
.price
{
    font-size: 48px;
    line-height: 1.12;
    margin-top: var(--space-5);
}
#family-price .price
{
    font-size: 40px;
}
.price-detail
{
    font-size: 13px;
    min-height: 44px;
    margin-top: var(--space-2);
}
.price-card ul
{
    padding: 0;
    margin-block: var(--space-6) var(--space-8);
    list-style: none;
    font-size: 15px;
}
.price-card li
{
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}
.price-card .button
{
    width: 100%;
    margin-top: auto;
}
.pricing .small-note
{
    justify-content: center;
}
.questions
{
    max-width: 840px;
}
.questions h2
{
    text-align: center;
    margin-bottom: var(--space-10);
}
.questions details
{
    border-bottom: 1px solid rgb(45 23 77 / 18%);
}
summary
{
    list-style: none;
}
summary::-webkit-details-marker
{
    display: none;
}
.questions summary
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    gap: var(--space-4);
    padding-block: var(--space-5);
    font-size: 20px;
    font-weight: 600;
}
details summary svg
{
    transition: transform 120ms;
}
details[open] summary svg
{
    transform: rotate(45deg);
}
.questions details p
{
    max-width: 680px;
    font-size: 16px;
    color: var(--secondary);
    padding-bottom: var(--space-6);
}
.invitation
{
    background: var(--green);
    border-radius: var(--radius-band) var(--radius-band) 0 0;
    padding-block: 64px;
    text-align: center;
    position: relative;
}
.invitation h2
{
    max-width: 700px;
    margin-inline: auto;
}
.invitation p
{
    margin-top: var(--space-4);
}
.invitation-actions
{
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
}
.invitation-actions button
{
    background: var(--white);
    color: var(--ink);
}
.edge-pebbles
{
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.edge-pebbles i
{
    width: 60px;
    height: 45px;
    background: var(--yellow);
    border-radius: 46% 54% 48% 45%;
    box-shadow: var(--clay-shadow);
    position: absolute;
    left: var(--space-12);
    bottom: var(--space-10);
    transform: rotate(-20deg);
}
.edge-pebbles i:last-child
{
    left: auto;
    right: var(--space-12);
    top: var(--space-10);
    bottom: auto;
    background: var(--pink);
}
.site-footer
{
    padding-block: var(--space-10);
    display: flex;
    justify-content: space-between;
    gap: var(--space-8);
}
.site-footer p
{
    font-size: 13px;
    margin-top: var(--space-2);
}
.site-footer nav
{
    display: flex;
    gap: var(--space-6);
}
.credit
{
    display: flex;
    align-items: center;
    min-height: 44px;
    justify-content: flex-end;
    color: var(--secondary);
    font-size: 12px;
    text-underline-offset: var(--space-1);
}
dialog
{
    border: 0;
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius-card);
    padding: var(--space-8);
    width: min(540px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    box-shadow: var(--shadow);
}
dialog[open]
{
    animation: crossfade 120ms;
}
dialog::backdrop
{
    background: rgb(45 23 77 / 48%);
}
.dialog-header
{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.dialog-header h2
{
    font-size: 32px;
}
.dialog-header .eyebrow
{
    margin-bottom: var(--space-2);
}
.close-dialog
{
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--lilac);
}
.field-label, .routine-preferences legend
{
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: var(--space-2);
}
select
{
    width: 100%;
    min-height: 48px;
    padding: var(--space-3);
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--lilac);
    font-size: 16px;
}
.routine-preferences
{
    border: 0;
    padding: 0;
    margin: var(--space-5) 0;
}
.routine-preferences label
{
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 44px;
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-1);
    border-radius: 12px;
    background: var(--lilac);
    font-size: 14px;
}
.routine-preferences label:has(:checked)
{
    background: var(--yellow);
}
.routine-preferences input
{
    accent-color: var(--ink);
    width: 20px;
    height: 20px;
}
.routine-plan
{
    font-size: 13px;
    margin-block: var(--space-5);
}
.routine-plan strong
{
    display: block;
}
#routine-result
{
    padding: var(--space-6);
    border-radius: var(--radius-panel);
    background: var(--green);
}
#routine-result p
{
    margin-top: var(--space-4);
    font-size: 16px;
}
#routine-result button
{
    margin-top: var(--space-5);
}
.sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.float
{
    animation: floating 6s ease-in-out infinite;
}
.offscreen, .document-hidden .float
{
    animation-play-state: paused;
}
.revealed
{
    animation: reveal 350ms ease-out;
}
@keyframes floating
{
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes reveal
{
    from { opacity: .8; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes crossfade
{
    from { opacity: .65; }
    to { opacity: 1; }
}
@keyframes nudge
{
    25% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
}
@keyframes star
{
    0% { opacity: 0; transform: scale(.4); }
    45% { opacity: 1; transform: translateY(-8px) scale(1); }
    100% { opacity: 0; transform: translateY(-14px) scale(.5); }
}
@media (max-width: 1100px) and (min-width: 761px)
{
    h1 { font-size: 56px; }
    .desktop-nav { gap: var(--space-4); }
    .scene { left: -32px; width: 360px; }
    .scene img { width: 360px; }
    .parent-layout { grid-template-columns: 1.6fr 1fr; }
    .parents { padding: var(--space-6); }
}
@media (max-width: 760px)
{
    :root
    {
        --section-space: 56px;
    }
    body
    {
        font-size: 16px;
        line-height: 1.55;
    }
    .wrap
    {
        width: calc(100% - 40px);
    }
    h1
    {
        font-size: 42px;
        line-height: 1.04;
    }
    h2
    {
        font-size: 32px;
        line-height: 1.12;
    }
    h3
    {
        font-size: 24px;
    }
    .site-header
    {
        height: 64px;
        gap: var(--space-2);
    }
    .brand
    {
        font-size: 26px;
        gap: var(--space-2);
    }
    .desktop-nav, .header-cta
    {
        display: none;
    }
    .menu-button
    {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        min-height: 44px;
        padding: var(--space-2);
        background: transparent;
        font-size: 14px;
        font-weight: 700;
    }
    #mobile-navigation
    {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 230px;
        padding: var(--space-3);
        background: var(--white);
        border-radius: var(--radius-panel);
        box-shadow: var(--shadow);
        animation: crossfade 140ms;
    }
    #mobile-navigation a
    {
        min-height: 44px;
        padding: var(--space-2);
        font-size: 15px;
        font-weight: 600;
    }
    .hero
    {
        display: block;
        padding-top: var(--space-3);
        padding-bottom: 0;
    }
    .hero-copy
    {
        padding-top: 0;
        padding-right: 0;
    }
    .hero .eyebrow
    {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: var(--space-1);
    }
    .hero-description
    {
        margin-top: var(--space-3);
        font-size: 14px;
        line-height: 1.45;
    }
    .hero-actions
    {
        margin-block: var(--space-3) var(--space-2);
        gap: var(--space-3);
    }
    .hero-actions .button
    {
        padding-inline: var(--space-4);
    }
    .hero-actions .text-link
    {
        font-size: 12px;
        gap: var(--space-1);
    }
    .age-picker
    {
        margin-bottom: var(--space-3);
    }
    .age-picker span
    {
        min-width: 64px;
        padding: var(--space-2) var(--space-3);
    }
    .hero .small-note
    {
        font-size: 12px;
        line-height: 1.4;
    }
    .hero .age-picker
    {
        margin-bottom: var(--space-2);
    }
    .hero .age-picker legend
    {
        float: left;
        padding-top: var(--space-3);
        margin-right: var(--space-4);
        margin-bottom: 0;
    }
    .hero-stage
    {
        min-height: 430px;
        margin-top: var(--space-2);
        padding-bottom: var(--space-6);
    }
    .scene
    {
        width: 240px;
        height: 360px;
        top: 20px;
        left: 0;
    }
    .scene img
    {
        width: 240px;
        height: 300px;
        object-fit: contain;
    }
    .orb
    {
        width: 104px;
        height: 96px;
        left: 0;
        bottom: 0;
    }
    .arch
    {
        width: 94px;
        height: 112px;
        border-width: 24px;
        left: 0;
        bottom: 72px;
    }
    .phone
    {
        width: 236px;
        min-height: 416px;
        padding: var(--space-3) var(--space-2) var(--space-3);
        border-radius: 38px;
    }
    .phone-screen
    {
        min-height: 392px;
        padding: var(--space-3) 10px var(--space-3);
        border-radius: 28px;
    }
    .phone-brand
    {
        font-size: 19px;
    }
    .phone-subtitle
    {
        margin: 0;
    }
    .phone-tabs
    {
        margin-top: var(--space-2);
    }
    .progress
    {
        padding-block: var(--space-2) var(--space-1);
    }
    .lesson-art
    {
        height: 58px;
    }
    .sun
    {
        width: 32px;
        height: 32px;
        outline-width: 5px;
        outline-offset: 3px;
    }
    .sun::after
    {
        width: 12px;
        left: 10px;
        top: 14px;
    }
    .word-tiles
    {
        gap: var(--space-1);
        margin-top: var(--space-1);
    }
    .word-tile
    {
        font-size: 18px;
        padding-inline: var(--space-1);
    }
    .lesson-question
    {
        font-size: 12px;
        line-height: 1.4;
        margin-block: var(--space-1) var(--space-2);
    }
    .answers
    {
        gap: 6px;
    }
    .answer
    {
        font-size: 20px;
    }
    .feedback
    {
        min-height: 16px;
        margin-top: var(--space-2);
    }
    .pebble-groups
    {
        min-height: 80px;
    }
    .pebble-tray
    {
        grid-template-columns: repeat(2, 18px);
        gap: 5px;
        padding: 3px;
    }
    .pebble
    {
        width: 18px;
        height: 20px;
    }
    .equation
    {
        font-size: 25px;
        margin-block: var(--space-2);
    }
    .long-read .word-tile
    {
        font-size: 16px;
    }
    .long-read .lesson-art
    {
        display: none;
    }
    .section-band
    {
        margin-inline: 0;
        padding-block: var(--space-10);
        border-radius: var(--radius-card);
    }
    .section-band .wrap
    {
        width: calc(100% - 40px);
    }
    .section-top
    {
        display: block;
        margin-bottom: var(--space-5);
    }
    .section-top .age-picker
    {
        margin-top: var(--space-5);
    }
    .path-card
    {
        padding: var(--space-5);
    }
    .path-title h3
    {
        max-width: 210px;
    }
    .path-columns
    {
        display: block;
        margin-block: var(--space-5);
    }
    .path-columns article
    {
        min-height: 0;
        padding: 0 50px var(--space-5) 0;
        margin-bottom: var(--space-5);
        border: 0;
        border-bottom: 1px solid var(--line);
    }
    .path-columns article:last-child
    {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .path-drawing
    {
        position: absolute;
        right: 6px;
        top: 20px;
    }
    .drawing-1
    {
        right: 20px;
    }
    .path-columns h4
    {
        font-size: 22px;
    }
    .path-bottom
    {
        display: block;
    }
    .path-bottom a
    {
        margin-top: var(--space-3);
    }
    .play
    {
        display: block;
    }
    .play-art
    {
        padding: 0;
        margin-bottom: var(--space-6);
    }
    .play-block
    {
        padding: var(--space-5);
        margin-top: var(--space-4);
    }
    .parents
    {
        padding: var(--space-5);
        border-radius: var(--radius-card);
    }
    .parent-layout
    {
        display: block;
        margin-top: var(--space-6);
    }
    .dashboard
    {
        padding: var(--space-4);
    }
    .dashboard-heading h3
    {
        font-size: 22px;
    }
    .period-controls
    {
        display: flex;
    }
    .period-controls button
    {
        padding-inline: var(--space-2);
        flex: 1;
        font-size: 12px;
    }
    .metrics
    {
        gap: var(--space-1);
    }
    .metrics > div
    {
        padding: var(--space-2);
    }
    .metrics strong
    {
        font-size: 28px;
    }
    .chart
    {
        gap: var(--space-2);
    }
    .balance-labels
    {
        flex-wrap: wrap;
        font-size: 12px;
    }
    .next-step
    {
        padding: var(--space-5);
        margin-top: var(--space-4);
    }
    .safety-layout
    {
        display: flex;
        flex-direction: column;
    }
    .safety-art
    {
        margin-top: var(--space-6);
    }
    .principles
    {
        margin-top: var(--space-4);
    }
    .price-cards
    {
        display: block;
    }
    .price-card
    {
        padding: var(--space-6);
    }
    .price-card.family
    {
        margin-top: var(--space-4);
    }
    .price-card h3
    {
        font-size: 28px;
    }
    #family-price .price
    {
        font-size: 38px;
    }
    .questions h2
    {
        text-align: left;
        margin-bottom: var(--space-6);
    }
    .questions summary
    {
        font-size: 18px;
        padding-block: var(--space-4);
    }
    .invitation
    {
        padding-block: var(--space-10);
    }
    .invitation-actions
    {
        flex-direction: column;
        align-items: center;
    }
    .edge-pebbles i
    {
        width: 24px;
        height: 20px;
        left: var(--space-2);
        bottom: var(--space-4);
    }
    .edge-pebbles i:last-child
    {
        right: var(--space-2);
        top: var(--space-4);
    }
    .site-footer
    {
        display: block;
        padding-block: var(--space-8);
    }
    .site-footer nav
    {
        margin-top: var(--space-4);
        flex-wrap: wrap;
        gap: var(--space-2) var(--space-4);
    }
    .credit
    {
        justify-content: flex-start;
        margin-top: var(--space-4);
    }
    dialog
    {
        padding: var(--space-5);
    }
    .dialog-header h2
    {
        font-size: 28px;
    }
}
@media (max-width: 359px)
{
    .hero .age-picker legend
    {
        float: none;
        padding-top: 0;
        margin-bottom: var(--space-2);
    }
    .hero-actions
    {
        gap: var(--space-1);
    }
    .hero-actions .button
    {
        font-size: 13px;
        padding-inline: var(--space-3);
    }
    .hero-actions .text-link svg
    {
        display: none;
    }
    .scene
    {
        left: -24px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    *, *::before, *::after
    {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .stars
    {
        display: none;
    }
}
