@media (max-width: 980px) {
  .brand-home-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brand-home-copyblock {
    max-width: 680px;
  }

  .brand-home-title.compact {
    max-width: 620px;
    font-size: clamp(2.9rem, 8.5vw, 4rem);
  }

  .brand-product-hero {
    min-height: auto;
  }

  .brand-device-stage {
    min-height: clamp(360px, 52vw, 440px);
  }

  .brand-device-stage img {
    width: min(72%, 430px);
  }
}

@media (max-width: 980px) {
  h1,
  .hero-title {
    font-size: 2.55rem;
  }

  .brand-home {
    min-height: auto;
    padding: 28px 0 52px;
  }

  .brand-home-grid,
  .entry-showcase-grid,
  .brand-band-inner,
  .benefit-showcase,
  .course-map,
  .buy-stage {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .benefit-rail,
  .course-direction-grid,
  .marketplace-grid,
  .phonetic-flow,
  .rule-board,
  .learning-levels {
    grid-template-columns: 1fr;
  }

  .symbol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-map-panel {
    position: static;
  }

  .entry-feature.store,
  .entry-feature.learn,
  .entry-feature.easytalk {
    grid-area: auto;
  }

  .brand-product-hero {
    min-height: auto;
  }

  .learn-hero,
  .easytalk-hero {
    padding: 50px 0 58px;
  }

  h2,
  .section-title {
    font-size: 1.75rem;
  }

  .site-header-inner {
    flex-wrap: wrap;
    padding: 12px 0 10px;
    gap: 12px;
  }

  .brand {
    order: 1;
  }

  .header-utility {
    order: 2;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-entry-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .header-tool-link {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: var(--radius);
  }

  .site-nav a[data-section="activate"] {
    margin-left: 0;
  }

  .hero {
    padding: 42px 0 34px;
  }

  .hero-grid,
  .split,
  .about-hero-grid,
  .about-story-grid,
  .about-principles-inner,
  .package-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-hero {
    padding: 48px 0 54px;
  }

  .about-brand-panel {
    min-height: auto;
  }

  .about-brand-device {
    min-height: 190px;
  }

  .about-vlingo-system-card {
    width: min(100%, 620px);
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .product-stage {
    min-height: 360px;
  }

  .benefit-visual {
    min-height: 460px;
  }

  .benefit-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sound-steps {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .vlingo-chapter {
    padding: 82px 0;
  }

  .vlingo-hero {
    min-height: auto;
    padding: 64px 0 82px;
  }

  .vlingo-hero > .container {
    width: min(100% - 32px, var(--container));
  }

  .vlingo-hero-inner,
  .vlingo-rhythm-grid,
  .vlingo-products-inner,
  .vlingo-official-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vlingo-hero h1 {
    max-width: 680px;
    font-size: 4.25rem;
  }

  .vlingo-statement h2 {
    font-size: 3.25rem;
  }

  .vlingo-rhythm h2,
  .vlingo-products h2,
  .vlingo-official h2 {
    font-size: 2.68rem;
  }

  .vlingo-focus-moment {
    min-height: 500px;
  }

  .vlingo-live-device {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .vlingo-device-screen {
    left: 12.8%;
    top: 26.2%;
    width: 38%;
    min-height: 170px;
    margin: 0;
    padding: 13px 15px 11px;
  }

  .vlingo-products-copy {
    max-width: 660px;
  }
}

@media (max-width: 620px) {
  .about-hero-copy h1 {
    font-size: 2.46rem;
  }

  .about-lead,
  .about-hero-copy p:not(.about-lead),
  .about-copy-section p,
  .about-principles-inner p,
  .about-closing-inner > p:last-child,
  .about-emphasis {
    font-size: 0.98rem;
    line-height: 1.76;
  }

  .about-brand-panel,
  .about-vlingo-system-card,
  .about-story-card {
    padding: 20px;
  }

  .about-copy-section {
    margin-top: 34px;
  }

  .about-copy-section h2 {
    font-size: 1.22rem;
  }

  .about-system-visual {
    min-height: 276px;
    padding-top: 16px;
  }

  .about-learning-preview {
    right: 0;
    width: min(48%, 170px);
    min-height: 140px;
    padding: 14px;
  }

  .about-learning-preview span {
    margin-bottom: 14px;
  }

  .about-learning-preview p {
    margin-bottom: 13px;
  }

  .about-system-device {
    width: min(96%, 340px);
    margin-top: 36px;
  }

  .about-brand-attribution {
    align-items: flex-start;
  }

  .about-closing {
    padding: 58px 0 64px;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    width: min(100% - 24px, 1180px);
    gap: 8px;
  }

  .footer-main {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-brand {
    flex: 0 0 auto;
  }

  .footer-brand-copy {
    align-items: center;
    gap: 10px 14px;
    flex-wrap: wrap;
  }

  .footer-legal {
    margin-top: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: right;
    justify-content: flex-end;
  }

  .footer-links a {
    font-size: 0.78rem;
  }

  .footer-copyright-logo {
    height: 28px;
  }

  .footer-logo {
    height: 16px;
  }

  .footer-meta {
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .footer-patent {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    width: min(100% - 18px, 1180px);
  }

  .footer-main {
    gap: 10px;
    flex-wrap: wrap;
  }

  .footer-brand-copy {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  .footer-brand-note {
    white-space: normal;
  }

  .footer-links {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  .footer-legal {
    justify-content: flex-end;
    text-align: right;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .brand-home {
    padding: 22px 0 38px;
  }

  .brand-home-grid {
    gap: 22px;
    padding: 0;
  }

  .brand-eyebrow {
    margin-bottom: 16px;
  }

  h1,
  .hero-title {
    font-size: 1.92rem;
    line-height: 1.12;
  }

  .brand-home-title {
    font-size: 3.65rem;
  }

  .brand-home-title.compact {
    margin-bottom: 18px;
    font-size: clamp(2.18rem, 10.2vw, 2.68rem);
    line-height: 1.13;
  }

  .brand-home-copy {
    font-size: 0.98rem;
    line-height: 1.66;
  }

  .brand-home-actions {
    flex-direction: row;
    align-items: center;
    gap: 10px 11px;
    margin-top: 22px;
  }

  .brand-proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
  }

  .brand-proof {
    min-height: 58px;
    padding: 9px 8px;
    border-left: 1px solid rgba(220, 231, 238, 0.82);
    font-size: 0.76rem;
  }

  .brand-proof:first-child {
    border-left: 0;
  }

  .brand-proof strong {
    font-size: 0.92rem;
  }

  .brand-text-link {
    justify-content: flex-start;
    min-height: 38px;
  }

  .brand-product-hero {
    min-height: auto;
  }

  .brand-device-stage {
    min-height: 270px;
  }

  .brand-device-stage img {
    width: min(72%, 295px);
    transform: translateY(2px);
  }

  .stage-pedestal {
    width: 78%;
    height: 84px;
    left: 11%;
    bottom: 48px;
  }

  .stage-reflection {
    bottom: 64px;
  }

  .entry-showcase,
  .brand-band {
    padding: 56px 0;
  }

  .entry-feature.store {
    min-height: auto;
  }

  .container,
  .site-header-inner {
    width: min(100% - 24px, var(--container));
  }

  .brand-logo {
    max-width: 166px;
    height: 34px;
  }

  .site-header-inner {
    gap: 8px;
  }

  .header-utility {
    gap: 4px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    padding-bottom: 0;
  }

  .header-tool-link {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .language-switch {
    min-height: 34px;
    gap: 3px;
    padding: 0 6px;
    font-size: 0.7rem;
  }

  .nav-toggle {
    position: relative;
    width: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0;
  }

  .nav-toggle::before {
    content: "";
    width: 14px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    box-shadow: 0 4px 0 currentColor;
  }

  .hero-actions,
  .actions,
  .search-box {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .support-hero .button {
    width: auto;
  }

  .support-hero .search-box .button {
    min-width: 86px;
  }

  .brand-home-actions .button {
    width: auto;
    min-height: 42px;
    flex: 0 0 auto;
  }

  .brand-primary-action {
    flex-basis: 132px;
  }

  .brand-secondary-action {
    flex-basis: 146px;
  }

  .brand-home-actions .brand-text-link {
    flex-basis: 100%;
  }

  .card,
  .hero-panel,
  .course-group,
  .feature-card,
  .entry-card,
  .purchase-card,
  .service-card,
    .center-card,
    .package-card,
    .learning-board,
    .tech-panel,
    .tech-console,
    .benefit-visual,
    .benefit-card,
    .course-map-panel,
    .course-direction-card,
    .buy-price-panel,
    .marketplace-card,
    .course-list-card,
    .phonetic-step,
    .symbol-card,
    .rule-panel,
    .rule-item,
    .level-card {
    padding: 18px;
  }

  .benefit-visual {
    min-height: auto;
  }

  .benefit-visual img {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(96%, 330px);
    margin: 18px auto 0;
  }

  .benefit-visual-copy {
    max-width: none;
  }

  .focus-learning-header {
    margin-bottom: 24px;
  }

  .focus-learning-header .section-title {
    font-size: 1.82rem;
    line-height: 1.18;
  }

  .focus-learning-header .muted,
  .benefit-visual-copy .muted {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .benefit-showcase {
    gap: 18px;
  }

  .benefit-visual {
    padding: 22px 18px 16px;
  }

  .benefit-visual-copy .section-title {
    font-size: 1.32rem;
    line-height: 1.28;
  }

  .benefit-visual::before {
    left: 10%;
    right: 10%;
    bottom: 38px;
    height: 64px;
  }

  .benefit-visual::after {
    bottom: 58px;
  }

  .study-scene-grid {
    inset: 14px;
    background-size: 28px 28px;
  }

  .study-ghost-card {
    width: 92px;
    height: 58px;
  }

  .study-ghost-card.card-a {
    right: 22px;
    top: 132px;
  }

  .study-ghost-card.card-b {
    left: 18px;
    bottom: 80px;
  }

  .study-sound-lines {
    right: 38px;
    bottom: 86px;
  }

  .benefit-rail {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .benefit-card {
    min-height: auto;
    grid-template-columns: 36px 1fr;
    column-gap: 12px;
    padding: 16px;
  }

  .benefit-card .icon-badge {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .buy-price {
    font-size: 2.55rem;
  }

  .product-stage {
    min-height: 310px;
    padding: 18px;
  }

  .product-stage.hero-product .product-image,
  .product-image {
    width: min(100%, 300px);
  }

  .hero-grid > .product-stage.hero-product {
    display: none;
  }

  .mobile-product-peek {
    display: block;
  }

  .product-stage .tag-row,
  .product-caption {
    position: static;
    z-index: 2;
    margin-top: 14px;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .scene-preview,
  .scene-preview img {
    min-height: 280px;
  }

  .tech-meter {
    grid-template-columns: 1fr;
  }

  .example-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .vlingo-chapter {
    padding: 62px 0;
  }

  .vlingo-hero {
    padding: 46px 0 64px;
  }

  .vlingo-hero > .container {
    width: min(100% - 24px, var(--container));
  }

  .vlingo-label {
    margin-bottom: 16px;
    font-size: 0.72rem;
  }

  .vlingo-hero h1 {
    margin-bottom: 18px;
    font-size: 2.18rem;
    line-height: 1.12;
    text-wrap: auto;
    overflow-wrap: anywhere;
  }

  .vlingo-lead,
  .vlingo-statement p,
  .vlingo-rhythm-grid > div > p,
  .vlingo-official-inner > div > p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .vlingo-statement h2,
  .vlingo-rhythm h2,
  .vlingo-products h2,
  .vlingo-official h2 {
    font-size: 2.12rem;
    line-height: 1.1;
  }

  .vlingo-focus-moment {
    min-height: 430px;
  }

  .vlingo-focus-moment::before {
    inset: 20px 0 18px;
  }

  .vlingo-study-photo {
    inset: 64px 0 24px;
    width: 100%;
    min-height: 320px;
    opacity: 0.1;
    object-position: 54% 50%;
  }

  .vlingo-hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .vlingo-home .button.vlingo-primary,
  .vlingo-home .button.vlingo-secondary,
  .vlingo-product-link {
    min-height: 44px;
  }

  .vlingo-learning-atmosphere span {
    font-size: 0.82rem;
  }

  .vlingo-learning-atmosphere span:nth-child(1),
  .vlingo-learning-atmosphere span:nth-child(3),
  .vlingo-learning-atmosphere span:nth-child(5) {
    display: none;
  }

  .vlingo-live-device {
    width: min(112%, 520px);
    min-height: 340px;
    margin-left: -6%;
  }

  .vlingo-device-hardware {
    width: 100%;
    transform: translateY(10px);
  }

  .vlingo-device-screen {
    left: 12.4%;
    top: 27.2%;
    width: 38.5%;
    min-height: 126px;
    margin: 0;
    padding: 9px 10px 8px;
    gap: 4px;
  }

  .learning-word span {
    font-size: 0.56rem;
  }

  .learning-word strong {
    font-size: 1.45rem;
  }

  .vlingo-device-screen p {
    font-size: 0.46rem;
    line-height: 1.28;
  }

  .learning-screen-head,
  .learning-screen-foot {
    font-size: 0.44rem;
  }

  .learning-pronunciation {
    min-height: 16px;
    padding: 0 5px;
    font-size: 0.44rem;
  }

  .learning-screen-line,
  .vlingo-device-screen p:first-of-type {
    display: none;
  }

  .vlingo-session-note {
    right: 2%;
    bottom: 50px;
    width: 92px;
    min-height: 72px;
    padding: 12px;
  }

  .vlingo-session-note strong {
    font-size: 1.85rem;
  }

  .vlingo-rhythm-rail article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 20px 0;
  }

  .vlingo-rhythm-rail span {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .vlingo-rhythm-rail h3,
  .vlingo-rhythm-rail p {
    grid-column: 2;
  }

  .vlingo-product-stage,
  .vlingo-trust-strip {
    grid-template-columns: 1fr;
  }

  .vlingo-product-piece {
    min-height: 330px;
    padding: 22px;
  }

  .vlingo-product-piece.is-preview img {
    height: 210px;
  }

  .vlingo-trust-strip span,
  .vlingo-trust-strip span:nth-child(2n),
  .vlingo-trust-strip span:nth-last-child(-n + 2) {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 252, 0.12);
  }

  .vlingo-trust-strip span:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 1500px) {
  .vlingo-hero-split > .container {
    width: min(100% - 64px, 1240px);
  }

  .vlingo-path-panel {
    min-height: 420px;
    padding: 40px 44px;
  }

  .vlingo-path-learning {
    min-height: 540px;
  }

  .vlingo-path-device {
    min-height: 500px;
  }

  .vlingo-path-learning h1 {
    font-size: 4rem;
  }

  .vlingo-path-device h2 {
    font-size: 2.42rem;
  }

  .vlingo-learning-preview {
    width: min(100%, 520px);
  }

  .vlingo-device-preview {
    width: min(100%, 600px);
  }

  .vlingo-hero-capabilities article {
    padding: 20px 34px;
  }
}

@media (max-width: 1180px) {
  .vlingo-hero-split > .container {
    width: min(100% - 40px, 1180px);
  }

  .vlingo-path-panel {
    min-height: 330px;
  }

  .vlingo-path-learning,
  .vlingo-path-device {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.92fr);
  }

  .vlingo-path-learning h1 {
    font-size: 3.55rem;
  }

  .vlingo-path-device h2 {
    font-size: 2.18rem;
  }
}

@media (max-width: 980px) {
  .vlingo-hero-split {
    padding: 22px 0 42px;
  }

  .vlingo-hero-split > .container {
    width: min(100% - 32px, var(--container));
  }

  .vlingo-hero-split-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .vlingo-path-learning {
    border-right: 0;
    border-bottom: 1px solid rgba(34, 42, 38, 0.12);
  }

  .vlingo-path-panel {
    min-height: auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.82fr);
    padding: 42px;
  }

  .vlingo-path-learning h1 {
    font-size: 3.6rem;
  }

  .vlingo-path-device h2 {
    font-size: 2.3rem;
  }

  .vlingo-hero-capabilities {
    grid-template-columns: 1fr;
  }

  .vlingo-hero-capabilities article,
  .vlingo-hero-capabilities article:last-child {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgba(34, 42, 38, 0.1);
  }

  .vlingo-hero-capabilities article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .vlingo-path-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vlingo-learning-preview {
    justify-self: stretch;
  }

  .vlingo-device-preview {
    width: min(100%, 500px);
    justify-self: center;
  }

  .vlingo-device-art {
    transform: none;
  }
}

@media (max-width: 620px) {
  .vlingo-hero-split {
    padding: 14px 0 34px;
  }

  .vlingo-hero-split > .container {
    width: min(100% - 24px, var(--container));
  }

  .vlingo-path-panel {
    gap: 20px;
    padding: 22px;
  }

  .vlingo-path-label {
    margin-bottom: 14px;
    font-size: 0.78rem;
  }

  .vlingo-path-learning h1 {
    margin-bottom: 18px;
    font-size: 2.72rem;
    line-height: 1.08;
  }

  .vlingo-path-device h2 {
    margin-bottom: 16px;
    font-size: 2rem;
    line-height: 1.12;
  }

  .vlingo-path-copy > p:not(.vlingo-path-label) {
    font-size: 0.95rem;
    line-height: 1.64;
  }

  .vlingo-path-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 22px;
  }

  .vlingo-path-actions .button {
    width: 100%;
    min-height: 46px;
  }

  .vlingo-path-actions .vlingo-product-link {
    width: 100%;
    justify-content: center;
  }

  .vlingo-device-points {
    margin-top: 18px;
    font-size: 0.82rem;
  }

  .vlingo-device-points span + span::before {
    margin: 0 9px;
  }

  .vlingo-learning-preview {
    width: 100%;
    min-height: 0;
    gap: 6px;
    padding: 12px;
  }

  .vlingo-learning-preview .learning-word strong {
    font-size: 2.48rem;
  }

  .learning-preview-toolbar {
    min-height: 34px;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
  }

  .learning-preview-toolbar span {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .learning-preview-toolbar span:last-child {
    padding-left: 8px;
    border-left: 1px solid rgba(34, 42, 38, 0.1);
    border-top: 0;
  }

  .learning-preview-card {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
  }

  .learning-preview-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .learning-preview-actions span {
    min-height: 34px;
    font-size: 0.76rem;
  }

  .learning-preview-badges span {
    min-height: 22px;
    font-size: 0.68rem;
  }

  .learning-preview-badges {
    display: none;
  }

  .learning-meaning {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .learning-preview-example {
    padding: 9px 11px;
  }

  .learning-preview-example strong,
  .learning-preview-example span {
    font-size: 0.78rem;
  }

  .learning-preview-example span {
    display: none;
  }

  .vlingo-device-preview {
    width: min(100%, 360px);
  }

  .vlingo-device-status {
    left: 5%;
    bottom: 4%;
    padding: 8px 10px;
  }

  .vlingo-device-status strong {
    font-size: 1.1rem;
  }

  .vlingo-hero-capabilities article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 22px;
  }

  .vlingo-capability-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1180px) {
  .doc-product-card,
  .doc-product-hero-inner,
  .doc-rule-grid {
    grid-template-columns: 1fr;
  }

  .doc-product-card {
    align-items: start;
  }

  .doc-home-grid,
  .doc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-icon-library {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .doc-shell {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .documentation-hero,
  .doc-product-hero {
    padding: 46px 0 36px;
  }

  .documentation-hero h1,
  .doc-product-hero h1 {
    font-size: 2.6rem;
    line-height: 1.08;
  }

  .doc-product-card,
  .doc-article,
  .doc-visual-slot,
  .doc-mini-card,
  .doc-section.reserved {
    padding: 18px;
  }

  .doc-home-grid,
  .doc-card-grid,
  .doc-icon-library,
  .doc-device-views,
  .doc-language-grid,
  .doc-flow-svg,
  .doc-flow-svg.five {
    grid-template-columns: 1fr;
  }

  .doc-flow-svg {
    min-height: auto;
  }

  .doc-shell {
    gap: 26px;
    padding-top: 28px;
    padding-bottom: 54px;
  }

  .doc-sidebar a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .v07-device-frame {
    width: min(100%, 520px);
  }

  .v07-screen-render {
    padding: 4.2% 4.8%;
  }

  .v07-ui-home span,
  .v07-ui-list span,
  .v07-ui-menu span,
  .v07-ui-feedback span {
    min-height: 22px;
    padding: 0 4px;
  }

  .v07-ui-word em {
    min-height: 18px;
    padding: 0 7px;
  }
}

@media (max-width: 420px) {
  .header-utility {
    gap: 3px;
  }

  .header-tool-link {
    padding: 0 6px;
    font-size: 0.68rem;
  }

  .language-switch {
    padding: 0 5px;
    font-size: 0.68rem;
  }

  .nav-toggle {
    width: 30px;
  }

  .nav-toggle::before {
    width: 13px;
  }

  .documentation-hero h1,
  .doc-product-hero h1 {
    font-size: 2.18rem;
  }

  .doc-search {
    padding: 8px;
  }

  .doc-chip-row span {
    flex: 1 1 130px;
    justify-content: center;
    font-size: 0.72rem;
  }

  .v07-device-frame {
    width: 112%;
    margin-left: -6%;
  }

  .doc-visual-slot .v07-device-frame {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
