
:root{
  --nn-navy:#061b35;
  --nn-blue:#0b3d75;
  --nn-gold:#d99a2b;
  --nn-ink:#14243a;
  --nn-muted:#536278;
  --nn-line:rgba(7,29,58,.11);
  --nn-shadow:0 28px 80px rgba(7,29,58,.10);
}

.new-node-page{
  background:
    radial-gradient(circle at 86% 23%,rgba(217,154,43,.07),transparent 31%),
    radial-gradient(circle at 10% 58%,rgba(11,61,117,.045),transparent 36%),
    linear-gradient(180deg,#fffdf9 0%,#f8f7f3 52%,#ffffff 100%);
}

.new-node-page main{
  background:
    radial-gradient(circle at 84% 28%,rgba(217,154,43,.065),transparent 32%),
    radial-gradient(circle at 12% 58%,rgba(11,61,117,.045),transparent 34%),
    linear-gradient(180deg,#fffaf0 0%,#f8f7f3 54%,#fffaf0 86%,#ffffff 100%);
}

.new-node-hero{
  position:relative;
  min-height:760px;
  overflow:hidden;
  display:flex;
  align-items:center;
  color:#fff;
  background:var(--nn-navy);
}

.new-node-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  z-index:1;
  height:92px;
  pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 1440 120\' preserveAspectRatio=\'none\'%3E%3Cpath fill=\'%23fffaf0\' d=\'M0 86C210 78 337 45 534 50C767 56 875 98 1102 92C1255 88 1360 67 1440 54V120H0Z\'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat;
}

.new-node-hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.new-node-hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,14,29,.97) 0%,rgba(3,14,29,.88) 34%,rgba(3,14,29,.34) 66%,rgba(3,14,29,.06) 100%),
    linear-gradient(180deg,rgba(3,14,29,.20),rgba(3,14,29,.04) 55%,rgba(3,14,29,.70));
}

.new-node-hero-inner{
  position:relative;
  z-index:2;
  width:min(1400px,calc(100% - 112px));
  margin:0 auto;
  padding-top:76px;
}

.new-node-hero-copy{
  max-width:820px;
}

.new-node-kicker{
  margin:0 0 24px;
  color:#f2b544;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.new-node-hero h1{
  margin:0;
  max-width:850px;
  font-family:Inter,system-ui,sans-serif;
  font-size:clamp(4rem,6.8vw,7.2rem);
  line-height:.91;
  letter-spacing:-.075em;
  text-wrap:balance;
  text-shadow:0 12px 38px rgba(0,0,0,.38);
}

.new-node-hero-copy>p:last-of-type{
  max-width:700px;
  margin:30px 0 0;
  color:rgba(255,255,255,.86);
  font-size:1.18rem;
  line-height:1.7;
}

.new-node-hero-actions{
  position:relative;
  z-index:3;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
  padding:8px 10px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(3,14,29,.22),rgba(3,14,29,.08),transparent);
  transform:translateY(-28px);
}

.node-guide-shell{
  position:relative;
  width:min(1400px,calc(100% - 72px));
  margin:58px auto 70px;
}

.node-guide-shell::before{
  content:"";
  position:absolute;
  inset:-34px -34px -42px;
  z-index:0;
  pointer-events:none;
  border-radius:42px;
  background:
    radial-gradient(circle at 88% 13%,rgba(217,154,43,.075),transparent 32%),
    radial-gradient(circle at 8% 68%,rgba(11,61,117,.045),transparent 36%),
    linear-gradient(180deg,rgba(255,253,249,.64),rgba(248,247,243,.28) 62%,rgba(255,255,255,.38));
}

.node-guide-head,
.node-explorer{
  position:relative;
  z-index:1;
}

.node-guide-head{
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:70px;
  align-items:end;
  margin-bottom:32px;
}

.node-guide-head h2{
  max-width:760px;
  margin:4px 0 0;
  color:var(--nn-navy);
  font-size:clamp(2.5rem,4.2vw,4.8rem);
  line-height:.96;
  letter-spacing:-.06em;
}

.node-guide-head>p{
  margin:0;
  color:var(--nn-muted);
  line-height:1.7;
}

