:root {
  color-scheme: dark;
  --bg: #040815;
  --bg-accent: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #0f172a 100%);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #a855f7;
  --border: rgba(255, 255, 255, 0.08);
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.12), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(168, 85, 247, 0.3), transparent 40%),
    var(--bg-accent);
  color: var(--text);
  padding: clamp(24px, 6vw, 72px);
}

.landing-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.landing-hero,
.landing-main,
.landing-footer {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero__logo {
  display: block;
  width: 520px;
  max-width: 100%;
  height: auto;
  margin: 0 0 16px;
}

.hero__copy h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 12px 0 16px;
}

.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 8px;
}

.lede {
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.cta-hint {
  display: block;
  margin: -4px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--primary {
  background: linear-gradient(120deg, #38bdf8, #22d3ee, #a855f7);
  color: #04101f;
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.3);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(248, 250, 252, 0.2);
  color: var(--muted);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:focus-visible,
.inline-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.hero-highlights li {
  background: rgba(4, 8, 21, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(14px);
}

.hero-highlights .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-highlights strong {
  display: block;
  font-size: 24px;
  margin: 6px 0;
}

.hero-highlights small {
  color: var(--muted);
}

.hero-highlight__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-delta {
  display: block;
  margin: -2px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.hero-delta--up {
  color: #34d399;
}

.hero-delta--down {
  color: #f87171;
}

.hero__glass {
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 13, 32, 0.76);
  box-shadow: 0 25px 60px rgba(3, 7, 18, 0.65);
  position: relative;
  overflow: hidden;
}

.hero__glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% -20%, rgba(56, 189, 248, 0.4), transparent 55%);
  pointer-events: none;
}

.hero__glass > * {
  position: relative;
  z-index: 1;
}

.glass__badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.hero__glass h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.hero__glass p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.glass__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.glass__metrics article {
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 15, 34, 0.8);
}

.glass__metrics span {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.glass__metrics strong {
  display: block;
  font-size: 26px;
  margin: 6px 0;
}

.glass__metrics small {
  color: var(--muted);
}

.glass__footer {
  display: block;
  width: 100%;
  text-align: right;
  color: var(--muted);
  font-size: 14px;
}

.inline-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
}

.landing-main {
  margin-top: clamp(48px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.pillars article {
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(7, 11, 26, 0.8);
}

.pillars h3 {
  margin: 6px 0 12px;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(8, 13, 30, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.card h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.landing-footer {
  margin-top: clamp(32px, 6vw, 72px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--muted);
}

@media (max-width: 640px) {
  .glass__footer {
    flex-direction: column;
    align-items: flex-end;
  }
}
