/*
 * SPDX-FileCopyrightText: 2026 Arnold Bagabaldo
 * SPDX-License-Identifier: LicenseRef-GoOffice-Proprietary
 */

/* Shared presentation layer derived from the approved GoOfficePH product-led homepage. */
:root {
  --go-navy-950: #061a2e;
  --go-navy-900: #0a2944;
  --go-blue-700: #0365ac;
  --go-blue-600: #087fb9;
  --go-cyan-500: #00a5b8;
  --go-green-600: #0e7c66;
  --go-gold-500: #d99a21;
  --go-ink: #101828;
  --go-copy: #475467;
  --go-muted: #667085;
  --go-line: #dbe6ef;
  --go-line-strong: #c7d8e6;
  --go-sky: #f3f9fd;
  --go-sky-strong: #e8f4fa;
  --go-white: #ffffff;
  --go-shadow-sm: 0 10px 28px rgba(16, 52, 83, 0.08);
  --go-shadow-md: 0 20px 48px rgba(16, 52, 83, 0.12);
  --go-shadow-lg: 0 34px 84px rgba(16, 52, 83, 0.18);
  --go-action-height: 46px;
  --go-action-compact-height: 32px;
  --go-action-radius: 6px;
  --go-action-light-edge: #afc4d4;
  --go-action-primary-edge: #034b7e;
  --go-page-width: 1180px;
  --go-wide-width: 1440px;
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) {
  background:
    linear-gradient(180deg, rgba(232, 244, 250, 0.72), transparent 420px),
    var(--go-white);
}

body:not(.home-page) .site-header:not(.is-solid) {
  color: var(--go-ink);
  border-bottom: 1px solid rgba(199, 216, 230, 0.88);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--go-shadow-sm);
  backdrop-filter: blur(20px);
}

body:not(.home-page) .site-header:not(.is-solid) .brand-logo-light {
  display: none;
}

body:not(.home-page) .site-header:not(.is-solid) .brand-logo-dark {
  display: block;
}

body:not(.home-page) .site-header:not(.is-solid) .mobile-nav-menu summary,
body:not(.home-page) .site-header:not(.is-solid) .nav-more-menu summary,
body:not(.home-page) .site-header:not(.is-solid) .login-menu summary {
  color: var(--go-navy-900);
}

.site-header,
.portal-topbar,
.go-workspace-topbar {
  border-top: 3px solid var(--go-navy-950);
}

.site-header {
  min-height: 74px;
}

.site-header .brand {
  width: clamp(158px, 15vw, 202px);
  overflow: hidden;
}

.site-header .brand-logo {
  width: auto;
  height: 72px;
  max-width: none;
  max-height: none;
  flex: none;
  object-fit: contain;
  object-position: left center;
}

.site-header .site-nav > a,
.site-header .nav-more-menu > summary {
  position: relative;
}

.site-header .site-nav > a::after,
.site-header .nav-more-menu > summary::after {
  position: absolute;
  right: 0;
  bottom: -0.42rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--go-blue-600);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-header .site-nav > a:hover::after,
.site-header .site-nav > a:focus-visible::after,
.site-header .site-nav > a[aria-current="page"]::after,
.site-header .nav-more-menu > summary:hover::after,
.site-header .nav-more-menu > summary:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .nav-more-panel,
.site-header .mobile-nav-panel,
.site-header .login-menu-panel {
  border: 1px solid var(--go-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--go-shadow-md);
  backdrop-filter: blur(18px);
}

.site-header .nav-more-panel a,
.site-header .mobile-nav-panel a,
.site-header .login-menu-panel a,
.site-header .login-menu-panel button {
  border-radius: 4px;
}

