@charset "UTF-8";

:root {
  --bg: #071116;
  --bg2: #0b171d;
  --panel: #0f2027;
  --line: #24414a;
  --text: #e9f5f7;
  --muted: #9fb6bc;
  --cyan: #58e4d0;
  --blue: #75a7ff;
  --green: #7fe3a2;
  --violet: #ad9cff;
  --max: 1500px;
  --r: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.65 Montserrat,
    sans-serif;
  overflow-x: visible;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  resize: vertical;
}
button,
a,
input,
textarea,
summary {
  outline-offset: 4px;
}
:focus-visible {
  outline: 2px solid var(--cyan);
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
  min-width: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: #fff;
  color: #000;
  padding: 12px;
  z-index: 1000;
}
.skip:focus {
  top: 12px;
}
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #061014;
  font-size: 14px;
}
.trust-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}
.trust-strip a {
  color: var(--cyan);
}
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 17, 22, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  flex: 0 0 auto;
}
.brand img {
  display: block;
}
.navlinks {
  display: flex;
  align-items: stretch;
  min-width: 0;
  flex: 1;
}
.nav-group {
  position: static;
}
.nav-group > summary {
  list-style: none;
  cursor: pointer;
  padding: 25px 12px 22px;
  min-height: 75px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-group > summary::-webkit-details-marker {
  display: none;
}
.nav-group.active > summary,
.nav-group[open] > summary {
  border-color: var(--cyan);
  color: var(--cyan);
}
.mega {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 48px));
  background: #0a171d;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  padding: 28px;
  z-index: 90;
}
.nav-group:not([open]) .mega {
  display: none;
}
.mega-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.mega-col {
  min-width: 0;
}
.mega h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 8px;
}
.mega a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.mega a:hover,
.mega a.current {
  color: var(--cyan);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
}
.icon-btn,
.lang,
.nav-cta,
.menu-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 14px;
}
.icon-btn {
  cursor: pointer;
}
.nav-cta {
  background: var(--cyan);
  color: #03110f;
  border-color: var(--cyan);
  font-weight: 800;
}
.menu-toggle {
  display: none;
}
.breadcrumb {
  width: min(var(--max), calc(100% - 48px));
  /* margin: 22px auto 0; */
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--cyan);
}
.home-hero,
.page-hero,
.app-hero,
.doc-hero,
.policy-hero,
.device-hero {
  padding: 88px 0 70px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
    circle at 75% 30%,
    rgba(88, 228, 208, 0.08),
    transparent 32%
  );
}
.hero-grid,
.app-hero-grid,
.device-grid {
  display: grid;
  /* grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); */
  gap: 64px;
  align-items: center;
  min-width: 0;
}
.eyebrow,
.section-number {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 800;
}
h1 {
  font-size: 60px;
  line-height: 0.97;
  letter-spacing: -0.045em;
  /* max-width: 1050px; */
  margin: 16px 0 26px;
}
h2 {
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}
h3 {
  line-height: 1.2;
}
.lede {
  font-size: 22px;
  line-height: 1.45;
  max-width: 900px;
  color: #c5dadd;
}
.intro {
  font-size: 16px;
  color: #b8cbd0;
  max-width: 850px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
}
.primary-btn {
  background: var(--cyan);
  color: #021311;
}
.secondary-btn {
  border: 1px solid var(--line);
}
.hero-signal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero-signal span {
  padding: 28px;
  background: var(--bg2);
  font-size: 22px;
  font-weight: 700;
}
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.section-contrast {
  background: var(--bg2);
}
.section-head {
  display: grid;
  /* grid-template-columns: 160px minmax(0, 1fr); */
  gap: 32px;
  margin-bottom: 40px;
  min-width: 0;
}
.cards,
.evidence-grid,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card,
.evidence-grid article,
.spec-grid article {
  background: var(--bg);
  padding: 26px;
  min-width: 0;
}
.section-contrast .card,
.section-contrast .evidence-grid article {
  background: var(--bg2);
}
.card h3,
.evidence-grid h3,
.spec-grid h3 {
  font-size: 22px;
  margin: 8px 0 10px;
}
.card p,
.evidence-grid p,
.spec-grid p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.evidence-grid article > span {
  color: var(--cyan);
  font-family: Montserrat, sans-serif;
}
.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
}
.journey li {
  background: var(--bg2);
  padding: 24px;
  min-width: 0;
}
.journey span {
  display: block;
  color: var(--cyan);
  font:
    14px Montserrat,
    sans-serif;
  margin-bottom: 18px;
}
.showcase {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.shot {
  margin: 0;
  border: 1px solid var(--line);
  background: #041014;
  min-width: 0;
  cursor: zoom-in;
}
.shot:first-child {
  grid-row: span 2;
}
.shot img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: #02090c;
}
.shot figcaption {
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.shot figcaption span {
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
}
.shot figcaption strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.hero-shot {
  padding: 0;
  border: 1px solid var(--line);
  background: #02090c;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
}
.hero-shot img {
  display: block;
  width: 100%;
  object-fit: contain;
  max-height: 660px;
}
.ecosystem {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ecosystem > div {
  background: var(--bg2);
  padding: 28px;
  display: grid;
  gap: 8px;
  min-width: 0;
}
.ecosystem b {
  font:
    14px Montserrat,
    sans-serif;
  color: var(--cyan);
}
.ecosystem strong {
  font-size: 22px;
}
.ecosystem span {
  color: var(--muted);
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.app-tile {
  border-top: 2px solid var(--cyan);
  padding: 24px;
  background: var(--bg);
  display: grid;
  gap: 12px;
  min-width: 0;
}
.app-tile strong {
  font-size: 22px;
}
.app-tile span {
  color: var(--muted);
}
.arch {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr);
  gap: 18px;
}
.arch-boundary {
  border: 1px solid var(--cyan);
  padding: 18px;
  min-width: 0;
}
.arch-boundary > span,
.arch-external > b {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 12px;
}
.arch-row {
  display: grid;
  grid-template-columns: 120px repeat(9, minmax(80px, 1fr));
  gap: 6px;
  align-items: stretch;
}
.arch-nxz {
  display: grid;
  grid-template-columns: 120px 1fr;
}
.arch-nxz b {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.arch-row + .arch-arrow {
  margin: 8px 0;
}
.arch-row div {
  border: 1px solid var(--line);
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  background: #09161b;
  min-width: 0;
  overflow-wrap: anywhere;
}
.arch-arrow {
  text-align: center;
  color: var(--cyan);
}
.arch-arrow small {
  color: var(--muted);
  margin-left: 8px;
}
.arch-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.arch-trust b {
  margin-right: 10px;
}
.arch-trust span {
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
}
.arch-external {
  border: 1px dashed #758a90;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arch-external span {
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}
.arch-external i {
  color: var(--cyan);
  font-size: 12px;
}
.blueprint,
.flow-line {
  display: flex;
  align-items: stretch;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  min-width: 0;
}
.blueprint > div {
  flex: 1;
  background: var(--bg2);
  padding: 24px;
  display: grid;
  gap: 10px;
  min-width: 0;
}
.blueprint span {
  color: var(--muted);
}
.flow-line span {
  flex: 1;
  padding: 26px;
  background: var(--bg);
  text-align: center;
  min-width: 0;
}
.flow-line b {
  display: flex;
  align-items: center;
  padding: 0 6px;
  color: var(--cyan);
  background: var(--bg);
}
.code {
  max-width: 100%;
  overflow-x: auto;
  background: #02090c;
  border: 1px solid var(--line);
  padding: 24px;
  font:
    14px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #c9fff7;
}
.policy-meta {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 900px;
  padding: 0;
}
.policy-meta div {
  flex: 1;
  background: var(--bg2);
  padding: 18px;
}
.policy-meta dt {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}
.policy-meta dd {
  margin: 3px 0 0;
}
.device-grid img {
  max-height: 520px;
  justify-self: center;
}
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.faq-list {
  max-width: 1000px;
}
.faq {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq p {
  color: var(--muted);
}
.poc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1000px;
}
.poc-form label {
  display: grid;
  gap: 7px;
}
.poc-form .full,
.form-note,
.poc-form button,
.summary-output {
  grid-column: 1/-1;
}
.poc-form input,
.poc-form textarea,
.search-dialog input {
  width: 100%;
  background: #071116;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
  min-width: 0;
}
.poc-form .req {
  color: #e57373;
  margin-left: 2px;
  white-space: nowrap;
}
.poc-form .field-label {
  display: inline;
}
.poc-form input.is-invalid,
.poc-form textarea.is-invalid {
  border-color: #e57373;
}
.poc-form .field-error {
  color: #e57373;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: -2px;
}
.poc-form .field-error[hidden] {
  display: none;
}
.poc-form .form-note[data-contact-status]:empty {
  display: none;
}
.poc-form .form-note.is-success {
  color: #7cb5bf;
}
.poc-form .form-note.is-error {
  color: #e57373;
}
.tc-toast-host {
  position: fixed;
  z-index: 12000;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.tc-toast {
  pointer-events: auto;
  padding: 14px 16px;
  border-radius: 10px;
  background: #0a1d24;
  color: #e8f2f4;
  box-shadow:
    inset 0 0 0 1px rgba(124, 181, 191, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.tc-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.tc-toast.is-success {
  box-shadow:
    inset 0 0 0 1px rgba(104, 187, 154, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.35);
}
.tc-toast.is-error {
  box-shadow:
    inset 0 0 0 1px rgba(229, 115, 115, 0.6),
    0 12px 28px rgba(0, 0, 0, 0.35);
}
.tc-toast.is-success {
  color: #b7e7d2;
}
.tc-toast.is-error {
  color: #f3b4b4;
}
.contact-panel {
  max-width: 800px;
  border-left: 3px solid var(--cyan);
  padding-left: 28px;
}
.footer {
  padding-top: 68px;
  background: #040b0e;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(120px, 1fr));
  gap: 38px 28px;
}
.footer-brand {
  grid-row: span 3;
}
.footer-grid > div {
  min-width: 0;
}
.footer-grid h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
}
.footer-grid a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: #c3d4d8;
}
.footer-brand p {
  color: var(--muted);
  max-width: 340px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 54px;
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}
.footer-bottom a {
  display: inline-flex;
  color: #c7dadf;
}
.gallery-dialog,
.search-dialog {
  width: min(1440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  background: #071116;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0;
}
.gallery-dialog {
  flex-direction: column;
  overflow: hidden;
  height: calc(100vh - 48px);
  max-height: calc(100vh - 48px);
  user-select: none;
  -webkit-user-select: none;
}
.gallery-dialog:not([open]) {
  display: none;
}
.gallery-dialog[open] {
  display: flex;
}
.gallery-dialog::backdrop,
.search-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.dialog-head button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
}
.gallery-stage {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.gallery-stage img {
  max-height: calc(100vh - 132px);
  width: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.gallery-stage button {
  height: auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #45d2bf;
  line-height: 0;
  box-shadow: none;
}
.gallery-dialog .gallery-stage button[data-gallery-prev],
.gallery-dialog .gallery-stage button[data-gallery-next] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  color: #45d2bf !important;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
@media (hover: hover) {
  .gallery-dialog .gallery-stage button[data-gallery-prev],
  .gallery-dialog .gallery-stage button[data-gallery-next] {
    opacity: 0;
    pointer-events: none;
  }
  .gallery-dialog .gallery-stage:hover button[data-gallery-prev],
  .gallery-dialog .gallery-stage:hover button[data-gallery-next],
  .gallery-dialog .gallery-stage button[data-gallery-prev]:focus-visible,
  .gallery-dialog .gallery-stage button[data-gallery-next]:focus-visible {
    opacity: 1;
    pointer-events: auto;
  }
}
.gallery-dialog .gallery-stage button[data-gallery-prev] svg,
.gallery-dialog .gallery-stage button[data-gallery-next] svg {
  display: block;
  width: 40px;
  height: 40px;
  stroke: currentColor;
}
.gallery-dialog > p {
  display: none;
}
.search-dialog {
  width: min(780px, calc(100vw - 32px));
}
.dialog-body {
  padding: 22px;
}
.search-result {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.search-result small {
  color: var(--muted);
}
@media (max-width: 1180px) {
  .nav-group > summary {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 14px;
  }
  .nav-cta {
    display: none;
  }
  .cards,
  .evidence-grid,
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arch {
    grid-template-columns: 1fr;
  }
  .arch-row {
    grid-template-columns: 100px repeat(4, minmax(100px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .showcase {
    grid-template-columns: 1.5fr 1fr;
  }
}
@media (max-width: 900px) {
  .wrap,
  .breadcrumb {
    width: min(100% - 32px, var(--max));
  }
  .trust-strip .wrap {
    font-size: 11px;
  }
  .nav {
    min-height: 68px;
    justify-content: space-between;
  }
  .brand img {
    width: 190px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .navlinks {
    display: none;
    position: fixed;
    inset: calc(68px + 29px) 0 0 0;
    background: #061014;
    overflow-y: auto;
    padding: 12px 16px 32px;
    align-items: stretch;
  }
  .navlinks.open {
    display: block;
  }
  .nav-group {
    border-bottom: 1px solid var(--line);
  }
  .nav-group > summary {
    padding: 15px 4px;
    min-height: 52px;
    border: 0;
  }
  .mega {
    position: static;
    transform: none;
    width: auto;
    border: 0;
    border-top: 1px solid var(--line);
    box-shadow: none;
    padding: 16px 0;
    background: transparent;
  }
  .mega-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .nav-actions {
    margin: 22px 0 0;
    padding: 0;
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .hero-grid,
  .app-hero-grid,
  .device-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ecosystem,
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-bottom nav {
    justify-content: flex-start;
  }
  .showcase {
    grid-template-columns: 1fr 1fr;
  }
  .shot:first-child {
    grid-row: auto;
    grid-column: 1/-1;
  }
  .blueprint {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-line {
    overflow-x: auto;
  }
  .flow-line span {
    min-width: 170px;
  }
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
  .policy-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .poc-form {
    grid-template-columns: 1fr;
  }
  .poc-form .full,
  .form-note,
  .poc-form button,
  .summary-output {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .wrap,
  .breadcrumb {
    width: calc(100% - 28px);
  }
  .trust-strip .wrap span {
    overflow-wrap: anywhere;
  }
  .trust-strip a {
    display: none;
  }
  .brand img {
    width: 168px;
  }
  .home-hero,
  .page-hero,
  .app-hero,
  .doc-hero,
  .policy-hero,
  .device-hero {
    padding: 60px 0 50px;
  }
  h1 {
    font-size: 60px;
  }
  .section {
    padding: 62px 0;
  }
  .cards,
  .evidence-grid,
  .spec-grid,
  .ecosystem,
  .app-grid {
    grid-template-columns: 1fr;
  }
  .journey {
    grid-template-columns: 1fr;
  }
  .showcase {
    grid-template-columns: 1fr;
  }
  .shot:first-child {
    grid-column: auto;
  }
  .mega-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .arch-row {
    grid-template-columns: 90px repeat(2, minmax(110px, 1fr));
  }
  .blueprint {
    grid-template-columns: 1fr;
  }
  .hero-signal {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-stage {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }
  .policy-meta {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}
@media (min-width: 1800px) {
  :root {
    --max: 1620px;
  }
  .section {
    padding-block: 104px;
  }
}
.hero-grid > *,
.app-hero-grid > *,
.device-grid > *,
.section-head > *,
.cta-band > * {
  min-width: 0;
}
@media (max-width: 560px) {
  .arch-nxz {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .arch-row {
    grid-template-columns: 72px repeat(2, minmax(90px, 1fr));
  }
  .hero-signal span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 900px) {
  .header {
    backdrop-filter: none;
  }
  .navlinks.open {
    display: block;
    position: fixed;
    z-index: 200;
    inset: 97px 0 0;
    background: #061014;
    height: calc(100dvh - 97px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 16px 32px;
  }
  .navlinks.open .nav-group {
    display: block;
  }
  .navlinks.open .nav-actions {
    position: relative;
    z-index: 1;
  }
}
/* V3 enterprise refinements */
.nav-group.is-active > summary,
.nav-group > summary[aria-current="page"] {
  border-color: var(--cyan);
  color: var(--cyan);
}
.mega a[aria-current="page"] {
  color: var(--cyan);
  font-weight: 800;
  /* text-decoration: underline; */
  text-underline-offset: 5px;
}
.mega-col p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.nav-applications .mega {
  width: min(1240px, calc(100vw - 40px));
}
.nav-applications .mega-inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nav-developers .mega,
.nav-trust .mega,
.nav-solutions .mega {
  width: min(1120px, calc(100vw - 40px));
}
.nav-platform .mega-inner,
.nav-devices .mega-inner,
.nav-solutions .mega-inner,
.nav-developers .mega-inner,
.nav-trust .mega-inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.platform-hero,
.solution-hero,
.device-product-hero {
  padding: 88px 0 70px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    110deg,
    rgba(88, 228, 208, 0.045),
    transparent 52%
  );
}
.audience {
  max-width: 900px;
  color: var(--muted);
  font-size: 16px;
}
.boundary-panel {
  border-left: 3px solid var(--cyan);
  background: var(--bg2);
  padding: 24px 28px;
  max-width: 1100px;
}
.boundary-panel p {
  margin: 0;
  color: #c8dadd;
  font-size: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--line);
  margin-right: 10px;
}
.btn.primary {
  background: var(--cyan);
  color: #021311;
  border-color: var(--cyan);
}
.btn.secondary {
  background: transparent;
}
.cta-band > .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-block: 42px;
}
.cta-band h2 {
  font-size: 35px;
  margin-right: auto;
  /* max-width: 900px; */
}
.cta-band .cta-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.cta-band .cta-actions .btn {
  width: auto;
  margin-right: 0;
  white-space: nowrap;
}
.code-sample {
  border-top: 1px solid var(--line);
}
.code-sample summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 800;
  color: #d8ebee;
}
.code-sample[open] summary {
  color: var(--cyan);
}
.device-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  gap: 56px;
  align-items: center;
}
.device-hero-grid figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.device-hero-grid img {
  max-height: 560px;
  object-fit: contain;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  color: #d3e7e9;
  background: #0b191f;
}
.claim-table {
  border: 1px solid var(--line);
}
.claim-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.claim-row:last-child {
  border-bottom: 0;
}
.claim-row h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.claim-row p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.claim-row .status-pill {
  white-space: normal;
  text-align: center;
  max-width: 220px;
}
.publication-list {
  display: grid;
  gap: 0;
}
.publication {
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
  gap: 12px 48px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.publication > .eyebrow {
  grid-column: 1;
}
.publication > h2 {
  grid-column: 2;
  font-size: 35px;
}
.publication > p {
  grid-column: 2;
  color: #bdd0d4;
  font-size: 16px;
  margin: 0;
}
.publication dl {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 18px;
}
.publication dl div {
  background: var(--bg2);
  padding: 16px;
  min-width: 0;
}
.publication dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.publication dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.faq summary {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}
.faq summary span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-top: 5px;
}
.faq summary::after {
  content: "\203A";
  flex: none;
  align-self: center;
  width: 1.25em;
  text-align: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--cyan, #58e4d0);
  transform: rotate(90deg);
  transition: transform 0.18s ease;
}
.faq[open] summary::after {
  transform: rotate(-90deg);
}
.faq p {
  margin-left: 178px;
  max-width: 820px;
  font-size: 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-grid article {
  background: var(--bg2);
  padding: 30px;
  min-width: 0;
}
.contact-grid h2 {
  font-size: 22px;
}
.contact-grid a {
  color: var(--cyan);
  overflow-wrap: anywhere;
}
@media (max-width: 1180px) {
  .nav-applications .mega-inner,
  .nav-platform .mega-inner,
  .nav-devices .mega-inner,
  .nav-solutions .mega-inner,
  .nav-developers .mega-inner,
  .nav-trust .mega-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .nav-applications .mega,
  .nav-developers .mega,
  .nav-trust .mega,
  .nav-solutions .mega {
    width: auto;
  }
  .device-hero-grid {
    grid-template-columns: 1fr;
  }
  .publication {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .publication > .eyebrow,
  .publication > h2,
  .publication > p,
  .publication dl {
    grid-column: 1;
  }
  .faq summary {
    grid-template-columns: 110px minmax(0, 1fr) auto;
  }
  .faq p {
    margin-left: 128px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .nav-applications .mega-inner,
  .nav-platform .mega-inner,
  .nav-devices .mega-inner,
  .nav-solutions .mega-inner,
  .nav-developers .mega-inner,
  .nav-trust .mega-inner {
    grid-template-columns: 1fr;
  }
  .claim-row {
    grid-template-columns: 1fr;
  }
  .claim-row .status-pill {
    justify-self: start;
    max-width: 100%;
  }
  .publication dl {
    grid-template-columns: 1fr;
  }
  .faq summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }
  .faq summary span {
    grid-column: 1 / -1;
  }
  .faq p {
    margin-left: 0;
  }
  .cta-band > .wrap {
    align-items: flex-start;
  }
  .cta-band .cta-actions {
    width: 100%;
  }
  .cta-band .cta-actions .btn {
    width: auto;
    flex: 0 1 auto;
  }
  .btn {
    width: 100%;
    margin-right: 0;
  }
}
/* Prevent long technical tokens from widening journey cells; code remains scrollable only inside its pre container. */
.journey strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.code-sample {
  min-width: 0;
  max-width: 100%;
}
.code-sample .code {
  width: 100%;
  min-width: 0;
}
.code-sample code {
  display: block;
  min-width: max-content;
}
/* V3 accessibility reflow: preserve a readable menu label and footer taxonomy at 200% text zoom. */
.footer-grid h3,
.footer-grid a {
  overflow-wrap: anywhere;
  word-break: normal;
  min-width: 0;
}
@media (max-width: 560px) {
  .nav {
    gap: 8px;
  }
  .menu-toggle {
    flex: 0 1 auto;
    max-width: 160px;
    gap: 4px;
    padding-inline: 8px;
    min-width: 44px;
  }
  .menu-toggle span {
    display: block;
    max-width: 90px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.1;
    text-align: left;
    min-width: 0;
  }
}
@media (max-width: 560px) {
  .brand img {
    width: 142px;
  }
  .menu-toggle span {
    max-width: 110px;
    overflow-wrap: normal;
    word-break: normal;
  }
}
@media (max-width: 560px) {
  .menu-toggle {
    overflow: hidden;
  }
  .menu-toggle span {
    flex: 0 1 110px;
    overflow-wrap: break-word;
    word-break: normal;
  }
}
@media (max-width: 560px) {
  .menu-toggle {
    width: 48px;
    max-width: 48px;
    flex: 0 0 48px;
    justify-content: center;
    padding: 8px;
    overflow: visible;
  }
  .menu-toggle span {
    display: none;
  }
}

/* V4 Metro Enterprise layer */
:root {
  --v4-cyan: #22d3ee;
  --v4-teal: #14b8a6;
  --v4-ink: #07141d;
  --v4-panel: #0c202c;
  --v4-line: #245064;
}
body {
  background: var(--v4-ink);
}
.metro-hero {
  background: linear-gradient(100deg, #07141d 0 64%, #0c2733 64%);
  border-bottom: 1px solid var(--v4-line);
}
.metro-hero h1 {
  font-size: 60px;
  /* max-width: 14ch; */
}
.status-line {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.status {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-left: 4px solid var(--v4-cyan);
  background: #0d2c38;
  font-size: 14px;
}
.planned {
  border-color: #f2b84b;
}
.breadcrumb {
  display: flex;
  gap: 0.6rem;
  padding-block: 1rem;
  color: #93aeba;
  font-size: 14px;
}
.content-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 180px;
  gap: 2.5rem;
  align-items: start;
}
.context-nav,
.toc {
  position: sticky;
  top: 7rem;
  display: grid;
  border-top: 3px solid var(--v4-cyan);
}
.context-nav a,
.context-nav b,
.toc a,
.toc b {
  padding: 0.75rem;
  border-bottom: 1px solid var(--v4-line);
}
.context-nav a.active {
  background: #103141;
  border-left: 4px solid var(--v4-cyan);
  font-weight: 800;
}
.article section {
  scroll-margin-top: 8rem;
  margin-bottom: 4rem;
}
.metro-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--v4-line);
  border-left: 1px solid var(--v4-line);
}
.metro-matrix > div {
  padding: 1.4rem;
  border-right: 1px solid var(--v4-line);
  border-bottom: 1px solid var(--v4-line);
  min-height: 130px;
}
.metro-matrix small {
  display: block;
  color: var(--v4-cyan);
  margin-bottom: 1rem;
}
.evidence-callout {
  border-left: 4px solid #f2b84b;
  background: #182a2f;
  padding: 1.2rem;
  margin-top: 1.4rem;
}
.interop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--v4-line);
  border-left: 1px solid var(--v4-line);
}
.interop-grid article {
  padding: 1.25rem;
  min-height: 210px;
  border-right: 1px solid var(--v4-line);
  border-bottom: 1px solid var(--v4-line);
}
.interop-grid small {
  color: var(--v4-cyan);
}
.resource-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.resource-rail span {
  border: 1px solid var(--v4-line);
  padding: 1rem 1.25rem;
}
.capability-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--v4-line);
}
.capability-columns article {
  padding: 2rem;
  background: var(--v4-panel);
  min-height: 240px;
}
.journey.imaging {
  grid-template-columns: repeat(5, 1fr);
}
.dev-lab {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border: 1px solid var(--v4-line);
}
.lab-tabs {
  display: grid;
  align-content: start;
  background: #081923;
}
.lab-tabs button {
  text-align: left;
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid var(--v4-line);
  background: transparent;
  color: #bcd0d9;
  font: inherit;
}
.lab-tabs button.active {
  background: #103141;
  border-left: 4px solid var(--v4-cyan);
  color: white;
  font-weight: 800;
}
.lab-panel {
  padding: 2rem;
  min-width: 0;
}
.api-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--v4-line);
  padding: 0.8rem;
}
.api-bar code {
  flex: 1;
  overflow: auto;
}
.api-bar button {
  background: var(--v4-cyan);
  color: #031319;
  border: 0;
  padding: 0.8rem 1rem;
  font-weight: 800;
}
.method {
  background: #13795b;
  padding: 0.4rem 0.6rem;
  font-weight: 900;
}
.api-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.api-meta span {
  border: 1px solid var(--v4-line);
  padding: 0.45rem;
}
.lab-panel pre {
  white-space: pre-wrap;
  overflow: auto;
  background: #061118;
  border: 1px solid var(--v4-line);
  padding: 1rem;
  min-height: 100px;
}
.error-model {
  display: grid;
  gap: 0.5rem;
}
.editorial-band {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}
.v5-band:nth-of-type(even) {
  background: #0a1b25;
}
.navlinks > a {
  padding: 0.8rem 0.55rem;
}
.navlinks > a:focus-visible,
.lab-tabs button:focus-visible {
  outline: 3px solid #facc15;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .content-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
  .interop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .journey.imaging {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .metro-hero {
    background: #07141d;
  }
  .metro-hero h1 {
    font-size: 35px;
  }
  .content-layout,
  .dev-lab {
    grid-template-columns: 1fr;
  }
  .context-nav {
    position: static;
    display: flex;
    overflow: auto;
  }
  .context-nav > * {
    white-space: nowrap;
  }
  .metro-matrix,
  .capability-columns,
  .interop-grid {
    grid-template-columns: 1fr;
  }
  .lab-tabs {
    display: flex;
    overflow-x: auto;
  }
  .lab-tabs button {
    white-space: nowrap;
  }
  .editorial-band {
    grid-template-columns: 1fr;
  }
  .journey.imaging {
    grid-template-columns: 1fr;
  }
  .api-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .navlinks > a {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}

/* =========================================================
   Trusted Care V5 — Premium Enterprise Dark System
   ========================================================= */
:root {
  --v5-canvas: #03080b;
  --v5-s1: #071116;
  --v5-s2: #0a171d;
  --v5-s3: #0e2028;
  --v5-s4: #12303b;
  --v5-overlay: rgba(8, 22, 28, 0.96);
  --v5-line: #193641;
  --v5-line-hi: #2c5b69;
  --v5-text: #eef9fa;
  --v5-muted: #9fbac1;
  --v5-soft: #bfd0d4;
  --v5-cyan: #50e3d0;
  --v5-blue: #79a8ff;
  --v5-green: #75d99b;
  --v5-amber: #f0bd63;
  --v5-red: #ff7979;
  --v5-violet: #b5a4ff;
  --v5-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --v5-r: 18px;
  --v5-r-sm: 12px;
}
html {
  color-scheme: dark;
  background: var(--v5-canvas);
}
body {
  background: linear-gradient(
    180deg,
    var(--v5-canvas),
    var(--v5-s1) 24%,
    var(--v5-canvas)
  );
  color: var(--v5-text);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      1000px 500px at 80% -10%,
      rgba(80, 227, 208, 0.07),
      transparent 60%
    ),
    radial-gradient(
      800px 500px at 5% 24%,
      rgba(121, 168, 255, 0.045),
      transparent 60%
    );
}
.ui-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -3px;
  flex: 0 0 auto;
}
.ui-icon.sm {
  width: 15px;
  height: 15px;
}
.ui-icon.lg {
  width: 22px;
  height: 22px;
}
.trust-strip.v5 {
  background: #020709;
  border-bottom: 1px solid #10272f;
}
.trust-strip.v5 .wrap {
  min-height: 38px;
  align-items: center;
  overflow: auto;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b8cdd2;
  font-size: 12px;
}
.trust-item strong {
  color: #edfafa;
  font-weight: 760;
}
.trust-strip.v5 .trust-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v5-cyan);
  white-space: nowrap;
  font-weight: 760;
}
.header.v5 {
  top: 0;
  background: rgba(3, 11, 15, 0.91);
  border-color: #15313a;
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}
.header.v5 .nav {
  min-height: 72px;
}
.header.v5 .brand img {
  width: 198px;
  height: auto;
}
.header.v5 .navlinks {
  align-self: stretch;
  gap: 2px;
}
.header.v5 .nav-group > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 23px 10px 20px;
  color: #c8dade;
  border-bottom-width: 2px;
}
.header.v5 .nav-group > summary:hover {
  color: white;
}
.header.v5 .nav-group[open] > summary,
.header.v5 .nav-group.is-active > summary {
  color: var(--v5-cyan);
  border-color: var(--v5-cyan);
}
.header.v5 .mega {
  background: var(--v5-overlay);
  border-color: var(--v5-line-hi);
  border-radius: 0 0 18px 18px;
  padding: 26px;
  box-shadow: var(--v5-shadow);
}
.header.v5 .mega-inner {
  gap: 18px;
}
.header.v5 .mega-col {
  border-left: 1px solid var(--v5-line);
  padding-left: 18px;
}
.header.v5 .mega-col:first-child {
  border-left: 0;
  padding-left: 0;
}
.header.v5 .mega h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4e6e9;
  font-size: 11px;
}
.header.v5 .mega p {
  font-size: 12px;
  color: #76949c;
  line-height: 1.45;
  margin: 0 0 10px;
}
.header.v5 .mega a {
  border-bottom: 0;
  border-radius: 9px;
  padding: 7px 8px;
  color: #b9cdd2;
}
.header.v5 .mega a:hover,
.header.v5 .mega a[aria-current="page"] {
  background: #0c242d;
  color: white;
}
.header.v5 .nav-actions {
  gap: 8px;
}
.header.v5 .icon-btn,
.header.v5 .lang,
.header.v5 .nav-cta,
.header.v5 .menu-toggle {
  border-color: #274650;
  background: #07161c;
}
.header.v5 .icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
}
.header.v5 .lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header.v5 .nav-cta {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  background: linear-gradient(135deg, #70f1df, #42ceb9);
  color: #03110f;
  border: 0;
  box-shadow: 0 8px 26px rgba(80, 227, 208, 0.15);
}
.menu-toggle.v5 {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}
.menu-toggle.v5 .ui-icon {
  width: 21px;
  height: 21px;
}
.breadcrumb.v5 {
  color: #7e9ba2;
  gap: 7px;
}
.breadcrumb.v5 a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.breadcrumb.v5 .crumb-sep {
  color: #3a5962;
}
.home-hero,
.page-hero,
.app-hero,
.doc-hero,
.policy-hero,
.device-hero,
.metro-hero {
  background: linear-gradient(105deg, #041015 0 60%, #0a2029 100%);
  border-bottom-color: #183640;
  position: relative;
  overflow: hidden;
}
.home-hero::after,
.page-hero::after,
.app-hero::after,
.metro-hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(80, 227, 208, 0.1);
  border-radius: 50%;
  right: -180px;
  top: -230px;
  box-shadow:
    0 0 0 70px rgba(80, 227, 208, 0.015),
    0 0 0 140px rgba(121, 168, 255, 0.012);
  pointer-events: none;
}
.eyebrow,
.section-number {
  color: var(--v5-cyan);
}
h1 {
  color: #f4fcfd;
  text-wrap: balance;
}
.lede {
  color: #bcd2d7;
}
.intro {
  color: #a9c1c7;
}
.primary-btn,
.nav-cta,
.btn.primary {
  background: linear-gradient(135deg, #70f1df, #45d2bf);
  color: #03110f;
  border: 0;
  box-shadow: 0 10px 28px rgba(80, 227, 208, 0.12);
}
.secondary-btn,
.btn.secondary {
  border-color: #31545f;
  background: #08171d;
  color: #d9eaed;
}
.primary-btn,
.secondary-btn,
.btn,
.nav-cta {
  gap: 8px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.primary-btn:hover,
.secondary-btn:hover,
.btn:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.24);
}
.section {
  border-bottom-color: #132d35;
}
.section-contrast {
  background: #061217;
}
.section-head {
  align-items: start;
}
/* .section-head h2 {
  max-width: 1000px;
} */
.card,
.evidence-grid article,
.spec-grid article {
  background: linear-gradient(180deg, #08161c, #061116);
  border: 0;
}
.cards,
.evidence-grid,
.spec-grid {
  background: #17343e;
  border-color: #17343e;
  border-radius: var(--v5-r);
  /* Không clip — overflow:hidden làm mất nét góc bo của từng .card */
  overflow: visible;
}
.card {
  transition: background 0.18s ease;
}
.card:hover {
  background: #0a1d24;
}
.card p,
.evidence-grid p,
.spec-grid p {
  color: #94b0b7;
}
.v5-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v5-cyan);
  font-weight: 800;
}
.v5-kicker .ui-icon {
  width: 16px;
  height: 16px;
}
.v5-proofbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.v5-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid #244752;
  background: #07171d;
  border-radius: 999px;
  font-size: 12px;
  color: #c9dde0;
}
.v5-pill.verified {
  border-color: #246443;
  color: #a9e5bd;
}
.v5-pill.integration {
  border-color: #765f2c;
  color: #f2d28d;
}
.v5-pill.example {
  border-color: #55508a;
  color: #d5cdff;
}
.v5-hero-panel {
  border: 1px solid #21444f;
  background: linear-gradient(145deg, #0a1b22, #071217);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--v5-shadow);
  position: relative;
}
.v5-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(80, 227, 208, 0.06),
    transparent 35%
  );
}
.v5-hero-panel img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #1f414b;
  background: #02090c;
}
.v5-hero-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.v5-hero-caption small {
  display: block;
  color: #6f929a;
}
.v5-hero-caption strong {
  display: block;
  margin-top: 2px;
  color: #e9f8fa;
}
.v5-section {
  padding: 82px 0;
  border-bottom: 1px solid #132d35;
}
.v5-section.alt {
  background: #051116;
}
.v5-section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 34px;
}
.v5-section-head p {
  margin: 8px 0 0;
  color: #98b4bb;
  max-width: 850px;
}
.v5-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.v5-info-card {
  background: linear-gradient(180deg, #091920, #071319);
  border: 0;
  border-radius: 15px;
  padding: 20px;
  min-width: 0;
  box-shadow: inset 0 0 0 1px #183943;
  background-clip: padding-box;
}
.v5-info-card .v5-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #0b252d;
  border: 1px solid #204a56;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.v5-info-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.v5-info-card p {
  margin: 0;
  color: #90adb4;
  font-size: 14px;
}
.v5-info-card .meta {
  display: block;
  color: #5ee3d1;
  font-size: 16px !important;
  text-transform: uppercase;
  /* letter-spacing: 0.09em; */
  margin-bottom: 6px;
}
.v5-workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: #1b3b45;
  border: 1px solid #1b3b45;
  border-radius: 16px;
  overflow: hidden;
  counter-reset: flow;
}
.v5-workflow > div {
  background: #07151b;
  padding: 20px;
  min-height: 150px;
  position: relative;
}
.v5-workflow > div::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  display: block;
  font:
    700 14px Montserrat,
    sans-serif;
  color: var(--v5-cyan);
  margin-bottom: 28px;
}
.v5-workflow strong {
  display: block;
  font-size: 14px;
}
.v5-workflow small {
  display: block;
  color: #78989f;
  margin-top: 7px;
  line-height: 1.45;
}
.v5-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.v5-decision {
  padding: 20px;
  border-left: 3px solid var(--v5-blue);
  background: #081821;
}
.v5-decision.risk {
  border-color: var(--v5-amber);
}
.v5-decision.trust {
  border-color: var(--v5-green);
}
.v5-decision h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.v5-decision p {
  margin: 0;
  color: #92afb7;
}
.v5-table-wrap {
  overflow: auto;
  /* border: 1px solid #1c3e48; */
  border-radius: 14px;
}
.v5-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.v5-table th,
.v5-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #18343d;
  vertical-align: top;
}
.v5-table th {
  background: #0b1d24;
  color: #dfeff1;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.v5-table td {
  color: #a7c0c6;
}
.v5-table tr:last-child td {
  border-bottom: 0;
}
.v5-gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin-bottom: 18px;
}
.v5-gallery-feature figure {
  margin: 0;
}
.v5-screen {
  border: 1px solid #1d404a;
  background: #041014;
  border-radius: 15px;
  overflow: hidden;
  cursor: zoom-in;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}
