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

.edition-body {
  --edition-accent: #0365ac;
  --edition-accent-dark: #073763;
  --edition-accent-soft: #eaf6fc;
  --edition-secondary: #0e7c66;
  --edition-gold: #c68a16;
  --edition-hero-overlay: rgba(4, 29, 53, 0.78);
  color: #24364a;
  background: #f7fafc;
}

.edition-business {
  --edition-accent: #6d28d9;
  --edition-accent-dark: #34205b;
  --edition-accent-soft: #f2edfb;
  --edition-secondary: #0f766e;
  --edition-gold: #b7791f;
  --edition-hero-overlay: rgba(31, 21, 52, 0.8);
}

.edition-public-sector {
  --edition-accent: #0365ac;
  --edition-accent-dark: #073763;
  --edition-accent-soft: #eaf6fc;
  --edition-secondary: #0e7c66;
  --edition-gold: #c68a16;
  --edition-hero-overlay: rgba(4, 29, 53, 0.8);
}

.edition-body .eyebrow {
  color: var(--edition-gold);
}

.edition-header {
  min-height: 76px;
  gap: 1.25rem;
  padding: 0.55rem max(3.5vw, 1.25rem);
}

.edition-brand {
  gap: 0.72rem;
  white-space: nowrap;
}

.edition-brand .brand-logo {
  display: block;
  width: 172px;
}

.edition-brand > span {
  padding-left: 0.72rem;
  border-left: 1px solid #d8e1e8;
  color: var(--edition-accent-dark);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
}

.edition-nav {
  flex: 1 1 auto;
  gap: 0.68rem;
}

.edition-nav > a {
  padding: 0.55rem 0.1rem;
  border-bottom: 2px solid transparent;
  color: #23364a;
  white-space: nowrap;
}

.edition-nav > a:hover,
.edition-nav > a:focus-visible,
.edition-nav > a[aria-current="page"] {
  border-bottom-color: var(--edition-accent);
  color: var(--edition-accent);
  outline: 0;
}

.edition-switcher,
.edition-mobile-menu {
  position: relative;
}

.edition-switcher summary,
.edition-mobile-menu summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d8e1e8;
  border-radius: 7px;
  color: var(--edition-accent-dark);
  background: #fff;
  cursor: pointer;
  list-style: none;
  font: inherit;
  font-weight: 800;
}

.edition-switcher summary::-webkit-details-marker,
.edition-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.edition-switcher-mark {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--edition-accent);
  box-shadow: 0 0 0 4px var(--edition-accent-soft);
}

.edition-switcher-panel,
.edition-mobile-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.65rem);
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 2rem));
  max-height: calc(100dvh - 7rem);
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.18);
}

.edition-switcher:not([open]) .edition-switcher-panel,
.edition-mobile-menu:not([open]) .edition-mobile-panel {
  display: none;
}

.edition-switcher-panel a,
.edition-mobile-panel a {
  display: grid;
  min-height: 46px;
  align-content: center;
  gap: 0.12rem;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  color: #15293d;
  text-decoration: none;
}

.edition-switcher-panel a:hover,
.edition-switcher-panel a:focus-visible,
.edition-switcher-panel a[aria-current="page"],
.edition-mobile-panel a:hover,
.edition-mobile-panel a:focus-visible {
  color: var(--edition-accent-dark);
  background: var(--edition-accent-soft);
  outline: 0;
}

.edition-switcher-panel small {
  color: #6b7b8d;
  font-size: 0.73rem;
}

.edition-mobile-menu {
  display: none;
}

.edition-mobile-panel > p {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid #e1e7ec;
  color: var(--edition-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edition-body .login-menu summary {
  min-height: 42px;
  border-color: #d8e1e8;
  color: var(--edition-accent-dark);
  background: #fff;
}

.edition-body .session-avatar {
  background: var(--edition-accent);
}

.edition-body .button.primary {
  border-color: var(--edition-accent);
  background: var(--edition-accent);
  box-shadow: 0 4px 0 var(--edition-accent-dark), 0 11px 22px rgba(15, 23, 42, 0.18);
}

.edition-body .button.primary:hover,
.edition-body .button.primary:focus-visible {
  border-color: var(--edition-accent-dark);
  background: var(--edition-accent-dark);
}

.edition-body .button.ghost,
.edition-body .button.secondary {
  border-color: #aab8c5;
  color: var(--edition-accent-dark);
  background: #fff;
}

.edition-hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  align-items: end;
  overflow: hidden;
  padding: 8.5rem max(5vw, 1.5rem) 10rem;
  color: #fff;
  background: #0f2134;
}

.edition-hero > img,
.edition-section-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.edition-business .edition-hero > img {
  object-position: 42% 18%;
}

.edition-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--edition-hero-overlay);
}

