/* Public homepage redesign: one editorial system for the hero, proof points,
   process, live roles, pathways, and closing action. */
.landing {
  background:
    radial-gradient(900px 520px at 86% 2%, rgba(79, 124, 255, 0.1), transparent 62%),
    radial-gradient(760px 480px at 5% 8%, rgba(203, 161, 53, 0.09), transparent 60%),
    var(--bg);
}

.landing section,
.landing-footer,
.landing-topnav-inner { max-width: 1180px; }

.landing-hero-bg {
  height: 900px;
  background-color: #080b14;
  background:
    linear-gradient(90deg, rgba(7, 9, 20, 0.94) 0%, rgba(7, 9, 20, 0.78) 43%, rgba(7, 9, 20, 0.32) 74%, rgba(7, 9, 20, 0.52) 100%),
    linear-gradient(180deg, rgba(7, 9, 20, 0.32), rgba(12, 15, 26, 0.2) 64%, var(--bg) 100%),
    url("../assets/hero-formal.jpg");
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center, center, center 60%;
  background-repeat: no-repeat;
}
.landing-hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 340px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 15, 26, 0.5) 38%, rgba(12, 15, 26, 0.92) 72%, var(--bg) 100%);
}

.landing-topnav {
  top: 10px;
  padding: 8px 14px;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: none;
}
.landing-topnav-inner {
  min-height: 64px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(10, 13, 24, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.landing-topnav.scrolled {
  padding: 8px 14px;
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.landing-topnav.scrolled .landing-topnav-inner {
  background: rgba(10, 13, 24, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}
.landing-brand .brand-name { font-size: 14px; font-weight: 900; }
.landing-brand .brand-sub { font-size: 10.5px; }
.landing-crest { width: 39px; height: 39px; }

.landing-login-greeting {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
  overflow: visible;
  white-space: nowrap;
}
.landing-login-hello {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
}
.landing-user-name,
.landing-login-hello {
  position: relative;
  display: inline-block;
}
.landing-login-greeting.is-revealing .landing-user-name {
  color: rgba(236, 239, 247, 0.28);
  animation-name: loginTextEnter, chromaBaseSettle;
  animation-duration: 520ms, 2350ms;
  animation-fill-mode: both, both;
}
.landing-login-greeting.is-revealing .landing-login-hello {
  color: rgba(236, 239, 247, 0.28);
  animation-name: loginHelloLifecycle, chromaBaseSettle;
  animation-duration: 3200ms, 2350ms;
  animation-fill-mode: both, both;
}
.landing-login-greeting.is-revealing::before,
.landing-login-greeting.is-revealing::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}
.landing-login-greeting.is-revealing::before {
  color: var(--text);
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  animation: chromaWhiteReveal 2150ms linear 220ms both;
}
.landing-login-greeting.is-revealing::after {
  color: transparent;
  background-image: linear-gradient(90deg, #ff4d8d 0%, #ffb84d 23%, #e3b94f 40%, #59f0ff 58%, #7ea5ff 76%, #b779ff 100%);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  clip-path: inset(0 100% 0 0);
  filter: saturate(1.45) drop-shadow(0 0 7px rgba(123, 160, 255, 0.34));
  animation: chromaEdgeSweep 2100ms linear 220ms both;
}
.landing-admin-badge { order: -1; overflow: hidden; transform-origin: right center; white-space: nowrap; }
.landing-admin-badge.admin-badge-reveal {
  animation: adminBadgeReveal 760ms cubic-bezier(0.16, 0.84, 0.24, 1) 2600ms both;
}
@keyframes chromaBaseSettle {
  0%, 72% { color: rgba(236, 239, 247, 0.2); }
  100% { color: var(--text); }
}
@keyframes loginTextEnter {
  0% { opacity: 0; filter: blur(7px); transform: translateY(5px) scale(0.98); }
  100% { opacity: 1; filter: none; transform: none; }
}
@keyframes chromaWhiteReveal {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  5% { opacity: 1; }
  94% { opacity: 1; clip-path: inset(0 0 0 0); }
  99% { opacity: 1; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 0); }
}
@keyframes chromaEdgeSweep {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  5% { opacity: 1; clip-path: inset(0 90% 0 0); }
  20% { clip-path: inset(0 70% 0 10%); }
  40% { clip-path: inset(0 50% 0 30%); }
  60% { clip-path: inset(0 30% 0 50%); }
  80% { clip-path: inset(0 10% 0 70%); }
  95% { opacity: 1; clip-path: inset(0 0 0 90%); }
  100% { opacity: 0; clip-path: inset(0 0 0 100%); }
}
@keyframes loginHelloLifecycle {
  0% { max-width: 72px; opacity: 0; filter: blur(7px); transform: translateY(5px) scale(0.98); }
  16% { max-width: 72px; opacity: 1; filter: none; transform: none; }
  74% { max-width: 72px; opacity: 1; filter: none; transform: none; }
  88% { max-width: 72px; opacity: 0; filter: blur(2px); transform: translateX(5px); }
  100% { max-width: 0; opacity: 0; transform: translateX(8px); }
}
@keyframes adminBadgeReveal {
  0% {
    max-width: 0;
    padding-inline: 0;
    border-color: transparent;
    opacity: 0;
    filter: blur(5px);
    transform: translateX(10px) scale(0.82);
  }
  58% {
    max-width: 80px;
    opacity: 1;
    filter: blur(0);
    transform: translateX(-2px) scale(1.04);
  }
  100% {
    max-width: 80px;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.landing-hero {
  min-height: calc(100svh - 88px);
  padding-top: 44px;
  padding-bottom: 38px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  row-gap: 30px;
  text-align: left;
}
.landing-hero-copy {
  max-width: 760px;
  align-self: center;
  padding: 24px 0;
}
.landing-kicker {
  margin-bottom: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.landing-headline {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(52px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}
.hl-gold,
.hl-blue {
  animation: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72), 0 0 20px rgba(var(--glow), 0.36);
}
.landing-hero.is-animating .hl-gold,
.landing-hero.is-animating .hl-blue {
  display: inline-block;
  animation: landingAccentIn 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 300ms;
}
.landing-hero.is-animating .hl-blue { animation-delay: 390ms; }
@keyframes landingAccentIn {
  0% { opacity: 0; transform: translateY(0.18em) scale(0.96); filter: blur(4px); }
  65% { opacity: 1; transform: translateY(-0.025em) scale(1.015); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
.landing-lede {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(236, 239, 247, 0.88);
  font-size: 17px;
  line-height: 1.58;
}
.landing-cta {
  justify-content: flex-start;
  margin-bottom: 0;
}
.landing-cta .btn { min-height: 50px; }

.landing-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(10, 13, 24, 0.66);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}
.ls-item {
  min-width: 0;
  padding: 15px 19px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  backdrop-filter: none;
  display: grid;
  place-content: center;
  text-align: center;
}
.ls-item + .ls-item { border-left: 1px solid rgba(255, 255, 255, 0.09); }
.ls-num {
  color: var(--text);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.ls-item:nth-child(2n) .ls-num { color: var(--gold-bright); }
.ls-item:nth-child(2n + 1) .ls-num { color: var(--blue-bright); }
.ls-label { color: rgba(154, 163, 186, 0.9); font-size: 11.5px; }
.landing-hero.is-animating .ls-item {
  animation: landingStatIn 460ms var(--motion-ease) both;
}
.landing-hero.is-animating .ls-item:nth-child(1) { animation-delay: 360ms; }
.landing-hero.is-animating .ls-item:nth-child(2) { animation-delay: 420ms; }
.landing-hero.is-animating .ls-item:nth-child(3) { animation-delay: 480ms; }
.landing-hero.is-animating .ls-item:nth-child(4) { animation-delay: 540ms; }
@keyframes landingStatIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.landing-logos {
  padding-top: 76px;
  padding-bottom: 74px;
}
.logos-label { margin-bottom: 16px; text-align: center; color: var(--text-muted); }
.marquee {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(9, 12, 22, 0.6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { align-items: center; gap: 54px; animation-duration: 120s; }
.logo-card { height: 44px; opacity: 0.82; transition: opacity 160ms ease; }
.logo-card:hover { opacity: 1; }
.logo-card .logo-img { width: 32px; height: 32px; }
.logo-card .logo-name { font-size: 15px; }

.section-head {
  max-width: 720px;
  margin: 0 0 30px;
  text-align: left;
}
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.02;
  letter-spacing: 0;
}
.section-head p { max-width: 620px; margin-top: 10px; font-size: 15px; line-height: 1.55; }
.section-eyebrow { margin-bottom: 10px; }
.section-head .section-eyebrow { display: flex; width: max-content; }
.section-head.reveal .section-eyebrow::before,
.landing-footcta .section-eyebrow::before {
  content: "";
  width: 0;
  height: 2px;
  align-self: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-bright), var(--blue-bright));
  transition: width 420ms var(--motion-ease) 120ms;
}
.section-head.reveal.in .section-eyebrow::before,
.landing-footcta .reveal.in .section-eyebrow::before { width: 28px; }
.section-head-how h2 { padding-bottom: 0; }
.section-head-how h2::after { display: none; }

/* Major homepage chapters sit on full-width rounded bands. The soft lower edge
   reveals the next section without relying on a hard color break. */
.landing-story,
.landing-recent { isolation: isolate; }
.landing-story::before,
.landing-recent::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50% 0 auto;
  width: 100vw;
  transform: translateX(50%);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-top: 0;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.landing-story::before {
  background:
    radial-gradient(760px 420px at 88% 14%, rgba(79, 124, 255, 0.1), transparent 68%),
    linear-gradient(180deg, rgba(15, 20, 35, 0.96), rgba(12, 16, 29, 0.9));
}
.landing-story { margin-bottom: 30px; padding-top: 116px; padding-bottom: 86px; }
.story-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  padding-bottom: 104px;
  text-align: center;
}
.story-intro .section-eyebrow {
  width: max-content;
  margin: 0 0 22px;
}
.story-intro h2 {
  max-width: 1000px;
  font-size: clamp(43px, 5.5vw, 70px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}
.story-intro > p {
  max-width: 680px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}
.home-feature-flow { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.home-feature-row {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding: 92px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.home-feature-row-reverse .home-feature-copy { grid-column: 2; }
.home-feature-row-reverse .home-feature-visual { grid-column: 1; grid-row: 1; }
.home-feature-row-reverse {
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, 0.58fr);
  gap: clamp(54px, 6vw, 88px);
}
.home-feature-copy { position: relative; z-index: 2; }
.home-feature-number {
  display: block;
  margin-bottom: 48px;
  color: rgba(236, 239, 247, 0.16);
  font-size: 72px;
  font-weight: 900;
  line-height: 0.8;
}
.home-feature-copy h3 {
  max-width: 500px;
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}
.home-feature-copy > p {
  max-width: 480px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}
.home-feature-link {
  margin-top: 30px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid rgba(232, 194, 91, 0.5);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}
.home-feature-link span { display: inline-block; margin-left: 7px; transition: transform 180ms ease; }
.home-feature-link:hover span { transform: translateX(5px); }

.home-feature-visual {
  position: relative;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(14, 18, 31, 0.88);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 560ms ease 100ms, transform 620ms var(--motion-ease) 100ms;
}
.home-feature-row.in .home-feature-visual { opacity: 1; transform: none; }
.demo-toolbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.demo-toolbar > span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.demo-toolbar > span:first-child { background: rgba(203, 161, 53, 0.65); }
.demo-toolbar b { margin-left: 8px; color: var(--text-muted); font-size: 11px; font-weight: 800; }
.demo-search {
  height: 58px;
  margin: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid rgba(123, 160, 255, 0.3);
  border-radius: 10px;
  background: rgba(79, 124, 255, 0.07);
  color: var(--text-muted);
  font-size: 12.5px;
}
.demo-search svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-bright); stroke-width: 2; }
.demo-search kbd { margin-left: auto; padding: 3px 7px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 5px; color: var(--text-faint); font: inherit; font-size: 10px; }
.demo-results { padding: 0 24px 24px; }
.demo-result {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 360ms ease var(--demo-delay), transform 360ms var(--motion-ease) var(--demo-delay), background 160ms ease;
}
.home-feature-row.in .demo-result { opacity: 1; transform: none; }
.demo-result:hover { background: rgba(255, 255, 255, 0.035); }
.demo-rank { color: var(--text-faint); font-size: 10px; font-weight: 900; }
.demo-result .logo-card { min-width: 0; opacity: 1; }
.demo-result .logo-card .logo-name { overflow: hidden; text-overflow: ellipsis; }
.demo-count { color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.demo-result > b { color: var(--gold-bright); }
.demo-empty { padding: 28px; color: var(--text-muted); text-align: center; }

.term-demo { display: grid; grid-template-columns: minmax(210px, 0.68fr) minmax(0, 1.32fr); padding: 28px; gap: 18px; }
.term-demo-summary {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(203, 161, 53, 0.18), rgba(18, 23, 39, 0.5));
}
.term-demo-summary span { margin-bottom: auto; color: var(--gold-bright); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.term-demo-summary strong { font-size: clamp(64px, 7vw, 88px); line-height: 0.9; }
.term-demo-summary small { margin-top: 10px; color: var(--text-muted); }
.term-demo-track { display: grid; gap: 10px; }
.term-demo-card {
  position: relative;
  min-height: 122px;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font: inherit;
  text-align: left;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 360ms ease var(--demo-delay), transform 360ms var(--motion-ease) var(--demo-delay), background 160ms ease;
}
.home-feature-row.in .term-demo-card { opacity: 1; transform: none; }
.term-demo-card:hover { background: rgba(79, 124, 255, 0.08); }
.term-demo-card span { display: block; color: var(--blue-bright); font-size: 9px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.term-demo-card strong { display: block; margin-top: 8px; font-size: 21px; }
.term-demo-card small { display: block; margin-top: 3px; color: var(--text-muted); }
.term-demo-card i { position: absolute; left: 0; bottom: 0; width: var(--term-fill); height: 3px; background: linear-gradient(90deg, var(--gold), var(--blue)); }

.mentor-demo { padding: 28px; }
.mentor-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 20px;
}
.mentor-demo-head > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.mentor-demo-head span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mentor-demo-head strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.08;
}
.mentor-demo-head b {
  min-width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(72, 211, 143, 0.26);
  border-radius: 18px;
  background: rgba(72, 211, 143, 0.1);
  color: var(--green);
  font-size: 34px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.mentor-demo-list { display: grid; }
.mentor-demo-row {
  width: 100%;
  min-height: 100px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 4px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 360ms ease var(--demo-delay), transform 360ms var(--motion-ease) var(--demo-delay);
}
.home-feature-row.in .mentor-demo-row { opacity: 1; transform: none; }
.mentor-demo-row > span { min-width: 0; display: grid; gap: 4px; }
.mentor-demo-row strong { font-size: 14px; }
.mentor-demo-row small { overflow: hidden; color: var(--text-muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.mentor-demo-row > b { color: var(--green); font-size: 11px; white-space: nowrap; }

/* Editorial statement inspired by Sui's large narrative transitions. */
.landing-manifesto { padding-top: 112px; padding-bottom: 116px; }
.manifesto-layout { max-width: 1000px; }
.manifesto-layout .section-eyebrow { margin-bottom: 28px; }
.manifesto-layout h2 {
  max-width: 1050px;
  color: rgba(236, 239, 247, 0.92);
  font-size: clamp(42px, 5.7vw, 72px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}
.manifesto-word {
  position: relative;
  display: inline-block;
  color: var(--text);
  white-space: nowrap;
}
.manifesto-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.01em;
  height: 0.08em;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 560ms var(--motion-ease);
}
.manifesto-layout.in .manifesto-word::after { transform: scaleX(1); }
.manifesto-layout.in .manifesto-word:nth-of-type(1)::after { transition-delay: 180ms; }
.manifesto-layout.in .manifesto-word:nth-of-type(2)::after { transition-delay: 300ms; }
.manifesto-layout.in .manifesto-word:nth-of-type(3)::after { transition-delay: 420ms; }
.word-gold::after { background: var(--gold-bright); }
.word-blue::after { background: var(--blue-bright); }
.word-green::after { background: var(--green); }
.manifesto-layout > p {
  max-width: 720px;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* Six connected modules form the product-like chapter network system. */
.landing-network { padding-top: 96px; padding-bottom: 110px; }
.network-system {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 14px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 124, 255, 0.12), transparent 26%),
    rgba(12, 16, 28, 0.64);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}
.network-system::before,
.network-system::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.42;
}
.network-system::before {
  left: 14%;
  right: 14%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--blue), transparent);
}
.network-system::after {
  top: 18%;
  bottom: 18%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--blue), var(--gold), transparent);
}
.network-core {
  grid-column: 2;
  grid-row: 2;
  z-index: 2;
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(203, 161, 53, 0.3);
  border-radius: 16px;
  background: rgba(10, 13, 24, 0.94);
  box-shadow: 0 0 0 8px rgba(10, 13, 24, 0.5), 0 20px 48px rgba(0, 0, 0, 0.3);
  text-align: center;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 420ms ease 160ms, transform 520ms var(--motion-ease) 160ms;
}
.network-system.in .network-core { opacity: 1; transform: scale(1); }
.network-core img { width: 54px; height: 54px; object-fit: contain; }
.network-core strong { font-size: 13px; line-height: 1.2; }
.network-module {
  position: relative;
  z-index: 2;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  gap: 6px 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background: rgba(20, 25, 42, 0.9);
  color: var(--text);
  font: inherit;
  text-align: left;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease var(--module-delay), transform 420ms var(--motion-ease) var(--module-delay), border-color 180ms ease, background 180ms ease;
}
.network-system.in .network-module { opacity: 1; transform: none; }
.network-module:hover {
  border-color: rgba(123, 160, 255, 0.38);
  background: rgba(25, 31, 52, 0.98);
}
.network-module-num { color: var(--text-faint); font-size: 11px; font-weight: 900; letter-spacing: 0.12em; }
.network-module-icon { grid-column: 3; grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue-bright); }
.network-module:nth-of-type(even) .network-module-icon { color: var(--gold-bright); }
.network-module-icon svg { width: 22px; height: 22px; }
.network-module strong { grid-column: 1 / 3; font-size: 17px; line-height: 1.2; }
.network-module small { grid-column: 1 / 3; color: var(--text-muted); font-size: 12.5px; line-height: 1.45; }
.network-module-arrow { grid-column: 3; grid-row: 3; align-self: end; justify-self: end; color: var(--text-faint); font-size: 18px; transition: transform 180ms ease, color 180ms ease; }
.network-module:hover .network-module-arrow { color: var(--gold-bright); transform: translateX(4px); }
.network-module-1 { grid-column: 1; grid-row: 1; }
.network-module-2 { grid-column: 2; grid-row: 1; }
.network-module-3 { grid-column: 3; grid-row: 1; }
.network-module-4 { grid-column: 1; grid-row: 3; }
.network-module-5 { grid-column: 2; grid-row: 3; }
.network-module-6 { grid-column: 3; grid-row: 3; }

.landing-benefits { padding-top: 100px; padding-bottom: 112px; }
.benefit-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.benefit-panel {
  position: relative;
  min-height: 480px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(18, 23, 39, 0.68);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms var(--motion-ease), border-color 180ms ease;
}
.benefit-columns.in .benefit-panel { opacity: 1; transform: none; }
.benefit-columns.in .benefit-panel:nth-child(2) { transition-delay: 100ms; }
.benefit-panel-brothers { background: linear-gradient(155deg, rgba(79, 124, 255, 0.15), rgba(18, 23, 39, 0.72) 48%); }
.benefit-panel-chapter { background: linear-gradient(155deg, rgba(203, 161, 53, 0.15), rgba(18, 23, 39, 0.72) 48%); }
.benefit-index { color: rgba(236, 239, 247, 0.2); font-size: 64px; font-weight: 900; line-height: 1; }
.benefit-panel h3 { margin-top: 44px; font-size: 34px; line-height: 1; }
.benefit-panel > p { max-width: 480px; margin-top: 14px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.benefit-panel ul { list-style: none; display: grid; gap: 0; margin-top: 30px; }
.benefit-panel li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.075); color: rgba(236, 239, 247, 0.9); font-size: 14px; }
.benefit-panel li span { color: var(--blue-bright); }
.benefit-panel-chapter li span { color: var(--gold-bright); }
.benefit-link { margin-top: 24px; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 900; }
.benefit-link span { display: inline-block; margin-left: 6px; transition: transform 180ms ease; }
.benefit-link:hover span { transform: translateX(5px); }

.role-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.role-showcase-single { grid-template-columns: minmax(0, 1fr); }
.role-feature {
  position: relative;
  min-height: 320px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid rgba(203, 161, 53, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(203, 161, 53, 0.16), transparent 36%),
    rgba(17, 22, 37, 0.86);
  color: var(--text);
  text-align: left;
}
.role-feature::after { content: "+"; position: absolute; right: 24px; bottom: -36px; color: rgba(203, 161, 53, 0.1); font-size: 210px; font-weight: 300; line-height: 1; }
.role-feature-kicker { color: var(--gold-bright); font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.role-feature-person { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.role-feature-person > span { display: grid; }
.role-feature-person strong { font-size: 14px; }
.role-feature-person small { color: var(--text-muted); font-size: 11.5px; }
.role-feature-position {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.role-feature-position h3 { max-width: 600px; margin: 0; font-size: clamp(31px, 3.2vw, 44px); line-height: 1.04; text-wrap: balance; }
.role-feature-position p { margin-top: 10px; color: var(--text-muted); font-size: 16px; }
.role-feature-foot { width: 100%; margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.09); color: var(--text-muted); font-size: 12px; }
.role-feature-foot span:last-child { color: var(--gold-bright); transition: transform 180ms ease; }
.role-feature:hover .role-feature-foot span:last-child { transform: translateX(5px); }
.role-supporting { display: grid; grid-auto-rows: minmax(0, 1fr); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; overflow: hidden; }
.role-supporting-row {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(18, 23, 39, 0.64);
  color: var(--text);
  font: inherit;
  text-align: left;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 360ms ease var(--role-delay), transform 360ms var(--motion-ease) var(--role-delay), background 160ms ease;
}
.role-showcase.in .role-supporting-row { opacity: 1; transform: none; }
.role-supporting-row:last-child { border-bottom: 0; }
.role-supporting-row:hover { background: rgba(25, 31, 52, 0.94); }
.role-supporting-num { color: var(--text-faint); font-size: 11px; font-weight: 900; }
.role-supporting-copy { display: grid; gap: 4px; }
.role-supporting-copy strong { font-size: 14px; }
.role-supporting-copy small { color: var(--text-muted); font-size: 11.5px; }
.role-supporting-person { color: var(--text-muted); font-size: 11.5px; white-space: nowrap; }
.role-supporting-person b { display: inline-block; margin-left: 6px; color: var(--blue-bright); transition: transform 180ms ease; }
.role-supporting-row:hover b { transform: translateX(4px); }

.landing-howto { padding-top: 76px; padding-bottom: 70px; }
.howto-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.howto-step {
  min-height: 270px;
  padding: 24px 25px 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14) !important;
}
.howto-step.s-gold { background: linear-gradient(150deg, rgba(203, 161, 53, 0.16), rgba(18, 23, 39, 0.76) 48%) !important; }
.howto-step.s-blue { background: linear-gradient(150deg, rgba(79, 124, 255, 0.16), rgba(18, 23, 39, 0.76) 48%) !important; }
.howto-step.s-green { background: linear-gradient(150deg, rgba(62, 207, 142, 0.13), rgba(18, 23, 39, 0.76) 48%) !important; }
.howto-step + .howto-step { border-left: 1px solid rgba(255, 255, 255, 0.09); }
.howto-step::before { width: 100%; height: 2px; }
.howto-step-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.howto-number {
  color: rgba(236, 239, 247, 0.18);
  font-size: 46px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}
.howto-step.s-gold .howto-number { color: rgba(232, 194, 91, 0.34); }
.howto-step.s-blue .howto-number { color: rgba(123, 160, 255, 0.34); }
.howto-step.s-green .howto-number { color: rgba(62, 207, 142, 0.3); }
.howto-step .stat-icon { margin: 0; width: 48px; height: 48px; border-radius: 12px; }
.howto-step h3 { font-size: 23px; font-weight: 900; }
.howto-step p { font-size: 14px; line-height: 1.6; }
.howto-arrow { display: none; }
.howto-step .howto-number,
.howto-step .stat-icon,
.howto-step h3 {
  transition: transform 360ms var(--motion-ease), color 220ms ease, box-shadow 220ms ease;
}
.howto-step.hl-active .howto-number { transform: translateY(-3px) scale(1.06); }
.howto-step.hl-active .stat-icon { transform: translateY(-2px); }
.howto-step:hover .stat-icon { transform: translateY(-3px) rotate(-2deg); }
.howto-step:hover h3 { color: var(--gold-bright); }

.landing-recent { margin-bottom: 34px; padding-top: 96px; padding-bottom: 94px; }
.landing-recent::before {
  background:
    radial-gradient(680px 360px at 8% 22%, rgba(203, 161, 53, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(18, 18, 25, 0.94), rgba(13, 16, 27, 0.9));
}
.section-head-latest { display: block; max-width: 760px; margin-bottom: 36px; }
.section-head-latest h2 {
  max-width: 700px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.03;
  text-wrap: balance;
}
.section-head-latest p {
  max-width: 650px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  font-size: 16px;
  line-height: 1.55;
}
.recent-carousel-window {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  margin: 0 -2px;
  padding: 4px 2px 18px;
  max-width: none;
  mask-image: none;
  -webkit-mask-image: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 160, 255, 0.5) rgba(255, 255, 255, 0.05);
}
.recent-cards,
.recent-cards.is-looping,
.recent-cards.is-static {
  width: max-content;
  justify-content: flex-start;
  animation: none;
  transform: none;
}
.recent-card[aria-hidden="true"] { display: none; }
.recent-card {
  --recent-card-w: clamp(270px, 30vw, 340px);
  min-height: 190px;
  border-radius: 12px;
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.recent-card:hover { transform: translateY(-3px); }
.recent-card .recent-card-role,
.recent-card .pathway-cta { transition: color 180ms ease, transform 180ms ease; }
.recent-card:hover .recent-card-role { color: var(--gold-bright); }

.landing-pathways { padding-top: 74px; padding-bottom: 76px; }
.section-head-pathways {
  max-width: 720px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}
.section-head-pathways .section-eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue-bright);
}
.pathway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pathway-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(18, 23, 39, 0.64);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
}
.pathway-card::before { width: 3px; box-shadow: none; }
.pathway-card::after { display: none; }
.pathway-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--pathway-accent) 45%, var(--border));
  background: rgba(21, 27, 46, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}
