/* Brand polish layer. Kept separate so product-state and shared page treatments can evolve
   without disturbing the operational application or legal copy. */

.seo-page,
.trust-page {
  background: linear-gradient(180deg, #061b12 0%, #09271a 100%);
}

.seo-header,
.trust-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #1b4130;
  background: rgba(6, 27, 18, .92);
  backdrop-filter: blur(18px) saturate(125%);
}

.seo-header a:not(.brand),
.trust-header a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .6rem .85rem;
  border: 1px solid #bd902e;
  border-radius: 8px;
  background: #d8a83f;
  color: #07130e;
  font-size: .68rem;
  font-weight: 850;
  text-decoration: none;
}

.seo-header a:not(.brand):hover,
.trust-header a:not(.brand):hover {
  background: #e3b64f;
}

.seo-header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.seo-header-actions .seo-login {
  min-height: 2.5rem;
  padding: .6rem .85rem;
  border: 1px solid #315342;
  border-radius: 8px;
  background: #10271d;
  color: #f6f1e4;
  font-size: .68rem;
  font-weight: 850;
  text-decoration: none;
}

.seo-header-actions .seo-login:hover {
  border-color: #79a78c;
  background: #173a2a;
}

.section-band {
  background: linear-gradient(180deg, #061b12 0%, #09271a 100%) !important;
}

.surface-card {
  border-color: #234533;
  background: #0b2118;
}

.seo-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 4.5rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid #315342;
  border-radius: 14px;
  background: radial-gradient(circle at 90% 10%, rgba(216, 168, 63, .14), transparent 18rem), #10271d;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
}

.seo-cta .eyebrow {
  margin-bottom: .7rem;
}

.seo-cta h2 {
  max-width: 16ch;
  margin-bottom: .45rem;
  color: #f6f1e4;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.seo-cta p:not(.eyebrow) {
  max-width: 35rem;
  margin: 0;
  color: #b5c9bd;
  font-size: .82rem;
}

.seo-cta .button {
  white-space: nowrap;
}

.seo-footer {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8fa498;
  font-size: .68rem;
}

.seo-footer > a {
  color: #f6f1e4;
  font-weight: 800;
  text-decoration: none;
}

.seo-footer span {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .9rem;
}

.seo-footer span a {
  color: inherit;
  text-decoration: none;
}

.seo-footer span a:hover {
  color: #d8a83f;
}

.nav-links a.is-active {
  color: #f6f1e4;
}

.nav-links a.is-active::after {
  right: 0;
}

.audience-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin-top: 1.5rem;
}

.audience-links a {
  min-width: 0;
  display: grid;
  gap: .28rem;
  padding: .75rem;
  border: 1px solid rgba(23, 19, 17, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .34);
  color: #171311;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.audience-links a:hover {
  transform: translateY(-2px);
  border-color: #b5843c;
  background: rgba(255, 255, 255, .68);
}

.audience-links span {
  color: #70273a;
  font: 900 .48rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}

