/* Features overview (wireframe etalage) — extends features.css */

/* Hero: same rotating Darkroom renders as pricing */
.n7g-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  place-items: center;
  padding: 150px var(--navi-pad) 100px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  background: #0b0b20;
}
.n7g-hero__bg { position: absolute; inset: 0; z-index: 0; background: #0b0b20; }
.n7g-hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity .85s var(--navi-ease), transform 1.1s var(--navi-ease);
}
.n7g-hero__bg img:nth-child(2) { object-position: center 42%; }
.n7g-hero__bg img.is-active { opacity: 1; transform: scale(1); }
.n7g-hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,28,.88) 0%, rgba(10,10,28,.58) 28%, rgba(10,10,28,.72) 62%, rgba(8,8,22,.96) 100%),
    radial-gradient(70% 60% at 18% 88%, rgba(99,159,255,.22), transparent 66%),
    radial-gradient(55% 50% at 92% 8%, rgba(16,16,41,.55), transparent 70%);
}
.n7g-hero__in { position: relative; z-index: 2; width: min(960px, 100%); }
.n7g-hero h1 {
  margin-top: 18px;
  color: #fafafa;
  font-family: var(--navi-font);
  font-size: clamp(46px, 7.2vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.n7g-hero h1 .g {
  background: linear-gradient(92deg, #dce6fd, #639fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.n7g-hero__sub {
  max-width: 680px;
  margin: 26px auto 0;
  color: rgba(220, 230, 253, .88);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
}
.n7g-hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.n7g-hero__actions .navi-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .36);
}
@media (prefers-reduced-motion: reduce) {
  .n7g-hero__bg img { transition: none; transform: none; }
  .n7g-hero__bg img.is-active { transform: none; }
}
@media (max-width: 700px) {
  .n7g-hero { min-height: auto; padding: 120px var(--navi-pad) 72px; }
}

/* Window chrome for chapter media cards */
.n7o-win {
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.n7o-win__bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(220, 230, 253, .1);
}
.n7o-win__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(220, 230, 253, .28);
}
.n7o-win__dot:nth-child(1) { background: #ff5f57; }
.n7o-win__dot:nth-child(2) { background: #febc2e; }
.n7o-win__dot:nth-child(3) { background: #28c840; }
.n7o-win__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}
.n7o-win__body img,
.n7o-win__body video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

/* Melt: dark chapters → crosscut runway → light int (fallback until meltPainter measures) */
.n7o-melt {
  background: linear-gradient(180deg,
    #101029 0%, #101029 48%, #111539 54%, #1d2a66 58%, #243a78 66%,
    #2f4788 72%, #3d5899 78%, #4a6aa8 84%, #5a7ab8 88%,
    #8aa4d0 91%, #c5d4ea 94%, #fafafa 97%, #fafafa 100%);
}
.n7o-melt::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 2%, #000 98%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}

/* Explorer sits in light zone after hero; give it a soft top fade from dark hero */
#explorer.n7o-explorer-first {
  background: #fafafa;
  padding-top: clamp(64px, 8vw, 100px);
}

/* Chapter teasers — compact 3-card */
.n7o-chapter {
  padding: clamp(64px, 9vw, 120px) var(--navi-pad);
  color: var(--navi-off-white);
}
.n7o-chapter__head {
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}
.n7o-chapter__head h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 400;
  letter-spacing: -.02em;
}
.n7o-chapter__head h2 .g {
  background: linear-gradient(92deg, #dce6fd, #639fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.n7o-chapter__grid {
  max-width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.n7o-card {
  background: transparent;
  padding: clamp(22px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  position: relative;
}
.n7o-card + .n7o-card {
  border-left: 1px solid rgba(220, 230, 253, .14);
}
.n7o-card__tag {
  font-family: var(--navi-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navi-light-blue);
}
.n7o-card--text {
  justify-content: center;
}
.n7o-card--text h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: rgba(244, 246, 255, .92);
  max-width: 22ch;
}
.n7o-card--text .navi-btn { margin-top: 18px; align-self: flex-start; }
.n7o-card__media {
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  min-height: 140px;
  border: 1px solid rgba(220, 230, 253, .12);
}
.n7o-card__media img,
.n7o-card__media video {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.n7o-card__media .n7o-win {
  border: 0;
  border-radius: 0;
  height: 100%;
  aspect-ratio: auto;
  box-shadow: none;
}
.n7o-card__media .n7o-win__body {
  min-height: 160px;
}
.n7o-chapter--viewer .n7o-card__tag { color: #dce6fd; }

@media (max-width: 900px) {
  .n7o-chapter__grid { grid-template-columns: 1fr; }
  .n7o-card + .n7o-card {
    border-left: 0;
    border-top: 1px solid rgba(220, 230, 253, .14);
  }
  .n7o-card { min-height: 0; }
}

/* AI bridge band — trimmed bottom padding; crosscut below carries the melt */
.n7o-ai {
  padding: clamp(64px, 9vw, 110px) var(--navi-pad) clamp(40px, 5vw, 64px);
  color: var(--navi-off-white);
  text-align: center;
}
.n7o-ai__head { max-width: 720px; margin: 0 auto; }
.n7o-ai__head h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 400;
}
.n7o-ai__head h2 .g {
  background: linear-gradient(92deg, #dce6fd, #639fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.n7o-ai__cols {
  max-width: 1200px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-align: left;
}
.n7o-ai__col {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.n7o-ai__col + .n7o-ai__col {
  border-left: 1px solid rgba(220, 230, 253, .14);
}
.n7o-ai__col .n7o-card__tag { margin: 0; }
.n7o-ai__col h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  color: rgba(244, 246, 255, .92);
}
.n7o-ai__col .navi-btn { margin-top: auto; align-self: flex-start; }
.n7o-ai__col .n7i-ai__mock {
  margin: 4px 0 8px;
  text-align: left;
  min-height: 0;
  flex: 1 1 auto;
}
.n7o-ai__blocks {
  max-width: 1200px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  text-align: left;
}
.n7o-ai__row + .n7o-ai__row {
  margin-top: clamp(28px, 4vw, 44px);
}
.n7o-ai__row-label {
  font-family: var(--navi-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--navi-pastel-blue);
  margin: 0 0 14px;
}
.n7o-ai__grid {
  margin: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.n7o-ai__grid .n7f-bt {
  min-height: 200px;
  background: transparent;
  box-shadow: none;
}
.n7o-ai__grid .n7f-bt:hover {
  background: rgba(255, 255, 255, .045);
}
.n7o-ai__polaris {
  margin: clamp(28px, 4vw, 40px) auto 0;
  max-width: 520px;
  font-size: 13.5px;
  color: var(--navi-pastel-blue);
  font-weight: 300;
}
@media (max-width: 760px) {
  .n7o-ai__cols { grid-template-columns: 1fr; }
  .n7o-ai__col + .n7o-ai__col {
    border-left: 0;
    border-top: 1px solid rgba(220, 230, 253, .14);
  }
}
@media (max-width: 560px) {
  .n7o-ai__grid .n7f-bt {
    min-height: 0;
  }
}

/* Crosscut sits in the melt runway — light type on mid blues */
#crosscut.n7o-cross-melt {
  color: var(--navi-off-white);
  background: transparent;
  padding: clamp(72px, 9vw, 120px) var(--navi-pad) clamp(40px, 5vw, 64px);
}
#crosscut.n7o-cross-melt .navi-eyebrow { color: var(--navi-light-blue); }
#crosscut.n7o-cross-melt .n7f-section-head h2 {
  color: var(--navi-off-white);
}
#crosscut.n7o-cross-melt .n7f-section-head h2 .g {
  background: linear-gradient(92deg, #dce6fd, #639fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#crosscut.n7o-cross-melt .n7f-bt {
  outline: 0;
  color: var(--navi-off-white);
  background: transparent;
  box-shadow: 1px 0 0 rgba(220, 230, 253, .14), 0 1px 0 rgba(220, 230, 253, .14);
  justify-content: flex-start;
  gap: 0;
}
#crosscut.n7o-cross-melt .n7f-bt:hover { background: rgba(255, 255, 255, .035); }
#crosscut.n7o-cross-melt .n7f-bt h3 {
  color: var(--navi-off-white);
  margin-top: 16px;
}
#crosscut.n7o-cross-melt .n7f-bt > div:not(.n7f-bt__ic) {
  margin-top: 0;
}
#crosscut.n7o-cross-melt .n7f-bt p { color: rgba(244, 246, 255, .82); }
#crosscut.n7o-cross-melt .n7f-bt__ic {
  flex: none;
  background: transparent;
}
#crosscut.n7o-cross-melt .n7f-bt__ic svg { stroke: var(--navi-light-blue); }
#crosscut.n7o-cross-melt .n7f-crossgrid {
  border: 0;
  border-radius: 0;
  gap: 0;
  background: transparent;
  overflow: visible;
}
#crosscut.n7o-cross-melt .n7f-crossgrid .n7f-bt {
  min-height: 0;
}
@media (max-width: 560px) {
  #crosscut.n7o-cross-melt .n7f-crossgrid .n7f-bt {
    min-height: 0;
  }
}

