:root {
  --ink: #102033;
  --muted: #5d6c80;
  --line: #d7e1eb;
  --bg: #f6f9fc;
  --panel: #ffffff;
  --navy: #0b2a4a;
  --blue: #165dab;
  --blue-dark: #0e447e;
  --cyan: #0e7490;
  --amber: #b7791f;
  --red: #b42318;
  --shadow: 0 22px 60px rgba(11, 42, 74, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 15px;
  line-height: 1.68;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #121923;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #0b2a4a;
  background: #d9ecff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  color: #fff;
}

.brand small {
  color: #b8c9dc;
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 8px;
  color: #e9f2fb;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 700;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  width: 100%;
  background:
    linear-gradient(90deg, rgba(7, 18, 31, 0.94), rgba(10, 41, 76, 0.82) 46%, rgba(7, 18, 31, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 84px),
    linear-gradient(135deg, #0b2138 0%, #173e67 54%, #0c1d31 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
  gap: 52px;
  align-items: center;
  min-height: 590px;
  padding: 58px 0 60px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.hero-lead,
.section-heading p,
.split-section p,
.heritage-section p {
  color: var(--muted);
  font-size: 15px;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 24px;
}

.hero .eyebrow {
  color: #83c5ff;
}

.hero h1 {
  color: #fff;
}

.hero .hero-lead {
  color: #d4e5f6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button-primary {
  color: #fff;
  background: #1f7ad2;
  box-shadow: 0 12px 24px rgba(7, 18, 31, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
  outline: none;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.button-light {
  color: var(--navy);
  border-color: #b8cfe6;
  background: #fff;
}

.button-light:hover,
.button-light:focus-visible {
  background: #eef5fb;
  outline: none;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #d8ebff;
  font-weight: 800;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: #fff;
  outline: none;
}

.full-width {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.trust-strip div {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip dt {
  color: #9fbbd5;
  font-size: 12px;
  font-weight: 800;
}

.trust-strip dd {
  margin: 2px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.hero-media {
  display: grid;
  gap: 14px;
}

.hero-photo,
.hero-photo-grid,
.image-mosaic figure,
.heritage-gallery figure {
  margin: 0;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #06192c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(5, 18, 31, 0.68);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-product-thumb {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-product-thumb:hover,
.hero-product-thumb:focus-visible {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.13);
  outline: none;
}

.hero-product-thumb strong {
  overflow-wrap: anywhere;
  color: #f4f9ff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.thumb-window {
  position: relative;
  display: block;
  overflow: hidden;
  height: 78px;
  border: 1px solid rgba(185, 208, 231, 0.5);
  border-radius: 7px;
  background: #f7fbff;
}

.thumb-image {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.thumb-image-tui {
  object-position: left top;
}

.thumb-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background: #0b2a4a;
}

.thumb-desktop i,
.thumb-desktop b,
.thumb-desktop em {
  position: absolute;
  display: block;
  border-radius: 4px;
}

.thumb-desktop i {
  left: 8px;
  top: 22px;
  width: 30%;
  height: 46px;
  background: #edf5fd;
}

.thumb-desktop b {
  left: 43%;
  top: 24px;
  width: 42%;
  height: 9px;
  background: #b8d7f1;
}

.thumb-desktop em {
  left: 43%;
  top: 40px;
  width: 48%;
  height: 24px;
  background: #dceaf8;
}

.thumb-tui {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px 10px 9px;
  background:
    linear-gradient(180deg, rgba(11, 42, 74, 0.26), rgba(3, 13, 23, 0.82)),
    #061422;
}

.thumb-tui code {
  overflow: hidden;
  color: #cae9ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.thumb-agent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 22px 10px 10px;
}

.thumb-agent i {
  min-height: 18px;
  border: 1px solid #b9d0e7;
  border-radius: 5px;
  background: #eaf4ff;
}

.forensic-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 253, 0.96)),
    #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: #cfe3f8;
  background: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.panel-topline strong {
  color: #fff;
  font-size: 12px;
}

.evidence-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.evidence-chain div {
  min-height: 102px;
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f2f7fc);
}

.evidence-chain div:last-child {
  border-right: 0;
}

.evidence-chain span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.evidence-chain strong,
.evidence-chain small {
  display: block;
}

.evidence-chain strong {
  margin-top: 10px;
  color: var(--navy);
  font-size: 17px;
}

.evidence-chain small {
  color: var(--muted);
  font-size: 12px;
}

.trace-view {
  padding: 16px 18px;
}

.trace-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
}

.trace-row:first-child {
  border-radius: 8px 8px 0 0;
}

.trace-row:last-child {
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
}

.trace-row.active {
  border-color: #b9d0e7;
  background: #edf5fd;
}

.trace-row span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.trace-row strong {
  color: var(--navy);
  font-size: 14px;
}

.trace-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.integrity-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 0 18px 18px;
  padding: 14px;
  border: 1px solid #b8d7e2;
  border-radius: 8px;
  background: #eef8fb;
  color: var(--navy);
}

.integrity-box span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.integrity-box strong {
  font-size: 13px;
}

.compact-section,
.split-section,
.teaching-section,
.heritage-section,
.download-section,
.company-section,
.contact-section,
.capability-section {
  padding: 58px 0;
}

.route-section,
.page-hero,
.page-section {
  padding: 58px 0;
}

.page-hero {
  color: #dbeeff;
  background:
    linear-gradient(90deg, rgba(7, 18, 31, 0.94), rgba(13, 50, 86, 0.88)),
    linear-gradient(135deg, #0b2138 0%, #173e67 54%, #0c1d31 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
  gap: 42px;
  align-items: center;
}

.page-hero h1,
.page-hero h2 {
  color: #fff;
}

.page-hero p {
  max-width: 760px;
  color: #d4e5f6;
  font-size: 16px;
}

.page-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #06192c;
}

.route-section {
  background: #fff;
}

.route-grid,
.feature-grid,
.bilingual-grid,
.spec-grid,
.training-grid {
  display: grid;
  gap: 16px;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card,
.feature-card,
.spec-card,
.training-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 42, 74, 0.05);
}

.route-card {
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 22px;
}

.route-card span,
.feature-card span,
.spec-card span,
.training-card span,
.note-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.route-card strong,
.feature-card strong,
.spec-card strong,
.training-card strong,
.note-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.route-card p,
.feature-card p,
.spec-card p,
.training-card p,
.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.62;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.training-card,
.note-card {
  padding: 20px;
}

.feature-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border: 1px solid #d3e0ec;
  border-radius: 7px;
  object-fit: cover;
  object-position: center;
  background: #edf5fd;
}

.feature-media[src*="myhex-tui"] {
  object-position: left top;
  background: #061422;
}

.feature-card ul,
.spec-card ul,
.training-card ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: #32445a;
  font-size: 14px;
  line-height: 1.62;
}

.xways-feature-grid .feature-card {
  min-height: 190px;
}

.source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.source-note a {
  color: var(--blue);
  font-weight: 800;
}

.source-note a:hover,
.source-note a:focus-visible {
  color: var(--blue-dark);
  outline: none;
}

.bilingual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.spec-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.spec-image-button {
  display: grid;
  width: 100%;
  min-height: 148px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  cursor: zoom-in;
}

.spec-image-button:hover,
.spec-image-button:focus-visible {
  border-color: #9cc3e7;
  background: #f1f8ff;
  outline: none;
}

.spec-image {
  display: block;
  width: min(100%, 260px);
  max-height: 148px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.spec-card h3 {
  margin-bottom: 4px;
}

.spec-card dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 6px 12px;
  margin: 0;
  color: #32445a;
  font-size: 14px;
}

.spec-card dt {
  color: var(--muted);
  font-weight: 800;
}

.spec-card dd {
  margin: 0;
}

.model-tag {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #b9d0e7;
  border-radius: 6px;
  color: var(--blue-dark);
  background: #edf5fd;
  font-size: 12px;
  font-weight: 900;
}

.note-card {
  margin-top: 20px;
  background: #f8fbff;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(5, 16, 30, 0.82);
}

.image-lightbox.is-open {
  display: grid;
}

.image-lightbox figure {
  display: grid;
  gap: 10px;
  width: min(920px, 100%);
  margin: 0;
}

.image-lightbox img {
  display: block;
  width: 100%;
  max-height: min(76vh, 720px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.image-lightbox figcaption {
  color: #e7f3ff;
  font-size: 14px;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.training-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.training-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-color: #cbdbe9;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: none;
}

.training-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #165dab;
}

.training-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  background: #eaf4ff;
}

.training-card strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
}