.site-header .nav-more-panel a:hover,
.site-header .nav-more-panel a:focus-visible,
.site-header .mobile-nav-panel a:hover,
.site-header .mobile-nav-panel a:focus-visible,
.site-header .login-menu-panel a:hover,
.site-header .login-menu-panel a:focus-visible,
.site-header .login-menu-panel button:hover,
.site-header .login-menu-panel button:focus-visible {
  color: var(--go-navy-900);
  background: var(--go-sky-strong);
  outline: none;
}

.button,
.beta-card-action,
.beta-card-link,
.go-button,
.portal-shell button,
.portal-shell .button {
  border-radius: var(--go-action-radius);
}

/* Public actions use one stable size and a restrained tactile edge. */
body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button {
  min-height: var(--go-action-height);
  padding: 0.72rem 1.08rem;
  border-radius: var(--go-action-radius);
  font-size: 0.92rem;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.primary,
.beta-card-action {
  border-color: var(--go-blue-700);
  color: #fff;
  background: var(--go-blue-700);
  box-shadow: 0 3px 0 var(--go-action-primary-edge), 0 9px 20px rgba(3, 101, 172, 0.18);
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.secondary,
body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.ghost,
.beta-card-link {
  border-color: var(--go-line-strong);
  color: var(--go-navy-900);
  background: linear-gradient(180deg, #fff 0%, #f4f8fb 100%);
  box-shadow: 0 3px 0 var(--go-action-light-edge), 0 9px 18px rgba(16, 52, 83, 0.12);
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button:hover,
body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button:focus-visible,
.beta-card-action:hover,
.beta-card-action:focus-visible,
.beta-card-link:hover,
.beta-card-link:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(3, 101, 172, 0.16);
  outline-offset: 2px;
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.primary:hover,
body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.primary:focus-visible,
.beta-card-action:hover,
.beta-card-action:focus-visible {
  border-color: #07568f;
  background: #07568f;
  box-shadow: 0 4px 0 var(--go-action-primary-edge), 0 13px 26px rgba(3, 101, 172, 0.22);
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.secondary:hover,
body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.secondary:focus-visible,
body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.ghost:hover,
body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.ghost:focus-visible,
.beta-card-link:hover,
.beta-card-link:focus-visible {
  border-color: #96b2c7;
  color: var(--go-navy-950);
  background: #fff;
  box-shadow: 0 4px 0 var(--go-action-light-edge), 0 13px 24px rgba(16, 52, 83, 0.15);
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button:active,
.beta-card-action:active,
.beta-card-link:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--go-action-light-edge), 0 5px 10px rgba(16, 52, 83, 0.12);
}

body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button.primary:active,
.beta-card-action:active {
  box-shadow: 0 1px 0 var(--go-action-primary-edge), 0 5px 10px rgba(3, 101, 172, 0.14);
}

.beta-card-action,
.beta-card-link,
.groupware-page .beta-card-action,
.groupware-page .beta-card-link,
.beta-catalog-page .beta-card-action,
.beta-catalog-page .beta-card-link {
  min-height: var(--go-action-compact-height);
  padding: 0.42rem 0.66rem;
  border-radius: var(--go-action-radius);
  font-size: 0.74rem;
  line-height: 1;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.groupware-page .beta-note .button,
.groupware-page .beta-stable-links .button,
.beta-catalog-page .beta-note .button,
.beta-catalog-page .beta-stable-links .button {
  min-height: 36px;
  padding: 0.5rem 0.76rem;
  font-size: 0.8rem;
}

.eyebrow {
  color: #9b6810;
}

/* Product-led public page heroes. */
.solution-page {
  background: var(--go-white);
}

.solution-hero.go-product-hero,
.feature-directory-hero.go-product-hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 67svh, 720px);
  grid-template-columns: minmax(330px, 0.78fr) minmax(480px, 1.22fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  overflow: hidden;
  padding: 102px max(5vw, calc((100vw - var(--go-wide-width)) / 2)) 42px;
  color: var(--go-ink);
  background: var(--go-sky);
}

.solution-hero.go-product-hero::before,
.feature-directory-hero.go-product-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 252, 255, 0.88) 44%, rgba(232, 244, 250, 0.55) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(232, 244, 250, 0.5));
  content: "";
}

.solution-hero.go-product-hero > .hero-image,
.feature-directory-hero.go-product-hero > .hero-image {
  opacity: 0.18;
  filter: saturate(0.66) contrast(0.9);
  object-position: center;
}

.solution-hero.go-product-hero > .hero-shade,
.feature-directory-hero.go-product-hero > .hero-shade {
  display: none;
}

.solution-hero.go-product-hero .solution-hero-content,
.feature-directory-hero.go-product-hero .feature-directory-hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: auto;
  max-width: 620px;
  padding: 0;
}

