:root {
  --bg: #090b13;
  --bg-elevated: rgba(20, 24, 39, 0.82);
  --panel: rgba(13, 17, 29, 0.94);
  --panel-soft: rgba(26, 32, 54, 0.7);
  --text: #eef1ff;
  --muted: #a7b2d8;
  --accent: #8f7bff;
  --accent-strong: #c763ff;
  --line: rgba(171, 187, 255, 0.16);
  --gold: #e3bd67;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(143, 123, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(199, 99, 255, 0.16), transparent 25%),
    linear-gradient(180deg, #090b13 0%, #0d1120 55%, #090b13 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 82%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 64px;
}

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

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(143, 123, 255, 0.95), rgba(227, 189, 103, 0.8));
  box-shadow: 0 16px 36px rgba(123, 89, 255, 0.25);
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-lockup h1,
.brand-lockup p {
  margin: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover,
.site-nav a:focus-visible,
.site-footer a:focus-visible {
  color: var(--text);
}

.section {
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
}

.hero h2,
.section-heading h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h2 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.feature-card p,
.timeline-panel p,
.journey-copy p,
.connect-card p,
.details-list dd,
.quote-credit,
.signal-grid p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 1.07rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 18px 40px rgba(143, 123, 255, 0.24);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats li,
.feature-card,
.quote-card,
.connect-card,
.panel-frame,
.timeline-item,
.details-list,
.connect-card.highlighted {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-stats li {
  border-radius: var(--radius-md);
  padding: 18px;
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-panel {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.panel-frame {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(18, 24, 42, 0.92), rgba(9, 11, 19, 0.95)),
    radial-gradient(circle at top, rgba(143, 123, 255, 0.16), transparent 50%);
}

.panel-label,
.rotator-kicker,
.signal-title,
.connect-label,
.feature-index,
.timeline-step,
.journey-points span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

.panel-label,
.rotator-kicker,
.feature-index,
.timeline-step,
.connect-label,
.journey-points span {
  color: var(--gold);
}

.rotator-card {
  margin: 26px 0 24px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(171, 187, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.rotator-line {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

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

.signal-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(171, 187, 255, 0.12);
}

.signal-grid p,
.signal-title {
  margin: 0;
}

.signal-title {
  color: var(--text);
  font-size: 0.76rem;
  margin-bottom: 8px;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.7;
}

.orb-one {
  width: 140px;
  height: 140px;
  top: 40px;
  right: 22px;
  background: radial-gradient(circle, rgba(143, 123, 255, 0.85), transparent 70%);
}

.orb-two {
  width: 180px;
  height: 180px;
  bottom: 40px;
  left: -8px;
  background: radial-gradient(circle, rgba(227, 189, 103, 0.42), transparent 70%);
}

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

.section-heading h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 14px;
}

.section-heading.narrow {
  max-width: 640px;
}

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

.feature-card,
.connect-card,
.quote-card,
.timeline-item {
  border-radius: var(--radius-md);
  padding: 22px;
}

.feature-card h4,
.connect-card h4 {
  margin: 10px 0 10px;
  font-size: 1.25rem;
}

.feature-card p,
.timeline-panel p,
.connect-card p,
.details-list dd,
.journey-points p,
.quote-text {
  margin: 0;
  line-height: 1.68;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.timeline-item.is-active {
  border-color: rgba(143, 123, 255, 0.42);
  background: rgba(22, 27, 44, 0.96);
}

.timeline-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.timeline-step {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(227, 189, 103, 0.3);
  flex: 0 0 auto;
}

.timeline-button strong,
.timeline-button small {
  display: block;
}

.timeline-button small {
  margin-top: 5px;
  color: var(--muted);
}

.timeline-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease, margin-top 240ms ease;
}

.timeline-item.is-active .timeline-panel {
  max-height: 240px;
  margin-top: 18px;
}

.journey-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.journey-copy,
.quote-card {
  min-height: 100%;
}

.journey-points {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.journey-points div {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(171, 187, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.journey-points p {
  margin-top: 8px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(143, 123, 255, 0.14), transparent 42%),
    rgba(16, 19, 32, 0.96);
}

.quote-mark {
  margin: 0;
  color: var(--gold);
  font-size: 4rem;
  line-height: 1;
}

.quote-text {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text);
}

.quote-credit {
  margin-top: 20px;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.connect-card.highlighted {
  background:
    linear-gradient(180deg, rgba(143, 123, 255, 0.16), rgba(143, 123, 255, 0.04)),
    rgba(15, 18, 31, 0.98);
}

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

.checklist li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.checklist li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

.details-list {
  margin: 14px 0 0;
  padding: 18px;
  border-radius: 16px;
}

.details-list div + div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(171, 187, 255, 0.12);
}

.details-list dt {
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

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

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

@media (max-width: 980px) {
  .site-header,
  .hero,
  .journey-layout,
  .connect-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel {
    min-height: auto;
  }

  .card-grid.three-up,
  .hero-stats,
  .signal-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .site-nav {
    gap: 12px;
  }

  .section {
    padding: 36px 0;
  }

  .panel-frame,
  .feature-card,
  .connect-card,
  .quote-card,
  .timeline-item,
  .hero-stats li {
    padding: 18px;
  }

  .hero h2 {
    max-width: 100%;
  }
}
