/*
 * 渊古文化 · Signal Lab visual layer
 *
 * This file is intentionally additive.  The brand refresh keeps the warm
 * paper/ink foundation; this layer adds a restrained technology signal,
 * consistent interaction states and a small amount of motion.
 */
:root {
  --yg-signal: #18c7b8;
  --yg-signal-bright: #8af9ed;
  --yg-signal-deep: #0f756f;
  --yg-night: #0c1b23;
  --yg-night-soft: #17313a;
  --yg-tech-line: rgba(24, 199, 184, .20);
  --yg-focus: rgba(24, 199, 184, .56);
}

body.brand-site {
  background:
    radial-gradient(circle at 7% -8%, rgba(24, 199, 184, .08), transparent 28rem),
    radial-gradient(circle at 96% 12%, rgba(167, 68, 50, .07), transparent 26rem),
    var(--yg-paper);
}

body.brand-site :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--yg-focus);
  outline-offset: 3px;
}

body.brand-site .site-top-announcement {
  background: linear-gradient(90deg, #183a3b, var(--yg-night) 45%, #183a3b);
  position: relative;
  overflow: hidden;
  color: #e8fffa;
  font-weight: 600;
}

body.brand-site .site-top-announcement::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(138, 249, 237, .06) 47px 48px);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

body.brand-site .site-top-announcement > * {
  position: relative;
  z-index: 1;
}

body.brand-site .brand-header {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: rgba(244, 239, 230, .86);
  backdrop-filter: blur(14px);
}

/* The footer uses viewport-wide color and a centered content grid.  Keeping
 * the old 1120px width together with viewport padding made the inner grid
 * collapse to 12px columns on wide screens, which is why Chinese labels
 * appeared one character per line. */
body.brand-site .brand-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body.brand-site .brand-mark {
  background: linear-gradient(145deg, var(--yg-red), #d15a43 55%, #8f3428);
  box-shadow: 0 0 0 1px rgba(255, 250, 242, .24), 0 8px 22px rgba(167, 68, 50, .22);
}

body.brand-site .site-main-nav a,
body.brand-site .header-account-link,
body.brand-site .header-register-link {
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

body.brand-site .site-main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--yg-signal), var(--yg-red));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

body.brand-site .site-main-nav a:hover::after,
body.brand-site .site-main-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

body.brand-site .header-free-download,
body.brand-site .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1.25;
}

body.brand-site .header-free-download::before,
body.brand-site .button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, .28) 48%, transparent 74%);
  transform: translateX(-125%);
  transition: transform .55s ease;
}

body.brand-site .header-free-download:hover::before,
body.brand-site .button:hover::before {
  transform: translateX(125%);
}

body.brand-site .header-free-download:hover,
body.brand-site .button:hover {
  transform: translateY(-2px);
}

body.brand-site .header-free-download:active,
body.brand-site .button:active {
  transform: translateY(0) scale(.97);
  transition-duration: .08s;
}

body.brand-site .header-free-download {
  background: linear-gradient(135deg, var(--yg-red), #cf5f48 62%, #8f3428);
  box-shadow: 0 8px 22px rgba(167, 68, 50, .24), 0 0 0 1px rgba(255, 250, 242, .12) inset;
}

body.brand-site .header-free-download:hover {
  background: linear-gradient(135deg, #c3513d, #9e3629);
  box-shadow: 0 12px 28px rgba(167, 68, 50, .30), 0 0 0 1px rgba(255, 250, 242, .18) inset;
}

body.brand-site .button.primary {
  background: linear-gradient(135deg, var(--yg-red), #cf5f48 62%, #8f3428);
  box-shadow: 0 9px 22px rgba(167, 68, 50, .20), 0 0 0 1px rgba(255, 250, 242, .12) inset;
}

body.brand-site .button.primary:hover {
  background: linear-gradient(135deg, #c3513d, #9e3629);
  box-shadow: 0 14px 30px rgba(167, 68, 50, .28), 0 0 0 1px rgba(255, 250, 242, .18) inset;
}

body.brand-site .button.quiet {
  background: rgba(255, 250, 242, .68);
  box-shadow: 0 4px 14px rgba(31, 36, 32, .04);
}

body.brand-site .button.quiet:hover {
  border-color: var(--yg-signal);
  background: rgba(232, 250, 247, .88);
  color: var(--yg-signal-deep);
  box-shadow: 0 10px 24px rgba(24, 199, 184, .14);
}

body.brand-site .button.light:hover {
  border-color: var(--yg-signal-bright);
  background: #e9fffb;
  color: var(--yg-night);
  box-shadow: 0 10px 24px rgba(24, 199, 184, .22);
}

body.brand-site .button.disabled,
body.brand-site .button[aria-disabled="true"] {
  cursor: not-allowed;
  pointer-events: none;
  opacity: .56;
  transform: none;
  box-shadow: none;
}

body.brand-site .actions .button,
body.brand-site .brand-hero-actions .button {
  flex: 0 0 auto;
}

body.brand-site .brand-hero-copy,
body.brand-site .browser-spotlight,
body.brand-site .priority-card,
body.brand-site .category-card,
body.brand-site .compact-product-card,
body.brand-site .update-card,
body.brand-site .brand-page-heading,
body.brand-site .brand-product-card,
body.brand-site .brand-download-card,
body.brand-site .brand-release-card,
body.brand-site .browser-variant-card,
body.brand-site .brand-detail-copy,
body.brand-site .brand-detail-art {
  animation: yg-rise-in .62s cubic-bezier(.2, .7, .2, 1) both;
}

body.brand-site .browser-spotlight { animation-delay: .08s; }
body.brand-site .priority-card:nth-child(2),
body.brand-site .brand-product-card:nth-child(2),
body.brand-site .browser-variant-card:nth-child(2) { animation-delay: .07s; }
body.brand-site .priority-card:nth-child(3),
body.brand-site .brand-product-card:nth-child(3) { animation-delay: .14s; }

@keyframes yg-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

body.brand-site .browser-spotlight,
body.brand-site .brand-detail-art,
body.brand-site .updates-band,
body.brand-site .brand-account-band {
  isolation: isolate;
}

body.brand-site .browser-spotlight::before,
body.brand-site .brand-detail-art::before,
body.brand-site .updates-band::before,
body.brand-site .brand-account-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .62;
  background:
    radial-gradient(circle at var(--pointer-x, 76%) var(--pointer-y, 18%), rgba(138, 249, 237, .26), transparent 22rem),
    linear-gradient(rgba(138, 249, 237, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 249, 237, .07) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  mask-image: linear-gradient(135deg, #000, rgba(0, 0, 0, .2) 80%, transparent);
}

body.brand-site .browser-spotlight {
  background:
    radial-gradient(circle at 82% 16%, rgba(24, 199, 184, .27), transparent 14rem),
    linear-gradient(145deg, #0f2931, var(--yg-night) 62%, #0b171d);
  border: 1px solid rgba(138, 249, 237, .16);
  box-shadow: 0 25px 70px rgba(12, 27, 35, .24), 0 0 0 1px rgba(138, 249, 237, .05) inset;
}

body.brand-site .browser-spotlight::after,
body.brand-site .brand-detail-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border: 1px solid rgba(138, 249, 237, .27);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(138, 249, 237, .05), 0 0 0 36px rgba(138, 249, 237, .03);
  animation: yg-orbit-pulse 7s ease-in-out infinite;
}

@keyframes yg-orbit-pulse {
  0%, 100% { transform: scale(.94); opacity: .52; }
  50% { transform: scale(1.04); opacity: .9; }
}

body.brand-site .spotlight-window,
body.brand-site .detail-browser-window {
  border-color: rgba(138, 249, 237, .32);
  background:
    linear-gradient(140deg, rgba(40, 96, 99, .96), rgba(16, 39, 47, .98) 74%),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(138, 249, 237, .07) 21px 22px);
  box-shadow: 0 30px 45px rgba(0, 0, 0, .30), 0 0 26px rgba(24, 199, 184, .10);
  animation: yg-window-float 8s ease-in-out infinite;
}

@keyframes yg-window-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-7px); }
}

body.brand-site .spotlight-copy .eyebrow,
body.brand-site .detail-art-label,
body.brand-site .browser-variant-top span,
body.brand-site .release-line,
body.brand-site .brand-release-number {
  color: var(--yg-signal-bright);
}

body.brand-site .spotlight-link,
body.brand-site .priority-card-featured .priority-card-bottom a,
body.brand-site .free-label {
  color: var(--yg-signal-bright) !important;
}

body.brand-site .spotlight-phone,
body.brand-site .detail-browser-phone,
body.brand-site .detail-art-phone {
  border-color: #0b2229;
  box-shadow: 0 20px 32px rgba(0, 0, 0, .30), 0 0 20px rgba(24, 199, 184, .12);
}

body.brand-site .spotlight-phone b,
body.brand-site .detail-browser-phone small {
  color: var(--yg-signal-deep);
}

body.brand-site .priority-card-featured,
body.brand-site .brand-download-card-featured .download-card-rail,
body.brand-site .about-service-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(24, 199, 184, .21), transparent 12rem),
    linear-gradient(145deg, #153b43, var(--yg-night) 68%);
  border-color: rgba(138, 249, 237, .18);
}

body.brand-site .priority-card-featured .priority-card-art {
  background: linear-gradient(145deg, #1d5c60, #14363d);
}

body.brand-site .priority-card-featured .priority-card-art > span,
body.brand-site .priority-card-featured .priority-card-art strong,
body.brand-site .priority-card-featured .priority-card-art small {
  color: var(--yg-signal-bright);
}

body.brand-site .priority-card,
body.brand-site .category-card,
body.brand-site .compact-product-card,
body.brand-site .brand-product-card,
body.brand-site .brand-download-card,
body.brand-site .brand-release-card,
body.brand-site .browser-variant-card,
body.brand-site .tutorial-guide-card,
body.brand-site .tutorial-detail-intro,
body.brand-site .about-principle-grid article {
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

body.brand-site .priority-card:hover,
body.brand-site .category-card:hover,
body.brand-site .compact-product-card:hover,
body.brand-site .brand-product-card:hover,
body.brand-site .brand-download-card:hover,
body.brand-site .browser-variant-card:hover,
body.brand-site .tutorial-guide-card:hover {
  border-color: rgba(24, 199, 184, .58);
  box-shadow: 0 18px 46px rgba(22, 61, 68, .14), 0 0 0 1px rgba(24, 199, 184, .08) inset;
}

body.brand-site .priority-card:hover,
body.brand-site .category-card:hover,
body.brand-site .compact-product-card:hover,
body.brand-site .brand-product-card:hover,
body.brand-site .browser-variant-card:hover,
body.brand-site .tutorial-guide-card:hover {
  transform: translateY(-4px);
}

body.brand-site .brand-product-filters button,
body.brand-site .product-filters button {
  flex: 0 0 auto;
  white-space: nowrap;
  align-self: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.brand-site .brand-product-filters button:hover,
body.brand-site .product-filters button:hover,
body.brand-site .brand-product-filters button.active,
body.brand-site .product-filters button.active {
  border-color: var(--yg-signal);
  background: linear-gradient(135deg, var(--yg-signal-deep), #148f87);
  box-shadow: 0 7px 18px rgba(24, 199, 184, .18);
}

body.brand-site .brand-product-filters button:active,
body.brand-site .product-filters button:active {
  transform: scale(.95);
}

body.brand-site .brand-directory-toolbar input,
body.brand-site .product-search input,
body.brand-site input,
body.brand-site select,
body.brand-site textarea {
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.brand-site .brand-directory-toolbar input:focus,
body.brand-site .product-search input:focus,
body.brand-site input:focus,
body.brand-site select:focus,
body.brand-site textarea:focus {
  border-color: var(--yg-signal);
  box-shadow: 0 0 0 4px rgba(24, 199, 184, .14), 0 8px 18px rgba(24, 199, 184, .06);
}

body.brand-site .updates-band,
body.brand-site .brand-account-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(24, 199, 184, .18), transparent 20rem),
    linear-gradient(145deg, #173d45, var(--yg-night) 72%);
}

body.brand-site .updates-band .eyebrow,
body.brand-site .brand-account-band .eyebrow,
body.brand-site .brand-account-band h2 {
  color: #e8fffa;
}

body.brand-site .update-card {
  border-color: rgba(138, 249, 237, .18);
  background: rgba(9, 31, 38, .46);
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

body.brand-site .update-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 249, 237, .52);
  background: rgba(15, 53, 61, .68);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18), 0 0 24px rgba(24, 199, 184, .09);
}

body.brand-site .update-card span,
body.brand-site .update-card p,
body.brand-site .brand-account-band p {
  color: #b6d8d3;
}

body.brand-site .brand-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(24, 199, 184, .14), transparent 18rem),
    #0a1a21;
}

body.brand-site .brand-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: linear-gradient(rgba(138, 249, 237, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 249, 237, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 72%, transparent);
}

