.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
    .reveal.in { opacity: 1; transform: translateY(0); }
    @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

    /* ===================== Navbar (matches homepage) ===================== */
    .nav {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255, 249, 238, 0.92);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      max-width: 1180px; margin: 0 auto; padding: 12px 24px;
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
    }
    .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; color: var(--ink); }
    .brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
    .nav-links { display: flex; align-items: center; gap: 6px; }
    .nav-links a {
      padding: 10px 16px; border-radius: 100px; font-weight: 600; font-size: 15px;
      color: var(--ink-soft); transition: background .2s var(--ease), color .2s var(--ease);
    }
    .nav-links a:hover, .nav-links a.active { background: var(--sun-100); color: var(--sun-deep); }
    .nav-cta { display: flex; align-items: center; gap: 12px; }
    .nav-ghost { font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 10px 12px; }

    .burger { display: none; flex-direction: column; gap: 6px; width: 30px; height: 24px; justify-content: center; z-index: 101; }
    .burger span { width: 100%; height: 3px; background: var(--ink); border-radius: 4px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
    .burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .mobile-drawer {
      position: fixed; inset: 0; background: var(--canvas); z-index: 99;
      display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px;
      transform: translateX(100%); transition: transform 0.4s var(--ease);
    }
    .mobile-drawer.open { transform: translateX(0); }
    .mobile-drawer a { font-size: 22px; font-weight: 700; color: var(--ink); padding: 10px 20px; border-radius: 100px; }
    .mobile-drawer a:hover { background: var(--sun-100); }

    @media (max-width: 1024px) {
      .burger { display: flex; }
      .nav-links, .nav-cta { display: none; }
    }

    /* ===================== Buttons + chip ===================== */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 14px 28px; border-radius: 100px; font-weight: 700; font-size: 16px;
      transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
      white-space: nowrap;
    }
    .btn-primary { background: var(--sun); color: #fff; box-shadow: 0 4px 0 var(--sun-deep); }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sun-deep), var(--shadow-sm); }
    .btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sun-deep); }
    .btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: 0 4px 0 var(--sun-deep) !important; }
    .btn-outline { background: #fff; color: var(--ink); border: 2px solid var(--line); }
    .btn-outline:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }
    .btn-sm { padding: 10px 20px; font-size: 14px; }
    .btn-light { background: #fff; color: var(--grape); box-shadow: 0 4px 0 rgba(0,0,0,.12); }
    .btn-light:hover { transform: translateY(-2px); }

    .chip {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--white); border: 1px solid var(--line); border-radius: 100px;
      padding: 8px 16px; font-weight: 600; font-size: 13px; color: var(--ink-soft); box-shadow: var(--shadow-sm);
    }
    .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }

    /* ===================== Breadcrumb ===================== */
    .breadcrumb-strip { padding: 18px 0 0; }
    .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); flex-wrap: wrap; }
    .breadcrumb a { font-weight: 600; }
    .breadcrumb a:hover { color: var(--sky); }
    .breadcrumb span.sep { opacity: .5; }
    .breadcrumb span.current { color: var(--ink); font-weight: 700; }

    /* ===================== Intro hero ===================== */
    .pt-hero {
      padding: 44px 0 30px;
      background:
        radial-gradient(ellipse 70% 60% at 85% 40%, rgba(46,143,201,.16), transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(255,159,28,.14), transparent 55%),
        linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%);
      overflow: hidden;
    }
    .pt-hero-inner { text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
    .pt-hero .eyebrow {
      display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px;
      color: var(--grape); background: var(--grape-100); padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
    }
    .pt-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
    .pt-hero h1 .hl { color: var(--sun-deep); }
    .pt-hero p.lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 22px; }
    .pt-hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

    /* ===================== Quiz card wrapper ===================== */
    .pt-section { padding: 26px 0 60px; }
    .pt-panel {
      display: grid; grid-template-columns: 0.85fr 1.15fr;
      background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
      box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-height: 460px;
    }
    .pt-side {
      background: linear-gradient(160deg, var(--grape), #5C3FA0); color: #fff;
      padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; overflow: hidden;
    }
    .pt-side .blob { position: absolute; border-radius: 50%; opacity: .16; background: #fff; pointer-events: none; }
    .pt-side .blob.b1 { width: 200px; height: 200px; top: -50px; left: -50px; }
    .pt-side .blob.b2 { width: 150px; height: 150px; bottom: -40px; right: -30px; }
    .pt-side img { width: 100%; max-width: 190px; height: auto; margin: 0 auto 10px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); position: relative; z-index: 1; }
    .pt-side h3 { font-size: 21px; font-weight: 800; line-height: 1.5; position: relative; z-index: 1; }
    .pt-side p { opacity: .88; font-size: 14px; position: relative; z-index: 1; }
    .pt-progress-label { font-size: 12.5px; opacity: .8; margin-top: 6px; position: relative; z-index: 1; }
    .pt-progress { display: flex; gap: 6px; margin-top: 6px; position: relative; z-index: 1; }
    .pt-progress span { height: 6px; border-radius: 100px; flex: 1; background: rgba(255,255,255,.25); transition: background .3s var(--ease); }
    .pt-progress span.done { background: var(--sun); }

    .pt-main { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }

    /* ---- Start screen ---- */
    .pt-start { text-align: center; }
    .pt-start .big-emoji { font-size: 54px; margin-bottom: 14px; }
    .pt-start h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
    .pt-start p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }

    /* ---- Age select ---- */
    .age-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }
    .age-opt {
      display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 14px;
      border-radius: var(--radius-sm); border: 2px solid var(--line); font-weight: 700; font-size: 14.5px;
      transition: all .2s var(--ease);
    }
    .age-opt .emoji { font-size: 26px; }
    .age-opt:hover { border-color: var(--sky); background: var(--sky-100); transform: translateY(-2px); }
    .age-opt.selected { border-color: var(--grape); background: var(--grape-100); color: var(--grape); }

    /* ---- Question screen ---- */
    .pt-q-eyebrow { font-size: 12.5px; font-weight: 700; color: var(--sky); margin-bottom: 8px; }
    .pt-q { font-size: 19px; font-weight: 700; margin-bottom: 22px; line-height: 1.6; }
    .pt-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
    .pt-opt {
      display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
      border: 2px solid var(--line); font-weight: 600; font-size: 15px; cursor: pointer;
      transition: border-color .2s, background .2s, transform .2s;
    }
    .pt-opt:hover { border-color: var(--sky); background: var(--sky-100); transform: translateY(-2px); }
    .pt-opt.correct { border-color: var(--leaf) !important; background: var(--leaf-100) !important; }
    .pt-opt.wrong { border-color: var(--berry) !important; background: var(--berry-100) !important; }
    .pt-opt .opt-emoji {
      width: 36px; height: 36px; border-radius: 10px; background: var(--canvas-2);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px;
    }
    .pt-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
    .pt-feedback { font-weight: 700; font-size: 13.5px; color: var(--ink-soft); }

    /* ---- Result screen ---- */
    .pt-result { text-align: center; }
    .result-badge {
      width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center;
      justify-content: center; font-size: 30px; font-weight: 800; color: #fff;
      background: linear-gradient(135deg, var(--sun), var(--berry)); box-shadow: var(--shadow-md);
    }
    .pt-result h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
    .pt-result .level-name { font-size: 15px; font-weight: 700; color: var(--grape); margin-bottom: 14px; }
    .pt-result .desc { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; max-width: 460px; margin-inline: auto; }
    .result-stats { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
    .result-stats div { display: flex; flex-direction: column; align-items: center; }
    .result-stats b { font-size: 20px; font-weight: 800; color: var(--ink); }
    .result-stats span { font-size: 12px; color: var(--ink-soft); }
    .result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .result-retry { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--sky); }

    @media (max-width: 900px) {
      .pt-panel { grid-template-columns: 1fr; }
      .pt-side { padding: 30px 26px; }
      .pt-side img { max-width: 130px; }
    }
    @media (max-width: 560px) {
      .pt-main { padding: 30px 22px; }
      .pt-options, .age-grid { grid-template-columns: 1fr; }
      .result-stats { gap: 16px; }
    }

    /* ===================== CEFR levels strip ===================== */
    .levels-section { padding: 20px 0 60px; }
    .section-head { text-align: center; max-width: 620px; margin: 0 auto; }
    .section-head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin-bottom: 12px; }
    .section-head p { color: var(--ink-soft); font-size: 15.5px; }
    .levels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
    .level-card {
      background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px;
      box-shadow: var(--shadow-sm); text-align: center;
    }
    .level-card .tag {
      display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center;
      font-weight: 800; font-size: 15px; color: #fff; margin-bottom: 12px;
    }
    .level-card .tag--leaf { background: var(--leaf); }
    .level-card .tag--sky { background: var(--sky); }
    .level-card .tag--grape { background: var(--grape); }
    .level-card .tag--berry { background: var(--berry); }

    .pt-screen[hidden] { display: none !important; }

    .placement-child-pick {
      display: flex; flex-direction: column; gap: 8px; text-align: start; margin-bottom: 18px;
    }
    .placement-child-pick__label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
    .placement-child-pick__select {
      width: 100%; border: 2px solid var(--line); border-radius: var(--radius-sm);
      padding: 12px 14px; font: inherit; font-size: 14.5px; background: #fff; color: var(--ink);
    }

    .placement-intro__meta {
      display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px;
      margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-soft);
    }
    .placement-intro__meta strong { color: var(--grape); font-weight: 800; }

    .placement-questions-host { min-height: 120px; }
    .placement-error { color: var(--berry); font-size: 13.5px; font-weight: 700; margin-top: 12px; }
    .placement-step-pct { text-align: end; }
    .level-card h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; }
    .level-card p { font-size: 13px; color: var(--ink-soft); }
    @media (max-width: 860px) { .levels-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 480px) { .levels-grid { grid-template-columns: 1fr; } }

    /* ===================== FAQ ===================== */
    .faq-section { padding: 10px 0 60px; }
    .faq-list { max-width: 780px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 12px; }
    .faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 22px; }
    .faq-q { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .faq-q::-webkit-details-marker { display: none; }
    .faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease); color: var(--ink-soft); }
    details[open] .faq-q svg { transform: rotate(45deg); }
    .faq-a { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }

    /* ===================== CTA banner ===================== */
    .cta-banner {
      padding: 60px 0; text-align: center; color: #fff;
      background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(135deg, var(--grape), var(--sky));
    }
    .cta-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .cta-mascot { width: 100px; height: 100px; margin-bottom: 14px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.2)); }
    .cta-banner h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 12px; }
    .cta-banner p { opacity: .92; margin-bottom: 26px; font-size: 15.5px; }
    .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
    .cta-perks { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13px; opacity: .85; }