.audience-links strong {
  overflow: hidden;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audience-links small {
  overflow: hidden;
  color: #665b4c;
  font-size: .54rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.real-floor-preview .product-table-section {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}

.real-floor-preview .product-table-grid {
  align-content: start;
}

.product-venue-switch {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem;
  margin: .35rem 0 .45rem;
  padding: .25rem;
  border: 1px solid #d7dfd9;
  border-radius: 7px;
  background: #e8eee9;
}

.product-venue {
  min-width: 0;
  display: grid;
  gap: .16rem;
  padding: .43rem .5rem;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #526157;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.product-venue:hover {
  transform: translateY(-1px);
  color: #17231d;
}

.product-venue.is-active {
  border-color: #bd902e;
  background: #fffdf8;
  color: #17231d;
  box-shadow: 0 2px 8px rgba(6, 27, 18, .08);
}

.product-venue strong,
.product-venue small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-venue strong {
  font-size: .55rem;
  font-weight: 950;
}

.product-venue small {
  color: #7b887f;
  font-size: .4rem;
  font-weight: 800;
}

.product-venue.is-active small {
  color: #946b19;
}

.product-zone-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .35rem;
  margin: .35rem 0 .55rem;
}

.product-zone {
  min-width: 0;
  display: grid;
  gap: .18rem;
  padding: .48rem .4rem;
  border: 1px solid #cbd6ce;
  border-radius: 6px;
  background: #fffdf8;
  color: #17231d;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.product-zone:hover {
  transform: translateY(-1px);
  border-color: #79a78c;
}

.product-zone.is-active {
  border-color: #bd902e;
  background: #103a28;
  color: #f6f1e4;
  box-shadow: inset 0 0 0 1px rgba(216, 168, 63, .2);
}

.product-zone strong,
.product-zone small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-zone strong {
  font-size: .58rem;
  font-weight: 950;
}

.product-zone small {
  color: #68746e;
  font-size: .42rem;
  font-weight: 800;
}

.product-zone.is-active small {
  color: #b9d9c5;
}

.real-floor-preview .product-table.multi {
  border-color: #6e9fd1;
  background: #f0f6fd;
  box-shadow: inset 0 0 0 2px rgba(49, 108, 164, .14);
}

.real-floor-preview .product-table.multi > small {
  color: #386ca3;
}

.product-table-legend {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  margin-top: .55rem;
  padding-top: .5rem;
  border-top: 1px solid #d7dfd9;
  color: #68746e;
  font-size: .45rem;
  font-weight: 850;
  line-height: 1.2;
}

.product-table-legend span {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  white-space: nowrap;
}

.product-table-legend i {
  width: .42rem;
  height: .42rem;
  display: inline-block;
  border: 1px solid #54a874;
  border-radius: 2px;
  background: #e3f3e9;
}

.product-table-legend i.legend-warning {
  border-color: #ce635d;
  background: #fbe9e7;
}

.product-table-legend i.legend-multi {
  border-color: #6e9fd1;
  background: #f0f6fd;
}

.product-table-legend em {
  margin-left: auto;
  color: #946b19;
  font-size: .4rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.truth-strip {
  align-items: stretch;
}

.truth-side {
  min-width: min(33rem, 52%);
  display: grid;
  gap: .65rem;
  justify-items: end;
}

.truth-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(5.2rem, 1fr));
  gap: .45rem;
}

.truth-metrics span {
  min-width: 0;
  display: grid;
  gap: .12rem;
  padding: .42rem .58rem;
  border: 1px solid #315342;
  border-radius: 7px;
  background: #0b2118;
}