.solution-hero.go-product-hero h1,
.feature-directory-hero.go-product-hero h1 {
  max-width: 690px;
  margin-bottom: 0.9rem;
  color: var(--go-navy-950);
  font-size: clamp(2.6rem, 4.45vw, 4.45rem);
  line-height: 0.97;
}

.solution-hero.go-product-hero p:not(.eyebrow),
.feature-directory-hero.go-product-hero p:not(.eyebrow) {
  max-width: 650px;
  color: #3f5870;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.48;
}

.solution-hero.go-product-hero .solution-hero-points li {
  border-color: var(--go-line-strong);
  color: var(--go-navy-900);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(16, 52, 83, 0.06);
}

.solution-hero.go-product-hero .button.secondary,
.feature-directory-hero.go-product-hero .button.secondary {
  border-color: rgba(3, 101, 172, 0.24);
  color: var(--go-navy-900);
  background: rgba(255, 255, 255, 0.78);
}

.go-page-product-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  margin: 0;
  transform: perspective(1800px) rotateY(-2deg) rotateX(0.35deg);
  transform-origin: right center;
}

.go-page-product-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(118, 153, 181, 0.62);
  border-radius: 8px;
  background: var(--go-white);
  box-shadow: var(--go-shadow-lg);
}

.go-page-product-frame::before {
  display: block;
  height: 34px;
  border-bottom: 1px solid var(--go-line);
  background:
    radial-gradient(circle at 18px 17px, var(--go-gold-500) 0 4px, transparent 4.5px),
    radial-gradient(circle at 34px 17px, var(--go-green-600) 0 4px, transparent 4.5px),
    radial-gradient(circle at 50px 17px, #0b8fcb 0 4px, transparent 4.5px),
    #f7fbfd;
  content: "";
}

.go-page-product-frame > img:first-of-type {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  object-position: top center;
}

.go-page-product-frame.is-landscape > img:first-of-type {
  object-fit: contain;
  background: var(--go-white);
}

.go-page-product-mobile {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: -1.2rem;
  width: 23%;
  height: 82%;
  border: 5px solid var(--go-navy-950);
  border-bottom-width: 14px;
  border-radius: 17px 17px 0 0;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 44px rgba(6, 26, 46, 0.3);
}

.go-page-product-visual figcaption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: grid;
  max-width: 520px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  margin: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: var(--go-white);
  background: rgba(6, 26, 46, 0.93);
  box-shadow: 0 14px 34px rgba(6, 26, 46, 0.2);
}

.go-page-product-visual figcaption strong {
  color: #9edcf2;
  font-size: 0.8rem;
}

.go-page-product-visual figcaption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  line-height: 1.38;
}

.feature-directory-hero.go-product-hero {
  grid-template-columns: minmax(460px, 0.94fr) minmax(420px, 1.06fr);
}

.feature-directory-hero.go-product-hero .feature-hero-search-row {
  border-color: var(--go-line-strong);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--go-shadow-sm);
}

.feature-directory-hero.go-product-hero .feature-hero-search label {
  color: var(--go-navy-900);
}

