:root {
  color: #f4fbff;
  background: #020306;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #020306;
}

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

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(44, 232, 255, 0.17), transparent 31%),
    linear-gradient(248deg, rgba(255, 42, 93, 0.14), transparent 33%),
    linear-gradient(145deg, #010205 0%, #071018 48%, #010205 100%);
  background-size:
    180% 180%,
    190% 190%,
    100% 100%;
  animation: color-wash 18s ease-in-out infinite;
}

.site-shell::before,
.site-shell::after {
  position: fixed;
  inset: -20vh -16vw;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.site-shell::before {
  background:
    linear-gradient(104deg, transparent 12%, rgba(0, 255, 213, 0.14) 28%, transparent 46%),
    linear-gradient(72deg, transparent 36%, rgba(255, 57, 123, 0.12) 54%, transparent 72%);
  filter: blur(32px);
  opacity: 0.72;
  transform: translate3d(-8%, 0, 0) rotate(-7deg);
  animation: aurora-sweep 24s ease-in-out infinite;
}

.site-shell::after {
  background:
    repeating-linear-gradient(
      112deg,
      transparent 0 8rem,
      rgba(127, 237, 255, 0.05) 8rem 8.08rem,
      transparent 8.08rem 15rem
    );
  opacity: 0.62;
  mix-blend-mode: screen;
  animation: grid-sheen 16s linear infinite;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.atmosphere::before,
.atmosphere::after {
  position: absolute;
  inset: -12%;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    radial-gradient(circle, rgba(76, 225, 255, 0.28) 1px, transparent 1px);
  background-size:
    92px 92px,
    148px 148px;
  background-position:
    0 0,
    28px 54px;
  opacity: 0.24;
  animation: drift 60s linear infinite;
}

.atmosphere::after {
  opacity: 0.12;
  animation-duration: 84s;
  animation-direction: reverse;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(117, 233, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-16deg);
  animation: orbit 36s linear infinite;
}

.orbit-one {
  inset: 12% 8% 14% 22%;
}

.orbit-two {
  inset: 24% 22% 22% 36%;
  animation-duration: 28s;
  animation-direction: reverse;
}

.orbit-three {
  inset: 38% 40% 34% 12%;
  border-color: rgba(255, 70, 113, 0.12);
  animation-duration: 44s;
}

.route {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 241, 255, 0.5), transparent);
  transform-origin: center;
  animation: route-scan 6s ease-in-out infinite;
}

.route-a {
  top: 30%;
  left: 10%;
  width: 62vw;
  transform: rotate(-18deg);
}

.route-b {
  top: 60%;
  right: 4%;
  width: 58vw;
  transform: rotate(14deg);
  animation-delay: -2s;
}

.route-c {
  bottom: 20%;
  left: 18%;
  width: 44vw;
  transform: rotate(34deg);
  animation-delay: -4s;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(145, 239, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(127, 237, 255, 0.1), transparent 34%, rgba(255, 42, 93, 0.08)),
    rgba(2, 5, 10, 0.68);
  backdrop-filter: blur(24px);
}

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

.brand span {
  width: 34px;
  aspect-ratio: 1;
  border: 1px solid rgba(129, 239, 255, 0.75);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(58, 219, 255, 0.1) 35%, transparent 36%);
  box-shadow: 0 0 28px rgba(60, 222, 255, 0.36);
  animation: badge-pulse 3.8s ease-in-out infinite;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px clamp(12px, 2.4vw, 28px);
}

.nav nav a {
  position: relative;
  color: rgba(232, 249, 255, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav nav a:hover {
  color: #ffffff;
}

.nav nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, #7feaff, #ff5d8f);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

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

main {
  position: relative;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  padding: 112px clamp(18px, 5vw, 72px) 42px;
}

.hero::before,
.labs::before,
.why-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(127, 237, 255, 0.08) 26%, transparent 38%),
    linear-gradient(250deg, transparent 0 42%, rgba(255, 42, 93, 0.08) 58%, transparent 72%);
  opacity: 0.74;
  animation: page-wash 13s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: rise-in 700ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: #7feaff;
  font-size: 0.75rem;
  letter-spacing: 0.24rem;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 9.5rem);
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 34px rgba(127, 237, 255, 0.18),
    0 0 72px rgba(255, 42, 93, 0.1);
}

