.marketing-body {
    --magic-purple: #6f5bc7;
    --magic-purple-dark: #4b3a98;
    --magic-purple-soft: #f0ecff;
    --magic-mint: #dff5e7;
    --magic-green: #2d8b5a;
    --magic-gold: #f5bd45;
    --magic-peach: #fff0df;
    --magic-sky: #e8f7fb;
    --marketing-line: rgba(45, 57, 79, 0.1);
    color: #283247;
    background:
        radial-gradient(circle at 6% 18%, rgba(245, 189, 69, 0.13) 0 120px, transparent 122px),
        radial-gradient(circle at 94% 8%, rgba(111, 91, 199, 0.09) 0 160px, transparent 162px),
        #fffdf8;
}

.marketing-body main {
    overflow: hidden;
}

.marketing-body a,
.marketing-body button {
    -webkit-tap-highlight-color: transparent;
}

.marketing-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid transparent;
    background: rgba(255, 253, 248, 0.86);
    backdrop-filter: blur(18px);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.marketing-header.is-scrolled {
    border-bottom-color: var(--marketing-line);
    box-shadow: 0 8px 30px rgba(52, 52, 72, 0.07);
}

.marketing-nav-shell {
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

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

.magic-brand-mark {
    width: 49px;
    height: 49px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(111, 91, 199, 0.14);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(76, 59, 150, 0.12);
    transform: rotate(-3deg);
}

.magic-brand-mark svg {
    width: 39px;
    height: 39px;
}

.logo-book-left,
.logo-book-right {
    fill: var(--magic-mint);
    stroke: var(--magic-green);
    stroke-linejoin: round;
    stroke-width: 2.3;
}

.logo-book-right {
    fill: var(--magic-purple-soft);
    stroke: var(--magic-purple);
}

.logo-book-line {
    fill: none;
    stroke: #4d6871;
    stroke-linecap: round;
    stroke-width: 2;
}

.logo-star {
    fill: var(--magic-gold);
    stroke: #db8f31;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.magic-brand-copy {
    display: grid;
    line-height: 1.05;
}

.magic-brand-copy strong {
    color: #30483f;
    font-size: 1.21rem;
    letter-spacing: -0.035em;
}

.magic-brand-copy small {
    margin-top: 6px;
    color: #728079;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

.marketing-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.marketing-navigation > a,
.nav-text-button {
    padding: 9px 2px;
    border: 0;
    color: #566177;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.marketing-navigation > a:hover,
.marketing-navigation > a:focus-visible,
.nav-text-button:hover,
.nav-text-button:focus-visible {
    color: var(--magic-purple-dark);
}

.marketing-navigation .nav-signup-button {
    padding: 11px 20px;
    border-radius: 999px;
    color: #fff;
    background: var(--magic-purple);
    box-shadow: 0 9px 22px rgba(75, 58, 152, 0.22);
}

.marketing-navigation .nav-signup-button:hover,
.marketing-navigation .nav-signup-button:focus-visible {
    color: #fff;
    transform: translateY(-2px);
}

.nav-logout-form {
    margin: 0;
}

.marketing-menu-toggle {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--marketing-line);
    border-radius: 14px;
    background: #fff;
}

.marketing-menu-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: #344057;
    transition: transform 180ms ease, opacity 180ms ease;
}

.magic-hero {
    width: min(1200px, calc(100% - 40px));
    min-height: 690px;
    margin: 0 auto;
    padding: 68px 0 76px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
    align-items: center;
    gap: 54px;
}

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

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--magic-green);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.115em;
    text-transform: uppercase;
}

.hero-eyebrow {
    padding: 9px 13px;
    border: 1px solid rgba(45, 139, 90, 0.14);
    border-radius: 999px;
    background: rgba(223, 245, 231, 0.7);
}

.hero-eyebrow span {
    color: var(--magic-gold);
}

.hero-copy h1 {
    max-width: 650px;
    margin: 24px 0 20px;
    color: #273248;
    font-size: clamp(3.25rem, 5.55vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: -0.067em;
}

.hero-copy h1 em {
    position: relative;
    color: var(--magic-purple);
    font-style: normal;
    white-space: nowrap;
}

.hero-copy h1 em::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: -4px;
    left: 3px;
    height: 9px;
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M3 8c42-8 117-8 194 0' fill='none' stroke='%23f5bd45' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-subtitle {
    max-width: 610px;
    margin: 0;
    color: #5f6c80;
    font-size: clamp(1.06rem, 1.55vw, 1.25rem);
    line-height: 1.7;
}

