:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-soft: #eaf1ff;
  --color-secondary: #047857;
  --color-secondary-soft: #dff8ee;
  --color-ink: #0b1324;
  --color-ink-soft: #334155;
  --color-muted: #5b687a;
  --color-surface: #ffffff;
  --color-surface-soft: #f1f5f9;
  --color-background: #f7f9fc;
  --color-border: #dce4ef;
  --color-border-dark: #253248;
  --color-warning: #b45309;
  --color-danger: #be123c;
  --font-display: "Space Grotesk", "Manrope", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-small: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-medium: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius-small: 12px;
  --radius-medium: 20px;
  --radius-large: 32px;
  --container: 1200px;
  --header-height: 76px;
  --ease-standard: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a,
video {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img,
svg,
video {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: #bfd4ff;
  color: var(--color-ink);
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface-soft);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 var(--color-surface-soft);
  }
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--color-ink);
  color: white;
  transform: translateY(-150%);
  transition: transform var(--ease-standard);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 8vw, 112px);
}

.viewport-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100svh - var(--header-height));
  align-items: center;
}

.section-frame {
  /* Removed width: 100% to allow .container max-width */
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #93b7ff;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-heading h2,
.impact-copy h2,
.partner-shell h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading > p:last-child,
.section-heading-wide > p {
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-heading-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 72px;
  max-width: none;
}

.section-heading-wide > p {
  margin-top: 0;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transition: color var(--ease-standard), background-color var(--ease-standard), border-color var(--ease-standard), box-shadow var(--ease-standard), transform 120ms ease;
  touch-action: manipulation;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--color-primary);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
  color: white;
}

.button-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.button-dark {
  background: var(--color-ink);
  color: white;
}

.button-dark:hover {
  background: #1a2940;
}

.button-ghost {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-ink);
}

.button-ghost:hover {
  border-color: #b8c5d8;
  background: white;
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.82rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  color: white;
  backdrop-filter: none;
  transition: background-color var(--ease-standard), border-color var(--ease-standard), box-shadow var(--ease-standard);
}

.site-header.is-scrolled {
  border-color: rgba(220, 228, 239, 0.86);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  color: var(--color-ink);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name strong {
  color: var(--color-primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
  color: var(--color-ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-header:not(.is-scrolled) .desktop-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-header:not(.is-scrolled) .desktop-nav a:hover,
.site-header:not(.is-scrolled) .desktop-nav a[aria-current] {
  color: white;
}

.site-header:not(.is-scrolled) .brand img {
  content: url("../assets/image/LOGO_Ngang_transparent-darkmode.png");
}

.site-header:not(.is-scrolled) .desktop-cta {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  backdrop-filter: blur(12px);
}

.desktop-nav a[aria-current]::after {
  transform: scaleX(1);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease-standard);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #07101f;
  color: white;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.025);
  will-change: transform;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.96) 0%, rgba(5, 12, 24, 0.88) 32%, rgba(5, 12, 24, 0.48) 58%, rgba(5, 12, 24, 0.18) 78%),
    linear-gradient(180deg, rgba(5, 12, 24, 0.28), transparent 48%, rgba(5, 12, 24, 0.72));
}

.hero-shell {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: clamp(40px, 7vh, 72px);
}

.hero-copy {
  width: min(56%, 670px);
}

.hero .eyebrow {
  color: #b7ceff;
}

.hero .eyebrow-dot {
  background: #78a3ff;
  box-shadow: 0 0 0 6px rgba(120, 163, 255, 0.18);
}

.hero h1 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8.2vw, 8.4rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero h1 span {
  color: #8fb4ff;
}

.hero-mantra {
  margin-top: 28px;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 610px;
  margin-top: 18px;
  color: rgba(231, 238, 249, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.72;
}

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

.hero .button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(12px);
}

.hero .button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.17);
}