.feature-directory-hero.go-product-hero .feature-mode-quick-links a {
  border-color: var(--go-line-strong);
  color: var(--go-navy-900);
  background: rgba(255, 255, 255, 0.74);
}

/* Consistent section rhythm and product-facing cards. */
.section {
  position: relative;
}

.section.muted {
  background:
    linear-gradient(135deg, rgba(3, 101, 172, 0.045), transparent 45%),
    var(--go-sky);
}

.section-heading h2,
.solution-split h2,
.solution-next h2,
.beta-section-head h2 {
  color: var(--go-navy-950);
}

.feature-grid article,
.feature-card,
.solution-card,
.solution-detail-grid article,
.solution-callout,
.solution-links a,
.control-grid article,
.governance-card,
.feature-map-grid article,
.release-card,
.release-download-card,
.commercial-position-card,
.pricing-calculator,
.feature-directory-tools,
.feature-directory-cta-card,
.evidence-source-grid article,
.audience-grid > a,
.evidence-links > a {
  border-color: var(--go-line);
  border-radius: 7px;
  background: var(--go-white);
  box-shadow: var(--go-shadow-sm);
}

.feature-grid article:hover,
.feature-card:hover,
.solution-card:hover,
.solution-links a:hover,
.audience-grid > a:hover,
.evidence-links > a:hover {
  border-color: rgba(3, 101, 172, 0.38);
  box-shadow: var(--go-shadow-md);
}

.platform-overview-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.platform-overview-links > a {
  min-height: 154px;
}

@media (max-width: 980px) {
  .platform-overview-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .platform-overview-links {
    grid-template-columns: 1fr;
  }

  .platform-overview-links > a {
    min-height: 0;
  }
}

.product-shot,
.workboards-landscape,
.evidence-product-grid figure,
.solution-proof-split figure {
  border-radius: 8px;
  box-shadow: var(--go-shadow-md);
}

/* Catalogs keep their compact utility while sharing the product-led finish. */
.beta-page {
  background:
    linear-gradient(180deg, rgba(232, 244, 250, 0.94), rgba(255, 255, 255, 0.96) 420px),
    var(--go-white);
}

.beta-hero-copy,
.beta-note,
.beta-card,
.ux-inline-guide article {
  border-color: var(--go-line);
  border-radius: 7px;
  box-shadow: var(--go-shadow-sm);
}

.beta-hero-copy {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(3, 101, 172, 0.07), transparent 54%),
    var(--go-white);
}

.beta-hero-copy::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--go-blue-600), var(--go-cyan-500), var(--go-green-600));
  content: "";
}

.beta-card:hover,
.beta-card:focus-within {
  border-color: rgba(3, 101, 172, 0.36);
  box-shadow: var(--go-shadow-md);
}

.beta-catalog-hero,
.groupware-hero {
  grid-template-areas:
    "copy visual"
    "notice visual";
  grid-template-columns: minmax(260px, 0.68fr) minmax(500px, 1.32fr);
  gap: 0.72rem;
  align-items: stretch;
  max-width: 1240px;
}

.beta-catalog-hero .beta-hero-copy,
.groupware-hero .beta-hero-copy {
  grid-area: copy;
}

.beta-catalog-hero .beta-note,
.groupware-hero .beta-note {
  grid-area: notice;
}

.catalog-hero-visual {
  position: relative;
  grid-area: visual;
  min-width: 0;
  height: clamp(390px, 32vw, 440px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--go-line);
  border-radius: 7px;
  background: var(--go-white);
  box-shadow: var(--go-shadow-lg);
}

.catalog-hero-window {
  display: grid;
  height: 100%;
  min-height: 328px;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #e9f5fa);
}

.catalog-hero-tabs {
  display: flex;
  gap: 0.28rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--go-line);
  background: rgba(255, 255, 255, 0.96);
}

.catalog-hero-tabs span,
.catalog-hero-tabs strong {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0.28rem 0.58rem;
  border-radius: 5px;
  color: var(--go-slate-600);
  font-size: 0.72rem;
  font-weight: 790;
}