.edition-hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  padding-bottom: 3rem;
}

.edition-hero-content h1,
.edition-section-hero h1 {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-size: 4.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.edition-hero-content > p:not(.eyebrow),
.edition-section-hero > div > p:not(.eyebrow) {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: #e7edf4;
  font-size: 1.18rem;
  line-height: 1.55;
}

.edition-hero .hero-actions {
  margin-top: 1.55rem;
}

.edition-signal-strip {
  position: absolute;
  z-index: 2;
  right: max(5vw, 1.5rem);
  bottom: 1.5rem;
  left: max(5vw, 1.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.edition-signal-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.16rem 0.7rem;
  align-content: center;
  min-height: 94px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(10, 20, 34, 0.78);
  backdrop-filter: blur(10px);
}

.edition-signal-strip article > span {
  grid-row: 1 / span 2;
  color: #f1c45b;
  font-size: 0.72rem;
  font-weight: 850;
}

.edition-signal-strip strong {
  color: #fff;
  font-size: 1rem;
}

.edition-signal-strip p {
  margin: 0;
  color: #cbd7e3;
  font-size: 0.83rem;
  line-height: 1.35;
}

.edition-intro,
.edition-section-heading,
.edition-preview-intro,
.edition-context-note,
.edition-feature-list,
.edition-references,
.edition-final-cta {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.edition-intro,
.edition-preview-intro,
.edition-context-note,
.edition-references,
.edition-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 4rem;
  align-items: end;
}

.edition-intro {
  padding: 5.5rem 0 2rem;
}

.edition-intro h2,
.edition-section-heading h2,
.edition-preview-intro h2,
.edition-context-note h2,
.edition-feature-list h2,
.edition-references h2,
.edition-final-cta h2 {
  margin: 0;
  color: #11273b;
  font-size: 2.6rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.edition-intro > p,
.edition-section-heading > p,
.edition-preview-intro > p,
.edition-context-note > p,
.edition-final-cta > div > p:last-child {
  margin: 0;
  color: #526579;
  font-size: 1.02rem;
  line-height: 1.65;
}

.edition-highlight-grid {
  display: grid;
  width: min(1180px, calc(100% - 3rem));
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1rem auto 5.5rem;
}

.edition-highlight-grid article {
  min-height: 170px;
  padding: 1.4rem;
  border: 1px solid #d9e3ea;
  border-top: 4px solid var(--edition-accent);
  border-radius: 7px;
  background: #fff;
}

.edition-highlight-grid strong {
  display: block;
  color: var(--edition-accent);
  font-size: 2.45rem;
  line-height: 1;
}

.edition-highlight-grid p {
  margin: 0.8rem 0 0;
  color: #354a5f;
  line-height: 1.45;
}

.edition-source {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--edition-accent);
  font-size: 0.76rem;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.edition-stage,
.edition-home-products,
.edition-section-content {
  padding: 5.5rem max(5vw, 1.5rem);
}

.edition-stage {
  color: #e8eff6;
  background: #11273b;
}

.edition-stage .edition-section-heading h2,
.edition-stage .edition-section-heading > p {
  color: #fff;
}

.edition-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 2rem;
}

.edition-stage-tabs {
  display: flex;
  width: min(1180px, 100%);
  gap: 0.55rem;
  margin: 0 auto 1rem;
}

.edition-stage-tabs button {
  min-height: 42px;
  padding: 0.62rem 1rem;
  border: 1px solid #668096;
  border-radius: 7px;
  color: #d8e4ee;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.edition-stage-tabs button[aria-selected="true"] {
  border-color: var(--edition-accent);
  color: #fff;
  background: var(--edition-accent);
}

.edition-stage-panels {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.edition-demo-note {
  display: block;
  margin-top: 0.75rem;
  color: var(--edition-muted);
  font-size: 0.78rem;
}

.edition-stage-panels figure {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #455f76;
  border-radius: 8px;
  background: #0a1d2f;
}

.edition-stage-panels figure[hidden] {
  display: none;
}

.edition-stage-image {
  min-height: 470px;
  overflow: hidden;
  background: #eaf2f7;
}

.edition-stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.edition-stage-panels figcaption {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 2rem;
}

.edition-stage-panels figcaption strong {
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.1;
}

.edition-stage-panels figcaption p {
  margin: 0;
  color: #c7d4df;
  line-height: 1.55;
}

.edition-stage-panels figcaption a {
  color: #fff;
  font-weight: 800;
}

.edition-home-products,
.edition-section-content {
  background: #f7fafc;
}

.edition-product-grid {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.edition-product-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid #d8e2e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 35, 55, 0.07);
}

.edition-product-card.is-featured {
  border-top: 4px solid var(--edition-accent);
}

.edition-product-card .product-icon {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  border-radius: 8px;
}

.edition-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0;
  color: var(--edition-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edition-card-meta span {
  color: var(--edition-secondary);
}

.edition-product-card h2 {
  margin: 0.45rem 0 0;
  color: #10263a;
  font-size: 1.35rem;
  line-height: 1.15;
}

.edition-product-card p:not(.edition-card-meta) {
  margin: 0.65rem 0 0;
  color: #56697b;
  line-height: 1.5;
}

.edition-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.edition-card-actions .button {
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
}

.edition-home-products > .section-actions {
  width: min(1180px, 100%);
  margin: 2rem auto 0;
}

.edition-section-hero {
  position: relative;
  display: grid;
  min-height: 58svh;
  align-items: end;
  overflow: hidden;
  padding: 9rem max(5vw, 1.5rem) 4.5rem;
  color: #fff;
  background: #11273b;
}

.edition-section-hero > div:last-child {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.edition-section-hero h1 {
  max-width: 16ch;
}

.edition-route-grid {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.edition-route-grid > a {
  display: grid;
  min-height: 240px;
  align-content: start;
  padding: 1.5rem;
  border: 1px solid #d8e2e9;
  border-radius: 8px;
  color: #142a3e;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 35, 55, 0.07);
  text-decoration: none;
}

.edition-route-grid > a > span {
  color: var(--edition-gold);
  font-size: 0.72rem;
  font-weight: 850;
}

.edition-route-grid strong {
  margin-top: 1.25rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.edition-route-grid p {
  margin: 0.75rem 0 0;
  color: #56697b;
  line-height: 1.55;
}

.edition-route-grid small {
  align-self: end;
  margin-top: 1.5rem;
  color: var(--edition-accent);
  font-weight: 850;
}

.edition-route-grid > a:hover,
.edition-route-grid > a:focus-visible,
.edition-product-card:hover {
  border-color: var(--edition-accent);
  box-shadow: 0 18px 38px rgba(15, 35, 55, 0.13);
  outline: 0;
}

.edition-preview-intro,
.edition-context-note,
.edition-feature-list,
.edition-references,
.edition-final-cta {
  padding: 5rem 0;
}

.edition-preview-intro,
.edition-context-note {
  border-bottom: 1px solid #d9e3ea;
}

.edition-feature-list {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 4rem;
}

.edition-feature-list > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #d9e3ea;
}

.edition-feature-list article {
  min-height: 150px;
  padding: 1.25rem;
  border-right: 1px solid #d9e3ea;
  border-bottom: 1px solid #d9e3ea;
  background: #fff;
}

.edition-feature-list article:nth-child(even) {
  border-right: 0;
}

.edition-feature-list article strong {
  color: #142a3e;
}

.edition-feature-list article p {
  margin: 0.6rem 0 0;
  color: #56697b;
  line-height: 1.5;
}

.edition-references {
  align-items: start;
  border-top: 1px solid #d9e3ea;
}

.edition-references > div:last-child {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
}

.edition-final-cta {
  width: 100%;
  max-width: none;
  padding-right: max(5vw, 1.5rem);
  padding-left: max(5vw, 1.5rem);
  color: #fff;
  background: #11273b;
}

.edition-final-cta > div:first-child {
  max-width: 720px;
  margin-left: auto;
}

.edition-final-cta h2,
.edition-final-cta > div > p:last-child {
  color: #fff;
}

.edition-final-cta .section-actions {
  justify-content: flex-start;
}

.edition-footer {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 2rem;
  align-items: center;
}

.edition-footer > div:first-child {
  display: grid;
  gap: 0.5rem;
}

.edition-footer .footer-logo {
  width: 180px;
}

.edition-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.edition-footer a {
  color: #fff;
  font-weight: 750;
}

@media (max-width: 1180px) {
  .edition-header {
    align-items: center;
  }

  .edition-nav > a {
    display: none;
  }

  .edition-mobile-menu {
    display: block;
  }

  .edition-hero-content h1,
  .edition-section-hero h1 {
    font-size: 3.7rem;
  }
}

@media (max-width: 900px) {
  .edition-header {
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .edition-brand .brand-logo {
    width: 142px;
  }

  .edition-brand > span {
    display: none;
  }

  .edition-nav {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .edition-switcher > summary > span:last-child {
    display: none;
  }

  .edition-hero {
    min-height: 88svh;
    padding-bottom: 12.5rem;
  }

  .edition-hero-content h1,
  .edition-section-hero h1 {
    font-size: 3.2rem;
  }

  .edition-signal-strip {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .edition-signal-strip article {
    min-height: 62px;
    padding: 0.7rem 0.85rem;
  }

  .edition-intro,
  .edition-section-heading,
  .edition-preview-intro,
  .edition-context-note,
  .edition-references,
  .edition-final-cta,
  .edition-feature-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .edition-highlight-grid,
  .edition-product-grid,
  .edition-route-grid {
    grid-template-columns: 1fr;
  }

  .edition-stage-panels figure {
    grid-template-columns: 1fr;
  }

  .edition-stage-image {
    min-height: 390px;
  }

  .edition-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .edition-header {
    min-height: 68px;
    padding: 0.45rem 0.65rem;
  }

  .edition-brand .brand-logo {
    width: 112px;
  }

  .edition-switcher {
    display: none;
  }

  .edition-mobile-menu summary {
    width: 44px;
    padding: 0.55rem;
  }

  .edition-mobile-menu summary > span:last-child {
    display: none;
  }

  .edition-body .login-menu summary {
    width: 46px;
    padding: 0.45rem;
  }

  .edition-body .login-menu .session-summary-copy,
  .edition-body .login-menu summary::after {
    display: none;
  }

  .edition-body .login-menu .session-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .edition-hero {
    min-height: 90svh;
    padding: 7rem 1rem 13.5rem;
  }

  .edition-hero > img {
    object-position: 55% top;
  }

  .edition-hero-content {
    padding-bottom: 0;
  }

  .edition-hero-content h1,
  .edition-section-hero h1 {
    max-width: 12ch;
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .edition-hero-content > p:not(.eyebrow),
  .edition-section-hero > div > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .edition-hero .hero-actions,
  .edition-section-hero .hero-actions {
    display: grid;
  }

  .edition-signal-strip {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .edition-signal-strip article:nth-child(3) {
    display: none;
  }

  .edition-intro,
  .edition-preview-intro,
  .edition-context-note,
  .edition-feature-list,
  .edition-references,
  .edition-final-cta {
    width: min(100% - 2rem, 1180px);
  }

  .edition-intro {
    padding-top: 3.5rem;
  }

  .edition-intro h2,
  .edition-section-heading h2,
  .edition-preview-intro h2,
  .edition-context-note h2,
  .edition-feature-list h2,
  .edition-references h2,
  .edition-final-cta h2 {
    font-size: 2rem;
  }

  .edition-highlight-grid {
    width: calc(100% - 2rem);
    margin-bottom: 3.5rem;
  }

  .edition-highlight-grid article {
    min-height: 125px;
  }

  .edition-stage,
  .edition-home-products,
  .edition-section-content {
    padding: 3.5rem 1rem;
  }

  .edition-stage-tabs {
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  .edition-stage-tabs button {
    flex: 0 0 auto;
  }

  .edition-stage-panels figure,
  .edition-stage-image {
    min-height: 0;
  }

  .edition-stage-image {
    aspect-ratio: 4 / 3;
  }

  .edition-stage-panels figcaption {
    padding: 1.25rem;
  }

  .edition-product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .edition-section-hero {
    min-height: 66svh;
    padding: 7.5rem 1rem 3rem;
  }

  .edition-feature-list > div:last-child {
    grid-template-columns: 1fr;
  }

  .edition-feature-list article,
  .edition-feature-list article:nth-child(even) {
    border-right: 0;
  }

  .edition-final-cta {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .edition-final-cta > div:first-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edition-body *,
  .edition-body *::before,
  .edition-body *::after {
    scroll-behavior: auto !important;
  }
}