.node-explorer{
  display:grid;
  grid-template-columns:350px minmax(0,1fr);
  height:940px;
  border:1px solid rgba(7,29,58,.085);
  border-radius:30px;
  overflow:hidden;
  background:rgba(242,243,245,.74);
  box-shadow:0 30px 90px rgba(7,29,58,.095);
  backdrop-filter:blur(10px);
}

.node-explorer-menu{
  padding:34px 30px;
  background:rgba(255,255,255,.78);
  border-right:1px solid rgba(7,29,58,.075);
  overflow-y:visible;
}

.node-explorer-menu>p{
  margin:0 0 20px;
  color:var(--nn-ink);
  font-weight:900;
}

#nodeMenu button{
  width:100%;
  min-height:58px;
  padding:0;
  border:0;
  border-bottom:1px solid var(--nn-line);
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  background:transparent;
  color:#33435a;
  text-align:left;
  font:750 .94rem/1.25 Inter,system-ui,sans-serif;
  cursor:pointer;
  transition:color .2s ease,transform .2s ease;
}

#nodeMenu button .menu-number{
  color:#9c7a3d;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.09em;
}

#nodeMenu button .menu-arrow{
  color:#a2aab5;
  font-size:.95rem;
  transition:transform .2s ease,color .2s ease;
}

#nodeMenu button:hover,
#nodeMenu button.active{
  color:var(--nn-navy);
  transform:translateX(4px);
}

#nodeMenu button.active .menu-number,
#nodeMenu button.active .menu-arrow{
  color:var(--nn-gold);
}

#nodeMenu button.active .menu-arrow{
  transform:translateX(2px);
}

.node-explorer-panel{
  position:relative;
  overflow-y:auto;
  overflow-x:hidden;
  isolation:isolate;
  background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(248,247,243,.72));
  scrollbar-width:thin;
  scrollbar-color:rgba(7,29,58,.25) transparent;
}

.node-panel-image{
  position:absolute;
  z-index:-1;
  top:0;
  right:0;
  width:54%;
  height:100%;
  background-position:center right;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:.25;
  filter:grayscale(.08) blur(1.5px) saturate(.75);
  transform:scale(1.025);
  transition:opacity .35s ease,background-image .35s ease;
  pointer-events:none;
}

.node-panel-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.92) 22%,rgba(255,255,255,.38) 72%,rgba(255,255,255,.10) 100%),
    linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.58));
}

.node-panel-content{
  position:relative;
  z-index:2;
  max-width:960px;
  padding:64px 76px 82px;
  animation:panelFade .32s ease;
}

@keyframes panelFade{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:none}
}

.node-panel-content .panel-kicker{
  margin:0 0 12px;
  color:var(--nn-gold);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.node-panel-content h3{
  max-width:850px;
  margin:0 0 24px;
  color:var(--nn-navy);
  font-size:clamp(2.4rem,4vw,4.5rem);
  line-height:.96;
  letter-spacing:-.058em;
}

.node-panel-content h4{
  margin:32px 0 12px;
  color:var(--nn-navy);
  font-size:1.25rem;
}

.node-panel-content p,
.node-panel-content li{
  color:#46566d;
  font-size:1rem;
  line-height:1.75;
}

.node-panel-content ul,
.node-panel-content ol{
  padding-left:22px;
}

.node-panel-content li+li{
  margin-top:10px;
}

.panel-highlight{
  margin:30px 0;
  padding:26px 28px;
  border-left:4px solid var(--nn-gold);
  border-radius:0 18px 18px 0;
  background:rgba(255,248,234,.92);
  color:var(--nn-navy);
  font-size:1.18rem;
  line-height:1.6;
  font-weight:750;
  backdrop-filter:blur(8px);
}

.panel-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:26px;
}

.panel-card{
  position:relative;
  overflow:hidden;
  padding:22px;
  border:1px solid var(--nn-line);
  border-radius:18px;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(8px);
}

.panel-grid:has(.panel-card:nth-child(6)) .panel-card:nth-child(3),
.panel-grid:has(.panel-card:nth-child(6)) .panel-card:nth-child(4){
  border-color:rgba(217,154,43,.26);
  background:linear-gradient(135deg,rgba(255,248,230,.96),rgba(250,232,190,.76));
  box-shadow:0 16px 34px rgba(217,154,43,.09);
}