.catalog-hero-tabs strong {
  color: var(--go-white);
  background: var(--go-blue-600);
  box-shadow: 0 7px 16px rgba(3, 101, 172, 0.2);
}

.catalog-hero-window img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.beta-catalog-product-visual .catalog-hero-window img {
  object-position: center top;
}

.catalog-hero-visual figcaption {
  position: absolute;
  right: 0.72rem;
  bottom: 0.72rem;
  display: grid;
  width: min(320px, calc(100% - 1.44rem));
  gap: 0.18rem;
  padding: 0.68rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: var(--go-white);
  background: rgba(5, 31, 55, 0.92);
  box-shadow: 0 14px 30px rgba(5, 31, 55, 0.26);
  backdrop-filter: blur(10px);
}

.catalog-hero-visual figcaption strong {
  font-size: 0.9rem;
}

.catalog-hero-visual figcaption span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.74rem;
  line-height: 1.35;
}

.beta-catalog-hero .beta-note,
.groupware-hero .beta-note {
  align-content: start;
  padding: 0.78rem 0.86rem;
  box-shadow: none;
}

.beta-catalog-section-head,
.groupware-section-head,
.beta-catalog-guide,
.groupware-guide,
.beta-catalog-page .beta-app-grid,
.groupware-page .beta-app-grid,
.beta-catalog-page > .beta-stable-links,
.groupware-page > .beta-stable-links {
  max-width: 1240px;
}

.beta-catalog-section-head,
.groupware-section-head {
  margin-top: 1.15rem;
}

.beta-catalog-guide,
.groupware-guide {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--go-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--go-shadow-sm);
}

.beta-catalog-guide article,
.groupware-guide article {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.beta-catalog-guide article + article,
.groupware-guide article + article {
  border-left: 1px solid var(--go-line);
}

.beta-catalog-page .beta-card:nth-child(-n + 3),
.groupware-page .groupware-guide + .beta-app-grid .beta-card:nth-child(-n + 3) {
  position: relative;
  overflow: hidden;
}

.beta-catalog-page .beta-card:nth-child(-n + 3)::before,
.groupware-page .groupware-guide + .beta-app-grid .beta-card:nth-child(-n + 3)::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--go-blue-600), var(--go-cyan-500), var(--go-green-600));
  content: "";
}

@media (max-width: 980px) {
  .beta-catalog-hero,
  .groupware-hero {
    grid-template-areas:
      "copy visual"
      "notice visual";
    grid-template-columns: minmax(220px, 0.72fr) minmax(400px, 1.28fr);
  }

  .catalog-hero-window {
    min-height: 292px;
  }

  .catalog-hero-visual {
    height: 360px;
  }

  .catalog-hero-visual figcaption {
    width: min(270px, calc(100% - 1rem));
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.58rem 0.64rem;
  }
}

