body.page-home .site-header:not(.is-scrolled) .header-bar {
  background: rgba(20, 30, 35, 0.62);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(8, 14, 17, 0.14);
}

body.page-home .site-header:not(.is-scrolled) .brand-text strong {
  color: rgba(248, 243, 234, 0.96);
}

body.page-home .site-header:not(.is-scrolled) .brand-text span,
body.page-home .site-header:not(.is-scrolled) .nav-links a {
  color: rgba(248, 243, 234, 0.82);
}

body.page-home .site-header:not(.is-scrolled) .nav-links a[aria-current="page"],
body.page-home .site-header:not(.is-scrolled) .nav-links a:hover {
  color: #f8f3ea;
}

body.page-home .site-header:not(.is-scrolled) .nav-cta {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8f3ea;
}

body.page-home {
  padding-top: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.76), transparent 26%),
    linear-gradient(180deg, #f4f0e8 0%, #eee9de 48%, #e7e1d6 100%);
}

body.page-home .hero {
  min-height: 100vh;
  padding: 0 0 42px;
}

body.page-home .hero-shell {
  width: 100%;
  margin: 0;
  padding: 118px 0 64px;
  border-radius: 0 0 56px 56px;
  background:
    radial-gradient(circle at 78% 16%, rgba(183, 199, 203, 0.18), transparent 18%),
    radial-gradient(circle at 16% 76%, rgba(214, 200, 177, 0.15), transparent 24%),
    linear-gradient(180deg, #233138 0%, #36474f 56%, #50656d 100%);
  box-shadow: none;
}

body.page-home .hero-shell::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08), transparent 26%);
}

body.page-home .hero-grid {
  width: min(1360px, calc(100vw - 48px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.06fr) minmax(470px, 0.94fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 190px);
}

body.page-home .hero-copy {
  max-width: 760px;
  gap: 22px;
  align-self: center;
}

body.page-home .hero-copy h1 {
  max-width: none;
  font-size: clamp(2.85rem, 4.7vw, 4.65rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-title-line {
  display: block;
}

body.page-home .hero-copy p {
  max-width: 680px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

body.page-home .hero-visual {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  overflow: visible;
}

body.page-home .hero-visual img {
  width: 100%;
  min-height: 760px;
  aspect-ratio: auto;
  border-radius: 36px;
  box-shadow: 0 34px 90px rgba(10, 18, 20, 0.2);
}

body.page-home .quote-card {
  top: 34px;
  right: 34px;
  width: min(320px, 52%);
  padding: 22px;
  border-radius: 28px;
  background: rgba(16, 27, 31, 0.72);
}

body.page-home .hero-overlay-card {
  left: -10px;
  bottom: -8px;
  max-width: 330px;
  padding: 22px;
  border-radius: 30px;
}

body.page-home .hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2px;
}

body.page-home .hero-stat {
  padding: 20px 0 0;
  border-radius: 0;
  background: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
}

body.page-home .hero-stat strong {
  font-size: 1.5rem;
}

body.page-home .hero-caption {
  margin-top: 4px;
}

.home-manifest {
  margin-top: 0;
}

.soft-surface {
  position: relative;
}

.soft-surface::before {
  content: "";
  position: absolute;
  inset: 28px auto auto -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(199, 209, 204, 0.34), transparent 72%);
  pointer-events: none;
  filter: blur(12px);
}

.market-signal-section {
  padding-bottom: 0;
}

.market-signal-section .section-heading {
  margin-bottom: 26px;
}

.market-signal-follow {
  padding-top: 0;
  margin-top: -120px;
}

.side-quote {
  padding: 30px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(18, 28, 32, 0.94), rgba(18, 28, 32, 0.8)),
    radial-gradient(circle at top left, rgba(179, 205, 212, 0.16), transparent 30%);
  box-shadow: 0 28px 70px rgba(15, 23, 27, 0.12);
}

.side-quote p {
  font-family: "Noto Serif SC", serif;
  font-size: 1.3rem;
  line-height: 1.65;
  color: rgba(246, 241, 233, 0.88);
}

.side-quote span {
  display: block;
  margin-top: 18px;
  color: rgba(246, 241, 233, 0.62);
}

.layered-stack {
  position: relative;
  min-height: 620px;
}

.stack-card {
  position: absolute;
  width: min(340px, 72%);
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.stack-card strong {
  display: block;
  margin-bottom: 12px;
}

.stack-card p {
  margin: 0;
  color: var(--text-soft);
}

.stack-card.one {
  top: 0;
  right: 4%;
}

.stack-card.two {
  top: 170px;
  left: 0;
}

.stack-card.three {
  bottom: 0;
  right: 12%;
}

.stack-card::before {
  content: attr(data-step);
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(88, 115, 124, 0.12);
  color: var(--accent-deep);
  font-family: "Noto Serif SC", serif;
}

.framework-list {
  display: grid;
  gap: 18px;
}

.framework-item {
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.framework-item strong {
  display: block;
  margin-bottom: 10px;
}

.framework-item span {
  color: var(--text-soft);
}

.legal-panel {
  padding: 28px 30px;
  border-radius: 30px;
  border: 1px solid rgba(88, 115, 124, 0.16);
  background: rgba(88, 115, 124, 0.08);
}

.legal-panel p {
  margin: 0;
  color: var(--text-soft);
}

.hero-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: rgba(246, 241, 233, 0.7);
  font-size: 0.92rem;
}

.hero-caption .line {
  width: 64px;
  height: 1px;
  background: rgba(246, 241, 233, 0.24);
}

.comparison-note {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px dashed var(--line-strong);
  color: var(--text-soft);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

.highlight-copy {
  display: grid;
  gap: 18px;
}

.highlight-copy h3,
.showcase-copy h3,
.callout-panel h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.25;
}

.highlight-copy p,
.showcase-copy p,
.callout-panel p {
  margin: 0;
  color: var(--text-soft);
}

.support-card {
  min-height: 240px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(88, 115, 124, 0.1);
  color: var(--accent-deep);
  font-size: 0.88rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
}

.contact-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-intro-list {
  display: grid;
  gap: 12px;
}

.hero-intro-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(246, 241, 233, 0.72);
}

.hero-intro-item i {
  margin-top: 4px;
  color: rgba(214, 200, 177, 0.88);
}

.world-broadcast {
  width: min(1360px, calc(100vw - 48px));
  margin: -26px auto 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 50px rgba(15, 23, 27, 0.08);
  backdrop-filter: blur(16px);
}

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

.system-card {
  min-height: 290px;
}

.system-card p {
  margin: 0;
  color: var(--text-soft);
}

.system-card .tag-row {
  margin-top: 18px;
}

.home-horizon-heading {
  margin-bottom: 28px;
}

.home-horizon-heading .lead-note {
  max-width: 540px;
}

.story-copy {
  display: grid;
  gap: 16px;
}

.story-copy p {
  margin: 0;
  color: var(--text-soft);
}

.atlas-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--accent-deep);
  font-size: 0.9rem;
}

