:root {
  color-scheme: dark;
  --bg: #071316;
  --bg-soft: #0d1f22;
  --ink: #f4fbf8;
  --muted: #a9bbb7;
  --line: rgba(255, 255, 255, 0.14);
  --teal: #2dd4bf;
  --teal-deep: #0f766e;
  --amber: #f59e0b;
  --coral: #fb7185;
  --violet: #8b5cf6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 18%, rgba(45, 212, 191, 0.18), transparent 26rem),
    radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.12), transparent 22rem),
    linear-gradient(180deg, #071316 0%, #0a171a 54%, #101816 100%);
  color: var(--ink);
  line-height: 1.65;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1rem 0;
  transition: padding 200ms ease, background 200ms ease, backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  padding: 0.75rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 19, 22, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(45, 212, 191, 0.5);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.24), rgba(245, 158, 11, 0.16)),
    rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 0 26px rgba(45, 212, 191, 0.18);
}

.brand-mark svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
}

.mark-orbit {
  stroke: rgba(143, 244, 230, 0.92);
  stroke-width: 2.4;
}

.mark-route {
  stroke: rgba(208, 255, 248, 0.72);
  stroke-width: 1.55;
  stroke-linecap: round;
}

.mark-arrow {
  stroke: var(--amber);
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.site-nav a {
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: #dce9e6;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(45, 212, 191, 0.14);
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86svh;
  margin-top: -4.7rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 19, 22, 0.94) 0%, rgba(7, 19, 22, 0.74) 42%, rgba(7, 19, 22, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 19, 22, 0.12) 40%, #071316 100%),
    url("assets/global-network-hero.png") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 13rem;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #071316 76%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding-top: 6.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 1.25rem 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 47rem;
  margin: 1.25rem 0 0;
  color: #d9e8e4;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.38);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 48px rgba(45, 212, 191, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.summary-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 31rem);
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 0.7rem;
  background: rgba(3, 14, 16, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.summary-panel > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: #d8e7e3;
}

.summary-panel strong {
  color: #ffffff;
  font-size: 1.2rem;
}

.status-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.56);
  animation: pulse 1.8s ease-out infinite;
  flex: 0 0 auto;
}

.quick-strip,
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.2rem 0 4rem;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.055);
}

.metric strong {
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
}

.metric span,
.section-heading p,
.resource-card p,
.brief-item dd,
.faq-item p,
.principle span,
.final-copy p,
.site-footer {
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  position: relative;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.section-heading p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.resource-card,
.brief-item,
.faq-item,
.principle {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.resource-card {
  min-height: 18rem;
  padding: 1.25rem;
}

.entity-brief {
  padding-top: 2rem;
}

.brief-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

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

.brief-item,
.faq-item {
  padding: 1.15rem;
}

.brief-item dt {
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-weight: 800;
}

.brief-item dd {
  margin: 0;
}

.faq-list {
  grid-template-columns: repeat(2, 1fr);
}

.faq-item h3 {
  margin-top: 0;
}

.faq-item p {
  margin-bottom: 0;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: rgba(45, 212, 191, 0.1);
  color: var(--teal);
}

.card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-filter {
  display: grid;
  grid-template-columns: auto minmax(14rem, 28rem);
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.platform-filter label {
  color: #ffffff;
  font-weight: 800;
}

.platform-filter input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.82rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.platform-filter input:focus {
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.platform-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platform-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  color: #e6f1ee;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.platform-cloud span:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(45, 212, 191, 0.09);
}

.platform-cloud span.is-hidden {
  display: none;
}

.compliance {
  padding-top: 3rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle {
  padding: 1.15rem;
}

.principle strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-size: 1.05rem;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.final-copy {
  max-width: 42rem;
}

.final-copy p {
  margin: 0.9rem 0 0;
}

.noscript-link {
  width: 100%;
  color: var(--muted);
}

.noscript-link a {
  color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.06) translate3d(-1.2%, 0.6%, 0);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.75rem rgba(245, 158, 11, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    max-width: 62vw;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 19, 22, 0.78) 0%, rgba(7, 19, 22, 0.52) 45%, #071316 100%),
      url("assets/global-network-hero.png") 62% center / cover no-repeat;
  }

  .quick-strip,
  .resource-grid,
  .brief-grid,
  .faq-list,
  .principles {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 0;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 1rem, var(--max));
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .site-nav a {
    padding: 0.5rem 0.7rem;
    font-size: 0.84rem;
  }

  .hero-content {
    width: min(100% - 1.25rem, var(--max));
    padding-top: 8.1rem;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 4.65rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .btn {
    width: 100%;
    min-height: 3rem;
  }

  .summary-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-strip,
  .section {
    width: min(100% - 1.25rem, var(--max));
  }

  .platform-filter {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 1.25rem, var(--max));
    flex-direction: column;
  }
}

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