@media (max-width: 1200px) {
  .nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 84px;
    gap: 56px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .product-stage {
    width: min(820px, 100%);
  }
  .intro-strip-inner {
    grid-template-columns: 1.2fr repeat(3, 0.6fr);
  }
  .section-head,
  .subhero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .section-head .section-label,
  .section-head h2,
  .section-head .copy,
  .subhero .section-id,
  .subhero-grid h1,
  .subhero-grid .copy {
    grid-column: 1;
    grid-row: auto;
  }
  .section-label,
  .subhero .section-id {
    padding-top: 0;
  }
  .feature-layout,
  .feature-layout.flip {
    grid-template-columns: 1fr;
  }
  .feature-layout.flip .media-block,
  .feature-layout.flip .feature-copy {
    order: initial;
  }
  .library-grid {
    grid-template-columns: 1fr;
  }
  .utility-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 36px;
  }
  .project-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .project-copy h3 {
    max-width: 18ch;
  }
  .release-panel {
    grid-template-columns: 1fr;
  }
  .release-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .download-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.8fr);
  }
  .footer-brand {
    grid-row: span 2;
  }
  .archive-head,
  .release-row {
    grid-template-columns: 1fr 1fr 1.05fr 3.4fr;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --header: 64px;
  }
  .title-lines--desktop {
    display: none;
  }
  .title-lines--mobile {
    display: block;
  }
  .title-lines--mobile > .title-line {
    white-space: normal;
  }
  .header-inner {
    gap: 10px;
  }
  .brand-meta {
    display: none;
  }
  .brand-word {
    font-size: 18px;
  }
  .brand img {
    width: 23px;
    height: 23px;
  }
  .language-trigger {
    min-width: 106px;
    padding-inline: 10px;
  }
  .language-popover {
    right: 0;
    width: 168px;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding-top: 70px;
    padding-bottom: 54px;
    gap: 46px;
  }
  .hero-title {
    font-size: clamp(82px, 28vw, 128px);
    margin-bottom: 22px;
  }
  .hero-tagline {
    font-size: 31px;
    max-width: 15ch;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .product-ui {
    grid-template-columns: 54px 1fr;
    min-height: 318px;
  }
  .product-sidebar {
    padding: 11px 6px;
  }
  .product-sidebar span {
    font-size: 0;
    height: 31px;
    padding: 0;
  }
  .product-sidebar span::after {
    content: "";
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 0;
    background: #555;
    margin: 15px auto;
  }
  .product-sidebar span.active::after {
    background: var(--accent);
  }
  .product-main {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .graph-card {
    grid-row: auto;
    min-height: 216px;
  }
  .graph-grid {
    height: 150px;
  }
  .ui-card:first-child,
  .ui-card:last-child {
    display: none;
  }
  .product-caption {
    font-size: 10px;
    gap: 10px;
  }
  .intro-strip-inner {
    grid-template-columns: 1fr 1fr;
  }
  .intro-copy {
    grid-column: 1/-1;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .intro-stat {
    padding: 16px 0;
    border-left: 0;
  }
  .intro-stat:nth-of-type(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line-soft);
  }
  .section-inner {
    padding: 74px 0;
  }
  .section-head,
  .subhero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 38px;
  }
  .section-head .copy,
  .subhero-grid .copy {
    grid-column: auto;
  }
  .section-label,
  .subhero .section-id {
    margin-bottom: 3px;
    grid-row: auto;
    padding-top: 0;
  }
  .section-head h2 {
    font-size: 40px;
    max-width: none !important;
  }
  .feature-layout {
    gap: 28px;
  }
  .media-caption {
    display: grid;
    gap: 3px;
  }
  .feature-copy h3 {
    font-size: 28px;
    max-width: none !important;
  }
  .feature-points li {
    font-size: 13px;
  }
  .library-row {
    grid-template-columns: 1fr;
  }
  .library-row .tag {
    display: none;
  }
  .utility-grid {
    grid-template-columns: 1fr;
  }
  .utility-card {
    min-height: 0;
    padding: 20px 0;
  }
  .utility-card p {
    max-width: 48ch;
  }
  .project-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .project-copy h3 {
    font-size: 36px;
    max-width: none;
  }
  .project-item b {
    font-size: 14px;
  }
  .release-side,
  .release-body {
    padding: 25px 22px;
  }
  .release-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .download-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .download-actions {
    grid-template-columns: 1fr;
  }
  .download-title {
    font-size: clamp(56px, 17vw, 84px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 18px;
  }
  .footer-brand {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .archive-head {
    display: none;
  }
  .archive {
    padding-top: 24px;
  }
  .release-row {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 0;
    padding: 20px 14px;
  }
  .release-row .date,
  .release-row .status,
  .release-row .summary {
    grid-column: 1/-1;
  }
  .release-row .status {
    margin-top: 2px;
  }
  .release-row .summary {
    margin-top: 3px;
  }
  .release-layout,
  .manual-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .release-aside,
  .manual-toc {
    position: static;
  }
  .release-content > section {
    padding: 30px 0;
  }
  .release-endnav {
    flex-direction: column;
  }
  html:lang(ja) .hero-tagline,
  html:lang(zh) .hero-tagline,
  html:lang(ko) .hero-tagline {
    font-size: 29px;
    max-width: none;
    line-height: 1.18;
  }
  html:lang(ja) .section-head h2,
  html:lang(zh) .section-head h2,
  html:lang(ko) .section-head h2 {
    font-size: 30px;
  }
  html:lang(ja) .feature-copy h3,
  html:lang(zh) .feature-copy h3,
  html:lang(ko) .feature-copy h3 {
    font-size: 26px;
  }
  html:lang(ja) .project-copy h3,
  html:lang(zh) .project-copy h3,
  html:lang(ko) .project-copy h3 {
    font-size: 30px;
  }
}

/* Intermediate desktop: preserve authored CJK line groupings without letting long lines crowd adjacent columns. */
@media (min-width: 1201px) and (max-width: 1320px) {
  html:lang(ja) .section-head h2 {
    font-size: 58px;
  }
  html:lang(zh) .section-head h2 {
    font-size: 59px;
  }
  html:lang(ko) .section-head h2 {
    font-size: 58px;
  }
  html:lang(ja) .feature-copy h3 {
    font-size: 29px;
  }
  html:lang(zh) .feature-copy h3 {
    font-size: 30px;
  }
  html:lang(ko) .feature-copy h3 {
    font-size: 29px;
  }
  html:lang(ja) .project-copy h3 {
    font-size: 38px;
  }
  html:lang(zh) .project-copy h3 {
    font-size: 39px;
  }
  html:lang(ko) .project-copy h3 {
    font-size: 38px;
  }
}
