:root {
  --card: #ffffff;
  --ring: #a1a1a1;
  --input: #e5e5e5;
  --muted: #f5f5f5;
  --accent: #f5f5f5;
  --border: #e5e5e5;
  --radius: 0.625rem;
  --chart-1: #91c5ff;
  --chart-2: #3a81f6;
  --chart-3: #2563ef;
  --chart-4: #1a4eda;
  --chart-5: #1f3fad;
  --popover: #ffffff;
  --primary: #171717;
  --sidebar: #fafafa;
  --spacing: 0.25rem;
  --font-mono: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  --font-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --secondary: #f5f5f5;
  --background: #ffffff;
  --font-serif: "Iowan Old Style", "Times New Roman", serif;
  --foreground: #0a0a0a;
  --destructive: #e7000b;
  --sidebar-ring: #a1a1a1;
  --sidebar-accent: #f5f5f5;
  --sidebar-border: #e5e5e5;
  --card-foreground: #0a0a0a;
  --sidebar-primary: #171717;
  --muted-foreground: #737373;
  --accent-foreground: #171717;
  --popover-foreground: #0a0a0a;
  --primary-foreground: #fafafa;
  --sidebar-foreground: #0a0a0a;
  --secondary-foreground: #171717;
  --destructive-foreground: #ffffff;
  --sidebar-accent-foreground: #171717;
  --sidebar-primary-foreground: #fafafa;
}

.dark {
  --card: #0a0a0a;
  --ring: #525252;
  --input: #262626;
  --muted: #262626;
  --accent: #262626;
  --border: #262626;
  --chart-1: #91c5ff;
  --chart-2: #3a81f6;
  --chart-3: #2563ef;
  --chart-4: #1a4eda;
  --chart-5: #1f3fad;
  --popover: #0a0a0a;
  --primary: #fafafa;
  --sidebar: #0a0a0a;
  --secondary: #262626;
  --background: #0a0a0a;
  --foreground: #fafafa;
  --destructive: #e7000b;
  --sidebar-ring: #525252;
  --sidebar-accent: #262626;
  --sidebar-border: #262626;
  --card-foreground: #fafafa;
  --sidebar-primary: #fafafa;
  --muted-foreground: #a1a1a1;
  --accent-foreground: #fafafa;
  --popover-foreground: #fafafa;
  --primary-foreground: #0a0a0a;
  --sidebar-foreground: #fafafa;
  --secondary-foreground: #fafafa;
  --destructive-foreground: #ffffff;
  --sidebar-accent-foreground: #fafafa;
  --sidebar-primary-foreground: #0a0a0a;
  --matrix-soft: rgba(91, 255, 181, 0.16);
  --matrix-strong: rgba(145, 255, 201, 0.45);
  --card-bg: rgba(12, 12, 12, 0.76);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #040404 0%, #090909 45%, #050505 100%);
  color: var(--foreground);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.015), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.matrix-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.hero,
.signals,
.site-footer {
  width: min(1100px, calc(100vw - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.hero-card {
  width: min(100%, 680px);
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(8, 8, 8, 0.1);
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(280px, 62vw);
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  filter: brightness(0) invert(1) contrast(1.05);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.16rem, 6.3vw, 4.41rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.signals {
  padding: 2rem 0 5rem;
}

.section-heading {
  margin-bottom: 1.75rem;
  text-align: center;
}

.section-heading h2 {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
}

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

.signal-card {
  min-height: 150px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 8, 0.82);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: flex-end;
}

.signal-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.45;
}

.site-footer {
  padding: 0 0 2rem;
}

.site-footer p {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 900px) {
  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88vh;
  }

  .hero-card {
    border-radius: 24px;
  }

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

  .signal-card {
    min-height: 120px;
  }

  .site-footer p {
    line-height: 1.6;
  }
}
