/* Googly SEO pages — shared stylesheet.
   Same variable palette as marketing.html (warm cream light default, cool dark
   via [data-theme="dark"] toggled from googly-marketing-theme localStorage). */

:root {
  --blue: #2563eb;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --green: #16a34a;
  --orange: #d97706;
  --red: #dc2626;

  --brand-1: #d97706;
  --brand-2: #ea580c;
  --brand-3: #c2410c;
  --brand-glow: rgba(217, 119, 6, 0.45);
  --brand-glow-soft: rgba(217, 119, 6, 0.22);

  --bg: #FFFBF5;
  --text: #2c1810;
  --text-soft: rgba(44, 24, 16, 0.78);
  --muted: #7a6b5d;
  --label: #8a7b6d;

  --card: rgba(255, 252, 245, 0.70);
  --border: rgba(180, 140, 80, 0.14);
  --hairline: rgba(180, 140, 80, 0.08);
  --hover-tint: rgba(180, 140, 80, 0.06);
  --strong-tint: rgba(180, 140, 80, 0.10);

  --nav-bg: rgba(255, 250, 240, 0.82);
  --shadow-card: 0 24px 60px -24px rgba(120, 80, 30, 0.16);
  --inset-top: inset 0 1px 0 rgba(255, 255, 255, 0.85);

  --badge-bg: rgba(217, 119, 6, 0.10);
  --badge-border: rgba(217, 119, 6, 0.28);
  --badge-text: #b45309;

  --pill-bg: rgba(217, 119, 6, 0.14);
  --pill-text: #b45309;
}

[data-theme="dark"] {
  --blue: #3b82f6;
  --indigo: #6366f1;
  --purple: #8b5cf6;
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;

  --brand-1: #3b82f6;
  --brand-2: #6366f1;
  --brand-3: #8b5cf6;
  --brand-glow: rgba(99, 102, 241, 0.45);
  --brand-glow-soft: rgba(99, 102, 241, 0.25);

  --bg: #0a0a10;
  --text: #f5f5f7;
  --text-soft: rgba(245, 245, 247, 0.85);
  --muted: #98989d;
  --label: #86868b;

  --card: rgba(13, 13, 21, 0.45);
  --border: rgba(255, 255, 255, 0.10);
  --hairline: rgba(255, 255, 255, 0.06);
  --hover-tint: rgba(255, 255, 255, 0.04);
  --strong-tint: rgba(255, 255, 255, 0.06);

  --nav-bg: rgba(10, 10, 16, 0.7);
  --shadow-card: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --inset-top: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --badge-bg: rgba(245, 158, 11, 0.10);
  --badge-border: rgba(245, 158, 11, 0.30);
  --badge-text: #fbbf24;

  --pill-bg: rgba(99, 102, 241, 0.16);
  --pill-text: #a5b4fc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1020px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 20px;
}
.nav-logo {
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links { display: flex; gap: 16px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--text-soft); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: #fff !important;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3));
  box-shadow: 0 8px 24px -8px var(--brand-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px var(--brand-glow); text-decoration: none; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ---- Layout blocks ---- */
main { padding: 32px 0 56px; }

.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }

h1 {
  font-size: clamp(28px, 5vw, 40px); line-height: 1.15;
  letter-spacing: -0.02em; font-weight: 800; margin-bottom: 10px;
}
.subtitle { font-size: 17px; color: var(--muted); margin-bottom: 28px; max-width: 640px; }

h2 { font-size: 24px; letter-spacing: -0.01em; font-weight: 750; margin: 36px 0 14px; }
h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }

p { color: var(--text-soft); margin-bottom: 14px; }
ul, ol { color: var(--text-soft); margin: 0 0 14px 22px; }
li { margin-bottom: 6px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card), var(--inset-top);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 22px;
  margin-bottom: 20px;
}

/* ---- Player header ---- */
.player-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.player-avatar {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border); background: var(--strong-tint); flex-shrink: 0;
}
.player-avatar-fallback {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: var(--pill-text);
  background: var(--pill-bg); border: 2px solid var(--border); flex-shrink: 0;
}
.player-meta { font-size: 14px; color: var(--muted); }

.badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--badge-bg); border: 1px solid var(--badge-border); color: var(--badge-text);
}

/* ---- Stat grid ---- */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px; margin: 16px 0 8px;
}
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px;
}
.stat .v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.stat .l { font-size: 12px; color: var(--label); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.callout {
  border-left: 3px solid var(--brand-2);
  background: var(--hover-tint);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px; margin: 18px 0;
  color: var(--text-soft); font-size: 15px;
}

/* ---- Tables ---- */
.tbl-scroll { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
th {
  text-align: left; padding: 10px 14px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--label);
  border-bottom: 1px solid var(--border); background: var(--hover-tint);
  white-space: nowrap;
}
td { padding: 10px 14px; border-bottom: 1px solid var(--hairline); color: var(--text-soft); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--hover-tint); }
td.num, th.num { text-align: right; }

/* ---- Link grids ---- */
.link-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px; margin: 14px 0; padding: 0; list-style: none;
}
.link-grid li { margin: 0; }
.link-grid a {
  display: block; padding: 10px 14px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 14px;
}
.link-grid a:hover { background: var(--hover-tint); text-decoration: none; }
.link-grid .sub { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }

.index-cols {
  columns: 3 200px; column-gap: 24px; margin: 14px 0; padding: 0; list-style: none;
  font-size: 14px;
}
.index-cols li { margin-bottom: 6px; break-inside: avoid; }

/* ---- CTA band ---- */
.cta-band {
  text-align: center; padding: 36px 24px; margin-top: 40px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.cta-band h2 { margin-top: 0; }
.cta-band p { max-width: 520px; margin: 0 auto 20px; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 44px; margin-top: 24px;
  font-size: 13px; color: var(--muted);
}
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 20px; }
.footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label); margin-bottom: 10px; }
.footer-cols ul { list-style: none; margin: 0; }
.footer-cols li { margin-bottom: 7px; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--text); }

@media (max-width: 560px) {
  .player-head { flex-direction: column; align-items: flex-start; }
  .nav-links a.hide-sm { display: none; }
}
