/* deliverabilitymatrix.com — faceless, professional, mobile-friendly */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #5c6570;
  --border: #e2e6eb;
  --accent: #0b5fff;
  --accent-soft: #e8f0ff;
  --warn-bg: #fff8e6;
  --warn-border: #e6c35c;
  --note-bg: #f0f4f8;
  --radius: 8px;
  --max: 720px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover { color: var(--accent); text-decoration: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.9rem;
}

.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--accent); }

main { padding: 1.75rem 0 3rem; }

h1 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.015em;
}

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

p { margin: 0 0 1rem; }

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

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

.disclosure {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.disclosure strong { display: inline; }

.claim-note {
  background: var(--note-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.claim-note strong { color: var(--text); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

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

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

.btn-primary:hover { filter: brightness(1.05); color: #fff; }

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

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

.btn-pending {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #c5d8ff;
  cursor: default;
  font-weight: 600;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #eee;
  color: var(--muted);
  vertical-align: middle;
}

.badge-hold { background: #ffe8cc; color: #8a5a00; }
.badge-assumption { background: #e8e8f4; color: #3d3d6b; }

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

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

th, td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: #f0f2f5;
  font-weight: 600;
  white-space: nowrap;
}

tr:last-child td { border-bottom: none; }

td.pending {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.stub-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.stub-list li {
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem 0 2.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer .wrap > * + * { margin-top: 1rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

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

.footer-brand { font-weight: 600; color: var(--text); }

.hold-banner {
  background: #1a1d23;
  color: #f0f2f5;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  text-align: center;
}

.hold-banner span { opacity: 0.85; }

ul.clean { padding-left: 1.2rem; }
ul.clean li { margin: 0.35rem 0; }

@media (max-width: 520px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  th, td { padding: 0.55rem 0.65rem; }
}
