/* GMC Feed Health Monitoring — public landing styles (A-017)
   Self-contained: system font stack, no external fonts/CDN, no build step. */

:root {
  --bg: #0d1117;
  --bg-alt: #11161f;
  --surface: #161c27;
  --border: #243043;
  --text: #e6edf3;
  --text-dim: #9aa7b8;
  --brand: #2f81f7;
  --brand-2: #3fb950;
  --warn: #d29922;
  --radius: 12px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #1f6feb);
  color: #fff; font-weight: 800;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-dim); font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: 8px 16px;
  border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: #1f6feb; text-decoration: none; }

/* Hero */
.hero { padding: 88px 0 64px; background:
  radial-gradient(1200px 400px at 50% -10%, rgba(47,129,247,0.15), transparent 70%); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--brand); margin: 0 0 12px; font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--text-dim); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
.hero-note { font-size: 0.9rem; color: var(--text-dim); max-width: 620px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1f6feb; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-lede { color: var(--text-dim); max-width: 760px; margin: 0 0 32px; }

/* Grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; color: var(--text);
}

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { color: var(--text); }
.card ul { margin: 0; padding-left: 18px; color: var(--text-dim); }
.card li { margin: 6px 0; }
.card-proven { border-color: rgba(63,185,80,0.4); }
.card-proven h3 { color: var(--brand-2); }
.card-pending { border-color: rgba(210,153,34,0.4); }
.card-pending h3 { color: var(--warn); }

.fineprint { font-size: 0.85rem; color: var(--text-dim); margin-top: 24px; max-width: 760px; }

/* Status table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.status-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.status-table th, .status-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.status-table thead th { color: var(--text-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.status-table tbody th { color: var(--text); font-weight: 600; }
.status-table td { color: var(--text-dim); }
.status-table tr:last-child th, .status-table tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.badge-ready { background: rgba(63,185,80,0.15); color: var(--brand-2); border: 1px solid rgba(63,185,80,0.4); }
.badge-planned { background: rgba(210,153,34,0.12); color: var(--warn); border: 1px solid rgba(210,153,34,0.35); }

/* CTA band */
.cta-band { background:
  radial-gradient(800px 300px at 50% 120%, rgba(47,129,247,0.18), transparent 70%); text-align: center; }
.cta-inner { max-width: 640px; }
.cta-inner p { color: var(--text-dim); margin-bottom: 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-alt); }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { font-weight: 700; margin: 0; }
.footer-copy, .footer-links { color: var(--text-dim); font-size: 0.9rem; margin: 0; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-nav { gap: 12px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
}
