:root {
  --bg: #ffffff;
  --card: #ffffff;
  --card-2: #fffaf0;
  --text: #2a1a0f;
  --muted: #6f5a45;
  --line: rgba(80, 50, 20, .16);
  --accent: #b97818;
  --accent-2: #8a5510;
  --gold: #d89a45;
  --gold-light: #f5cf86;
  --shadow: 0 14px 34px rgba(44, 28, 10, .10);
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.site-header, main, footer { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
.site-header {
  padding: 18px 0 10px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo { width: 90px; height: 90px; object-fit: contain; border-radius: 50%; flex: 0 0 auto; }
.logo-fallback { width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); display: none; place-items: center; font-weight: 900; color: #170d07; box-shadow: var(--shadow); flex: 0 0 auto; }
.brand-copy { min-width: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.5rem, 4vw, 2.15rem); color: var(--text); font-weight: 900; }
.brand-wrap p, .section-title p, .body-copy, footer p { color: var(--muted); line-height: 1.45; }
.brand-wrap p { max-width: 760px; }
.top-nav { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 6px; }
.nav-btn, .small-link, .signup-row button {
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--text);
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.nav-btn.active, .small-link { background: var(--accent); color: #fff; border-color: transparent; }
.ghost-link { background: #fff; color: var(--accent-2); border-color: rgba(185,120,24,.35); }
.page-section { display: none; padding: 12px 0 24px; }
.page-section.active { display: block; }
.hero-card, .card, .filters, .stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
}
.hero-card { padding: clamp(20px, 5vw, 34px); display: block; }
.hero-card h2 { font-size: clamp(2.1rem, 7vw, 4.25rem); letter-spacing: -0.05em; line-height: 1; margin: 5px 0 10px; max-width: 100%; overflow-wrap: anywhere; }
.hero-copy { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 900; margin-bottom: 4px; }
.data-status {
  display: inline-block;
  margin-top: 14px;
  color: #3b2406;
  background: #fff3d1;
  border: 1px solid rgba(185,120,24,.25);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 900;
  max-width: 100%;
  white-space: normal;
}
.home-status { margin-bottom: 0; }
.pill { color: #3b2406; background: #fff3d1; border: 1px solid rgba(185,120,24,.25); border-radius: 999px; padding: 8px 11px; font-weight: 900; white-space: normal; }
.grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.card { padding: 18px; margin-top: 14px; }
.card-head, .section-title { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.section-title { margin: 12px 0 14px; }
.section-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.compact-list { display: grid; gap: 9px; margin-top: 14px; }
.compact-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px; background: #fffaf0; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.compact-item small { color: var(--muted); display: block; margin-top: 3px; line-height: 1.35; }
.compact-item span { font-weight: 900; text-align: right; color: var(--accent-2); }
.sponsor-banner {
  margin: 10px 0 14px;
  min-height: 78px;
  border: 2px solid var(--gold);
  border-radius: 18px;
  color: var(--gold-light);
  display: grid;
  place-items: center;
  background: #0c0c0c;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.sponsor-banner span { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 900; }
.sponsor-banner strong { color: #fff7df; font-size: clamp(1.05rem, 3vw, 1.45rem); margin-top: 3px; }
.sponsor-banner small { color: var(--gold-light); margin-top: 2px; font-weight: 700; }
.sponsor-banner:hover, .sponsor-banner:focus { transform: translateY(-1px); border-color: #f0c86a; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; margin: 12px 0; }
.shipment-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { color: var(--muted); font-size: .83rem; font-weight: 800; }
select, input { width: 100%; margin-top: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-card { padding: 16px; }
.stat-card span { display: block; color: var(--muted); font-size: .78rem; font-weight: 800; }
.stat-card strong { display: block; margin-top: 4px; font-size: 1.3rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--accent-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--text); }
.badge { display: inline-block; margin: 0 5px 5px 0; padding: 5px 8px; border-radius: 999px; background: #fff3d1; color: var(--accent-2); font-size: .78rem; font-weight: 800; }
.empty { color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: 16px; background: #fffaf0; }
.hint, .mini-meta { color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: 4px; font-weight: 700; }
.strong-meta { color: var(--accent-2); }
.result-summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px; margin-bottom: 10px; background: #fffaf0; border: 1px solid var(--line); border-radius: 16px; }
.result-summary span { color: var(--muted); font-weight: 800; text-align: right; }
.signup-card { max-width: 720px; margin-inline: auto; }
.signup-row { display: flex; gap: 10px; margin-top: 16px; }
.signup-row input { margin-top: 0; }
footer { padding: 12px 0 34px; text-align: center; color: var(--muted); }
.footer-link { color: var(--accent-2); font-weight: 900; text-decoration: none; }
@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 18px, 1120px); }
  .brand-logo { width: 60px; height: 60px; }
  .grid.two, .filters, .shipment-filters, .stats-grid { grid-template-columns: 1fr; }
  .card-head, .section-title { flex-direction: column; }
  .section-actions { width: 100%; justify-content: space-between; }
  .compact-item { flex-direction: column; }
  .compact-item span { text-align: left; }
  .table-card, .hero-table-card { overflow-x: auto; }
  .hero-table-card table, .table-card table { min-width: 640px; }
  .signup-row, .result-summary { flex-direction: column; }
  .result-summary span { text-align: left; }
}
@media (max-width: 420px) {
  .site-header, main, footer { width: calc(100% - 14px); }
  .brand-wrap { gap: 10px; align-items: flex-start; }
  .brand-wrap p { font-size: .86rem; }
  .hero-card { padding: 18px; }
  .hero-card h2 { font-size: clamp(1.8rem, 11vw, 2.7rem); letter-spacing: -0.04em; }
  .nav-btn, .small-link { padding: 9px 11px; }
}


.durham-card { grid-column: 1 / -1; }
.durham-launch-card { max-width: 760px; margin-inline: auto; text-align: center; }
.large-link-button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}
.alerts-clean { text-align: center; }
.coming-soon-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff3d1;
  color: var(--accent-2);
  border: 1px solid rgba(185,120,24,.25);
  font-weight: 900;
}

/* Drop Tracker vNext additions */
.drop-tracker-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tracker-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.watchlist-card { border-color: rgba(185,120,24,.32); }
.watch-item span { color: var(--accent-2); font-weight: 900; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-expected {
  background: #fff8dc;
  color: #7a5200;
  border-color: rgba(185,120,24,.28);
}
.status-expected::before { background: #d89a45; }
.status-announced {
  background: #eaf3ff;
  color: #174f86;
  border-color: rgba(50,110,180,.22);
}
.status-announced::before { background: #2f80ed; }
.status-verified {
  background: #ebf8ee;
  color: #1d6b34;
  border-color: rgba(40,150,80,.22);
}
.status-verified::before { background: #26a65b; }
td small { color: var(--muted); font-weight: 700; }
@media (max-width: 760px) {
  .drop-tracker-filters, .tracker-stats-grid { grid-template-columns: 1fr; }
}

/* Drop Tracker vNext stack additions */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,.08);
}
.status-expected {
  background: #fff7d6;
  color: #6f4b00;
  border-color: #eed081;
}
.status-announced {
  background: #e9f2ff;
  color: #16467d;
  border-color: #b7d1f3;
}
.status-confirmed {
  background: #e9f8ee;
  color: #176238;
  border-color: #bde5ca;
}
.status-neutral {
  background: #f2f2f2;
  color: #444;
}
.alerts-benefits {
  margin: 8px 0 14px 22px;
  padding: 0;
  line-height: 1.6;
}
.signup-message {
  min-height: 22px;
  font-weight: 700;
}

/* Drop Tracker beta fix: make dynamic Watch List "+ more" rows behave like links/buttons. */
.compact-action {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.compact-action:hover strong,
.compact-action:focus-visible strong {
  text-decoration: underline;
}