.v5-screen:hover {
  transform: translateY(-2px);
  border-color: #39727f;
}
.v5-screen img {
  width: 100%;
  display: block;
  background: #02080b;
  object-fit: contain;
}
.v5-screen figcaption {
  padding: 13px 15px;
}
.v5-screen figcaption span {
  display: block;
  color: var(--v5-cyan);
  font:
    700 14px Montserrat,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v5-screen figcaption strong {
  display: block;
  margin-top: 4px;
}
.v5-screen figcaption small {
  display: block;
  color: #78969d;
  margin-top: 5px;
}
.v5-story-rail {
  display: grid;
  gap: 8px;
}
.v5-story-note {
  border: 1px solid #193b45;
  background: #07171d;
  border-radius: 12px;
  padding: 14px;
}
.v5-story-note b {
  display: block;
  color: #e6f5f7;
  font-size: 14px;
}
.v5-story-note span {
  display: block;
  color: #809fa6;
  font-size: 12px;
  margin-top: 4px;
}
.v5-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.v5-screen-grid.secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}
.v5-screen-grid.secondary .v5-screen figcaption strong {
  font-size: 14px;
}
.v5-callout {
  border: 1px solid #284b56;
  border-left: 4px solid var(--v5-cyan);
  background: #081920;
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  color: #b7cdd2;
}
.v5-callout.warning {
  border-left-color: var(--v5-amber);
}
.v5-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.v5-related a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #1c3b45;
  border-radius: 12px;
  background: #07161c;
  color: #c7dade;
}
.v5-related a:hover {
  border-color: #376b77;
  color: white;
}
.context-nav,
.toc {
  border-top-color: var(--v5-cyan);
  background: #061318;
}
.context-nav a,
.context-nav b,
.toc a,
.toc b {
  border-bottom-color: #18343d;
}
.context-nav a.active {
  background: #0a252f;
  border-left-color: var(--v5-cyan);
}
.metro-matrix {
  border-color: #1b3c46;
}
.metro-matrix > div {
  border-color: #1b3c46;
  background: #07161c;
}
.evidence-callout {
  background: #131d1f;
  border-left-color: var(--v5-amber);
}
.interop-grid {
  border-color: #1b3c46;
}
.interop-grid article {
  border-color: #1b3c46;
  background: #07161c;
}
.capability-columns {
  background: #1a3943;
}
.capability-columns article {
  background: #07171e;
}
.dev-lab {
  border-color: #234752;
  border-radius: 16px;
  overflow: hidden;
}
.lab-tabs {
  background: #061219;
}
.lab-tabs button {
  border-bottom-color: #16343e;
}
.lab-tabs button.active {
  background: #0b2934;
  border-left-color: var(--v5-cyan);
}
.lab-panel {
  background: #07171d;
}
.api-bar {
  border-color: #21434d;
  background: #061218;
  border-radius: 10px;
}
.api-bar button {
  border-radius: 8px;
}
.lab-panel pre {
  background: #030b0f;
  border-color: #193943;
  border-radius: 10px;
}
.search-dialog,
.gallery-dialog {
  background: #061318;
  color: var(--v5-text);
  border: 1px solid #2b5560;
  border-radius: 8px;
  box-shadow: var(--v5-shadow);
  max-width: min(1100px, 94vw);
}
.search-dialog::backdrop,
.gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
}
.dialog-head {
  border-bottom-color: #1a3a44;
  background: #081b22;
}
.dialog-head button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0d252e;
  border: 1px solid #29505c;
  color: white;
  border-radius: 9px;
  padding: 8px 10px;
}
.dialog-body input {
  background: #031015;
  border: 1px solid #2a515d;
  color: white;
  border-radius: 11px;
  padding: 13px 15px;
  width: 100%;
}
.search-result {
  display: grid;
  /* grid-template-columns: 34px minmax(0, 1fr) auto; */
  gap: 10px;
  align-items: center;
  padding: 13px 10px;
  border: 1px solid #173640;
  margin-top: 12px;
  border-radius: 6px;
  background: #081b22;
}
.search-result:hover {
  background: #0a2028;
}
.search-result .result-type {
  font-size: 11px;
  color: var(--v5-cyan);
  text-transform: uppercase;
  display: none;
}
.search-result .result-content {
  display: grid;
}
.search-result .result-url {
  display: none;
}
.search-result small {
  color: #6f939a;
  /* display: none; */
}
.search-empty {
  padding: 24px;
  color: #829fa6;
  text-align: center;
}
.search-result mark {
  background: #234f55;
  color: #bffbf3;
  border-radius: 3px;
  padding: 0 2px;
}
.gallery-stage {
  background: #02080b;
}
.gallery-stage button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: auto;
  height: auto;
  color: #45d2bf !important;
  box-shadow: none !important;
}
.gallery-dialog > p {
  display: none;
}
.footer.v5 {
  background: #02080b;
  border-top: 1px solid #15313a;
  padding-top: 54px;
}
.footer.v5 .footer-grid {
  grid-template-columns: minmax(240px, 1.5fr) repeat(6, minmax(120px, 1fr));
  gap: 28px;
}
.footer.v5 .footer-brand p {
  color: #7e9aa1;
}
.footer.v5 h3 {
  color: #d9eaed;
}
.footer.v5 a {
  color: #829fa6;
}
.footer.v5 a:hover {
  color: var(--v5-cyan);
}
.footer.v5 .footer-bottom {
  border-top-color: #15313a;
}
.footer.v5 .footer-bottom nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 1240px) {
  .header.v5 .navlinks {
    position: fixed;
    inset: 110px 20px auto;
    max-height: calc(100vh - 130px);
    overflow: auto;
    display: none;
    background: #061318;
    border: 1px solid #27505b;
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--v5-shadow);
  }
  .header.v5 .navlinks.open {
    display: block;
  }
  .header.v5 .nav-group > summary {
    padding: 14px 10px;
    min-height: auto;
  }
  .header.v5 .mega {
    position: static;
    transform: none;
    width: 100%;
    border-radius: 12px;
    margin: 0 0 8px;
  }
  .header.v5 .nav-actions {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0 0;
    padding: 10px;
    border-top: 1px solid #18363f;
  }
  .menu-toggle.v5 {
    display: inline-flex;
    margin-left: auto;
  }
  .header.v5 .nav-actions .nav-cta {
    flex: 1;
  }
  .v5-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v5-screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v5-screen-grid.secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer.v5 .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer.v5 .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }
  .home-hero,
  .page-hero,
  .app-hero,
  .doc-hero,
  .policy-hero,
  .device-hero,
  .metro-hero {
    padding: 64px 0 50px;
  }
  .hero-grid,
  .app-hero-grid,
  .device-grid,
  .device-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .v5-section {
    padding: 62px 0;
  }
  .v5-section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .v5-gallery-feature {
    grid-template-columns: 1fr;
  }
  .v5-grid,
  .v5-decision-grid,
  .v5-related {
    grid-template-columns: 1fr 1fr;
  }
  .v5-screen-grid.secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-strip.v5 .wrap {
    padding-block: 8px;
  }
  .trust-items .trust-item:nth-child(n + 3) {
    display: none;
  }
  .footer.v5 .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 60px;
  }
  .header.v5 .brand img {
    width: 166px;
  }
  .header.v5 .navlinks {
    inset: 110px 10px auto;
  }
  .header.v5 .mega-inner {
    grid-template-columns: 1fr;
  }
  .header.v5 .mega-col {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid #17343d;
    padding-top: 12px;
  }
  .header.v5 .mega-col:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .v5-grid,
  .v5-decision-grid,
  .v5-related,
  .v5-screen-grid,
  .v5-screen-grid.secondary {
    grid-template-columns: 1fr;
  }
  .v5-workflow {
    grid-template-columns: 1fr 1fr;
  }
  .footer.v5 .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer.v5 .footer-brand {
    grid-column: 1/-1;
  }
  .search-dialog {
    width: 95vw;
  }
  .search-result {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .search-result small {
    grid-column: 2;
  }
  .trust-strip.v5 .trust-item:nth-child(n + 2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}
/* V5.1 visual QA refinement: keep section narrative under the section title, not in the eyebrow rail. */
@media (min-width: 801px) {
  .v5-section-head > .eyebrow {
    grid-column: 1;
    grid-row: 1;
  }
  .v5-section-head > h2 {
    grid-column: 2;
    grid-row: 1;
  }
  .v5-section-head > p {
    grid-column: 2;
    grid-row: 2;
    margin-top: -16px;
  }
}
@media (max-width: 800px) {
  .v5-section-head > .eyebrow,
  .v5-section-head > h2,
  .v5-section-head > p {
    grid-column: 1;
    grid-row: auto;
  }
  .v5-section-head > p {
    margin-top: 0;
  }
}

/* V5 semantic heading preservation: introductory cards are H2 for accessibility without changing their compact visual hierarchy. */
.cards .card > h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: normal;
  margin: 8px 0 10px;
}
.interop-grid article > h2 {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: normal;
  margin: 1em 0;
}