/* Integrations picks up once the melt has gone light */
.n7o-melt > .n6-int {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.n7o-bridge {
  padding: clamp(40px, 6vw, 64px) var(--navi-pad);
  border-top: 1px solid var(--navi-line);
  border-bottom: 1px solid var(--navi-line);
  color: var(--navi-ink);
}
.n7o-bridge__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}
.n7o-bridge__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(8px, 1.5vw, 16px) 0;
}
.n7o-bridge__col + .n7o-bridge__col {
  border-left: 1px solid var(--navi-line);
  padding-left: clamp(28px, 4vw, 48px);
}
.n7o-bridge__eyebrow {
  font-family: var(--navi-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navi-blue);
}
.n7o-bridge__col p {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  max-width: 28ch;
  line-height: 1.3;
  margin: 0;
  color: var(--navi-ink);
}
@media (max-width: 720px) {
  .n7o-bridge__inner { grid-template-columns: 1fr; }
  .n7o-bridge__col + .n7o-bridge__col {
    border-left: 0;
    border-top: 1px solid var(--navi-line);
    padding-left: 0;
    padding-top: clamp(24px, 4vw, 36px);
  }
}

/* Stub pages */
.n7o-stub {
  padding: clamp(48px, 8vw, 90px) var(--navi-pad) clamp(90px, 14vw, 160px);
  text-align: center;
  color: var(--navi-off-white);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(99, 159, 255, .14), transparent 55%),
    #101029;
  min-height: 50vh;
}
.n7o-stub__note {
  display: inline-block;
  margin-top: 28px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(220, 230, 253, .18);
  font-family: var(--navi-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navi-pastel-blue);
}
.n7o-stub p {
  margin: 18px auto 0;
  max-width: 480px;
  color: var(--navi-pastel-blue);
  font-weight: 300;
}
.n7o-stub__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
