:root {
  --bg: #06101d;
  --bg2: #081325;
  --panel: rgba(12, 24, 49, 0.86);
  --panel2: rgba(15, 29, 58, 0.92);
  --line: rgba(120, 150, 210, 0.16);
  --line-strong: rgba(120, 150, 210, 0.28);
  --text: #f4f7fb;
  --muted: #a6b3c8;
  --muted2: #7f8da6;
  --gold: #d8b14d;
  --gold2: #f4d57b;
  --blue: #66b7ff;
  --blue2: #35d1ff;
  --green: #3ad07a;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 177, 77, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(53, 209, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #040a14 0%, #06101d 26%, #071427 100%);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(88, 110, 155, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 110, 155, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
}

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

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(4, 9, 17, 0.78);
  border-bottom: 1px solid rgba(120, 150, 210, 0.12);
}

.site-header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #f8df97;
  border: 1px solid rgba(216, 177, 77, 0.32);
  background: linear-gradient(180deg, rgba(216, 177, 77, 0.16), rgba(216, 177, 77, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
  flex: 1;
}

.nav a {
  color: #dfe6f3;
  font-weight: 600;
  font-size: 0.98rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 17px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 22, 45, 0.76);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 183, 255, 0.32);
  background: rgba(15, 28, 57, 0.96);
}

.btn-primary {
  border-color: rgba(216, 177, 77, 0.34);
  background: linear-gradient(180deg, rgba(216, 177, 77, 0.24), rgba(216, 177, 77, 0.14));
  color: #fff5d4;
}

.btn-primary:hover {
  border-color: rgba(244, 213, 123, 0.48);
  background: linear-gradient(180deg, rgba(216, 177, 77, 0.34), rgba(216, 177, 77, 0.18));
}

.btn-link {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--blue);
}

.btn-link:hover {
  transform: none;
  background: transparent;
  color: var(--blue2);
}

/* SECTIONS */
.section {
  padding: 76px 0;
  position: relative;
}

.hero {
  padding: 56px 0 34px;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(216, 177, 77, 0.24);
  background: linear-gradient(180deg, rgba(216, 177, 77, 0.16), rgba(216, 177, 77, 0.05));
  color: var(--gold2);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(3.25rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 10.5ch;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.13rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  max-width: 760px;
}

.proof-pill {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 19, 38, 0.58);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.proof-pill small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted2);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.proof-pill strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-visual {
  min-height: 540px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(53, 209, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(15, 28, 57, 0.9), rgba(8, 16, 33, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  padding: 26px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(88, 110, 155, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 110, 155, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.visual-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.visual-head h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.visual-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 440px;
  font-size: 0.98rem;
}

.status-pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 22, 45, 0.8);
  font-weight: 700;
  white-space: nowrap;
}

.graph-stage {
  position: relative;
  z-index: 2;
  min-height: 388px;
  border-radius: 24px;
  border: 1px solid rgba(102, 183, 255, 0.09);
  background: linear-gradient(180deg, rgba(5, 11, 24, 0.18), rgba(5, 11, 24, 0.06));
  overflow: hidden;
}

.node {
  position: absolute;
  width: 170px;
  padding: 16px 16px 15px;
  border-radius: 18px;
  border: 1px solid rgba(216, 177, 77, 0.2);
  background: rgba(10, 19, 38, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.node.blue {
  border-color: rgba(102, 183, 255, 0.24);
}

.node.green {
  border-color: rgba(58, 208, 122, 0.22);
}

.node small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted2);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.node strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.28;
}

.line {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(102, 183, 255, 0.18), rgba(102, 183, 255, 0.86), rgba(216, 177, 77, 0.48));
}

.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, #fff 0%, #66b7ff 36%, rgba(102, 183, 255, 0.08) 72%, transparent 76%);
  box-shadow: 0 0 22px rgba(102, 183, 255, 0.72);
}

/* TYPOGRAPHY */
.section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-intro {
  max-width: 780px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* CARDS / GRIDS */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 31, 62, 0.9), rgba(9, 18, 36, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 183, 255, 0.28);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(216, 177, 77, 0.06), transparent 35%),
    linear-gradient(240deg, rgba(53, 209, 255, 0.07), transparent 40%);
  pointer-events: none;
}

.card-inner {
  position: relative;
  z-index: 1;
  padding: 30px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 28px;
  align-items: stretch;
}

/* LISTS */
.scenario-list {
  margin: 18px 0 0 20px;
  padding: 0;
  color: var(--muted);
  line-height: 1.9;
}