.image-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.image-band figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.image-band img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.teaching-card img.image-contain,
.image-band img.image-contain {
  object-fit: contain;
  padding: 10px;
  background: #f7fbff;
}

.image-band figcaption {
  padding: 12px 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.platform-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.platform-detail-grid article {
  padding: 18px;
  border: 1px solid #cbdbe9;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.platform-detail-grid span,
.platform-detail-grid strong {
  display: block;
}

.platform-detail-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.platform-detail-grid strong {
  margin-top: 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.32;
}

.platform-detail-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cisaw-banner {
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid #b8d7f1;
  border-radius: 8px;
  background: #0b56c7;
  box-shadow: 0 14px 34px rgba(11, 42, 74, 0.12);
}

.cisaw-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 1104 / 366;
  object-fit: cover;
}

.cisaw-banner figcaption {
  padding: 12px 16px;
  color: #eaf4ff;
  background: #0b2a4a;
  font-size: 14px;
  font-weight: 900;
}

.instructor-section {
  background: #fff;
}

.instructor-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cbdbe9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 42, 74, 0.06);
}

.instructor-panel > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
  background: #07121f;
}

.instructor-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 32px;
}

.instructor-copy h2,
.instructor-copy p,
.instructor-copy ul {
  margin: 0;
}

.instructor-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.instructor-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.instructor-facts span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #b9d0e7;
  border-radius: 6px;
  color: var(--blue-dark);
  background: #edf5fd;
  font-size: 12px;
  font-weight: 900;
}

