@media (max-width: 900px) {
  .hero-scene {
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.1fr);
    gap: 8px;
  }
  .hero-input,
  .hero-output {
    transform: scale(0.85);
    transform-origin: center;
  }
  .hero-art {
    width: min(100%, 365px);
  }
  .demo-reaction {
    left: calc(50% + 185px);
    width: 150px;
  }
  .mascot-guide {
    width: 150px;
  }
}
@media (max-width: 719px) {
  .top {
    padding: 10px 16px;
  }
  .top nav a {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  .brand {
    font-size: 1rem;
  }
  .hero {
    padding: 0 16px;
  }
  .hero-stage {
    padding-top: 18px;
  }
  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
    max-width: 12ch;
  }
  .hero .lead {
    font-size: 0.9rem;
    max-width: 33ch;
    margin-top: 14px;
  }
  .hero-actions {
    margin-top: 18px;
    gap: 4px 16px;
  }
  .hero-actions .cta {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
  .hero-actions .demo-link {
    font-size: 0.75rem;
  }
  .hero-actions .cta-note {
    font-size: 0.65rem;
    margin-top: 4px;
  }
  .hero-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    margin-top: 22px;
    padding: 0 0 28px;
  }
  .hero-input {
    height: 400px;
    transform: none;
  }
  .source-label {
    top: 4px;
    left: 12px;
    font-size: 1.15rem;
  }
  .source-photo {
    top: 43px;
    left: 14px;
    width: 150px;
    border-width: 5px;
  }
  .source-note {
    top: 70px;
    right: 14px;
    width: 158px;
    min-height: 0;
    padding: 14px 12px;
    font-size: 0.82rem;
  }
  .source-chat {
    top: 207px;
    left: 90px;
    max-width: 190px;
    padding: 9px 12px;
    font-size: 0.8rem;
  }
  .hero-input .mascot-messy {
    left: 0;
    bottom: 0;
    width: 92px;
  }
  .story-arrow {
    position: relative;
    justify-self: center;
    width: 62px;
    height: 70px;
    margin: 0;
    transform: rotate(45deg);
  }
  .hero-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    transform: none;
  }
  .hero-output::before {
    top: 10px;
    left: 50%;
    width: calc(100% - 18px);
    max-width: 356px;
    height: auto;
    aspect-ratio: 4 / 5;
    transform: translateX(-50%) rotate(3deg);
  }
  .hero-art {
    width: min(100%, 365px);
    margin: 0;
  }
  .hero-art figcaption {
    font-size: 0.72rem;
    margin-top: 12px;
  }
  .hero-character {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-top: 8px;
  }
  .hero-character .mascot-ready {
    width: 88px;
    margin: 0;
  }
  .result-stamp {
    margin: 0;
    font-size: 0.9rem;
    padding: 9px 12px;
  }
  .hero-comments {
    right: 6px;
    bottom: 0;
    width: 155px;
    gap: 4px;
  }
  .voice,
  .voice:first-child {
    transform: none;
    padding: 8px;
    border-radius: 8px;
  }
  .voice img {
    display: none;
  }
  .voice p {
    font-size: 0.68rem;
    line-height: 1.25;
  }
  .voice span {
    font-size: 0.62rem;
  }
  .band {
    padding: 36px 20px;
  }
  .band h2,
  .final h2 {
    font-size: 2.1rem;
  }
  .section-lead {
    font-size: 0.9rem;
    margin-top: 12px;
  }
  .walkthrough-setting {
    margin-top: 24px;
    padding-bottom: 0;
  }
  .walkthrough {
    width: min(100%, 340px);
  }
  .demo-reaction {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0 0;
    gap: 6px;
  }
  .demo-reaction p {
    max-width: 170px;
    font-size: 1rem;
  }
  .mascot-guide {
    width: 90px;
    height: 130px;
    margin: 0;
  }
  .demo-full {
    margin-top: 8px;
  }
  .demo-full summary {
    font-size: 0.85rem;
  }
  .demo-output {
    display: grid;
    grid-template-columns: 1fr;
  }
  .demo-caption {
    padding: 18px;
  }
  .look-tab {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
  .look-card {
    max-width: 290px;
  }
  .proofs {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 28px;
  }
  .proof-0 {
    grid-row: auto;
  }
  .proof h3 {
    font-size: 1.35rem;
  }
  .photo-proof {
    max-width: 380px;
    margin: auto;
  }
  .caption-proof {
    padding: 20px;
  }
  .caption-proof p {
    font-size: 1.1rem;
  }
  .prompt-proof {
    margin-top: 0;
  }
  .more-features ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .plan,
  .plan.featured {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 4px;
  }
  .plan ul,
  .plan.featured ul {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
    gap: 10px;
    font-size: 0.78rem;
  }
  .plan .cta {
    margin-top: 16px;
  }
  .plan .price {
    font-size: 0.8rem;
  }
  .plan .price-alt {
    font-size: 0.8rem;
  }
  .plan h3 {
    font-size: 1.4rem;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq h2 {
    text-align: center;
    margin: 0 auto;
  }
  .final {
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 24px 16px 0;
    margin-top: 0;
  }
  .final .mascot-ready {
    width: 120px;
    align-self: center;
    max-width: none;
    margin-left: 0;
  }
  .final .closing-voice {
    font-size: 0.75rem;
    padding: 10px;
    margin-bottom: -4px;
  }
  .final p {
    font-size: 0.88rem;
  }
  .final .cta {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
  .foot {
    padding: 24px 20px;
  }
}
/* Tablet hero (SS-297 QA3): keep the ready pose beside the post and the roasts clear of the chat bubble. */
@media (min-width: 720px) and (max-width: 1099px) {
  .hero-scene {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.15fr);
    gap: 6px;
  }
  .hero-input,
  .hero-output {
    transform: none;
  }
  .hero-art {
    width: min(calc(100% - 96px), 330px);
  }
  .hero-output::before {
    width: min(calc(100% - 96px), 330px);
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .hero-character {
    width: 128px;
    right: -6px;
    bottom: 6px;
  }
  .result-stamp {
    font-size: 0.9rem;
    padding: 9px 13px;
  }
  .hero-input .mascot-messy {
    width: 108px;
    left: -12px;
  }
  .hero-comments {
    width: calc(100% - 88px);
    bottom: -6px;
  }
  .source-chat {
    top: 222px;
    white-space: nowrap;
    font-size: 0.9rem;
  }
}
@media (max-width: 719px) {
  .hero-art figcaption {
    text-align: center;
    padding-right: 0;
  }
  .beta-badge {
    margin-bottom: 10px;
    padding: 6px 11px;
    font-size: 0.72rem;
  }
}
@media (max-width: 719px) {
  /* SS-385: the readout becomes a compact two-column grid on phones. */
  .readout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-top: 22px;
    padding: 12px 4px;
    font-size: 0.68rem;
  }
  .readout-status {
    grid-column: 1 / -1;
  }
  .cue {
    margin-bottom: 12px;
  }
}