.hero-actions,
.final-cta-actions {
    margin-top: 31px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.magic-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.magic-button:hover,
.magic-button:focus-visible {
    transform: translateY(-3px);
}

.magic-button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--magic-purple), #8772da);
    box-shadow: 0 13px 28px rgba(75, 58, 152, 0.24);
}

.magic-button-primary:hover,
.magic-button-primary:focus-visible {
    color: #fff;
    box-shadow: 0 17px 34px rgba(75, 58, 152, 0.3);
}

.magic-button-secondary {
    border-color: rgba(45, 57, 79, 0.12);
    color: #435068;
    background: rgba(255, 255, 255, 0.78);
}

.magic-button-secondary:hover,
.magic-button-secondary:focus-visible {
    background: #fff;
    box-shadow: 0 10px 24px rgba(49, 54, 74, 0.1);
}

.launch-note {
    margin: 18px 0 0;
    color: #6d7685;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-trust {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #617069;
    font-size: 0.77rem;
    font-weight: 800;
}

.hero-trust span::before {
    content: "✓";
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--magic-green);
    font-size: 0.63rem;
}

.hero-visual {
    min-width: 0;
}

.magic-stage {
    position: relative;
    height: 560px;
    overflow: hidden;
    border: 1px solid rgba(111, 91, 199, 0.12);
    border-radius: 46px 46px 90px 46px;
    background:
        radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.95) 0 52px, transparent 170px),
        linear-gradient(155deg, #f2efff 0%, #e7f8f2 53%, #fff3cf 100%);
    box-shadow:
        0 35px 80px rgba(69, 58, 118, 0.17),
        inset 0 0 0 10px rgba(255, 255, 255, 0.44);
    isolation: isolate;
}

.magic-stage::before,
.magic-stage::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.magic-stage::before {
    width: 330px;
    height: 330px;
    top: -170px;
    right: -95px;
    background: rgba(255, 255, 255, 0.55);
}

.magic-stage::after {
    width: 570px;
    height: 150px;
    right: -90px;
    bottom: -76px;
    background: rgba(74, 164, 111, 0.21);
    box-shadow: -260px 20px 0 rgba(124, 201, 217, 0.22);
}