body.brand-site .brand-footer > * { position: relative; }
body.brand-site .brand-footer .footer-brand-block strong { color: #f5fbf8; }
body.brand-site .brand-footer .footer-brand-block p { color: #b6d8d3; }
body.brand-site .brand-footer .footer-link-block > span { color: var(--yg-signal-bright); }
body.brand-site .brand-footer .footer-link-block a { transition: color .2s ease, transform .2s ease; }
body.brand-site .brand-footer .footer-link-block a:hover { color: #fff; transform: translateX(3px); }

body.brand-site .brand-detail-art {
  background:
    radial-gradient(circle at 82% 15%, rgba(24, 199, 184, .23), transparent 15rem),
    linear-gradient(145deg, #163e46, var(--yg-night) 74%);
  border: 1px solid rgba(138, 249, 237, .18);
  box-shadow: 0 25px 70px rgba(12, 27, 35, .24), 0 0 0 1px rgba(138, 249, 237, .05) inset;
}

body.brand-site .detail-art-number,
body.brand-site .detail-art-shortcut,
body.brand-site .detail-art-convert,
body.brand-site .detail-art-pet,
body.brand-site .detail-art-letter,
body.brand-site .detail-art-nav em {
  color: var(--yg-signal-bright);
}

body.brand-site .browser-variant-card .button {
  margin-top: 8px;
}

/* The home page is a concise entry point.  Deep product, tutorial and
 * release content lives on their own pages instead of creating one endless
 * scroll. */
body.brand-site .brand-home-featured {
  padding-top: 70px;
  padding-bottom: 64px;
}

body.brand-site .brand-home-featured .priority-card {
  min-height: 260px;
}

body.brand-site .brand-home-featured .priority-card-art {
  min-height: 125px;
  padding: 16px;
}

body.brand-site .brand-home-featured .priority-card-copy {
  padding: 16px;
}

body.brand-site .brand-home-featured .priority-card-copy p {
  display: none;
}

body.brand-site .brand-home-featured .priority-card-art strong {
  margin-top: 18px;
  font-size: 34px;
  line-height: .95;
}

body.brand-site .home-swipe-hint {
  display: none;
  margin-top: 9px;
  color: var(--yg-muted);
  font-size: 11px;
}

body.brand-site .brand-home-routes {
  padding-bottom: 86px;
}

body.brand-site .home-route-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--yg-line);
  border-bottom: 1px solid var(--yg-line);
}

body.brand-site .home-route-strip a {
  min-width: 0;
  min-height: 114px;
  padding: 19px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--yg-line);
  transition: background .22s ease, transform .22s ease, color .22s ease;
}

body.brand-site .home-route-strip a:last-child { border-right: 0; }
body.brand-site .home-route-strip a:hover {
  background: rgba(232, 250, 247, .58);
  color: var(--yg-signal-deep);
  transform: translateY(-2px);
}

body.brand-site .home-route-strip span {
  color: var(--yg-signal-deep);
  font: 800 10px/1 ui-monospace, Consolas, monospace;
  letter-spacing: .1em;
}

body.brand-site .home-route-strip strong {
  margin-top: 16px;
  font-size: 16px;
}

body.brand-site .home-route-strip small {
  margin-top: auto;
  color: var(--yg-muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  body.brand-site .brand-header { background: rgba(244, 239, 230, .96); }
  body.brand-site .brand-mobile-nav { background: rgba(255, 250, 242, .94); backdrop-filter: blur(12px); }
  body.brand-site .brand-mobile-nav .mobile-free-link { color: var(--yg-signal-deep); }
}

/* At tablet widths a three-column desktop header is too tight.  Move the
 * primary navigation to its own row before any labels have to shrink. */
@media (max-width: 1080px) {
  body.brand-site .brand-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 74px;
    padding: 14px 24px;
    gap: 16px;
  }

  body.brand-site .site-main-nav {
    display: none !important;
  }

  body.brand-site .site-header-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  body.brand-site .header-account-link,
  body.brand-site .header-register-link {
    font-size: 12px;
  }

  body.brand-site .header-free-download {
    padding: 10px 13px;
    font-size: 11px;
  }

  body.brand-site .brand-mobile-nav {
    display: flex !important;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 20px;
    padding: 10px 24px;
    border-bottom: 1px solid var(--yg-line);
    background: rgba(255, 250, 242, .95);
  }

  body.brand-site .brand-mobile-nav::-webkit-scrollbar { display: none; }
  body.brand-site .brand-mobile-nav a { flex: 0 0 auto; }
  body.brand-site .brand-product-filters { align-items: center; }
}

@media (max-width: 980px) and (min-width: 821px) {
  body.brand-site .brand-hero,
  body.brand-site .brand-detail-hero {
    display: block;
  }

  body.brand-site .browser-spotlight,
  body.brand-site .brand-detail-art {
    margin-top: 48px;
  }

  body.brand-site .browser-spotlight {
    min-height: 460px;
    padding: 22px;
  }

  body.brand-site .spotlight-device-stage {
    height: 242px;
    margin-top: 20px;
  }

  body.brand-site .spotlight-window { height: 194px; padding: 16px 18px; }
  body.brand-site .spotlight-window strong { margin-top: 20px; font-size: 27px; }
  body.brand-site .spotlight-phone { width: 92px; height: 176px; }
  body.brand-site .spotlight-copy p { max-width: 620px; }

  body.brand-site .brand-home-featured .priority-card-copy p {
    display: none;
  }

  body.brand-site .brand-home-featured .priority-card-art { min-height: 140px; }
  body.brand-site .brand-home-featured .priority-card-art { padding: 16px; }
  body.brand-site .brand-home-featured .priority-card-art strong { margin-top: 18px; font-size: 34px; line-height: .95; }

  body.brand-site .brand-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.brand-site .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.brand-site .brand-home-featured {
    padding-top: 56px;
    padding-bottom: 46px;
  }

  body.brand-site .brand-hero {
    padding-top: 34px !important;
    padding-bottom: 44px !important;
  }

  body.brand-site .browser-spotlight {
    min-height: 430px;
    margin-top: 32px;
    padding: 18px;
  }

  body.brand-site .spotlight-device-stage {
    height: 220px;
    margin-top: 18px;
  }

  body.brand-site .spotlight-window {
    height: 174px;
    padding: 14px 15px;
  }

  body.brand-site .spotlight-window strong { margin-top: 18px; font-size: 25px; }
  body.brand-site .browser-card-stack { margin-top: 17px; }
  body.brand-site .spotlight-phone { width: 86px; height: 166px; padding: 24px 10px 10px; }
  body.brand-site .spotlight-phone strong { margin-top: 18px; font-size: 18px; }
  body.brand-site .spotlight-phone b { margin-top: 18px; }
  body.brand-site .spotlight-copy h2 { font-size: 23px; }
  body.brand-site .spotlight-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

  body.brand-site .brand-home-featured .priority-card {
    min-height: 0;
  }

  body.brand-site .brand-home-featured .priority-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body.brand-site .brand-home-featured .priority-grid::-webkit-scrollbar { display: none; }
  body.brand-site .brand-home-featured .priority-card {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
  }

  body.brand-site .brand-home-featured .priority-card-art { min-height: 125px; padding: 16px; }
  body.brand-site .brand-home-featured .priority-card-art strong { margin-top: 18px; font-size: 34px; line-height: .95; }
  body.brand-site .brand-home-featured .priority-card-copy { padding: 16px; }
  body.brand-site .brand-home-featured .priority-card-copy h3 { font-size: 20px; }
  body.brand-site .brand-home-featured .priority-card-copy p {
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  body.brand-site .home-swipe-hint { display: block; }

  body.brand-site .home-route-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.brand-site .home-route-strip a:nth-child(2) { border-right: 0; }
  body.brand-site .home-route-strip a:nth-child(-n + 2) { border-bottom: 1px solid var(--yg-line); }
}

@media (max-width: 470px) {
  body.brand-site .home-route-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.brand-site .home-route-strip a,
  body.brand-site .home-route-strip a:nth-child(2) {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--yg-line);
  }
  body.brand-site .home-route-strip a:nth-child(odd) { border-right: 1px solid var(--yg-line); }
  body.brand-site .home-route-strip a:nth-child(-n + 2) { border-bottom: 1px solid var(--yg-line); }
  body.brand-site .home-route-strip a:nth-child(3),
  body.brand-site .home-route-strip a:nth-child(4) { border-bottom: 0; }
}

@media (max-width: 470px) {
  body.brand-site .brand-hero h1 { letter-spacing: -.065em; }
  body.brand-site .browser-spotlight,
  body.brand-site .brand-detail-art { box-shadow: 0 18px 42px rgba(12, 27, 35, .22); }
}

@media (prefers-reduced-motion: reduce) {
  body.brand-site .brand-hero-copy,
  body.brand-site .browser-spotlight,
  body.brand-site .priority-card,
  body.brand-site .category-card,
  body.brand-site .compact-product-card,
  body.brand-site .update-card,
  body.brand-site .brand-page-heading,
  body.brand-site .brand-product-card,
  body.brand-site .brand-download-card,
  body.brand-site .brand-release-card,
  body.brand-site .browser-variant-card,
  body.brand-site .brand-detail-copy,
  body.brand-site .brand-detail-art,
  body.brand-site .spotlight-window,
  body.brand-site .browser-spotlight::after,
  body.brand-site .brand-detail-art::after {
    animation: none !important;
  }
}

/* Restore the compact mobile header after the tablet override above. */
@media (max-width: 820px) {
  body.brand-site .brand-header {
    grid-template-columns: 1fr auto;
    min-height: 70px;
    padding: 13px 16px;
    gap: 12px;
  }

  body.brand-site .brand-mobile-nav {
    gap: 17px;
    padding: 10px 16px;
  }
}

@media (max-width: 470px) {
  body.brand-site .brand-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.brand-site .site-header-actions {
    justify-content: flex-start;
    width: 100%;
  }

  body.brand-site .header-free-download {
    margin-left: auto;
  }

  body.brand-site .brand-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    padding: 32px 16px 28px !important;
  }

  body.brand-site .brand-footer .footer-brand-block { grid-column: 1 / -1; }
  body.brand-site .brand-footer .footer-link-block { min-width: 0; gap: 6px; }
  body.brand-site .brand-footer .footer-link-block > span { white-space: nowrap; font-size: 9px; }
  body.brand-site .brand-footer .footer-link-block a { white-space: nowrap; font-size: 11px; }
}

/* App-like navigation: keep the public header calm while putting the full
 * product catalogue and support routes behind intentional, keyboard-friendly
 * menus.  The menu content is still made of ordinary links, so old paths and
 * deep links remain unchanged. */
body.brand-site .site-main-nav .nav-menu {
  position: relative;
}

body.brand-site .site-main-nav .nav-menu > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 0;
  color: #61675f;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

body.brand-site .site-main-nav .nav-menu > summary::-webkit-details-marker,
body.brand-site .mobile-nav-menu > summary::-webkit-details-marker,
body.brand-site .mobile-menu-section > summary::-webkit-details-marker { display: none; }

body.brand-site .site-main-nav .nav-menu > summary:hover,
body.brand-site .site-main-nav .nav-menu.is-current > summary,
body.brand-site .site-main-nav .nav-menu[open] > summary { color: var(--yg-ink); }

body.brand-site .site-main-nav .nav-menu > summary::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--yg-signal), var(--yg-red));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

body.brand-site .site-main-nav .nav-menu > summary:hover::after,
body.brand-site .site-main-nav .nav-menu.is-current > summary::after,
body.brand-site .site-main-nav .nav-menu[open] > summary::after {
  transform: scaleX(1);
  transform-origin: left;
}

body.brand-site .nav-menu-caret {
  display: inline-block;
  margin-left: 4px;
  color: var(--yg-signal-deep);
  font-size: 12px;
  transition: transform .2s ease;
}

body.brand-site .nav-menu[open] .nav-menu-caret,
body.brand-site .mobile-nav-menu[open] > summary span,
body.brand-site .mobile-menu-section[open] > summary span {
  transform: rotate(180deg);
}

body.brand-site .nav-menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 17px);
  left: 50%;
  padding: 14px;
  border: 1px solid rgba(24, 199, 184, .2);
  border-radius: 16px;
  background: rgba(10, 26, 33, .98);
  color: #f5fbf8;
  box-shadow: 0 22px 60px rgba(12, 27, 35, .24), 0 0 0 1px rgba(138, 249, 237, .06) inset;
  transform: translateX(-50%) translateY(-6px);
  transform-origin: top center;
  animation: yg-menu-in .18s ease both;
}

body.brand-site .nav-menu-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 1px solid rgba(24, 199, 184, .25);
  border-left: 1px solid rgba(24, 199, 184, .25);
  background: #0a1a21;
  transform: translateX(-50%) rotate(45deg);
}

body.brand-site .nav-product-panel {
  width: min(850px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 10px;
}

body.brand-site .nav-menu-intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(24, 199, 184, .19), rgba(24, 199, 184, .03));
}

body.brand-site .nav-menu-intro .eyebrow {
  color: var(--yg-signal-bright);
  font-size: 9px;
}

body.brand-site .nav-menu-intro strong {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.45;
}

body.brand-site .nav-menu-intro small {
  margin-top: 9px;
  color: #a8c6c2;
  font-size: 11px;
  line-height: 1.65;
}

body.brand-site .nav-menu-panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--yg-signal-bright);
  font-size: 11px;
  font-weight: 800;
}

body.brand-site .nav-product-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.brand-site .nav-product-link,
body.brand-site .nav-resource-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(138, 249, 237, .12);
  border-radius: 11px;
  background: rgba(18, 52, 60, .55);
  color: #ecf9f5;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

body.brand-site .nav-product-link:hover,
body.brand-site .nav-resource-link:hover {
  border-color: rgba(138, 249, 237, .42);
  background: rgba(24, 93, 96, .68);
  color: #fff;
  transform: translateY(-2px);
}

body.brand-site .nav-product-link span,
body.brand-site .nav-resource-link span {
  color: var(--yg-signal-bright);
  font: 800 9px/1.2 ui-monospace, Consolas, monospace;
  letter-spacing: .05em;
}

body.brand-site .nav-product-link strong,
body.brand-site .nav-resource-link strong {
  margin-top: 9px;
  color: #effffb;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

body.brand-site .nav-product-link small,
body.brand-site .nav-resource-link small {
  margin-top: 4px;
  color: #a8c6c2;
  font-size: 10px;
  line-height: 1.4;
}

body.brand-site .nav-product-link-featured {
  border-color: rgba(138, 249, 237, .38);
  background: linear-gradient(145deg, rgba(24, 199, 184, .35), rgba(18, 52, 60, .72));
}

body.brand-site .nav-resource-panel {
  width: 385px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.brand-site .nav-resource-link strong { margin-top: 17px; }

@keyframes yg-menu-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px) scale(.98); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  body.brand-site .site-header-actions .header-free-download { display: none; }

  body.brand-site .brand-mobile-nav {
    position: relative !important;
    z-index: 4;
    order: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 49px;
    overflow: visible !important;
    gap: 12px;
    padding: 9px 16px;
  }

  body.brand-site .brand-mobile-nav .mobile-free-link {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--yg-signal-deep);
    font-size: 11px;
    font-weight: 800;
    border: 0 !important;
    background: transparent !important;
    justify-content: flex-start !important;
    padding: 8px 0 !important;
  }

  body.brand-site .mobile-nav-menu {
    position: relative;
    flex: 0 0 auto;
  }

  body.brand-site .mobile-nav-menu > summary {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: 1px solid var(--yg-line);
    border-radius: 999px;
    background: rgba(255, 250, 242, .94);
    color: var(--yg-ink);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    list-style: none;
    white-space: nowrap;
  }

  body.brand-site .mobile-nav-menu > summary span,
  body.brand-site .mobile-menu-section > summary span {
    display: inline-block;
    transition: transform .2s ease;
  }

  body.brand-site .mobile-menu-panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 9px);
    right: 0;
    width: min(340px, calc(100vw - 32px));
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(24, 199, 184, .2);
    border-radius: 14px;
    background: rgba(10, 26, 33, .98);
    color: #f5fbf8;
    box-shadow: 0 18px 48px rgba(12, 27, 35, .28);
    animation: yg-mobile-menu-in .16s ease both;
  }

  body.brand-site .mobile-menu-panel > a,
  body.brand-site .mobile-menu-section > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 9px;
    color: #ecf9f5;
    cursor: pointer;
    font-size: 13px;
    list-style: none;
    text-decoration: none;
  }

  body.brand-site .mobile-menu-panel > a {
    border-color: rgba(138, 249, 237, .14) !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #f5fffd !important;
    font-weight: 700;
    justify-content: flex-start;
    text-align: left;
  }

  /* site-overrides.css historically hid every mobile summary and styled every
   * mobile link as a large pill.  Re-enable the nested product section and
   * neutralise that legacy pill treatment for the submenu rows. */
  body.brand-site .mobile-menu-section > summary {
    display: flex !important;
    border: 0 !important;
    background: transparent !important;
    justify-content: space-between !important;
    flex: none !important;
    color: #f5fffd !important;
    font-weight: 700;
    text-align: left;
  }

  body.brand-site .mobile-menu-panel > a:hover,
  body.brand-site .mobile-menu-section > summary:hover,
  body.brand-site .mobile-menu-panel > a[aria-current="page"],
  body.brand-site .mobile-menu-section.is-current > summary {
    background: rgba(24, 199, 184, .17);
    color: var(--yg-signal-bright);
  }

  body.brand-site .mobile-menu-section:not([open]) .mobile-submenu { display: none; }

  body.brand-site .mobile-menu-section[open] .mobile-submenu {
    display: grid;
    gap: 2px;
    margin: 0 5px 5px;
    padding: 4px 0 4px 10px;
    border-left: 1px solid rgba(138, 249, 237, .24);
  }

  body.brand-site .mobile-submenu a {
    display: block !important;
    flex: none !important;
    padding: 8px 10px;
    border-radius: 7px;
    border: 0 !important;
    background: transparent !important;
    text-align: left;
    color: #a8c6c2;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
  }

  body.brand-site .mobile-submenu a:hover { background: rgba(24, 199, 184, .12); color: #fff; }
}