.truth-metrics strong {
  color: #f6f1e4;
  font-size: .9rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.truth-metrics small {
  overflow: hidden;
  color: #8fa498;
  font-size: .42rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.truth-side .truth-states {
  width: 100%;
}

.device-card {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.device-card::before {
  display: none;
}

.device-mockup {
  position: relative;
  z-index: 1;
  height: 5.75rem;
  margin: 0 0 1.35rem;
  padding: .62rem;
  overflow: hidden;
  border: 1px solid #315342;
  border-radius: 9px;
  background: linear-gradient(145deg, #10271d, #0b2118);
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 10px 20px rgba(6,27,18,.08);
  color: #dcece3;
}

.mockup-phone {
  width: 68%;
  border-radius: 12px;
  background: linear-gradient(145deg, #123a28, #0b2118);
}

.mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: #b5c9bd;
  font: 850 .4rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.mockup-head b {
  color: #9fe3b8;
  font-size: .36rem;
}

.mockup-progress {
  height: .22rem;
  margin: .62rem 0 .55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(220,236,227,.12);
}

.mockup-progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: #d8a83f;
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: #8fa498;
  font: 700 .4rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.mockup-row strong {
  color: #f6f1e4;
  font-size: .42rem;
}

.mockup-badge {
  width: fit-content;
  margin-top: .55rem;
  padding: .2rem .3rem;
  border: 1px solid rgba(159,227,184,.24);
  border-radius: 4px;
  color: #9fe3b8;
  font: 850 .35rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .04em;
}

.mockup-tablet {
  background: linear-gradient(145deg, #f3ead6, #e8eee9);
  color: #17231d;
}

.mockup-tablet .mockup-head {
  color: #526157;
}

.mockup-tablet .mockup-head b {
  color: #946b19;
}

.mockup-tables {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .22rem;
  margin-top: .55rem;
}

.mockup-tables i {
  height: 1rem;
  border: 1px solid #cbd6ce;
  border-radius: 3px;
  background: #fffdf8;
}

.mockup-tables i.open {
  border-color: #54a874;
  background: #e3f3e9;
}

.mockup-tables i.qr {
  border-color: #ce635d;
  background: #fbe9e7;
}

.mockup-tables i.multi {
  border-color: #6e9fd1;
  background: #f0f6fd;
}

.mockup-foot {
  margin-top: .52rem;
  color: #8fa498;
  font: 800 .36rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .04em;
}

.mockup-tablet .mockup-foot {
  color: #53665a;
}

.mockup-desktop {
  background: radial-gradient(circle at 88% 8%, rgba(216,168,63,.18), transparent 8rem), #10271d;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .28rem;
  margin-top: .62rem;
}

.mockup-metrics i {
  display: grid;
  gap: .2rem;
  padding: .36rem;
  border: 1px solid rgba(220,236,227,.12);
  border-radius: 4px;
  font-style: normal;
}

.mockup-metrics b {
  color: #8fa498;
  font: 800 .32rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .04em;
}

.mockup-metrics strong {
  color: #f6f1e4;
  font-size: .62rem;
  line-height: 1;
}

.device-card::after {
  content: "";
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(24, 82, 57, .13);
  border-radius: 50%;
  pointer-events: none;
}

.device-tablet::after {
  border-color: rgba(181, 132, 60, .18);
}

.device-desktop::after {
  border-color: rgba(24, 82, 57, .2);
}

.device-card:hover {
  transform: translateY(-4px);
  border-color: #79a78c;
  box-shadow: 0 18px 34px rgba(6, 27, 18, .1);
}

.device-card h3,
.device-card ul,
.device-card small,
.device-kicker {
  position: relative;
  z-index: 1;
}

.scene-section {
  overflow: hidden;
  background: linear-gradient(135deg, #09271a 0%, #061b12 100%);
}

.scene-layout {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.scene-copy h2 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.scene-copy h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 241, 228, .62);
}

.scene-copy > p:not(.eyebrow) {
  max-width: 31rem;
  color: #b5c9bd;
}

.scene-visual {
  position: relative;
  min-height: 24rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid #315342;
  border-radius: 14px;
  background: #071712;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .28);
}

.scene-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 27, 18, .82) 0%, rgba(6, 27, 18, .26) 48%, rgba(6, 27, 18, .58) 100%), linear-gradient(0deg, rgba(6, 27, 18, .78), transparent 48%);
  pointer-events: none;
}

.scene-visual picture,
.scene-visual img {
  width: 100%;
  height: 100%;
}

.scene-visual img {
  min-height: 24rem;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) sepia(.1) hue-rotate(76deg) brightness(.72);
  transform: scale(1.02);
}

.scene-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: grid;
  gap: .35rem;
}

.scene-visual figcaption span {
  color: #d8a83f;
  font: 900 .52rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.scene-visual figcaption strong {
  color: #f6f1e4;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -.04em;
}

.scene-visual figcaption small {
  color: #b5c9bd;
  font-size: .62rem;
}

.outcome-ui {
  position: absolute;
  top: 4.1rem;
  right: 1.5rem;
  left: 1.5rem;
  min-height: 9.6rem;
  display: grid;
  align-content: center;
  gap: .52rem;
  padding: 1rem;
  border: 1px solid #315342;
  border-radius: 9px;
  background: #10271d;
  color: #b5c9bd;
  font: 700 .56rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
}

.outcome-ui > span {
  color: #d8a83f;
  font-size: .5rem;
  letter-spacing: .12em;
}

.outcome-ui strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  color: #f6f1e4;
  font-size: .74rem;
}

.outcome-ui strong b {
  color: #9fe3b8;
  font-size: .52rem;
}

.outcome-ui small {
  color: #8fa498;
  font-size: .5rem;
  letter-spacing: .04em;
}

.outcome-route-ui strong {
  padding: .38rem 0;
  border-bottom: 1px solid rgba(220, 236, 227, .1);
}

.outcome-route-ui strong:last-of-type b {
  color: #d8a83f;
}

.outcome-closeout-ui > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
}

