/* The web app shell is only shown on smaller screens. */
.mobile-dock,.mobile-contact { display:none }

@media (max-width:840px) {
  /* Preserve the desktop arrangement rather than stacking the artwork under the copy. */
  .showcase .showcase-layout {
    grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);
    gap:clamp(9px,2.7vw,24px);
    min-height:clamp(435px,69vw,530px);
    padding-block:34px 84px;
  }
  .showcase .showcase-title { font-size:clamp(28px,7.5vw,64px); margin:16px 0 13px; }
  .showcase .showcase-0 .showcase-title { font-size:clamp(52px,12vw,87px); }
  .showcase .showcase-3 .showcase-title { font-size:clamp(24px,6.6vw,54px); }
  .showcase .hero-copy>p:not(.eyebrow) { font-size:clamp(13px,2.25vw,16px); line-height:1.5; }
  .showcase .hero-actions { gap:8px; margin-top:18px; }
  .showcase .hero-actions .button { min-height:44px; padding:8px 10px; }
  .showcase-photo img { object-position:var(--scene-mobile-focus); }
  .showcase-photo::after {
    background:linear-gradient(90deg,#0c2018ed 7%,#0c2018cf 33%,#0c201866 72%,#0c201820 100%),linear-gradient(0deg,#0c2018e8,transparent 56%);
  }
  .showcase-visual { width:100%; border-radius:16px; aspect-ratio:1.55; }
  .showcase-artwork { position:absolute; width:200%; height:200%; inset:0 auto auto 0; transform:scale(.5); transform-origin:top left; }
  .showcase-artwork .product-art { width:100%; height:100%; min-height:0; aspect-ratio:auto; }
  .showcase-artwork .art-generator { padding-inline-end:4%; }
  .showcase-footer { bottom:18px; }
}
@media (min-width:561px) and (max-width:840px) {
  .showcase-artwork { width:143%; height:143%; transform:scale(.7); }
}
@media (max-width:560px) {
  .showcase .showcase-layout { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); }
  .showcase .hero-copy .eyebrow { font-size:9px; letter-spacing:.085em; }
  .showcase .hero-copy .eyebrow span { width:12px; flex:none; }
  .showcase .hero-actions .button { font-size:11px; gap:5px; text-align:left; }
  .showcase .hero-actions .button .icon { width:15px; height:15px; flex:none; }
  .showcase-visual { border-radius:13px; }
  .showcase-artwork .art-generator .generator-preview-label { display:none; }
  .showcase-artwork .art-generator { padding-block:9px; }
  .showcase-artwork .generator-top { font-size:8px; padding:6px 8px; gap:4px; }
  .showcase-artwork .generator-grid { gap:6px; padding:6px; }
  .showcase-artwork .generator-formats { gap:4px; padding:0 6px 6px; }
  .showcase-artwork .generator-formats span { font-size:8px; padding:3px 4px; }
  .showcase-artwork .app-frame { left:25%; width:75%; }
  .home-about { grid-template-columns:1fr; gap:14px; }
}
@media (max-width:780px), (max-width:980px) and (max-height:550px) and (pointer:coarse) {
  :root { --dock-space:calc(72px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom:calc(var(--dock-space) + 14px); }
  body { padding-bottom:var(--dock-space); background-color:#f4f8f1; }
  .wrap { width:calc(100% - max(16px, env(safe-area-inset-left, 0px)) - max(16px, env(safe-area-inset-right, 0px))); }
  .mast { padding-top:env(safe-area-inset-top, 0px); }
  .mast .mast-row,.mast:not(.is-enhanced) .mast-row {
    min-height:60px; display:flex; justify-content:space-between; gap:12px;
  }
  .mast .brand,.mast:not(.is-enhanced) .brand { margin:0; }
  .mast .brand-wordmark { width:106px; height:46px; }
  .mast #main-nav,.mast:not(.is-enhanced) #main-nav,.mast .menu,.mast .mast-download { display:none; }
  .mast .mast-actions,.mast:not(.is-enhanced) .mast-actions { display:flex; gap:8px; align-items:center; margin:0; }
  .mast .mast-give { display:inline-flex; min-height:44px; padding-inline:11px; }
  .mobile-contact {
    display:grid; place-items:center; width:44px; height:44px; color:#e3f4e4;
    border:1px solid #d1e8d84f; background:#6d927936; border-radius:12px;
  }
  .mobile-contact .icon { width:19px; height:19px; }
  .mobile-contact[aria-current] { color:#cff6b6; border-color:#acdaa390; }
  .mobile-dock {
    display:block; position:fixed; z-index:25; inset:auto 0 0; color:#e1efe5;
    padding:6px max(10px,env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(10px,env(safe-area-inset-left, 0px));
    background:#10241cf2; border-top:1px solid #b8d9be3d;
    box-shadow:0 -8px 28px #10251c36; -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  }
  .mobile-dock-inner { max-width:570px; margin:auto; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
  .mobile-dock a {
    text-decoration:none; color:inherit; min-height:52px; min-width:0; padding:4px 1px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
    border:1px solid transparent; border-radius:12px; line-height:1.15; font-size:10px; font-weight:750;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-dock a .icon { width:20px; height:20px; flex:none; }
  .mobile-dock a[aria-current] {
    color:#d5f7bd; background:#b1e1ac28; border-color:#bee5b74a; box-shadow:inset 0 1px 0 #ffffff15;
  }
  .mobile-dock a:focus-visible { outline:2px solid #d8f5b4; outline-offset:1px; }
  .mobile-dock a:active,.mobile-contact:active { background:#b1e1ac40; }
  .page-heading,.detail-hero { border-bottom:1px solid #91af9b42; }
  .page-heading,.detail-hero { padding-block:28px 34px; }
  .section:not(.hero),.support-band { padding-block:30px; }
  .section .button,.detail-hero .button,.footer a { min-height:44px; }
  .footer a { display:flex; align-items:center; }
  .footer .footer-main { gap:22px; }
  .filter-group button,.topic summary { min-height:44px; }
  .product-card,.service-card,.policy-card,.release-card { border-radius:18px; }
}
