:root {
  --bg: #080b10;
  --panel: rgba(244, 247, 241, 0.94);
  --ink: #0f141c;
  --muted: #62707e;
  --line: rgba(244, 247, 241, 0.18);
  --lime: #b9ff5d;
  --cyan: #54d7e8;
  --violet: #a783ff;
  --steel: #1a222d;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: #eef3ea;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
  backdrop-filter: blur(18px);
}

.mark {
  color: #eef3ea;
  font-weight: 950;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(238, 243, 234, 0.66);
  font-size: 14px;
  font-weight: 850;
}

.constellation-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  grid-template-areas:
    "mission map"
    "mission dock";
  gap: 22px 54px;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 72px;
  background:
    radial-gradient(circle at 70% 44%, rgba(84, 215, 232, 0.18), transparent 26%),
    radial-gradient(circle at 38% 36%, rgba(185, 255, 93, 0.12), transparent 25%),
    linear-gradient(180deg, #080b10 0%, #101721 100%);
}

.constellation-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34vh;
  background: linear-gradient(180deg, transparent, rgba(8, 11, 16, 0.88));
  pointer-events: none;
}

.map-layer {
  position: relative;
  grid-area: map;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 241, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(rgba(244, 247, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 241, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(84, 215, 232, 0.16), transparent 46%),
    rgba(8, 11, 16, 0.32);
  background-size: 72px 72px;
}

.map-label {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(244, 247, 241, 0.14);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.56);
  color: rgba(238, 243, 234, 0.7);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.label-platform {
  top: 7%;
  left: 8%;
}

.label-customer {
  bottom: 7%;
  left: 8%;
}

.boundary {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 47%;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(244, 247, 241, 0.28) 0 8px,
    transparent 8px 16px
  );
}

.pulse-ring {
  position: absolute;
  border: 1px solid rgba(185, 255, 93, 0.2);
  border-radius: 50%;
  animation: pulse 5.2s ease-in-out infinite;
}

.ring-a {
  top: 15%;
  left: 22%;
  width: 440px;
  height: 440px;
}

.ring-b {
  top: 23%;
  left: 8%;
  width: 560px;
  height: 560px;
  animation-delay: 1.4s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.18;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.46;
    transform: scale(1.02);
  }
}

.axis {
  position: absolute;
  background: rgba(185, 255, 93, 0.25);
}

.axis.horizontal {
  top: 51%;
  left: 5%;
  right: 5%;
  height: 1px;
}

.axis.vertical {
  top: 10%;
  bottom: 10%;
  left: 58%;
  width: 1px;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(185, 255, 93, 0.46);
  border-radius: 50%;
  background: rgba(8, 11, 16, 0.72);
  box-shadow: 0 0 44px rgba(185, 255, 93, 0.12);
  color: #eef3ea;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.node span {
  position: relative;
  z-index: 1;
}

.node::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(84, 215, 232, 0.24);
  border-radius: inherit;
}

.node-wiz { top: 19%; left: 20%; }
.node-sns { top: 14%; left: 54%; }
.node-sqs { top: 39%; left: 72%; }
.node-lambda { top: 67%; left: 54%; }
.node-role { top: 62%; left: 22%; }
.node-audit { top: 38%; left: 7%; }

.route {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(185, 255, 93, 0.78));
  opacity: 0.55;
  animation: signal 3.8s ease-in-out infinite;
}

.route::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--lime);
  transform: translateY(-50%);
  filter: drop-shadow(0 0 8px rgba(185, 255, 93, 0.58));
}

.route span {
  position: absolute;
  inset: -5px auto -5px 0;
  width: 28%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(185, 255, 93, 0.8), transparent);
  animation: packet 2.8s ease-in-out infinite;
}

.route-a { top: 27%; left: 32%; width: 220px; transform: rotate(-5deg); }
.route-b { top: 31%; left: 65%; width: 150px; transform: rotate(54deg); animation-delay: 0.3s; }
.route-c { top: 72%; left: 35%; width: 230px; transform: rotate(-15deg); animation-delay: 0.9s; }
.route-d { top: 50%; left: 18%; width: 230px; transform: rotate(28deg); animation-delay: 1.4s; }
.route-e { top: 54%; left: 65%; width: 185px; transform: rotate(-87deg); animation-delay: 0.6s; }

.route-b span { animation-delay: 0.3s; }
.route-c span { animation-delay: 0.9s; }
.route-d span { animation-delay: 1.4s; }
.route-e span { animation-delay: 0.6s; }

.step-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(185, 255, 93, 0.62);
  border-radius: 50%;
  background: rgba(8, 11, 16, 0.86);
  color: var(--lime);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 0 20px rgba(185, 255, 93, 0.18);
}

