/* YouTube Keyword Nutrition — public website
   Shared styles for the landing page and all policy pages. */

:root {
  --bg: #030712;
  --panel: #0f1623;
  --panel-2: #131c2b;
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8ecf4;
  --muted: #9aa6b8;
  --accent: #ef4444;
  --accent-soft: rgba(239, 68, 68, 0.12);
  --link: #7cb0ff;
  --radius: 14px;
  --maxw: 900px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
a:hover { text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: none;
}
.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* ── Sections ───────────────────────────────────────────── */
main { padding: 44px 0 12px; }

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.hero .lede {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 62ch;
  margin: 0 0 26px;
}

.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
}

section { margin: 44px 0; }
h2 {
  font-size: 1.35rem;
  margin: 0 0 14px;
  letter-spacing: -0.2px;
}
h3 {
  font-size: 1.03rem;
  margin: 22px 0 8px;
}
p { margin: 0 0 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 10px;
}
th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { background: var(--panel-2); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.amount { font-weight: 700; white-space: nowrap; }

.note {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}
.note strong { color: var(--text); }

ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 7px; }

dl { margin: 0; }
dt { font-weight: 600; margin-top: 16px; }
dd { margin: 4px 0 0; color: var(--muted); }

.contact-list {
  list-style: none;
  padding: 0;
}
.contact-list li {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-list span:first-child {
  color: var(--muted);
  min-width: 130px;
}

.updated {
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 26px;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 560px) {
  main { padding-top: 30px; }
  .contact-list span:first-child { min-width: 100%; }
}