.outcome-closeout-ui > div strong {
  display: grid;
  align-items: start;
  gap: .35rem;
  padding: .45rem;
  border: 1px solid rgba(220, 236, 227, .1);
  border-radius: 5px;
  color: #8fa498;
  font-size: .43rem;
}

.outcome-closeout-ui > div strong b {
  color: #f6f1e4;
  font-size: .7rem;
}

.outcome-closeout-ui small {
  color: #9fe3b8;
}

@media (max-width: 900px) and (min-width: 721px) {
  .device-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .seo-hero,
  .trust-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .seo-hero > div,
  .trust-hero > div {
    min-width: 0;
  }

  .seo-hero h1,
  .trust-hero h1 {
    overflow-wrap: anywhere;
  }

  .seo-header .brand > span:last-child,
  .trust-header .brand > span:last-child {
    display: inline;
  }

  .seo-cta {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-top: 3.5rem;
  }

  .seo-cta .button {
    width: 100%;
  }

  .seo-footer {
    flex-direction: column;
    gap: 1.1rem;
  }

  .seo-footer span {
    justify-content: flex-start;
  }

  .audience-links {
    grid-template-columns: 1fr;
  }

  .scene-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .scene-copy h2 {
    max-width: 14ch;
  }

  .scene-visual,
  .scene-visual img {
    min-height: 18rem;
  }

  .scene-visual figcaption {
    right: .9rem;
    bottom: .9rem;
    left: .9rem;
  }

  .outcome-ui {
    top: 3.85rem;
    right: 1rem;
    left: 1rem;
    min-height: 8.5rem;
    padding: .8rem;
    font-size: .5rem;
  }

  .outcome-closeout-ui > div {
    gap: .25rem;
  }

  .outcome-closeout-ui > div strong {
    padding: .35rem;
    font-size: .38rem;
  }

  .outcome-closeout-ui > div strong b {
    font-size: .58rem;
  }

  .real-floor-preview .product-table-section {
    padding: .5rem;
  }

  .product-zone-grid {
    gap: .25rem;
    margin: .25rem 0 .4rem;
  }

  .product-venue-switch {
    gap: .2rem;
    margin: .2rem 0 .3rem;
    padding: .18rem;
  }

  .product-venue {
    gap: .1rem;
    padding: .3rem .35rem;
  }

  .product-venue strong {
    font-size: .43rem;
  }

  .product-venue small {
    font-size: .32rem;
  }

  .real-floor-preview .product-table {
    min-height: 2.75rem;
  }

  .product-zone {
    gap: .12rem;
    padding: .36rem .3rem;
  }

  .product-zone strong {
    font-size: .5rem;
  }

  .product-zone small {
    font-size: .36rem;
  }

  .real-floor-preview .product-table-grid {
    gap: .3rem;
  }

  .product-table-legend {
    gap: .28rem .45rem;
    margin-top: .38rem;
    padding-top: .38rem;
    font-size: .38rem;
  }

  .product-table-legend i {
    width: .36rem;
    height: .36rem;
  }

  .product-table-legend em {
    font-size: .34rem;
  }

  .device-card:hover {
    transform: none;
  }

  .device-mockup {
    height: 5.2rem;
    margin-bottom: 1rem;
  }

  .mockup-phone {
    width: 76%;
  }

  .truth-side {
    width: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  .truth-metrics {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .seo-header .brand > span:last-child {
    display: none;
  }

  .seo-header .seo-header-actions .seo-login {
    display: none;
  }
}

@media (min-width: 361px) and (max-width: 720px) {
  .site-header .brand {
    gap: .45rem;
  }

  .site-header .brand > span:last-child {
    display: inline;
    font-size: .84rem;
  }

  .site-header .nav-actions .login-button,
  .site-header .nav-actions .button-small {
    white-space: nowrap;
  }
}