.panel-grid:has(.panel-card:nth-child(6)) .panel-card:nth-child(3)::before,
.panel-grid:has(.panel-card:nth-child(6)) .panel-card:nth-child(4)::before{
  content:"";
  position:absolute;
  top:0;
  left:22px;
  right:22px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(217,154,43,.18),rgba(217,154,43,.58),rgba(217,154,43,.18));
}

.panel-card strong{
  display:block;
  margin-bottom:8px;
  color:var(--nn-navy);
}

.panel-card p{
  margin:0;
  font-size:.92rem;
}

.node-faq details{
  border-top:1px solid var(--nn-line);
  padding:17px 0;
  background:rgba(255,255,255,.52);
}

.node-faq summary{
  cursor:pointer;
  color:var(--nn-navy);
  font-weight:850;
}

.node-faq details p{
  margin:12px 0 0;
}

.new-node-cta{
  position:relative;
  isolation:isolate;
  width:min(1400px,calc(100% - 72px));
  margin:0 auto 72px;
  padding:30px 36px;
  display:grid;
  grid-template-columns:minmax(0,920px) auto;
  gap:32px;
  align-items:center;
  border:0;
  outline:0;
  border-radius:20px;
  background:
    radial-gradient(circle at 88% 50%,rgba(242,181,68,.24),transparent 34%),
    linear-gradient(110deg,#061b35 0%,#0b3d75 44%,#f5e7c6 84%,#fffaf0 100%);
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 24px 62px rgba(6,27,53,.17);
  overflow:hidden;
}

.new-node-cta h2{
  margin:4px 0 9px;
  font-size:clamp(1.55rem,2.5vw,2.6rem);
  line-height:1;
  letter-spacing:-.045em;
}

.new-node-cta p:not(.section-eyebrow){
  max-width:900px;
  margin:0;
  color:rgba(255,255,255,.74);
  line-height:1.55;
  font-size:.93rem;
}

.new-node-cta>a{
  justify-self:end;
  width:190px;
  min-height:46px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:#061b35;
  color:#fff;
  font-size:.88rem;
  font-weight:900;
  white-space:nowrap;
  margin-right:24px;
  box-shadow:0 14px 34px rgba(6,27,53,.20);
}

.new-node-cta>a:hover{
  background:#0b3d75;
}

@media(max-width:1050px){
  .new-node-hero-inner,
  .node-guide-shell,
  .new-node-cta{
    width:min(100% - 48px,920px);
  }

  .node-guide-head{
    grid-template-columns:1fr;
    gap:24px;
  }

  .node-explorer{
    grid-template-columns:1fr;
    height:auto;
  }

  .node-explorer-menu{
    border-right:0;
    border-bottom:1px solid var(--nn-line);
    max-height:360px;
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(7,29,58,.22) transparent;
  }

  #nodeMenu{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 18px;
  }

  .node-explorer-panel{
    min-height:620px;
    max-height:none;
  }

  .new-node-cta{
    grid-template-columns:1fr;
  }

  .new-node-cta>a{
    justify-self:start;
  }
}

@media(max-width:700px){
  .new-node-hero{
    min-height:680px;
  }

  .new-node-hero::after{
    height:58px;
  }

  .new-node-hero-actions{
    padding:6px 0;
    background:transparent;
    transform:translateY(-16px);
  }

  .new-node-hero-inner{
    width:calc(100% - 36px);
    padding-top:86px;
  }

  .new-node-hero h1{
    font-size:clamp(3rem,15vw,4.8rem);
  }

  .node-guide-shell,
  .new-node-cta{
    width:calc(100% - 32px);
  }

  #nodeMenu{
    grid-template-columns:1fr;
  }

  .node-panel-image{
    width:100%;
    opacity:.18;
  }

  .node-panel-content{
    padding:40px 24px 54px;
  }

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

  .new-node-cta{
    padding:28px 24px;
    background:
      radial-gradient(circle at 96% 18%,rgba(242,181,68,.18),transparent 42%),
      linear-gradient(145deg,#061b35 0%,#0b3d75 72%,#214b76 100%);
  }

  .new-node-cta>a{
    justify-self:start;
    width:auto;
    margin-right:0;
  }
}
