:root {
  --bg: #0f1720;
  --surface: rgba(17, 25, 34, 0.68);
  --surface-strong: rgba(14, 20, 28, 0.92);
  --surface-soft: rgba(246, 239, 228, 0.08);
  --border: rgba(246, 239, 228, 0.14);
  --text: #f6efe4;
  --muted: rgba(246, 239, 228, 0.72);
  --muted-strong: rgba(246, 239, 228, 0.88);
  --accent: #bf7d52;
  --accent-soft: rgba(191, 125, 82, 0.15);
  --accent-alt: #1d5b52;
  --champagne: #d6c4a6;
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --radius-small: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 91, 82, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(191, 125, 82, 0.2), transparent 24%),
    linear-gradient(180deg, #0f1720 0%, #091017 45%, #0d1822 100%);
  overflow-x: hidden;
}

body[data-world="ancient"] {
  --accent: #b68a52;
  --accent-soft: rgba(182, 138, 82, 0.16);
  --accent-alt: #49585a;
}

body[data-world="global"] {
  --accent: #df8b67;
  --accent-soft: rgba(223, 139, 103, 0.16);
  --accent-alt: #3b6f79;
}

body[data-world="future"] {
  --accent: #d3d8de;
  --accent-soft: rgba(211, 216, 222, 0.14);
  --accent-alt: #69808f;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 24px clamp(18px, 2vw, 34px) 70px;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  width: 340px;
  height: 340px;
  top: 10%;
  left: -90px;
  background: rgba(191, 125, 82, 0.18);
}

.ambient-two {
  width: 280px;
  height: 280px;
  top: 42%;
  right: -70px;
  background: rgba(29, 91, 82, 0.24);
}

.ambient-three {
  width: 320px;
  height: 320px;
  bottom: 4%;
  left: 34%;
  background: rgba(214, 196, 166, 0.1);
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(246, 239, 228, 0.05);
  backdrop-filter: blur(12px);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark circle {
  fill: var(--accent);
  stroke: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-tag,
.top-nav a,
.eyebrow,
.section-kicker,
.panel-kicker,
.meta-label,
.session-kicker {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.brand-tag,
.top-nav a,
.meta-label,
.session-kicker {
  color: var(--muted);
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.top-nav a {
  transition: color 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--muted-strong);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(120deg, var(--champagne), var(--accent));
  color: #10161d;
  font-weight: 600;
}

.button-secondary {
  border-color: var(--border);
  background: rgba(246, 239, 228, 0.04);
}

.header-cta:hover,
.button:hover,
.world-tab:hover {
  transform: translateY(-1px);
}

.section {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 68px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding-top: 32px;
}

.eyebrow {
  color: var(--champagne);
  margin: 0 0 18px;
}

.eyebrow.small {
  margin-bottom: 10px;
}

h1,
h2,
h3,
strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  line-height: 0.94;
}

h1 span {
  display: block;
  color: var(--champagne);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 0.95;
}

h3 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  line-height: 1;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.hero-text {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-signals {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-signals li,
.trust-card li,
.stage-card-side li {
  position: relative;
  padding-left: 18px;
}

.hero-signals li::before,
.trust-card li::before,
.stage-card-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.panel,
.stage-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246, 239, 228, 0.07), rgba(246, 239, 228, 0.03)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel {
  padding: 28px;
}

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

.stage-card {
  padding: 24px;
}

.stage-card-main {
  min-height: 468px;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.stage-label {
  color: var(--muted-strong);
  font-weight: 500;
}

.status-pill,
.mini-tags span,
.mobile-footer span,
.desktop-sidecard li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--muted-strong);
}

.signal-map {
  position: relative;
  height: 175px;
  margin: 10px 0 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(246, 239, 228, 0.06), rgba(246, 239, 228, 0.02)),
    rgba(7, 11, 17, 0.45);
  overflow: hidden;
}

.signal-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(246, 239, 228, 0.12);
  border-radius: 20px;
}

.signal-dot,
.signal-link {
  position: absolute;
}

.signal-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(191, 125, 82, 0.08);
}