.step-1 { top: 18%; left: 19%; }
.step-2 { top: 13%; left: 53%; }
.step-3 { top: 38%; left: 71%; }
.step-4 { top: 66%; left: 53%; }
.step-5 { top: 61%; left: 21%; }
.step-6 { top: 37%; left: 6%; }

@keyframes signal {
  0%, 100% {
    opacity: 0.22;
    filter: drop-shadow(0 0 0 rgba(185, 255, 93, 0));
  }

  50% {
    opacity: 0.78;
    filter: drop-shadow(0 0 12px rgba(185, 255, 93, 0.48));
  }
}

@keyframes packet {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  18%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(260%);
  }
}

.mission-card {
  position: relative;
  z-index: 2;
  grid-area: mission;
  align-self: center;
  max-width: 650px;
  border: 1px solid rgba(244, 247, 241, 0.16);
  border-radius: 26px;
  background: rgba(8, 11, 16, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  padding: 38px;
}

.mission-card > span,
.section-lead span,
.cert-grid span,
.status-dock span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: #f8fbf2;
  line-height: 0.98;
}

h1 {
  max-width: 650px;
  font-size: clamp(42px, 5.9vw, 82px);
  margin-top: 18px;
}

.mission-card p {
  color: rgba(238, 243, 234, 0.72);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 22px;
}

.availability-note {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(185, 255, 93, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(185, 255, 93, 0.1), rgba(84, 215, 232, 0.05));
  color: #eef3ea;
  font-size: 15px;
  line-height: 1.45;
  margin-top: 24px;
  padding: 14px 18px;
}

.availability-note span {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(185, 255, 93, 0.58);
}

.mission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mission-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(244, 247, 241, 0.18);
  border-radius: 999px;
  color: #eef3ea;
  font-weight: 900;
  padding: 10px 17px;
}

.mission-actions .primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #11170a;
}

.status-dock {
  position: relative;
  z-index: 2;
  grid-area: dock;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(244, 247, 241, 0.16);
  border-radius: 18px;
  background: rgba(244, 247, 241, 0.16);
  backdrop-filter: blur(16px);
}

.status-dock div {
  background: rgba(8, 11, 16, 0.78);
  padding: 20px;
}

.status-dock strong {
  display: block;
  color: #eef3ea;
  margin-top: 8px;
}

.about-section,
.certification-section,
.work-board,
.operating-model {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.about-section {
  padding-top: 88px;
  padding-bottom: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 241, 0.14);
  border-radius: 24px;
  background: rgba(244, 247, 241, 0.14);
  margin-top: 34px;
}

.about-copy,
.about-facts div {
  background: #111923;
  padding: 28px;
}

.about-copy p {
  color: rgba(238, 243, 234, 0.72);
  font-size: 18px;
  line-height: 1.72;
  margin: 0;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-facts {
  display: grid;
  gap: 1px;
  background: rgba(244, 247, 241, 0.14);
}

.about-facts span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-facts strong {
  display: block;
  color: #eef3ea;
  line-height: 1.45;
  margin-top: 8px;
}

.certification-section {
  padding-top: 84px;
  padding-bottom: 18px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 241, 0.14);
  border-radius: 24px;
  background: rgba(244, 247, 241, 0.14);
  margin-top: 34px;
}

.cert-grid article {
  min-height: 232px;
  background:
    linear-gradient(145deg, rgba(185, 255, 93, 0.08), transparent 42%),
    var(--steel);
  padding: 28px;
}

.cert-grid strong {
  display: block;
  color: #eef3ea;
  font-size: 22px;
  line-height: 1.22;
  margin-top: 10px;
}

.cert-grid p {
  color: rgba(238, 243, 234, 0.68);
  line-height: 1.62;
  margin: 18px 0 0;
}

.work-board {
  padding-top: 92px;
  padding-bottom: 90px;
}

.section-lead {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr);
  gap: 48px;
}

h2 {
  max-width: 760px;
  font-size: clamp(26px, 2.65vw, 38px);
  line-height: 1.12;
}

.system-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 241, 0.14);
  border-radius: 24px;
  background: rgba(244, 247, 241, 0.14);
  margin-top: 40px;
}

.system-list a {
  display: grid;
  grid-template-columns: 80px minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  align-items: center;
  background: #111923;
  padding: 28px;
}

.system-list span {
  color: var(--lime);
  font-size: 18px;
  font-weight: 950;
}

.system-list strong {
  color: #eef3ea;
  font-size: 24px;
}

.system-list p {
  color: rgba(238, 243, 234, 0.68);
  line-height: 1.65;
}