.stage-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.stage-copy {
  display: grid;
  gap: 18px;
}

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

.stage-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 18px 42px rgba(15, 23, 27, 0.05);
}

.stage-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.stage-card strong {
  display: block;
  margin-bottom: 10px;
}

.stage-card p {
  margin: 0;
  color: var(--text-soft);
}

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

.ledger-card {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at top left, rgba(199, 209, 204, 0.18), transparent 28%);
}

.ledger-card strong {
  display: block;
  margin-bottom: 12px;
}

.ledger-card p {
  margin: 0;
  color: var(--text-soft);
}

.home-cta-note {
  max-width: 760px;
  margin: 0 auto;
}

.page-note-quiet {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(88, 115, 124, 0.08);
  color: var(--text-soft);
}

.page .page-note-quiet {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 243, 234, 0.78);
}

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

.module-card {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 18px 42px rgba(15, 23, 27, 0.05);
}

.module-card strong {
  display: block;
  margin-bottom: 10px;
}

.module-card p {
  margin: 0;
  color: var(--text-soft);
}

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

.process-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.process-card strong {
  display: block;
  margin-bottom: 12px;
}

.process-card p {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 1120px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .hero-grid,
  .stage-shell,
  .module-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .system-grid,
  .home-ledger,
  .stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.page-home .hero-shell {
    padding: 112px 0 52px;
    border-radius: 0 0 38px 38px;
  }

  body.page-home .hero-grid {
    width: min(1360px, calc(100vw - 28px));
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  body.page-home .hero-visual img {
    min-height: 0;
    aspect-ratio: 1.05;
  }

  body.page-home .hero-stats,
  .system-grid,
  .home-ledger,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .world-broadcast {
    width: min(1360px, calc(100vw - 28px));
    margin-top: -18px;
  }

  .layered-stack {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .stack-card {
    position: relative;
    width: auto;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
  }
}

@media (max-width: 680px) {
  body.page-home .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
    line-height: 1;
  }

  body.page-home .quote-card,
  body.page-home .hero-overlay-card {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 16px;
  }

  .world-broadcast {
    border-radius: 24px;
  }
}