@keyframes yg-mobile-menu-in {
  from { opacity: 0; transform: translateY(-7px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 470px) {
  body.brand-site .brand-mobile-nav { padding-inline: 16px; }
  body.brand-site .mobile-menu-panel { width: calc(100vw - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  body.brand-site .nav-menu-panel,
  body.brand-site .mobile-menu-panel { animation: none; }
}

/* Keep the desktop home page to a deliberate two-screen rhythm.  Detail,
 * catalogue and support pages keep their full spacing; only the home entry
 * point is tightened so visitors reach the menu and footer without a long
 * scroll. */
@media (min-width: 1081px) {
  body.brand-site .brand-hero {
    padding-top: 72px;
    padding-bottom: 82px;
  }

  body.brand-site .browser-spotlight { min-height: 520px; }

  body.brand-site .brand-home-featured {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.brand-site .brand-home-featured .priority-card { min-height: 280px; }
  body.brand-site .brand-home-featured .priority-card-art { min-height: 108px; padding: 14px; }
  body.brand-site .brand-home-featured .priority-card-copy { padding: 14px; }
  body.brand-site .brand-home-featured .priority-card-art strong { margin-top: 14px; font-size: 30px; }
  body.brand-site .brand-home-featured .priority-card-bottom { padding-top: 14px; }
  body.brand-site .brand-home-routes { padding-bottom: 38px; }
  body.brand-site .brand-footer { padding-top: 42px; padding-bottom: 32px; }
}

@media (min-width: 1081px) and (max-height: 820px) {
  body.brand-site.single-screen-page .brand-page-heading { padding-top: 12px; padding-bottom: 8px; }
  body.brand-site.single-screen-page .brand-page-heading h1 { font-size: 47px; }
  body.brand-site.single-screen-page .brand-product-grid {
    flex-basis: 300px;
    height: 300px;
    max-height: 300px;
  }
  body.brand-site.single-screen-page .brand-product-card-body { padding: 8px 10px; }
  body.brand-site.single-screen-page .brand-product-card-body h2 { margin: 4px 0 3px; font-size: 14px; }
  body.brand-site.single-screen-page .brand-product-card-body p { font-size: 9px; -webkit-line-clamp: 1; }
  body.brand-site.single-screen-page .brand-product-card-footer { padding-top: 4px; }
}

/* -------------------------------------------------------------------------
 * v21 final fit pass
 *
 * The screen mode is a real responsive layout, not a desktop canvas scaled
 * down on a phone.  These rules run last so the compact shell wins over the
 * older product-page defaults above.
 * ------------------------------------------------------------------------- */
body.brand-site.single-screen-page main,
body.brand-site.single-screen-page main > * {
  box-sizing: border-box;
  min-width: 0;
}

body.brand-site.single-screen-page .brand-page-heading,
body.brand-site.single-screen-page .brand-product-directory,
body.brand-site.single-screen-page .brand-download-directory,
body.brand-site.single-screen-page .brand-release-directory,
body.brand-site.single-screen-page .brand-tutorial-directory,
body.brand-site.single-screen-page .contact-grid,
body.brand-site.single-screen-page .help-directory {
  overflow: hidden;
}

/* About is a brand statement, so the first screen intentionally carries the
 * principles.  The service/legal details remain reachable from the header and
 * footer routes instead of pushing the first screen below the fold. */
@media (min-width: 821px) and (max-height: 820px) {
  body.brand-site.single-screen-page .about-service-grid { display: none; }
}

body.brand-site.single-screen-page .about-principle-grid article {
  min-width: 0;
  overflow: hidden;
}

body.brand-site.single-screen-page .about-principle-grid p {
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Search and feedback are public utility pages too; keep their useful action
 * visible without reintroducing the old long-form paper layout. */
body.brand-site.single-screen-page .search-results,
body.brand-site.single-screen-page .feedback-layout {
  min-height: 0;
  overflow: hidden;
}

body.brand-site.single-screen-page .search-columns {
  min-width: 0;
  max-height: calc(100% - 150px);
  overflow: hidden;
}

body.brand-site.single-screen-page .search-columns > div,
body.brand-site.single-screen-page .feedback-layout > * {
  min-width: 0;
}

/* Pricing has a separate dark visual system, but it still participates in the
 * same one-screen contract. */
body.brand-site.single-screen-page .jv2-pricing-page {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body.brand-site.single-screen-page .jv2-pricing-page .jv2-inner-page-hero {
  padding-top: 24px;
  padding-bottom: 18px;
}

body.brand-site.single-screen-page .jv2-pricing-page .jv2-inner-page-hero h1 {
  margin-top: 10px;
  font-size: clamp(34px, 4.2vw, 58px);
}

body.brand-site.single-screen-page .jv2-pricing-page .jv2-inner-page-hero p {
  max-width: 700px;
  font-size: 12px;
  line-height: 1.55;
}

body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-body {
  padding-top: 16px;
  padding-bottom: 16px;
}

body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-page-head {
  margin-bottom: 12px;
}

body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-page-head h2 { font-size: 22px; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-page-head p { font-size: 11px; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-price-grid { gap: 9px; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-plan { min-height: 0; padding: 16px; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-plan-note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-trust { margin-top: 14px; gap: 10px; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-trust > div { padding: 10px; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-trust p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-page-actions { margin-top: 14px; }

@media (max-width: 820px) {
  body.brand-site.single-screen-page main { width: 100%; }

  body.brand-site.single-screen-page .shell,
  body.brand-site.single-screen-page .brand-page-heading,
  body.brand-site.home-screen-page .brand-hero {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-width: 0;
  }

  body.brand-site.single-screen-page .brand-page-heading,
  body.brand-site.single-screen-page .brand-page-heading > *,
  body.brand-site.home-screen-page .brand-hero,
  body.brand-site.home-screen-page .brand-hero > *,
  body.brand-site.home-screen-page .brand-hero-copy,
  body.brand-site.home-screen-page .browser-spotlight {
    min-width: 0;
    max-width: 100%;
  }

  body.brand-site.single-screen-page .brand-page-heading h1,
  body.brand-site.single-screen-page .brand-page-heading p,
  body.brand-site.home-screen-page .brand-hero h1,
  body.brand-site.home-screen-page .brand-hero-lead {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  body.brand-site.home-screen-page .brand-hero h1 em { white-space: normal; }
  body.brand-site.home-screen-page .brand-hero-lead { max-width: 100%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  body.brand-site.home-screen-page .browser-spotlight { width: 100% !important; overflow: hidden; }
  body.brand-site.home-screen-page .spotlight-device-stage,
  body.brand-site.home-screen-page .spotlight-window,
  body.brand-site.home-screen-page .spotlight-copy { min-width: 0; max-width: 100%; }
  body.brand-site.home-screen-page .spotlight-window { width: min(86%, 360px); right: 0; }
  body.brand-site.home-screen-page .spotlight-copy h2,
  body.brand-site.home-screen-page .spotlight-copy p { overflow-wrap: anywhere; word-break: break-word; }

  /* Three short principle cards remain legible on a phone and fit beside the
   * fixed header; the service/legal detail stays one click away. */
  body.brand-site.single-screen-page .about-service-grid { display: none; }
  body.brand-site.single-screen-page .about-principles { height: calc(100% - 112px); padding-bottom: 0; }
  body.brand-site.single-screen-page .about-principle-grid { height: 100%; grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body.brand-site.single-screen-page .about-principle-grid article { min-height: 0; height: auto; padding: 10px; }
  body.brand-site.single-screen-page .about-principle-grid h2 { margin: 8px 0 3px; font-size: 16px; }
  body.brand-site.single-screen-page .about-principle-grid p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; line-height: 1.4; }

  /* The device mockup is allowed to shrink, never to create a second desktop
   * canvas off the right edge of a 333–430px viewport. */
  body.brand-site.home-screen-page .spotlight-device-stage { width: 100%; overflow: hidden; }
  body.brand-site.home-screen-page .spotlight-phone { left: 2px; }
  body.brand-site.home-screen-page .spotlight-copy { width: 100%; grid-template-columns: minmax(0, 1fr) auto; }
  body.brand-site.home-screen-page .spotlight-link { max-width: 100%; }

  body.brand-site.single-screen-page .jv2-pricing-page .jv2-inner-page-hero { padding-top: 16px; padding-bottom: 12px; }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-inner-page-hero h1 { font-size: clamp(30px, 9vw, 46px); }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-inner-page-hero p { display: none; }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-page-head { display: block; }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-page-head p { display: none; }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-plan { padding: 9px; }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-plan-note { font-size: 10px; }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.brand-site.single-screen-page .jv2-pricing-page .jv2-pricing-trust p { font-size: 9px; }
}

@media (max-width: 470px) {
  body.brand-site.single-screen-page .brand-page-heading h1 { font-size: clamp(26px, 8vw, 34px); }
  body.brand-site.single-screen-page .brand-page-heading p { display: none; }
  body.brand-site.home-screen-page .brand-hero h1 { font-size: clamp(34px, 11vw, 46px); }
  body.brand-site.home-screen-page .browser-spotlight { height: 276px; }
  body.brand-site.single-screen-page .about-principle-grid h2 { font-size: 15px; }
  body.brand-site.single-screen-page .about-principle-grid p { font-size: 9px; }
}

/* -------------------------------------------------------------------------
 * Klein blue / white palette
 *
 * The first visual pass leaned on dark green and warm paper.  This final
 * layer keeps the same layout and interaction system, but shifts the brand
 * to a clearer blue-white foundation with a restrained red accent.  It is
 * intentionally additive so the existing templates and business flows stay
 * untouched while every public page receives the same visual language.
 * ------------------------------------------------------------------------- */
:root {
  --yg-paper: #f7f9ff;
  --yg-paper-strong: #ffffff;
  --yg-ink: #101828;
  --yg-muted: #5f6b85;
  --yg-line: rgba(16, 24, 40, .13);
  --yg-red: #e63b47;
  --yg-red-dark: #b71f2c;
  --yg-green: #002fa7;
  --yg-green-dark: #06143d;
  --yg-shadow: 0 22px 70px rgba(0, 47, 167, .14);
  --yg-signal: #4f79ff;
  --yg-signal-bright: #dbe5ff;
  --yg-signal-deep: #002fa7;
  --yg-night: #06143d;
  --yg-night-soft: #12255b;
  --yg-tech-line: rgba(79, 121, 255, .22);
  --yg-focus: rgba(0, 47, 167, .48);
}

body.brand-site {
  background:
    radial-gradient(circle at 7% -8%, rgba(79, 121, 255, .12), transparent 28rem),
    radial-gradient(circle at 96% 12%, rgba(230, 59, 71, .08), transparent 26rem),
    var(--yg-paper);
}

body.brand-site .site-top-announcement {
  background: linear-gradient(90deg, #06143d, #002fa7 48%, #06143d);
  color: #f6f8ff;
}

body.brand-site .site-top-announcement > span:not(.announcement-dot) {
  color: #f6f8ff;
}

body.brand-site .site-top-announcement::after {
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(219, 229, 255, .12) 47px 48px);
}

body.brand-site .announcement-dot {
  background: var(--yg-red);
  box-shadow: 0 0 0 4px rgba(230, 59, 71, .16);
}

body.brand-site .brand-header {
  border-bottom-color: rgba(0, 47, 167, .12);
  background: rgba(255, 255, 255, .88);
}

body.brand-site .brand-mark {
  background: linear-gradient(145deg, #002fa7, #4f79ff 62%, #001c76);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 8px 22px rgba(0, 47, 167, .24);
}

body.brand-site .brand small,
body.brand-site .site-main-nav a,
body.brand-site .header-account-link,
body.brand-site .header-register-link {
  color: #5f6b85;
}

body.brand-site .site-main-nav a:hover,
body.brand-site .site-main-nav a.is-current,
body.brand-site .header-register-link:hover {
  color: var(--yg-ink);
}

body.brand-site .site-main-nav a::after,
body.brand-site .site-main-nav .nav-menu > summary::after {
  background: linear-gradient(90deg, var(--yg-signal), var(--yg-red));
}

body.brand-site .header-free-download {
  background: linear-gradient(135deg, #e63b47, #f26872 62%, #b71f2c);
  box-shadow: 0 8px 22px rgba(230, 59, 71, .24), 0 0 0 1px rgba(255, 255, 255, .18) inset;
}

body.brand-site .header-free-download:hover {
  background: linear-gradient(135deg, #cf2e3a, #b71f2c);
  box-shadow: 0 12px 28px rgba(183, 31, 44, .30), 0 0 0 1px rgba(255, 255, 255, .22) inset;
}

body.brand-site .button.primary {
  background: linear-gradient(135deg, #002fa7, #4f79ff 64%, #001c76);
  border-color: #002fa7;
  box-shadow: 0 9px 22px rgba(0, 47, 167, .22), 0 0 0 1px rgba(255, 255, 255, .14) inset;
}

body.brand-site .button.primary:hover {
  background: linear-gradient(135deg, #001f78, #315de2 64%, #00124f);
  border-color: #001f78;
  box-shadow: 0 14px 30px rgba(0, 47, 167, .30), 0 0 0 1px rgba(255, 255, 255, .18) inset;
}

body.brand-site .button.quiet {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(0, 47, 167, .18);
  box-shadow: 0 4px 14px rgba(0, 47, 167, .06);
}

body.brand-site .button.quiet:hover,
body.brand-site .button.light:hover {
  border-color: var(--yg-signal);
  background: #edf2ff;
  color: var(--yg-signal-deep);
  box-shadow: 0 10px 24px rgba(79, 121, 255, .20);
}

body.brand-site .button.light {
  background: rgba(255, 255, 255, .94);
  color: var(--yg-ink);
  border-color: rgba(255, 255, 255, .42);
}

body.brand-site .brand-hero h1 em,
body.brand-site .brand-page-heading h1 em,
body.brand-site .brand-detail-copy h1 em {
  color: var(--yg-red);
}

body.brand-site .eyebrow,
body.brand-site .product-meta,
body.brand-site .compact-product-number,
body.brand-site .brand-product-card-art > span,
body.brand-site .category-card span,
body.brand-site .tutorial-card-number,
body.brand-site .tutorial-guide-label,
body.brand-site .about-principle-grid span {
  color: var(--yg-signal-deep);
}

body.brand-site .brand-hero-lead,
body.brand-site .section-heading-row p,
body.brand-site .brand-page-heading p,
body.brand-site .brand-detail-copy > p {
  color: var(--yg-muted);
}

body.brand-site .browser-spotlight {
  background:
    radial-gradient(circle at 82% 16%, rgba(79, 121, 255, .42), transparent 14rem),
    linear-gradient(145deg, #0e3ea9, var(--yg-night) 68%, #030a24);
  border-color: rgba(219, 229, 255, .22);
  box-shadow: 0 25px 70px rgba(0, 23, 94, .24), 0 0 0 1px rgba(219, 229, 255, .08) inset;
}

body.brand-site .browser-spotlight::before,
body.brand-site .brand-detail-art::before,
body.brand-site .updates-band::before,
body.brand-site .brand-account-band::before {
  background:
    radial-gradient(circle at var(--pointer-x, 76%) var(--pointer-y, 18%), rgba(219, 229, 255, .30), transparent 22rem),
    linear-gradient(rgba(219, 229, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 229, 255, .09) 1px, transparent 1px);
}

body.brand-site .browser-spotlight::after,
body.brand-site .brand-detail-art::after {
  border-color: rgba(219, 229, 255, .38);
  box-shadow: 0 0 0 18px rgba(219, 229, 255, .07), 0 0 0 36px rgba(219, 229, 255, .04);
}

body.brand-site .spotlight-window,
body.brand-site .detail-browser-window {
  border-color: rgba(219, 229, 255, .38);
  background:
    linear-gradient(140deg, rgba(79, 121, 255, .94), rgba(8, 29, 91, .98) 74%),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(219, 229, 255, .08) 21px 22px);
  box-shadow: 0 30px 45px rgba(0, 0, 0, .30), 0 0 26px rgba(79, 121, 255, .18);
}

body.brand-site .window-dots i { background: #ff7b86; }
body.brand-site .window-dots i:nth-child(2) { background: #bcd0ff; }
body.brand-site .window-dots i:nth-child(3) { background: #ffffff; }
body.brand-site .spotlight-window small,
body.brand-site .spotlight-phone small { color: #dbe5ff; }
body.brand-site .spotlight-window em,
body.brand-site .detail-browser-window em { color: #ff9aa2; }
body.brand-site .browser-card-stack i { border-color: rgba(219, 229, 255, .28); color: #edf2ff; }

body.brand-site .spotlight-phone,
body.brand-site .detail-browser-phone,
body.brand-site .detail-art-phone {
  border-color: #081b59;
  background: #f6f8ff;
  color: var(--yg-signal-deep);
  box-shadow: 0 20px 32px rgba(0, 0, 0, .30), 0 0 20px rgba(79, 121, 255, .18);
}

body.brand-site .spotlight-phone > span { background: #2044b8; }
body.brand-site .spotlight-phone b,
body.brand-site .detail-browser-phone small,
body.brand-site .detail-art-phone span { color: var(--yg-red); }
body.brand-site .spotlight-phone strong,
body.brand-site .detail-art-phone strong { color: var(--yg-signal-deep); }

body.brand-site .spotlight-copy .eyebrow,
body.brand-site .detail-art-label,
body.brand-site .browser-variant-top span,
body.brand-site .release-line,
body.brand-site .brand-release-number,
body.brand-site .spotlight-link,
body.brand-site .priority-card-featured .priority-card-bottom a,
body.brand-site .free-label {
  color: var(--yg-signal-bright) !important;
}

body.brand-site .spotlight-copy p { color: #d2dcf5; }

body.brand-site .priority-card,
body.brand-site .category-card,
body.brand-site .compact-product-card,
body.brand-site .brand-product-card,
body.brand-site .brand-download-card,
body.brand-site .brand-release-card,
body.brand-site .browser-variant-card,
body.brand-site .tutorial-guide-card,
body.brand-site .tutorial-detail-intro,
body.brand-site .about-principle-grid article {
  border-color: var(--yg-line);
  background: rgba(255, 255, 255, .92);
}

body.brand-site .priority-card-featured,
body.brand-site .brand-download-card-featured .download-card-rail,
body.brand-site .about-service-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(79, 121, 255, .34), transparent 12rem),
    linear-gradient(145deg, #0e3ea9, var(--yg-night) 72%);
  border-color: rgba(219, 229, 255, .24);
}

body.brand-site .priority-card-featured .priority-card-art {
  background: linear-gradient(145deg, #315de2, #0b2d92);
}

body.brand-site .priority-card-featured .priority-card-art > span,
body.brand-site .priority-card-featured .priority-card-art strong,
body.brand-site .priority-card-featured .priority-card-art small,
body.brand-site .priority-card-featured .product-meta,
body.brand-site .priority-card-featured .priority-card-copy p {
  color: #dbe5ff;
}

body.brand-site .priority-card:hover,
body.brand-site .category-card:hover,
body.brand-site .compact-product-card:hover,
body.brand-site .brand-product-card:hover,
body.brand-site .brand-download-card:hover,
body.brand-site .browser-variant-card:hover,
body.brand-site .tutorial-guide-card:hover {
  border-color: rgba(0, 47, 167, .50);
  box-shadow: 0 18px 46px rgba(0, 47, 167, .15), 0 0 0 1px rgba(79, 121, 255, .10) inset;
}

body.brand-site .priority-card-art,
body.brand-site .brand-product-card-art,
body.brand-site .download-card-rail,
body.brand-site .tutorial-detail-intro {
  background: #eaf0ff;
}

body.brand-site .brand-art-card-browser .brand-product-card-art,
body.brand-site .brand-art-card-browser {
  background: linear-gradient(145deg, #0e3ea9, #06143d);
  color: #f5f8ff;
}

body.brand-site .brand-product-card-art strong,
body.brand-site .priority-card-art strong { color: var(--yg-ink); }

body.brand-site .brand-art-card-browser strong,
body.brand-site .brand-art-card-browser small { color: #f5f8ff; }

body.brand-site .brand-category-band {
  background: #eaf0ff;
}

body.brand-site .category-card:hover,
body.brand-site .home-route-strip a:hover {
  background: #ffffff;
  color: var(--yg-signal-deep);
}

body.brand-site .category-card em,
body.brand-site .home-route-strip span,
body.brand-site .home-route-strip a:hover,
body.brand-site .tutorial-count,
body.brand-site .release-hash code,
body.brand-site .release-channel code {
  color: var(--yg-signal-deep);
}

body.brand-site .brand-product-filters button:hover,
body.brand-site .product-filters button:hover,
body.brand-site .brand-product-filters button.active,
body.brand-site .product-filters button.active {
  border-color: var(--yg-signal-deep);
  background: linear-gradient(135deg, #002fa7, #4f79ff);
  box-shadow: 0 7px 18px rgba(0, 47, 167, .20);
  color: #fff;
}

body.brand-site .brand-directory-toolbar input:focus,
body.brand-site .product-search input:focus,
body.brand-site input:focus,
body.brand-site select:focus,
body.brand-site textarea:focus {
  border-color: var(--yg-signal-deep);
  box-shadow: 0 0 0 4px rgba(79, 121, 255, .16), 0 8px 18px rgba(0, 47, 167, .08);
}

body.brand-site .status-pill { background: #edf1f8; color: var(--yg-muted); }
body.brand-site .status-pill.is-free { background: #e6edff; color: var(--yg-signal-deep); }
body.brand-site .status-pill.is-sale { background: #ffe5e8; color: var(--yg-red-dark); }
body.brand-site .status-pill.is-muted { background: #edf1f8; color: var(--yg-muted); }

body.brand-site .updates-band,
body.brand-site .brand-account-band {
  background:
    radial-gradient(circle at 82% 14%, rgba(79, 121, 255, .34), transparent 20rem),
    linear-gradient(145deg, #0e3ea9, var(--yg-night) 72%);
}

body.brand-site .updates-band .eyebrow,
body.brand-site .updates-band .text-link,
body.brand-site .brand-account-inner .eyebrow {
  color: var(--yg-signal-bright);
}

body.brand-site .updates-band .section-heading-row h2,
body.brand-site .brand-account-inner h2 { color: #ffffff; }
body.brand-site .updates-band .section-heading-row p,
body.brand-site .brand-account-inner p { color: #d2dcf5; }
body.brand-site .update-card {
  border-color: rgba(219, 229, 255, .20);
  background: rgba(6, 20, 61, .48);
}
body.brand-site .update-card:hover {
  border-color: rgba(219, 229, 255, .55);
  background: rgba(14, 62, 169, .52);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18), 0 0 24px rgba(79, 121, 255, .14);
}
body.brand-site .update-card span,
body.brand-site .update-card p { color: #c9d5f2; }

body.brand-site .brand-detail-art {
  background:
    radial-gradient(circle at 82% 15%, rgba(79, 121, 255, .36), transparent 15rem),
    linear-gradient(145deg, #0e3ea9, var(--yg-night) 74%);
  border-color: rgba(219, 229, 255, .22);
  box-shadow: 0 25px 70px rgba(0, 23, 94, .24), 0 0 0 1px rgba(219, 229, 255, .08) inset;
}

body.brand-site .detail-art-number,
body.brand-site .detail-art-shortcut,
body.brand-site .detail-art-convert,
body.brand-site .detail-art-pet,
body.brand-site .detail-art-letter,
body.brand-site .detail-art-nav em {
  color: var(--yg-signal-bright);
}

body.brand-site .detail-art-convert i { color: #ff9aa2; }
body.brand-site .brand-detail-art small,
body.brand-site .detail-art-phone small { color: #c9d5f2; }

body.brand-site .brand-footer {
  background:
    radial-gradient(circle at 88% 18%, rgba(79, 121, 255, .22), transparent 18rem),
    #030a24;
}

body.brand-site .brand-footer::before {
  background: linear-gradient(rgba(219, 229, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(219, 229, 255, .06) 1px, transparent 1px);
}

body.brand-site .brand-footer .footer-brand-block .eyebrow,
body.brand-site .brand-footer .footer-link-block > span {
  color: var(--yg-signal-bright);
}

body.brand-site .brand-footer .footer-brand-block strong { color: #f6f8ff; }
body.brand-site .brand-footer .footer-brand-block p,
body.brand-site .brand-footer .footer-link-block a { color: #c9d5f2; }
body.brand-site .brand-footer .footer-brand-block small { color: #8da0c9; }

body.brand-site .home-route-strip a { border-color: var(--yg-line); }

body.brand-site .nav-menu-panel,
body.brand-site .mobile-menu-panel {
  border-color: rgba(79, 121, 255, .30);
  background: rgba(3, 10, 36, .98);
  box-shadow: 0 22px 60px rgba(0, 23, 94, .30), 0 0 0 1px rgba(219, 229, 255, .08) inset;
}

body.brand-site .nav-menu-panel::before {
  border-color: rgba(79, 121, 255, .36);
  background: #030a24;
}

body.brand-site .nav-menu-intro {
  background: linear-gradient(160deg, rgba(79, 121, 255, .32), rgba(79, 121, 255, .06));
}

body.brand-site .nav-menu-intro .eyebrow,
body.brand-site .nav-menu-panel-link,
body.brand-site .nav-product-link span,
body.brand-site .nav-resource-link span {
  color: var(--yg-signal-bright);
}

body.brand-site .nav-menu-intro small,
body.brand-site .nav-product-link small,
body.brand-site .nav-resource-link small,
body.brand-site .mobile-submenu a { color: #aebce0; }

body.brand-site .nav-product-link,
body.brand-site .nav-resource-link {
  border-color: rgba(219, 229, 255, .16);
  background: rgba(14, 62, 169, .24);
}

body.brand-site .nav-product-link:hover,
body.brand-site .nav-resource-link:hover,
body.brand-site .mobile-menu-panel > a:hover,
body.brand-site .mobile-menu-section > summary:hover,
body.brand-site .mobile-menu-panel > a[aria-current="page"],
body.brand-site .mobile-menu-section.is-current > summary {
  border-color: rgba(219, 229, 255, .46);
  background: rgba(79, 121, 255, .24);
  color: #ffffff;
}

body.brand-site .nav-product-link-featured {
  border-color: rgba(219, 229, 255, .42);
  background: linear-gradient(145deg, rgba(79, 121, 255, .44), rgba(14, 62, 169, .32));
}

body.brand-site .mobile-nav-menu > summary {
  border-color: rgba(0, 47, 167, .18);
  background: rgba(255, 255, 255, .92);
  color: var(--yg-ink);
}

body.brand-site .brand-mobile-nav { background: rgba(255, 255, 255, .94); }
body.brand-site .brand-mobile-nav .mobile-free-link { color: var(--yg-signal-deep); }

body.brand-site .tutorial-detail-art { background: linear-gradient(145deg, #0e3ea9, var(--yg-night)); }
body.brand-site .tutorial-detail-art span { color: var(--yg-signal-bright); }
body.brand-site .about-principle-grid article { border-top-color: var(--yg-signal-deep); }
body.brand-site .about-service-card strong { color: var(--yg-signal-bright); }
body.brand-site .about-service-card span { color: #c9d5f2; }
body.brand-site .about-service-card small { color: #d2dcf5; }

@media (max-width: 820px) {
  body.brand-site .brand-header { background: rgba(255, 255, 255, .96); }
  body.brand-site .brand-mobile-nav { background: rgba(255, 255, 255, .96); }
}

/* -------------------------------------------------------------------------
 * Depth + readability pass
 *
 * The palette is now correct, but a product brand still needs a clear visual
 * hierarchy.  This pass makes text denser and darker, turns calls to action
 * into real controls, and gives the catalogue a raised, product-like rhythm
 * instead of a flat paper grid.
 * ------------------------------------------------------------------------- */
body.brand-site {
  color: #101a35;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.brand-site .brand-hero h1 em {
  white-space: nowrap;
}

body.brand-site .shell {
  width: min(1220px, calc(100% - 56px));
}

body.brand-site p,
body.brand-site .brand-hero-lead,
body.brand-site .section-heading-row p,
body.brand-site .brand-page-heading p,
body.brand-site .brand-detail-copy > p {
  color: #3f4e6d;
}

body.brand-site .brand-hero-lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

body.brand-site .brand-hero-copy {
  position: relative;
  isolation: isolate;
}

body.brand-site .brand-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  left: -150px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 121, 255, .13), transparent 68%);
  pointer-events: none;
}

body.brand-site .brand-hero-actions {
  gap: 12px;
  margin-top: 30px;
}

body.brand-site .button {
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 10px 22px rgba(0, 47, 167, .14), 0 1px 0 rgba(255, 255, 255, .45) inset;
}

body.brand-site .button.small {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12px;
}

body.brand-site .button.primary {
  box-shadow: 0 12px 26px rgba(0, 47, 167, .26), 0 1px 0 rgba(255, 255, 255, .35) inset;
}

body.brand-site .button.quiet {
  border-color: rgba(0, 47, 167, .20);
  background: rgba(255, 255, 255, .94);
  color: #0d2d86;
  box-shadow: 0 7px 16px rgba(14, 48, 132, .10), 0 1px 0 #fff inset;
}

body.brand-site .button.quiet:hover {
  background: #edf2ff;
  border-color: rgba(0, 47, 167, .40);
  box-shadow: 0 12px 24px rgba(0, 47, 167, .16), 0 1px 0 #fff inset;
}

body.brand-site .brand-hero-index {
  gap: 10px;
  margin-top: 42px;
}

body.brand-site .brand-hero-index span {
  min-width: 112px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 47, 167, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 24px rgba(21, 46, 112, .08), 0 1px 0 rgba(255, 255, 255, .85) inset;
}

body.brand-site .brand-hero-index strong {
  color: #0d2d86;
  font-size: 20px;
  font-weight: 850;
}

body.brand-site .browser-spotlight {
  border-radius: 28px;
  box-shadow: 0 34px 86px rgba(0, 23, 94, .26), 0 1px 0 rgba(255, 255, 255, .24) inset;
  transform: perspective(1500px) rotateY(-1.4deg);
  transition: transform .35s ease, box-shadow .35s ease;
}

body.brand-site .browser-spotlight:hover {
  transform: perspective(1500px) rotateY(0deg) translateY(-6px);
  box-shadow: 0 42px 98px rgba(0, 23, 94, .32), 0 1px 0 rgba(255, 255, 255, .30) inset;
}

body.brand-site .spotlight-copy h2 {
  font-size: 34px;
  font-weight: 850;
}

body.brand-site .spotlight-copy p {
  max-width: 480px;
  color: #dbe5ff;
  font-size: 14px;
  line-height: 1.85;
}

body.brand-site .spotlight-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  border-color: rgba(255, 255, 255, .44);
  background: rgba(255, 255, 255, .94);
  color: #0c2d86 !important;
  box-shadow: 0 11px 24px rgba(0, 0, 0, .16), 0 1px 0 #fff inset;
}

body.brand-site .spotlight-link:hover {
  background: #fff;
  color: #001f78 !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .22), 0 1px 0 #fff inset;
}

body.brand-site .brand-home-featured .priority-grid {
  gap: 18px;
}

body.brand-site .priority-card {
  position: relative;
  min-height: 330px;
  border-radius: 22px;
  border-color: rgba(0, 47, 167, .14);
  box-shadow: 0 16px 38px rgba(24, 48, 109, .12), 0 1px 0 rgba(255, 255, 255, .85) inset;
}

body.brand-site .priority-card::after,
body.brand-site .brand-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(122deg, transparent 30%, rgba(255, 255, 255, .20) 48%, transparent 67%);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity .3s ease, transform .55s ease;
}

body.brand-site .priority-card:hover::after,
body.brand-site .brand-product-card:hover::after {
  opacity: 1;
  transform: translateX(18%);
}

body.brand-site .priority-card-art {
  min-height: 178px;
  background: linear-gradient(145deg, #dce7ff, #b8cbff 70%, #eff4ff);
}

body.brand-site .priority-card-art::before,
body.brand-site .brand-product-card-art::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -45px;
  top: -60px;
  border: 1px solid rgba(0, 47, 167, .20);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(79, 121, 255, .08), 0 0 0 28px rgba(79, 121, 255, .05);
  transform: rotate(18deg);
}

body.brand-site .priority-card-art > *,
body.brand-site .brand-product-card-art > * {
  position: relative;
  z-index: 1;
}

body.brand-site .priority-card-art > small,
body.brand-site .brand-product-card-art > small {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
}

body.brand-site .priority-card-copy {
  padding: 22px 24px 24px;
}

body.brand-site .priority-card-copy h3 {
  font-size: 25px;
  font-weight: 850;
}

body.brand-site .priority-card-copy p {
  min-height: 56px;
  color: #43516f;
  font-size: 13px;
  line-height: 1.8;
}

body.brand-site .priority-card-featured .priority-card-bottom .button.quiet {
  border-color: rgba(219, 229, 255, .42);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16), 0 1px 0 rgba(255, 255, 255, .15) inset;
}

body.brand-site .priority-card-featured .priority-card-bottom .button.quiet:hover {
  background: rgba(255, 255, 255, .20);
  border-color: rgba(255, 255, 255, .62);
  color: #ffffff;
}

body.brand-site .home-route-strip {
  gap: 14px;
  border: 0;
}

body.brand-site .home-route-strip a,
body.brand-site .home-route-strip a:nth-child(2),
body.brand-site .home-route-strip a:nth-child(3),
body.brand-site .home-route-strip a:nth-child(4) {
  min-height: 132px;
  padding: 20px 21px;
  overflow: hidden;
  border: 1px solid rgba(0, 47, 167, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 14px 30px rgba(26, 51, 113, .10), 0 1px 0 #fff inset;
}

body.brand-site .home-route-strip a:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 47, 167, .32);
  box-shadow: 0 22px 42px rgba(0, 47, 167, .16), 0 1px 0 #fff inset;
}

body.brand-site .home-route-strip a::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -45px;
  bottom: -58px;
  border: 1px solid rgba(79, 121, 255, .22);
  border-radius: 50%;
  pointer-events: none;
}

body.brand-site .home-route-strip span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin: -2px 0 0 -2px;
  border-radius: 9px;
  background: #e7edff;
  color: #002fa7;
  font-size: 10px;
}

body.brand-site .home-route-strip strong {
  margin-top: 17px;
  font-size: 18px;
  font-weight: 850;
}

body.brand-site .home-route-strip small {
  color: #53627f;
  font-size: 12px;
}

body.brand-site .brand-page-heading {
  position: relative;
  padding-top: 74px;
  padding-bottom: 44px;
}

body.brand-site .brand-page-heading::after {
  content: "";
  display: block;
  width: 78px;
  height: 5px;
  margin-top: 32px;
  border-radius: 99px;
  background: linear-gradient(90deg, #002fa7, #e63b47);
  box-shadow: 0 4px 12px rgba(0, 47, 167, .20);
}

body.brand-site .brand-page-heading h1 {
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 850;
  line-height: 1.04;
}

body.brand-site .brand-directory-toolbar {
  padding: 21px 24px;
  border: 1px solid rgba(0, 47, 167, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 30px rgba(26, 51, 113, .08), 0 1px 0 #fff inset;
}

body.brand-site .brand-directory-toolbar strong {
  color: #101a35;
  font-size: 24px;
  font-weight: 850;
}

body.brand-site .brand-directory-toolbar > div > span:last-child {
  color: #53627f;
  font-size: 13px;
}

body.brand-site .brand-directory-toolbar .product-search {
  color: #43516f;
  font-size: 11px;
  font-weight: 800;
}

body.brand-site .brand-directory-toolbar input {
  min-height: 44px;
  border-color: rgba(0, 47, 167, .18);
  background: #ffffff;
  color: #101a35;
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(21, 46, 112, .06) inset;
}

body.brand-site .brand-product-filters {
  gap: 7px;
  margin: 18px 0 28px;
  padding: 8px;
  border: 1px solid rgba(0, 47, 167, .12);
  border-radius: 16px;
  background: #edf2ff;
  box-shadow: 0 8px 20px rgba(24, 48, 109, .07) inset;
}

body.brand-site .brand-product-filters button {
  min-height: 37px;
  padding: 8px 13px;
  border-color: rgba(0, 47, 167, .14);
  background: rgba(255, 255, 255, .84);
  color: #43516f;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 4px 10px rgba(24, 48, 109, .06), 0 1px 0 #fff inset;
}

body.brand-site .brand-product-grid {
  gap: 18px;
  align-items: stretch;
}

body.brand-site .brand-product-card {
  position: relative;
  min-height: 434px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 47, 167, .14);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 18px 42px rgba(26, 51, 113, .12), 0 1px 0 #fff inset;
}

body.brand-site .brand-product-card[hidden] {
  display: none !important;
}

body.brand-site .brand-product-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #002fa7, #4f79ff 65%, #e63b47);
  opacity: .9;
}

body.brand-site .brand-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 47, 167, .40);
  box-shadow: 0 28px 58px rgba(0, 47, 167, .18), 0 1px 0 #fff inset;
}

body.brand-site .brand-product-card-featured {
  min-height: 350px;
}

body.brand-site .brand-product-card-art {
  min-height: 180px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 47, 167, .10);
  background: linear-gradient(145deg, #d6e2ff, #aec4ff 68%, #eef3ff);
}

body.brand-site .brand-product-card-art > span {
  color: #234bad;
  font-size: 11px;
  font-weight: 850;
}

body.brand-site .brand-product-card-art > small {
  color: #475985;
  font-size: 10px;
  font-weight: 800;
}

body.brand-site .brand-product-card-art strong {
  font-weight: 850;
}

body.brand-site .brand-product-card-art .product-art-shape {
  position: absolute;
  inset: 44px 22px 20px;
}

body.brand-site .product-art-shape::before,
body.brand-site .product-art-shape::after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 20px;
  transform: rotate(-8deg);
}

body.brand-site .product-art-shape::before {
  inset: 15px 12% 0 4%;
  border: 1px solid rgba(0, 47, 167, .28);
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(79, 121, 255, .15));
  box-shadow: 16px 18px 28px rgba(0, 47, 167, .12);
}

body.brand-site .product-art-shape::after {
  width: 74px;
  height: 74px;
  right: -4px;
  top: -8px;
  border: 1px solid rgba(230, 59, 71, .32);
  border-radius: 50%;
  transform: none;
}

body.brand-site .product-art-shape i {
  position: absolute;
  z-index: 1;
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #002fa7;
  box-shadow: 0 5px 9px rgba(0, 47, 167, .18);
}

body.brand-site .product-art-shape i:nth-child(1) { width: 46%; left: 13%; top: 41%; }
body.brand-site .product-art-shape i:nth-child(2) { width: 30%; left: 13%; top: 57%; background: #e63b47; }
body.brand-site .product-art-shape i:nth-child(3) { width: 20%; right: 14%; top: 68%; background: #4f79ff; }

body.brand-site .brand-product-card:not(.brand-product-card-featured):nth-child(3n + 2) .brand-product-card-art {
  background: linear-gradient(145deg, #edf2ff, #d9e4ff 72%, #ffffff);
}

body.brand-site .brand-product-card:not(.brand-product-card-featured):nth-child(3n) .brand-product-card-art {
  background: linear-gradient(145deg, #fff1f2, #ffe1e5 72%, #ffffff);
}

body.brand-site .brand-product-card:not(.brand-product-card-featured):nth-child(3n) .product-art-shape i:nth-child(1) {
  background: #e63b47;
}

body.brand-site .brand-product-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr);
}

body.brand-site .brand-product-card-featured .brand-product-card-art {
  min-height: 100%;
  border-right: 1px solid rgba(219, 229, 255, .20);
  border-bottom: 0;
  background: linear-gradient(145deg, #315de2, #0e3ea9 56%, #06143d);
}

body.brand-site .brand-product-card-featured .brand-product-card-art::before {
  border-color: rgba(219, 229, 255, .30);
  box-shadow: 0 0 0 14px rgba(219, 229, 255, .08), 0 0 0 28px rgba(219, 229, 255, .04);
}

body.brand-site .brand-product-card-featured .brand-product-card-art > span,
body.brand-site .brand-product-card-featured .brand-product-card-art > small,
body.brand-site .brand-product-card-featured .brand-product-card-art strong {
  color: #f5f8ff;
}

body.brand-site .brand-product-card-featured .brand-product-card-body {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

body.brand-site .brand-product-card-body {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

body.brand-site .brand-product-card-body .product-meta {
  color: #234bad;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

body.brand-site .brand-product-card-body h2 {
  margin: 10px 0 11px;
  color: #101a35;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.2;
}

body.brand-site .brand-product-card-body p {
  display: -webkit-box;
  min-height: 88px;
  margin: 0;
  overflow: hidden;
  color: #43516f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.78;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.brand-site .brand-product-card-footer {
  min-height: 40px;
  margin-top: auto;
  padding-top: 23px;
}

body.brand-site .status-pill {
  min-height: 28px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(21, 46, 112, .05) inset;
}

body.brand-site .brand-product-card-footer .button {
  flex: 0 0 auto;
}

body.brand-site .brand-product-card-footer .button.quiet {
  color: #0d2d86;
}

@media (max-width: 1080px) and (min-width: 821px) {
  body.brand-site .brand-product-card-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body.brand-site .shell { width: min(100% - 32px, 620px); }

  body.brand-site .brand-hero-lead { font-size: 16px; }
  body.brand-site .brand-hero-index { gap: 8px; }
  body.brand-site .brand-hero-index span { min-width: 0; flex: 1 1 0; padding: 10px 11px; }
  body.brand-site .brand-hero-index strong { font-size: 18px; }

  body.brand-site .browser-spotlight {
    transform: none;
    box-shadow: 0 24px 58px rgba(0, 23, 94, .24), 0 1px 0 rgba(255, 255, 255, .24) inset;
  }

  body.brand-site .browser-spotlight:hover { transform: translateY(-3px); }
  body.brand-site .spotlight-copy h2 { font-size: 28px; }
  body.brand-site .spotlight-copy p { font-size: 13px; }

  body.brand-site .brand-product-grid { gap: 14px; }
  body.brand-site .brand-product-card,
  body.brand-site .brand-product-card-featured {
    min-height: 0;
    display: flex;
    grid-column: auto;
    grid-template-columns: none;
  }

  body.brand-site .brand-product-card-featured .brand-product-card-art {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(219, 229, 255, .20);
  }

  body.brand-site .brand-product-card-body p { min-height: 0; }
  body.brand-site .brand-product-card-body { padding: 20px; }
  body.brand-site .brand-product-card-body h2 { font-size: 22px; }

  body.brand-site .home-route-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.brand-site .home-route-strip a,
  body.brand-site .home-route-strip a:nth-child(2),
  body.brand-site .home-route-strip a:nth-child(3),
  body.brand-site .home-route-strip a:nth-child(4) {
    min-height: 118px;
    padding: 17px;
  }
}

@media (max-width: 470px) {
  body.brand-site .brand-hero-index span { font-size: 10px; }
  body.brand-site .brand-hero-index strong { font-size: 16px; }
  body.brand-site .brand-page-heading h1 { font-size: 43px; }
  body.brand-site .brand-directory-toolbar { padding: 18px; }
  body.brand-site .brand-product-filters { margin-bottom: 20px; }
  body.brand-site .brand-product-card-art { min-height: 164px; }
  body.brand-site .brand-product-card-body p { font-size: 13px; }
  body.brand-site .home-route-strip { grid-template-columns: 1fr; }
  body.brand-site .home-route-strip a,
  body.brand-site .home-route-strip a:nth-child(2),
  body.brand-site .home-route-strip a:nth-child(3),
  body.brand-site .home-route-strip a:nth-child(4) { min-height: 104px; }
}

/* Keep decorative glows from creating a page-wide horizontal scrollbar. */
html:has(body.brand-site) { overflow-x: hidden; }
body.brand-site .brand-hero-copy::before { left: 0; width: 300px; }

/* Each product keeps the same information architecture, but its art layer
 * carries a different visual metaphor so the catalogue reads as products,
 * not repeated instances of one generic card. */
body.brand-site .brand-product-xingren-recorder::before {
  background: linear-gradient(90deg, #6e5bff, #e63b47 76%, #ff8e98);
}

body.brand-site .brand-product-timeflow::before {
  background: linear-gradient(90deg, #002fa7, #4f79ff 55%, #e63b47);
}

body.brand-site .brand-product-magic-desktop-pet::before {
  background: linear-gradient(90deg, #e63b47, #9b62ff 55%, #4f79ff);
}

body.brand-site .brand-product-super-screenshot::before {
  background: linear-gradient(90deg, #001f78, #315de2 62%, #7ea1ff);
}

body.brand-site .brand-product-format-converter::before {
  background: linear-gradient(90deg, #e63b47, #ff7b86 48%, #002fa7);
}

body.brand-site .brand-product-website-navigator::before {
  background: linear-gradient(90deg, #002fa7, #4f79ff 48%, #20b8d8);
}

body.brand-site .brand-art-xingren-recorder .product-art-shape::before {
  inset: 0 auto auto 24%;
  width: 96px;
  height: 132px;
  border-radius: 26px;
  border-color: rgba(0, 47, 167, .24);
  background: linear-gradient(150deg, #ffffff, #e2eaff 72%, #b8caff);
  transform: rotate(-10deg);
  box-shadow: 16px 18px 28px rgba(0, 47, 167, .16);
}

body.brand-site .brand-art-xingren-recorder .product-art-shape::after {
  width: 12px;
  height: 12px;
  right: 18%;
  top: 22%;
  border: 0;
  border-radius: 50%;
  background: #e63b47;
  box-shadow: 0 0 0 6px rgba(230, 59, 71, .14), 0 4px 10px rgba(183, 31, 44, .24);
  transform: none;
}

body.brand-site .brand-art-xingren-recorder .product-art-shape i:nth-child(1) {
  width: 45px;
  left: 35%;
  top: 39%;
  background: #002fa7;
}

body.brand-site .brand-art-xingren-recorder .product-art-shape i:nth-child(2) {
  width: 28px;
  left: 35%;
  top: 52%;
  background: #4f79ff;
}

body.brand-site .brand-art-xingren-recorder .product-art-shape i:nth-child(3) { background: #e63b47; }

body.brand-site .brand-art-timeflow .product-art-shape::before {
  inset: 4px auto auto 23%;
  width: 136px;
  height: 136px;
  border: 3px solid rgba(0, 47, 167, .38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .94) 0 38%, rgba(79, 121, 255, .15) 39% 42%, transparent 43%);
  transform: none;
  box-shadow: 0 10px 24px rgba(0, 47, 167, .14), inset 0 0 0 12px rgba(79, 121, 255, .08);
}

body.brand-site .brand-art-timeflow .product-art-shape::after {
  width: 72px;
  height: 5px;
  left: 36%;
  top: 48%;
  border: 0;
  border-radius: 99px;
  background: #e63b47;
  box-shadow: 0 0 0 5px rgba(230, 59, 71, .11);
  transform: rotate(-28deg);
}

body.brand-site .brand-art-timeflow .product-art-shape i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: none;
}

body.brand-site .brand-art-timeflow .product-art-shape i:nth-child(1) { left: 48%; top: 22%; background: #002fa7; }
body.brand-site .brand-art-timeflow .product-art-shape i:nth-child(2) { left: 28%; top: 63%; background: #4f79ff; }
body.brand-site .brand-art-timeflow .product-art-shape i:nth-child(3) { right: 20%; top: 57%; background: #e63b47; }

body.brand-site .brand-art-magic-desktop-pet .product-art-shape::before {
  inset: 5px auto auto 28%;
  width: 122px;
  height: 122px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(145deg, #e63b47, #9b62ff 58%, #4f79ff);
  clip-path: polygon(50% 0%, 63% 31%, 96% 24%, 73% 52%, 100% 77%, 63% 69%, 50% 100%, 37% 69%, 0% 77%, 27% 52%, 4% 24%, 37% 31%);
  transform: rotate(9deg);
  filter: drop-shadow(0 16px 18px rgba(110, 47, 167, .22));
}

body.brand-site .brand-art-magic-desktop-pet .product-art-shape::after {
  width: 44px;
  height: 44px;
  right: 15%;
  top: 18%;
  border: 1px solid rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .15);
  transform: rotate(14deg);
}

body.brand-site .brand-art-magic-desktop-pet .product-art-shape i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: none;
}

body.brand-site .brand-art-magic-desktop-pet .product-art-shape i:nth-child(1) { left: 21%; top: 23%; background: #e63b47; }
body.brand-site .brand-art-magic-desktop-pet .product-art-shape i:nth-child(2) { left: 70%; top: 70%; background: #4f79ff; }
body.brand-site .brand-art-magic-desktop-pet .product-art-shape i:nth-child(3) { right: 9%; top: 49%; background: #9b62ff; }

body.brand-site .brand-art-super-screenshot .product-art-shape::before {
  inset: 20px 14% 11px 10%;
  border: 2px dashed rgba(0, 47, 167, .48);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(79, 121, 255, .12));
  transform: none;
  box-shadow: 0 14px 22px rgba(0, 47, 167, .12);
}

body.brand-site .brand-art-super-screenshot .product-art-shape::after {
  width: 76px;
  height: 76px;
  right: 20%;
  top: 18%;
  border: 2px solid #e63b47;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 48%, rgba(230, 59, 71, .72) 49% 51%, transparent 52%), linear-gradient(0deg, transparent 48%, rgba(230, 59, 71, .72) 49% 51%, transparent 52%);
  transform: none;
}

body.brand-site .brand-art-super-screenshot .product-art-shape i:nth-child(1) { width: 54px; left: 23%; top: 37%; background: #002fa7; }
body.brand-site .brand-art-super-screenshot .product-art-shape i:nth-child(2) { width: 36px; left: 23%; top: 52%; background: #4f79ff; }
body.brand-site .brand-art-super-screenshot .product-art-shape i:nth-child(3) { width: 18px; right: 23%; top: 75%; background: #e63b47; }

body.brand-site .brand-art-format-converter .product-art-shape::before {
  inset: 31px auto auto 18%;
  width: 140px;
  height: 88px;
  border: 1px solid rgba(0, 47, 167, .28);
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #dce7ff);
  transform: rotate(-8deg);
  box-shadow: 22px 20px 0 -6px rgba(79, 121, 255, .18), 0 16px 26px rgba(0, 47, 167, .15);
}

body.brand-site .brand-art-format-converter .product-art-shape::after {
  width: 74px;
  height: 5px;
  left: 39%;
  top: 47%;
  border: 0;
  border-radius: 99px;
  background: #e63b47;
  box-shadow: 0 0 0 8px rgba(230, 59, 71, .10);
  transform: rotate(16deg);
}

body.brand-site .brand-art-format-converter .product-art-shape i:nth-child(1) { width: 45px; left: 22%; top: 30%; background: #002fa7; }
body.brand-site .brand-art-format-converter .product-art-shape i:nth-child(2) { width: 30px; left: 56%; top: 64%; background: #4f79ff; }
body.brand-site .brand-art-format-converter .product-art-shape i:nth-child(3) { width: 18px; right: 18%; top: 31%; background: #e63b47; }

body.brand-site .brand-art-website-navigator .product-art-shape::before {
  inset: 19px 12% 18px;
  border: 1px solid rgba(0, 47, 167, .26);
  border-radius: 18px;
  background: radial-gradient(circle at 28% 38%, #e63b47 0 5px, transparent 6px), radial-gradient(circle at 72% 30%, #002fa7 0 5px, transparent 6px), radial-gradient(circle at 58% 72%, #4f79ff 0 6px, transparent 7px), linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(79, 121, 255, .14));
  transform: none;
  box-shadow: 0 14px 24px rgba(0, 47, 167, .13);
}

body.brand-site .brand-art-website-navigator .product-art-shape::after {
  width: 72px;
  height: 2px;
  left: 32%;
  top: 49%;
  border: 0;
  border-radius: 99px;
  background: #002fa7;
  box-shadow: 26px 18px 0 #4f79ff, 50px -16px 0 #e63b47;
  transform: rotate(-28deg);
}

body.brand-site .brand-art-website-navigator .product-art-shape i:nth-child(1) { width: 22px; left: 24%; top: 32%; background: #e63b47; }
body.brand-site .brand-art-website-navigator .product-art-shape i:nth-child(2) { width: 22px; left: 66%; top: 29%; background: #002fa7; }
body.brand-site .brand-art-website-navigator .product-art-shape i:nth-child(3) { width: 22px; left: 52%; top: 71%; background: #4f79ff; }

/* -------------------------------------------------------------------------
 * Single-screen public pages
 *
 * The public test site is intentionally app-like: the information people
 * need to choose a product or start a download is visible in one viewport.
 * Secondary copy is routed through the existing menus and detail/tutorial
 * links, so the compact mode does not change the business URLs or actions.
 * The account, order and legal areas are deliberately outside this mode and
 * keep normal document flow for readability and form completion.
 * ------------------------------------------------------------------------- */
body.brand-site.single-screen-page {
  --yg-single-top: 112px;
  overflow: hidden;
}

body.brand-site.single-screen-page main {
  height: calc(100svh - var(--yg-single-top));
  min-height: 0;
  overflow: hidden;
}

body.brand-site.single-screen-page .brand-footer {
  display: none;
}

body.brand-site.single-screen-page .brand-header {
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}

body.brand-site.single-screen-page .site-top-announcement {
  min-height: 30px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 11px;
}

body.brand-site.single-screen-page .brand-page-heading {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: flex-end;
  gap: 22px;
  padding-top: 18px;
  padding-bottom: 13px;
}

body.brand-site.single-screen-page .brand-page-heading > * { min-width: 0; }
body.brand-site.single-screen-page .brand-page-heading > .eyebrow { grid-column: 1; grid-row: 1; }

body.brand-site.single-screen-page .brand-page-heading h1 {
  grid-column: 1;
  grid-row: 2;
  flex: 0 1 auto;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing: -.045em;
}

body.brand-site.single-screen-page .brand-page-heading h1 br { display: none; }
body.brand-site.single-screen-page .brand-page-heading h1 em { display: block; white-space: normal; }

body.brand-site.single-screen-page .brand-page-heading p {
  grid-column: 2;
  grid-row: 2;
  max-width: 520px;
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 1.65;
}

body.brand-site.single-screen-page .brand-page-heading::after {
  display: none;
}

body.brand-site.single-screen-page .brand-account-band,
body.brand-site.single-screen-page .compact-band,
body.brand-site.single-screen-page .brand-download-note,
body.brand-site.single-screen-page .help-footer {
  display: none;
}

/* Home: the hero is the complete first screen.  The full catalogue and
 * support routes remain one click away in the header menus. */
body.brand-site.home-screen-page main {
  display: block;
}

body.brand-site.home-screen-page .brand-hero {
  height: 100%;
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 28px;
  align-items: center;
}

body.brand-site.home-screen-page .brand-hero-copy {
  align-self: center;
}

body.brand-site.home-screen-page .brand-hero h1 {
  max-width: 620px;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: .98;
}

body.brand-site.home-screen-page .brand-hero-lead {
  max-width: 500px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.72;
}

body.brand-site.home-screen-page .brand-hero-actions {
  margin-top: 22px;
}

body.brand-site.home-screen-page .brand-hero-index {
  margin-top: 24px;
}

body.brand-site.home-screen-page .browser-spotlight {
  min-height: 0;
  height: min(500px, calc(100% - 40px));
  align-self: center;
  box-sizing: border-box;
}

body.brand-site.home-screen-page .brand-home-featured,
body.brand-site.home-screen-page .brand-home-routes {
  display: none;
}

body.brand-site.single-screen-page .brand-download-card .download-card-content > .button {
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 9px;
}

/* Product catalogue: a compact 3 × 3 dashboard.  Cards keep their distinct
 * art layers, but descriptions move to the detail pages so every product is
 * still scannable without a long catalogue scroll. */
body.brand-site.single-screen-page .brand-product-directory {
  height: calc(100% - 108px);
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.brand-site.single-screen-page .brand-directory-toolbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 14px;
}

body.brand-site.single-screen-page .brand-directory-toolbar > div {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}

body.brand-site.single-screen-page .brand-directory-toolbar strong { font-size: 18px; }
body.brand-site.single-screen-page .brand-directory-toolbar > div > span:last-child { font-size: 11px; }

body.brand-site.single-screen-page .brand-directory-toolbar .product-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

body.brand-site.single-screen-page .brand-directory-toolbar input {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
}

body.brand-site.single-screen-page .brand-product-filters {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 8px 0 10px;
  padding: 5px;
  overflow: hidden;
  border-radius: 11px;
}

body.brand-site.single-screen-page .brand-product-filters button {
  min-height: 29px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 10px;
  white-space: nowrap;
}

body.brand-site.single-screen-page .brand-product-grid {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
}

body.brand-site.single-screen-page .brand-product-card,
body.brand-site.single-screen-page .brand-product-card-featured,
body.brand-site.single-screen-page .brand-product-website-navigator {
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-column: auto;
  grid-template-columns: 92px minmax(0, 1fr);
  border-radius: 14px;
}

body.brand-site.single-screen-page .brand-product-card-art,
body.brand-site.single-screen-page .brand-product-card-featured .brand-product-card-art,
body.brand-site.single-screen-page .brand-product-website-navigator .brand-product-card-art {
  min-height: 0;
  height: 100%;
  border-right: 1px solid rgba(0, 47, 167, .12);
  border-bottom: 0;
}

body.brand-site.single-screen-page .brand-product-card-art .product-art-shape {
  inset: 30px 8px 14px;
  transform: scale(.72);
  transform-origin: center;
}

body.brand-site.single-screen-page .brand-product-card-art > span {
  top: 10px;
  left: 10px;
  font-size: 9px;
}

body.brand-site.single-screen-page .brand-product-card-art > small {
  right: 8px;
  bottom: 8px;
  font-size: 8px;
  letter-spacing: .04em;
}

body.brand-site.single-screen-page .brand-product-card-art strong {
  top: 44px;
  left: 9px;
  font-size: 17px;
  line-height: .95;
}

body.brand-site.single-screen-page .brand-product-card-body {
  min-height: 0;
  overflow: hidden;
  padding: 11px 12px 10px;
}

body.brand-site.single-screen-page .brand-product-card-body .product-meta {
  display: block;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.brand-site.single-screen-page .brand-product-card-body h2 {
  margin: 5px 0 4px;
  font-size: 16px;
  line-height: 1.12;
}

body.brand-site.single-screen-page .brand-product-card-body p {
  display: -webkit-box;
  min-height: 0;
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

body.brand-site.single-screen-page .brand-product-card-footer {
  min-height: 25px;
  padding-top: 6px;
}

body.brand-site.single-screen-page .brand-product-card-footer .status-pill {
  min-height: 21px;
  padding: 4px 6px;
  font-size: 9px;
}

body.brand-site.single-screen-page .brand-product-card-footer .button.small {
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 9px;
}

/* Downloads, releases, tutorials and help are dense launch dashboards. */
body.brand-site.single-screen-page .brand-download-directory,
body.brand-site.single-screen-page .brand-release-directory,
body.brand-site.single-screen-page .brand-tutorial-directory {
  height: 390px;
  max-height: 390px;
  min-height: 0;
  overflow: hidden;
}

body.brand-site.single-screen-page .brand-download-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.brand-site.single-screen-page .brand-download-card {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  border-radius: 14px;
}

body.brand-site.single-screen-page .brand-download-card-featured {
  grid-column: auto;
}

body.brand-site.single-screen-page .download-card-rail {
  min-height: 0;
  padding: 10px 8px;
}

body.brand-site.single-screen-page .download-card-rail strong { font-size: 18px; }
body.brand-site.single-screen-page .download-card-rail small { font-size: 8px; }

body.brand-site.single-screen-page .download-card-content {
  min-width: 0;
  overflow: hidden;
  padding: 11px 12px;
}

body.brand-site.single-screen-page .download-card-content h2 {
  margin: 5px 0 4px;
  font-size: 15px;
  line-height: 1.15;
}

body.brand-site.single-screen-page .download-card-content > p,
body.brand-site.single-screen-page .download-card-content .release-facts,
body.brand-site.single-screen-page .download-card-content .release-channel {
  display: none;
}

body.brand-site.single-screen-page .download-card-content .download-meta {
  gap: 5px;
  font-size: 9px;
}

body.brand-site.single-screen-page .download-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}

body.brand-site.single-screen-page .download-variant {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 7px;
  border-radius: 8px;
}

body.brand-site.single-screen-page .download-variant p,
body.brand-site.single-screen-page .download-variant .release-facts,
body.brand-site.single-screen-page .download-variant .release-channel { display: none; }

body.brand-site.single-screen-page .download-variant > div strong,
body.brand-site.single-screen-page .download-variant > div span {
  display: block;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.brand-site.single-screen-page .download-variant .button {
  width: 100%;
  min-height: 25px;
  margin-top: 5px;
  padding: 4px 6px;
  border-radius: 7px;
  font-size: 9px;
}

body.brand-site.single-screen-page .brand-release-list {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.brand-site.single-screen-page .brand-release-card {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
}

body.brand-site.single-screen-page .brand-release-number { font-size: 21px; }
body.brand-site.single-screen-page .brand-release-main { min-width: 0; overflow: hidden; }
body.brand-site.single-screen-page .brand-release-main .product-meta { font-size: 9px; }
body.brand-site.single-screen-page .brand-release-main h2 { margin: 5px 0 4px; font-size: 15px; line-height: 1.15; }
body.brand-site.single-screen-page .brand-release-main > p { display: none; }
body.brand-site.single-screen-page .release-variant-list { margin-top: 8px; }
body.brand-site.single-screen-page .release-variant-row { min-height: 26px; padding: 5px 6px; border-radius: 7px; }
body.brand-site.single-screen-page .release-variant-row strong,
body.brand-site.single-screen-page .release-variant-row small,
body.brand-site.single-screen-page .release-variant-row .status-pill { font-size: 9px; }
body.brand-site.single-screen-page .brand-release-card > .text-link { align-self: end; grid-column: 2; font-size: 10px; }

body.brand-site.single-screen-page .tutorial-directory-grid {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.brand-site.single-screen-page .brand-tutorial-card {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
}

body.brand-site.single-screen-page .tutorial-card-number { font-size: 20px; }
body.brand-site.single-screen-page .tutorial-card-copy { min-width: 0; overflow: hidden; }
body.brand-site.single-screen-page .tutorial-card-copy .product-meta { font-size: 9px; }
body.brand-site.single-screen-page .tutorial-card-copy h2 { margin: 4px 0; font-size: 15px; line-height: 1.14; }
body.brand-site.single-screen-page .tutorial-card-copy p { display: none; }
body.brand-site.single-screen-page .tutorial-count { display: block; margin: 5px 0 8px; font-size: 9px; }
body.brand-site.single-screen-page .tutorial-card-copy .button { min-height: 25px; padding: 4px 7px; border-radius: 7px; font-size: 9px; }

/* Product details become a focused launch screen.  The existing navigation
 * and tutorial links keep the full feature/support sections reachable. */
body.brand-site.single-screen-page .detail-hero,
body.brand-site.single-screen-page .detail-hero-editorial {
  height: 100%;
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 28px;
  align-items: center;
}

body.brand-site.single-screen-page .detail-hero h1,
body.brand-site.single-screen-page .detail-hero-editorial h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: .98;
}

body.brand-site.single-screen-page .detail-hero p,
body.brand-site.single-screen-page .detail-hero-editorial p {
  max-width: 520px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.65;
}

body.brand-site.single-screen-page .detail-hero .product-facts,
body.brand-site.single-screen-page .detail-hero-editorial .product-facts {
  gap: 6px;
  margin-top: 16px;
}

body.brand-site.single-screen-page .detail-hero .product-facts span,
body.brand-site.single-screen-page .detail-hero-editorial .product-facts span {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 9px;
}

body.brand-site.single-screen-page .detail-hero .actions,
body.brand-site.single-screen-page .detail-hero-editorial .actions {
  gap: 7px;
  margin-top: 16px;
}

body.brand-site.single-screen-page .detail-hero .actions .button,
body.brand-site.single-screen-page .detail-hero-editorial .actions .button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 11px;
}

body.brand-site.single-screen-page .brand-detail-hero + section:not(.browser-download-section):not(.product-buy-rail),
body.brand-site.single-screen-page .detail-hero-editorial ~ section:not(.product-buy-rail),
body.brand-site.single-screen-page .detail-hero-editorial ~ nav,
body.brand-site.single-screen-page .brand-detail-features,
body.brand-site.single-screen-page .brand-detail-service,
body.brand-site.single-screen-page .detail-led-section,
body.brand-site.single-screen-page .detail-purchase-section,
body.brand-site.single-screen-page .detail-updates,
body.brand-site.single-screen-page .product-package-section,
body.brand-site.single-screen-page .social-result-section,
body.brand-site.single-screen-page .social-workflow-section,
body.brand-site.single-screen-page .social-spec-section,
body.brand-site.single-screen-page .jike-output-section,
body.brand-site.single-screen-page .jike-plan-section,
body.brand-site.single-screen-page .jike-welcome-section,
body.brand-site.single-screen-page > main > .band {
  display: none;
}

body.brand-site.single-screen-page .browser-download-section {
  height: 100%;
  min-height: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

body.brand-site.single-screen-page .browser-detail-hero {
  height: 48%;
  min-height: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}

body.brand-site.single-screen-page .browser-detail-hero + .browser-download-section {
  height: 52%;
  min-height: 0;
}

body.brand-site.single-screen-page .browser-detail-hero .brand-detail-art { min-height: 250px; }

body.brand-site.single-screen-page .browser-download-section .section-heading-row {
  margin-bottom: 12px;
}

body.brand-site.single-screen-page .browser-download-section .section-heading-row h2 {
  font-size: 24px;
}

body.brand-site.single-screen-page .browser-variant-grid {
  gap: 10px;
}

body.brand-site.single-screen-page .browser-variant-card {
  min-height: 0;
  padding: 13px;
  border-radius: 14px;
}

body.brand-site.single-screen-page .browser-variant-card .release-facts,
body.brand-site.single-screen-page .browser-variant-card .release-line {
  font-size: 10px;
}

/* Tutorial detail keeps the first actionable step visible and routes the
 * long-form chapter list through the product-specific tutorial links. */
body.brand-site.single-screen-page .tutorial-detail-layout {
  height: calc(100% - 108px);
  min-height: 0;
  overflow: hidden;
}

body.brand-site.single-screen-page .tutorial-detail-intro {
  min-height: 0;
  padding: 14px;
  gap: 18px;
}

body.brand-site.single-screen-page .tutorial-detail-intro .actions { margin-top: 12px; }
body.brand-site.single-screen-page .tutorial-guide-list {
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: hidden;
}

body.brand-site.single-screen-page .tutorial-guide-card {
  min-height: 0;
  padding: 12px;
  overflow: hidden;
}

body.brand-site.single-screen-page .tutorial-guide-card p,
body.brand-site.single-screen-page .tutorial-guide-card ol {
  display: none;
}

/* Compact support/contact pages without touching authenticated forms. */
body.brand-site.single-screen-page .contact-grid,
body.brand-site.single-screen-page .help-directory {
  height: calc(100% - 108px);
  min-height: 0;
  overflow: hidden;
}

body.brand-site.single-screen-page .contact-grid { gap: 12px; }
body.brand-site.single-screen-page .contact-route-card { padding: 16px; }
body.brand-site.single-screen-page .contact-route-card p { font-size: 12px; line-height: 1.55; }

@media (min-width: 1081px) {
  body.brand-site.single-screen-page .brand-header { padding-inline: 28px; }
  body.brand-site.single-screen-page .brand-product-grid {
    flex: 0 0 390px;
    height: 390px;
    max-height: 390px;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  body.brand-site.single-screen-page .about-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr);
    gap: 28px;
    align-items: center;
    padding-top: 22px;
    padding-bottom: 0;
  }
  body.brand-site.single-screen-page .about-service-grid h2 { margin-bottom: 8px; font-size: 30px; }
  body.brand-site.single-screen-page .about-service-grid p { max-width: 620px; font-size: 12px; line-height: 1.6; }
  body.brand-site.single-screen-page .about-service-grid .actions { margin-top: 12px; }
  body.brand-site.single-screen-page .about-service-card { padding: 18px; border-radius: 16px; }
  body.brand-site.single-screen-page .about-principles { padding-bottom: 20px; }
  body.brand-site.single-screen-page .about-principle-grid article { min-height: 140px; padding: 16px; }
  body.brand-site.single-screen-page .about-principle-grid h2 { margin: 22px 0 6px; font-size: 20px; }
  body.brand-site.single-screen-page .about-principle-grid p { font-size: 11px; line-height: 1.55; }
  body.brand-site.home-screen-page .brand-hero { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 54px; }
  body.brand-site.home-screen-page .spotlight-device-stage { height: 220px; margin-top: 15px; }
  body.brand-site.home-screen-page .spotlight-window { height: 170px; padding: 14px 16px; }
  body.brand-site.home-screen-page .spotlight-window strong { margin-top: 16px; font-size: 23px; }
  body.brand-site.home-screen-page .browser-card-stack { margin-top: 14px; }
  body.brand-site.home-screen-page .spotlight-phone { width: 78px; height: 150px; padding: 20px 10px 10px; }
  body.brand-site.home-screen-page .spotlight-phone strong { margin-top: 16px; font-size: 17px; }
  body.brand-site.home-screen-page .spotlight-phone b { margin-top: 15px; }
  body.brand-site.home-screen-page .spotlight-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12px; line-height: 1.55; }
  body.brand-site.home-screen-page .spotlight-link { margin-top: 10px; min-height: 34px; padding: 8px 12px; font-size: 11px; }
  body.brand-site.home-screen-page .spotlight-copy { position: static; padding-bottom: 44px; }
  body.brand-site.home-screen-page .spotlight-link { position: absolute; left: 26px; bottom: 8px; }
}

@media (max-width: 1080px) and (min-width: 821px) {
  body.brand-site.single-screen-page { --yg-single-top: 142px; }
  body.brand-site.single-screen-page .brand-page-heading { gap: 14px; }
  body.brand-site.single-screen-page .brand-page-heading h1 { font-size: 42px; }
  body.brand-site.single-screen-page .brand-page-heading p { font-size: 12px; }
  body.brand-site.single-screen-page .brand-product-grid,
  body.brand-site.single-screen-page .brand-download-directory,
  body.brand-site.single-screen-page .brand-release-list,
  body.brand-site.single-screen-page .tutorial-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body.brand-site.single-screen-page {
    --yg-single-top: 143px;
  }

  body.brand-site.single-screen-page main { height: calc(100svh - var(--yg-single-top)); }
  body.brand-site.single-screen-page .shell {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
  body.brand-site.single-screen-page .brand-page-heading,
  body.brand-site.single-screen-page .brand-product-directory,
  body.brand-site.single-screen-page .brand-download-directory,
  body.brand-site.single-screen-page .brand-release-directory,
  body.brand-site.single-screen-page .brand-tutorial-directory,
  body.brand-site.home-screen-page .brand-hero {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }
  body.brand-site.single-screen-page .brand-product-directory {
    flex: 0 0 auto;
    overflow: hidden;
  }
  body.brand-site.single-screen-page .brand-product-grid {
    flex: 0 0 auto;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    overflow: hidden;
  }
  body.brand-site.single-screen-page .brand-header { min-height: 62px; }
  body.brand-site.single-screen-page .site-top-announcement { min-height: 25px; padding-block: 5px; }
  body.brand-site.single-screen-page .brand-page-heading {
    display: block;
    padding-top: 12px;
    padding-bottom: 8px;
  }
  body.brand-site.single-screen-page .brand-page-heading h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.brand-site.single-screen-page .brand-page-heading h1 em { display: block; white-space: normal; }
  body.brand-site.single-screen-page .brand-page-heading p { display: none; }

  body.brand-site.home-screen-page .brand-hero {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body.brand-site.home-screen-page .brand-hero-copy { flex: 0 0 auto; }
  body.brand-site.home-screen-page .brand-hero h1 { font-size: clamp(37px, 11vw, 52px); }
  body.brand-site.home-screen-page .brand-hero-lead { margin-top: 10px; font-size: 13px; line-height: 1.55; }
  body.brand-site.home-screen-page .brand-hero-actions { margin-top: 12px; }
  body.brand-site.home-screen-page .brand-hero-index { margin-top: 12px; }
  body.brand-site.home-screen-page .brand-hero-index span { padding: 8px 9px; }
  body.brand-site.home-screen-page .brand-hero-index strong { font-size: 15px; }
  body.brand-site.home-screen-page .browser-spotlight { width: 100%; height: 300px; margin-top: 0; padding: 14px; box-sizing: border-box; }
  body.brand-site.home-screen-page .spotlight-device-stage { height: 118px; margin-top: 6px; }
  body.brand-site.home-screen-page .spotlight-window { height: 96px; padding: 9px 10px; }
  body.brand-site.home-screen-page .spotlight-window strong { margin-top: 9px; font-size: 16px; }
  body.brand-site.home-screen-page .browser-card-stack { margin-top: 7px; }
  body.brand-site.home-screen-page .browser-card-stack i { padding: 4px 7px; font-size: 8px; }
  body.brand-site.home-screen-page .spotlight-phone { width: 54px; height: 106px; padding: 13px 7px 7px; }
  body.brand-site.home-screen-page .spotlight-phone strong { margin-top: 9px; font-size: 12px; }
  body.brand-site.home-screen-page .spotlight-phone b { margin-top: 8px; font-size: 8px; }
  body.brand-site.home-screen-page .spotlight-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
  body.brand-site.home-screen-page .spotlight-copy h2 { font-size: 21px; }
  body.brand-site.home-screen-page .spotlight-copy p { display: none; }
  body.brand-site.home-screen-page .spotlight-link { margin-top: 0; padding: 8px 10px; font-size: 10px; }

  body.brand-site.single-screen-page .brand-product-directory,
  body.brand-site.single-screen-page .brand-download-directory,
  body.brand-site.single-screen-page .brand-release-directory,
  body.brand-site.single-screen-page .brand-tutorial-directory,
  body.brand-site.single-screen-page .help-directory,
  body.brand-site.single-screen-page .contact-grid { height: calc(100% - 74px); }

  body.brand-site.single-screen-page .brand-directory-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 7px;
    padding: 7px 9px;
  }
  body.brand-site.single-screen-page .brand-directory-toolbar > div { gap: 3px 7px; }
  body.brand-site.single-screen-page .brand-directory-toolbar .eyebrow { font-size: 8px; }
  body.brand-site.single-screen-page .brand-directory-toolbar strong { font-size: 14px; }
  body.brand-site.single-screen-page .brand-directory-toolbar > div > span:last-child { display: none; }
  body.brand-site.single-screen-page .brand-directory-toolbar .product-search { display: block; min-width: 0; width: 100%; font-size: 0; }
  body.brand-site.single-screen-page .brand-directory-toolbar input { width: 100%; min-height: 30px; font-size: 10px; }

  body.brand-site.single-screen-page .brand-product-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    max-height: 58px;
    margin: 6px 0 7px;
    padding: 4px;
  }
  body.brand-site.single-screen-page .brand-product-filters button { min-width: 0; padding: 4px 3px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; }

  body.brand-site.single-screen-page .brand-product-grid,
  body.brand-site.single-screen-page .brand-download-directory,
  body.brand-site.single-screen-page .brand-release-list,
  body.brand-site.single-screen-page .tutorial-directory-grid {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body.brand-site.single-screen-page .brand-product-card,
  body.brand-site.single-screen-page .brand-product-card-featured,
  body.brand-site.single-screen-page .brand-product-website-navigator {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
  }
  body.brand-site.single-screen-page .brand-product-card-art,
  body.brand-site.single-screen-page .brand-product-card-featured .brand-product-card-art,
  body.brand-site.single-screen-page .brand-product-website-navigator .brand-product-card-art {
    flex: 0 0 38px;
    height: 38px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 47, 167, .10);
  }
  body.brand-site.single-screen-page .brand-product-card-art > span { top: 5px; left: 6px; font-size: 8px; }
  body.brand-site.single-screen-page .brand-product-card-art > small { right: 5px; bottom: 5px; font-size: 6px; }
  body.brand-site.single-screen-page .brand-product-card-art strong { top: 12px; left: 7px; font-size: 11px; }
  body.brand-site.single-screen-page .brand-product-card-art .product-art-shape { inset: 2px 6px 2px; transform: scale(.45); }
  body.brand-site.single-screen-page .brand-product-card-body { padding: 6px 7px; }
  body.brand-site.single-screen-page .brand-product-card-body .product-meta { font-size: 7px; }
  body.brand-site.single-screen-page .brand-product-card-body h2 { margin: 3px 0 2px; font-size: 11px; line-height: 1.12; }
  body.brand-site.single-screen-page .brand-product-card-body p { display: none; }
  body.brand-site.single-screen-page .brand-product-card-footer { padding-top: 3px; }
  body.brand-site.single-screen-page .brand-product-card-footer .status-pill { min-height: 18px; padding: 3px 4px; font-size: 7px; }
  body.brand-site.single-screen-page .brand-product-card-footer .button.small { min-height: 20px; padding: 3px 4px; font-size: 7px; }

  body.brand-site.single-screen-page .brand-download-card,
  body.brand-site.single-screen-page .brand-release-card,
  body.brand-site.single-screen-page .brand-tutorial-card {
    border-radius: 10px;
  }

  body.brand-site.single-screen-page .brand-download-card { grid-template-columns: 30px minmax(0, 1fr); }
  body.brand-site.single-screen-page .download-card-rail { padding: 7px 4px; }
  body.brand-site.single-screen-page .download-card-rail strong { font-size: 12px; }
  body.brand-site.single-screen-page .download-card-rail small { display: none; }
  body.brand-site.single-screen-page .download-card-content { padding: 7px; }
  body.brand-site.single-screen-page .download-card-content h2 { margin: 3px 0; font-size: 10px; }
  body.brand-site.single-screen-page .download-card-content .download-meta { font-size: 7px; }
  body.brand-site.single-screen-page .download-variant-grid { gap: 3px; margin-top: 3px; }
  body.brand-site.single-screen-page .download-variant { padding: 4px; }
  body.brand-site.single-screen-page .download-variant > div strong,
  body.brand-site.single-screen-page .download-variant > div span { font-size: 7px; }
  body.brand-site.single-screen-page .download-variant .button { min-height: 18px; margin-top: 3px; padding: 2px 3px; font-size: 7px; }

  body.brand-site.single-screen-page .brand-release-card { grid-template-columns: 22px minmax(0, 1fr); gap: 5px; padding: 7px; }
  body.brand-site.single-screen-page .brand-release-number { font-size: 13px; }
  body.brand-site.single-screen-page .brand-release-main .product-meta { font-size: 7px; }
  body.brand-site.single-screen-page .brand-release-main h2 { margin: 3px 0; font-size: 10px; }
  body.brand-site.single-screen-page .release-variant-list { margin-top: 4px; }
  body.brand-site.single-screen-page .release-variant-row { min-height: 18px; padding: 3px; }
  body.brand-site.single-screen-page .release-variant-row strong,
  body.brand-site.single-screen-page .release-variant-row small,
  body.brand-site.single-screen-page .release-variant-row .status-pill { font-size: 7px; }
  body.brand-site.single-screen-page .brand-release-card > .text-link { display: none; }

  body.brand-site.single-screen-page .brand-tutorial-card { grid-template-columns: 20px minmax(0, 1fr); gap: 5px; padding: 7px; }
  body.brand-site.single-screen-page .tutorial-card-number { font-size: 13px; }
  body.brand-site.single-screen-page .tutorial-card-copy .product-meta { font-size: 7px; }
  body.brand-site.single-screen-page .tutorial-card-copy h2 { margin: 2px 0; font-size: 10px; }
  body.brand-site.single-screen-page .tutorial-count { margin: 3px 0 5px; font-size: 7px; }
  body.brand-site.single-screen-page .tutorial-card-copy .button { min-height: 18px; padding: 2px 4px; font-size: 7px; }

  body.brand-site.single-screen-page .detail-hero,
  body.brand-site.single-screen-page .detail-hero-editorial { height: 100%; padding-top: 14px; padding-bottom: 14px; }
  body.brand-site.single-screen-page .detail-hero h1,
  body.brand-site.single-screen-page .detail-hero-editorial h1 { font-size: 39px; }
  body.brand-site.single-screen-page .detail-hero p,
  body.brand-site.single-screen-page .detail-hero-editorial p { font-size: 12px; line-height: 1.52; -webkit-line-clamp: 2; }
  body.brand-site.single-screen-page .detail-hero .product-facts,
  body.brand-site.single-screen-page .detail-hero-editorial .product-facts { margin-top: 9px; }
  body.brand-site.single-screen-page .detail-hero .product-facts span,
  body.brand-site.single-screen-page .detail-hero-editorial .product-facts span { padding: 4px 5px; font-size: 7px; }
  body.brand-site.single-screen-page .detail-hero .actions,
  body.brand-site.single-screen-page .detail-hero-editorial .actions { margin-top: 10px; }
  body.brand-site.single-screen-page .detail-hero .actions .button,
  body.brand-site.single-screen-page .detail-hero-editorial .actions .button { min-height: 30px; padding: 6px 8px; font-size: 9px; }
  body.brand-site.single-screen-page .brand-detail-art,
  body.brand-site.single-screen-page .detail-media { min-height: 220px; }
  body.brand-site.single-screen-page .browser-download-section { height: 100%; padding-top: 10px; padding-bottom: 10px; }
  body.brand-site.single-screen-page .browser-download-section .section-heading-row { margin-bottom: 7px; }
  body.brand-site.single-screen-page .browser-download-section .section-heading-row h2 { font-size: 18px; }
  body.brand-site.single-screen-page .browser-variant-grid { gap: 6px; }
  body.brand-site.single-screen-page .browser-variant-card { padding: 8px; border-radius: 10px; }
  body.brand-site.single-screen-page .browser-variant-card .release-facts,
  body.brand-site.single-screen-page .browser-variant-card .release-line { font-size: 8px; }
  body.brand-site.single-screen-page .browser-detail-hero { height: 50%; padding-top: 10px; padding-bottom: 10px; }
  body.brand-site.single-screen-page .browser-detail-hero + .browser-download-section { height: 50%; }
  body.brand-site.single-screen-page .browser-detail-hero .brand-detail-art { min-height: 150px; margin-top: 8px; }

  body.brand-site.single-screen-page .tutorial-detail-layout { height: calc(100% - 74px); }
  body.brand-site.single-screen-page .tutorial-detail-intro { padding: 9px; gap: 8px; }
  body.brand-site.single-screen-page .tutorial-guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  body.brand-site.single-screen-page .tutorial-guide-card { padding: 8px; border-radius: 10px; }
  body.brand-site.single-screen-page .tutorial-guide-card h2 { font-size: 13px; }

  body.brand-site.single-screen-page .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body.brand-site.single-screen-page .contact-route-card { padding: 9px; border-radius: 10px; }
  body.brand-site.single-screen-page .contact-route-card h2 { font-size: 14px; }
  body.brand-site.single-screen-page .contact-route-card p { display: none; }
  body.brand-site.single-screen-page .contact-route-card .button { min-height: 24px; padding: 4px 6px; font-size: 8px; }
}

@media (max-width: 470px) {
  body.brand-site.single-screen-page .brand-page-heading h1 { font-size: 28px; }
  body.brand-site.single-screen-page .brand-product-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 55px; }
  body.brand-site.single-screen-page .brand-product-grid,
  body.brand-site.single-screen-page .brand-download-directory,
  body.brand-site.single-screen-page .brand-release-list,
  body.brand-site.single-screen-page .tutorial-directory-grid { gap: 5px; }
  body.brand-site.single-screen-page .brand-product-card-body h2 { font-size: 10px; }
  body.brand-site.home-screen-page .brand-hero h1 { font-size: 36px; }
  body.brand-site.home-screen-page .brand-hero-index span { padding: 7px 6px; }
  body.brand-site.home-screen-page .brand-hero-index strong { font-size: 13px; }
  body.brand-site.home-screen-page .browser-spotlight { height: 276px; }
}

@media (min-width: 1081px) {
  /* The navigation tool is intentionally a wide closing card.  Its wide
   * layout prevents a lonely final tile and gives the catalogue a natural
   * visual ending rather than an unfinished last row. */
  body.brand-site .brand-product-website-navigator {
    grid-column: 1 / -1;
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  }

  body.brand-site .brand-product-website-navigator .brand-product-card-art {
    min-height: 100%;
    border-right: 1px solid rgba(0, 47, 167, .12);
    border-bottom: 0;
  }

  body.brand-site .brand-product-website-navigator .brand-product-card-body {
    padding: 30px 32px;
  }

  body.brand-site .brand-product-website-navigator .brand-product-card-body h2 {
    font-size: 30px;
  }

  body.brand-site .brand-product-website-navigator .brand-product-card-body p {
    max-width: 680px;
  }
}

@media (max-width: 1080px) and (min-width: 821px) {
  body.brand-site .brand-product-website-navigator {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body.brand-site .brand-product-website-navigator {
    grid-column: auto;
    display: flex;
  }

  body.brand-site .brand-product-website-navigator .brand-product-card-art {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 47, 167, .10);
  }
}

/* Final cascade guard: the original navigator-specific media rules above
 * are retained for the normal catalogue, while the single-screen dashboard
 * keeps that card in the same compact grid as its siblings. */
body.brand-site.single-screen-page .brand-product-website-navigator {
  grid-column: auto;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
}

body.brand-site.single-screen-page .brand-product-website-navigator .brand-product-card-art {
  min-height: 0;
  height: 100%;
  border-right: 1px solid rgba(0, 47, 167, .12);
  border-bottom: 0;
}

@media (max-width: 820px) {
  body.brand-site.single-screen-page .brand-product-website-navigator {
    display: flex;
    flex-direction: column;
  }

  body.brand-site.single-screen-page .brand-product-website-navigator .brand-product-card-art {
    min-height: 0;
    height: 38px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 47, 167, .10);
  }
}

@media (min-width: 1081px) and (max-height: 820px) {
  body.brand-site.single-screen-page .brand-page-heading { padding-top: 12px; padding-bottom: 8px; }
  body.brand-site.single-screen-page .brand-page-heading h1 { font-size: 47px; }
  body.brand-site.single-screen-page .brand-product-grid {
    flex-basis: 300px;
    height: 300px;
    max-height: 300px;
  }
  body.brand-site.single-screen-page .brand-product-card-body { padding: 8px 10px; }
  body.brand-site.single-screen-page .brand-product-card-body h2 { margin: 4px 0 3px; font-size: 14px; }
  body.brand-site.single-screen-page .brand-product-card-body p { font-size: 9px; -webkit-line-clamp: 1; }
  body.brand-site.single-screen-page .brand-product-card-footer { padding-top: 4px; }
}