/* V5 capability cards: avoid exposed grid-background cells when a row is not fully populated. */
.capability-columns {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  background: transparent;
}
.capability-columns article {
  border: 1px solid #1a3943;
  border-radius: 14px;
  background: #07171e;
  min-height: 0;
}
@media (max-width: 760px) {
  .capability-columns {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* V5 workflow cards: incomplete rows must not expose a solid grid background. */
.journey {
  gap: 8px;
  background: transparent;
  border: 0;
}
.journey li {
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* Consolidated V9 product layer */

:root {
  --v7-bg: #03090c;
  --v7-s1: #061116;
  --v7-s2: #091820;
  --v7-s3: #0d2029;
  --v7-line: #183740;
  --v7-text: #e8f3f5;
  --v7-muted: #93adb3;
  --v7-cyan: #62e7d8;
  --v7-blue: #7fc8ff;
  --v7-warn: #f7d489;
  --v7-radius: 16px;
  --v7-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}
body {
  background: var(--v7-bg);
  color: var(--v7-text);
}
.header.v7 {
  height: 76px;
  background: rgba(3, 9, 12, 0.96);
  border-bottom: 1px solid var(--v7-line);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 80;
}
.header.v7 .nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header.v7 .brand img {
  width: 180px;
  height: auto;
}
.header.v7 .navlinks {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.header.v7 .nav-group > summary {
  font-size: 14px;
  padding: 9px 8px;
  white-space: nowrap;
}
.header.v7 .nav-group > summary .ui-icon {
  width: 16px;
}
.header.v7 .v7-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-left: auto;
}
.compact {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 14px;
}
.icon-btn {
  display: flex;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--v7-line);
  border-radius: 10px;
  background: var(--v7-s1);
  color: var(--v7-text);
  font-size: 22px;
}
.language-combobox {
  position: relative;
}
.language-combobox > summary {
  list-style: none;
  cursor: pointer;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--v7-line);
  border-radius: 10px;
  padding: 0 10px;
  color: var(--v7-text);
  font-size: 14px;
}
.language-combobox > summary::-webkit-details-marker {
  display: none;
}
.language-combobox > div {
  position: absolute;
  right: 0;
  top: 46px;
  background: var(--v7-s2);
  border: 1px solid #27515d;
  border-radius: 12px;
  min-width: 190px;
  padding: 7px;
  box-shadow: var(--v7-shadow);
  z-index: 120;
}
.language-combobox a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 8px;
  padding: 10px;
  border-radius: 8px;
  color: var(--v7-text);
  text-decoration: none;
}
.language-combobox a::after {
  content: "";
  display: block;
  width: 1.25em;
  text-align: center;
  line-height: 1;
}
.language-combobox a[aria-selected="true"]::after {
  content: "\2713";
}
.language-combobox a .lang-name {
  min-width: 0;
}
.language-combobox a:hover {
  background: var(--v7-s3);
}
.language-combobox small {
  color: var(--v7-muted);
  justify-self: end;
}
.header.v7 .mega {
  top: 62px;
  border: 1px solid #234852;
  background: #061216;
  box-shadow: var(--v7-shadow);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}
.header.v7 .nav-applications .mega,
.header.v7 .nav-platform .mega,
.header.v7 .nav-developers .mega,
.header.v7 .nav-trust .mega {
  width: min(920px, 92vw);
}
.header.v7 .nav-resources .mega {
  width: min(520px, 92vw);
}
.mega-v7-head {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--v7-line);
}
.mega-v7-head strong {
  font-size: 16px;
}
.mega-v7-head p {
  margin: 4px 0 0;
  color: var(--v7-muted);
  font-size: 14px;
}
.mega-v7-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
}
.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 12px;
}
.mega-links a {
  padding: 10px 12px;
  border-radius: 9px;
  color: #d9e8eb;
  text-decoration: none;
  font-size: 14px;
}
.mega-links a:hover {
  background: #0d232b;
  color: var(--v7-cyan);
}
.mega-feature {
  margin: 12px 12px 12px 0;
  border-left: 1px solid var(--v7-line);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #0a2028, #07161b);
  border-radius: 0 10px 10px 0;
}
.mega-feature span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v7-cyan);
}
.mega-feature strong {
  margin: 8px 0 16px;
  line-height: 1.4;
}
.mega-feature a,
.mega-feature button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--v7-blue);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.home-hero h1 {
  font-size: 60px;
  max-width: 1000px;
}
.app-hero h1,
.page-hero h1,
.device-hero h1 {
  font-size: 60px;
}
.doc-hero h1,
.policy-hero h1 {
  font-size: 60px;
}
h2 {
  font-size: 35px;
}
h3 {
  font-size: 22px;
}
body,
p,
li {
  font-size: 16px;
}
.meta,
small {
  font-weight: 700;
  font-size: 16px;
  color: white !important;
}
.v7-band {
  padding: 76px 0;
  border-top: 1px solid #0e252d;
}
.v7-band.alt {
  background: #051015;
}
.v7-section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
.v7-section-head .eyebrow {
  color: var(--v7-cyan);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.v7-section-head h2 {
  margin: 0;
}
.v7-section-head p {
  color: var(--v7-muted);
  max-width: 820px;
}
.v7-stat-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--v7-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--v7-s1);
}
.v7-stat-rail div {
  padding: 18px;
  border-right: 1px solid var(--v7-line);
}
.v7-stat-rail div:last-child {
  border: 0;
}
.v7-stat-rail strong {
  display: block;
  font-size: 22px;
}
.v7-stat-rail small {
  color: var(--v7-muted);
}
.app-ecosystem {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.app-card-v7 {
  border: 1px solid var(--v7-line);
  background: var(--v7-s1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-card-v7 figure {
  margin: 0;
  aspect-ratio: 16/9;
  background: #020709;
  overflow: hidden;
}
.app-card-v7 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-card-v7 .content {
  padding: 18px;
}
.app-card-v7 .persona {
  font-size: 12px;
  color: var(--v7-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.app-card-v7 h3 {
  font-size: 22px;
  margin: 7px 0;
}
.app-card-v7 p {
  color: var(--v7-muted);
  min-height: 48px;
}
.app-card-v7 .actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.app-card-v7 .actions a,
.app-card-v7 .actions button {
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--v7-line);
  background: #0a1d24;
  color: #dff8f5;
  text-decoration: none;
  cursor: pointer;
}
.workflow-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.workflow-node {
  position: relative;
  padding: 18px 14px 18px 22px;
  border: 1px solid var(--v7-line);
  background: var(--v7-s1);
  min-height: 118px;
}
.workflow-node:not(:last-child):after {
  content: "\2192";
  position: absolute;
  right: -11px;
  top: 42px;
  z-index: 2;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b2028;
  color: var(--v7-cyan);
  border: 1px solid #28505a;
}
.workflow-node small {
  display: block;
  color: var(--v7-cyan);
  margin-bottom: 5px;
}
.workflow-node p {
  font-size: 14px;
  color: var(--v7-muted);
  margin: 6px 0;
}
.workflow-node.trust {
  border-color: #2f6f68;
}
.workflow-node.decision {
  border-color: #6a5a35;
}
.arch-boundary {
  border: 1px solid #28505a;
  border-radius: 18px;
  padding: 20px;
  background: #041015;
}
.arch-boundary h3 {
  margin-top: 0;
}
.arch-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.arch-box {
  border: 1px solid var(--v7-line);
  background: #081a21;
  border-radius: 10px;
  padding: 13px;
  text-align: center;
}
.arch-row.arch-row--5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.arch-row.arch-row--5 .arch-box,
.arch-row.arch-row--5 > div {
  font-size: 14px;
}
@media (max-width: 900px) {
  .arch-row.arch-row--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .arch-row.arch-row--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.arch-connector {
  text-align: center;
  color: var(--v7-cyan);
  font-size: 22px;
  padding: 8px;
}
.connector-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.connector-legend span {
  font-size: 12px;
  border: 1px solid var(--v7-line);
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--v7-muted);
}
.app-launcher {
  width: min(760px, 94vw);
  max-height: 88vh;
  background: #061318;
  color: var(--v7-text);
  border: 1px solid #2a5863;
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--v7-shadow);
}
.app-launcher::backdrop {
  background: rgba(0, 5, 7, 0.78);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--v7-line);
}
.dialog-head h2 {
  font-size: 22px;
  margin: 4px 0;
}
.dialog-head p {
  margin: 0;
  color: var(--v7-muted);
}
.dialog-head button {
  align-self: flex-start;
  border: 0;
  background: none;
  color: white;
  font-size: 35px;
}
.gallery-dialog .dialog-head,
.gallery-dialog .dialog-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 12px;
  min-height: 40px;
  gap: 8px;
  box-sizing: border-box;
  background: #081b22;
}
.gallery-dialog .dialog-head {
  justify-content: space-between;
  border-bottom: 1px solid #1a3a44;
}
.gallery-dialog .dialog-foot {
  justify-content: center;
  border-top: 1px solid #1a3a44;
  border-bottom: 0;
}
.gallery-dialog .dialog-foot p,
.gallery-dialog .dialog-foot [data-gallery-caption] {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  color: #d7e9ed;
}
.gallery-dialog .dialog-head strong {
  font-size: 14px;
  line-height: 1.2;
  color: #d7e9ed;
}
.gallery-dialog .dialog-head button[data-gallery-close] {
  align-self: center;
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7e9ed;
  border-radius: 8px;
  font-size: 32px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.gallery-dialog .dialog-head button[data-gallery-close]:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.search-dialog .dialog-head {
  /* padding: 8px 12px; */
  min-height: 0;
  gap: 8px;
}
.search-dialog .dialog-head strong {
  font-size: 22px;
  line-height: 1.2;
}
.search-dialog .dialog-head button[data-search-close] {
  align-self: center;
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7e9ed;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.search-dialog .dialog-head button[data-search-close]:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.app-launch-list {
  padding: 10px;
}
.app-launch-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--v7-text);
}
.app-launch-row:hover {
  background: #0c222a;
}
.app-launch-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--v7-line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--v7-cyan);
  font-size: 12px;
}
.app-launch-row small {
  display: block;
  color: var(--v7-muted);
}
.app-launch-row em {
  font-style: normal;
  font-size: 12px;
  color: var(--v7-blue);
}
.footer.v7 {
  background: #02070a;
  border-top: 1px solid var(--v7-line);
  padding-top: 48px;
}
.footer.v7 .footer-grid {
  grid-template-columns: minmax(250px, 1.6fr) repeat(6, minmax(110px, 1fr));
  gap: 24px;
}
.footer.v7 h3 {
  font-size: 14px;
}
.footer.v7 a,
.footer.v7 .footer-button {
  font-size: 14px;
  color: #9cb3b8;
}
.footer.v7 .footer-button {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  margin: 8px 0;
  text-align: left;
  cursor: pointer;
}
.hotline {
  display: block;
  margin: 16px 0;
  font-size: 22px;
}
.hotline a {
  font-size: 22px;
  color: var(--v7-cyan);
}
.footer.v7 .footer-bottom {
  border-top: 1px solid var(--v7-line);
}
.api-explorer-v7 {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 360px;
  min-height: 720px;
  border: 1px solid var(--v7-line);
  border-radius: 16px;
  overflow: hidden;
  background: #051116;
}
.api-pane {
  padding: 18px;
  overflow: auto;
}
.api-pane + .api-pane {
  border-left: 1px solid var(--v7-line);
}
.api-groups button {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  color: #b7cbd0;
  padding: 10px;
  border-radius: 8px;
}
.api-groups button.active,
.api-groups button:hover {
  background: #0d252e;
  color: white;
}
.method {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #327d72;
  color: #8ff2e6;
  border-radius: 5px;
  padding: 2px 5px;
  margin-right: 6px;
}
.code-surface {
  background: #02080b;
  border: 1px solid #17333b;
  border-radius: 10px;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 14px;
  white-space: pre-wrap;
  overflow: auto;
}
.api-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.api-toolbar .tc-select {
  width: auto;
  min-width: 160px;
}
.api-toolbar select,
.api-toolbar .tc-select__trigger,
.api-toolbar button {
  background: #091c23;
  color: white;
  border: 1px solid var(--v7-line);
  border-radius: 8px;
  padding: 8px;
}
.api-toolbar button {
  color: var(--v7-cyan);
  cursor: pointer;
}
.api-note {
  font-size: 12px;
  color: var(--v7-warn);
}
.access-band {
  border: 1px solid #23515a;
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(120deg, #071920, #09242b);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.access-band p {
  margin: 6px 0;
  color: var(--v7-muted);
}
@media (max-width: 1240px) {
  .header.v7 .navlinks {
    position: fixed;
    inset: 86px 18px auto;
    max-height: calc(100vh - 106px);
    overflow: auto;
    display: none;
    background: #061318;
    border: 1px solid #27505b;
    border-radius: 16px;
    padding: 10px;
  }
  .header.v7 .navlinks.open {
    display: block;
  }
  .header.v7 .v7-actions {
    margin-left: auto;
  }
  .header.v7 .nav-actions .language-combobox {
    display: none;
  }
  .menu-toggle.v7 {
    display: inline-flex;
    margin-left: 0;
  }
  .header.v7 .nav-actions {
    margin-top: 0;
  }
  .app-ecosystem {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer.v7 .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer.v7 .footer-brand {
    grid-column: 1/-1;
  }
  .api-explorer-v7 {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .api-explorer-v7 .api-pane:last-child {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--v7-line);
  }
}
@media (max-width: 800px) {
  .header.v7 .nav {
    gap: 8px;
  }
  .header.v7 .brand img {
    width: 154px;
  }
  .header.v7 .v7-actions .secondary-btn,
  .header.v7 .v7-actions .icon-btn {
    display: none;
  }
  .v7-section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .v7-stat-rail {
    grid-template-columns: 1fr 1fr;
  }
  .v7-stat-rail div {
    border-bottom: 1px solid var(--v7-line);
  }
  .app-ecosystem {
    grid-template-columns: 1fr;
  }
  .workflow-rail {
    grid-template-columns: 1fr;
  }
  .workflow-node:not(:last-child):after {
    content: "\2193";
    right: auto;
    left: 28px;
    top: auto;
    bottom: -12px;
  }
  .footer.v7 .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .api-explorer-v7 {
    grid-template-columns: 1fr;
  }
  .api-pane + .api-pane {
    border-left: 0;
    border-top: 1px solid var(--v7-line);
  }
  .access-band {
    align-items: flex-start;
    flex-direction: column;
  }
  .mega-v7-grid {
    grid-template-columns: 1fr;
  }
  .mega-feature {
    margin: 0 12px 12px;
    border-left: 0;
    border-top: 1px solid var(--v7-line);
    border-radius: 10px;
  }
  .mega-links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 430px) {
  .header.v7 .v7-actions .primary-btn {
    padding: 7px 9px;
  }
  .footer.v7 .footer-grid {
    grid-template-columns: 1fr;
  }
  .app-launch-row {
    grid-template-columns: 38px 1fr;
  }
  .app-launch-row em {
    grid-column: 2;
  }
  .home-hero h1 {
    font-size: 35px;
  }
  .app-hero h1,
  .page-hero h1 {
    font-size: 35px;
  }
}

/* V8: compact enterprise typography, final-screen presentation and accessibility */
:root {
  --v7-muted: #a3b9be;
  --v7-radius: 14px;
  --v7-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}
.home-hero h1 {
  font-size: 60px;
  max-width: 980px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.app-hero h1,
.page-hero h1,
.device-hero h1 {
  font-size: 60px;
  line-height: 1.08;
}
.doc-hero h1,
.policy-hero h1 {
  font-size: 35px;
}
h2 {
  font-size: 35px;
  line-height: 1.15;
}
h3 {
  font-size: 22px;
}
body,
p,
li {
  font-size: 16px;
  line-height: 1.65;
}
.icon-btn {
  display: grid;
  place-items: center;
  font-size: 0;
}
.icon-btn img {
  width: 18px;
  height: 18px;
}
.app-card-v7 {
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
}
.app-card-v7 figure {
  border-bottom: 1px solid var(--v7-line);
}
.app-card-v7 img {
  object-position: top;
  transition: transform 0.28s ease;
}
.app-card-v7:hover img {
  transform: scale(1.015);
}
.app-card-v7:focus-within {
  outline: 2px solid var(--v7-cyan);
  outline-offset: 3px;
}
.app-launch-icon {
  width: 38px;
  height: 38px;
  border-color: #28515b;
  border-radius: 10px;
  background: #071c22;
  font-size: 0;
}
.app-launch-icon img {
  width: 21px;
  height: 21px;
}
.app-launch-row:focus-visible {
  outline: 2px solid var(--v7-cyan);
  outline-offset: 2px;
}
.app-launch-list {
  overflow: auto;
  max-height: 66vh;
}
.app-launcher {
  overscroll-behavior: contain;
}
.mega-links a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.mega-links a::before {
  content: "\203A";
  color: var(--v7-cyan);
  font-weight: 700;
}
.workflow-node {
  border-radius: 0;
}
.workflow-node:first-child {
  border-radius: 12px 0 0 12px;
}
.workflow-node:last-child {
  border-radius: 0 12px 12px 0;
}
.arch-box {
  min-height: 62px;
  display: grid;
  place-items: center;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms;
    transition-duration: 0.01ms;
  }
}
@media (max-width: 800px) {
  .workflow-node:first-child,
  .workflow-node:last-child {
    border-radius: 10px;
  }
  .app-card-v7 p {
    min-height: 0;
  }
}
@media (max-width: 430px) {
  .home-hero h1 {
    font-size: 35px;
  }
  .app-hero h1,
  .page-hero h1,
  .device-hero h1 {
    font-size: 35px;
  }
  .doc-hero h1,
  .policy-hero h1 {
    font-size: 35px;
  }
  .v7-band {
    padding: 54px 0;
  }
}
@media (max-width: 390px) {
  .header.v7 .brand img {
    width: 142px;
  }
  .header.v7 .v7-actions .primary-btn {
    font-size: 12px;
  }
  .home-hero h1 {
    font-size: 35px;
  }
}

/* V9 consolidated product layer */
:root {
  --tc-canvas: #02080b;
  --tc-s1: #061116;
  --tc-s2: #091920;
  --tc-s3: #0d222a;
  --tc-line: #1a3b45;
  --tc-text: #edf8f7;
  --tc-muted: #a7bec2;
  --tc-cyan: #58e4d0;
  --tc-blue: #78c7ff;
  --tc-green: #6ee7a8;
  --tc-amber: #f3c66d;
  --tc-red: #ff8fa3;
  --tc-max: 1240px;
}
html {
  color-scheme: dark;
}
body {
  background: var(--tc-canvas);
  color: var(--tc-text);
  font-size: 16px;
  line-height: 1.65;
}
.wrap {
  max-width: var(--tc-max);
}
.home-hero h1 {
  font-size: 60px;
  line-height: 1.07;
}
.app-hero h1,
.device-product-hero h1 {
  font-size: 60px;
  line-height: 1.1;
}
.page-hero h1 {
  font-size: 35px;
}
.doc-hero h1,
.policy-hero h1 {
  font-size: 35px;
}
.developer-hero h1,
.api-hero h1 {
  font-size: 35px;
}
h2 {
  font-size: 35px;
  line-height: 1.18;
}
h3 {
  font-size: 22px;
}
.lede {
  font-size: 22px;
  max-width: 780px;
}
.intro {
  font-size: 16px;
}
.hero-signal span {
  font-size: 16px;
}
.section {
  padding: 70px 0;
}
.v7-band {
  padding: 68px 0;
}
.header.v7 {
  height: 72px;
  background: rgba(2, 8, 11, 0.96);
  border-color: var(--tc-line);
}
.header.v7 .nav {
  height: 72px;
  gap: 14px;
}
.header.v7 .brand img {
  width: 164px;
}
.header.v7 .nav-group > summary {
  min-height: 48px;
  padding: 10px 8px;
  border-radius: 9px;
  border-bottom: 0;
  font-weight: 700;
}
.header.v7 .nav-group[open] > summary {
  background: var(--tc-s3);
  color: var(--tc-cyan);
}
.header.v7 .mega {
  top: 58px;
  max-height: min(72vh, 620px);
  overflow: auto;
  border-color: #28545f;
  background: linear-gradient(155deg, #07161b, #041015);
  border-radius: 14px;
}
.mega-v9-head {
  padding: 18px 20px 13px;
  border-bottom: 1px solid var(--tc-line);
}
.mega-v9-head strong {
  font-size: 14px;
}
.mega-v9-head p {
  margin: 4px 0 0;
  color: var(--tc-muted);
  font-size: 14px;
}
.mega-v9-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
}
.mega-links {
  gap: 4px;
}
.mega-links a {
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid transparent;
}
.mega-links a::before {
  content: none;
}
.mega-links a:hover,
.mega-links a:focus-visible {
  background: #0d252d;
  border-color: #1e4550;
}
.mega-item-icon {
  width: 19px;
  height: 19px;
  opacity: 0.9;
}
.mega-feature {
  background: linear-gradient(145deg, #0b242b, #07171c);
}
.metro-section {
  padding: 72px 0;
  border-top: 1px solid var(--tc-line);
  background: radial-gradient(
    circle at 20% 20%,
    rgba(88, 228, 208, 0.055),
    transparent 36%
  );
}
.metro-heading {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 28px;
}
.metro-heading h2 {
  margin: 0;
  max-width: 850px;
}
.metro-figure {
  margin: 0;
  border: 1px solid #28515b;
  border-radius: 18px;
  background: #041015;
  padding: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}
.metro-figure img {
  display: block;
  width: 100%;
  min-height: 180px;
}
.metro-figure figcaption {
  padding: 12px 8px 2px;
  color: var(--tc-muted);
  font:
    12px/1.5 Montserrat,
    sans-serif;
  letter-spacing: 0.04em;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
  /* border: 1px solid var(--tc-line); */
  border-radius: 14px;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--tc-s1);
}
.table-scroll th,
.table-scroll td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--tc-line);
  vertical-align: top;
}
.table-scroll thead {
  background: var(--tc-s3);
  color: var(--tc-cyan);
}
.table-scroll tbody tr:hover {
  background: #0a1d24;
}
.status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid #3d6c75;
  border-radius: 999px;
  color: var(--tc-cyan);
  font-size: 11px;
  line-height: 1.3;
}
.ai-control-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--tc-line);
  border: 1px solid var(--tc-line);
  margin-top: 18px;
}
.ai-control-rail span {
  padding: 15px 10px;
  background: var(--tc-s2);
  text-align: center;
  color: var(--tc-muted);
  font-size: 14px;
}
.kiosk-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.kiosk-pair article {
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 8px 22px;
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  padding: 22px;
  background: var(--tc-s1);
}
.kiosk-pair img {
  grid-row: 1/5;
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #031014;
  border-radius: 12px;
}
.kiosk-pair h3,
.kiosk-pair p {
  margin: 0;
}
.kiosk-pair .primary-btn {
  justify-self: start;
  align-self: end;
}
.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 42px;
  padding-top: 56px;
  padding-bottom: 80px;
}
.policy-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  border: 1px solid var(--tc-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--tc-s1);
}
.policy-toc strong,
.policy-toc a {
  padding: 11px 14px;
  border-bottom: 1px solid var(--tc-line);
  font-size: 14px;
}
.policy-toc a:hover {
  color: var(--tc-cyan);
  background: var(--tc-s3);
}
.policy-clause {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--tc-line);
}
.policy-clause > span {
  color: var(--tc-cyan);
  font:
    14px Montserrat,
    sans-serif;
}
.policy-clause h2 {
  margin-top: 0;
}
html.tc-site .policy-clause h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: normal;
  font-weight: 750;
}
@media (min-width: 901px) {
  html.tc-site h2.policy-block-title {
    margin-top: 96px;
  }
}
.policy-clause p {
  color: var(--tc-muted);
  /* max-width: 820px; */
}
.policy-meta {
  max-width: none;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 1240px) {
  .header.v7 .brand img {
    width: 154px;
  }
  .header.v7 .navlinks {
    inset: 80px 16px auto;
  }
  .mega-v9-grid {
    grid-template-columns: 1fr;
  }
  .mega-feature {
    margin: 0 12px 12px;
    border-left: 0;
    border-top: 1px solid var(--tc-line);
  }
}
@media (max-width: 800px) {
  .section,
  .v7-band,
  .metro-section {
    padding: 54px 0;
  }
  .metro-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .metro-figure {
    overflow: auto;
  }
  .metro-figure img {
    width: 920px;
    max-width: none;
  }
  .ai-control-rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .kiosk-pair {
    grid-template-columns: 1fr;
  }
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .policy-toc {
    position: static;
  }
  .kiosk-pair article {
    grid-template-columns: 130px 1fr;
  }
  .kiosk-pair img {
    height: 210px;
  }
}
@media (max-width: 430px) {
  .home-hero h1 {
    font-size: 35px;
  }
  .app-hero h1,
  .device-product-hero h1 {
    font-size: 35px;
  }
  .page-hero h1 {
    font-size: 35px;
  }
  .doc-hero h1,
  .policy-hero h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 22px;
  }
  .kiosk-pair article {
    grid-template-columns: 1fr;
  }
  .kiosk-pair img {
    grid-row: auto;
    height: 240px;
  }
  .metro-figure img {
    width: 820px;
  }
  .policy-meta {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Consolidated V10 corrective layer */

:root {
  --tc-canvas: #02070a;
  --tc-s1: #061116;
  --tc-s2: #09171d;
  --tc-s3: #0d2028;
  --tc-elev: #102832;
  --tc-border: #1b3942;
  --tc-border-active: #2b7180;
  --tc-text: #edf8fa;
  --tc-muted: #9fb8be;
  --tc-cyan: #57e6dc;
  --tc-blue: #76bfff;
  --tc-green: #69d6a5;
  --tc-amber: #efc56a;
  --tc-red: #ff8585;
  --tc-radius: 14px;
  --tc-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}
html {
  background: var(--tc-canvas);
}
body {
  background: var(--tc-canvas);
  color: var(--tc-text);
  font-family: Montserrat, sans-serif;
  line-height: 1.62;
}
body,
p,
li {
  font-size: 16px;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
}
.home-hero h1 {
  font-size: 60px;
  line-height: 1.08;
}
.app-hero h1,
.page-hero h1,
.device-hero h1 {
  font-size: 35px;
  line-height: 1.1;
}
.doc-hero h1,
.policy-hero h1 {
  font-size: 35px;
}
.v7-band,
.v9-band {
  padding: 64px 0;
}
h2 {
  font-size: 35px;
  line-height: 1.18;
}
h3 {
  font-size: 22px;
}
.lead {
  font-size: 22px;
}
.meta,
small {
  font-size: 14px;
}
.ui-icon,
.mega-item-icon,
.app-launch-icon img {
  filter: none;
  color: inherit;
}
.header.v7.v9 {
  height: 72px;
  background: rgba(2, 7, 10, 0.96);
  border-color: var(--tc-border);
}
.header.v7 .nav {
  height: 72px;
  gap: 14px;
}
.header.v7 .brand img {
  width: 164px;
}
.header.v7 .navlinks {
  gap: 3px;
}
.header.v7 .nav-group > summary {
  padding: 9px 9px;
  font-size: 14px;
}
.header.v7 .nav-group > summary .ui-icon {
  width: 18px;
  height: 18px;
}
.header.v7 .v7-actions {
  gap: 7px;
}
.compact {
  min-height: 36px;
  padding: 7px 11px;
}
.header.v7 .mega {
  top: 58px;
  background: #061116;
  border-color: #244b55;
}
.mega-v9-head,
.mega-v7-head {
  padding: 15px 17px 10px;
}
.mega-v9-grid,
.mega-v7-grid {
  grid-template-columns: minmax(0, 1fr) 250px;
}
.mega-links {
  gap: 4px;
  padding: 10px;
}
.mega-links a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
}
.mega-item-icon {
  width: 20px;
  height: 20px;
}
.mega-feature {
  padding: 14px 16px;
}
.app-launcher {
  width: min(980px, 94vw);
  max-height: 80vh;
  border-radius: 16px;
  background: #061116;
}
.app-launcher .dialog-head {
  padding: 18px 20px;
}
.app-launcher .dialog-head h2 {
  font-size: 22px;
}
.app-launch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px 18px;
  overflow: auto;
  max-height: calc(80vh - 110px);
}
.app-launch-row {
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  padding: 13px;
  border: 1px solid var(--tc-border);
  background: var(--tc-s1);
}
.app-launch-row:hover,
.app-launch-row:focus-visible {
  background: var(--tc-s3);
  border-color: var(--tc-border-active);
}
.app-launch-icon {
  grid-row: 1/3;
  width: 42px;
  height: 42px;
}
.app-launch-icon img {
  width: 30px;
  height: 30px;
}
.app-launch-row em {
  grid-column: 2;
  color: var(--tc-blue);
}
.app-launch-row strong {
  font-size: 14px;
}
.app-launch-row small {
  font-size: 12px;
}
.footer.v7.v9 {
  padding-top: 36px;
  background: #010507;
}
.footer.v7 .footer-grid {
  grid-template-columns: minmax(270px, 1.45fr) repeat(4, minmax(130px, 1fr));
  gap: 28px;
}
.footer.v7 .footer-brand {
  max-width: 330px;
}
.footer.v7 h3 {
  font-size: 14px;
  letter-spacing: 0.04em;
}
.footer.v7 a,
.footer.v7 .footer-button {
  font-size: 14px;
  line-height: 1.4;
}
.hotline {
  margin: 14px 0 4px;
}
.hotline a {
  font-size: 16px;
}
.fixed-phone {
  margin: 2px 0 12px;
}
.fixed-phone a {
  color: var(--tc-text);
}
.footer-contact-links {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 0;
}
.footer-bottom nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom nav a {
  white-space: nowrap;
}
.metro-figure {
  border: 1px solid var(--tc-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #051217, #030b0e);
  padding: 14px;
  overflow: hidden;
}
.metro-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.metro-figure figcaption {
  margin-top: 10px;
  color: var(--tc-muted);
  font-size: 12px;
}
.arch-box {
  border-radius: 12px;
  border-color: var(--tc-border);
  background: var(--tc-s1);
}
.workflow-node {
  border-radius: 10px;
  background: var(--tc-s1);
}
.kiosk-v10-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kiosk-v10-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 1.2fr;
  gap: 18px;
  border: 1px solid var(--tc-border);
  border-radius: 18px;
  background: var(--tc-s1);
  padding: 18px;
}
.kiosk-v10-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}
.kiosk-v10-card h3 {
  margin-top: 0;
}
.v10-badge {
  display: inline-flex;
  padding: 4px 7px;
  border: 1px solid #466d5f;
  border-radius: 999px;
  font-size: 11px;
  color: var(--tc-green);
}
:focus-visible {
  outline: 2px solid var(--tc-cyan);
  outline-offset: 3px;
}
.primary-btn,
.secondary-btn,
button,
a {
  transition:
    background 0.16s,
    border-color 0.16s,
    color 0.16s,
    transform 0.16s;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}