.dot-turin {
  top: 70px;
  left: 92px;
}

.dot-budapest {
  top: 54px;
  left: 182px;
}

.dot-buenosaires {
  top: 124px;
  left: 124px;
}

.dot-athens {
  top: 86px;
  right: 102px;
}

.signal-link {
  height: 2px;
  background: linear-gradient(90deg, rgba(246, 239, 228, 0.1), var(--accent), rgba(246, 239, 228, 0.1));
  transform-origin: left center;
}

.link-one {
  top: 78px;
  left: 103px;
  width: 92px;
  transform: rotate(-11deg);
}

.link-two {
  top: 105px;
  left: 132px;
  width: 170px;
  transform: rotate(-8deg);
}

.link-three {
  top: 76px;
  left: 195px;
  width: 148px;
  transform: rotate(12deg);
}

.session-preview {
  display: grid;
  gap: 18px;
}

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

.session-row strong,
.mini-card strong,
.mobile-card strong,
.desktop-sidecard strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 1.36rem;
}

.session-row span,
.mini-card span,
.mobile-card span {
  display: block;
  color: var(--muted);
}

.translation-panel,
.mobile-card,
.desktop-sidecard,
.mini-card {
  border: 1px solid rgba(246, 239, 228, 0.1);
  border-radius: 22px;
  background: rgba(246, 239, 228, 0.04);
  padding: 18px;
}

.translation-panel span,
.mobile-card strong,
.desktop-sidecard strong,
.mini-card strong {
  color: var(--muted-strong);
}

.translation-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--champagne);
  font-size: 1rem;
}

.stage-card-side ul,
.trust-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-kicker {
  color: var(--champagne);
  margin-bottom: 12px;
}

.manifesto-grid,
.system-grid,
.architecture-grid,
.trust-grid,
.community-grid,
.expansion-grid,
.roadmap-grid,
.logo-grid,
.concept-grid {
  display: grid;
  gap: 22px;
}

.manifesto-grid,
.system-grid,
.architecture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.need-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.need-strip span,
.world-tab {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(246, 239, 228, 0.04);
}

.need-strip span {
  padding: 10px 16px;
  color: var(--muted-strong);
}

.worlds-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
}

.world-switcher {
  display: grid;
  gap: 12px;
}

.world-tab {
  min-height: 56px;
  padding: 0 18px;
  color: var(--muted-strong);
  text-align: left;
  cursor: pointer;
}

.world-tab.is-active {
  border-color: rgba(246, 239, 228, 0.28);
  background:
    linear-gradient(140deg, rgba(246, 239, 228, 0.14), rgba(246, 239, 228, 0.04)),
    var(--accent-soft);
}

.world-preview {
  display: grid;
  gap: 18px;
}

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

.swatches {
  display: flex;
  gap: 12px;
}

.swatches span {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--chip);
}

.world-preview-card {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(246, 239, 228, 0.08), rgba(246, 239, 228, 0.03));
}

.logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-card {
  display: grid;
  gap: 16px;
}

.logo-mark {
  display: inline-flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(246, 239, 228, 0.04);
  border: 1px solid rgba(246, 239, 228, 0.12);
}

.logo-mark svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark circle {
  fill: var(--accent);
  stroke: none;
}

.type-samples {
  display: grid;
  gap: 14px;
}

.type-display {
  font-family: "Cormorant Garamond", serif;
  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.type-body {
  max-width: 52ch;
}

.type-mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--champagne);
}

.palette-stack {
  display: grid;
  gap: 12px;
}

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

.palette-row span {
  display: flex;
  align-items: end;
  min-height: 110px;
  padding: 16px;
  border-radius: 22px;
  font-weight: 600;
  color: rgba(9, 12, 17, 0.82);
}

.palette-row span[style*="#0f1720"],
.palette-row span[style*="#1d5b52"],
.palette-row span[style*="#241d18"],
.palette-row span[style*="#49585a"],
.palette-row span[style*="#3b6f79"] {
  color: rgba(246, 239, 228, 0.9);
}

