:root {
  --bg: #06070b;
  --bg-strong: #0d1020;
  --surface: rgba(12, 14, 24, 0.72);
  --surface-strong: rgba(16, 19, 34, 0.92);
  --ink: #f5f7ff;
  --muted: #a4abc3;
  --line: rgba(135, 147, 201, 0.2);
  --accent: #4da3ff;
  --accent-2: #d946ef;
  --accent-3: #7c3aed;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(77, 163, 255, 0.16), transparent 28%),
    radial-gradient(circle at right 16% top 14%, rgba(217, 70, 239, 0.18), transparent 24%),
    radial-gradient(circle at center, rgba(124, 58, 237, 0.1), transparent 30%),
    linear-gradient(180deg, #080910 0%, #05060a 54%, #040507 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 163, 255, 0.12), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(217, 70, 239, 0.1), transparent 16%);
  filter: blur(40px);
  opacity: 0.9;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 90%);
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.72;
}

.ambient-orb-a {
  top: 8%;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(77, 163, 255, 0.95), rgba(77, 163, 255, 0.12) 50%, transparent 72%);
}

.ambient-orb-b {
  left: -10rem;
  bottom: 10%;
  width: 30rem;
  height: 30rem;
  background:
    radial-gradient(circle at 60% 40%, rgba(217, 70, 239, 0.72), rgba(124, 58, 237, 0.12) 52%, transparent 72%);
}

.ambient-grid {
  position: absolute;
  inset: 12% 8% auto auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 4rem rgba(77, 163, 255, 0.03),
    0 0 0 8rem rgba(217, 70, 239, 0.025);
  transform: rotate(18deg);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.site-header,
.site-footer,
.proof-band,
.panel,
.signal-card {
  backdrop-filter: blur(18px);
  animation: rise-in 700ms ease both;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fcfffb;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 24px rgba(77, 163, 255, 0.28);
}

.brand-name,
.header-link,
.button {
  font-weight: 500;
}

.header-link {
  color: inherit;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
  padding: 4.5rem 0 2rem;
}

.hero-copy,
.signal-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  animation: rise-in 800ms ease both;
  background:
    linear-gradient(135deg, rgba(77, 163, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(17, 20, 34, 0.9), rgba(10, 11, 19, 0.8));
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -4rem -5rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.32), transparent 68%);
  pointer-events: none;
}

.signal-card {
  animation-delay: 120ms;
}

.proof-band {
  animation-delay: 180ms;
}

.content-grid .panel:nth-child(1) {
  animation-delay: 240ms;
}

.content-grid .panel:nth-child(2) {
  animation-delay: 320ms;
}

.content-grid .panel:nth-child(3) {
  animation-delay: 400ms;
}

.content-grid .panel:nth-child(4) {
  animation-delay: 480ms;
}

.eyebrow,
.section-label,
.signal-label {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: #c0c6dc;
}

h1,
h2,
blockquote {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7.2vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.05;
  color: var(--ink);
}

.lede,
.panel p,
.signal-card p,
.site-footer p,
li {
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--muted);
}

.lede {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.header-link:hover,
.brand:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fdfdff;
  box-shadow: 0 14px 36px rgba(77, 163, 255, 0.28);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.signal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(77, 163, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(16, 18, 32, 0.95), rgba(11, 13, 23, 0.92));
}

.signal-grid {
  display: grid;
  gap: 1rem;
}

.signal-grid article {
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid rgba(135, 147, 201, 0.16);
}

.signal-grid span {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #8dc2ff;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.4rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(77, 163, 255, 0.08), rgba(217, 70, 239, 0.08)),
    rgba(12, 14, 24, 0.74);
  box-shadow: var(--shadow);
}

.proof-band p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.panel {
  padding: 1.6rem;
}

.panel-large {
  grid-column: span 2;
}

.panel ul {
  margin: 1.1rem 0 0;
  padding-left: 1.2rem;
}

.panel-quote blockquote {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  color: #f8f4ff;
  text-wrap: balance;
}

.site-footer {
  margin-top: 1.5rem;
}

.site-footer p {
  margin: 0;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .content-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .panel-large {
    grid-column: auto;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 0.5rem;
  }

  .site-header,
  .site-footer,
  .hero-copy,
  .signal-card,
  .panel,
  .proof-band {
    border-radius: 22px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy,
  .signal-card,
  .panel {
    padding: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