@media (max-width: 1240px) {
  .header.v7 .navlinks {
    inset: 82px 18px auto;
  }
  .footer.v7 .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer.v7 .footer-brand {
    grid-column: 1/-1;
    max-width: none;
  }
}
@media (max-width: 820px) {
  .app-launch-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kiosk-v10-showcase {
    grid-template-columns: 1fr;
  }
  .footer.v7 .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer.v7 .footer-brand {
    grid-column: 1/-1;
  }
  .wrap {
    width: min(100% - 28px, 1180px);
  }
}
@media (max-width: 520px) {
  .home-hero h1 {
    font-size: 35px;
  }
  .app-hero h1,
  .page-hero h1,
  .device-hero h1 {
    font-size: 35px;
  }
  .app-launch-list {
    grid-template-columns: 1fr;
  }
  .footer.v7 .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    align-items: flex-start;
  }
  .footer-bottom nav {
    display: grid;
    gap: 7px;
  }
  .kiosk-v10-card {
    grid-template-columns: 1fr;
  }
  .kiosk-v10-card img {
    height: 230px;
  }
}

/* V11 consolidated information architecture and editorial presentation */
:root {
  --tc-max: 1200px;
  --tc-reading: 760px;
  --tc-space-1: 4px;
  --tc-space-2: 8px;
  --tc-space-3: 12px;
  --tc-space-4: 16px;
  --tc-space-5: 24px;
  --tc-space-6: 32px;
  --tc-space-7: 48px;
  --tc-space-8: 72px;
}
body {
  font-size: 16px;
  line-height: 1.65;
  overflow-x: visible;
}
.wrap {
  width: min(var(--tc-max), calc(100% - 48px));
  margin-inline: auto;
}
.home-hero {
  padding: 84px 0 62px;
}
.home-hero h1 {
  font-size: 60px;
  max-width: 920px;
  letter-spacing: -0.035em;
}
.home-hero .lede {
  max-width: 800px;
  color: var(--tc-muted);
}
/* .page-hero h1,
.app-hero h1 {
  max-width: 900px;
} */
.v5-kicker,
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  color: var(--tc-cyan);
}
.header {
  height: 68px;
}
.header .nav {
  height: 68px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
}
.header .brand img {
  width: 150px;
}
.header .navlinks {
  justify-content: center;
  gap: 8px;
}
.header .nav-group > summary {
  padding: 8px 10px;
  font-size: 14px;
  white-space: nowrap;
}
.header .nav-actions {
  gap: 8px;
}
.header .nav-actions .icon-btn {
  width: 38px;
  height: 38px;
}
.header .compact {
  min-height: 38px;
}
.header .primary-btn.compact {
  padding-inline: 15px;
}
.header .mega {
  top: 55px;
  max-width: min(980px, calc(100vw - 48px));
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.mega-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}
.mega-links a {
  align-items: flex-start;
  min-height: 62px;
}
.mega-copy {
  display: grid;
  gap: 2px;
}
.mega-copy strong {
  font-size: 14px;
  line-height: 1.35;
  color: var(--tc-text);
}
.mega-copy small {
  font-size: 11px;
  line-height: 1.4;
  color: var(--tc-muted);
  font-weight: 400;
}
.mega-feature {
  align-self: stretch;
}
.context-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--tc-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--tc-border);
}
.context-evidence > span,
.context-evidence > a {
  display: grid;
  gap: 3px;
  align-content: center;
  padding: 14px 16px;
  background: var(--tc-s1);
}
.context-evidence strong {
  font-size: 14px;
}
.context-evidence small {
  color: var(--tc-muted);
  font-size: 11px;
  line-height: 1.4;
}
.context-evidence > a {
  color: var(--tc-cyan);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.metro-feature {
  margin-top: 12px;
}
.metro-figure img {
  max-width: 100%;
  min-height: 0;
}
.app-ecosystem {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.app-card-v9 {
  min-width: 0;
}
.app-card-v9 figure {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.app-card-v9 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.app-card-v9 .content {
  display: flex;
  flex-direction: column;
}
.app-card-v9 .actions {
  margin-top: auto;
}
.tc-footer {
  padding: 0;
  background: #010608;
  border-top: 1px solid var(--tc-border);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 2fr);
  /* gap: 64px; */
  padding-block: 46px 38px;
}
.footer-identity > img {
  width: 176px;
  height: auto;
}
.footer-identity > p {
  max-width: 350px;
  margin: 14px 0 18px;
  color: var(--tc-muted);
  font-size: 14px;
}
.contact-list {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  max-width: 380px;
}
.contact-list > li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
}
.contact-list > li.contact-list__row-center {
  align-items: center;
}
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(87, 230, 220, 0.08);
  border: 1px solid rgba(87, 230, 220, 0.16);
  color: var(--tc-cyan, #58e4d0);
  flex-shrink: 0;
}
.contact-list__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}
.contact-list__text {
  margin: 0;
  color: var(--tc-text, #edf8f7);
  font-size: 14px;
  line-height: 1.45;
}
.contact-list__phones {
  display: grid;
  gap: 2px;
}
.contact-list a {
  font-size: 14px;
  color: var(--tc-text, #edf8f7);
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--tc-cyan, #58e4d0);
}
.footer-poc {
  display: inline-flex;
  width: max-content;
  font-size: 14px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.footer-nav details {
  border: 0;
}
.footer-nav summary {
  list-style: none;
  color: var(--tc-text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}
.footer-nav summary::-webkit-details-marker {
  display: none;
}
.footer-nav details > div {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--tc-muted);
  line-height: 1.45;
}
.footer-nav a:hover {
  color: var(--tc-cyan);
}
.assurance-strip {
  border-block: 1px solid var(--tc-border);
  background: var(--tc-s1);
}
.assurance-strip .wrap {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.assurance-strip a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 18px;
  border-right: 1px solid var(--tc-border);
  font-size: 14px;
  color: var(--tc-text);
}
.assurance-strip a:first-child {
  padding-left: 0;
}
.assurance-strip span {
  color: var(--tc-muted);
  font-size: 14px;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-block: 18px;
  border-top: 1px solid var(--tc-border, #1b3942);
  color: var(--tc-muted);
  font-size: 12px;
}
.footer-legal nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 14px;
  color: var(--tc-muted);
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .header .menu-toggle {
    display: grid;
  }
  .header .navlinks {
    display: none;
    position: fixed;
    inset: 68px 16px auto;
    max-height: calc(100vh - 84px);
    overflow: auto;
    background: var(--tc-s1);
    border: 1px solid var(--tc-border);
    border-radius: 14px;
    padding: 10px;
  }
  .header .navlinks.open {
    display: grid;
  }
  .header .nav-group > summary {
    font-size: 14px;
  }
  .header .mega {
    position: static;
    max-width: none;
    margin-top: 4px;
  }
  .mega-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  .header .nav-actions {
    margin-top: 0;
  }
  .footer-main {
    gap: 40px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
    margin-top: 8px;
  }
}
@media (max-width: 820px) {
  .wrap {
    width: min(100% - 28px, var(--tc-max));
  }
  .header .nav-actions .secondary-btn,
  .header .language-combobox {
    display: none;
  }
  .home-hero {
    padding: 62px 0 48px;
  }
  .context-evidence {
    grid-template-columns: 1fr;
  }
  .context-evidence > a {
    white-space: normal;
  }
  .app-ecosystem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 28px 18px;
  }
  .footer-nav {
    margin-top: 0;
    row-gap: 14px;
  }
  .footer-identity > p {
    margin: 10px 0 12px;
  }
  .contact-list {
    margin-bottom: 0;
    gap: 6px;
  }
  .footer-nav details > div {
    margin-top: 8px;
    gap: 6px;
  }
  .assurance-strip .wrap {
    display: grid;
  }
  .assurance-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--tc-border);
    padding-inline: 0;
    padding-block: 9px;
  }
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 14px;
  }
  .metro-figure {
    overflow: hidden;
  }
  .metro-figure img {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  .header .brand img {
    width: 132px;
  }
  .header .nav-actions .icon-btn {
    display: none;
  }
  .header .primary-btn.compact {
    font-size: 12px;
    padding-inline: 10px;
  }
  .home-hero h1 {
    font-size: 35px;
  }
  .app-ecosystem {
    grid-template-columns: 1fr;
  }
  .mega-links {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
  }
  .footer-nav details {
    border-top: 1px solid var(--tc-border);
    padding-block: 0;
  }
  .footer-nav summary {
    padding: 8px 0;
    cursor: pointer;
  }
  .footer-nav details > div {
    margin-top: 4px;
    gap: 4px;
    padding-bottom: 6px;
  }
  .footer-nav details:not([open]) > div {
    display: none;
  }
  .footer-legal {
    gap: 8px;
    padding-block: 10px;
  }
  .footer-legal nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .assurance-strip a {
    padding-block: 7px;
  }
  .context-evidence {
    margin-top: 24px;
  }
  .app-launch-list {
    grid-template-columns: 1fr;
  }
}