.concept-grid,
.community-grid,
.trust-grid,
.expansion-grid,
.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.lane ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 14px;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-orbit {
  position: relative;
  min-height: 560px;
  margin-top: 34px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background:
    radial-gradient(circle at center, rgba(246, 239, 228, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(246, 239, 228, 0.04), rgba(246, 239, 228, 0.02));
  overflow: hidden;
}

.ai-orbit::before,
.ai-orbit::after {
  content: "";
  position: absolute;
  inset: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(246, 239, 228, 0.1);
}

.ai-orbit::before {
  width: 420px;
  height: 420px;
}

.ai-orbit::after {
  width: 260px;
  height: 260px;
}

.ai-core,
.ai-node {
  position: absolute;
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(246, 239, 228, 0.1);
  background: rgba(8, 13, 19, 0.58);
  box-shadow: var(--shadow);
}

.ai-core {
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  translate: -50% -50%;
}

.ai-core span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--champagne);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-core strong {
  font-size: 2rem;
  line-height: 0.98;
}

.ai-node {
  width: 210px;
  min-height: 90px;
  color: var(--muted-strong);
}

.node-one {
  top: 12%;
  left: 50%;
  translate: -50% 0;
}

.node-two {
  top: 31%;
  right: 8%;
}

.node-three {
  bottom: 11%;
  right: 18%;
}

.node-four {
  bottom: 12%;
  left: 18%;
}

.node-five {
  top: 31%;
  left: 8%;
}

.mockup-stack {
  display: grid;
  gap: 22px;
}

.desktop-mockup {
  padding: 18px;
}

.browser-chrome {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
}

.browser-chrome span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(246, 239, 228, 0.22);
}

.desktop-canvas {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(191, 125, 82, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(246, 239, 228, 0.08), rgba(246, 239, 228, 0.03));
}

.desktop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.desktop-hero h3 {
  margin-top: 8px;
}

.desktop-sidecard ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

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

.mini-card {
  min-height: 188px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

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

.phone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.phone-frame {
  position: relative;
  width: 282px;
  min-height: 560px;
  padding: 16px;
  border-radius: 38px;
  background: #04070b;
  border: 1px solid rgba(246, 239, 228, 0.12);
}

.phone-notch {
  width: 122px;
  height: 30px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #0a0f16;
}

.phone-screen {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 486px;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(191, 125, 82, 0.16), transparent 32%),
    linear-gradient(180deg, #131c26 0%, #0f1720 100%);
}

.phone-screen.alt {
  background:
    radial-gradient(circle at top left, rgba(29, 91, 82, 0.22), transparent 34%),
    linear-gradient(180deg, #121a23 0%, #0d141b 100%);
}

.mobile-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.site-footer {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 239, 228, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .manifesto-grid,
  .system-grid,
  .worlds-layout,
  .architecture-grid,
  .desktop-hero,
  .phone-row {
    grid-template-columns: 1fr;
  }

  .logo-grid,
  .concept-grid,
  .trust-grid,
  .community-grid,
  .expansion-grid,
  .roadmap-grid,
  .desktop-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 8px;
  }

  .ai-orbit {
    min-height: 760px;
  }

  .node-two {
    top: 24%;
    right: 5%;
  }

  .node-five {
    top: 24%;
    left: 5%;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 18px 16px 54px;
  }

  .site-header {
    justify-content: center;
  }

  .header-cta {
    width: 100%;
  }

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

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section {
    padding: 50px 0;
  }

  .panel,
  .stage-card,
  .desktop-mockup {
    padding: 22px;
  }

  .logo-grid,
  .concept-grid,
  .trust-grid,
  .community-grid,
  .expansion-grid,
  .roadmap-grid,
  .desktop-panels,
  .session-row,
  .world-metadata,
  .palette-row {
    grid-template-columns: 1fr;
  }

  .swatches {
    flex-wrap: wrap;
  }

  .phone-frame {
    width: 100%;
    max-width: 286px;
  }

  .ai-orbit {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 18px;
  }

  .ai-orbit::before,
  .ai-orbit::after,
  .ai-core,
  .ai-node {
    position: static;
    inset: auto;
    translate: none;
    width: 100%;
    height: auto;
  }
}