.hero-values {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(34px, 5vh, 52px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(7, 16, 31, 0.48);
  backdrop-filter: blur(16px);
}

.hero-values div {
  min-width: 0;
  padding: 17px 18px;
}

.hero-values div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-values dt {
  color: #8fb4ff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-values dd {
  margin-top: 7px;
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.problem {
  background: var(--color-surface);
}

.step-icon,
.stakeholder-icon,
.trust-icon {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.step-icon svg,
.stakeholder-icon svg,
.trust-icon svg {
  width: 24px;
  height: 24px;
}

.problem-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.problem-copy h2 {
  max-width: 700px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.problem-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 22px;
  color: var(--color-muted);
  font-size: 1rem;
}

.capacity-story {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #1c2b42;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 82% 12%, rgba(37, 99, 235, 0.28), transparent 32%),
    var(--color-ink);
  box-shadow: var(--shadow-medium);
  color: white;
}

.capacity-context,
.capacity-commitment {
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #3b4c65;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  color: #9fc0ff;
}

.story-avatar svg,
.capacity-commitment svg {
  width: 24px;
  height: 24px;
}

.capacity-context > span:last-child,
.capacity-commitment > span {
  display: flex;
  flex-direction: column;
}

.capacity-context small,
.capacity-commitment small {
  color: #8fa0b7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.capacity-context strong,
.capacity-commitment strong {
  margin-top: 2px;
  font-size: 0.9rem;
}

.capacity-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-block: 28px;
}

.capacity-flow article {
  min-width: 0;
  padding: 24px;
  border: 1px solid #2b3a51;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.capacity-flow article > span {
  color: #9cabbf;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capacity-flow article strong {
  display: block;
  margin-top: 16px;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.capacity-flow article p {
  margin-top: 10px;
  color: #aab6c7;
  font-size: 0.76rem;
  font-weight: 700;
}

.capacity-flow .capacity-bookable {
  border-color: rgba(76, 132, 255, 0.62);
  background: rgba(37, 99, 235, 0.14);
}

.capacity-bookable strong {
  color: #8fb4ff !important;
}

.flow-change {
  display: grid;
  width: 74px;
  justify-items: center;
  gap: 7px;
  color: #7f91a9;
  text-align: center;
}

.flow-change svg {
  width: 28px;
  height: 28px;
}

.flow-change span {
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.capacity-commitment {
  padding: 17px 18px;
  border: 1px solid rgba(52, 211, 153, 0.34);
  border-radius: 16px;
  background: rgba(5, 150, 105, 0.1);
}

.capacity-commitment svg {
  flex: 0 0 auto;
  color: #58d5ac;
}

.capacity-commitment strong {
  color: #d9f9ed;
}

.problem-conclusion {
  max-width: 920px;
  margin-top: clamp(34px, 5vw, 54px);
  padding-left: 24px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
}

.solution {
  background: var(--color-background);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 56px;
  border-block: 1px solid var(--color-border);
}

.journey-step {
  position: relative;
  min-height: 248px;
  padding: 30px 26px 30px 0;
}

.journey-step:not(:first-child) {
  padding-left: 26px;
  border-left: 1px solid var(--color-border);
}

.step-number {
  position: absolute;
  top: 30px;
  right: 24px;
  color: #94a3b8;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.step-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  border-radius: 12px;
}

.journey-step h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.journey-step p {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.product-demo {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-surface);
  box-shadow: var(--shadow-medium);
}

.demo-sidebar {
  position: relative;
  z-index: 2;
  padding: 28px;
  border-right: 1px solid var(--color-border);
  background: white;
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.demo-topbar > span:last-child {
  margin-left: auto;
  color: #94a3b8;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px var(--color-primary-soft);
}

.destination-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-background);
}

.destination-field > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--color-primary);
}

.destination-field > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.destination-field small {
  color: #7b8798;
  font-size: 0.63rem;
  font-weight: 700;
}

.destination-field strong {
  overflow: hidden;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  color: #7b8798;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-label span:last-child {
  color: var(--color-primary-dark);
}

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

.match-card {
  display: flex;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: white;
  transition: border-color var(--ease-standard), background-color var(--ease-standard), transform var(--ease-standard);
}

.match-card.is-selected {
  border-color: #8db2ff;
  background: #f3f7ff;
  transform: translateX(6px);
}

.match-rank {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: #64748b;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.is-selected .match-rank {
  background: var(--color-primary);
  color: white;
}

.match-content {
  min-width: 0;
  flex: 1;
}

.match-title,
.match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.match-title strong {
  overflow: hidden;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-title > span {
  flex: 0 0 auto;
  color: var(--color-primary-dark);
  font-size: 0.64rem;
  font-weight: 800;
}

.match-card p {
  margin-top: 4px;
  color: #7b8798;
  font-size: 0.65rem;
}

.match-meta {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--color-border);
  color: #475569;
  font-size: 0.62rem;
  font-weight: 700;
}

.match-meta .available,
.match-meta .updated {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.match-meta i,
.map-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.available i,
.legend-live {
  background: #059669;
}

.updated i,
.legend-update {
  background: #d97706;
}

.demo-map {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background-color: #eaf0f7;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px);
  background-size: 32px 32px;
}

.demo-map::before,
.demo-map::after {
  content: "";
  position: absolute;
  border: 18px solid rgba(255, 255, 255, 0.7);
  border-radius: 35%;
}

.demo-map::before {
  top: 38px;
  right: 50px;
  width: 180px;
  height: 130px;
  transform: rotate(-8deg);
}

.demo-map::after {
  bottom: 70px;
  left: 80px;
  width: 140px;
  height: 190px;
  transform: rotate(14deg);
}

.map-road {
  position: absolute;
  z-index: 1;
  background: white;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.road-a {
  top: 42%;
  left: -10%;
  width: 125%;
  height: 48px;
  transform: rotate(-17deg);
}

.road-b {
  top: -10%;
  left: 49%;
  width: 50px;
  height: 125%;
  transform: rotate(12deg);
}

.road-c {
  top: 66%;
  left: -8%;
  width: 120%;
  height: 34px;
  transform: rotate(8deg);
}

.route-line {
  position: absolute;
  z-index: 3;
  inset: 8% 4% 9% 3%;
  width: 93%;
  height: 83%;
  filter: drop-shadow(0 3px 2px rgba(37, 99, 235, 0.18));
}

.map-pin,
.destination-pin {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 6px 8px rgba(15, 23, 42, 0.18));
}

.map-pin {
  width: 40px;
  height: 40px;
  border: 5px solid white;
  border-radius: 50% 50% 50% 10%;
  background: var(--color-primary);
  color: white;
  transform: rotate(-45deg);
}

.map-pin b {
  font-family: var(--font-display);
  font-size: 0.72rem;
  transform: rotate(45deg);
}

.pin-a { top: 19%; right: 15%; }
.pin-b { top: 43%; left: 42%; }
.pin-c { bottom: 16%; left: 12%; background: #d97706; }

.destination-pin {
  right: 10%;
  bottom: 14%;
  width: 50px;
  height: 50px;
  color: var(--color-ink);
}

.map-legend {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid white;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(12px);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #526075;
  font-size: 0.61rem;
  font-weight: 800;
}

.network {
  background: var(--color-surface);
}

.tier-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 36px;
}

.tier-rail {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #e2e8f0;
}

.tier-rail span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #94a3b8, #2563eb 62%, #059669);
  transform-origin: left;
}

.tier-card {
  position: relative;
  min-height: 320px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-background);
}

.tier-card::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 24px;
  width: 12px;
  height: 12px;
  border: 4px solid white;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 2px #94a3b8;
}