/* V12 evidence-driven refinements */
.hero.compact {
  padding: 88px 0 70px;
}
.hero.compact .lead {
  /* max-width: 820px; */
  color: var(--tc-muted);
}
.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--tc-border);
  border-radius: 14px;
  margin: 18px 0 28px;
}
.table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--tc-s1);
}
.table-wrap th,
.table-wrap td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--tc-border);
  vertical-align: top;
  text-align: left;
}
.table-wrap th {
  font-size: 12px;
  color: var(--tc-cyan);
  background: var(--tc-s3);
}
.table-wrap td {
  font-size: 14px;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--tc-border);
  border: 1px solid var(--tc-border);
  border-radius: 16px;
  overflow: hidden;
}
.journey-grid article {
  padding: 22px;
  background: var(--tc-s1);
}
.journey-grid article span {
  font:
    700 14px Montserrat,
    sans-serif;
  color: var(--tc-cyan);
  letter-spacing: 0.08em;
}
.journey-grid article h3 {
  margin: 8px 0;
}
.journey-grid article p {
  margin: 0;
  color: var(--tc-muted);
  font-size: 14px;
}
.nav-platform .mega {
  width: min(760px, calc(100vw - 48px));
}
.nav-devices .mega {
  width: min(780px, calc(100vw - 48px));
}
.nav-solutions .mega {
  width: min(860px, calc(100vw - 48px));
}
.nav-developers .mega,
.nav-trust .mega,
.nav-applications .mega {
  width: min(980px, calc(100vw - 48px));
}
.mega-v9-grid {
  grid-template-columns: minmax(0, 1fr) 240px;
}
.mega-links {
  grid-auto-rows: min-content;
}
.mega-links a {
  min-height: 0;
}
.policy-content {
  max-width: 920px;
}
/* .section-head p {
  max-width: 820px;
} */
.evidence-callout {
  border-left: 3px solid var(--tc-cyan);
  background: #071b21;
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  color: var(--tc-muted);
}
pre {
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--tc-border);
  border-radius: 12px;
  background: #02090c;
  color: #c8f7ef;
}
@media (max-width: 1180px) {
  .nav-platform .mega,
  .nav-devices .mega,
  .nav-solutions .mega,
  .nav-developers .mega,
  .nav-trust .mega,
  .nav-applications .mega {
    width: auto;
  }
  .mega-v9-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .table-wrap table {
    min-width: 680px;
  }
}

/* ==========================================================================\n   V13 PALMID-GRADE VISUAL DISCIPLINE — consolidated in the single site.css\n   ========================================================================== */
:root {
  --v13-content: 1180px;
  --v13-reading: 820px;
  --v13-wide: 1320px;
  --v13-gutter: clamp(20px, 3vw, 48px);
  --v13-section: clamp(64px, 7vw, 96px);
  --v13-radius: 14px;
  --v13-soft-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}
