:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
  background: #020617;
  color: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.2), transparent 35%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

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

.hero-card {
  width: min(100%, 42rem);
  padding: 3rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #38bdf8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1;
}

.tagline {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #cbd5e1;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.ticker-search,
.inline-search {
  margin-top: 2rem;
}

.search-label,
.price-label,
.section-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.search-row,
.inline-search {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.search-row input,
.inline-search input {
  width: 100%;
  min-width: 0;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
}

.search-row button,
.inline-search button,
.snapshot-footer button {
  padding: 0.95rem 1.2rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #020617;
  font-weight: 700;
  cursor: pointer;
}

.snapshot-shell {
  padding: 2rem;
}

.snapshot-card {
  width: min(100%, 78rem);
  margin: 0 auto;
}

.snapshot-topbar,
.snapshot-header,
.fair-value-panel,
.snapshot-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
}

.snapshot-topbar {
  align-items: center;
  margin-bottom: 2rem;
}

.brand-link {
  color: #7dd3fc;
  text-decoration: none;
}

.snapshot-header {
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.header-price {
  min-width: 16rem;
  text-align: right;
}

.price-value {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
}

.range-value,
.fair-methodology,
.fair-delta,
.fair-disclaimer,
.snapshot-footer p {
  margin: 0.35rem 0 0;
  color: #cbd5e1;
}

.notice-banner,
.state-block,
.fair-value-panel,
.metric-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.55);
  border-radius: 20px;
}

.notice-banner,
.state-block {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.fair-value-panel {
  padding: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.fair-value-panel h2 {
  margin: 0;
  font-size: 2rem;
}

.fair-value-meta {
  text-align: right;
}

.verdict-tag {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.verdict-undervalued {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.verdict-fair,
.verdict-unavailable {
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

.verdict-overvalued {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

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

.metric-card {
  padding: 1.25rem;
}

.metric-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.metric-card table {
  width: 100%;
  border-collapse: collapse;
}

.metric-card th,
.metric-card td {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.metric-card th {
  color: #cbd5e1;
  font-weight: 500;
  text-align: left;
}

.metric-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.snapshot-footer {
  align-items: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .hero-card,
  .snapshot-card {
    padding: 1.4rem;
  }

  .snapshot-shell,
  .landing-shell {
    padding: 1rem;
  }

  .search-row,
  .inline-search,
  .snapshot-topbar,
  .snapshot-header,
  .fair-value-panel,
  .snapshot-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .header-price,
  .fair-value-meta {
    min-width: 0;
    text-align: left;
  }

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