/* Technical section seams: quiet hairlines with alternating calibration marks. */
main > div > section:nth-of-type(n + 2):not([class~="border-y"]),
main > div + section:not([class~="border-y"]),
main > section + section:not([class~="border-y"]) {
  --seam-detail: repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.32) 0 1px, transparent 1px 28px);
  background-image:
    linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.24) 12%, rgba(125, 211, 252, 0.5) 50%, rgba(125, 211, 252, 0.24) 88%, transparent),
    var(--seam-detail);
  background-position: center top, center 5px;
  background-repeat: no-repeat, repeat-x;
  background-size: 100% 1px, 100% 1px;
}

main > div > section:nth-of-type(4n + 3):not([class~="border-y"]),
main > section:nth-of-type(4n + 3):not([class~="border-y"]) {
  --seam-detail: repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.38) 0 8px, transparent 8px 18px);
}
main > div > section:nth-of-type(4n + 4):not([class~="border-y"]),
main > section:nth-of-type(4n + 4):not([class~="border-y"]) {
  --seam-detail: radial-gradient(circle, rgba(125, 211, 252, 0.46) 0 1px, transparent 1.3px);
  background-size: 100% 1px, 14px 3px;
}
main > div > section:nth-of-type(4n + 5):not([class~="border-y"]),
main > section:nth-of-type(4n + 5):not([class~="border-y"]) {
  --seam-detail: linear-gradient(90deg, transparent 0 12%, rgba(125, 211, 252, 0.4) 12% 12.2%, transparent 12.2% 87.8%, rgba(125, 211, 252, 0.4) 87.8% 88%, transparent 88%);
}

/* Keep the compact ribbon's top and bottom edges aligned with the seam system. */
main > div > section[class~="border-y"],
main > div + section[class~="border-y"] {
  border-top-color: transparent;
  border-bottom-color: transparent;
  background-image:
    linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.48), transparent),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.34) 0 8px, transparent 8px 18px),
    linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.32), transparent),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.26) 0 1px, transparent 1px 28px);
  background-position: center top, left 4px, center bottom, left calc(100% - 5px);
  background-repeat: no-repeat, repeat-x, no-repeat, repeat-x;
  background-size: 100% 1px, 100% 1px, 100% 1px, 100% 1px;
}

/* Break the coverage experience into three clearly framed cold-chain zones. */
.coverage-zone {
  --zone-accent: #7dd3fc;
  --zone-wash: rgba(8, 35, 65, 0.72);
  position: relative;
  isolation: isolate;
  margin: 1.25rem 0;
  margin-block: 1.25rem;
  padding: 1.5rem;
  padding: clamp(1rem, 2.2vw, 1.65rem);
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 1.5rem;
  background: linear-gradient(110deg, color-mix(in srgb, var(--zone-accent) 14%, #07172a) 0%, #07172a 50%, #010610 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 20px 56px -38px color-mix(in srgb, var(--zone-accent) 55%, transparent);
}
.coverage-zone::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid transparent;
  border-radius: inherit;
  background: linear-gradient(120deg, color-mix(in srgb, var(--zone-accent) 42%, transparent), rgba(8, 28, 49, 0.24) 38%, rgba(4, 14, 29, 0.2) 72%, color-mix(in srgb, var(--zone-accent) 20%, transparent)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  content: "";
  pointer-events: none;
}
.coverage-zone::after {
  position: absolute;
  top: -1px;
  left: clamp(1.5rem, 5vw, 3.5rem);
  width: clamp(4rem, 10vw, 7.5rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--zone-accent), transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--zone-accent) 72%, transparent);
  content: "";
  pointer-events: none;
}
.coverage-zone-overview { --zone-accent: #7dd3fc; --zone-wash: rgba(5, 27, 50, 0.78); }
.coverage-zone-network {
  --zone-accent: #67e8f9;
  --zone-wash: rgba(4, 30, 41, 0.78);
  border-color: rgba(103, 232, 249, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 52px -38px rgba(34, 211, 238, 0.72);
}
.coverage-zone-metrics {
  --zone-accent: #a5f3fc;
  --zone-wash: rgba(6, 25, 48, 0.8);
  border-color: rgba(165, 243, 252, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 52px -38px rgba(103, 232, 249, 0.78);
}
.coverage-zone-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: rgba(224, 242, 254, 0.8);
  font: 800 0.62rem/1 system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.coverage-zone-label > span:first-child {
  display: inline-flex;
  width: 2rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--zone-accent) 40%, transparent);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--zone-accent) 12%, transparent);
  color: var(--zone-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.coverage-zone-rule {
  height: 1px;
  flex: 1;
  margin-left: 0.35rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--zone-accent) 55%, transparent), transparent);
}
.coverage-zone-metrics > .reveal { margin-top: 1rem; }
.coverage-zone .gradient-text .stat-count {
  display: inline-block;
  color: #b6ebff;
  -webkit-text-fill-color: #b6ebff;
  background: none;
  animation: none;
}
.coverage-zone .gradient-text.stat-count {
  color: #b6ebff;
  -webkit-text-fill-color: #b6ebff;
}
@media (max-width: 767px) {
  .coverage-zone { margin-block: 1rem; border-radius: 1.15rem; }
  .coverage-zone-label { margin-bottom: 0.85rem; font-size: 0.58rem; }
}