.operating-model {
  padding-top: 20px;
  padding-bottom: 96px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 241, 0.14);
  border-radius: 24px;
  background: rgba(244, 247, 241, 0.14);
  margin-top: 40px;
}

.model-grid div {
  min-height: 250px;
  background: #111923;
  padding: 28px;
}

.model-grid span {
  color: var(--lime);
  font-size: 18px;
  font-weight: 950;
}

.model-grid strong {
  display: block;
  color: #eef3ea;
  font-size: 24px;
  margin-top: 20px;
}

.model-grid p {
  color: rgba(238, 243, 234, 0.68);
  line-height: 1.65;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(185, 255, 93, 0.22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(185, 255, 93, 0.12), rgba(84, 215, 232, 0.05));
  margin-top: 18px;
  padding: 26px;
}

.contact-band span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-band strong {
  display: block;
  color: #eef3ea;
  margin-top: 8px;
}

.contact-band a {
  border: 1px solid rgba(244, 247, 241, 0.18);
  border-radius: 999px;
  color: #eef3ea;
  font-weight: 900;
  padding: 12px 18px;
}

.case-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 132px 24px 96px;
}

.v2-back {
  display: inline-flex;
  border: 1px solid rgba(244, 247, 241, 0.16);
  border-radius: 999px;
  color: rgba(238, 243, 234, 0.76);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
}

.case-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.56fr);
  gap: 44px;
  align-items: end;
  border-bottom: 1px solid rgba(244, 247, 241, 0.14);
  padding: 42px 0 54px;
}

.case-intro span,
.case-facts span,
.case-section > span,
.decision-strip span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-intro h1 {
  max-width: 820px;
  font-size: clamp(36px, 4.25vw, 58px);
  line-height: 1.06;
  margin-top: 18px;
}

.case-intro p {
  color: rgba(238, 243, 234, 0.72);
  font-size: 19px;
  line-height: 1.72;
  margin-top: 24px;
}

.case-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 241, 0.14);
  border-radius: 24px;
  background: rgba(244, 247, 241, 0.14);
}

.case-facts div {
  background: #111923;
  padding: 22px;
}

.case-facts strong {
  display: block;
  color: #eef3ea;
  margin-top: 8px;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
  gap: 32px;
  align-items: start;
  padding-top: 34px;
}

.case-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(185, 255, 93, 0.22);
  border-radius: 24px;
  background: rgba(185, 255, 93, 0.22);
  margin-bottom: 20px;
}

.case-flow div {
  min-height: 108px;
  display: grid;
  place-items: center;
  background: #111923;
  color: #eef3ea;
  font-weight: 950;
  padding: 14px;
  text-align: center;
}

.case-section,
.case-side,
.decision-strip {
  border: 1px solid rgba(244, 247, 241, 0.14);
  border-radius: 24px;
  background: #111923;
}

.case-section {
  margin-top: 18px;
  padding: 30px;
}

.case-section h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.16;
  margin-top: 10px;
}

.case-section p,
.case-section li,
.case-side p,
.decision-strip p {
  color: rgba(238, 243, 234, 0.72);
  line-height: 1.72;
}

.case-section ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.case-section code,
.case-section pre {
  white-space: pre-wrap;
}

.case-section pre {
  border: 1px solid rgba(185, 255, 93, 0.18);
  border-radius: 18px;
  background: rgba(8, 11, 16, 0.76);
  color: #dfffd0;
  margin-top: 18px;
  padding: 20px;
}

.decision-strip {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  padding: 0;
}

.decision-strip div {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: 20px;
  background: #111923;
  padding: 20px;
}

.decision-strip strong {
  color: #eef3ea;
}

.case-side {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.case-side h3 {
  color: #eef3ea;
  font-size: 22px;
  margin: 0 0 18px;
}

.case-side a {
  display: block;
  border-top: 1px solid rgba(244, 247, 241, 0.12);
  color: rgba(238, 243, 234, 0.74);
  font-weight: 850;
  padding: 13px 0;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .constellation-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "mission"
      "dock"
      "map";
    min-height: auto;
    padding: 32px 24px 64px;
  }

  .mission-card,
  .status-dock {
    width: auto;
  }

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

  .map-layer {
    min-height: 720px;
  }

  .section-lead,
  .about-grid,
  .cert-grid,
  .model-grid,
  .case-intro,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-side {
    position: static;
  }

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

@media (max-width: 660px) {
  .system-list a {
    grid-template-columns: 1fr;
  }

  .case-flow,
  .decision-strip div {
    grid-template-columns: 1fr;
  }

  .node {
    width: 96px;
    height: 96px;
  }

  .mission-card {
    padding: 24px;
  }

  .status-dock {
    grid-template-columns: 1fr;
  }
}