/* CTA */
.cta-band {
  padding: 44px 34px;
  text-align: center;
  background:
    radial-gradient(circle at left top, rgba(216, 177, 77, 0.12), transparent 28%),
    radial-gradient(circle at right center, rgba(53, 209, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(14, 26, 52, 0.94), rgba(9, 17, 34, 0.98));
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cta-band p {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* FOOTER */
.site-footer {
  padding: 58px 0 28px;
  border-top: 1px solid rgba(120, 150, 210, 0.12);
  background: linear-gradient(180deg, rgba(4, 9, 17, 0.72), rgba(3, 8, 15, 0.92));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--muted2);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(120, 150, 210, 0.12);
  color: var(--muted2);
  font-size: 0.94rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .node {
    width: 170px;
  }
}

@media (max-width: 960px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .grid-3,
  .hero-proof,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .section {
    padding: 60px 0;
  }

  .btn-row {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
  }

  .hero-visual {
    padding: 18px;
  }

  .graph-stage {
    min-height: 460px;
  }

  .node {
    width: 138px;
    padding: 12px;
  }

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

  .site-footer {
    padding: 46px 0 24px;
  }
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(120,150,210,0.16);
  background: rgba(12,22,45,0.72);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

.footer-social a:hover {
  border-color: rgba(216,177,77,0.3);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================================
   HERO GRAPH FIX + MOBILE OPTIMIZATION
   ========================================================= */

.hero-visual {
  min-height: 640px;
  border-radius: 30px;
  border: 1px solid rgba(120,150,210,0.16);
  background:
    radial-gradient(circle at top right, rgba(53,209,255,0.10), transparent 34%),
    linear-gradient(180deg, rgba(15,28,57,0.92), rgba(8,16,33,0.97));
  box-shadow: 0 22px 60px rgba(0,0,0,0.34);
  overflow: hidden;
  position: relative;
  padding: 28px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(88,110,155,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,110,155,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.visual-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.visual-head h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.visual-head p {
  margin: 10px 0 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(120,150,210,0.16);
  background: rgba(10,19,38,0.84);
  font-weight: 700;
  white-space: nowrap;
}

.graph-stage {
  position: relative;
  z-index: 2;
  min-height: 500px;
  border-radius: 26px;
  border: 1px solid rgba(102,183,255,0.08);
  background: linear-gradient(180deg, rgba(5,11,24,0.18), rgba(5,11,24,0.08));
  overflow: hidden;
}

.graph-stage::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 24px;
  border: 1px solid rgba(120,150,210,0.08);
  pointer-events: none;
}

.graph-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.graph-lines line {
  stroke: rgba(96,181,255,0.72);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(96,181,255,0.22));
}

.graph-node {
  position: absolute;
  z-index: 2;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(120,150,210,0.18);
  background: rgba(7,18,40,0.95);
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
}

.graph-node::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffffff 0%, #66b7ff 42%, rgba(102,183,255,0.08) 75%, transparent 78%);
  box-shadow: 0 0 16px rgba(102,183,255,0.65);
}

.graph-node small {
  display: block;
  margin: 0 0 8px 18px;
  color: var(--muted2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graph-node strong {
  display: block;
  margin-left: 18px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
}

.graph-request {
  left: 5%;
  top: 18%;
  width: 27%;
}

.graph-risk {
  left: 42%;
  top: 10%;
  width: 29%;
}

.graph-policy {
  left: 42%;
  top: 56%;
  width: 29%;
}

.graph-auth {
  right: 2%;
  top: 18%;
  width: 18%;
  border-color: rgba(58,208,122,0.22);
}

.graph-enforce {
  right: 2%;
  top: 56%;
  width: 18%;
}

@media (max-width: 1180px) {
  .hero-visual {
    min-height: 600px;
    padding: 24px;
  }

  .graph-stage {
    min-height: 470px;
  }

  .graph-request { width: 28%; }
  .graph-risk,
  .graph-policy { width: 30%; }

  .graph-auth,
  .graph-enforce { width: 19%; }
}

@media (max-width: 980px) {
  .hero-visual {
    min-height: auto;
  }

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

  .status-pill {
    align-self: flex-start;
  }

  .graph-stage {
    min-height: 430px;
  }

  .graph-node {
    padding: 16px;
  }

  .graph-node small {
    margin-left: 16px;
  }

  .graph-node strong {
    margin-left: 16px;
    font-size: 0.95rem;
  }

  .graph-request { left: 4%; width: 30%; }
  .graph-risk,
  .graph-policy { left: 40%; width: 31%; }

  .graph-auth,
  .graph-enforce { right: 1.5%; width: 20%; }
}

@media (max-width: 820px) {
  .graph-lines {
    display: none;
  }

  .graph-stage {
    min-height: auto;
    display: grid;
    gap: 12px;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
  }

  .graph-stage::after {
    display: none;
  }

  .graph-node {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
  }

  .graph-node strong {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-visual {
    padding: 18px;
    border-radius: 24px;
  }

  .visual-head h2 {
    font-size: 1.2rem;
  }

  .visual-head p {
    font-size: 0.94rem;
  }

  .status-pill {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .graph-node {
    border-radius: 18px;
    padding: 14px;
  }

  .graph-node small {
    font-size: 0.72rem;
  }

  .graph-node strong {
    font-size: 0.95rem;
    line-height: 1.32;
  }
}

/* =========================================================
   GRAPH-ONLY FIX
   ========================================================= */

.hero-visual {
  position: relative;
  min-height: 600px;
  border-radius: 30px;
  border: 1px solid rgba(120,150,210,0.16);
  background:
    radial-gradient(circle at top right, rgba(53,209,255,0.10), transparent 34%),
    linear-gradient(180deg, rgba(15,28,57,0.92), rgba(8,16,33,0.97));
  box-shadow: 0 22px 60px rgba(0,0,0,0.34);
  overflow: hidden;
  padding: 28px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(88,110,155,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,110,155,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.visual-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.visual-head h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.visual-head p {
  margin: 10px 0 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(120,150,210,0.16);
  background: rgba(10,19,38,0.84);
  font-weight: 700;
  white-space: nowrap;
}

.graph-stage-fixed {
  position: relative;
  z-index: 2;
  min-height: 470px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(120px, 1fr));
  gap: 24px 20px;
  align-items: center;
  padding: 48px 24px 24px;
  border-radius: 26px;
  border: 1px solid rgba(102,183,255,0.08);
  background: linear-gradient(180deg, rgba(5,11,24,0.18), rgba(5,11,24,0.08));
  overflow: hidden;
}

.graph-stage-fixed::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 24px;
  border: 1px solid rgba(120,150,210,0.08);
  pointer-events: none;
}

.graph-node {
  position: relative;
  z-index: 2;
  min-height: 120px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(120,150,210,0.18);
  background: rgba(7,18,40,0.95);
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
}

.graph-node::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffffff 0%, #66b7ff 42%, rgba(102,183,255,0.08) 75%, transparent 78%);
  box-shadow: 0 0 16px rgba(102,183,255,0.65);
}

.graph-node small {
  display: block;
  margin: 0 0 8px 18px;
  color: var(--muted2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graph-node strong {
  display: block;
  margin-left: 18px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
}

.graph-node-request {
  grid-column: 1;
  grid-row: 1;
}

.graph-node-risk {
  grid-column: 2;
  grid-row: 1;
}

.graph-node-auth {
  grid-column: 3;
  grid-row: 1;
  border-color: rgba(58,208,122,0.22);
}

.graph-node-policy {
  grid-column: 2;
  grid-row: 2;
}

.graph-node-enforce {
  grid-column: 3;
  grid-row: 2;
}

.graph-link {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(96,181,255,0.18), rgba(96,181,255,0.85), rgba(216,177,77,0.42));
  filter: drop-shadow(0 0 8px rgba(96,181,255,0.22));
}

.graph-link-1 {
  left: 28%;
  top: 33%;
  width: 15%;
  transform: rotate(-12deg);
}

.graph-link-2 {
  left: 28%;
  top: 41%;
  width: 16%;
  transform: rotate(16deg);
}

.graph-link-3 {
  left: 61%;
  top: 34%;
  width: 12%;
  transform: rotate(8deg);
}

.graph-link-4 {
  left: 61%;
  top: 67%;
  width: 12%;
  transform: rotate(-8deg);
}

@media (max-width: 980px) {
  .hero-visual {
    min-height: auto;
  }

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

  .status-pill {
    align-self: flex-start;
  }

  .graph-stage-fixed {
    min-height: 430px;
    padding: 38px 20px 20px;
    gap: 18px 16px;
  }

  .graph-node {
    min-height: 108px;
    padding: 16px;
  }

  .graph-node strong {
    font-size: 0.95rem;
  }
}

@media (max-width: 820px) {
  .graph-link {
    display: none;
  }

  .graph-stage-fixed {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
  }

  .graph-stage-fixed::after {
    display: none;
  }

  .graph-node-request,
  .graph-node-risk,
  .graph-node-auth,
  .graph-node-policy,
  .graph-node-enforce {
    grid-column: auto;
    grid-row: auto;
  }

  .graph-node {
    min-height: auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-visual {
    padding: 18px;
    border-radius: 24px;
  }

  .visual-head h2 {
    font-size: 1.2rem;
  }

  .visual-head p {
    font-size: 0.94rem;
  }

  .status-pill {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .graph-node {
    border-radius: 18px;
    padding: 14px;
  }

  .graph-node small {
    font-size: 0.72rem;
  }

  .graph-node strong {
    font-size: 0.95rem;
    line-height: 1.32;
  }
}

/* =========================================================
   HERO + GRAPH STABILIZATION FIX
   Paste at very bottom of stc.css
   ========================================================= */

.hero-grid,
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(520px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.hero-copy,
.hero-content {
  min-width: 0;
}

.hero-copy h1,
.hero-content h1,
.hero h1 {
  margin: 18px 0 18px;
  max-width: 8.8ch;
  font-size: clamp(3.4rem, 5.2vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  word-break: normal;
  overflow-wrap: normal;
}

.hero-copy p,
.hero-content p,
.hero p {
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 560px;
  padding: 28px;
  overflow: hidden;
  border-radius: 30px;
}

.visual-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.visual-head > div:first-child {
  min-width: 0;
  flex: 1;
}

.visual-head h2 {
  margin: 0;
  max-width: 340px;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.visual-head p {
  margin: 10px 0 0;
  max-width: 360px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.status-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 12px 18px;
  font-size: 0.96rem;
}

.graph-stage-fixed {
  position: relative;
  min-height: 430px;
  padding: 42px 26px 26px;
  display: grid;
  grid-template-columns: 0.95fr 1fr 0.95fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px 22px;
  align-items: center;
  overflow: hidden;
}

.graph-node {
  min-width: 0;
  min-height: 112px;
  padding: 16px 16px 16px 18px;
  border-radius: 20px;
}

.graph-node small {
  display: block;
  margin: 0 0 8px 16px;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.graph-node strong {
  display: block;
  margin-left: 16px;
  font-size: 0.9rem;
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: normal;
}

.graph-node-request {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.graph-node-risk {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.graph-node-auth {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}

.graph-node-policy {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

.graph-node-enforce {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
}

.graph-link-1 {
  left: 29%;
  top: 38%;
  width: 14%;
  transform: rotate(-12deg);
}

.graph-link-2 {
  left: 29%;
  top: 46%;
  width: 14%;
  transform: rotate(18deg);
}

.graph-link-3 {
  left: 61.5%;
  top: 38.5%;
  width: 10%;
  transform: rotate(8deg);
}

.graph-link-4 {
  left: 61.5%;
  top: 68%;
  width: 10%;
  transform: rotate(-8deg);
}

/* large desktop balance */
@media (min-width: 1400px) {
  .hero-grid,
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(560px, 0.92fr);
  }

  .hero-copy h1,
  .hero-content h1,
  .hero h1 {
    font-size: clamp(3.6rem, 5vw, 5.4rem);
  }
}

/* laptop */
@media (max-width: 1240px) {
  .hero-grid,
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(470px, 0.92fr);
    gap: 30px;
  }

  .hero-copy h1,
  .hero-content h1,
  .hero h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
    max-width: 9.2ch;
  }

  .hero-visual {
    min-height: 530px;
    padding: 24px;
  }

  .graph-stage-fixed {
    min-height: 400px;
    gap: 16px 18px;
    padding: 36px 18px 18px;
  }

  .graph-node strong {
    font-size: 0.84rem;
  }

  .visual-head h2 {
    max-width: 290px;
    font-size: 1.08rem;
  }

  .visual-head p {
    max-width: 310px;
    font-size: 0.92rem;
  }
}

/* tablet */
@media (max-width: 980px) {
  .hero-grid,
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy h1,
  .hero-content h1,
  .hero h1 {
    max-width: 8.6ch;
    font-size: clamp(3rem, 8vw, 4.4rem);
  }

  .hero-visual {
    min-height: auto;
  }

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

  .visual-head h2,
  .visual-head p {
    max-width: none;
  }

  .status-pill {
    align-self: flex-start;
  }
}

/* mobile */
@media (max-width: 720px) {
  .hero-copy h1,
  .hero-content h1,
  .hero h1 {
    max-width: 9.2ch;
    font-size: clamp(2.8rem, 11vw, 4rem);
    line-height: 0.95;
  }

  .hero-copy p,
  .hero-content p,
  .hero p {
    font-size: 1rem;
  }

  .hero-visual {
    padding: 18px;
    border-radius: 24px;
  }

  .graph-stage-fixed {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .graph-stage-fixed::after,
  .graph-link {
    display: none;
  }

  .graph-node-request,
  .graph-node-risk,
  .graph-node-auth,
  .graph-node-policy,
  .graph-node-enforce {
    grid-column: auto;
    grid-row: auto;
  }

  .graph-node {
    min-height: auto;
    width: 100%;
    padding: 14px 14px 14px 16px;
  }

  .graph-node small {
    margin-left: 14px;
    white-space: normal;
  }

  .graph-node strong {
    margin-left: 14px;
    font-size: 0.95rem;
  }
}
