:root {
  --bg: #0b0f17;
  --surface: #121826;
  --surface-alt: #161f30;
  --border: #233047;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --safe: #10b981;
  --warn: #f59e0b;
  --danger: #f87171;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

code,
pre {
  font-family: var(--mono);
  font-size: 0.875em;
}

code {
  background: rgba(56, 189, 248, 0.1);
  color: #bae6fd;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

pre {
  margin: 0.75rem 0 0;
  padding: 1rem;
  background: #090d14;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  color: #cbd5e1;
}

pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.container {
  width: min(1160px, 100% - 2rem);
  margin: 0 auto;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.safe-harbor-banner {
  background: #0f172a;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: #cbd5e1;
}

.banner-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
}

.banner-inner p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--safe));
  color: #061018;
  font-weight: 800;
  font-size: 0.95rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.92rem;
}

.main-nav a {
  color: #cbd5e1;
}

.main-nav a:hover {
  color: var(--accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill-safe {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.pill-info {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.pill-warn {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.hero {
  padding: 3.5rem 0 2.75rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.18;
}

h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.lead {
  margin: 0 0 1.4rem;
  color: #cbd5e1;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.subdomains {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.05rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-sm {
  padding: 0.48rem 0.85rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--accent-strong);
  color: #041018;
}

.btn-primary:hover {
  background: var(--accent);
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface-alt);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--muted);
}

.metric-value {
  font-size: 1.4rem;
  color: #f8fafc;
}

.metric-note {
  font-size: 0.75rem;
  color: #94a3b8;
}

.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: rgba(18, 24, 38, 0.55);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  margin: 0 0 1.4rem;
  color: #cbd5e1;
  max-width: 78ch;
}

.source-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timestamp-note {
  font-size: 0.84rem;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.9rem;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.filter-field select {
  background: #090d14;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-size: 0.88rem;
}

.filter-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text);
  padding-bottom: 0.4rem;
  cursor: pointer;
}

.status-note {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.status-warn {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  font-size: 0.88rem;
}

.status-box {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: #cbd5e1;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

th,
td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

th {
  background: #0f1522;
  color: #cbd5e1;
  font-weight: 600;
}

tbody tr:hover {
  background: rgba(56, 189, 248, 0.05);
}

th.num,
td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.market-title {
  white-space: normal;
  min-width: 220px;
  max-width: 300px;
}

.market-outcome {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.plan-price {
  margin: 0.3rem 0 0;
  font-size: 2rem;
  font-weight: 700;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-features {
  margin: 0;
  padding-left: 1.15rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  display: grid;
  gap: 0.4rem;
}

.plan-actions {
  display: grid;
  gap: 0.55rem;
}

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

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.doc-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.trustmrr-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.trustmrr-badge-box {
  background: #0f1522;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.trustmrr-badge-box strong {
  color: var(--text);
  font-size: 1.05rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  background: #080b11;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-inner {
  display: grid;
  gap: 0.65rem;
}

.legal-fineprint {
  margin: 0;
  max-width: 96ch;
}

@media (max-width: 900px) {
  .hero-grid,
  .pricing-grid,
  .docs-grid,
  .trustmrr-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}