.stage-cloud {
    position: absolute;
    z-index: 0;
    width: 75px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.stage-cloud::before,
.stage-cloud::after {
    content: "";
    position: absolute;
    bottom: 6px;
    border-radius: 50%;
    background: inherit;
}

.stage-cloud::before { width: 30px; height: 30px; left: 13px; }
.stage-cloud::after { width: 23px; height: 23px; right: 12px; }
.stage-cloud-one { top: 72px; left: 50px; }
.stage-cloud-two { top: 132px; right: 44px; transform: scale(0.72); }

.hero-letter {
    --start-x: 0px;
    --start-y: 0px;
    --end-x: 0px;
    --turn: 0deg;
    position: absolute;
    top: 30%;
    left: calc(50% - 33px);
    z-index: 4;
    width: 66px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(111, 91, 199, 0.17);
    border-radius: 20px;
    color: #3f356f;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 -6px 0 rgba(111, 91, 199, 0.09),
        0 14px 27px rgba(75, 58, 152, 0.15);
    font-size: 2.05rem;
    font-weight: 900;
    animation: gatherLetter 8.4s cubic-bezier(0.2, 0.72, 0.24, 1) infinite;
}

.hero-letter-p { --start-x: -196px; --start-y: -54px; --end-x: -108px; --turn: -13deg; background: #fff4c8; }
.hero-letter-a { --start-x: -96px; --start-y: 70px; --end-x: -36px; --turn: 10deg; animation-delay: 90ms; background: #e5f5ff; }
.hero-letter-t { --start-x: 100px; --start-y: -74px; --end-x: 36px; --turn: 12deg; animation-delay: 180ms; background: #e8f7e7; }
.hero-letter-o { --start-x: 196px; --start-y: 50px; --end-x: 108px; --turn: -10deg; animation-delay: 270ms; background: #ffeadc; }

.hero-wand {
    position: absolute;
    z-index: 6;
    width: 185px;
    height: auto;
    pointer-events: none;
    animation: wandSweep 8.4s ease-in-out infinite;
}

.wand-trail {
    fill: none;
    stroke: rgba(245, 189, 69, 0.68);
    stroke-dasharray: 5 11;
    stroke-linecap: round;
    stroke-width: 5;
}

.wand-stick { fill: #5a469f; }
.wand-star { fill: #ffd45f; stroke: #e69434; stroke-width: 2; }

.magic-spark {
    position: absolute;
    z-index: 3;
    color: #e8a42d;
    font-size: 1.3rem;
    animation: stageSparkle 2.2s ease-in-out infinite alternate;
}

.magic-spark-one { top: 19%; left: 28%; }
.magic-spark-two { top: 16%; right: 26%; color: var(--magic-purple); animation-delay: 430ms; }
.magic-spark-three { top: 48%; left: 12%; color: var(--magic-green); animation-delay: 800ms; }
.magic-spark-four { top: 47%; right: 12%; color: var(--magic-purple); animation-delay: 1.15s; }

.hero-duck-wrap {
    position: absolute;
    z-index: 2;
    right: 50%;
    bottom: 35px;
    width: min(78%, 365px);
    opacity: 0;
    transform: translateX(50%) translateY(35px) scale(0.5);
    animation: revealHeroDuck 8.4s cubic-bezier(0.2, 0.85, 0.32, 1.15) infinite;
}

.hero-duck {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
    filter: drop-shadow(0 22px 17px rgba(46, 90, 65, 0.18));
}

.duck-magic-ring {
    position: absolute;
    inset: 25% 4% 7%;
    border: 3px solid rgba(245, 189, 69, 0.64);
    border-radius: 50%;
    opacity: 0.7;
    animation: magicRing 1.35s ease-in-out infinite alternate;
}

.stage-caption {
    position: absolute;
    z-index: 7;
    right: 27px;
    bottom: 25px;
    min-width: 122px;
    padding: 11px 17px;
    border: 1px solid rgba(111, 91, 199, 0.13);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 25px rgba(61, 51, 104, 0.11);
    text-align: center;
    opacity: 0;
    animation: revealCaption 8.4s ease infinite;
}

.stage-caption span {
    display: block;
    color: #7a748b;
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stage-caption strong {
    display: block;
    margin-top: 1px;
    color: var(--magic-green);
    font-size: 1.45rem;
    letter-spacing: 0.12em;
}

.wonder-strip {
    width: min(1120px, calc(100% - 40px));
    min-height: 86px;
    margin: -8px auto 0;
    padding: 18px 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 1px solid rgba(45, 139, 90, 0.12);
    border-radius: 24px;
    background: rgba(241, 250, 243, 0.76);
}

.wonder-strip p {
    margin: 0;
    color: #50655d;
    font-size: 0.9rem;
    font-weight: 900;
}

.wonder-strip p span { margin-right: 5px; }
.wonder-arrow { color: #9ab1a7; font-weight: 900; }

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

.how-section {
    padding: 125px 0 118px;
}

.section-heading {
    max-width: 720px;
}

.section-heading-centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.demo-copy h2,
.parents-copy h2,
.final-cta h2,
.account-intro h1,
.info-page h1 {
    margin: 14px 0 17px;
    color: #293347;
    font-size: clamp(2.25rem, 4.2vw, 3.65rem);
    line-height: 1.06;
    letter-spacing: -0.052em;
}

.section-heading p,
.demo-copy > p,
.parents-copy > p {
    margin: 0;
    color: #647084;
    font-size: 1.04rem;
    line-height: 1.72;
}

.steps-grid {
    position: relative;
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.steps-grid::before {
    content: "";
    position: absolute;
    top: 58px;
    right: 8%;
    left: 8%;
    height: 2px;
    z-index: -1;
    background: repeating-linear-gradient(90deg, rgba(111, 91, 199, 0.25) 0 7px, transparent 7px 15px);
}

.step-card {
    position: relative;
    min-height: 260px;
    padding: 28px 24px 25px;
    border: 1px solid rgba(45, 57, 79, 0.09);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(50, 52, 72, 0.08);
    transition: transform 190ms ease, box-shadow 190ms ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(50, 52, 72, 0.12);
}

.step-number {
    position: absolute;
    top: 19px;
    right: 20px;
    color: rgba(45, 57, 79, 0.22);
    font-size: 1rem;
    font-weight: 900;
}

.step-icon {
    width: 67px;
    height: 67px;
    display: grid;
    place-items: center;
    border-radius: 21px;
    background: var(--magic-sky);
    box-shadow: inset 0 0 0 1px rgba(49, 148, 173, 0.1);
    font-size: 1.8rem;
}

.step-build .step-icon { background: #fff3c9; }
.step-discover .step-icon { background: var(--magic-mint); }
.step-magic .step-icon { background: var(--magic-purple-soft); }

.step-card h3 {
    margin: 24px 0 9px;
    color: #354158;
    font-size: 1.28rem;
}

.step-card p {
    margin: 0;
    color: #687487;
    font-size: 0.91rem;
    line-height: 1.62;
}

.demo-section {
    padding: 102px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
    align-items: center;
    gap: 75px;
}

.demo-sequence-list {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.demo-sequence-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #4f5c70;
    font-weight: 800;
}

.demo-sequence-list li > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--magic-purple);
    font-size: 0.72rem;
}

.demo-sequence-list small {
    padding: 4px 8px;
    border-radius: 7px;
    color: var(--magic-green);
    background: var(--magic-mint);
    font-size: 0.8rem;
}

.demo-play-button {
    margin-top: 27px;
}

.text-link,
.account-switch a,
.account-legal a,
.back-link {
    color: var(--magic-purple-dark);
    font-weight: 900;
    text-underline-offset: 4px;
}

.demo-copy .text-link {
    margin-top: 19px;
    display: table;
    font-size: 0.88rem;
}

.demo-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(111, 91, 199, 0.13);
    border-radius: 38px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(59, 51, 101, 0.16);
}

.demo-card-topline {
    min-height: 66px;
    padding: 16px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid rgba(45, 57, 79, 0.07);
    color: #536078;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-sound-pill {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--magic-purple-dark);
    background: var(--magic-purple-soft);
    letter-spacing: 0;
    text-transform: none;
}

.demo-scene {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: start center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.92), transparent 150px),
        linear-gradient(165deg, #eef0ff, #e8f7ed 60%, #fff4d7);
}

.demo-scene::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -72px;
    left: -10%;
    height: 145px;
    border-radius: 50% 50% 0 0;
    background: rgba(105, 190, 168, 0.24);
}

.demo-blocks {
    position: relative;
    z-index: 5;
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: gap 570ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

.demo-block {
    width: 98px;
    height: 82px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(111, 91, 199, 0.14);
    border-radius: 21px;
    color: #344058;
    background: #fff3be;
    box-shadow: 0 13px 25px rgba(71, 61, 108, 0.13);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    transition:
        width 570ms cubic-bezier(0.2, 0.8, 0.25, 1),
        border-radius 570ms ease,
        transform 180ms ease,
        color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.demo-to { background: #ddf0fb; }

.demo-plus {
    width: 25px;
    overflow: hidden;
    color: #918aa4;
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    opacity: 1;
    transition: width 420ms ease, opacity 220ms ease;
}

.demo-section.is-reading-pa .demo-pa,
.demo-section.is-reading-to .demo-to {
    color: #5b4511;
    background: #ffeb91;
    box-shadow:
        0 0 0 7px rgba(245, 189, 69, 0.18),
        0 0 34px rgba(245, 189, 69, 0.55),
        0 15px 29px rgba(103, 80, 24, 0.18);
    animation: demoUnitGlow 620ms ease-in-out infinite alternate;
}

.demo-section.is-joining .demo-blocks {
    gap: 0;
}

.demo-section.is-joining .demo-plus {
    width: 0;
    opacity: 0;
}

.demo-section.is-joining .demo-block {
    width: 76px;
    border-color: var(--magic-green);
    border-radius: 0;
    color: #27744a;
    background: #e6f6e6;
    letter-spacing: 0;
    box-shadow: 0 14px 30px rgba(45, 139, 90, 0.2);
}

.demo-section.is-joining .demo-pa { border-radius: 19px 0 0 19px; border-right-width: 1px; }
.demo-section.is-joining .demo-to { border-radius: 0 19px 19px 0; }

.demo-section.is-word-ready .demo-blocks {
    animation: demoWordPulse 720ms cubic-bezier(0.2, 0.85, 0.32, 1.25) both;
}

.demo-duck-wrap {
    position: absolute;
    z-index: 2;
    right: 50%;
    bottom: 17px;
    width: min(67%, 310px);
    opacity: 0;
    transform: translateX(50%) translateY(35px) scale(0.55);
    transition: opacity 520ms ease, transform 680ms cubic-bezier(0.2, 0.85, 0.32, 1.2);
}

.demo-duck {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
}

.demo-magic-burst {
    position: absolute;
    inset: 15% -4% 4%;
    border: 4px dotted rgba(245, 189, 69, 0.72);
    border-radius: 50%;
    animation: demoBurst 1.2s ease-in-out infinite alternate;
}

.demo-section.is-duck-visible .demo-duck-wrap {
    opacity: 1;
    transform: translateX(50%) translateY(0) scale(1);
}

.demo-star {
    position: absolute;
    z-index: 1;
    color: var(--magic-gold);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 300ms ease, transform 600ms ease;
}

.demo-star-one { top: 41%; left: 18%; transform: rotate(-30deg) scale(0.3); }
.demo-star-two { top: 35%; right: 18%; transform: rotate(35deg) scale(0.3); color: var(--magic-purple); }
.demo-section.is-duck-visible .demo-star { opacity: 1; transform: rotate(0) scale(1); }

.demo-feedback {
    min-height: 78px;
    padding: 17px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-feedback-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--magic-purple-soft);
}

.demo-feedback p {
    margin: 0;
    color: #526077;
    font-size: 0.87rem;
    font-weight: 800;
}

.parents-section {
    margin-top: 60px;
    padding: 120px 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.75) 0 120px, transparent 122px),
        linear-gradient(145deg, #edf8ef, #f6f3ff);
}

.parents-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
    align-items: center;
    gap: 85px;
}

.parents-copy > p + p {
    margin-top: 15px;
}

.magic-button-dark {
    margin-top: 27px;
    color: #fff;
    background: #314c42;
    box-shadow: 0 13px 27px rgba(38, 70, 57, 0.2);
}

.learning-card {
    padding: 34px;
    border: 1px solid rgba(45, 57, 79, 0.09);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.87);
    box-shadow: 0 25px 60px rgba(50, 65, 73, 0.11);
}

.learning-card h3 {
    margin: 0 0 24px;
    color: #344359;
    font-size: 1.24rem;
}

.learning-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    list-style: none;
}

.learning-list li {
    min-height: 61px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 17px;
    color: #536177;
    background: #f8faf7;
    font-size: 0.84rem;
    font-weight: 800;
}

.learning-list li > span {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--magic-purple-dark);
    background: var(--magic-purple-soft);
    font-size: 0.68rem;
    font-weight: 900;
}

.adult-account-note {
    margin-top: 20px;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(45, 139, 90, 0.13);
    border-radius: 18px;
    color: #52685f;
    background: var(--magic-mint);
}

.adult-account-note > span { font-size: 1.35rem; }
.adult-account-note p { margin: 0; font-size: 0.82rem; line-height: 1.5; }
.adult-account-note strong { display: block; color: #2c644b; }

.final-cta {
    position: relative;
    margin-top: 120px;
    margin-bottom: 120px;
    padding: 72px 55px;
    overflow: hidden;
    border-radius: 42px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 15%, rgba(255, 255, 255, 0.16) 0 100px, transparent 102px),
        linear-gradient(135deg, #51409f, #7862c8 55%, #397c6c);
    box-shadow: 0 30px 70px rgba(75, 58, 152, 0.24);
    text-align: center;
}

.final-cta::before,
.final-cta::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 110px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
}

.final-cta::before { left: -30px; }
.final-cta::after { right: -20px; }
.final-cta .section-kicker { color: #dfd8ff; }

.final-cta h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
    color: #fff;
}

.final-cta > p {
    position: relative;
    z-index: 1;
    max-width: 670px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
}

.final-cta-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
}

.magic-button-light {
    color: var(--magic-purple-dark);
    background: #fff;
    box-shadow: 0 14px 30px rgba(38, 28, 86, 0.2);
}

.final-cta-actions > span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.79rem;
    font-weight: 800;
}

.final-cta-sparkles span {
    position: absolute;
    color: #ffd666;
    animation: stageSparkle 1.8s ease-in-out infinite alternate;
}

.final-cta-sparkles span:nth-child(1) { top: 25px; left: 8%; }
.final-cta-sparkles span:nth-child(2) { top: 55px; right: 10%; animation-delay: 600ms; }
.final-cta-sparkles span:nth-child(3) { bottom: 38px; left: 19%; animation-delay: 950ms; }

.marketing-footer {
    border-top: 1px solid rgba(45, 57, 79, 0.08);
    background: #f6f4ed;
}

.marketing-footer-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 62px 0 43px;
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.8fr;
    gap: 70px;
}