/* Older engines do not implement CSS color-mix; retain the dark panel and borders. */
@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .coverage-zone {
    background: linear-gradient(110deg, #0b2440 0%, #07172a 50%, #010610 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 20px 40px -32px rgba(56, 189, 248, 0.45);
  }
  .coverage-zone::after { box-shadow: 0 0 14px rgba(125, 211, 252, 0.6); }
  .coverage-zone-label > span:first-child {
    border-color: rgba(125, 211, 252, 0.4);
    background: rgba(125, 211, 252, 0.12);
  }
  .coverage-zone-rule { background: linear-gradient(90deg, rgba(125, 211, 252, 0.55), transparent); }
}
@supports not ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  .coverage-zone::before { display: none; }
  .coverage-zone { border-color: rgba(125, 211, 252, 0.38); }
}

/* Do not rely on the newer @layer syntax for foundational page resets. */
html, body { margin: 0; padding: 0; }
body { overscroll-behavior: none; }
main > :first-child { margin-top: 0 !important; }
main > :last-child { margin-bottom: 0 !important; }

/* Keep the primary navigation available on touch and narrow screens. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10001;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #07172a;
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.bfresh-menu-button {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.bfresh-mobile-menu {
  position: fixed;
  z-index: 49;
  top: 3.5rem;
  right: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(7, 23, 42, 0.97);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.4);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.bfresh-mobile-menu[hidden] { display: none; }
html:not(.js) .bfresh-mobile-menu[hidden] { display: flex; }
.bfresh-mobile-menu a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 0.6rem;
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
}
.bfresh-mobile-menu a:hover,
.bfresh-mobile-menu a:focus-visible { background: rgba(255, 255, 255, 0.1); color: #fff; }
@media (max-width: 640px) {
  header .header-shell { gap: 0.5rem; padding-inline: 0.75rem; }
  header .header-shell > .flex:last-child { gap: 0.35rem; }
  header .header-shell > .flex:last-child > a:last-of-type { padding-inline: 0.65rem; font-size: 0.875rem; }
  .bfresh-menu-button { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }
}
@media (min-width: 1280px) {
  .bfresh-menu-button,
  .bfresh-mobile-menu { display: none !important; }
}
@media (max-width: 1279px) {
  html:not(.js) .bfresh-menu-button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}

:where(h1, h2, h3) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
a:focus, button:focus, input:focus, select:focus, textarea:focus,
[role="button"]:focus, [tabindex]:focus {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}
:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

/* Ensure gradient headlines remain readable where background text clipping is absent. */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .gradient-text {
    background: none !important;
    color: #7dd3fc !important;
    -webkit-text-fill-color: #7dd3fc !important;
    animation: none !important;
  }
}

/* Precision-engineered contrast and depth for the platform capability stack. */
.platform-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f1f7fc;
  background-image:
    linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.24) 12%, rgba(56, 189, 248, 0.48) 50%, rgba(56, 189, 248, 0.24) 88%, transparent),
    repeating-linear-gradient(90deg, rgba(14, 116, 144, 0.12) 0 1px, transparent 1px 28px),
    radial-gradient(ellipse at 50% 66%, rgba(9, 38, 67, 0.13), transparent 62%),
    radial-gradient(ellipse at 88% 12%, rgba(125, 211, 252, 0.32), transparent 38%),
    radial-gradient(ellipse at 6% 84%, rgba(191, 219, 254, 0.48), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(231, 243, 251, 0.84));
  background-position: center top, center 5px, center, center, center, center;
  background-repeat: no-repeat, repeat-x, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 100% 1px, 100% 1px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}