.instructor-copy ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  color: #32445a;
  font-size: 14px;
  line-height: 1.65;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: center;
  background: #fff;
}

.company-intro {
  max-width: 780px;
}

.company-intro p {
  color: var(--muted);
  font-size: 16px;
}

.company-proof {
  padding: 22px;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fcff, #edf5fd);
}

.company-proof span,
.company-proof strong {
  display: block;
}

.company-proof span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.company-proof strong {
  margin-top: 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
}

.services-section {
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.07);
}

.service-card img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #edf5fd;
  border-bottom: 1px solid var(--line);
}

.service-card h3,
.service-card p {
  padding-right: 20px;
  padding-left: 20px;
}

.service-card h3 {
  margin-top: 18px;
}

.service-card p {
  padding-bottom: 20px;
  color: var(--muted);
}

.myhex-capability-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #f8fbff, #edf5fd),
    #fff;
  box-shadow: 0 18px 46px rgba(11, 42, 74, 0.1);
}

.capability-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid #c9d9e9;
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 84px;
}

.capability-panel h3 {
  margin-top: 14px;
}

.capability-panel p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.capability-panel ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding-left: 18px;
  color: #32445a;
}

.mock-window {
  overflow: hidden;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  background: #f7fbff;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  color: #dbeeff;
  background: var(--navy);
}

.mock-titlebar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fb5e8;
}

.mock-titlebar strong {
  margin-left: 6px;
  font-size: 12px;
  letter-spacing: 0;
}

.desktop-mock {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 178px;
}

.desktop-mock aside {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 12px;
  border-right: 1px solid #d9e6f2;
  background: #edf5fd;
}

.desktop-mock b {
  color: var(--navy);
  font-size: 12px;
}

.desktop-mock span {
  color: #4c6178;
  font-size: 11px;
}

.desktop-mock main {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.mock-toolbar,
.file-row,
.report-block {
  border-radius: 6px;
  background: #dceaf8;
}

.mock-toolbar {
  height: 18px;
  width: 70%;
}

.file-row {
  height: 24px;
}

.file-row.active {
  background: #b8d7f1;
}

.file-row.short {
  width: 68%;
}

.report-block {
  display: grid;
  height: 44px;
  place-items: center;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.terminal-window {
  background: #091929;
}

.terminal-mock {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 178px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(11, 42, 74, 0.28), rgba(3, 13, 23, 0.76)),
    #061422;
}

.terminal-mock code {
  display: block;
  overflow-wrap: anywhere;
  color: #cae9ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.terminal-mock .ok {
  color: #75e0b2;
}

.agent-mock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 178px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 40%, rgba(22, 93, 171, 0.18), transparent 42%),
    #f7fbff;
}

.agent-screenshot {
  display: block;
  width: 100%;
  min-height: 178px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  background: #edf5fd;
}

.product-screenshot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: #edf5fd;
}

.product-screenshot-desktop {
  object-position: center;
}

.product-screenshot-tui {
  object-position: left top;
  background: #061422;
}

.product-screenshot-agent {
  object-position: left top;
}

.agent-node,
.agent-receipt {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.agent-receipt {
  grid-column: span 2;
  color: var(--blue-dark);
  background: #eaf4ff;
}

.shared-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid #b8d7e2;
  border-radius: 8px;
  background: #eef8fb;
}

.shared-flow span {
  position: relative;
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.shared-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  width: 8px;
  height: 1px;
  background: #8fb8d1;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading.narrow {
  max-width: 860px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(11, 42, 74, 0.05);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  overflow: hidden;
}

