/* Compact phone layout restored from the first Cybox design.
   Append after polish.css and showcase.css. Desktop sizes are unchanged. */
@media (max-width: 699px) {
  :root {
    --title-xl: 2.75rem;
    --title-lg: 2.25rem;
    --title-md: 1.875rem;
    --text-base: 1rem;
    --text-small: .8125rem;
    --text-lead: 1rem;
    --section-space: 64px;
  }
  .container { width: calc(100% - 40px); }
  .header-shell { padding-top: 16px; }
  .site-header { width: calc(100% - 32px); min-height: 56px; gap: 10px; padding: 6px 7px 6px 14px; }
  .brand-original { gap: 7px; font-size: 1.125rem; }
  .brand-original small { font-size: .75rem; line-height: 1.2; letter-spacing: .08em; margin-top: 2px; }
  .brand-badge { width: 31px; height: 33px; border-radius: 8px; padding: 4px; }
  .header-actions { gap: 5px; }
  .button-small { min-height: 44px; padding: 9px 14px; font-size: .8125rem; }
  .menu-toggle { width: 44px; height: 44px; }
  .mobile-nav { font-size: .9375rem; }
  .hero { gap: 30px; padding-block: 34px 42px; min-height: 0; }
  .hero-copy { max-width: 440px; padding: 0; }
  .hero h1 { font-size: var(--title-xl); line-height: 1.08; margin: 0 0 20px; }
  .hero-description { max-width: 380px; font-size: .9375rem; line-height: 1.7; }
  .hero-actions { max-width: 380px; gap: 9px; margin: 24px auto 0; }
  .hero-actions .button { font-size: .9375rem; min-height: 53px; }
  .hero-reassurance { font-size: .75rem; margin-top: 16px; }
  .demo-wrap { max-width: 440px; }
  .demo-card { min-height: 0; padding: 24px; border-radius: 28px; }
  .demo-topline { gap: 8px; }
  .demo-topline .mini-brand, .demo-step { font-size: .75rem; }
  .demo-title { font-size: 1.375rem; }
  .demo-instruction { font-size: .875rem; line-height: 1.6; margin-bottom: 14px; }
  .demo-progress { margin-block: 18px 16px; }
  .demo-code { font-size: .875rem; line-height: 1.75; padding: 16px 14px; min-height: 114px; }
  .demo-options { gap: 7px; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .demo-option { min-height: 48px; font-size: .875rem; padding-inline: 6px; }
  .demo-feedback { font-size: .8125rem; line-height: 1.55; min-height: 0; }
  .demo-next { font-size: .875rem; min-height: 46px; }
  .demo-footnote, .demo-caption { font-size: .75rem; line-height: 1.6; }
  .demo-footnote .status-dot { margin-top: 6px; }
  .facts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding-top: 23px; }
  .fact { display: block; padding: 18px 8px; text-align: center; border-radius: 22px; }
  .fact > .icon { width: 22px; height: 22px; margin: 0 auto 10px; }
  .fact p { font-size: .875rem; line-height: 1.45; }
  .fact span { font-size: .75rem; line-height: 1.55; margin-top: 6px; }
  .section-heading { margin-bottom: 35px; }
  .eyebrow, .step-kicker, .section-heading .eyebrow, .hero .eyebrow { font-size: .75rem; line-height: 1.5; letter-spacing: .06em; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: .9375rem; margin-top: 17px; }
  .feature-row, .feature-reverse { gap: 26px; margin-top: 44px; }
  .feature-copy > p { font-size: .9375rem; line-height: 1.75; margin-top: 15px; }
  .feature-copy > p + p { margin-top: 12px; }
  .feature-copy > .inline-link { margin-top: 18px; }
  .inline-link { font-size: .875rem; }
  .feature-visual { border-radius: 25px; }
  .practice-visual, .feedback-visual { min-height: 0; aspect-ratio: auto; padding: 24px; }
  .visual-tag { font-size: .75rem; margin-bottom: 12px; }
  .editor-top { padding: 10px 12px; font-size: .75rem; }
  .editor-lines { font-size: .8125rem; line-height: 1.85; padding: 14px 10px; }
  .editor-lines p > span { width: 20px; }
  .hint-bubble { gap: 10px; padding: 11px 12px; margin: 12px 0 0; }
  .hint-bubble p { font-size: .8125rem; line-height: 1.6; }
  .hint-icon { width: 29px; height: 29px; border-radius: 9px; }
  .sample-answer { font-size: .75rem; margin-top: 13px; }
  .feedback-card { padding: 20px; }
  .feedback-author strong { font-size: .875rem; }
  .feedback-author div > span { font-size: .75rem; line-height: 1.5; }
  .feedback-card > p { font-size: .875rem; margin-top: 16px; }
  .feedback-action { font-size: .75rem; padding: 11px; }
  .progress-note { padding: 12px 14px; margin-top: 16px; gap: 10px; }
  .progress-note strong { font-size: .875rem; }
  .progress-note div > span { font-size: .75rem; }
  .photo-badge { left: 14px; bottom: 14px; max-width: calc(100% - 28px); font-size: .75rem; line-height: 1.45; padding: 9px 12px; border-radius: 16px; }
  .photo-badge .icon { width: 17px; height: 17px; }
  .marathon-board { padding: 15px; border-radius: 27px; }
  .day-tabs { gap: 6px; padding: 5px; }
  .day-tab { min-width: 110px; min-height: 65px; padding: 10px 13px; font-size: .8125rem; }
  .day-tab > span { font-size: .75rem; }
  .day-content { gap: 25px; padding: 28px 7px; }
  .day-label { font-size: .75rem; margin-bottom: 13px; }
  .day-panel { min-height: 0; }
  .day-panel h3 { font-size: 1.875rem; }
  .day-panel > p { font-size: .9375rem; margin-top: 17px; }
  .day-result { font-size: .8125rem; margin-top: 19px; }
  .game-preview { min-height: 290px; padding: 20px; }
  .game-label, .game-preview > p { font-size: .75rem; }
  .marathon-bottom { gap: 18px; padding: 22px 5px 7px; }
  .marathon-bottom p > strong { font-size: 1.0625rem; }
  .marathon-bottom p > span { font-size: .8125rem; max-width: 290px; }
  .marathon-bottom .button { min-height: 53px; font-size: .9375rem; }
  .section-note { font-size: .8125rem; line-height: 1.65; margin-top: 18px; }
  .parent-grid { gap: 13px; }
  .parent-card { padding: 24px; border-radius: 23px; }
  .parent-number { font-size: 1.25rem; margin-bottom: 12px; }
  .parent-card h3 { font-size: 1.125rem; }
  .parent-card p { font-size: .875rem; line-height: 1.75; margin-top: 9px; }
  .teacher-row { gap: 28px; margin-top: 50px; }
  .teacher-copy .eyebrow { font-size: .75rem; margin-bottom: 14px; }
  .teacher-copy > p:not(.eyebrow):not(.teacher-name):not(.teacher-role) { font-size: .9375rem; margin-top: 19px; }
  .teacher-name { font-size: 1rem; margin-top: 22px; }
  .teacher-role { font-size: .8125rem; }
  .course-info, .course-purchase { padding: 26px; }
  .course-info h3 { font-size: 1.875rem; }
  .course-summary { font-size: .9375rem; }
  .course-chip { font-size: .75rem; border-radius: 14px; }
  .course-metrics { gap: 10px; margin-top: 24px; padding-bottom: 22px; }
  .course-metrics strong { font-size: 1.875rem; }
  .course-metrics span { font-size: .75rem; }
  .check-list { gap: 12px; margin-top: 22px; }
  .check-list li { font-size: .875rem; }
  .price { font-size: 2.875rem; }
  .price-label, .purchase-note { font-size: .8125rem; }
  .installments { font-size: .9375rem; }
  .small-link { font-size: .75rem; }
  .course-purchase > .button { min-height: 53px; font-size: .9375rem; }
  .curriculum-details summary { font-size: .875rem; padding-block: 18px; }
  .curriculum-grid p { font-size: .875rem; }
  .project-row div > p:not(.eyebrow) { font-size: .9375rem; }
  .project-row .eyebrow { font-size: .75rem; }
  .faq-intro .eyebrow { font-size: .75rem; }
  .faq-intro > p:not(.eyebrow), .faq-list summary, .faq-list details > p { font-size: .9375rem; }
  .faq-list summary { padding-block: 19px; }
  .final-section { padding: 46px 0 56px; }
  .final-section .eyebrow { font-size: .75rem; }
  .final-section p:not(.eyebrow) { font-size: .9375rem; }
  .final-section .button { min-height: 53px; font-size: .9375rem; }
  .final-note { font-size: .75rem; }
  .site-footer { padding: 38px 0 24px; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 20px; }
  .footer-top nav { font-size: .8125rem; gap: 10px; line-height: 1.65; }
  .footer-top nav:last-child { grid-column: 1 / -1; }
  .footer-label { font-size: .75rem; }
  .footer-tagline { font-size: .875rem; line-height: 1.65; margin-top: 15px; }
  .footer-hours { font-size: .75rem; }
  .footer-bottom { margin-top: 28px; padding-top: 20px; gap: 13px; font-size: .75rem; }
  .footer-docs { font-size: .75rem; gap: 10px 18px; }
  .page-hero { padding: 23px 0 40px; }
  .page-hero h1 { font-size: 2.125rem; }
  .page-hero .eyebrow, .breadcrumbs, .page-meta { font-size: .75rem; }
  .page-lead { font-size: .9375rem; }
  .page-hero .button { font-size: .9375rem; min-height: 53px; }
  .document-sidebar nav { font-size: .8125rem; }
  .document-body { font-size: .9375rem; line-height: 1.8; }
  .document-body pre, .document-body code { font-size: .8125rem; }
  .document-body table { font-size: .8125rem; }
  .document-body .legal-sources { font-size: .8125rem; }
  .parents-options .parent-card { padding: 25px; }
  .parents-options .parent-card p, .parents-list { font-size: .875rem; }
  .parents-price span { font-size: .8125rem; }
  .blog-cover { height: 210px; }
  .blog-category, .blog-card-bottom { font-size: .75rem; }
  .blog-card-content { padding: 24px; }
  .blog-card p, .blog-invite p { font-size: .875rem; }
  .blog-card h2 { font-size: 1.375rem; }
  .cybox-showcase-heading { margin-bottom: 26px; }
  .cybox-showcase-heading .eyebrow { font-size: .75rem; margin-bottom: 14px; }
  .cybox-showcase-heading > p { font-size: .9375rem; margin-top: 18px; }
  .cybox-showcase-toolbar { margin-bottom: 18px; }
  .cybox-showcase-toolbar > p, .cybox-slider-count { font-size: .8125rem; }
  .cybox-showcase-card { min-height: 450px; padding: 25px 23px 0; flex-basis: 94%; }
  .cybox-card-label { font-size: .75rem; margin-bottom: 14px; }
  .cybox-card-copy h3 { font-size: 1.625rem; margin-bottom: 14px; }
  .cybox-card-copy > p { font-size: .875rem; }
  .cybox-practice-art, .cybox-support-art, .cybox-progress-art { min-height: 210px; padding-block: 28px 24px; }
  .cybox-mini-editor { padding: 16px 13px 20px; }
  .cybox-mini-editor code { font-size: .8125rem; letter-spacing: 0; }
  .cybox-art-result { font-size: .9375rem; padding: 12px 17px; }
  .cybox-art-answer > p, .cybox-art-question, .cybox-art-milestone > p { font-size: .875rem; }
  .cybox-art-answer { padding: 16px 13px; }
  .cybox-art-question { padding: 13px 16px; }
  .cybox-art-milestone { padding: 12px 14px; gap: 12px; }
  .cybox-showcase-bottom > p { font-size: .9375rem; }
  .cybox-showcase-bottom .button { font-size: .9375rem; }
  .enroll-dialog { padding: 29px 23px 23px; width: calc(100% - 24px); border-radius: 25px; max-height: calc(100dvh - 24px); }
  .enroll-dialog h2 { font-size: 1.875rem; }
  .enroll-dialog > .eyebrow { font-size: .75rem; margin-bottom: 16px; }
  .dialog-intro { font-size: .875rem; line-height: 1.65; margin-top: 17px; }
  .enroll-dialog form > label:not(.consent-label) { font-size: .875rem; margin-top: 17px; margin-bottom: 8px; }
  .enroll-dialog input:not([type=checkbox]), .enroll-dialog textarea { font-size: 1rem; padding: 13px 15px; }
  .enroll-dialog input:not([type=checkbox]) { height: 52px; }
  .enroll-dialog input::placeholder, .enroll-dialog textarea::placeholder { font-size: 1rem; }
  .enroll-question { padding: 12px 15px; margin-top: 17px; }
  .enroll-question summary, .enroll-question label { font-size: .875rem; }
  .consent-label { font-size: .75rem; line-height: 1.6; gap: 10px; margin-top: 18px; }
  .consent-label input { width: 20px; height: 20px; margin-top: 2px; }
  .form-help, .dialog-contact { font-size: .75rem; line-height: 1.65; }
  .form-status { font-size: .875rem; }
  .enroll-dialog form > .button { font-size: .9375rem; min-height: 53px; margin-top: 20px; }
  .dialog-close { width: 44px; height: 44px; }
  .promo-bar { gap: 7px 12px; left: 8px; right: 8px; bottom: 8px; padding: 11px 14px; border-radius: 20px; }
  .promo-copy strong { font-size: .875rem; line-height: 1.4; }
  .promo-timer { gap: 1px; }
  .promo-timer > span { font-size: .75rem; }
  .countdown-digits { font-size: .875rem; line-height: 1.35; gap: 7px; }
  .countdown-days { font-size: .8125rem; }
  .promo-bar > .button { font-size: .875rem; min-height: 44px; padding: 10px 15px; }
}
@media (max-width: 359px) {
  :root { --title-xl: 2.375rem; --title-lg: 2rem; --title-md: 1.625rem; }
  .container { width: calc(100% - 32px); }
  .site-header { width: calc(100% - 24px); padding-left: 10px; gap: 6px; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: var(--title-xl); }
  .demo-card { padding: 20px; }
  .demo-title { font-size: 1.25rem; }
  .demo-option { font-size: .8125rem; }
  .practice-visual, .feedback-visual { padding: 19px; }
  .feedback-card { padding: 16px; }
  .course-info, .course-purchase { padding: 23px; }
  .day-panel h3 { font-size: 1.625rem; }
  .parent-card { padding: 21px; }
  .page-hero h1 { font-size: 1.9375rem; }
  .cybox-showcase-card { min-height: 450px; padding-inline: 18px; flex-basis: 98%; }
  .cybox-card-copy h3 { font-size: 1.5rem; }
  .cybox-art-answer-icon { width: 33px; height: 33px; }
  .cybox-mini-editor code { font-size: .8125rem; letter-spacing: -.035em; }
  .promo-bar { padding: 10px 11px; gap: 7px 10px; }
  .promo-bar > .button { padding-inline: 12px; }
}