.pathway-card h3 { max-width: 460px; font-size: 21px; }
.pathway-card p { max-width: 520px; }
.pathway-card .pathway-cta { transition: transform 180ms ease, color 180ms ease; }
.pathway-card:hover .pathway-cta { transform: translateX(5px); }
.pathway-grid.reveal .pathway-card { opacity: 0; transform: translateY(16px); }
.pathway-grid.reveal.in .pathway-card {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms var(--motion-ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.pathway-grid.reveal.in .pathway-card:nth-child(2) { transition-delay: 70ms; }
.pathway-grid.reveal.in .pathway-card:nth-child(3) { transition-delay: 140ms; }
.pathway-grid.reveal.in .pathway-card:nth-child(4) { transition-delay: 210ms; }

.landing-footcta.dither-section {
  position: relative;
  margin-top: 72px;
  margin-bottom: 32px;
  padding: 64px 32px;
  overflow: hidden;
  border: 1px solid rgba(123, 160, 255, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 20%, rgba(203, 161, 53, 0.18), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(79, 124, 255, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(32, 35, 49, 0.98), rgba(16, 23, 43, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 26px 64px rgba(0, 0, 0, 0.24);
}
.landing-footcta canvas.dither { display: none; }
.landing-footcta .dither-scrim {
  opacity: 0.8;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
}
.landing-footcta .dither-content { position: relative; z-index: 1; }
.landing-footcta .section-eyebrow { color: var(--gold-bright); }
.landing-footcta h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: 0; }
.landing-footcta p { margin: 10px 0 24px; }
.landing-foot-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .landing section,
  .landing-footer { padding-left: 16px; padding-right: 16px; }
  .landing-topnav,
  .landing-topnav.scrolled { top: 6px; padding: 6px 8px; }
  .landing-topnav-inner { min-height: 58px; padding: 8px 10px; border-radius: 14px; }
  .landing-topnav-actions .btn-gold { display: none; }
  .landing-hero-bg {
    height: 790px;
    background-size: 100% 100%, 100% 100%, cover;
    background-position: center, center, 57% center;
  }
  .landing-hero {
    min-height: 680px;
    padding-top: 84px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    row-gap: 0;
  }
  .landing-hero-copy { padding: 0; }
  .landing-headline { font-size: clamp(45px, 13vw, 66px); }
  .landing-lede { font-size: 15.5px; }
  .landing-cta { display: grid; grid-template-columns: 1fr; margin-bottom: 28px; }
  .landing-cta .btn { width: 100%; justify-content: center; }
  .landing-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-item + .ls-item { border-left: 0; }
  .ls-item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.09); }
  .ls-item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.09); }
  .howto-flow { grid-template-columns: 1fr; }
  .howto-step { min-height: 0; }
  .howto-step + .howto-step { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .landing-manifesto { padding-top: 76px; padding-bottom: 80px; }
  .manifesto-layout h2 { font-size: clamp(38px, 10vw, 56px); }
  .manifesto-layout > p { font-size: 15px; }
  .landing-network,
  .landing-benefits { padding-top: 72px; padding-bottom: 78px; }
  .network-system {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    padding: 14px;
    background: rgba(12, 16, 28, 0.64);
  }
  .network-system::before,
  .network-system::after { display: none; }
  .network-core,
  .network-module-1,
  .network-module-2,
  .network-module-3,
  .network-module-4,
  .network-module-5,
  .network-module-6 {
    grid-column: 1;
    grid-row: auto;
  }
  .network-core { min-height: 130px; order: -1; }
  .network-module { min-height: 132px; }
  .benefit-columns { grid-template-columns: 1fr; }
  .benefit-panel { min-height: 0; padding: 26px; }
  .benefit-index { font-size: 48px; }
  .benefit-panel h3 { margin-top: 30px; font-size: 29px; }
  .role-showcase { grid-template-columns: 1fr; }
  .role-feature { min-height: 320px; padding: 25px; }
  .role-supporting-person { display: none; }
  .role-supporting-row { grid-template-columns: 30px minmax(0, 1fr); }
  .landing-story { margin-bottom: 22px; padding-top: 76px; padding-bottom: 64px; }
  .landing-story::before,
  .landing-recent::before { border-radius: 0 0 24px 24px; }
  .story-intro { grid-template-columns: 1fr; gap: 22px; padding-bottom: 70px; }
  .story-intro .section-eyebrow { margin-top: 0; }
  .story-intro h2 { font-size: clamp(38px, 10vw, 54px); }
  .story-intro > p { grid-column: 1; font-size: 15px; }
  .home-feature-row,
  .home-feature-row-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 68px 0;
  }
  .home-feature-row-reverse .home-feature-copy,
  .home-feature-row-reverse .home-feature-visual { grid-column: 1; grid-row: auto; }
  .home-feature-row-reverse .home-feature-copy { order: 1; }
  .home-feature-row-reverse .home-feature-visual { order: 2; }
  .home-feature-number { margin-bottom: 32px; font-size: 54px; }
  .home-feature-copy h3 { font-size: clamp(32px, 9vw, 46px); }
  .home-feature-visual { min-height: 400px; border-radius: 14px; }
  .mentor-demo { padding: 20px; }
  .mentor-demo-head { gap: 12px; padding-bottom: 16px; }
  .mentor-demo-head strong { font-size: 20px; }
  .mentor-demo-head b { min-width: 50px; height: 50px; border-radius: 15px; font-size: 28px; }
  .mentor-demo-row { grid-template-columns: auto minmax(0, 1fr); }
  .mentor-demo-row > b { display: none; }
  .term-demo { grid-template-columns: 1fr; }
  .term-demo-summary { min-height: 190px; }
  .term-demo-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .term-demo-card { min-width: 0; }
  .demo-result { grid-template-columns: 25px minmax(0, 1fr) auto; }
  .demo-result .demo-count { display: none; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 0; }
  .landing-howto,
  .landing-recent,
  .landing-pathways { padding-top: 58px; padding-bottom: 54px; }
  .landing-recent { margin-bottom: 24px; }
}