.card-image {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  height: 168px;
  margin: -20px -20px 18px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #edf5fd;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-testing {
  color: var(--blue-dark);
  background: #e7f0fa;
}

.status-preview {
  color: var(--cyan);
  background: #e9f7fb;
}

.status-internal {
  color: #805510;
  background: #fff4d8;
}

.product-code {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-card p,
.download-card p {
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding-left: 18px;
  color: #32445a;
}

.capability-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid article {
  min-height: 100%;
  padding: 20px;
  border: 1px solid #c9d9e9;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f5f9fd);
}

.capability-grid span,
.capability-grid strong {
  display: block;
}

.capability-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.capability-grid strong {
  margin-top: 12px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.35;
}

.capability-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.proof-list article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.proof-list span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.proof-list strong {
  color: var(--navy);
}

.image-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.image-mosaic figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.07);
}

.image-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 154px;
  object-fit: cover;
}

.image-mosaic .mosaic-large {
  grid-column: span 2;
}

.image-mosaic .mosaic-large img {
  aspect-ratio: 16 / 8;
  min-height: 210px;
}

.teaching-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.teaching-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.teaching-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.07);
}

.teaching-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: #edf5fd;
}

.teaching-card figcaption {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.teaching-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.teaching-card strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
}

.heritage-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.heritage-gallery figure {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.07);
}

.heritage-gallery img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #edf5fd;
  border-bottom: 1px solid var(--line);
}

.heritage-gallery strong,
.heritage-gallery span {
  display: block;
  padding-right: 16px;
  padding-left: 16px;
}

.heritage-gallery strong {
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--navy);
}

.heritage-gallery span {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.download-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.access-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.access-flow div {
  min-height: 134px;
  padding: 16px;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #edf5fd);
}

.access-flow span,
.access-flow strong,
.access-flow small {
  display: block;
}

.access-flow span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.access-flow strong {
  margin-top: 16px;
  color: var(--navy);
  font-size: 16px;
}

.access-flow small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.download-card {
  padding: 22px;
}

.fine-print,
.boundary-note {
  color: var(--muted);
  font-size: 14px;
}

.download-list,
.download-static-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.download-item,
.download-static-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
}

.download-item strong,
.download-item span,
.download-static-list strong,
.download-static-list span {
  display: block;
}

.download-item span,
.download-static-list span {
  color: var(--muted);
  font-size: 12px;
}

.download-item em,
.download-placeholder {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.download-placeholder {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfd;
}

.boundary-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: #fff9e8;
}

.security-note {
  display: grid;
  gap: 4px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--cyan);
  background: #edf9fc;
  color: var(--navy);
}

.security-note strong {
  font-size: 15px;
}

.security-note span {
  color: #41566d;
  font-size: 14px;
}

.contact-section {
  background: var(--bg);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #ffffff, #edf5fd),
    #fff;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.07);
}

.contact-panel p {
  max-width: 720px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 0.94fr));
  gap: 16px;
  align-items: stretch;
}

.contact-method-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid #c9d9e9;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 8px 24px rgba(11, 42, 74, 0.05);
}

.contact-method-card span,
.about-contact-grid span,
.ceo-achievement-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.contact-method-card strong,
.about-contact-grid strong,
.ceo-achievement-grid strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.32;
}

.contact-method-card p,
.about-contact-grid p,
.ceo-achievement-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-method-card .button {
  width: fit-content;
  margin-top: 6px;
}

.contact-method-primary {
  color: #dbeeff;
  border-color: #0f4f93;
  background:
    linear-gradient(135deg, rgba(17, 84, 150, 0.92), rgba(10, 34, 58, 0.98)),
    var(--navy);
}

.contact-method-primary span,
.contact-method-primary strong,
.contact-method-primary p {
  color: #fff;
}

.contact-method-primary p {
  color: #d9e8f8;
}

.about-contact-section {
  background: #fff;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-contact-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid #d2e0ee;
  border-radius: 8px;
  background: #f8fbff;
}

.founder-contact-section {
  background: var(--bg);
}

.founder-contact-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #cbdbe9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.07);
}

.founder-contact-card > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  background: #07121f;
}

.founder-contact-card > div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 32px 32px 32px 0;
}

.founder-contact-card h2,
.founder-contact-card p {
  margin: 0;
}

.founder-contact-card > div > p:not(.eyebrow):not(.role-label) {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.role-label {
  color: #27405c;
  font-size: 16px;
  font-weight: 900;
}

.ceo-contact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ceo-contact-strip a,
.ceo-contact-strip div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #b9d0e7;
  border-radius: 8px;
  background: #edf5fd;
}