.platform-section::before,
.platform-section::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}
.platform-section::before {
  top: 7rem;
  right: -13rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(56, 189, 248, 0.025), 0 0 0 5rem rgba(56, 189, 248, 0.02);
}
.platform-section::after {
  right: 6%;
  bottom: 3rem;
  width: 8rem;
  height: 8rem;
  opacity: 0.34;
  background-image: radial-gradient(rgba(14, 116, 144, 0.48) 1px, transparent 1.4px);
  background-size: 12px 12px;
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.platform-grid {
  position: relative;
  isolation: isolate;
  perspective: 1200px;
  grid-auto-rows: 1fr;
}
.platform-grid::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 145, 178, 0.28) 12%, rgba(8, 145, 178, 0.48) 50%, rgba(8, 145, 178, 0.28) 88%, transparent);
  content: "";
}
.platform-stack-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(14, 116, 144, 0.2);
  border-bottom: 1px solid rgba(14, 116, 144, 0.2);
  color: #426176;
  font: 700 0.65rem/1.2 system-ui, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.platform-stack-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.platform-stack-signal {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #0891b2;
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1), 0 0 12px rgba(8, 145, 178, 0.42);
}
.platform-stack-count { color: #0e7490; font-variant-numeric: tabular-nums; }
.platform-card {
  --card-rx: 0deg;
  --card-ry: 0deg;
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background:
    linear-gradient(145deg, rgba(5, 20, 40, 0.94), rgba(7, 25, 47, 0.9) 48%, rgba(5, 34, 56, 0.93));
  box-shadow: 0 20px 44px rgba(9, 34, 59, 0.16), 0 4px 12px rgba(9, 34, 59, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(56, 189, 248, 0.13);
  transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 360ms cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 360ms ease, border-color 360ms ease;
  will-change: transform;
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
}
.platform-card:nth-child(1) { --card-accent: #67e8f9; --card-glow: rgba(34, 211, 238, 0.36); }
.platform-card:nth-child(2) { --card-accent: #7dd3fc; --card-glow: rgba(56, 189, 248, 0.34); }
.platform-card:nth-child(3) { --card-accent: #a5f3fc; --card-glow: rgba(103, 232, 249, 0.33); }
.platform-card:nth-child(4) { --card-accent: #93c5fd; --card-glow: rgba(96, 165, 250, 0.34); }
.platform-card:nth-child(5) { --card-accent: #67e8f9; --card-glow: rgba(34, 211, 238, 0.34); }
.platform-card:nth-child(6) { --card-accent: #5eead4; --card-glow: rgba(45, 212, 191, 0.32); }
.platform-card::before,
.platform-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.platform-card::before {
  opacity: 0.32;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), var(--card-glow, rgba(34, 211, 238, 0.32)), transparent 72%);
  transition: opacity 240ms ease;
}
.platform-card::after {
  inset: 1px;
  opacity: 0.86;
  background:
    linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.48) 18%, rgba(103, 232, 249, 0.13) 76%, transparent) 24px 0 / calc(100% - 48px) 1px no-repeat,
    linear-gradient(145deg, rgba(255,255,255,0.17), transparent 25%, transparent 74%, rgba(34,211,238,0.1)),
    radial-gradient(ellipse at 100% 0%, rgba(56,189,248,0.11), transparent 38%);
}
.platform-card > * {
  position: relative;
  z-index: 1;
  transform: translateZ(18px);
}
.platform-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 2.75rem;
}
.platform-card-icon {
  border: 1px solid rgba(125, 211, 252, 0.48);
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.29), rgba(8, 47, 73, 0.5));
  color: var(--card-accent, #a5f3fc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 5px 18px rgba(8, 145, 178, 0.22);
}
.platform-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.platform-card-index {
  color: var(--card-accent, #83dcf8);
  font: 700 0.75rem/1 system-ui, sans-serif;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}
.platform-card-domain {
  color: rgba(185, 217, 235, 0.62);
  font: 700 0.55rem/1 system-ui, sans-serif;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}
.platform-card h3 {
  color: #f0f9ff;
  letter-spacing: -0.015em;
}
.platform-card p {
  flex: 1;
  color: #b5c8d9;
}
.platform-card-foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 210, 235, 0.2);
  color: rgba(198, 222, 238, 0.76);
  font: 700 0.58rem/1.2 system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.platform-card-foot::before {
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--card-accent, #67e8f9);
  box-shadow: 0 0 10px var(--card-glow, rgba(103, 232, 249, 0.72));
  content: "";
}
@media (hover: hover) and (pointer: fine) {
  .platform-card:hover {
    z-index: 2;
    border-color: rgba(103, 232, 249, 0.72);
    box-shadow: 0 28px 56px rgba(9, 34, 59, 0.28), 0 0 28px rgba(34, 211, 238, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(56, 189, 248, 0.2);
    transform: perspective(900px) rotateX(var(--card-rx)) rotateY(var(--card-ry)) translateY(-5px) translateZ(0);
  }
  .platform-card:hover::before { opacity: 0.9; }
}
@media (max-width: 767px) {
  .platform-stack-bar { align-items: flex-start; flex-direction: column; gap: 0.65rem; margin-top: 1.5rem; }
  .platform-card { min-height: 0; }
}
@media (max-width: 767px) {
  .platform-grid::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .platform-card { transform: none !important; will-change: auto; }
}

html.instant-scroll { scroll-behavior: auto !important; }
.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 999px;
  background: #0b1220;
  color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.42);
  font: 600 0.875rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top span:first-child { color: #7dd3fc; font-size: 1.15rem; line-height: 0.8; }
@media print {
  html, body { background: #fff !important; color: #111 !important; scroll-behavior: auto !important; }
  header, #mobile-menu, #temp-rail, .back-to-top, .marquee, #intro, canvas { display: none !important; }
  main { min-height: 0 !important; padding-top: 0 !important; }
  main section, footer { background: #fff !important; background-image: none !important; color: #111 !important; box-shadow: none !important; }
  main section *, footer * { color: #111 !important; background-color: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  html.js main .reveal, html.js main .reveal-group > *, html.js main .hero-anim { opacity: 1 !important; transform: none !important; animation: none !important; }
  a { color: #111 !important; text-decoration: underline; }
  main .rounded-xl, main .rounded-2xl, main .rounded-3xl { break-inside: avoid; page-break-inside: avoid; }
}