.magic-brand-footer .magic-brand-mark {
    box-shadow: none;
}

.footer-brand-column > p {
    max-width: 390px;
    margin: 19px 0 0;
    color: #68746e;
    font-size: 0.86rem;
}

.footer-link-column {
    display: grid;
    align-content: start;
    gap: 11px;
}

.footer-link-column strong {
    margin-bottom: 5px;
    color: #3c4b4e;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-link-column a {
    color: #68746e;
    font-size: 0.86rem;
    text-decoration: none;
}

.footer-link-column a:hover,
.footer-link-column a:focus-visible {
    color: var(--magic-purple-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(45, 57, 79, 0.08);
}

.footer-bottom p {
    margin: 0;
    color: #7b837f;
    font-size: 0.74rem;
}

.account-body,
.info-body {
    background:
        radial-gradient(circle at 10% 22%, rgba(245, 189, 69, 0.13) 0 130px, transparent 132px),
        radial-gradient(circle at 90% 72%, rgba(111, 91, 199, 0.12) 0 180px, transparent 182px),
        #fbfaf5;
}

.account-page {
    width: min(1060px, calc(100% - 40px));
    min-height: calc(100vh - 82px);
    margin: 0 auto;
    padding: 76px 0 95px;
    display: grid;
    grid-template-columns: minmax(0, 0.83fr) minmax(420px, 1.17fr);
    align-items: center;
    gap: 78px;
}

.account-intro h1 {
    font-size: clamp(2.65rem, 4.5vw, 4.15rem);
}

.account-intro > p {
    margin: 0;
    color: #667286;
    font-size: 1.02rem;
    line-height: 1.7;
}

.account-intro ul {
    margin: 27px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.account-intro li {
    display: flex;
    gap: 10px;
    color: #506158;
    font-size: 0.88rem;
    font-weight: 800;
}

.account-intro li span {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--magic-green);
    font-size: 0.65rem;
}

.account-form-card {
    padding: 37px;
    border: 1px solid rgba(45, 57, 79, 0.09);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 68px rgba(58, 54, 82, 0.14);
}

.account-form-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-form-heading > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--magic-purple-soft);
    font-size: 1.55rem;
}