.tier-card:nth-of-type(3)::before,
.tier-card:nth-of-type(4)::before {
  background: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.tier-card-featured {
  border-color: #acd9cb;
  background: #f1fbf7;
}

.tier-card-featured::before {
  background: var(--color-secondary) !important;
  box-shadow: 0 0 0 2px var(--color-secondary) !important;
}

.tier-number {
  color: #94a3b8;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.tier-card-featured .tier-number {
  color: var(--color-secondary);
}

.tier-copy {
  margin-top: 40px;
}

.tier-copy > p {
  color: var(--color-primary-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-copy h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.tier-copy > span {
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.tier-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
}

.tier-neutral { background: #e2e8f0; color: #475569; }
.tier-info { background: #fff0d4; color: #92400e; }
.tier-live { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.tier-safe { background: var(--color-secondary-soft); color: #046c50; }

.stakeholders {
  background: #eef3f9;
}

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

.stakeholder-card {
  min-height: 430px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: white;
}

.owner-card {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: white;
}

.stakeholder-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 46px;
  border-radius: 16px;
}

.owner-card .stakeholder-icon {
  background: var(--color-primary);
  color: white;
}

.city-card .stakeholder-icon {
  background: var(--color-secondary-soft);
  color: var(--color-secondary);
}

.stakeholder-card > p {
  color: var(--color-primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner-card > p {
  color: #93b7ff;
}

.stakeholder-card h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.stakeholder-card ul {
  display: grid;
  gap: 13px;
  margin-top: 38px;
  list-style: none;
}

.stakeholder-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.owner-card li {
  color: #c2ccda;
}

.stakeholder-card li svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owner-card li svg {
  stroke: #58d5ac;
}

.technology {
  background: white;
}

.proof {
  background: #eef3f9;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
}

.capability-card {
  display: grid;
  min-height: 270px;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: white;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.capability-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 12px;
  background: #07101f;
  object-fit: contain;
  filter: saturate(0.92) contrast(1.03);
  transition: filter 320ms ease, transform 420ms ease;
}

.capability-card:hover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.015);
}

.capability-card > div {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  padding: 26px;
}

.capability-card span {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
}

.capability-card h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.capability-card p {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.demo-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 56px;
  padding: 50px;
  border-radius: var(--radius-large);
  background: var(--color-ink);
  color: white;
}

.demo-lab-copy h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.demo-lab-copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: #b9c4d3;
  font-size: 0.92rem;
}

.video-tabs {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.video-tabs button {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  background: transparent;
  color: #b9c4d3;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: left;
  transition: border-color var(--ease-standard), background-color var(--ease-standard), color var(--ease-standard);
}

.video-tabs button:hover {
  border-color: #48607f;
  color: white;
}

.video-tabs button[aria-selected="true"] {
  border-color: #558cff;
  background: rgba(37, 99, 235, 0.18);
  color: white;
}

.video-tabs button span {
  color: #7e8ca1;
  font-family: var(--font-display);
  font-size: 0.66rem;
}

.video-tabs button[aria-selected="true"] span {
  color: #93b7ff;
}

.video-stage {
  align-self: center;
  min-width: 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: 20px;
  background: #030712;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
  object-fit: contain;
}

.video-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11, 19, 36, 0.84);
  color: white;
  font-size: 0.64rem;
  font-weight: 800;
  pointer-events: none;
}

.video-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
}

.video-stage figcaption {
  margin-top: 15px;
  color: #c2ccda;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.impact {
  background: var(--color-background);
}

.impact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 8vw, 110px);
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 18% 15%, rgba(37, 99, 235, 0.22), transparent 35%),
    var(--color-ink);
  color: white;
}