body {
  background: #050d11;
  letter-spacing: -0.003em;
}
.wrap {
  width: min(var(--v13-content), calc(100% - (2 * var(--v13-gutter))));
}
.section,
.v5-section {
  padding-block: var(--v13-section);
}
/* Header: brand / primary / utility are visually distinct, not equal-weight buttons. */
.header {
  height: 64px;
  background: rgba(4, 12, 16, 0.94);
  border-bottom: 1px solid rgba(131, 183, 194, 0.14);
  box-shadow: none;
}
.header .nav {
  height: 64px;
  min-height: 64px;
  gap: clamp(18px, 2vw, 34px);
}
.header .brand {
  padding-inline: 2px 6px;
  display: flex;
  align-items: center;
}
.header .brand img {
  width: 146px;
  max-height: 34px;
}
.header .navlinks {
  justify-content: center;
  gap: clamp(7px, 1vw, 15px);
}
.header .nav-group > summary {
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 650;
  color: #c9d8dc;
  min-height: 42px;
  border-bottom: 0;
  border-radius: 8px;
}
.header .nav-group[open] > summary,
.header .nav-group.is-active > summary {
  color: #59e2d1;
  background: #0d2028;
}
.header .nav-actions {
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(131, 183, 194, 0.12);
}
.header .nav-actions .icon-btn,
.header .language-combobox > summary,
.header .secondary-btn.compact {
  border-color: transparent;
  background: transparent;
  color: #afc3c8;
  box-shadow: none;
}
.header .nav-actions .icon-btn:hover,
.header .language-combobox > summary:hover,
.header .secondary-btn.compact:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #efffff;
}
.header .nav-actions .primary-btn.compact {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 9px;
  box-shadow: none;
}
/* Adaptive content-sized mega menus. */
.header .mega {
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0;
  border: 1px solid rgba(125, 184, 194, 0.18);
  border-radius: 14px;
  background: rgba(5, 17, 22, 0.985);
  box-shadow: var(--v13-soft-shadow);
  overflow: hidden;
}
.header .mega-v9-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(125, 184, 194, 0.1);
}
.header .mega-v9-head strong {
  font-size: 14px;
}
.header .mega-v9-head p {
  font-size: 11px;
  margin: 3px 0 0;
  color: #7f9ba2;
  max-width: 560px;
}
.header .mega-v9-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.header .mega-links {
  display: grid;
  padding: 8px;
  gap: 3px;
}
.header .mega-links a {
  border: 0;
  border-radius: 9px;
  padding: 9px 10px;
  min-height: 50px;
  background: transparent;
}
.header .mega-links a:hover,
.header .mega-links a[aria-current="page"] {
  background: rgba(89, 226, 205, 0.065);
}
.mega-item-icon {
  width: 19px;
  height: 19px;
  margin-top: 1px;
}
.mega-copy strong {
  font-size: 14px;
}
.mega-copy small {
  font-size: 11px;
  line-height: 1.35;
  color: #9ab4ba !important;
}
.header .mega-type-a {
  width: min(620px, calc(100vw - 2 * var(--v13-gutter)));
}
.header .mega-type-a .mega-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.header .mega-type-b {
  width: min(760px, calc(100vw - 2 * var(--v13-gutter)));
}
.header .mega-type-b .mega-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.header .mega-type-c {
  width: min(900px, calc(100vw - 2 * var(--v13-gutter)));
}
.header .mega-type-c .mega-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.header .mega-type-d {
  width: min(980px, calc(100vw - 2 * var(--v13-gutter)));
}
.header .mega-type-d .mega-v9-grid {
  grid-template-columns: minmax(0, 1fr) 215px;
}
.header .mega-type-d .mega-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.header .mega-feature {
  padding: 16px;
  border-left: 1px solid rgba(125, 184, 194, 0.12);
  background: rgba(255, 255, 255, 0.018);
  align-self: stretch;
}
.header .mega-feature strong {
  font-size: 14px;
  line-height: 1.4;
}
.header .mega-feature button,
.header .mega-feature a {
  font-size: 12px;
}
/* Typography: fewer simultaneous levels; calm enterprise scale. */
h1,
.home-hero h1 {
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -0.036em;
  margin: 12px 0 20px;
}
.app-hero h1 {
  font-size: 35px;
}
.page-hero h1,
.device-hero h1 {
  font-size: 35px;
}
.policy-hero h1,
.doc-hero h1 {
  font-size: 35px;
}
h2 {
  font-size: 35px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 22px;
}
.lede,
.lead {
  font-size: 22px;
  line-height: 1.55;
  max-width: 800px;
}
.v5-kicker,
.eyebrow,
.section-number {
  font-size: 12px;
  letter-spacing: 0.12em;
}
.home-hero,
.page-hero,
.app-hero,
.doc-hero,
.policy-hero,
.device-hero {
  padding: 88px 0 70px;
  background: radial-gradient(
    circle at 80% 15%,
    rgba(70, 193, 180, 0.055),
    transparent 31%
  );
}
.hero-cta {
  margin-top: 24px;
}
.primary-btn,
.secondary-btn {
  min-height: 43px;
  border-radius: 9px;
  padding: 9px 15px;
}
.secondary-btn {
  background: transparent;
  border-color: rgba(142, 187, 196, 0.2);
}
/* Evidence is metadata, not a giant content card. */
.context-evidence {
  margin-top: 26px;
  border: 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.context-evidence > span,
.context-evidence > a {
  padding: 8px 10px;
  border: 1px solid rgba(127, 182, 192, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  min-height: 0;
}
.context-evidence strong {
  font-size: 11px;
}
.context-evidence small {
  font-size: 11px;
}
.context-evidence > a {
  font-size: 14px;
  color: #8dded2;
  display: flex;
  align-items: center;
}
.v5-proofbar {
  gap: 7px;
}
.v5-pill {
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
}
/* Homepage rhythm: one message per band, less mechanical card density. */
.v13-home main > section {
  position: relative;
}
.v13-home .section-head,
.v13-home .v5-section-head {
  margin-bottom: clamp(24px, 3vw, 38px);
}
.v13-home .v13-band-metro,
.v13-home .v13-band-gcp {
  padding-block: clamp(72px, 8vw, 108px);
}
.v13-home .v13-band-apps {
  background: linear-gradient(
    180deg,
    rgba(8, 22, 27, 0.65),
    rgba(4, 13, 17, 0.5)
  );
}
.v13-home .v13-band-devices {
  background: radial-gradient(
    circle at 76% 45%,
    rgba(65, 193, 176, 0.06),
    transparent 34%
  );
}
/* Applications hub: visual constellation feel, not nine heavy cards. */
.app-ecosystem {
  gap: 10px;
  background: transparent;
  border: 0;
}
.app-card-v9 {
  position: relative;
  border: 0;
  border-top: 1px solid rgba(124, 181, 191, 0.18);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.app-card-v9:hover {
  background: rgba(255, 255, 255, 0.018);
  transform: translateY(-2px);
}
.app-card-v9 figure {
  border-radius: 10px;
  aspect-ratio: 16/8.5;
  margin: 14px 14px 0;
}
.app-card-v9 .content {
  padding: 14px 14px 18px;
}
.app-card-v9 h3 {
  font-size: 16px;
  margin: 5px 0;
}
.app-card-v9 p {
  font-size: 14px;
  line-height: 1.5;
  min-height: 0;
  margin: 0 0 8px;
}
.app-card-v9 .persona {
  font-size: 11px;
}
.app-card-v9 .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.82;
}
.app-card-v9 .actions a {
  font-size: 14px;
  border: 0;
  background: transparent;
  padding: 5px 0;
  color: #59e2d1;
}
.app-card-v9 .actions a::after {
  margin-left: 4px;
  content: "\27F6";
}
.app-card-v9 .actions button {
  font-size: 11px;
  border: 0;
  background: transparent;
  padding: 5px 0;
  color: #8ee4d8;
  display: none;
}
/* Screenshot storytelling: featured screen + narrative rail, mobile becomes horizontal evidence gallery. */
.v13-screenshot-story .v5-gallery-feature {
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.55fr);
  gap: 22px;
  align-items: start;
}
.v13-screenshot-story .v5-screen {
  border-color: rgba(118, 178, 189, 0.14);
  background: #030b0e;
  border-radius: 12px;
  box-shadow: none;
}
.v13-screenshot-story .v5-screen:hover {
  transform: none;
  border-color: rgba(89, 226, 205, 0.35);
}
.v13-screenshot-story .v5-story-rail {
  gap: 1px;
  border-top: 1px solid rgba(124, 181, 191, 0.14);
}
.v13-screenshot-story .v5-story-note {
  border: 0;
  border-bottom: 1px solid rgba(124, 181, 191, 0.14);
  border-radius: 0;
  background: transparent;
  padding: 13px 2px;
}
.v13-screenshot-story .v5-story-note b {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6bd6c8;
}
.v13-screenshot-story .v5-story-note span {
  font-size: 12px;
  line-height: 1.45;
  color: #94aeb4;
}
.v13-screenshot-story .v5-screen-grid {
  gap: 10px;
}
.v13-screenshot-story .v5-screen figcaption {
  padding: 11px 12px;
}
.v13-screenshot-story .v5-screen figcaption span {
  font-size: 11px;
}
.v13-screenshot-story .v5-screen figcaption strong {
  font-size: 14px;
}
.v13-caption-story {
  font-size: 11px;
  line-height: 1.45;
  color: #7e9ca3;
  margin-top: 6px;
}
/* Device productization: image/use case first; specifications recede. */
.v13-device-page .device-hero-grid,
.v13-device-page .device-grid {
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}
.v13-device-page .device-grid img,
.v13-device-page .device-hero img {
  max-height: 600px;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.28));
}
.v13-device-page .spec-grid {
  background: transparent;
  border: 0;
  gap: 10px;
}
.v13-device-page .spec-grid article {
  border-top: 1px solid rgba(125, 184, 194, 0.17);
  padding: 18px 4px;
  background: transparent;
}
/* GCP: native / integration boundary / external plane are visually distinct. */
.v13-gcp-page .v13-boundary-section {
  position: relative;
}
.v13-gcp-page .v13-boundary-section .wrap {
  border-left: 1px dashed rgba(129, 172, 221, 0.34);
  padding-left: clamp(20px, 3vw, 36px);
}
.v13-gcp-page .v13-boundary-section:nth-of-type(odd) {
  background: linear-gradient(
    90deg,
    rgba(70, 104, 174, 0.045),
    transparent 65%
  );
}
.v13-gcp-page .v13-boundary-section .evidence-callout {
  border-left-color: #7f9ce7;
  background: rgba(74, 95, 158, 0.06);
}
/* Trust/policy: editorial reading layout instead of documentation wall. */
.v13-trust-page main.v13-reading-layout .hero.compact > .wrap,
.v13-trust-page main.v13-reading-layout .policy-hero > .wrap {
  max-width: var(--v13-reading);
}
.v13-trust-page main.v13-reading-layout section:not(.cta-band) > .wrap {
  max-width: min(var(--v13-reading), calc(100% - (2 * var(--v13-gutter))));
}
.v13-trust-page .policy-meta {
  border: 0;
  background: transparent;
  gap: 10px;
}
.v13-trust-page .policy-meta div {
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid rgba(124, 181, 191, 0.14);
  padding: 14px;
}
.v13-trust-page .table-wrap {
  border-color: rgba(124, 181, 191, 0.14);
}
/* Developer/API: panes feel like a product, not a wall of boxes. */
.v13-developer-page .api-explorer-v7 {
  border: 1px solid rgba(124, 181, 191, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #030b0f;
}
.v13-developer-page .api-pane {
  background: transparent;
}
.v13-developer-page .code,
.v13-developer-page pre {
  border-color: rgba(124, 181, 191, 0.14);
  background: #02080b;
  border-radius: 9px;
}
.v13-developer-page [data-api-op] {
  border-radius: 7px;
}
/* Metro containers: one quiet visual language around diagrams. */
.metro-figure {
  border: 1px solid rgba(124, 181, 191, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, #041014, #02090c);
  padding: clamp(10px, 1.4vw, 18px);
  box-shadow: none;
}
.metro-figure img,
.metro-figure svg {
  display: block;
  margin: auto;
}
.metro-feature {
  margin-top: 20px;
}
/* Reduce systematic border/cardification. */
.cards,
.evidence-grid,
.journey-grid,
.ecosystem,
.blueprint,
.flow-line {
  border: 0;
  background: transparent;
  gap: 12px;
}
.card,
.evidence-grid article,
.journey-grid article,
.ecosystem > div,
.blueprint > div,
.flow-line span {
  border: 0;
  border-radius: 12px;
  /* inset ring thay border 1px — tránh góc bo bị mờ/mất nét (subpixel) */
  box-shadow: inset 0 0 0 1px rgba(124, 181, 191, 0.22);
  background-clip: padding-box;
}
.v5-grid .v5-card,
.v7-card {
  box-shadow: none;
}
/* Footer: compact navigation safety net, not sitemap. */
.tc-footer {
  background: #02080b;
}
.footer-main {
  padding-block: 36px 24px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.8fr);
  /* gap: clamp(40px, 6vw, 82px); */
}
.footer-identity > img {
  width: 164px;
}
.footer-identity > p {
  font-size: 14px;
  line-height: 1.55;
  margin: 12px 0 14px;
}
.footer-nav {
  gap: 10px;
  margin-top: 16px;
}
.footer-nav summary {
  font-size: 12px;
}
.footer-nav a {
  font-size: 14px;
}
.contact-list {
  gap: 12px;
}
/* .contact-list > div {
  grid-template-columns: 72px 1fr;
} */
.assurance-strip a {
  padding-block: 10px;
}
.footer-legal {
  padding-block: 15px;
}
.footer-bottom {
  margin-top: 18px;
}
/* Responsive: redesign density, do not simply stack desktop. */
@media (max-width: 1180px) {
  .header .nav {
    gap: 12px;
  }
  .header .menu-toggle {
    display: grid;
  }
  .header .navlinks {
    inset: 68px var(--v13-gutter) auto;
    padding: 8px;
    border-radius: 12px;
    background: #061217;
    max-height: calc(100vh - 86px);
  }
  .header .navlinks.open {
    display: grid;
  }
  .header .nav-group > summary {
    font-size: 14px;
    padding: 11px 9px;
  }
  .header .mega {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    margin: 2px 0 7px;
    border-radius: 10px;
    box-shadow: none;
  }
  .header .mega-type-d .mega-v9-grid {
    grid-template-columns: 1fr;
  }
  .header .mega-type-d .mega-links,
  .header .mega-type-c .mega-links,
  .header .mega-type-b .mega-links,
  .header .mega-type-a .mega-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header .mega-feature {
    border-left: 0;
    border-top: 1px solid rgba(124, 181, 191, 0.12);
  }
}
@media (max-width: 820px) {
  :root {
    --v13-gutter: 20px;
    --v13-section: 64px;
  }
  .header {
    height: 60px;
  }
  .header .nav {
    height: 60px;
    min-height: 60px;
  }
  .header .brand img {
    width: 136px;
  }
  .header .nav-actions {
    border-left: 0;
    padding-left: 0;
  }
  .header .nav-actions .secondary-btn,
  .header .language-combobox {
    display: none;
  }
  .home-hero,
  .page-hero,
  .app-hero,
  .doc-hero,
  .policy-hero,
  .device-hero {
    padding: 52px 0 42px;
  }
  h1,
  .home-hero h1 {
    font-size: 35px;
  }
  .app-hero h1,
  .page-hero h1,
  .device-hero h1 {
    font-size: 35px;
  }
  .hero-grid,
  .app-hero-grid,
  .device-grid,
  .device-hero-grid,
  .v13-device-page .device-hero-grid,
  .v13-device-page .device-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .app-ecosystem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v13-screenshot-story .v5-gallery-feature {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 28px 18px;
  }
  .footer-identity > p {
    margin: 10px 0 12px;
  }
  .contact-list {
    margin-bottom: 0;
    gap: 5px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
    row-gap: 12px;
    column-gap: 12px;
  }
  .footer-nav details > div {
    margin-top: 8px;
    gap: 5px;
  }
  .assurance-strip a {
    padding-block: 8px;
  }
  .footer-legal {
    gap: 10px;
    padding-block: 12px;
  }
  .context-evidence {
    display: grid;
    grid-template-columns: 1fr;
  }
  .v13-trust-page main.v13-reading-layout section > .wrap {
    max-width: calc(100% - (2 * var(--v13-gutter)));
  }
}
@media (max-width: 540px) {
  :root {
    --v13-gutter: 16px;
    --v13-section: 54px;
  }
  .header .brand img {
    width: 126px;
  }
  .header .nav-actions .icon-btn {
    display: none;
  }
  .header .primary-btn.compact {
    font-size: 11px;
    padding-inline: 9px;
  }
  .header .navlinks {
    inset: 60px 10px auto;
  }
  .header .mega-type-d .mega-links,
  .header .mega-type-c .mega-links,
  .header .mega-type-b .mega-links,
  .header .mega-type-a .mega-links {
    grid-template-columns: 1fr;
  }
  .mega-v9-head p {
    display: none;
  }
  .home-hero h1 {
    font-size: 35px;
  }
  .app-ecosystem {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 8px;
  }
  .app-card-v9 {
    flex: 0 0 min(84vw, 330px);
    scroll-snap-align: start;
  }
  .v13-screenshot-story .v5-screen-grid,
  .v13-screenshot-story .v5-screen-grid.secondary {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 8px;
  }
  .v13-screenshot-story .v5-screen-grid .v5-screen {
    flex: 0 0 min(86vw, 350px);
    scroll-snap-align: start;
  }
  .footer-main {
    gap: 14px;
    padding-block: 24px 14px;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
  }
  .footer-nav details {
    border-top: 1px solid rgba(124, 181, 191, 0.13);
  }
  .footer-nav summary {
    padding: 8px 0;
  }
  .footer-nav details > div {
    margin-top: 4px;
    gap: 4px;
    padding-bottom: 6px;
  }
  .footer-legal {
    gap: 8px;
    padding-block: 10px;
  }
  .footer-legal nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .assurance-strip a {
    padding-block: 7px;
  }
  .assurance-strip .wrap {
    display: grid;
  }
  .table-wrap {
    margin-inline: calc(-1 * var(--v13-gutter));
    width: calc(100% + 2 * var(--v13-gutter));
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    transition-duration: 0.001ms;
  }
}

/* === V14 visual-integrity release === */
.metro-figure {
  contain: layout paint;
  min-width: 0;
}
.metro-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/1;
  object-fit: contain;
  background: #031014;
}
.metro-figure img:not([src]) {
  display: none;
}
.gallery-stage img:not([src]) {
  display: none;
}
[data-gallery-image][src] {
  display: block;
}
@media (max-width: 800px) {
  .metro-figure {
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .metro-figure img {
    width: 900px;
    max-width: none;
    aspect-ratio: auto;
  }
  .metro-section .wrap {
    min-width: 0;
  }
}
@media (max-width: 430px) {
  .metro-figure img {
    width: 780px;
  }
}

/* V17 product components. Existing selectors above were consolidated in place;
   these rules introduce only new V17 component names. */
.content-aware-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  background: transparent;
  gap: 12px;
  border: 0;
}
.content-aware-grid > :empty {
  display: none;
}
.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid rgba(124, 181, 191, 0.18);
  border-radius: 12px;
  margin: 18px 0 30px;
  background: #061116;
  scrollbar-gutter: stable;
}
.table-wrap:focus-visible {
  outline: 2px solid var(--tc-cyan);
  outline-offset: 3px;
}
.table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: auto;
}
.table-wrap caption {
  text-align: left;
  padding: 12px 14px;
  color: var(--tc-muted);
  font-size: 14px;
}
.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(124, 181, 191, 0.14);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
}
.table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #0b2027;
  color: #75e8d9;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.table-wrap tr:last-child td {
  border-bottom: 0;
}
.table-wrap tbody tr:hover {
  background: rgba(89, 226, 205, 0.035);
}
.table-wrap code {
  font-size: 14px;
  white-space: nowrap;
  color: #c9fff7;
}
.api-workbench-section {
  padding: 32px var(--v13-gutter) 72px;
}
.api-workbench-v16 {
  width: min(1500px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(480px, 1.55fr) minmax(
      270px,
      0.78fr
    );
  border: 1px solid rgba(124, 181, 191, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #030b0f;
  min-height: 680px;
}
.api-nav-v16,
.api-try-v16 {
  background: #061217;
  min-width: 0;
}
.api-nav-v16 {
  border-right: 1px solid rgba(124, 181, 191, 0.15);
}
.api-nav-v16 header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #07171d;
  border-bottom: 1px solid rgba(124, 181, 191, 0.14);
}
.api-nav-v16 input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  background: #02090c;
  color: var(--tc-text);
  border: 1px solid rgba(124, 181, 191, 0.2);
  border-radius: 8px;
  pointer-events: auto;
  position: relative;
  z-index: 3;
  cursor: text;
}
/* Global custom select — áp dụng toàn site qua .tc-select (JS enhance) */
.tc-select {
  position: relative;
  z-index: 4;
  display: block;
  width: 100%;
}
.tc-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.tc-select__details {
  position: relative;
}
.tc-select__trigger {
  list-style: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #e8f4f6;
  background: #02090c;
  border: 1px solid rgba(124, 181, 191, 0.28);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.tc-select__trigger::-webkit-details-marker {
  display: none;
}
.tc-select__trigger::after {
  content: "";
  flex: none;
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237cb5bf' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px 8px no-repeat;
  transition: transform 0.15s ease;
}
.tc-select__details[open] > .tc-select__trigger {
  border-color: rgba(88, 228, 208, 0.7);
  background: #041116;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 3px rgba(88, 228, 208, 0.16);
}
.tc-select__details[open] > .tc-select__trigger::after {
  transform: rotate(180deg);
}
.tc-select__trigger:hover {
  border-color: rgba(88, 228, 208, 0.45);
  background-color: #041116;
}
.tc-select__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tc-select__menu {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  display: grid;
  gap: 4px;
  padding: 6px;
  background: #07171d;
  border: 1px solid rgba(124, 181, 191, 0.28);
  border-radius: 12px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(88, 228, 208, 0.04);
  z-index: 40;
}
.tc-select__menu button {
  display: grid;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  color: #e8f4f6;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}
.tc-select__menu button strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
}
.tc-select__menu button small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(168, 201, 208, 0.72);
}
.tc-select__menu button:hover,
.tc-select__menu button[aria-selected="true"] {
  background: rgba(89, 226, 205, 0.1);
}
.tc-select__menu button[aria-selected="true"] strong {
  color: #58e4d0;
}
.tc-select__menu button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.tc-select__menu button[aria-disabled="true"]:hover {
  background: transparent;
}
.api-try-v16 .tc-select__menu button {
  margin: 0;
}
.api-op-list-v16 {
  display: grid;
  /* max-height: 720px; */
  overflow: auto;
  padding: 8px;
}
.api-op-list-v16 button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  width: 100%;
  padding: 10px;
  text-align: left;
  color: var(--tc-text);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  min-width: 0;
}
.api-op-list-v16 button[hidden] {
  display: none !important;
}
.api-op-list-v16 button:hover,
.api-op-list-v16 button.active {
  background: rgba(89, 226, 205, 0.07);
}
.api-op-list-v16 button > span {
  grid-column: 1/-1;
  color: var(--tc-muted);
  font-size: 11px;
}
.api-op-list-v16 code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #bdd1d5;
}
.method {
  display: inline-flex;
  width: max-content;
  padding: 3px 6px;
  border-radius: 5px;
  font:
    800 11px ui-monospace,
    monospace;
  color: #04100f;
  background: #68dacb;
}
.method.get {
  background: #83b8ef;
}
.api-doc-v16 {
  padding: clamp(24px, 3vw, 42px);
  min-width: 0;
  min-height: 0;
  overflow: auto;
}
.api-op-head > span {
  color: var(--tc-cyan);
  font-size: 12px;
}
.api-op-head h2 {
  margin: 7px 0 12px;
}
.api-op-head p {
  display: flex;
  gap: 10px;
  align-items: center;
}
.api-op-head code {
  overflow-wrap: anywhere;
}
.api-facts-v16 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0;
  background: rgba(124, 181, 191, 0.14);
  border: 1px solid rgba(124, 181, 191, 0.14);
}
.api-facts-v16 > div {
  padding: 14px;
  background: #061217;
}
.api-facts-v16 dt {
  color: var(--tc-muted);
  font-size: 11px;
  text-transform: uppercase;
}
.api-facts-v16 dd {
  margin: 5px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.api-contract-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.api-contract-grid > div {
  min-width: 0;
  position: relative;
  z-index: 0;
}
.api-contract-grid h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.api-contract-grid pre {
  height: auto;
  min-height: 180px;
  max-height: 320px;
  margin: 0;
  font-size: 12px;
  overflow: auto;
  position: relative;
}
.api-try-v16 {
  border-left: 1px solid rgba(124, 181, 191, 0.15);
  padding: 22px;
}
.api-try-v16 h2 {
  font-size: 22px;
}
.api-try-v16 label,
.api-try-v16 .api-env-field {
  display: grid;
  gap: 8px;
  color: var(--tc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.api-try-v16 .api-env-field > span {
  color: rgba(168, 201, 208, 0.78);
}
.api-try-v16 > .primary-btn,
.api-try-v16 > button.primary-btn {
  width: 100%;
  margin: 14px 0;
}
.api-try-v16 pre {
  min-height: 210px;
  font-size: 11px;
}
.api-try-v16 p {
  color: var(--tc-muted);
  font-size: 12px;
}
@media (max-width: 1100px) {
  .api-workbench-v16 {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .api-try-v16 {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid rgba(124, 181, 191, 0.15);
  }
  .api-try-v16 pre {
    min-height: 120px;
  }
}
@media (max-width: 760px) {
  .api-workbench-section {
    padding-inline: 12px;
  }
  .api-workbench-v16 {
    display: block;
  }
  .api-nav-v16 {
    border-right: 0;
    border-bottom: 1px solid rgba(124, 181, 191, 0.15);
  }
  .api-op-list-v16 {
    display: flex;
    overflow: auto;
    max-height: none;
  }
  .api-op-list-v16 button {
    flex: 0 0 230px;
  }
  .api-doc-v16 {
    padding: 22px 16px;
  }
  .api-facts-v16,
  .api-contract-grid {
    grid-template-columns: 1fr;
  }
  .table-wrap {
    margin-inline: calc(-1 * var(--v13-gutter));
    width: calc(100% + 2 * var(--v13-gutter));
    border-radius: 0;
    border-inline: 0;
  }
  .table-wrap table {
    min-width: 680px;
  }
  /* public-table đã stack card — không full-bleed / min-width ngang */
  html.tc-site .table-wrap.public-table,
  html.tc-site .v5-table-wrap .table-wrap.public-table {
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    border-inline: 0;
  }
  html.tc-site .table-wrap.public-table table {
    min-width: 0;
  }
}
/* V17 consolidated end-user experience layer. This is the final component layer;
   it fixes container geometry rather than hiding overflow or empty cells. */
:root {
  --v17-reading: 1180px;
  --v17-copy: 72ch;
  --v17-gap: clamp(20px, 3vw, 40px);
}
html.tc-site body {
  font-size: 16px;
  line-height: 1.62;
  overflow-x: visible;
}
html.tc-site h1 {
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
html.tc-site .app-hero h1,
html.tc-site .page-hero h1,
html.tc-site .device-hero h1 {
  font-size: 60px;
}
html.tc-site .doc-hero h1,
html.tc-site .policy-hero h1 {
  font-size: 60px;
}
html.tc-site h2 {
  font-size: 35px;
  line-height: 1.18;
  letter-spacing: -0.022em;
}
html.tc-site h3 {
  font-size: 22px;
}
html.tc-site .lede,
html.tc-site .lead {
  font-size: 22px;
  max-width: var(--v17-copy);
}
html.tc-site p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

html.tc-site .content-layout.v17-reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 195px);
  gap: var(--v17-gap);
  max-width: var(--v17-reading);
  margin-inline: auto;
  align-items: start;
}
html.tc-site .content-layout > .article {
  min-width: 0;
}
html.tc-site .content-layout > .toc {
  width: auto;
  min-width: 0;
  position: sticky;
  top: 88px;
  border-top: 2px solid var(--tc-cyan);
  font-size: 14px;
}
html.tc-site .toc b,
html.tc-site .toc a {
  padding: 10px 8px;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
}

html.tc-site .v17-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  overflow: visible;
  container-type: inline-size;
  list-style: none;
  padding: 0;
}
html.tc-site .v17-flow > * {
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 18px;
  border: 1px solid rgba(124, 181, 191, 0.22);
  border-radius: 12px;
  background: #07161b;
  overflow: visible;
}
html.tc-site .v17-flow strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
html.tc-site .v17-flow small,
html.tc-site .v17-flow p {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
  color: #90adb4 !important;
  font-weight: 400;
}
html.tc-site .v17-flow .workflow-node:after {
  display: none;
}

html.tc-site .cards.cards-stack,
.cards.cards-stack {
  grid-template-columns: 1fr;
}
html.tc-site .journey-grid,
html.tc-site .cards,
html.tc-site .evidence-grid,
html.tc-site .spec-grid {
  background: transparent;
  gap: 12px;
  border: 0;
  overflow: visible;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
html.tc-site .cards.cards-stack {
  grid-template-columns: 1fr;
}
html.tc-site .journey-grid article,
html.tc-site .cards > *,
html.tc-site .evidence-grid article,
html.tc-site .spec-grid article {
  min-height: 0;
  border: 0;
  border-radius: 12px;
  background: #07161b;
  box-shadow: inset 0 0 0 1px rgba(124, 181, 191, 0.22);
  background-clip: padding-box;
}

html.tc-site .table-wrap {
  overflow: auto;
  max-width: 100%;
  border-color: rgba(124, 181, 191, 0.2);
  scrollbar-gutter: stable;
}
html.tc-site .table-wrap table.v17-table {
  table-layout: fixed;
  min-width: 720px;
}
html.tc-site .v17-table caption {
  text-align: left;
  padding: 13px 14px;
  color: #d8ecef;
  font-weight: 750;
  background: #07171d;
  border-bottom: 1px solid rgba(124, 181, 191, 0.18);
}
html.tc-site .v17-table th {
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.025em;
}
html.tc-site .v17-table td {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}
html.tc-site .v17-table th:first-child,
html.tc-site .v17-table td:first-child {
  width: 18%;
}
html.tc-site .v17-table code {
  font-size: 14px;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  html.tc-site .content-layout.v17-reading-grid {
    grid-template-columns: 1fr;
  }
  html.tc-site .content-layout > .toc {
    position: static;
    order: -1;
    display: flex;
    align-items: center;
    overflow: auto;
    white-space: nowrap;
    border: 1px solid rgba(124, 181, 191, 0.18);
    border-top: 2px solid var(--tc-cyan);
    border-radius: 10px;
  }
  html.tc-site .toc b,
  html.tc-site .toc a {
    flex: 0 0 auto;
    border-bottom: 0;
    border-right: 1px solid rgba(124, 181, 191, 0.14);
  }
  html.tc-site .v17-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  html.tc-site .v17-flow {
    grid-template-columns: 1fr;
    position: relative;
  }
  html.tc-site .v17-flow > * {
    border-left: 3px solid var(--tc-cyan);
  }
  html.tc-site .content-layout > .toc {
    display: block;
    position: static;
    white-space: normal;
  }
  html.tc-site .toc b {
    display: block;
  }
  html.tc-site .toc a {
    display: inline-flex;
    border-right: 0;
    padding: 8px;
  }
  html.tc-site .public-table {
    overflow: visible;
    border: 0;
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  /* Parent wrap thường ép overflow/min-width — hủy để card stack không bị kéo ngang. */
  html.tc-site .v5-table-wrap:has(> .public-table) {
    overflow: visible;
    border-radius: 0;
  }
  html.tc-site .public-table table.v17-table,
  html.tc-site .public-table table.v5-table {
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    display: block;
    table-layout: auto;
    background: transparent;
  }
  html.tc-site .public-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  html.tc-site .public-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  html.tc-site .public-table tbody,
  html.tc-site .public-table tr {
    display: block;
    width: 100%;
  }
  html.tc-site .public-table tr {
    margin: 0 0 12px;
    border: 1px solid rgba(124, 181, 191, 0.2);
    border-radius: 10px;
    background: #07161b;
    overflow: hidden;
  }
  html.tc-site .public-table tr:last-child {
    margin-bottom: 0;
  }
  html.tc-site .public-table td {
    display: grid;
    grid-template-columns: minmax(108px, 36%) minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(124, 181, 191, 0.12);
    padding: 11px 12px;
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
  }
  /* Hủy width 18% của cột # trên desktop — nếu giữ sẽ làm hàng # chỉ còn ~18% và số 01 bị gãy. */
  html.tc-site .public-table td:first-child,
  html.tc-site .public-table th:first-child {
    width: 100%;
  }
  html.tc-site .public-table td:before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
    color: var(--tc-cyan);
  }
  html.tc-site .public-table td:last-child {
    border-bottom: 0;
  }
  html.tc-site .public-table td[data-label="#"] {
    display: none;
  }
  /* T?n ?ng d?ng (tbody th) v?o c?ng h?ng v?i nh?n # - thay cho s? 1, 2, . */
  html.tc-site .public-table tbody th {
    display: grid;
    grid-template-columns: minmax(108px, 36%) minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(124, 181, 191, 0.12);
    padding: 11px 12px;
    text-align: left;
    background: transparent;
    color: var(--tc-text, #edf7f8);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: break-word;
  }
  html.tc-site .public-table tbody th:before {
    content: "#";
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: 0.025em;
    color: var(--tc-cyan);
  }
  html.tc-site .public-table td .v5-pill {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
    border-radius: 8px;
  }
  html.tc-site .technical-table {
    position: relative;
  }
  html.tc-site .technical-table:after {
    content: "Cuộn ngang để xem toàn bộ bảng";
    display: block;
    position: sticky;
    left: 0;
    padding: 7px 10px;
    font-size: 11px;
    color: var(--tc-muted);
    background: #07161b;
  }
}

/* Trusted Care canonical product system — tokens, layout, typography, navigation,
   components, domain components and responsive behavior in one production layer. */
:root {
  --tc-canvas: #020b0f;
  --tc-surface-1: #06151a;
  --tc-surface-2: #082028;
  --tc-surface-3: #0b2a33;
  --tc-elevated: #0d3039;
  --tc-border: rgba(132, 198, 208, 0.18);
  --tc-border-active: rgba(91, 226, 209, 0.55);
  --tc-text: #edf7f8;
  --tc-muted: #9ab4ba;
  --tc-cyan: #59e2d1;
  --tc-blue: #75a9ff;
  --tc-success: #69d49b;
  --tc-warning: #e4bc6b;
  --tc-danger: #ef8080;
  --tc-max: 1240px;
  --tc-wide: 1320px;
  --tc-copy: 72ch;
  --tc-gutter: clamp(24px, 3.8vw, 56px);
  --tc-section: clamp(72px, 7.5vw, 108px);
  --tc-radius: 18px;
  --tc-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}
html.tc-site {
  color-scheme: dark;
  background: var(--tc-canvas);
}
html.tc-site body {
  margin: 0;
  background: var(--tc-canvas);
  color: var(--tc-text);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: visible;
}
html.tc-site *,
html.tc-site *:before,
html.tc-site *:after {
  box-sizing: border-box;
}
html.tc-site img {
  max-width: 100%;
}
html.tc-site p,
html.tc-site li {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
html.tc-site .wrap {
  width: min(var(--tc-max), calc(100% - 2 * var(--tc-gutter)));
  margin-inline: auto;
  min-width: 0;
}
html.tc-site h1 {
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.038em;
  /* max-width: 19ch; */
}
html.tc-site .app-hero h1,
html.tc-site .page-hero h1,
html.tc-site .device-hero h1 {
  font-size: 60px;
}
html.tc-site .doc-hero h1,
html.tc-site .policy-hero h1 {
  font-size: 60px;
}
html.tc-site h2 {
  font-size: 35px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
html.tc-site h3 {
  font-size: 22px;
  line-height: 1.28;
}
html.tc-site .lead,
html.tc-site .lede {
  font-size: 22px;
  max-width: var(--tc-copy);
}
html.tc-site .header .wrap {
  width: min(var(--tc-wide), calc(100% - 2 * var(--tc-gutter)));
}
html.tc-site .header .nav {
  gap: clamp(16px, 2vw, 28px);
}
html.tc-site .header .brand {
  flex: 0 0 auto;
  padding: 8px 0;
}
html.tc-site .header .brand img {
  width: clamp(148px, 12vw, 178px);
}
html.tc-site .header .navlinks {
  justify-content: center;
  gap: clamp(3px, 0.55vw, 9px);
}
html.tc-site .header .nav-group > summary {
  gap: 7px;
  padding-inline: 9px;
  font-size: 14px;
}
html.tc-site .header .nav-actions {
  margin-left: auto;
  gap: 8px;
  padding-left: clamp(10px, 1.2vw, 18px);
}
html.tc-site .header .mega {
  height: auto;
  min-height: 0;
  max-height: min(72vh, 650px);
  overflow: auto;
  left: 50%;
  transform: translateX(-50%);
}
html.tc-site .mega-size-compact {
  width: min(660px, calc(100vw - 2 * var(--tc-gutter)));
}
html.tc-site .mega-size-medium {
  width: min(800px, calc(100vw - 2 * var(--tc-gutter)));
}
html.tc-site .mega-size-large {
  width: min(1060px, calc(100vw - 2 * var(--tc-gutter)));
}
html.tc-site .mega-v9-grid,
html.tc-site .mega-v7-grid {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  align-items: stretch;
}
html.tc-site .mega-preview {
  padding: 24px;
  border-left: 1px solid var(--tc-border);
  background: linear-gradient(
    150deg,
    rgba(89, 226, 209, 0.07),
    rgba(117, 169, 255, 0.035)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
}
html.tc-site .nav-trust .mega-preview {
  justify-content: flex-start;
}
html.tc-site .mega-preview > strong {
  font-size: 14px;
  margin-bottom: 18px;
}
html.tc-site .mega-preview ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
html.tc-site .mega-preview li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--tc-muted);
  font-size: 12px;
  position: relative;
}
html.tc-site .mega-preview li:not(:last-child):after {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  height: 18px;
  width: 1px;
  background: linear-gradient(var(--tc-cyan), transparent);
}
html.tc-site .mega-preview i {
  width: 11px;
  height: 11px;
  border: 2px solid var(--tc-cyan);
  border-radius: 50%;
  background: var(--tc-canvas);
  box-shadow: 0 0 0 3px rgba(89, 226, 209, 0.08);
}
.home-hero-v19 {
  padding: clamp(74px, 8vw, 116px) 0;
  background:
    radial-gradient(
      circle at 78% 35%,
      rgba(46, 171, 170, 0.11),
      transparent 30%
    ),
    linear-gradient(180deg, #031116, var(--tc-canvas));
  border-bottom: 1px solid var(--tc-border);
}
.hero-split-v19 {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.hero-copy-v19 p {
  max-width: 62ch;
  color: #b1c7cb;
  font-size: 22px;
}
.kicker-v19,
.section-index {
  display: block;
  color: var(--tc-cyan);
  font:
    800 12px/1.4 Montserrat,
    sans-serif;
  letter-spacing: 0.14em;
}
.hero-actions-v19 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-cue-v19 {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--tc-border);
  color: var(--tc-muted);
  font-size: 14px;
}
.trust-chain-v19 {
  position: relative;
  min-height: 0;
  padding: 58px 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  align-content: start;
  border: 1px solid var(--tc-border);
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    rgba(10, 36, 44, 0.96),
    rgba(3, 14, 18, 0.96)
  );
  box-shadow: var(--tc-shadow);
  isolation: isolate;
}
.trust-chain-v19:before {
  content: "CONNECTED CARE TRUST CHAIN";
  position: absolute;
  top: 20px;
  left: 26px;
  color: var(--tc-cyan);
  font:
    800 11px Montserrat,
    sans-serif;
  letter-spacing: 0.14em;
}
/* Đường nối giữa các station — phủ toàn panel, không chiếm ô riêng */
.chain-route {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: relative;
  z-index: 0;
  width: 2px;
  justify-self: center;
  align-self: stretch;
  margin: 4px 0 -190px;
  background: linear-gradient(var(--tc-cyan), var(--tc-blue));
  opacity: 0.4;
  pointer-events: none;
}
.trust-station {
  position: relative;
  z-index: 1;
  padding: 18px 16px 16px 50px;
  border: 1px solid var(--tc-border);
  border-radius: 14px;
  background: rgba(5, 23, 29, 0.94);
  min-width: 0;
  transform: none;
}
.trust-station.actor {
  grid-column: 1;
  grid-row: 1;
}
.trust-station.device {
  grid-column: 2;
  grid-row: 1;
}
.trust-station.interchange {
  grid-column: 1 / -1;
  grid-row: 2;
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  padding-right: 22px;
  border-color: var(--tc-border-active);
  background: linear-gradient(
    145deg,
    rgba(18, 68, 72, 0.9),
    rgba(7, 26, 33, 0.96)
  );
}
.trust-station.human {
  grid-column: 1;
  grid-row: 3;
}
.trust-station.evidence {
  grid-column: 2;
  grid-row: 3;
}
.station-icon {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tc-cyan);
  border-radius: 50%;
  color: var(--tc-cyan);
  font-size: 12px;
}
.trust-station strong,
.trust-station small {
  display: block;
}
.trust-station strong {
  font-size: 14px;
  line-height: 1.35;
}
.trust-station small {
  color: var(--tc-muted);
  font-size: 11px;
  margin-top: 4px;
  line-height: 1.4;
}
.chain-branch {
  grid-column: 1 / -1;
  grid-row: 4;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 4px;
}
.chain-branch span {
  padding: 5px 10px;
  border: 1px solid var(--tc-border);
  border-radius: 999px;
  color: #a8c4ca;
  font:
    700 14px Montserrat,
    sans-serif;
}
.narrative-band {
  padding-block: var(--tc-section);
  border-bottom: 1px solid rgba(132, 198, 208, 0.1);
}
.narrative-band.alt {
  background: #041116;
}
.band-intro {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  /* gap: clamp(24px, 4vw, 56px); */
  align-items: start;
  margin-bottom: 38px;
}
.band-intro > span {
  color: var(--tc-cyan);
  font:
    800 14px Montserrat,
    sans-serif;
  padding-top: 8px;
}
/* .band-intro h2,
.band-intro p {
  max-width: 760px;
} */
.band-intro p,
.split-v19 p {
  color: var(--tc-muted);
  /* max-width: 68ch; */
}
.split-v19 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}
.split-v19.reverse > div:first-child {
  order: 2;
}
.split-v19.reverse > div:last-child {
  order: 1;
}
.protocol-rail {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 26px 0;
}
.protocol-rail span {
  padding: 7px 10px;
  border: 1px solid var(--tc-border);
  border-radius: 999px;
  color: #b7d1d5;
  font-size: 12px;
}
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--tc-cyan);
  font-weight: 700;
}
.metro-v19 {
  padding: clamp(16px, 2vw, 26px);
  border-color: var(--tc-border-active);
  background: linear-gradient(155deg, #061c22, #020a0e);
}
.metro-v19 img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}
.metro-v19 figcaption {
  padding: 12px 4px 0;
  color: var(--tc-muted);
  font-size: 12px;
}
.app-ecosystem {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.app-card-v9 {
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--tc-surface-1);
  border: 1px solid var(--tc-border);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.app-card-v9:hover {
  transform: translateY(-3px);
  border-color: var(--tc-border-active);
}
.app-card-v9 figure {
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #02080b;
}
.app-card-v9 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.app-card-v9 .content {
  padding: 22px;
}
.app-card-v9 .persona {
  font-size: 12px;
  color: var(--tc-cyan);
}
.app-card-v9 h3 {
  margin: 8px 0;
}
.app-card-v9 p {
  color: var(--tc-muted);
  font-size: 14px;
}
.decision-loop-v19 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.decision-loop-v19 > div {
  padding: 24px;
  border-top: 2px solid var(--tc-cyan);
  background: var(--tc-surface-1);
}
.decision-loop-v19 b,
.decision-loop-v19 strong,
.decision-loop-v19 small {
  display: block;
}
.decision-loop-v19 b {
  color: var(--tc-cyan);
  font:
    800 11px Montserrat,
    sans-serif;
}
.decision-loop-v19 strong {
  margin-top: 20px;
}
.decision-loop-v19 small {
  color: var(--tc-muted);
  margin-top: 6px;
}
.device-duo-v19 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.device-duo-v19 article {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--tc-border);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--tc-surface-2), var(--tc-surface-1));
}
.device-duo-v19 img {
  max-height: 320px;
  width: 100%;
  object-fit: contain;
}
.device-duo-v19 span {
  color: var(--tc-warning);
  font:
    800 11px Montserrat,
    sans-serif;
}
.device-duo-v19 p {
  color: var(--tc-muted);
  font-size: 14px;
}
.evidence-strip-v19 {
  display: grid;
  border-top: 1px solid var(--tc-border);
}
.evidence-strip-v19 > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--tc-border);
}
.evidence-strip-v19 strong,
.evidence-strip-v19 small {
  display: block;
}
.evidence-strip-v19 small {
  color: var(--tc-muted);
  margin-top: 5px;
}
.final-band-v19 {
  text-align: center;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(89, 226, 209, 0.1),
    transparent 45%
  );
}
.final-band-v19 .wrap {
  max-width: 850px;
}
.final-band-v19 h2 {
  font-size: 35px;
}
.final-band-v19 p {
  max-width: 65ch;
  margin-inline: auto;
  color: var(--tc-muted);
}
.final-band-v19 .hero-actions-v19 {
  justify-content: center;
}
html.tc-site .section {
  padding-block: clamp(64px, 6vw, 92px);
}
html.tc-site .section-head,
html.tc-site .v9-section-head {
  display: grid;
  /* grid-template-columns: minmax(100px, 150px) minmax(0, 1fr); */
  gap: 8px;
  margin-bottom: 8px;
}
html.tc-site .content-layout,
html.tc-site .v17-reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 195px);
  gap: clamp(24px, 3vw, 42px);
  max-width: 1180px;
  margin-inline: auto;
}
html.tc-site .article {
  min-width: 0;
}
html.tc-site .toc {
  width: auto;
  min-width: 0;
  font-size: 14px;
}
html.tc-site .v17-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0;
  background: transparent;
  border: 0;
  list-style: none;
}
html.tc-site .v17-station {
  min-width: 0;
  padding: 46px 20px 22px;
  border: 1px solid var(--tc-border);
  border-radius: 14px;
  background: linear-gradient(150deg, var(--tc-surface-2), var(--tc-surface-1));
  position: relative;
}
html.tc-site .v17-station:before {
  content: attr(data-step);
  position: absolute;
  top: 15px;
  left: 20px;
  color: var(--tc-cyan);
  font:
    800 12px Montserrat,
    sans-serif;
}
html.tc-site .v17-step-icon {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--tc-cyan);
}
html.tc-site .v17-station strong {
  font-size: 16px;
}
html.tc-site .journey-grid,
html.tc-site .cards,
html.tc-site .evidence-grid,
html.tc-site .spec-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  background: transparent;
  border: 0;
}
html.tc-site .cards.cards-stack {
  grid-template-columns: 1fr;
}
html.tc-site .table-wrap {
  max-width: 100%;
  overflow: auto;
  scrollbar-gutter: unset !important;
}
html.tc-site .table-wrap table {
  table-layout: fixed;
}
html.tc-site .table-wrap th {
  font-size: 12px;
}
html.tc-site .table-wrap td {
  font-size: 14px;
  word-break: normal;
  overflow-wrap: break-word;
}
html.tc-site pre,
html.tc-site code {
  font-size: 14px;
  max-width: 100%;
}
html.tc-site .tc-footer .wrap {
  width: min(var(--tc-max), calc(100% - 2 * var(--tc-gutter)));
}
/* Desktop: sheet chrome ẩn, body = contents để mega menu desktop không vỡ */
html.tc-site .nav-sheet-overlay {
  display: none;
}
html.tc-site .header .navlinks.nav-sheet > .nav-sheet-head {
  display: none;
}
html.tc-site .header .navlinks.nav-sheet > .nav-sheet-body {
  display: contents;
}
@media (max-width: 1180px) {
  html.tc-site .header .wrap {
    width: calc(100% - 2 * var(--tc-gutter));
    max-width: calc(100% - 2 * var(--tc-gutter));
  }
  /* Một hàng: logo | Yêu cầu PoC | menu — order không phụ thuộc thứ tự HTML cũ/mới */
  html.tc-site .header .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  html.tc-site .header .brand {
    order: 1;
    flex: 0 0 auto;
  }
  html.tc-site .header .navlinks {
    display: none;
  }
  /* Sheet (shadcn-style): full-height from right + dimmed overlay */
  html.tc-site .nav-sheet-overlay[hidden] {
    display: none !important;
  }
  html.tc-site .nav-sheet-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0, 0, 0, 0.4);
    /* Chặn tương tác trang nền; không đóng sheet */
    pointer-events: auto;
    cursor: default;
  }
  /* Đưa header + sheet lên trên overlay (tránh click menu đụng overlay) */
  html.tc-site body.tc-nav-sheet-open .header {
    z-index: 210;
  }
  /* QUAN TRỌNG: .header.v7 khai báo `backdrop-filter: blur(16px)` (site.css ~3142).
     Mọi giá trị khác 0 đều tạo containing block cho phần tử `position: fixed`
     bên trong -> .navlinks.open (fixed) bị "kẹt" trong khung header thay vì neo
     vào viewport, khiến sheet lệch theo header và trang nhảy scroll khi mở menu.
     Rule `@media (max-width:900px){ .header{backdrop-filter:none } }` ở trên
     không ăn được vì specificity thấp hơn .header.v7 -> phải vô hiệu ở đây. */
  html.tc-site .header.v7,
  html.tc-site .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.tc-site .header .navlinks.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100vw, 400px);
    min-width: min(100vw, 400px);
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    gap: 0;
    border: 0;
    border-left: 1px solid var(--tc-border);
    border-radius: 0;
    background: #061217;
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
    z-index: 200;
    overflow: hidden;
    overscroll-behavior: none;
    animation: tc-nav-sheet-in 0.22s ease-out;
  }
  html.tc-site .header .navlinks.open .nav-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
    padding: 14px 16px;
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid var(--tc-border);
    background: #061217;
  }
  html.tc-site .header .navlinks.open .nav-sheet-head strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--tc-text);
  }
  html.tc-site .header .navlinks.open .nav-sheet-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--tc-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }
  html.tc-site .header .navlinks.open .nav-sheet-close:hover {
    color: var(--tc-text);
    background: rgba(255, 255, 255, 0.06);
  }
  html.tc-site .header .navlinks.open .nav-sheet-body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 10px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  html.tc-site .header .navlinks.open .nav-group > summary {
    min-height: 0;
    padding: 12px;
    white-space: nowrap;
  }
  html.tc-site .header .navlinks.open .nav-group[open] > summary {
    color: var(--tc-cyan);
    background: rgba(87, 230, 220, 0.06);
    border-radius: 8px;
  }
  html.tc-site .header .navlinks.open .mega {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 4px 0 8px;
    padding: 4px 0 8px;
    max-height: none;
    overflow: visible;
    top: auto;
    left: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  html.tc-site .header .navlinks.open .mega-v9-head,
  html.tc-site .header .navlinks.open .mega-preview {
    display: none;
  }
  html.tc-site .header .navlinks.open .mega-v9-grid,
  html.tc-site .header .navlinks.open .mega-v7-grid {
    grid-template-columns: 1fr;
  }
  html.tc-site .header .navlinks.open .mega-links {
    grid-template-columns: 1fr;
    padding: 0 2px;
    gap: 2px;
    width: 100%;
  }
  html.tc-site .header .navlinks.open .mega-links a {
    min-height: 0;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
  }
  @keyframes tc-nav-sheet-in {
    from {
      transform: translateX(100%);
      opacity: 0.85;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  html.tc-site .header .nav-actions {
    order: 2;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }
  html.tc-site .header .menu-toggle {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 999px;
    box-sizing: border-box;
    line-height: 0;
  }
  html.tc-site .header .menu-toggle .ui-icon {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0;
  }
  html.tc-site .header .nav-actions .primary-btn.compact {
    white-space: nowrap;
  }
  html.tc-site .header .mega {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
  }
  html.tc-site .mega-v9-grid,
  html.tc-site .mega-v7-grid {
    grid-template-columns: 1fr;
  }
  html.tc-site .mega-preview {
    border-left: 0;
    border-top: 1px solid var(--tc-border);
  }
  .hero-split-v19 {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .app-ecosystem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .device-duo-v19 {
    grid-template-columns: 1fr;
  }
  html.tc-site .content-layout,
  html.tc-site .v17-reading-grid {
    grid-template-columns: 1fr;
  }
  html.tc-site .toc {
    position: static;
    display: flex;
    overflow: auto;
    white-space: nowrap;
  }
  html.tc-site .v17-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  :root {
    --tc-gutter: 18px;
    --tc-section: 64px;
  }
  html.tc-site h1 {
    font-size: 35px;
  }
  .home-hero-v19 {
    padding: 58px 0;
  }
  .trust-chain-v19 {
    min-height: 0;
    padding: 56px 18px 20px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .chain-route {
    display: none;
  }
  .trust-station.actor,
  .trust-station.device,
  .trust-station.interchange,
  .trust-station.human,
  .trust-station.evidence {
    grid-column: 1;
    grid-row: auto;
    width: auto;
    justify-self: stretch;
    margin-left: 0;
  }
  .chain-branch {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
  .band-intro {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .split-v19 {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split-v19.reverse > div:first-child,
  .split-v19.reverse > div:last-child {
    order: initial;
  }
  .app-ecosystem {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 10px;
  }
  .app-card-v9 {
    flex: 0 0 min(86vw, 350px);
    scroll-snap-align: center;
  }
  .decision-loop-v19 {
    grid-template-columns: 1fr;
  }
  .device-duo-v19 article {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .device-duo-v19 img {
    height: 260px;
  }
  .section-head,
  .v9-section-head,
  html.tc-site .section-head,
  html.tc-site .v9-section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  html.tc-site .v17-flow {
    grid-template-columns: 1fr;
  }
  html.tc-site .footer-main {
    grid-template-columns: 1fr;
  }
  .chain-branch span {
    font-size: 11px;
  }
}
@media (max-width: 390px) {
  :root {
    --tc-gutter: 16px;
  }
  .hero-actions-v19 > * {
    width: 100%;
    justify-content: center;
  }
  .trust-chain-v19 {
    padding-inline: 14px;
  }
  .app-card-v9 {
    flex-basis: 88vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.tc-site *,
  html.tc-site *:before,
  html.tc-site *:after {
    scroll-behavior: auto;
    transition-duration: 0.001ms;
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
  }
}
/* Screenshot evidence is staged as one dominant frame plus five supporting moments. */
html.tc-site
  .v13-screenshot-story
  .v5-screen-grid:not(.secondary)
  > figure:nth-child(n + 6),
html.tc-site .v13-screenshot-story .v5-screen-grid.secondary {
  display: none;
}
html.tc-site .v5-gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.45fr);
  gap: 24px;
  align-items: start;
}
html.tc-site .v5-gallery-feature .v5-screen {
  min-width: 0;
}
html.tc-site .v5-gallery-feature .v5-screen img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}
html.tc-site .v5-story-rail {
  display: grid;
  gap: 10px;
}
html.tc-site .v5-story-note {
  padding: 16px;
  border-left: 2px solid var(--tc-cyan);
  background: var(--tc-surface-1);
}
@media (max-width: 760px) {
  html.tc-site .v5-gallery-feature {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   V20 — Typography system: Montserrat (offline) + 7 font-size tiers
   Tiers: 11 · 12 · 14 · 16 · 22 · 35 · 60 (px). Phổ biến: 14px & 16px.
   ========================================================================== */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/montserrat-vietnamese-wght-normal.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/montserrat-vietnamese-wght-italic.woff2) format("woff2");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/montserrat-latin-ext-wght-italic.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 100 900;
  font-display: optional;
  src: url(../fonts/montserrat-latin-wght-italic.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-22: 22px;
  --fs-35: 35px;
  --fs-60: 60px;
  --tc-font: Montserrat, sans-serif;
}
html.tc-site,
html.tc-site body,
html.tc-site button,
html.tc-site input,
html.tc-site select,
html.tc-site textarea {
  font-family: var(--tc-font);
}
html.tc-site body {
  font-size: var(--fs-16);
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.tc-site p,
html.tc-site li,
html.tc-site dd,
html.tc-site td {
  font-size: 14px;
  margin: 0 0 12px;
}
html.tc-site th,
html.tc-site small,
html.tc-site .meta,
html.tc-site figcaption,
html.tc-site .breadcrumb {
  font-size: var(--fs-14);
}
/* Heading hierarchy — inner pages: 35 / 22 / 16 */
html.tc-site h1 {
  font-size: 60px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}
html.tc-site h2 {
  font-size: 35px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 750;
}
html.tc-site h3 {
  font-size: var(--fs-16);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 700;
}
html.tc-site h4,
html.tc-site h5,
html.tc-site h6 {
  font-size: var(--fs-14);
  line-height: 1.45;
  font-weight: 700;
}
html.tc-site .lede,
html.tc-site .lead,
html.tc-site .intro {
  font-size: var(--fs-16);
  line-height: 1.7;
  max-width: 100%;
}
/* Home page: 60 / 35 / 22 */
html.tc-site body.v13-home .home-hero h1 {
  font-size: var(--fs-60);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
html.tc-site body.v13-home h2 {
  font-size: var(--fs-35);
  line-height: 1.18;
  letter-spacing: -0.02em;
  /* margin-top: 12px; */
}
html.tc-site body.v13-home h3 {
  font-size: var(--fs-22);
  line-height: 1.3;
}
html.tc-site body.v13-home .home-hero .lede,
html.tc-site body.v13-home .home-hero .lead {
  font-size: var(--fs-22);
  line-height: 1.5;
}
/* Compact components keep their tier */
html.tc-site .mega h3,
html.tc-site .header .mega h3 {
  font-size: var(--fs-12);
}
html.tc-site .footer h3,
html.tc-site .tc-footer h3,
html.tc-site .tc-footer summary {
  font-size: var(--fs-14);
}
html.tc-site .nav-group > summary,
html.tc-site .mega a,
html.tc-site .mega-links a {
  font-size: var(--fs-14);
}
html.tc-site .mega small,
html.tc-site .mega-copy small,
html.tc-site .mega p {
  font-size: var(--fs-12);
}
html.tc-site .eyebrow,
html.tc-site .section-number,
html.tc-site .kicker-v19,
html.tc-site .section-index {
  font-size: var(--fs-12);
}
html.tc-site .code,
html.tc-site pre,
html.tc-site code,
html.tc-site .code-surface {
  font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;
}
html.tc-site pre,
html.tc-site .code,
html.tc-site .code-surface {
  font-size: var(--fs-14);
}
@media (max-width: 760px) {
  html.tc-site body.v13-home .home-hero h1 {
    font-size: var(--fs-35);
    line-height: 1.15;
  }
  html.tc-site body.v13-home h2 {
    font-size: var(--fs-22);
  }
  html.tc-site body.v13-home h3 {
    font-size: var(--fs-16);
  }
  html.tc-site h1 {
    font-size: var(--fs-35);
  }
  html.tc-site body.v13-home .home-hero .lede,
  html.tc-site body.v13-home .home-hero .lead {
    font-size: var(--fs-16);
  }
}
/* V20 — Brand logo (trustedcare_image) */
html.tc-site .header .brand img,
html.tc-site .header.v7 .brand img {
  width: auto;
  height: 40px;
  max-height: none;
  max-width: none;
}
html.tc-site .footer-identity > img {
  width: auto;
  height: 52px;
  max-width: 220px;
}
html.tc-site .footer-identity > p {
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 560px) {
  html.tc-site .header .brand img,
  html.tc-site .header.v7 .brand img {
    height: 34px;
  }
}
html[lang="vi"] .trust-chain-v19:before {
  content: "CHUỖI TIN CẬY CHĂM SÓC KẾT NỐI";
}
/* V20 — tinh chỉnh hình thức */
html.tc-site .header .nav-group > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 8px;
  letter-spacing: -0.005em;
}
html.tc-site .header .navlinks {
  margin-left: 16px;
  min-width: 0;
}
html.tc-site .header .nav-group > summary .ui-icon {
  display: none;
}
html.tc-site .header .icon-btn img,
html.tc-site [data-search-open] img {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex: none;
}
html.tc-site select,
html.tc-site option {
  font-size: var(--fs-14);
}
html.tc-site .breadcrumb,
html.tc-site .v5-breadcrumb {
  width: min(var(--tc-max, 1240px), calc(100% - 2 * var(--tc-gutter, 24px)));
  margin-inline: auto;
  padding-inline: 0;
}
html.tc-site .primary-btn,
html.tc-site .secondary-btn,
html.tc-site .nav-cta {
  font-size: var(--fs-14);
  letter-spacing: 0;
}
html.tc-site .trust-strip {
  font-size: var(--fs-12);
}
/* V20 — căn lề các khối không có .wrap cho thẳng hàng với nội dung trang */
html.tc-site main .v5-section,
html.tc-site main .api-workbench-section {
  padding-inline: max(var(--tc-gutter), calc((100% - var(--tc-max)) / 2));
}
html.tc-site main .v5-section > *,
html.tc-site .api-workbench-v16 {
  max-width: 100%;
  min-width: 0;
}
html.tc-site .api-workbench-v16 {
  width: 100%;
}
html.tc-site main > .context-evidence,
html.tc-site .v19-evidence-refresh > .container {
  width: min(var(--tc-max), calc(100% - 2 * var(--tc-gutter)));
  margin-inline: auto;
  box-sizing: border-box;
}
html.tc-site main .v5-grid {
  min-width: 0;
}
html.tc-site .v13-trust-page main.v13-reading-layout .v5-section {
  padding-inline: max(var(--tc-gutter), calc((100% - var(--v13-reading)) / 2));
}
html.tc-site .v13-trust-page main.v13-reading-layout > .context-evidence {
  width: min(var(--v13-reading), calc(100% - 2 * var(--tc-gutter)));
}
/* V20 — lưới thẻ v5 đồng bộ với lưới thẻ chung */
html.tc-site main .v5-grid {
  gap: 16px;
}
@media (min-width: 900px) {
  html.tc-site main .v5-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html.tc-site main .v5-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
html.tc-site .v5-info-card {
  padding: 24px;
  border-radius: 14px;
}
html.tc-site .v5-info-card > span:first-child {
  display: block;
  color: var(--tc-cyan, #5ee3d1);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
html.tc-site .v5-info-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
html.tc-site .boundary-panel,
html.tc-site .boundary-panel p,
html.tc-site .callout,
html.tc-site .note-panel {
  max-width: none;
}
/* V20 — đồng nhất chiều rộng nội dung với header/footer trên mọi trang */
html.tc-site body.v13-trust-page main.v13-reading-layout .wrap,
html.tc-site body.v13-trust-page main.v13-reading-layout section > .wrap,
html.tc-site
  body.v13-trust-page
  main.v13-reading-layout
  section:not(.cta-band)
  > .wrap,
html.tc-site body.v13-trust-page main.v13-reading-layout .policy-hero > .wrap,
html.tc-site body.v13-trust-page main.v13-reading-layout .hero.compact > .wrap {
  max-width: none;
  width: min(var(--tc-max), calc(100% - 2 * var(--tc-gutter)));
}
html.tc-site body.v13-trust-page main.v13-reading-layout .v5-section {
  padding-inline: max(var(--tc-gutter), calc((100% - var(--tc-max)) / 2));
}
html.tc-site body.v13-trust-page main.v13-reading-layout > .context-evidence {
  width: min(var(--tc-max), calc(100% - 2 * var(--tc-gutter)));
}
html.tc-site main .v5-section:has(> .wrap) {
  padding-inline: 0;
}
html.tc-site .content-layout,
html.tc-site .content-layout.v17-reading-grid,
html.tc-site .v17-reading-grid,
html.tc-site .policy-content {
  max-width: none;
}
html.tc-site main .narrative-band > .wrap {
  max-width: none;
  width: min(var(--tc-max), calc(100% - 2 * var(--tc-gutter)));
}
/* giữ độ dài dòng dễ đọc, căn trái theo lề chung */
html.tc-site body.v13-trust-page main .article p,
html.tc-site body.v13-trust-page main .policy-content p,
html.tc-site .page-hero .lede,
html.tc-site .policy-hero .lede,
html.tc-site .page-hero p,
html.tc-site .policy-hero p {
  /* max-width: 880px; */
}
@media (max-width: 820px) {
  html.tc-site .header .nav {
    gap: 6px;
  }
  html.tc-site .header .brand img {
    width: 100px;
  }
  html.tc-site .header .menu-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
  }
  html.tc-site .header .menu-toggle .ui-icon {
    width: 16px;
    height: 16px;
  }
  html.tc-site .header .nav-actions .primary-btn.compact {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 11px;
  }
  html.tc-site .header .nav-actions .icon-btn,
  html.tc-site .header .nav-actions .secondary-btn,
  html.tc-site .header .language-combobox {
    display: none;
  }
  html.tc-site .header .navlinks.open {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
  }
}
.lang-icon {
  width: 24px;
}
.lang-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.listbox {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== Cookie consent ========== */
.tc-cookie[hidden] {
  display: none !important;
}
.tc-cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 16px clamp(16px, 4vw, 28px);
  border-top: 1px solid var(--tc-border, #1b3942);
  background: rgba(6, 17, 22, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}
.tc-cookie-banner[hidden] {
  display: none !important;
}
.tc-cookie-banner__copy {
  flex: 1 1 280px;
  max-width: 720px;
}
.tc-cookie-banner__title {
  margin: 0 0 6px;
  color: var(--tc-text, #edf8f7);
  font-size: 15px;
  font-weight: 700;
}
.tc-cookie-banner__text {
  margin: 0;
  color: var(--tc-muted, #a7bec2);
  font-size: 13px;
  line-height: 1.5;
}
.tc-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 1 auto;
}
.tc-cookie-banner__actions .primary-btn,
.tc-cookie-banner__actions .secondary-btn {
  white-space: nowrap;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
}
.tc-cookie-fab {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 79;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #70f1df, #45d2bf);
  color: #03110f;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(80, 227, 208, 0.18);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}
.tc-cookie-fab:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(80, 227, 208, 0.28);
}
.tc-cookie-fab[hidden] {
  display: none !important;
}
.tc-cookie-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: min(86vh, 720px);
  padding: 0;
  border: 1px solid var(--tc-border, #1b3942);
  border-radius: 14px;
  background: #061116;
  color: var(--tc-text, #edf8f7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  overscroll-behavior: contain;
}
.tc-cookie-dialog::backdrop {
  background: rgba(1, 6, 8, 0.72);
  overscroll-behavior: contain;
}
html.tc-cookie-dialog-open,
html.tc-cookie-dialog-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}
html.tc-cookie-dialog-open .tc-cookie-dialog,
html.tc-cookie-dialog-open .tc-cookie-dialog__body {
  touch-action: pan-y;
  overscroll-behavior: contain;
}
.tc-cookie-dialog__head,
.tc-cookie-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-color: var(--tc-border, #1b3942);
}
.tc-cookie-dialog__head {
  border-bottom: 1px solid var(--tc-border, #1b3942);
}
.tc-cookie-dialog__head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.tc-cookie-dialog__head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tc-muted, #a7bec2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tc-cookie-dialog__head button:hover {
  color: var(--tc-text, #edf8f7);
  background: rgba(255, 255, 255, 0.06);
}
.tc-cookie-dialog__body {
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: auto;
  max-height: min(56vh, 460px);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.tc-cookie-dialog__foot {
  justify-content: flex-end;
  border-top: 1px solid var(--tc-border, #1b3942);
}
.tc-cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tc-cookie-row__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.tc-cookie-row__desc {
  margin: 0;
  color: var(--tc-muted, #a7bec2);
  font-size: 13px;
  line-height: 1.45;
}
.tc-cookie-always {
  flex-shrink: 0;
  color: #45d2bf;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.tc-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  cursor: pointer;
}
.tc-switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.tc-switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #1b3942;
  transition: background 0.15s ease;
}
.tc-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #edf8f7;
  transition: transform 0.15s ease;
}
.tc-switch input:checked + span {
  background: linear-gradient(135deg, #70f1df, #45d2bf);
}
.tc-switch input:checked + span::after {
  transform: translateX(18px);
  background: #03110f;
}
.tc-switch input:focus-visible + span {
  outline: 2px solid var(--tc-cyan, #58e4d0);
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .tc-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .tc-cookie-banner__actions {
    width: 100%;
  }
  .tc-cookie-banner__actions .primary-btn,
  .tc-cookie-banner__actions .secondary-btn {
    flex: 1 1 calc(50% - 4px);
  }
  .tc-cookie-fab {
    left: 14px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  .tc-cookie-row {
    align-items: flex-start;
  }
}

html.tc-site body {
  padding-bottom: var(--tc-cookie-banner-h, 0px);
}

/* ========== Back to top ========== */
.tc-back-top {
  position: fixed;
  right: 20px;
  bottom: calc(24px + var(--tc-cookie-banner-h, 0px));
  z-index: 78;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #70f1df, #45d2bf);
  color: #03110f;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(80, 227, 208, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    filter 0.15s ease,
    box-shadow 0.15s ease,
    bottom 0.2s ease;
}
.tc-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.tc-back-top:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 32px rgba(80, 227, 208, 0.28);
}
.tc-back-top[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .tc-back-top {
    right: 14px;
    bottom: calc(16px + var(--tc-cookie-banner-h, 0px));
    width: 48px;
    height: 48px;
  }
}

/* Solution pages: blueprint cards — 5 tren 1 hang; so thu tu cyan */
html.tc-site body:has(.solution-hero) .cards.content-aware-grid,
html.tc-site body:has(.solution-hero) .cards.v17-auto-grid,
html.tc-site body:has(.solution-hero) .cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
html.tc-site body:has(.solution-hero) .cards .card > span:first-child {
  color: #58e4d0;
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 1100px) {
  html.tc-site body:has(.solution-hero) .cards.content-aware-grid,
  html.tc-site body:has(.solution-hero) .cards.v17-auto-grid,
  html.tc-site body:has(.solution-hero) .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  html.tc-site body:has(.solution-hero) .cards.content-aware-grid,
  html.tc-site body:has(.solution-hero) .cards.v17-auto-grid,
  html.tc-site body:has(.solution-hero) .cards {
    grid-template-columns: 1fr;
  }
}

/* Platform DATA FLOW / LU?NG D? LI?U: 6 m?c ? 2 h?ng ? 3 c?t */
html.tc-site
  body:has(.platform-hero)
  .section-contrast
  .journey:has(> li:nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 820px) {
  html.tc-site
    body:has(.platform-hero)
    .section-contrast
    .journey:has(> li:nth-child(6):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  html.tc-site
    body:has(.platform-hero)
    .section-contrast
    .journey:has(> li:nth-child(6):last-child) {
    grid-template-columns: 1fr;
  }
}

/* Devices: 6 bước lifecycle → 2 hàng × 3 cột */
html.tc-site
  body.v13-device-page
  .cards.content-aware-grid.v17-auto-grid:has(> .card:nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 820px) {
  html.tc-site
    body.v13-device-page
    .cards.content-aware-grid.v17-auto-grid:has(
      > .card:nth-child(6):last-child
    ) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  html.tc-site
    body.v13-device-page
    .cards.content-aware-grid.v17-auto-grid:has(
      > .card:nth-child(6):last-child
    ) {
    grid-template-columns: 1fr;
  }
}

/* Platform pages: so thu tu trong card / evidence / journey → #58e4d0 */
html.tc-site body:has(.platform-hero) .cards .card > span:first-child,
html.tc-site body:has(.platform-hero) .evidence-grid article > span:first-child,
html.tc-site body:has(.platform-hero) .journey li > span:first-child {
  color: #58e4d0;
  font-size: 14px;
  font-weight: 400;
}

/* ========== 404 / Not found ========== */
html.tc-site .tc-not-found {
  position: relative;
  min-height: min(68vh, 620px);
  display: grid;
  place-items: center;
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--tc-border, rgba(132, 198, 208, 0.18));
  text-align: center;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 18%,
      rgba(88, 228, 208, 0.09),
      transparent 58%
    ),
    radial-gradient(
      ellipse 50% 40% at 50% 78%,
      rgba(88, 228, 208, 0.04),
      transparent 55%
    );
}
html.tc-site .tc-not-found__inner {
  /* max-width: 720px; */
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
html.tc-site .tc-not-found__code {
  margin: 0 0 8px;
  color: #58e4d0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(72px, 14vw, 128px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
html.tc-site .tc-not-found .eyebrow {
  margin-bottom: 12px;
}
html.tc-site .tc-not-found h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
}
html.tc-site .tc-not-found__lede {
  margin: 0 auto 28px;
  max-width: 52ch;
  color: var(--tc-muted, #9ab4ba);
  font-size: 16px;
  line-height: 1.55;
}
html.tc-site .tc-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
html.tc-site .tc-not-found__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html.tc-site .tc-not-found__links a {
  color: var(--tc-muted, #9ab4ba);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
html.tc-site .tc-not-found__links a:hover {
  color: #58e4d0;
  border-bottom-color: rgba(88, 228, 208, 0.45);
}
@media (max-width: 640px) {
  html.tc-site .tc-not-found__actions .secondary-btn {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
  html.tc-site .tc-not-found__actions .primary-btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Company + Developers hub: doc title 60px; card numbers cyan; journey 3-col + 14px */
html.tc-site:is(
    :has(link[rel="canonical"][href*="/company/business-account/"]),
    :has(link[rel="canonical"][href*="/company/contact/"]),
    :has(link[rel="canonical"][href*="/company/cookie-preferences/"]),
    :has(link[rel="canonical"][href*="/company/free-rpm-trial/"]),
    :has(link[rel="canonical"][href*="/company/partners/"]),
    :has(link[rel="canonical"][href*="/company/support/"]),
    :has(link[rel="canonical"][href$="/developers/"]),
    :has(link[rel="canonical"][href$="/developers"])
  )
  .doc-hero
  h1 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
html.tc-site:is(
    :has(link[rel="canonical"][href*="/company/business-account/"]),
    :has(link[rel="canonical"][href*="/company/contact/"]),
    :has(link[rel="canonical"][href*="/company/cookie-preferences/"]),
    :has(link[rel="canonical"][href*="/company/free-rpm-trial/"]),
    :has(link[rel="canonical"][href*="/company/partners/"]),
    :has(link[rel="canonical"][href*="/company/support/"]),
    :has(link[rel="canonical"][href$="/developers/"]),
    :has(link[rel="canonical"][href$="/developers"])
  )
  .cards
  .card
  > span:first-child {
  color: #58e4d0;
  font-size: 14px;
  font-weight: 400;
}
html.tc-site:is(
    :has(link[rel="canonical"][href*="/company/business-account/"]),
    :has(link[rel="canonical"][href*="/company/cookie-preferences/"]),
    :has(link[rel="canonical"][href*="/company/free-rpm-trial/"]),
    :has(link[rel="canonical"][href*="/company/partners/"]),
    :has(link[rel="canonical"][href*="/company/support/"]),
    :has(link[rel="canonical"][href$="/developers/"]),
    :has(link[rel="canonical"][href$="/developers"])
  )
  .journey {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
/* Solutions: journey 2 cột (chỉ các trang listed) */
html.tc-site:is(
    :has(link[rel="canonical"][href*="/solutions/community-health-screening/"]),
    :has(link[rel="canonical"][href*="/solutions/corporate-health/"]),
    :has(link[rel="canonical"][href*="/solutions/device-vendors/"]),
    :has(link[rel="canonical"][href*="/solutions/home-family-care/"]),
    :has(link[rel="canonical"][href*="/solutions/hospitals-clinics/"]),
    :has(link[rel="canonical"][href*="/solutions/laboratory/"]),
    :has(link[rel="canonical"][href*="/solutions/pharmacy/"]),
    :has(link[rel="canonical"][href*="/solutions/remote-patient-monitoring/"]),
    :has(link[rel="canonical"][href*="/solutions/system-integrators/"]),
    :has(link[rel="canonical"][href*="/solutions/telehealth/"])
  )
  .journey {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 540px) {
  html.tc-site:is(
      :has(
        link[rel="canonical"][href*="/solutions/community-health-screening/"]
      ),
      :has(link[rel="canonical"][href*="/solutions/corporate-health/"]),
      :has(link[rel="canonical"][href*="/solutions/device-vendors/"]),
      :has(link[rel="canonical"][href*="/solutions/home-family-care/"]),
      :has(link[rel="canonical"][href*="/solutions/hospitals-clinics/"]),
      :has(link[rel="canonical"][href*="/solutions/laboratory/"]),
      :has(link[rel="canonical"][href*="/solutions/pharmacy/"]),
      :has(
        link[rel="canonical"][href*="/solutions/remote-patient-monitoring/"]
      ),
      :has(link[rel="canonical"][href*="/solutions/system-integrators/"]),
      :has(link[rel="canonical"][href*="/solutions/telehealth/"])
    )
    .journey {
    grid-template-columns: 1fr;
  }
}
html.tc-site:is(
    :has(link[rel="canonical"][href*="/company/business-account/"]),
    :has(link[rel="canonical"][href*="/company/cookie-preferences/"]),
    :has(link[rel="canonical"][href*="/company/free-rpm-trial/"]),
    :has(link[rel="canonical"][href*="/company/partners/"]),
    :has(link[rel="canonical"][href*="/company/support/"]),
    :has(link[rel="canonical"][href$="/developers/"]),
    :has(link[rel="canonical"][href$="/developers"])
  )
  .journey
  li
  > span:first-child {
  font-size: 14px;
  color: #58e4d0;
  font-weight: 400;
}
@media (max-width: 900px) {
  html.tc-site:is(
      :has(link[rel="canonical"][href*="/company/business-account/"]),
      :has(link[rel="canonical"][href*="/company/cookie-preferences/"]),
      :has(link[rel="canonical"][href*="/company/free-rpm-trial/"]),
      :has(link[rel="canonical"][href*="/company/partners/"]),
      :has(link[rel="canonical"][href*="/company/support/"]),
      :has(link[rel="canonical"][href$="/developers/"]),
      :has(link[rel="canonical"][href$="/developers"])
    )
    .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  html.tc-site:is(
      :has(link[rel="canonical"][href*="/company/business-account/"]),
      :has(link[rel="canonical"][href*="/company/contact/"]),
      :has(link[rel="canonical"][href*="/company/cookie-preferences/"]),
      :has(link[rel="canonical"][href*="/company/free-rpm-trial/"]),
      :has(link[rel="canonical"][href*="/company/partners/"]),
      :has(link[rel="canonical"][href*="/company/support/"]),
      :has(link[rel="canonical"][href$="/developers/"]),
      :has(link[rel="canonical"][href$="/developers"])
    )
    .doc-hero
    h1 {
    font-size: clamp(36px, 10vw, 60px);
  }
  html.tc-site:is(
      :has(link[rel="canonical"][href*="/company/business-account/"]),
      :has(link[rel="canonical"][href*="/company/cookie-preferences/"]),
      :has(link[rel="canonical"][href*="/company/free-rpm-trial/"]),
      :has(link[rel="canonical"][href*="/company/partners/"]),
      :has(link[rel="canonical"][href*="/company/support/"]),
      :has(link[rel="canonical"][href$="/developers/"]),
      :has(link[rel="canonical"][href$="/developers"])
    )
    .journey {
    grid-template-columns: 1fr;
  }
}

/* Global: so thu tu 01, 02, 03... -> 14px + #58e4d0 */
html.tc-site .cards .card > span:first-child,
html.tc-site .evidence-grid article > span:first-child,
html.tc-site .spec-grid article > span:first-child,
html.tc-site .journey li > span:first-child,
html.tc-site .journey-grid article > span:first-child,
html.tc-site .v5-info-card > span:first-child,
html.tc-site ol.journey > li > span:first-child,
html.tc-site .policy-clause > span:first-child,
html.tc-site .v5-workflow > div::before,
html.tc-site .journey span {
  font-size: 14px;
  color: #58e4d0;
}

/* Global: moi h1 nam trong .wrap -> 60px */
html.tc-site .wrap h1,
html.tc-site .doc-hero .wrap h1,
html.tc-site .page-hero .wrap h1,
html.tc-site .policy-hero .wrap h1,
html.tc-site .app-hero .wrap h1,
html.tc-site .device-hero .wrap h1,
html.tc-site .solution-hero .wrap h1,
html.tc-site .platform-hero .wrap h1,
html.tc-site .home-hero .wrap h1,
html.tc-site .api-hero .wrap h1,
html.tc-site .device-product-hero .wrap h1,
html.tc-site .tc-not-found .wrap h1 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
@media (max-width: 720px) {
  html.tc-site .wrap h1,
  html.tc-site .doc-hero .wrap h1,
  html.tc-site .page-hero .wrap h1,
  html.tc-site .policy-hero .wrap h1,
  html.tc-site .app-hero .wrap h1,
  html.tc-site .device-hero .wrap h1,
  html.tc-site .solution-hero .wrap h1,
  html.tc-site .platform-hero .wrap h1,
  html.tc-site .home-hero .wrap h1,
  html.tc-site .api-hero .wrap h1,
  html.tc-site .device-product-hero .wrap h1,
  html.tc-site .tc-not-found .wrap h1 {
    font-size: clamp(36px, 10vw, 60px);
  }
}

/* Mobile nav sheet: language switcher */
html.tc-site .nav-sheet-lang {
  display: none;
}
@media (max-width: 1180px) {
  html.tc-site .header .navlinks.open .nav-sheet-lang {
    display: block;
    margin-top: 12px;
    padding: 14px 6px 4px;
    border-top: 1px solid var(--tc-border, rgba(132, 198, 208, 0.18));
  }
  html.tc-site .header .navlinks.open .nav-sheet-lang__label {
    margin: 0 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tc-muted, #9ab4ba);
  }
  html.tc-site .header .navlinks.open .nav-sheet-lang__opts {
    display: grid;
    gap: 6px;
  }
  html.tc-site .header .navlinks.open .nav-sheet-lang__opt {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(124, 181, 191, 0.18);
    border-radius: 10px;
    color: var(--tc-text, #edf7f8);
    text-decoration: none;
    font-size: 14px;
    background: #07161b;
  }
  html.tc-site .header .navlinks.open .nav-sheet-lang__opt .lang-icon {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
  }
  html.tc-site
    .header
    .navlinks.open
    .nav-sheet-lang__opt[aria-selected="true"] {
    border-color: rgba(88, 228, 208, 0.45);
    background: rgba(88, 228, 208, 0.08);
    color: #58e4d0;
  }
  html.tc-site
    .header
    .navlinks.open
    .nav-sheet-lang__opt[aria-selected="true"]::after {
    content: "\2713";
    margin-left: auto;
    color: #58e4d0;
    font-size: 14px;
  }
}
.evidence-strip {
  margin-top: 36px;
}
.ooo-iii {
  font-size: 16px !important;
}
.kkk-lll {
  text-align: center;
  max-width: none !important;
}
.mzx-mzx {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 18px;
}