@media (max-width: 430px) {
  .landing-brand .brand-sub { display: none; }
  .landing-topnav-actions .btn { padding: 9px 11px; }
  .landing-hero { min-height: 620px; }
  .landing-headline { font-size: clamp(42px, 13vw, 57px); }
  .ls-item { padding: 13px 12px; }
  .ls-num { font-size: 21px; }
  .manifesto-layout h2 { font-size: 36px; }
  .network-system { padding: 9px; }
  .network-module { padding: 16px; }
  .benefit-panel { padding: 22px; }
  .role-feature { min-height: 300px; padding: 22px; }
  .role-feature-position { padding: 18px 0; }
  .role-feature-position h3 { font-size: 31px; }
  .story-intro h2 { font-size: 35px; }
  .home-feature-row { padding: 54px 0; }
  .home-feature-visual { min-height: 360px; }
  .demo-search { margin: 17px; }
  .demo-results { padding: 0 17px 17px; }
  .term-demo { padding: 15px; }
  .term-demo-track { grid-template-columns: 1fr; }
  .term-demo-card { min-height: 105px; }
  .mentor-demo { padding: 20px; }
  .mentor-demo-row { grid-template-columns: auto minmax(0, 1fr); }
  .mentor-demo-row > b { display: none; }
  .landing-foot-actions { display: grid; grid-template-columns: 1fr; }
  .landing-foot-actions .btn { width: 100%; justify-content: center; }
  .landing-footcta.dither-section { margin-top: 44px; padding: 40px 20px; }
}

