/* ============================================================
   np-sections.css — clean, centered page sections for index.html.

   Replaces the Figma-exported content sections (which each baked in
   their own inconsistent left-hug / right-panel / full-bleed layout)
   with ONE continuous centered scroll: every section shares the same
   centered max-width content column and uniform left/right gutters.

   Brand tokens measured from the original:
     font  : ABC Favorit (self-hosted; Outfit fallback)
     type  : headline 70/77, section label 38, subhead 35, body 20/28
     colour: text #000, off-white #F7F7F7, yellow #FFFF77,
             periwinkle #D1DCFF, green #2FBF39, red #CA1E08
   ============================================================ */

.np-main {
  --np-max: 760px;                       /* centered content column width */
  --np-gutter: clamp(20px, 6vw, 64px);   /* uniform side padding          */
  --np-fg: #000;
  --np-green: #2FBF39;
  --np-green-ink: #178a1f;
  --np-red: #CA1E08;
  font-family: 'ABC Favorit', 'Outfit', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--np-fg);
  width: 100%;
}

/* ============================================================
   Fixed-width framed layout.
   A centered fixed-width column (--np-frame-w) with visible left/right
   boundary rules, sitting on a contrasting page background. The hero and
   the main content live INSIDE the frame; the nav and the ticker stay
   full-bleed (they are not wrapped in .np-frame).
   ============================================================ */
:root { --np-frame-w: 1080px; }

/* contrasting page background so the white framed column reads as bounded.
   Must beat the Figma rule `body:has([data-breakpoint-id="node-1_298"])
   { background-color: white }`, so match/raise specificity. */
body,
body:has([data-breakpoint-id="node-1_298"]) { background: #E7E7E4 !important; }

.np-frame {
  width: 100%;
  max-width: var(--np-frame-w);
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.14);
  border-right: 1px solid rgba(0,0,0,0.14);
}

/* hero frame: keep the video bounded inside the column */
.np-frame--hero { overflow: hidden; }
/* Override Figma's fixed width:1280px on the hero (#container .css-okwpo9
   is more specific, so match that specificity to win). */
#container .np-frame--hero .neophyte-hero,
.np-frame--hero .neophyte-hero {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0;
}
.np-frame--hero .neophyte-hero-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* Inside the frame the content no longer needs its own narrow 760 column;
   let sections fill the frame with uniform padding. */
.np-frame .np-section__inner {
  max-width: none;
}

/* --- image hero (team / token pages) ------------------------------ */
.np-frame--hero-img .neophyte-hero--image {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: block;
}
.neophyte-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* optional wordmark overlaid on an image hero (token page) */
.neophyte-hero__wordmark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(70%, 720px);
  height: auto;
}

/* --- token page perks list --------------------------------------- */
.np-perks { display: grid; gap: 20px; }
.np-perks .np-body strong { font-weight: 700; }

/* --- team member rows --------------------------------------------- */
.np-team { display: grid; gap: 56px; margin-top: 8px; }
.np-member {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.np-member__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.np-member__body .np-subhead { margin-bottom: 4px; }
.np-member__links {
  font-size: 15px;
  opacity: 0.6;
  margin: 0 0 16px;
}
.np-member__body .np-body { margin-bottom: 14px; }
.np-member__body .np-body:last-child { margin-bottom: 0; }
.np-member__body a { color: var(--np-green-ink, #178a1f); text-decoration: underline; }

@media (max-width: 640px) {
  .np-member { grid-template-columns: 1fr; gap: 16px; }
  .np-member__photo { max-width: 240px; }
}


/* Every section is a full-width band (so background colours go edge to
   edge) whose INNER content is centered to the shared column. */
.np-section {
  width: 100%;
  padding-top: clamp(48px, 8vw, 112px);
  padding-bottom: clamp(48px, 8vw, 112px);
}
.np-section__inner {
  max-width: var(--np-max);
  margin: 0 auto;
  padding-left: var(--np-gutter);
  padding-right: var(--np-gutter);
}

/* --- section background variants ---------------------------------- */
.np-section--plain  { background: #F7F7F7; }
.np-section--white  { background: #fff; }
.np-section--yellow { background: #FFFF77; }
.np-section--peri   { background: #D1DCFF; }

/* --- typography --------------------------------------------------- */
.np-lede {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.08;
  margin: 0;
}
.np-label {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  margin: 0 0 28px;
}
.np-subhead {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
  margin: 0 0 8px;
}
.np-body {
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}
.np-intro { margin: 0 0 40px; }

/* --- HOW IT WORKS steps ------------------------------------------- */
.np-steps { display: grid; gap: 40px; margin-top: 8px; }
.np-step__num {
  font-size: 28px;
  line-height: 1;
  margin: 0 0 10px;
}
.np-step__body { margin-top: 6px; color: var(--np-fg); }

/* --- "what can we build" example cards ---------------------------- */
.np-cards { display: grid; gap: 24px; margin-top: 40px; }
.np-card {
  background: #000;
  color: #fff;
  padding: 28px 24px;
  border-radius: 2px;
}
.np-card__title { font-size: 24px; line-height: 1.1; margin: 0 0 12px; color: #fff; }
.np-card__body  { font-size: 17px; line-height: 1.45; margin: 0; color: #fff; }
.np-card__body a { color: var(--np-green); text-decoration: underline; }

/* --- big link rows (subscribe / vision paper) --------------------- */
.np-biglink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  color: #000;
  text-decoration: none;
  margin: 0 0 28px;
}
.np-biglink:hover { text-decoration: underline; }

/* --- footer ------------------------------------------------------- */
.np-footer { background: #F7F7F7; }
.np-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.np-footer__col h3 {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
  opacity: 0.6;
}
.np-footer__col ul { list-style: none; margin: 0; padding: 0; }
.np-footer__col li { margin: 0 0 10px; }
.np-footer__col a { font-size: 17px; color: #000; text-decoration: none; }
.np-footer__col a:hover { text-decoration: underline; }
.np-footer__fine {
  margin-top: 48px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
  text-align: center;
}

/* --- responsive: single column on narrow screens ------------------ */
@media (max-width: 640px) {
  .np-footer__cols { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .np-cards { gap: 18px; }
}