.ceo-contact-strip a:hover,
.ceo-contact-strip a:focus-visible {
  border-color: #8fb8d1;
  background: #e2f0fb;
  outline: none;
}

.ceo-contact-strip span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.ceo-contact-strip strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.3;
}

.ceo-achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.ceo-achievement-grid article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid #d2e0ee;
  border-radius: 8px;
  background: #f8fbff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 40px;
  color: #dbe9f6;
  background: var(--navy);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: #a9bfd5;
  font-size: 13px;
}

.site-footer .footer-meta {
  margin-top: 4px;
  color: #86a2bf;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.site-footer .footer-meta a,
.site-footer .footer-meta span {
  display: inline;
  color: #a9bfd5;
  font-size: 13px;
  font-weight: 600;
}

.site-footer .footer-meta a:hover,
.site-footer .footer-meta a:focus-visible {
  color: #fff;
  outline: none;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

	  .hero-inner,
	  .page-hero-grid,
	  .company-section,
	  .split-section,
	  .download-layout {
	    grid-template-columns: 1fr;
	  }

  .hero-inner {
    min-height: auto;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
  }

  .product-grid,
  .service-grid,
  .capability-grid,
  .route-grid,
  .feature-grid,
  .bilingual-grid,
  .spec-grid,
  .training-grid,
  .platform-detail-grid,
  .instructor-panel,
  .contact-page-grid,
  .founder-contact-card,
  .myhex-capability-map,
  .heritage-gallery {
    grid-template-columns: 1fr;
  }

  .instructor-panel > img,
  .founder-contact-card > img {
    min-height: 280px;
  }

  .founder-contact-card > div {
    padding: 0 28px 28px;
  }

  .about-contact-grid,
  .ceo-achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shared-flow {
    grid-template-columns: 1fr;
  }

  .shared-flow span:not(:last-child)::after {
    display: none;
  }

  .heritage-gallery img {
    height: 190px;
  }

  .access-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teaching-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    display: grid;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
  }

  .site-nav {
    position: absolute;
    right: 16px;
    top: 64px;
    display: none;
    width: min(260px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #121923;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    padding: 30px 0 34px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  h2 {
    font-size: 22px;
  }

  .trust-strip,
  .evidence-chain,
  .access-flow,
  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .hero-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-actions {
    margin-bottom: 22px;
  }

  .hero-photo figcaption {
    left: 12px;
    bottom: 12px;
    font-size: 22px;
  }

  .image-mosaic .mosaic-large {
    grid-column: auto;
  }

  .evidence-chain div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-chain div:last-child {
    border-bottom: 0;
  }

  .trace-row,
  .download-item {
    grid-template-columns: 1fr;
  }

	  .compact-section,
	  .split-section,
	  .teaching-section,
	  .heritage-section,
	  .download-section,
	  .company-section,
	  .contact-section,
	  .capability-section,
	  .route-section,
	  .page-hero,
	  .page-section {
	    padding: 46px 0;
	  }

  .service-card img,
  .heritage-gallery img {
    height: 168px;
  }

  .myhex-capability-map {
    padding: 12px;
  }

  .thumb-window {
    height: 58px;
  }

  .hero-product-thumb {
    padding: 6px;
  }

  .hero-product-thumb strong {
    font-size: 11px;
  }

  .thumb-desktop i {
    top: 20px;
    height: 30px;
  }

  .thumb-desktop b {
    top: 22px;
  }

  .thumb-desktop em {
    top: 36px;
    height: 14px;
  }

  .thumb-tui {
    gap: 4px;
    padding: 18px 7px 7px;
  }

  .thumb-agent {
    gap: 5px;
    padding: 19px 7px 7px;
  }

  .teaching-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-grid,
  .ceo-contact-strip,
  .ceo-achievement-grid {
    grid-template-columns: 1fr;
  }

  .spec-card header {
    display: grid;
  }

  .instructor-copy {
    padding: 22px;
  }

  .instructor-panel > img,
  .founder-contact-card > img {
    min-height: 220px;
  }

  .founder-contact-card > div {
    padding: 0 22px 22px;
  }

  .contact-method-card .button {
    width: 100%;
  }

  .spec-card dl {
    grid-template-columns: 1fr;
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .desktop-mock,
  .agent-mock,
  .agent-screenshot,
  .product-screenshot {
    min-height: 156px;
  }

  .terminal-mock {
    min-height: 156px;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
    padding: 24px 16px;
  }
}