/* Landing typography and motion now use the same editorial system as the app.
   Reveals stay brief and local so scrolling never feels gated by animation. */
.landing { font-family: var(--font); }
.landing h1,
.landing h2,
.landing h3,
.landing .ls-num,
.landing .home-feature-number { font-family: var(--font-display); }
.landing-headline {
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.97;
}
.landing-lede { max-width: 58ch; }
.section-eyebrow,
.landing-kicker,
.story-kicker,
.role-feature-kicker {
  letter-spacing: 0.12em;
}
.landing-hero.is-animating .landing-kicker,
.landing-hero.is-animating .landing-headline,
.landing-hero.is-animating .landing-lede,
.landing-hero.is-animating .landing-cta {
  animation-name: landingTextReveal;
  animation-duration: 720ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}
.landing-hero.is-animating > .landing-hero-copy { animation: none; }
.landing-hero.is-animating .landing-kicker { animation-delay: 0ms; }
.landing-hero.is-animating .landing-headline { animation-delay: 120ms; }
.landing-hero.is-animating .landing-lede { animation-delay: 240ms; }
.landing-hero.is-animating .landing-cta { animation-delay: 360ms; }
.landing-hero.is-animating > .landing-stats {
  animation: landingUp 680ms cubic-bezier(0.22, 1, 0.36, 1) 480ms both;
}
@keyframes landingTextReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.reveal {
  transition-duration: 520ms;
  transition-timing-function: var(--motion-ease);
}
.home-feature-row,
.benefit-panel,
.pathway-card,
.role-feature,
.role-supporting-row {
  scroll-margin-top: 110px;
}
.home-feature-link,
.benefit-link {
  text-underline-offset: 4px;
}
.landing-topnav-inner,
.landing-stats,
.home-feature-visual,
.role-feature,
.pathway-card,
.landing-footcta.dither-section {
  border-radius: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .landing-login-greeting.is-revealing .landing-user-name,
  .landing-login-greeting.is-revealing .landing-login-hello,
  .landing-admin-badge.admin-badge-reveal { animation: none; }
  .landing-login-greeting.is-revealing .landing-user-name { color: var(--text); }
  .landing-login-greeting.is-revealing .landing-login-hello,
  .landing-login-greeting.is-revealing::before,
  .landing-login-greeting.is-revealing::after { display: none; }
  .landing-hero.is-animating .hl-gold,
  .landing-hero.is-animating .hl-blue,
  .landing-hero.is-animating .ls-item,
  .landing-hero.is-animating .landing-kicker,
  .landing-hero.is-animating .landing-headline,
  .landing-hero.is-animating .landing-lede,
  .landing-hero.is-animating .landing-cta,
  .landing-hero.is-animating > .landing-stats { animation: none; }
  .manifesto-word::after,
  .home-feature-visual,
  .demo-result,
  .term-demo-card,
  .mentor-demo-row,
  .home-feature-link span,
  .network-core,
  .network-module,
  .benefit-panel,
  .role-supporting-row,
  .benefit-link span,
  .network-module-arrow,
  .role-feature-foot span:last-child,
  .role-supporting-person b,
  .pathway-grid.reveal .pathway-card,
  .section-head.reveal .section-eyebrow::before,
  .landing-footcta .section-eyebrow::before,
  .howto-step .howto-number,
  .howto-step .stat-icon,
  .howto-step h3,
  .logo-card,
  .recent-card,
  .pathway-card { transition: none; }
}

