@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700;800&display=swap');

:root {
  --tod-navy: #15295b;
  --tod-navy-2: #0b2f57;
  --tod-blue: #0b5ed7;
  --tod-surface: #ffffff;
  --tod-muted: #6c757d;
  --tod-header-h: 76px;
}

body {
  background: #f6f8fb;
  padding-top: var(--tod-header-h);
}

.navbar-dark {
  background: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(7,18,40,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease;
}

.hero {
  background: radial-gradient(1200px 500px at 20% 30%, #0e63ff 0%, #0c3d86 35%, #092a4f 70%, #071f3a 100%);
  color: #fff;
  margin-top: calc(var(--tod-header-h) * -1);
  padding: calc(4rem + var(--tod-header-h)) 0 3.5rem 0;
}

.hero h1 {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.hero-badges .badge {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
}

.card-elevated {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.search-card {
  border-radius: 1.25rem;
}

.results-card {
  margin-top: -2.25rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.section-body {
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
}

.sponsored-item {
  background: #fff7e6;
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 0.75rem;
}

.result-item {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 0.75rem;
}

.metric {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  color: #1f2a37;
}

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

.badge-soft {
  background: rgba(13, 110, 253, 0.10);
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.25);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
}

.metric-break {
  display: none;
}

.metric-total {
  margin-left: 0.5rem;
}

@media (max-width: 576px) {
  .metric-break-before-total {
    display: block;
  }

  .metric-total {
    margin-left: 0;
  }
}

/* Footer */
.site-footer .footer-links a {
  color: var(--tod-muted);
  text-decoration: none;
}

.site-footer .footer-links a:hover {
  text-decoration: underline;
}

.site-footer .footer-links .sep {
  margin: 0 0.5rem;
  color: rgba(0,0,0,0.25);
}

/* Clickwrap */
.clickwrap-body {
  font-size: 0.95rem;
}

.clickwrap-disclosures {
  font-size: 0.92rem;
  line-height: 1.35;
}

html.clickwrap-locked body {
  overflow: hidden;
}

/* Simple subpage layout */
.page-hero {
  background: radial-gradient(1200px 500px at 20% 30%, #0e63ff 0%, #0c3d86 35%, #092a4f 70%, #071f3a 100%);
  color: #fff;
  margin-top: calc(var(--tod-header-h) * -1);
  padding: calc(3.25rem + var(--tod-header-h)) 0 2.25rem 0;
}

.page-hero h1 {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-card {
  margin-top: -1.5rem;
}