.impact-copy h2 {
  margin-top: 18px;
}

.impact-copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: #bac6d6;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #a9c5ff;
  font-size: 0.84rem;
  font-weight: 800;
}

.text-link:hover {
  color: white;
}

.architecture-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.architecture-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.architecture-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.18);
  color: #93b7ff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
}

.architecture-list strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.architecture-list p {
  margin-top: 5px;
  color: #9faec2;
  font-size: 0.75rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: auto 1.3fr 0.9fr;
  align-items: center;
  gap: 26px;
  margin-top: 18px;
  padding: 28px 32px;
  border: 1px solid #b8ddd1;
  border-radius: var(--radius-medium);
  background: #effaf6;
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: var(--color-secondary-soft);
  color: var(--color-secondary);
}

.trust-strip > div:nth-child(2) p {
  color: var(--color-secondary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip h3 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.trust-strip > div:nth-child(2) > span {
  display: block;
  max-width: 660px;
  margin-top: 8px;
  color: #49665c;
  font-size: 0.78rem;
  line-height: 1.6;
}

.trust-strip ul {
  display: grid;
  gap: 7px;
  color: #3c5a50;
  font-size: 0.76rem;
  font-weight: 700;
  list-style: none;
}

.trust-strip li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  vertical-align: middle;
}

.partner {
  padding-top: 40px;
  background: white;
}

.partner-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  align-items: end;
  gap: 70px;
  padding: clamp(36px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid #c8dafb;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 92% 15%, rgba(37, 99, 235, 0.15), transparent 27%),
    linear-gradient(140deg, #f8fbff, #edf4ff);
}

.partner-shell h2 {
  max-width: 780px;
}

.partner-shell > div:first-child > p:last-child {
  max-width: 710px;
  margin-top: 20px;
  color: var(--color-muted);
}

.partner-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}

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

.partner-actions > span {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.partner-demo-link {
  margin-top: 0;
  color: var(--color-primary-dark);
}

.partner-demo-link:hover {
  color: var(--color-ink);
}

.site-footer {
  padding-top: 80px;
  background: var(--color-ink);
  color: white;
}

.site-footer .brand-name {
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 80px;
  padding-bottom: 60px;
}

.brand-footer {
  margin-bottom: 18px;
}

.footer-main > div:first-child > p {
  max-width: 480px;
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links p {
  margin-bottom: 5px;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 1023px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .desktop-nav,
  .desktop-cta { display: none; }
  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: white;
  }
  .site-header:not(.is-scrolled) .menu-toggle {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(7, 16, 31, 0.36);
    backdrop-filter: blur(12px);
  }
  .site-header:not(.is-scrolled) .menu-toggle span { background: white; }
  .menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-ink);
    transition: transform var(--ease-standard);
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 26px 20px;
    border-top: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.98);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu > a:not(.button) {
    min-height: 54px;
    padding: 14px 10px;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
  }
  .mobile-menu .button { margin-top: 18px; }
  .hero-copy { width: min(72%, 670px); }
  .hero-media img { object-position: 72% center; }
  .problem-story { grid-template-columns: minmax(0, 1fr); }
  .problem-copy { max-width: 820px; }
  .capacity-story { width: min(100%, 820px); }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-step:nth-child(3) { padding-left: 0; border-top: 1px solid var(--color-border); border-left: 0; }
  .journey-step:nth-child(4) { border-top: 1px solid var(--color-border); }
  .product-demo { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .demo-sidebar { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .match-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match-card { min-width: 0; }
  .match-title,
  .match-meta { align-items: flex-start; flex-direction: column; }
  .demo-map { min-height: 480px; }
  .tier-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 0; }
  .tier-rail,
  .tier-card::before { display: none; }
  .stakeholder-grid { grid-template-columns: minmax(0, 1fr); }
  .stakeholder-card { min-height: 0; }
  .stakeholder-icon { margin-bottom: 36px; }
  .capability-card { grid-template-columns: minmax(0, 1fr) minmax(180px, 0.78fr); }
  .demo-lab { grid-template-columns: minmax(0, 1fr); }
  .video-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-tabs button { align-items: flex-start; flex-direction: column; }
  .impact-shell { grid-template-columns: minmax(0, 1fr); }
  .trust-strip { grid-template-columns: auto minmax(0, 1fr); }
  .trust-strip ul { grid-column: 2; }
  .partner-shell { grid-template-columns: minmax(0, 1fr); }
  .partner-actions { align-items: flex-start; }
  .partner-actions .button { width: auto; }
}

@media (max-width: 767px) {
  .viewport-section { min-height: auto; }
  .section { padding-block: 84px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading-wide { display: block; }
  .section-heading-wide > p { margin-top: 20px; }
  .hero-shell {
    align-items: flex-end;
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 42px;
  }
  .hero-copy { width: 100%; }
  .hero-media img { object-position: 69% center; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 12, 24, 0.92), rgba(5, 12, 24, 0.52)),
      linear-gradient(180deg, rgba(5, 12, 24, 0.16), rgba(5, 12, 24, 0.48) 42%, rgba(5, 12, 24, 0.94));
  }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .hero-description { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-values { margin-top: 30px; }
  .hero-values div { padding: 14px 11px; }
  .hero-values dd { font-size: 0.68rem; }
  .problem-story { gap: 40px; }
  .capacity-flow { grid-template-columns: minmax(0, 1fr); }
  .flow-change {
    width: auto;
    grid-template-columns: auto auto;
    justify-content: center;
  }
  .flow-change svg { transform: rotate(90deg); }
  .journey-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-step,
  .journey-step:not(:first-child),
  .journey-step:nth-child(3) { min-height: 0; padding: 24px 0; border-top: 1px solid var(--color-border); border-left: 0; }
  .journey-step:first-child { border-top: 0; }
  .step-icon { margin-bottom: 28px; }
  .product-demo { border-radius: 22px; }
  .demo-sidebar { padding: 20px; }
  .demo-topbar > span:last-child { display: none; }
  .match-label span:last-child { display: none; }
  .match-list { grid-template-columns: minmax(0, 1fr); }
  .match-title,
  .match-meta { align-items: center; flex-direction: row; }
  .demo-map { min-height: 380px; }
  .map-legend { right: 12px; bottom: 12px; left: 12px; justify-content: center; }
  .tier-shell { grid-template-columns: minmax(0, 1fr); }
  .tier-card { min-height: 290px; }
  .tier-copy { margin-top: 34px; }
  .stakeholder-card { padding: 28px; border-radius: 24px; }
  .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .capability-card { grid-template-columns: minmax(0, 1fr); }
  .capability-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .demo-lab { gap: 36px; padding: 28px 20px; border-radius: 24px; }
  .video-tabs { grid-template-columns: minmax(0, 1fr); }
  .video-tabs button { align-items: center; flex-direction: row; }
  .impact-shell { padding: 34px 22px; border-radius: 24px; }
  .architecture-list li { grid-template-columns: 40px 1fr; padding: 16px; }
  .trust-strip { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .trust-strip ul { grid-column: auto; }
  .partner-shell { gap: 38px; padding: 34px 22px; border-radius: 24px; }
  .partner-actions,
  .partner-actions .button { width: 100%; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .brand-name { font-size: 1rem; }
  .hero h1 { font-size: 3.45rem; }
  .hero-mantra { font-size: 0.86rem; }
  .hero-values { grid-template-columns: minmax(0, 1fr); }
  .hero-values div { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; }
  .hero-values div + div { border-top: 1px solid rgba(255, 255, 255, 0.18); border-left: 0; }
  .hero-values dd { margin-top: 0; }
  .match-card.is-selected { transform: none; }
  .map-legend { gap: 10px; padding-inline: 10px; }
  .footer-links { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