/* Unified landing surfaces ------------------------------------------------
   The photograph remains the expressive moment; supporting sections use the
   same restrained navy hierarchy as the application. */
.landing {
  max-width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(860px 500px at 90% 0%, rgba(120, 160, 255, 0.055), transparent 64%),
    radial-gradient(700px 440px at 4% 8%, rgba(227, 185, 79, 0.045), transparent 62%),
    var(--surface-0);
}
.landing-topnav-inner {
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(11, 14, 23, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.landing-topnav.scrolled .landing-topnav-inner {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(11, 14, 23, 0.95);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}
.landing-stats {
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(11, 14, 23, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.ls-item + .ls-item { border-left-color: rgba(255, 255, 255, 0.07); }
.ls-label { color: var(--text-muted); }

.marquee {
  border-color: rgba(255, 255, 255, 0.065);
  background: rgba(15, 20, 32, 0.72);
}
.logo-card { opacity: 0.74; }

.landing-story::before,
.landing-recent::before {
  border-color: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
}
.landing-story::before {
  background:
    radial-gradient(700px 400px at 88% 12%, rgba(120, 160, 255, 0.055), transparent 70%),
    linear-gradient(180deg, rgba(15, 20, 32, 0.96), rgba(11, 14, 23, 0.94));
}
.home-feature-flow,
.home-feature-row { border-color: rgba(255, 255, 255, 0.065); }
.home-feature-number { color: rgba(242, 244, 250, 0.1); }
.home-feature-visual,
.search-demo,
.term-demo,
.mentor-demo {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(17, 22, 36, 0.92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.demo-toolbar,
.demo-result,
.mentor-demo-row { border-color: rgba(255, 255, 255, 0.06); }
.demo-search,
.term-demo-card {
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(8, 11, 19, 0.62);
}
.demo-result:hover,
.mentor-demo-row:hover,
.term-demo-card:hover { background: rgba(120, 160, 255, 0.055); }

.network-stage,
.network-core,
.network-module,
.benefit-panel,
.pathway-card,
.role-feature,
.role-supporting {
  border-color: rgba(255, 255, 255, 0.075);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}
.network-stage { background: rgba(12, 16, 27, 0.72); }
.network-core,
.network-module,
.pathway-card,
.role-supporting { background: rgba(17, 22, 36, 0.88); }
.network-module:hover,
.pathway-card:hover,
.role-supporting-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(23, 29, 45, 0.94);
}
.benefit-panel-brothers {
  background: linear-gradient(155deg, rgba(120, 160, 255, 0.085), rgba(17, 22, 36, 0.9) 48%);
}
.benefit-panel-chapter {
  background: linear-gradient(155deg, rgba(227, 185, 79, 0.085), rgba(17, 22, 36, 0.9) 48%);
}
.role-feature {
  border-color: rgba(227, 185, 79, 0.18);
  background:
    radial-gradient(circle at 92% 8%, rgba(227, 185, 79, 0.08), transparent 38%),
    rgba(17, 22, 36, 0.9);
}
.role-supporting-row { background: transparent; }

.landing-footcta.dither-section {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(135deg, rgba(227, 185, 79, 0.07), transparent 40%),
    linear-gradient(315deg, rgba(120, 160, 255, 0.09), transparent 44%),
    var(--surface-1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}
.landing-footer { border-color: rgba(255, 255, 255, 0.065); }

/* Let the browser skip layout and paint work for large home sections until
   they approach the viewport. The intrinsic size keeps the scroll position
   stable while those sections are still off-screen. */
@supports (content-visibility: auto) {
  .landing-story,
  .landing-recent,
  .landing-footcta,
  .landing-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
  .landing-footer { contain-intrinsic-size: auto 220px; }
}