@media (max-width: 760px) {
  .beta-catalog-hero,
  .groupware-hero {
    grid-template-areas:
      "copy"
      "visual"
      "notice";
    grid-template-columns: 1fr;
  }

  .catalog-hero-window {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .catalog-hero-visual {
    height: auto;
  }

  .beta-catalog-hero .beta-note,
  .groupware-hero .beta-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .beta-catalog-hero .beta-note,
  .groupware-hero .beta-note {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .beta-catalog-hero .beta-note .beta-stable-links,
  .groupware-hero .beta-note .beta-stable-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beta-catalog-hero .beta-note .button,
  .groupware-hero .beta-note .button {
    width: 100%;
  }

  .beta-catalog-guide {
    display: none;
  }

  .groupware-catalog-product-visual,
  .groupware-catalog-product-visual .catalog-hero-window {
    height: 98px;
    aspect-ratio: auto;
  }

  .groupware-catalog-product-visual .catalog-hero-tabs,
  .groupware-catalog-product-visual figcaption,
  .groupware-hero .beta-note {
    display: none;
  }

  .groupware-catalog-product-visual .catalog-hero-window {
    display: block;
  }

  .groupware-catalog-product-visual .catalog-hero-window img {
    display: block;
    height: 98px;
    object-position: top center;
  }

  .groupware-section-head {
    margin-top: 0.45rem;
  }

  .catalog-hero-tabs {
    padding: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-hero-tabs::-webkit-scrollbar {
    display: none;
  }

  .catalog-hero-tabs span,
  .catalog-hero-tabs strong {
    min-height: 24px;
    flex: 0 0 auto;
    padding: 0.22rem 0.44rem;
    font-size: 0.65rem;
  }

  .catalog-hero-visual figcaption {
    right: 0.4rem;
    bottom: 0.4rem;
    width: auto;
    max-width: calc(100% - 0.8rem);
    padding: 0.48rem 0.56rem;
  }

  .catalog-hero-visual figcaption strong {
    font-size: 0.76rem;
  }

  .catalog-hero-visual figcaption span {
    display: none;
  }

  .beta-catalog-guide article + article,
  .groupware-guide article + article {
    border-top: 1px solid var(--go-line);
    border-left: 0;
  }
}

/* Editorial treatment for release notes, notices, policies, and source pages. */
.notice-page,
.legal-page {
  min-height: 100svh;
  background:
    linear-gradient(180deg, var(--go-sky-strong), rgba(255, 255, 255, 0.98) 360px),
    var(--go-white);
}

.notice-document,
.legal-page > section,
.legal-page > article {
  position: relative;
}

.notice-document {
  width: min(1040px, calc(100% - 3rem));
  padding: 8.5rem clamp(1.25rem, 4vw, 3.5rem) 4.5rem;
  background: rgba(255, 255, 255, 0.82);
}

.notice-document::before {
  position: absolute;
  top: 6.4rem;
  left: clamp(1.25rem, 4vw, 3.5rem);
  width: 56px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--go-gold-500), var(--go-blue-600));
  content: "";
}

.notice-document h1 {
  max-width: 820px;
  color: var(--go-navy-950);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.notice-document h2 {
  border-top-color: var(--go-line);
  color: var(--go-navy-900);
}

.notice-document h2::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0.55rem 0.08rem 0;
  border-radius: 50%;
  background: var(--go-blue-600);
  content: "";
}

.notice-document table {
  border-color: var(--go-line);
  border-radius: 7px;
  box-shadow: var(--go-shadow-sm);
}

.go-editorial-masthead {
  position: fixed;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem max(5vw, calc((100vw - var(--go-page-width)) / 2));
  border-top: 3px solid var(--go-navy-950);
  border-bottom: 1px solid var(--go-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--go-shadow-sm);
  backdrop-filter: blur(18px);
}

.go-editorial-masthead > a {
  display: inline-flex;
  width: 166px;
  min-width: 0;
  overflow: hidden;
}

.go-editorial-masthead img {
  display: block;
  width: auto;
  height: 72px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.go-editorial-masthead nav {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.go-editorial-masthead nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.72rem;
  border: 1px solid var(--go-line);
  border-radius: 6px;
  color: var(--go-navy-900);
  background: var(--go-white);
  font-size: 0.84rem;
  font-weight: 780;
  text-decoration: none;
}

.go-editorial-masthead nav a:hover,
.go-editorial-masthead nav a:focus-visible {
  border-color: rgba(3, 101, 172, 0.34);
  background: var(--go-sky-strong);
  outline: none;
}

.go-editorial-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem max(5vw, calc((100vw - var(--go-page-width)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: var(--go-navy-950);
}

.go-editorial-footer img {
  width: min(190px, 42vw);
}

.go-editorial-footer p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: right;
}

/* Portal and app surfaces use the same system at operational density. */
.portal-shell,
.go-workspace-app {
  background:
    linear-gradient(180deg, rgba(232, 244, 250, 0.76), transparent 360px),
    var(--go-sky);
}

.portal-topbar,
.go-workspace-app .go-workspace-topbar,
.go-workspace-app .mail-topbar {
  border-bottom-color: var(--go-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--go-shadow-sm);
  backdrop-filter: blur(18px);
}

.portal-brand img,
.go-workspace-brand img {
  width: auto;
  height: 72px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.portal-brand,
.go-workspace-brand {
  width: 162px;
  overflow: hidden;
}

.portal-sidebar,
.portal-card,
.portal-command,
.tenant-context-banner,
.go-workspace-app .go-pane,
.go-workspace-app .go-toolbar,
.go-workspace-app .go-native-pane,
.go-workspace-app .office-files-rail,
.go-workspace-app .office-suite-workspace,
.go-workspace-app .office-details-panel,
.go-workspace-app .connected-workspace-card,
.go-workspace-app .wallet-card,
.go-workspace-app .whiteboard-panel,
.go-workspace-app .workboards-panel {
  border-color: var(--go-line);
  border-radius: 7px;
}

.portal-sidebar,
.portal-card,
.portal-command,
.go-workspace-app .go-native-pane,
.go-workspace-app .office-files-rail,
.go-workspace-app .office-suite-workspace,
.go-workspace-app .office-details-panel {
  box-shadow: 0 12px 32px rgba(16, 52, 83, 0.07);
}

.portal-view h1,
.portal-view h2,
.portal-card h2,
.portal-card h3,
.go-workspace-app h1,
.go-workspace-app h2,
.go-workspace-app h3 {
  color: var(--go-navy-950);
}

.portal-tabs button.is-active,
.portal-tabs a.is-active,
.portal-shell [aria-current="page"],
.go-workspace-app .is-active:not(input):not(select):not(textarea) {
  border-color: rgba(3, 101, 172, 0.34);
}

.portal-shell input:focus,
.portal-shell select:focus,
.portal-shell textarea:focus,
.go-workspace-app input:focus,
.go-workspace-app select:focus,
.go-workspace-app textarea:focus {
  outline: 3px solid rgba(3, 101, 172, 0.14);
  outline-offset: 1px;
}

/* Automatic homepage product rotation indicator. */
.home-hero-product-tabs button[aria-selected="true"] {
  position: relative;
  overflow: hidden;
}

.home-hero-product[data-hero-rotation="running"] .home-hero-product-tabs button[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.82);
  content: "";
  transform-origin: left;
  animation: go-product-rotation-progress 6500ms linear both;
}

@keyframes go-product-rotation-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 1100px) {
  .solution-hero.go-product-hero,
  .feature-directory-hero.go-product-hero {
    min-height: 640px;
    grid-template-columns: minmax(300px, 0.88fr) minmax(390px, 1.12fr);
    gap: 1.5rem;
  }

  .solution-hero.go-product-hero h1,
  .feature-directory-hero.go-product-hero h1 {
    font-size: clamp(2.45rem, 5.4vw, 4.25rem);
  }

  .feature-directory-hero.go-product-hero {
    grid-template-columns: minmax(420px, 1fr) minmax(350px, 0.88fr);
  }
}

@media (max-width: 820px) {
  .solution-hero.go-product-hero,
  .feature-directory-hero.go-product-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 92px 1.25rem 1.6rem;
  }

  .solution-hero.go-product-hero .solution-hero-content,
  .feature-directory-hero.go-product-hero .feature-directory-hero-content {
    max-width: 720px;
  }

  .solution-hero.go-product-hero h1,
  .feature-directory-hero.go-product-hero h1 {
    max-width: 720px;
    font-size: clamp(2.3rem, 7vw, 4rem);
  }

  .go-page-product-visual {
    width: min(100%, 720px);
    justify-self: center;
    transform: none;
  }

  .go-page-product-frame {
    aspect-ratio: 16 / 8.8;
  }

  .site-header .brand-logo {
    width: auto;
    height: 66px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 61px;
  }

  .site-header .brand-logo {
    width: auto;
    height: 60px;
    max-width: none;
    max-height: none;
  }

  .site-header .brand {
    width: min(138px, 37vw);
  }

  .solution-hero.go-product-hero,
  .feature-directory-hero.go-product-hero {
    padding: 74px 0.85rem 1.05rem;
  }

  .solution-hero.go-product-hero h1,
  .feature-directory-hero.go-product-hero h1 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.95rem, 9.8vw, 2.9rem);
  }

  .solution-hero.go-product-hero p:not(.eyebrow),
  .feature-directory-hero.go-product-hero p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .solution-hero.go-product-hero .solution-hero-points {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .solution-hero.go-product-hero .solution-hero-points::-webkit-scrollbar {
    display: none;
  }

  .solution-hero.go-product-hero .solution-hero-points li {
    flex: 0 0 auto;
    font-size: 0.75rem;
  }

  .go-page-product-frame {
    aspect-ratio: 16 / 8.7;
  }

  .go-page-product-frame::before {
    height: 25px;
  }

  .go-page-product-frame > img:first-of-type {
    height: calc(100% - 25px);
  }

  .go-page-product-mobile {
    right: 0.45rem;
    bottom: -0.75rem;
    width: 25%;
    height: 86%;
    border-width: 3px;
    border-bottom-width: 9px;
    border-radius: 10px 10px 0 0;
  }

  .go-page-product-visual figcaption {
    right: 0.45rem;
    bottom: 0.45rem;
    max-width: calc(100% - 1rem);
    grid-template-columns: 1fr;
    gap: 0.1rem;
    margin: 0;
    padding: 0.48rem 0.58rem;
  }

  .go-page-product-visual figcaption span {
    display: none;
  }

  .notice-document {
    width: calc(100% - 1.2rem);
    padding: 6rem 0.85rem 3rem;
  }

  .notice-document::before {
    top: 4.85rem;
    left: 0.85rem;
  }

  .notice-document h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .go-editorial-masthead {
    min-height: 60px;
    padding: 0.42rem 0.65rem;
  }

  .go-editorial-masthead img {
    width: auto;
    height: 60px;
    max-width: none;
    max-height: none;
  }

  .go-editorial-masthead > a {
    width: min(134px, 37vw);
  }

  .portal-brand,
  .go-workspace-brand {
    width: min(136px, 38vw);
  }

  .portal-brand img,
  .go-workspace-brand img {
    width: auto;
    height: 60px;
  }

  .go-editorial-masthead nav {
    gap: 0.28rem;
  }

  .go-editorial-masthead nav a {
    min-height: 36px;
    padding: 0.42rem 0.5rem;
    font-size: 0.72rem;
  }

  .go-editorial-masthead nav a:nth-child(2) {
    display: none;
  }

  .go-editorial-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem;
  }

  .go-editorial-footer p {
    text-align: left;
  }

  .portal-topbar,
  .go-workspace-app .go-workspace-topbar,
  .go-workspace-app .mail-topbar {
    border-top-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button,
  .beta-card-action,
  .beta-card-link {
    transition: none;
  }

  body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button:hover,
  body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button:focus-visible,
  body:not(.go-workspace-app):not(.portal-shell):not(.suite-editor-window) .button:active,
  .beta-card-action:hover,
  .beta-card-action:focus-visible,
  .beta-card-action:active,
  .beta-card-link:hover,
  .beta-card-link:focus-visible,
  .beta-card-link:active {
    transform: none;
  }

  .home-hero-product[data-hero-rotation] .home-hero-product-tabs button::after {
    display: none;
    animation: none;
  }

  .go-page-product-visual {
    transform: none;
  }
}