.signal-line {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(226, 246, 255, 0.78);
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.audience-line {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(127, 237, 255, 0.24);
  color: #7feaff;
  background: rgba(5, 17, 26, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stack-groups {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.stack-group {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(127, 237, 255, 0.06), transparent 40%),
    rgba(2, 9, 15, 0.48);
}

.stack-group::before,
.stack-detail::before,
.build-starter::before,
.why-grid article::before,
.capability-groups section::before,
.build-recovery::before,
.platform article::before,
.contact::before,
.request-mode-gate button::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(118deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 48%, transparent 62%);
  opacity: 0;
  transform: translateX(-42%);
  transition:
    opacity 220ms ease,
    transform 640ms ease;
}

.stack-group:hover::before,
.stack-detail:hover::before,
.build-starter:hover::before,
.why-grid article:hover::before,
.capability-groups section:hover::before,
.build-recovery:hover::before,
.platform article:hover::before,
.contact:hover::before,
.request-mode-gate button:hover::before {
  opacity: 1;
  transform: translateX(42%);
}

.stack-group strong {
  color: #7feaff;
  font-size: 0.66rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.recovery-prompt p {
  margin: 0;
  color: rgba(226, 246, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.35;
}

.stack-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.stack-group button {
  appearance: none;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  color: rgba(238, 251, 255, 0.68);
  background: rgba(5, 17, 26, 0.26);
  cursor: pointer;
  font: inherit;
  font-size: 0.6rem;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.stack-layer-group button {
  min-height: 34px;
  border-color: rgba(127, 237, 255, 0.2);
  color: rgba(244, 251, 255, 0.82);
}

.stack-group button:hover,
.stack-group button:focus-visible,
.stack-group button.active {
  border-color: rgba(127, 237, 255, 0.72);
  color: #ffffff;
  background: rgba(91, 228, 255, 0.12);
  box-shadow: 0 0 22px rgba(60, 222, 255, 0.16);
  transform: translateY(-1px);
}

.stack-group button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 2px;
}

.empty-stack {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  color: rgba(226, 246, 255, 0.58);
  background: rgba(5, 17, 26, 0.28);
  font-size: 0.66rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.reset-stack {
  appearance: none;
  min-height: 38px;
  border: 1px solid rgba(255, 42, 93, 0.28);
  color: rgba(255, 220, 228, 0.78);
  background: rgba(255, 42, 93, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.reset-stack:hover,
.reset-stack:focus-visible {
  border-color: rgba(255, 86, 125, 0.72);
  color: #ffffff;
  background: rgba(255, 42, 93, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.stack-detail {
  position: sticky;
  overflow: hidden;
  top: 96px;
  min-width: 0;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid rgba(127, 237, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(127, 237, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 42, 93, 0.08), transparent 58%),
    rgba(3, 11, 18, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 32px 90px rgba(0, 0, 0, 0.26);
}

.stack-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.stack-detail span,
.stack-detail small,
.stack-detail-head strong,
.stack-facts b {
  color: rgba(127, 237, 255, 0.82);
  font-size: 0.66rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.stack-detail-head strong {
  padding: 8px 10px;
  border: 1px solid rgba(127, 237, 255, 0.18);
  color: #031015;
  background: #80edff;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(127, 237, 255, 0.32);
}

.stack-detail h2 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 6vw, 7rem);
  line-height: 0.82;
}

.stack-detail p {
  max-width: 780px;
  margin: 0;
  color: rgba(226, 246, 255, 0.84);
  font-size: clamp(0.98rem, 1.55vw, 1.18rem);
  letter-spacing: 0;
  line-height: 1.42;
  text-transform: none;
}

.stack-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.stack-facts section {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  background: rgba(3, 11, 18, 0.92);
}

.stack-facts p {
  max-width: none;
  color: rgba(226, 246, 255, 0.76);
  font-size: 0.96rem;
}

.stack-detail small {
  display: block;
  margin-top: 18px;
  color: rgba(226, 246, 255, 0.46);
}

.build-starter {
  position: sticky;
  overflow: hidden;
  top: 96px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(127, 237, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 42, 93, 0.08), transparent 46%),
    rgba(3, 11, 18, 0.78);
}

.build-starter-head {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.build-starter-head span,
.starter-stack strong,
.starter-form span {
  color: rgba(127, 237, 255, 0.82);
  font-size: 0.64rem;
  letter-spacing: 0.13rem;
  text-transform: uppercase;
}

.build-starter-head button,
.starter-form button {
  appearance: none;
  min-height: 38px;
  border: 1px solid rgba(127, 237, 255, 0.2);
  color: rgba(244, 251, 255, 0.84);
  background: rgba(5, 17, 26, 0.44);
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.build-starter-head button:hover,
.build-starter-head button:focus-visible,
.build-starter-head button.active,
.starter-form button:hover,
.starter-form button:focus-visible {
  border-color: rgba(127, 237, 255, 0.72);
  color: #031015;
  background: #80edff;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(127, 237, 255, 0.24);
  outline: none;
}

.starter-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.starter-stack div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(2, 9, 15, 0.42);
}

.starter-chip,
.starter-mode {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(127, 237, 255, 0.18);
  color: rgba(244, 251, 255, 0.78);
  background: rgba(127, 237, 255, 0.08);
  font-size: 0.6rem;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
}

.starter-chip {
  cursor: pointer;
  font: inherit;
}

.starter-chip:hover,
.starter-chip:focus-visible {
  border-color: rgba(255, 86, 125, 0.72);
  color: #ffffff;
  background: rgba(255, 42, 93, 0.14);
  outline: none;
}

.starter-mode {
  display: inline-grid;
  place-items: center;
}

.starter-estimate {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.starter-estimate label {
  display: grid;
  gap: 6px;
}

.starter-estimate span,
.estimate-grid span {
  color: rgba(127, 237, 255, 0.82);
  font-size: 0.64rem;
  letter-spacing: 0.13rem;
  text-transform: uppercase;
}

.starter-estimate input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(127, 237, 255, 0.16);
  color: #f4fbff;
  background: rgba(2, 9, 15, 0.72);
  font: inherit;
  font-size: 0.92rem;
}

.starter-estimate input:focus {
  border-color: rgba(127, 237, 255, 0.74);
  outline: none;
}

.estimate-grid {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.estimate-grid section {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: rgba(3, 11, 18, 0.92);
}

.estimate-grid strong {
  color: #ffffff;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.starter-estimate p {
  margin: 0;
  color: rgba(226, 246, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1.35;
}

.starter-form {
  display: grid;
  gap: 10px;
}

.starter-form label {
  display: grid;
  gap: 6px;
}

.starter-form input,
.starter-form textarea {
  width: 100%;
  border: 1px solid rgba(127, 237, 255, 0.16);
  color: #f4fbff;
  background: rgba(2, 9, 15, 0.72);
  font: inherit;
  font-size: 0.92rem;
}

.starter-form .request-check {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.starter-form input {
  min-height: 38px;
  padding: 0 10px;
}

.starter-form textarea {
  min-height: 96px;
  resize: vertical;
  padding: 10px;
}

.starter-form input:focus,
.starter-form textarea:focus {
  border-color: rgba(127, 237, 255, 0.74);
  outline: none;
}

.primary-action,
.ghost-action {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0 20px;
  border: 1px solid rgba(127, 237, 255, 0.34);
  font-size: 0.78rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.primary-action::before,
.ghost-action::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0 35%, rgba(255, 255, 255, 0.42) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 560ms ease;
}

.primary-action:hover,
.primary-action:focus-visible,
.ghost-action:hover,
.ghost-action:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.primary-action:hover::before,
.primary-action:focus-visible::before,
.ghost-action:hover::before,
.ghost-action:focus-visible::before {
  transform: translateX(120%);
}

.primary-action {
  color: #031015;
  background: linear-gradient(90deg, #80edff, #a8fff0);
  box-shadow: 0 0 32px rgba(60, 222, 255, 0.28);
}

.ghost-action {
  color: #effcff;
  background:
    linear-gradient(90deg, rgba(127, 237, 255, 0.1), rgba(255, 42, 93, 0.08)),
    rgba(5, 17, 26, 0.68);
}

.request-received-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 6vw 80px;
}

.request-received {
  width: min(920px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(34px, 6vw, 78px);
  border: 1px solid rgba(127, 237, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(127, 237, 255, 0.12), transparent 36%),
    linear-gradient(315deg, rgba(255, 42, 93, 0.11), transparent 42%),
    rgba(3, 10, 16, 0.74);
  box-shadow: 0 0 80px rgba(0, 255, 255, 0.08);
}

.request-received p,
.request-received em {
  margin: 0;
}

.request-received p {
  color: rgba(127, 237, 255, 0.84);
  font-size: 0.72rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
}

.request-received h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.request-received strong {
  color: #f8fbff;
  font-size: clamp(1.1rem, 2.5vw, 1.85rem);
  line-height: 1.15;
}

.request-received em {
  max-width: 680px;
  color: rgba(226, 246, 255, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-style: normal;
  line-height: 1.45;
}

.request-received div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.portal-page {
  min-height: 100vh;
  padding: 132px clamp(18px, 5vw, 72px) 64px;
}

.portal-shell {
  display: grid;
  gap: 24px;
}

.portal-head {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.portal-head p,
.portal-client-card p,
.portal-project-top p,
.portal-login p,
.portal-metrics span,
.portal-details dt {
  margin: 0;
  color: #7feaff;
  font-size: 0.7rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.portal-head h1 {
  margin: 0;
  color: #f4fbff;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.portal-head span {
  color: rgba(232, 249, 255, 0.68);
}

.portal-panel,
.portal-login,
.portal-client-card,
.portal-project-card {
  border: 1px solid rgba(127, 237, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(127, 237, 255, 0.08), transparent 44%),
    rgba(3, 12, 19, 0.76);
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.06);
}

.portal-panel,
.portal-login {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 5vw, 36px);
}

.portal-login h2,
.portal-client-card h2,
.portal-project-card h2 {
  margin: 0;
  color: #f4fbff;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.portal-login label,
.portal-message-form label {
  display: grid;
  gap: 7px;
}

.portal-login label span,
.portal-message-form label span {
  color: #7feaff;
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.portal-login input,
.portal-message-form input,
.portal-message-form textarea {
  min-height: 48px;
  border: 1px solid rgba(127, 237, 255, 0.18);
  padding: 0 12px;
  color: #f4fbff;
  background: rgba(2, 9, 15, 0.78);
  font: inherit;
}

.portal-message-form textarea {
  min-height: 180px;
  padding-block: 12px;
  resize: vertical;
}

.portal-login button,
.portal-client-card button,
.portal-message-form button {
  min-height: 46px;
  border: 1px solid rgba(127, 237, 255, 0.36);
  padding: 0 16px;
  color: #031015;
  background: linear-gradient(90deg, #80edff, #a8fff0);
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  cursor: pointer;
}

.portal-message-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.portal-error {
  border: 1px solid rgba(255, 79, 122, 0.3);
  padding: 10px 12px;
  color: #ffd7e0;
  background: rgba(255, 79, 122, 0.1);
}

.portal-dashboard {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.portal-client-card,
.portal-project-card,
.portal-workspace {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.portal-client-card {
  align-self: stretch;
  align-content: start;
}

.portal-workspace {
  min-height: 520px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  background: rgba(1, 8, 14, 0.52);
}

.portal-view[hidden] {
  display: none;
}

.portal-nav {
  display: grid;
  gap: 8px;
  margin: 6px 0;
}

.portal-nav button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  padding: 0 12px;
  color: rgba(232, 249, 255, 0.74);
  background: rgba(2, 9, 15, 0.5);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.1rem;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.portal-nav button.active,
.portal-nav button:hover {
  border-color: rgba(127, 237, 255, 0.38);
  color: #031015;
  background: linear-gradient(90deg, #80edff, #a8fff0);
}

.portal-client-card span,
.portal-details dd,
.portal-panel p {
  margin: 0;
  color: rgba(232, 249, 255, 0.68);
  line-height: 1.45;
}

.portal-project-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.portal-project-top > span {
  border: 1px solid rgba(127, 237, 255, 0.24);
  padding: 7px 9px;
  color: #a8fff0;
  background: rgba(127, 237, 255, 0.08);
  font-size: 0.66rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.portal-metrics article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  padding: 12px;
  background: rgba(2, 9, 15, 0.46);
}

.portal-metrics strong {
  color: #f4fbff;
  font-size: 0.9rem;
}

.portal-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.portal-details div {
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(127, 237, 255, 0.1);
  padding-top: 10px;
}

.portal-details a {
  color: #a8fff0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.portal-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(232, 249, 255, 0.68);
  line-height: 1.55;
}

.portal-action,
.portal-action-empty {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  border: 1px solid rgba(127, 237, 255, 0.28);
  padding: 0 18px;
  color: #031015;
  background: linear-gradient(90deg, #80edff, #a8fff0);
  font-size: 0.76rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.portal-action-empty {
  color: rgba(232, 249, 255, 0.68);
  background: rgba(2, 9, 15, 0.58);
}

.portal-status-list {
  display: grid;
  gap: 10px;
}

.portal-status-list article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  padding: 14px;
  background: rgba(2, 9, 15, 0.46);
}

.portal-status-list span {
  color: #7feaff;
  font-size: 0.7rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.portal-status-list strong {
  color: #f4fbff;
  font-size: 1rem;
  line-height: 1.4;
}

.portal-notifications {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(168, 255, 240, 0.16);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(168, 255, 240, 0.07), transparent 48%),
    rgba(2, 9, 15, 0.42);
}

.portal-notifications[hidden] {
  display: none;
}

.portal-notifications > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  border-bottom: 1px solid rgba(127, 237, 255, 0.1);
  padding-bottom: 10px;
}

.portal-notifications h3 {
  margin: 0;
  color: #f4fbff;
  font-size: 0.9rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.portal-notifications article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  padding: 12px;
  background: rgba(1, 8, 14, 0.58);
}

.portal-notifications span,
.portal-notifications > div p {
  margin: 0;
  color: #7feaff;
  font-size: 0.66rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.portal-notifications strong {
  color: #f4fbff;
  font-size: 0.94rem;
}

.portal-notifications p {
  margin: 0;
  color: rgba(232, 249, 255, 0.72);
  line-height: 1.5;
  white-space: pre-wrap;
}

.portal-notifications a {
  width: fit-content;
  border: 1px solid rgba(127, 237, 255, 0.24);
  padding: 8px 10px;
  color: #a8fff0;
  background: rgba(127, 237, 255, 0.08);
  font-size: 0.66rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.portal-message-form {
  display: grid;
  gap: 14px;
}

.portal-thread,
.portal-thread-list {
  display: grid;
  gap: 10px;
}

.portal-thread-list article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  padding: 12px;
  background: rgba(2, 9, 15, 0.46);
}

.portal-thread-list article.team-reply {
  border-color: rgba(168, 255, 240, 0.24);
  background: rgba(127, 237, 255, 0.08);
}

.portal-thread-list article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.portal-thread-list strong {
  color: #f4fbff;
}

.portal-thread-list span,
.portal-thread-subject {
  margin: 0;
  color: #7feaff;
  font-size: 0.68rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.portal-thread-list p {
  margin: 0;
  color: rgba(232, 249, 255, 0.72);
  line-height: 1.5;
  white-space: pre-wrap;
}

.portal-message-status {
  margin: 0;
  border: 1px solid rgba(127, 237, 255, 0.18);
  padding: 10px 12px;
  color: rgba(232, 249, 255, 0.76);
  background: rgba(127, 237, 255, 0.08);
}

.command-object {
  position: relative;
  z-index: 1;
  min-height: min(70vh, 720px);
  display: grid;
  place-items: center;
}

.command-object::before,
.command-object::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(125, 236, 255, 0.14);
  border-radius: 50%;
}

.command-object::before {
  inset: 8%;
  animation: orbit 28s linear infinite;
}

.command-object::after {
  inset: 22%;
  border-color: rgba(255, 76, 119, 0.14);
  animation: orbit 20s linear infinite reverse;
}

.core {
  position: relative;
  z-index: 2;
  width: min(380px, 52vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.core span,
.core i,
.core b {
  position: absolute;
  border-radius: 50%;
}

.core span {
  inset: 0;
  border: 1px solid rgba(138, 241, 255, 0.5);
  animation: orbit 18s linear infinite;
}

.core i {
  inset: 16%;
  background: radial-gradient(circle, rgba(90, 231, 255, 0.36), transparent 62%);
  box-shadow: 0 0 90px rgba(53, 219, 255, 0.32);
  animation: breathe 4s ease-in-out infinite;
}

.core b {
  width: 20%;
  aspect-ratio: 1;
  background: #f6fdff;
  box-shadow: 0 0 56px rgba(255, 255, 255, 0.82);
}

.node {
  position: absolute;
  z-index: 3;
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(144, 240, 255, 0.46);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(4, 18, 28, 0.86);
  box-shadow: 0 0 30px rgba(58, 220, 255, 0.2);
  animation: float 5.6s ease-in-out infinite;
}

.n1 {
  top: 20%;
  left: 20%;
}

.n2 {
  top: 22%;
  right: 16%;
  animation-delay: -1.4s;
}

.n3 {
  bottom: 18%;
  left: 28%;
  animation-delay: -2.7s;
}

.n4 {
  right: 24%;
  bottom: 24%;
  border-color: rgba(255, 73, 117, 0.48);
  animation-delay: -3.6s;
}

.platform {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) 96px;
}

.public-signal,
.project-console,
.capability-matrix,
.engagement-modes,
.proof-band,
.trust-strip {
  position: relative;
  z-index: 1;
  margin: 0 clamp(18px, 5vw, 72px) 96px;
}

.public-signal {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(127, 237, 255, 0.16);
  background:
    linear-gradient(128deg, rgba(255, 42, 93, 0.1), transparent 32%, rgba(127, 237, 255, 0.12)),
    rgba(3, 11, 18, 0.72);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.public-signal::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(127, 237, 255, 0.12), transparent),
    repeating-linear-gradient(112deg, transparent 0 6rem, rgba(127, 237, 255, 0.05) 6rem 6.04rem);
  opacity: 0.75;
  animation: console-scan 10s linear infinite;
}

.public-signal header,
.signal-grid-public {
  position: relative;
  z-index: 1;
}

.public-signal header {
  display: grid;
  align-content: end;
  gap: 14px;
}

.project-console {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(127, 237, 255, 0.16);
  background:
    linear-gradient(120deg, rgba(127, 237, 255, 0.12), transparent 34%, rgba(255, 42, 93, 0.08)),
    rgba(3, 11, 18, 0.72);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.project-console::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(127, 237, 255, 0.1), transparent),
    repeating-linear-gradient(90deg, transparent 0 7rem, rgba(127, 237, 255, 0.05) 7rem 7.05rem);
  opacity: 0.8;
  animation: console-scan 9s linear infinite;
}

.console-copy,
.console-flow {
  position: relative;
  z-index: 1;
}

.console-copy {
  display: grid;
  align-content: end;
  gap: 14px;
}

.console-copy p,
.public-signal header p,
.capability-matrix header p,
.engagement-modes header p {
  margin: 0;
  color: #7feaff;
  font-size: 0.68rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.console-copy h2,
.public-signal h2,
.capability-matrix h2,
.engagement-modes h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 5.8rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.services-standalone {
  grid-template-columns: 1fr;
  margin-top: clamp(110px, 14vw, 160px);
}

.services-standalone header {
  max-width: 980px;
  align-content: start;
}

.public-signal h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.2rem, 7.5vw, 7.6rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.signal-grid-public {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  background: rgba(127, 237, 255, 0.14);
}

.service-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-grid-public article {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 16%, rgba(127, 237, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(127, 237, 255, 0.08), transparent 48%, rgba(255, 42, 93, 0.08)),
    rgba(2, 9, 15, 0.86);
  overflow: hidden;
  animation: node-rise 760ms ease both;
  animation-delay: calc(var(--signal-index) * 90ms);
}

.service-list article {
  min-height: 270px;
  align-content: end;
}

.signal-grid-public article::before {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 14px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(127, 237, 255, 0.58);
  border-radius: 50%;
  background: rgba(127, 237, 255, 0.14);
  box-shadow: 0 0 24px rgba(127, 237, 255, 0.44);
  animation: console-pulse 3.6s ease-in-out infinite;
  animation-delay: calc(var(--signal-index) * -360ms);
}

.signal-grid-public article::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.13) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-38%);
  transition:
    opacity 200ms ease,
    transform 620ms ease;
}

.signal-grid-public article:hover::after {
  opacity: 1;
  transform: translateX(38%);
}

.signal-grid-public span,
.signal-grid-public p {
  color: rgba(226, 246, 255, 0.62);
}

.signal-grid-public span {
  font-size: 0.64rem;
  letter-spacing: 0.14rem;
}

.signal-grid-public strong {
  color: #ffffff;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1;
  text-transform: uppercase;
}

.signal-grid-public p {
  min-height: 44px;
  margin: 0;
  line-height: 1.35;
}

.signal-grid-public a {
  width: max-content;
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(127, 237, 255, 0.24);
  color: #031015;
  background: linear-gradient(90deg, #7feaff, #a8fff0);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.signal-grid-public button {
  width: max-content;
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(127, 237, 255, 0.24);
  color: #031015;
  background: linear-gradient(90deg, #7feaff, #a8fff0);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  cursor: pointer;
}

.service-list article.active {
  border-color: rgba(127, 237, 255, 0.62);
  background:
    radial-gradient(circle at 50% 16%, rgba(127, 237, 255, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(127, 237, 255, 0.14), transparent 48%, rgba(255, 42, 93, 0.1)),
    rgba(3, 15, 22, 0.94);
  box-shadow: inset 0 0 0 1px rgba(127, 237, 255, 0.22);
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 38px);
  background:
    radial-gradient(circle at 18% 20%, rgba(127, 237, 255, 0.16), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(255, 42, 93, 0.14), transparent 32%),
    rgba(0, 4, 8, 0.9);
  backdrop-filter: blur(18px);
  animation: modal-fade 180ms ease both;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.service-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1500px, 100%);
  max-height: calc(100vh - clamp(28px, 6vw, 76px));
  min-height: min(760px, calc(100vh - clamp(28px, 6vw, 76px)));
  display: grid;
  grid-template-rows: auto;
  gap: clamp(18px, 2.6vw, 32px);
  padding: clamp(18px, 3.4vw, 48px);
  border: 1px solid rgba(127, 237, 255, 0.2);
  background:
    linear-gradient(130deg, rgba(127, 237, 255, 0.13), transparent 38%, rgba(255, 42, 93, 0.09)),
    rgba(2, 9, 15, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  overflow: auto;
}

.service-modal-topline {
  position: sticky;
  top: calc(clamp(18px, 3.4vw, 48px) * -1);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 12px;
  background:
    linear-gradient(180deg, rgba(2, 9, 15, 0.98), rgba(2, 9, 15, 0.88) 78%, transparent);
}

.service-modal-topline span,
.service-modal-grid strong,
.service-modal-section span,
.service-modal-note span,
.service-modal-projects span {
  color: #7feaff;
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.service-modal-close {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(127, 237, 255, 0.28);
  color: #dffaff;
  background: rgba(127, 237, 255, 0.08);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  cursor: pointer;
}

.service-modal-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(22px, 3.2vw, 48px);
  align-items: stretch;
  min-height: 0;
}

.service-modal-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.service-modal-copy h2 {
  margin: 0;
  max-width: 10ch;
  color: #ffffff;
  font-size: clamp(2.6rem, 4.4vw, 5.2rem);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.service-modal-copy p,
.service-modal-grid p {
  margin: 0;
  color: rgba(226, 246, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.48;
}

.service-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.service-modal-grid section {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(18px, 2.5vw, 30px);
  background: rgba(3, 11, 18, 0.9);
}

.service-modal-grid section > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-modal-grid em {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(127, 237, 255, 0.16);
  color: rgba(226, 246, 255, 0.82);
  background: rgba(127, 237, 255, 0.07);
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

.service-modal-action {
  width: max-content;
  align-self: end;
  justify-self: end;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(127, 237, 255, 0.22);
  color: #031015;
  background: linear-gradient(90deg, #7feaff, #a8fff0);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.service-modal-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  padding-top: clamp(4px, 1vw, 14px);
}

.service-modal-section > div:first-child {
  display: grid;
  align-content: start;
  gap: 10px;
}

.service-modal-section h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 2.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.service-modal-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.service-modal-cards.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-modal-cards article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 148px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(127, 237, 255, 0.07), transparent 58%),
    rgba(3, 11, 18, 0.9);
}

.service-modal-cards strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-modal-cards p,
.service-modal-note p,
.service-modal-projects p,
.service-modal-closing {
  margin: 0;
  color: rgba(226, 246, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.42;
}

.service-modal-note,
.service-modal-projects {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  background:
    linear-gradient(120deg, rgba(127, 237, 255, 0.1), transparent 42%, rgba(255, 42, 93, 0.08)),
    rgba(3, 11, 18, 0.86);
}

.service-modal-projects > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-modal-projects a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(127, 237, 255, 0.18);
  color: rgba(226, 246, 255, 0.86);
  background: rgba(127, 237, 255, 0.07);
  font-size: 0.74rem;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
}

.service-modal-closing {
  max-width: 760px;
  color: #ffffff;
  font-weight: 700;
}

.service-detail-page {
  min-height: 100vh;
  padding: 112px clamp(18px, 5vw, 72px) 56px;
}

.service-detail-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(28px, 5vw, 72px);
}

.service-detail-hero::before {
  position: absolute;
  inset: -112px -5vw 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(127, 237, 255, 0.11) 32%, transparent 48%),
    radial-gradient(circle at 82% 24%, rgba(255, 42, 93, 0.1), transparent 34%);
  opacity: 0.86;
  animation: page-wash 13s ease-in-out infinite;
}

.service-detail-hero > div,
.service-detail-hero aside,
.service-detail-deliverables,
.service-detail-section,
.service-detail-note,
.service-detail-projects,
.service-detail-close {
  position: relative;
  z-index: 1;
}

.service-detail-hero p,
.service-detail-hero aside span,
.service-detail-deliverables header p,
.service-detail-section header p,
.service-detail-note span,
.service-detail-projects span {
  margin: 0 0 16px;
  color: #7feaff;
  font-size: 0.76rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.service-detail-hero h1 {
  max-width: 1100px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.2vw, 8.2rem);
}

.service-detail-hero strong {
  display: block;
  max-width: 980px;
  color: rgba(244, 251, 255, 0.9);
  font-size: clamp(1.15rem, 2.35vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
}

.service-detail-hero em {
  display: block;
  max-width: 820px;
  margin-top: 16px;
  color: rgba(226, 246, 255, 0.68);
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  font-style: normal;
  line-height: 1.42;
}

.service-detail-hero aside,
.service-detail-note,
.service-detail-projects,
.service-detail-close {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(127, 237, 255, 0.16);
  background:
    linear-gradient(125deg, rgba(127, 237, 255, 0.1), transparent 42%, rgba(255, 42, 93, 0.08)),
    rgba(3, 11, 18, 0.78);
}

.service-detail-hero aside p,
.service-detail-note p,
.service-detail-projects p {
  margin: 0 0 18px;
  color: rgba(226, 246, 255, 0.76);
  line-height: 1.42;
}

.service-detail-deliverables,
.service-detail-section,
.service-detail-note,
.service-detail-projects,
.service-detail-close {
  margin-bottom: 56px;
}

.service-detail-deliverables header,
.service-detail-section header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(127, 237, 255, 0.12);
}

.service-detail-deliverables h2,
.service-detail-section h2,
.service-detail-close h2 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 4.4vw, 5.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.service-detail-deliverables > div,
.service-detail-projects > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-detail-deliverables span,
.service-detail-projects a {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(127, 237, 255, 0.16);
  color: rgba(244, 251, 255, 0.82);
  background: rgba(2, 9, 15, 0.56);
  font-size: 0.68rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.service-detail-section > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.service-detail-section article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.07), transparent 48%, rgba(255, 42, 93, 0.06)),
    rgba(3, 11, 18, 0.84);
}

.service-detail-section h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.service-detail-section p {
  margin: 0;
  color: rgba(226, 246, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.4;
}

.service-detail-close {
  display: grid;
  gap: 20px;
}

.service-detail-close > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.console-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  background: rgba(127, 237, 255, 0.14);
}

.console-flow article {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 9px;
  padding: 18px clamp(14px, 1.4vw, 22px);
  background:
    radial-gradient(circle at 50% 18%, rgba(127, 237, 255, 0.12), transparent 34%),
    rgba(2, 9, 15, 0.84);
  overflow: hidden;
  animation: node-rise 720ms ease both;
  animation-delay: calc(var(--step) * 90ms);
}

.console-flow article::before {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 16px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(127, 237, 255, 0.55);
  border-radius: 50%;
  background: rgba(127, 237, 255, 0.14);
  box-shadow: 0 0 24px rgba(127, 237, 255, 0.42);
  transform: translateX(-50%);
  animation: console-pulse 3.4s ease-in-out infinite;
  animation-delay: calc(var(--step) * -340ms);
}

.console-flow article::after {
  position: absolute;
  top: 28px;
  left: 50%;
  right: -50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(127, 237, 255, 0.5), transparent);
}

.console-flow article:last-child::after {
  display: none;
}

.console-flow span,
.console-flow em,
.capability-matrix span,
.engagement-modes span {
  color: rgba(226, 246, 255, 0.58);
  font-size: 0.64rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.console-flow strong,
.capability-matrix strong,
.engagement-modes strong {
  color: #ffffff;
  font-size: clamp(0.92rem, 1.1vw, 1.18rem);
  line-height: 1;
  text-transform: uppercase;
}

.console-flow strong {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

.console-flow em {
  font-style: normal;
}

.capability-matrix,
.engagement-modes {
  display: grid;
  gap: 22px;
}

.capability-matrix header,
.engagement-modes header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(127, 237, 255, 0.12);
  padding-bottom: 18px;
}

.capability-matrix > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.capability-matrix article,
.engagement-modes article {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 168px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.08), transparent 44%, rgba(255, 42, 93, 0.06)),
    rgba(3, 11, 18, 0.82);
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.capability-matrix article::before,
.engagement-modes article::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 48%, transparent 62%);
  opacity: 0;
  transform: translateX(-40%);
  transition:
    opacity 200ms ease,
    transform 620ms ease;
}

.capability-matrix article:hover,
.engagement-modes article:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.15), transparent 44%, rgba(255, 42, 93, 0.1)),
    rgba(3, 11, 18, 0.92);
}

.capability-matrix article:hover::before,
.engagement-modes article:hover::before {
  opacity: 1;
  transform: translateX(40%);
}

.engagement-modes > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.engagement-modes article {
  min-height: 134px;
  border: 1px solid rgba(127, 237, 255, 0.12);
}

.trust-strip {
  overflow: hidden;
  border-block: 1px solid rgba(127, 237, 255, 0.14);
  margin-bottom: 72px;
  background:
    linear-gradient(90deg, rgba(127, 237, 255, 0.1), transparent 40%, rgba(255, 42, 93, 0.08)),
    rgba(2, 9, 15, 0.62);
}

.trust-strip div {
  width: max-content;
  display: flex;
  gap: 12px;
  padding: 18px 0;
  animation: ticker 28s linear infinite;
}

.trust-strip span {
  min-width: max-content;
  padding: 0 18px;
  color: rgba(244, 251, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.platform article,
.contact,
.proof-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(134, 236, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(127, 237, 255, 0.08), transparent 38%, rgba(255, 42, 93, 0.05)),
    rgba(4, 13, 21, 0.68);
  backdrop-filter: blur(22px);
}

.proof-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(20px, 4vw, 42px);
}

.proof-band header {
  display: grid;
  max-width: 900px;
  align-content: start;
  gap: 14px;
}

.proof-band header p,
.contact p {
  margin: 0;
  color: #7feaff;
  font-size: 0.68rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.proof-band h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.proof-band > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  background: rgba(127, 237, 255, 0.14);
}

.proof-band article {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.08), transparent 44%, rgba(255, 42, 93, 0.06)),
    rgba(3, 11, 18, 0.84);
}

.proof-band strong {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1;
  text-transform: uppercase;
}

.proof-band span {
  color: rgba(226, 246, 255, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.platform article {
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 28px;
  padding: 24px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.platform article:hover {
  border-color: rgba(127, 237, 255, 0.34);
  transform: translateY(-3px);
}

.platform article span {
  width: 42px;
  height: 2px;
  background: #7eeaff;
  box-shadow: 0 0 22px rgba(126, 234, 255, 0.7);
}

.platform h2,
.labs h2,
.contact h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 3.3rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin: 0 clamp(18px, 5vw, 72px) 96px;
  padding: clamp(22px, 4vw, 48px);
}

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

.contact > div {
  display: grid;
  align-content: start;
  gap: 12px;
  max-width: 420px;
}

.contact > div > span {
  color: rgba(226, 246, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(127, 237, 255, 0.14);
  background: rgba(2, 9, 15, 0.48);
}

.home-contact-form label {
  display: grid;
  gap: 8px;
}

.home-contact-form span {
  color: rgba(226, 246, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.home-contact-form .wide,
.home-contact-form button {
  grid-column: 1 / -1;
}

.home-contact-form .request-check {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.home-contact-form input,
.home-contact-form select,
.home-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(127, 237, 255, 0.18);
  min-height: 46px;
  padding: 0 13px;
  color: #f4fbff;
  background: rgba(1, 7, 12, 0.74);
  font: inherit;
  font-size: 0.95rem;
}

.home-contact-form textarea {
  min-height: 128px;
  padding: 12px 13px;
  resize: vertical;
}

.home-contact-form button {
  min-height: 48px;
  border: 0;
  color: #031015;
  background: linear-gradient(90deg, #7feaff, #a8fff0);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  cursor: pointer;
}

.labs {
  position: relative;
  min-height: calc(100vh - 88px);
  margin: 0;
  padding: 112px clamp(18px, 4vw, 56px) 56px;
}

.labs-console-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(20px, 3vw, 34px);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(127, 237, 255, 0.12);
}

.labs-console-head p {
  margin-bottom: 18px;
  color: #7feaff;
  font-size: 0.76rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.labs-console-head h1 {
  margin: 0;
  color: rgba(244, 251, 255, 0.9);
  font-size: clamp(2.2rem, 5vw, 6rem);
  line-height: 0.82;
}

.diagnostic-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: 10px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(127, 237, 255, 0.08), transparent 42%, rgba(255, 42, 93, 0.08)),
    rgba(3, 11, 18, 0.62);
}

.diagnostic-strip span {
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(127, 237, 255, 0.16);
  color: rgba(244, 251, 255, 0.76);
  background: rgba(2, 9, 15, 0.56);
  font-size: 0.64rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  animation: signal-flicker 4.8s ease-in-out infinite;
}

.diagnostic-strip span:nth-child(2n) {
  border-color: rgba(255, 93, 143, 0.22);
  animation-delay: -1.6s;
}

.labs-console {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(340px, 1.05fr) minmax(260px, 0.72fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

.request-mode-gate {
  min-height: min(62vh, 720px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.14);
  background: rgba(127, 237, 255, 0.14);
}

.request-mode-gate button {
  position: relative;
  overflow: hidden;
  appearance: none;
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 300px;
  padding: clamp(20px, 3.8vw, 42px);
  border: 0;
  color: #f4fbff;
  background:
    linear-gradient(135deg, rgba(127, 237, 255, 0.12), transparent 42%),
    rgba(3, 11, 18, 0.84);
  cursor: pointer;
  text-align: left;
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.request-mode-gate button:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(255, 42, 93, 0.12), transparent 42%),
    rgba(3, 11, 18, 0.84);
}

.request-mode-gate button:hover,
.request-mode-gate button:focus-visible {
  outline: none;
  background:
    linear-gradient(135deg, rgba(127, 237, 255, 0.2), transparent 46%),
    rgba(5, 18, 28, 0.94);
  transform: translateY(-3px);
}

.request-mode-gate button:nth-child(2):hover,
.request-mode-gate button:nth-child(2):focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 42, 93, 0.18), transparent 46%),
    rgba(5, 18, 28, 0.94);
}

.request-mode-gate span {
  max-width: 14ch;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(2rem, 4vw, 4.9rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.request-mode-gate strong {
  max-width: 360px;
  color: rgba(226, 246, 255, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 500;
}

.labs .stack-detail p {
  margin: 0;
  color: rgba(226, 246, 255, 0.84);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.labs .stack-facts p {
  color: rgba(226, 246, 255, 0.76);
  font-size: 0.96rem;
}

.contact a {
  color: #7feaff;
  font-size: 0.88rem;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
}

.why-page {
  min-height: 100vh;
}

.why-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: clamp(22px, 4vw, 48px);
  padding: 112px clamp(18px, 5vw, 72px) 56px;
}

.why-copy {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  animation: rise-in 700ms ease both;
}

.why-copy p {
  margin-bottom: 16px;
  color: #7feaff;
  font-size: 0.76rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.why-copy h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 9rem);
}

.why-copy strong {
  display: block;
  max-width: 980px;
  color: rgba(244, 251, 255, 0.86);
  font-size: clamp(1.15rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.why-copy em {
  display: block;
  max-width: 760px;
  margin-top: 18px;
  color: rgba(226, 246, 255, 0.62);
  font-size: clamp(0.98rem, 1.5vw, 1.25rem);
  font-style: normal;
  line-height: 1.35;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.why-grid article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(127, 237, 255, 0.08), transparent 48%),
    rgba(3, 11, 18, 0.82);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.why-grid article:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, rgba(127, 237, 255, 0.16), transparent 48%),
    linear-gradient(135deg, transparent, rgba(255, 42, 93, 0.08)),
    rgba(3, 11, 18, 0.9);
}

.why-grid span {
  color: rgba(127, 237, 255, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
}

.why-grid h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.why-grid p {
  margin: 0;
  color: rgba(226, 246, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.35;
}

.capability-groups {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.capability-groups section {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 16px;
  background: rgba(3, 11, 18, 0.82);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.capability-groups section:hover {
  background:
    linear-gradient(140deg, rgba(127, 237, 255, 0.1), transparent 48%, rgba(255, 42, 93, 0.06)),
    rgba(3, 11, 18, 0.9);
  transform: translateY(-2px);
}

.capability-groups strong {
  color: #7feaff;
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.capability-groups div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.capability-groups span {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(127, 237, 255, 0.16);
  color: rgba(244, 251, 255, 0.78);
  background: rgba(2, 9, 15, 0.48);
  font-size: 0.66rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.capability-groups span:nth-child(3n + 1),
.stack-group button:nth-child(4n + 1) {
  border-color: rgba(0, 255, 213, 0.24);
}

.capability-groups span:nth-child(3n + 2),
.stack-group button:nth-child(4n + 2) {
  border-color: rgba(255, 93, 143, 0.24);
}

.build-recovery {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-width: 1180px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(255, 42, 93, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 42, 93, 0.1), transparent 42%),
    rgba(3, 11, 18, 0.76);
}

.build-recovery span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 142, 166, 0.9);
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.build-recovery h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.build-recovery p {
  max-width: 780px;
  margin: 0;
  color: rgba(226, 246, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.35;
}

.why-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.platform-page {
  min-height: 100vh;
  padding: 112px clamp(18px, 5vw, 72px) 56px;
}

.platform-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-content: center;
  padding-bottom: clamp(28px, 5vw, 72px);
}

.platform-hero::before {
  position: absolute;
  inset: -112px -5vw 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(127, 237, 255, 0.1) 30%, transparent 44%),
    linear-gradient(250deg, transparent 0 42%, rgba(255, 42, 93, 0.08) 58%, transparent 72%);
  opacity: 0.74;
  animation: page-wash 13s ease-in-out infinite;
}

.platform-hero-copy,
.platform-map,
.platform-paths,
.platform-surface,
.platform-outputs,
.platform-rules {
  position: relative;
  z-index: 1;
}

.platform-hero-copy p,
.platform-map header p,
.platform-paths header p,
.platform-surface header p,
.platform-outputs header p {
  margin: 0 0 16px;
  color: #7feaff;
  font-size: 0.76rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.platform-hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 9rem);
}

.platform-hero strong {
  display: block;
  max-width: 980px;
  color: rgba(244, 251, 255, 0.9);
  font-size: clamp(1.2rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
}

.platform-hero em {
  display: block;
  max-width: 720px;
  margin-top: 16px;
  color: rgba(226, 246, 255, 0.62);
  font-size: clamp(0.98rem, 1.5vw, 1.22rem);
  font-style: normal;
  line-height: 1.35;
}

.platform-map,
.platform-paths,
.platform-surface,
.platform-outputs,
.platform-rules {
  margin-bottom: 72px;
}

.platform-map header,
.platform-paths header,
.platform-surface header,
.platform-outputs header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(127, 237, 255, 0.12);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.platform-map h2,
.platform-paths h2,
.platform-surface h2,
.platform-outputs h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 5.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.platform-map > div,
.platform-paths > div {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.platform-map > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-paths > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-map article,
.platform-paths a {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.08), transparent 44%, rgba(255, 42, 93, 0.06)),
    rgba(3, 11, 18, 0.82);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.platform-map article:hover,
.platform-paths a:hover,
.platform-paths a:focus-visible {
  transform: translateY(-3px);
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.16), transparent 44%, rgba(255, 42, 93, 0.1)),
    rgba(3, 11, 18, 0.92);
  outline: none;
}

.platform-map span,
.platform-paths span {
  color: rgba(226, 246, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.08rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.platform-map strong,
.platform-paths strong {
  color: #ffffff;
  font-size: clamp(1.08rem, 1.5vw, 1.55rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.platform-surface > div,
.platform-outputs > div,
.platform-rules > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-surface span,
.platform-outputs span,
.platform-rules strong {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(127, 237, 255, 0.16);
  color: rgba(244, 251, 255, 0.8);
  background: rgba(2, 9, 15, 0.56);
  font-size: 0.68rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.platform-surface span:nth-child(4n + 1),
.platform-outputs span:nth-child(3n + 1) {
  border-color: rgba(0, 255, 213, 0.24);
}

.platform-surface span:nth-child(4n + 2),
.platform-outputs span:nth-child(3n + 2) {
  border-color: rgba(255, 93, 143, 0.24);
}

.platform-rules {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(127, 237, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(127, 237, 255, 0.1), transparent 42%, rgba(255, 42, 93, 0.08)),
    rgba(3, 11, 18, 0.72);
}

.data-page {
  min-height: 100vh;
  padding: 112px clamp(18px, 5vw, 72px) 56px;
}

.data-hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  align-content: center;
  padding-bottom: clamp(28px, 5vw, 64px);
}

.data-hero::before {
  position: absolute;
  inset: -112px -5vw 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(125deg, transparent 0 16%, rgba(127, 237, 255, 0.12) 30%, transparent 48%),
    radial-gradient(circle at 82% 22%, rgba(255, 42, 93, 0.1), transparent 34%);
  opacity: 0.84;
  animation: page-wash 13s ease-in-out infinite;
}

.data-hero-copy,
.data-grid,
.data-rules,
.data-policy-list,
.data-statement {
  position: relative;
  z-index: 1;
}

.data-hero-copy p,
.data-rules span,
.data-policy-list header span,
.data-statement span {
  margin: 0 0 16px;
  color: #7feaff;
  font-size: 0.76rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.data-hero h1 {
  max-width: 1180px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.2vw, 8.2rem);
}

.data-hero strong {
  display: block;
  max-width: 980px;
  color: rgba(244, 251, 255, 0.9);
  font-size: clamp(1.15rem, 2.45vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.data-hero em {
  display: block;
  max-width: 760px;
  margin-top: 16px;
  color: rgba(226, 246, 255, 0.64);
  font-size: clamp(0.98rem, 1.45vw, 1.2rem);
  font-style: normal;
  line-height: 1.35;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 56px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.data-grid article {
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.08), transparent 46%, rgba(255, 42, 93, 0.06)),
    rgba(3, 11, 18, 0.84);
  animation: node-rise 760ms ease both;
  animation-delay: calc(var(--signal-index) * 70ms);
}

.data-grid span {
  color: rgba(127, 237, 255, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
}

.data-grid h2,
.data-rules h2,
.data-statement h2 {
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
}

.data-grid h2 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 0.96;
}

.data-grid p,
.data-statement p {
  margin: 0;
  color: rgba(226, 246, 255, 0.7);
  font-size: 0.96rem;
  line-height: 1.38;
}

.data-rules {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  margin-bottom: 56px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(127, 237, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(127, 237, 255, 0.1), transparent 42%, rgba(255, 42, 93, 0.08)),
    rgba(3, 11, 18, 0.72);
}

.data-rules h2,
.data-statement h2 {
  font-size: clamp(1.9rem, 4.4vw, 5.2rem);
  line-height: 0.9;
}

.data-rules h2 {
  max-width: 940px;
  font-size: clamp(2rem, 4.2vw, 5.4rem);
  overflow-wrap: normal;
}

.data-rules > div:last-child {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.data-rules strong {
  min-height: 104px;
  display: inline-grid;
  place-items: center;
  padding: 18px;
  border: 0;
  color: rgba(244, 251, 255, 0.8);
  background: rgba(2, 9, 15, 0.56);
  font-size: 0.68rem;
  letter-spacing: 0.1rem;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.data-policy-list {
  margin-bottom: 56px;
}

.data-policy-list header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(127, 237, 255, 0.12);
}

.data-policy-list h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 4.4vw, 5.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.data-policy-list > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(127, 237, 255, 0.12);
  background: rgba(127, 237, 255, 0.12);
}

.data-policy-list article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(127, 237, 255, 0.07), transparent 48%, rgba(255, 42, 93, 0.06)),
    rgba(3, 11, 18, 0.84);
}

.data-policy-list h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.data-policy-list p {
  margin: 0;
  color: rgba(226, 246, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.4;
}

.data-statement {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(255, 42, 93, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 42, 93, 0.1), transparent 42%),
    rgba(3, 11, 18, 0.76);
}

.data-statement p {
  max-width: 820px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.data-statement p strong {
  color: rgba(244, 251, 255, 0.9);
  font-weight: 600;
}

.data-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.data-contact a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(127, 237, 255, 0.22);
  color: #031015;
  background: linear-gradient(90deg, #7feaff, #a8fff0);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

@keyframes drift {
  to {
    background-position:
      184px 92px,
      -120px 202px;
  }
}

@keyframes color-wash {
  0%,
  100% {
    background-position:
      0% 34%,
      100% 62%,
      50% 50%;
  }
  50% {
    background-position:
      86% 48%,
      18% 36%,
      50% 50%;
  }
}

@keyframes aurora-sweep {
  0%,
  100% {
    opacity: 0.56;
    transform: translate3d(-10%, -2%, 0) rotate(-7deg);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(8%, 4%, 0) rotate(5deg);
  }
}

@keyframes grid-sheen {
  to {
    transform: translate3d(-10rem, 4rem, 0);
  }
}

@keyframes page-wash {
  0%,
  100% {
    opacity: 0.42;
    transform: translate3d(-4%, 0, 0);
  }
  50% {
    opacity: 0.82;
    transform: translate3d(4%, 0, 0);
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 28px rgba(60, 222, 255, 0.36);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 34px rgba(60, 222, 255, 0.56),
      0 0 50px rgba(255, 42, 93, 0.18);
    transform: scale(1.05);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes orbit {
  to {
    transform: rotate(344deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes route-scan {
  0%,
  100% {
    opacity: 0;
    filter: blur(2px);
  }
  50% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes console-scan {
  to {
    transform: translateX(12rem);
  }
}

@keyframes console-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translateX(-50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.18);
  }
}

@keyframes node-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes signal-flicker {
  0%,
  100% {
    border-color: rgba(127, 237, 255, 0.16);
    box-shadow: none;
  }
  50% {
    border-color: rgba(127, 237, 255, 0.42);
    box-shadow: 0 0 20px rgba(127, 237, 255, 0.12);
  }
}

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

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .command-object {
    min-height: 480px;
  }

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

  .public-signal,
  .project-console,
  .proof-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .console-flow,
  .signal-grid-public,
  .proof-band > div,
  .engagement-modes > div {
    grid-template-columns: 1fr;
  }

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

  .console-flow article,
  .signal-grid-public article {
    min-height: 130px;
  }

  .service-list article {
    min-height: 210px;
  }

  .service-modal-body,
  .service-modal-grid,
  .service-modal-section,
  .service-detail-hero {
    grid-template-columns: 1fr;
  }

  .service-modal-cards,
  .service-modal-cards.compact,
  .service-detail-section > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-modal-panel {
    min-height: calc(100vh - 28px);
    overflow: auto;
  }

  .service-modal-copy {
    align-content: start;
  }

  .service-modal-action {
    justify-self: start;
  }

  .console-flow article::after {
    top: auto;
    left: 50%;
    right: auto;
    bottom: -50%;
    width: 1px;
    height: 50%;
    background: linear-gradient(180deg, rgba(127, 237, 255, 0.5), transparent);
  }

  .capability-matrix > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .platform-map > div,
  .platform-paths > div,
  .data-grid,
  .data-policy-list > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-rules,
  .data-rules {
    grid-template-columns: 1fr;
    align-items: flex-start;
    flex-direction: column;
  }

  .data-rules > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .labs {
    padding-top: 148px;
  }

  .labs-console-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .labs-console {
    grid-template-columns: 1fr;
  }

  .portal-dashboard {
    grid-template-columns: 1fr;
  }

  .request-mode-gate {
    grid-template-columns: 1fr;
  }

  .request-mode-gate button {
    min-height: 220px;
  }

  .request-mode-gate span {
    max-width: none;
    font-size: clamp(1.8rem, 11vw, 3.4rem);
  }

  .stack-detail,
  .build-starter {
    position: static;
  }

  .stack-facts {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .service-list {
    grid-template-columns: 1fr;
  }

  .public-signal h1 {
    font-size: clamp(2.8rem, 18vw, 4.5rem);
  }

  .service-modal-grid section {
    min-height: auto;
  }

  .service-modal-cards,
  .service-modal-cards.compact,
  .service-detail-section > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav nav a {
    font-size: 0.64rem;
  }

  .hero {
    padding-top: 142px;
  }

  .why-hero {
    padding-top: 148px;
  }

  .why-grid,
  .capability-groups,
  .capability-matrix > div,
    .platform-map > div,
    .platform-paths > div,
    .data-grid,
    .data-policy-list > div,
    .data-rules > div:last-child,
    .portal-metrics {
    grid-template-columns: 1fr;
  }

  .capability-matrix header,
  .engagement-modes header,
    .platform-map header,
    .platform-paths header,
    .platform-surface header,
    .platform-outputs header,
    .data-policy-list header {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-console,
  .capability-matrix,
  .engagement-modes,
  .trust-strip {
    margin-inline: 14px;
  }

  .labs {
    padding-inline: 14px;
  }

  .stack-detail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-detail-head strong {
    width: fit-content;
  }

  .node {
    width: 40px;
  }
}