.account-form-heading small {
    color: var(--magic-green);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.account-form-heading h2 {
    margin: 1px 0 0;
    color: #354056;
    font-size: 1.55rem;
}

.account-form {
    margin-top: 29px;
    display: grid;
    gap: 17px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field > label {
    color: #49566b;
    font-size: 0.8rem;
    font-weight: 900;
}

.form-field input {
    width: 100%;
    height: 51px;
    padding: 0 15px;
    border: 1.5px solid #dfe1e7;
    border-radius: 14px;
    color: #303b50;
    background: #fdfdfc;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input:focus {
    border-color: var(--magic-purple);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(111, 91, 199, 0.1);
}

.form-field.has-error input {
    border-color: #c95d5d;
}

.field-help {
    color: #7b8492;
    font-size: 0.7rem;
    line-height: 1.45;
}

.field-help ul {
    margin: 4px 0 0;
    padding-left: 17px;
}

.field-error,
.form-errors,
.form-errors ul {
    margin: 0;
    padding: 0;
    color: #a83c3c;
    font-size: 0.75rem;
    font-weight: 800;
    list-style: none;
}

.form-errors {
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffebeb;
}

.checkbox-field {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 9px;
}

.checkbox-field input {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    accent-color: var(--magic-purple);
}

.checkbox-field label {
    color: #576377;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.5;
}

.checkbox-field .field-error {
    grid-column: 2;
}

.account-submit {
    width: 100%;
    margin-top: 2px;
}

.account-switch {
    margin: 21px 0 0;
    color: #737c8c;
    font-size: 0.81rem;
    text-align: center;
}

.account-legal {
    margin: 16px 0 0;
    color: #858c96;
    font-size: 0.67rem;
    line-height: 1.5;
    text-align: center;
}

.info-page {
    width: min(780px, calc(100% - 40px));
    min-height: 65vh;
    margin: 0 auto;
    padding: 86px 0 110px;
}

.back-link {
    margin-bottom: 40px;
    display: inline-flex;
    gap: 8px;
    font-size: 0.81rem;
}

.info-page h1 {
    font-size: clamp(2.55rem, 5vw, 4.1rem);
}

.info-summary {
    margin: 0;
    color: #657184;
    font-size: 1.12rem;
    line-height: 1.65;
}

.info-content {
    margin-top: 38px;
    padding: 30px 32px;
    border: 1px solid rgba(45, 57, 79, 0.09);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 45px rgba(54, 55, 75, 0.08);
}

.info-content p {
    margin: 0;
    color: #566276;
    line-height: 1.75;
}

.info-content p + p { margin-top: 19px; }

.info-review-note {
    margin-top: 18px;
    padding: 15px 17px;
    display: flex;
    gap: 10px;
    border-radius: 16px;
    color: #6b624f;
    background: #fff3d7;
    font-size: 0.76rem;
    line-height: 1.55;
}

@keyframes gatherLetter {
    0%, 13% {
        opacity: 0.9;
        transform: translate(var(--start-x), var(--start-y)) rotate(var(--turn)) scale(0.94);
    }
    19% { opacity: 1; transform: translate(var(--start-x), calc(var(--start-y) - 8px)) rotate(var(--turn)) scale(1.04); }
    39%, 77% { opacity: 1; transform: translate(var(--end-x), 0) rotate(0) scale(1); }
    85%, 100% { opacity: 0; transform: translate(var(--end-x), 9px) rotate(0) scale(0.92); }
}

@keyframes wandSweep {
    0%, 8% { opacity: 0; transform: translate(-55px, 330px) rotate(-12deg) scale(0.75); }
    15% { opacity: 1; }
    34% { opacity: 1; transform: translate(210px, 125px) rotate(2deg) scale(1); }
    48% { opacity: 0; transform: translate(355px, 30px) rotate(9deg) scale(0.85); }
    100% { opacity: 0; transform: translate(355px, 30px) rotate(9deg) scale(0.85); }
}

@keyframes revealHeroDuck {
    0%, 42% { opacity: 0; transform: translateX(50%) translateY(35px) scale(0.5); }
    54% { opacity: 1; transform: translateX(50%) translateY(0) scale(1.04); }
    62% { opacity: 1; transform: translateX(50%) translateY(-8px) scale(1); }
    72% { opacity: 1; transform: translateX(50%) translateY(0) scale(1); }
    90% { opacity: 1; transform: translateX(50%) translateY(-4px) scale(1); }
    98%, 100% { opacity: 0; transform: translateX(50%) translateY(14px) scale(0.94); }
}

@keyframes revealCaption {
    0%, 48% { opacity: 0; transform: translateY(8px); }
    58%, 90% { opacity: 1; transform: translateY(0); }
    98%, 100% { opacity: 0; transform: translateY(6px); }
}

@keyframes stageSparkle {
    from { opacity: 0.35; transform: rotate(-8deg) scale(0.78); }
    to { opacity: 1; transform: rotate(8deg) scale(1.15); }
}

@keyframes magicRing {
    from { opacity: 0.3; transform: rotate(-3deg) scale(0.94); }
    to { opacity: 0.78; transform: rotate(3deg) scale(1.04); }
}

@keyframes demoUnitGlow {
    from { transform: translateY(-2px) scale(1.02); }
    to { transform: translateY(-7px) scale(1.08); }
}

@keyframes demoWordPulse {
    0% { transform: scale(0.94); }
    58% { transform: scale(1.09); }
    100% { transform: scale(1); }
}

@keyframes demoBurst {
    from { opacity: 0.32; transform: rotate(-3deg) scale(0.94); }
    to { opacity: 0.75; transform: rotate(4deg) scale(1.05); }
}

@media (max-width: 1040px) {
    .marketing-navigation { gap: 17px; }
    .magic-hero { grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr); gap: 35px; }
    .magic-stage { height: 520px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid::before { display: none; }
    .demo-section { gap: 45px; }
    .parents-shell { gap: 48px; }
}

@media (max-width: 820px) {
    .marketing-nav-shell { min-height: 74px; }
    .marketing-menu-toggle { display: grid; }

    .marketing-navigation {
        position: absolute;
        top: calc(100% + 8px);
        right: 20px;
        left: 20px;
        padding: 14px;
        display: grid;
        gap: 3px;
        border: 1px solid var(--marketing-line);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 50px rgba(44, 46, 67, 0.16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-9px);
        transition: opacity 170ms ease, visibility 170ms ease, transform 170ms ease;
    }

    .marketing-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .marketing-navigation > a,
    .nav-text-button {
        width: 100%;
        padding: 12px 13px;
        border-radius: 12px;
        text-align: left;
    }

    .marketing-navigation .nav-signup-button { text-align: center; }

    .marketing-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .marketing-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .marketing-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .magic-hero {
        padding-top: 55px;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-copy { text-align: center; }
    .hero-subtitle { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .magic-stage { width: min(590px, 100%); margin-inline: auto; }

    .demo-section,
    .parents-shell,
    .account-page {
        grid-template-columns: 1fr;
    }

    .demo-section { gap: 46px; }
    .parents-shell { gap: 42px; }
    .account-page { max-width: 650px; gap: 43px; }
    .account-intro { text-align: center; }
    .account-intro ul { max-width: 410px; margin-inline: auto; text-align: left; }

    .marketing-footer-shell {
        grid-template-columns: 1.4fr 0.8fr 0.9fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .marketing-nav-shell,
    .magic-hero,
    .section-shell,
    .wonder-strip,
    .marketing-footer-shell,
    .footer-bottom,
    .account-page,
    .info-page {
        width: min(100% - 28px, 1160px);
    }

    .magic-brand-mark { width: 44px; height: 44px; }
    .magic-brand-mark svg { width: 35px; height: 35px; }
    .magic-brand-copy strong { font-size: 1.06rem; }
    .magic-brand-copy small { font-size: 0.58rem; }

    .magic-hero { min-height: 0; padding: 46px 0 62px; }
    .hero-copy h1 { margin-top: 20px; font-size: clamp(2.65rem, 13.3vw, 4rem); }
    .hero-subtitle { font-size: 0.98rem; }
    .hero-actions { display: grid; }
    .hero-actions .magic-button { width: 100%; }
    .launch-note { line-height: 1.5; }
    .hero-trust { gap: 7px 12px; }
    .hero-trust span { font-size: 0.7rem; }

    .magic-stage { height: 445px; border-radius: 33px 33px 65px 33px; }
    .hero-letter { top: 26%; width: 54px; height: 61px; border-radius: 16px; font-size: 1.65rem; }
    .hero-letter-p { --start-x: -140px; --start-y: -36px; --end-x: -87px; }
    .hero-letter-a { --start-x: -72px; --start-y: 65px; --end-x: -29px; }
    .hero-letter-t { --start-x: 71px; --start-y: -55px; --end-x: 29px; }
    .hero-letter-o { --start-x: 139px; --start-y: 46px; --end-x: 87px; }
    .hero-wand { width: 150px; }
    .hero-duck-wrap { width: min(78%, 310px); bottom: 22px; }
    .stage-caption { right: 16px; bottom: 14px; min-width: 105px; padding: 8px 12px; }

    .wonder-strip { padding: 19px; display: grid; justify-items: start; gap: 8px; }
    .wonder-arrow { display: none; }

    .how-section { padding: 88px 0 72px; }
    .section-heading h2, .demo-copy h2, .parents-copy h2, .final-cta h2 { font-size: 2.25rem; }
    .steps-grid { margin-top: 38px; grid-template-columns: 1fr; }
    .step-card { min-height: 0; padding: 23px; }
    .step-card h3 { margin-top: 19px; }

    .demo-section { padding: 70px 0; }
    .demo-card { border-radius: 27px; }
    .demo-card-topline { padding-inline: 16px; font-size: 0.61rem; }
    .demo-scene { min-height: 360px; }
    .demo-block { width: 83px; height: 73px; font-size: 1.75rem; }
    .demo-section.is-joining .demo-block { width: 67px; }
    .demo-play-button { width: 100%; }

    .parents-section { margin-top: 20px; padding: 82px 0; }
    .learning-card { padding: 24px 18px; border-radius: 27px; }
    .learning-list { grid-template-columns: 1fr; }

    .final-cta { margin-top: 78px; margin-bottom: 78px; padding: 57px 21px; border-radius: 31px; }
    .final-cta-actions { display: grid; }
    .final-cta-actions .magic-button { width: 100%; }

    .marketing-footer-shell { padding-top: 48px; grid-template-columns: 1fr 1fr; }
    .footer-brand-column { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }

    .account-page { padding: 52px 0 76px; }
    .account-intro h1 { font-size: 2.7rem; }
    .account-form-card { padding: 26px 19px; border-radius: 27px; }
    .info-page { padding: 58px 0 80px; }
    .info-content { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-body *,
    .marketing-body *::before,
    .marketing-body *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-letter { opacity: 1; animation: none !important; }
    .hero-letter-p { transform: translate(var(--end-x), 0); }
    .hero-letter-a { transform: translate(var(--end-x), 0); }
    .hero-letter-t { transform: translate(var(--end-x), 0); }
    .hero-letter-o { transform: translate(var(--end-x), 0); }
    .hero-wand { display: none; }
    .hero-duck-wrap { opacity: 1; transform: translateX(50%) translateY(0) scale(1); animation: none !important; }
    .stage-caption { opacity: 1; transform: none; animation: none !important; }
}
