:root {
  --ink: #f4f1e8;
  --muted: #b9c1b6;
  --deep: #111416;
  --panel: rgba(20, 25, 26, 0.74);
  --line: rgba(244, 241, 232, 0.16);
  --amber: #f2b84b;
  --moss: #75a978;
  --coral: #e37d63;
  --cyan: #71c7c9;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(117, 169, 120, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 26%, rgba(227, 125, 99, 0.14), transparent 24rem),
    linear-gradient(135deg, #111416 0%, #1b1d1a 42%, #101617 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(244, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

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

#dreamfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.62;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(17, 20, 22, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background:
    linear-gradient(45deg, transparent 42%, var(--amber) 43% 57%, transparent 58%),
    conic-gradient(from 35deg, var(--cyan), var(--moss), var(--coral), var(--cyan));
  border: 1px solid rgba(244, 241, 232, 0.44);
  transform: rotate(45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px) 54px;
  gap: clamp(30px, 7vw, 92px);
}

.hero-copy {
  max-width: 760px;
}

.status-pill,
.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 16vw, 12.4rem);
  line-height: 0.82;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #171410;
  background: var(--amber);
  border-color: transparent;
}

.button.ghost {
  background: rgba(244, 241, 232, 0.06);
}

.signal-panel {
  width: min(100%, 430px);
  justify-self: end;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px var(--shadow);
}

.signal-topline,
.metrics {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.signal-topline {
  color: var(--muted);
  font-size: 0.92rem;
}

.signal-topline strong {
  color: var(--ink);
}

.pulse-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.pulse-map span {
  aspect-ratio: 1;
  min-height: 54px;
  background: rgba(244, 241, 232, 0.08);
  border: 1px solid rgba(244, 241, 232, 0.12);
  border-radius: 6px;
  animation: flicker 3.8s ease-in-out infinite;
}

.pulse-map span:nth-child(3n) {
  background: rgba(117, 169, 120, 0.23);
}

.pulse-map span:nth-child(4n) {
  background: rgba(113, 199, 201, 0.17);
}

.pulse-map span:nth-child(5n) {
  background: rgba(227, 125, 99, 0.18);
}

.pulse-map span:nth-child(2n) {
  animation-delay: 600ms;
}

.pulse-map span:nth-child(3n) {
  animation-delay: 1.2s;
}

@keyframes flicker {
  0%, 100% { transform: translateY(0); opacity: 0.72; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.metrics {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.metrics div {
  min-width: 0;
}

.metrics dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.metrics dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.alpha-band,
.world,
.access {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.alpha-band {
  background: rgba(244, 241, 232, 0.035);
}

.alpha-band > div:first-child {
  max-width: 920px;
}

.alpha-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.alpha-grid article {
  min-height: 210px;
  padding: 24px;
  background: rgba(17, 20, 22, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.number {
  display: block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 800;
}

.alpha-grid p,
.world-copy p,
.access-copy p {
  color: var(--muted);
  line-height: 1.68;
}

.world {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
}

.world-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 241, 232, 0.08), transparent 46%),
    linear-gradient(135deg, rgba(113, 199, 201, 0.2), rgba(117, 169, 120, 0.11));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gate {
  position: absolute;
  left: 50%;
  bottom: 116px;
  width: 46%;
  aspect-ratio: 0.72;
  border: 14px solid rgba(244, 241, 232, 0.74);
  border-bottom: 0;
  border-radius: 46% 46% 0 0;
  transform: translateX(-50%);
  box-shadow: inset 0 0 50px rgba(242, 184, 75, 0.14), 0 0 70px rgba(113, 199, 201, 0.2);
}

.path {
  position: absolute;
  left: 50%;
  bottom: -72px;
  width: 62%;
  height: 240px;
  background: linear-gradient(180deg, rgba(242, 184, 75, 0.54), rgba(227, 125, 99, 0));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.glyph {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(244, 241, 232, 0.58);
  animation: drift 6s ease-in-out infinite;
}

.g1 {
  top: 16%;
  left: 17%;
  transform: rotate(16deg);
}

.g2 {
  top: 24%;
  right: 13%;
  border-color: rgba(242, 184, 75, 0.68);
  transform: rotate(45deg);
  animation-delay: 1.4s;
}

.g3 {
  right: 28%;
  bottom: 18%;
  border-color: rgba(117, 169, 120, 0.72);
  transform: rotate(64deg);
  animation-delay: 2.2s;
}

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.world-copy {
  max-width: 680px;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  background: rgba(244, 241, 232, 0.055);
  border-left: 3px solid var(--moss);
}

.access {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  background: rgba(17, 20, 22, 0.72);
}

.signup-form {
  display: grid;
  gap: 16px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: rgba(244, 241, 232, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--amber);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--cyan);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .world,
  .access {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-panel {
    justify-self: start;
  }

  .alpha-grid {
    grid-template-columns: 1fr;
  }

  .world-visual {
    min-height: 380px;
  }
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .pulse-map span {
    min-height: 42px;
  }

  .metrics {
    display: grid;
    grid-template-columns: 1fr;
  }
}
