/* OpenClawDatabase.com - Hybrid Agent-First Design
   Dark theme, tabbed navigation, vanilla CSS, mobile responsive */

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

:root {
  --bg: #0f172a;
  --card: #1e293b;
  --card-hover: #273449;
  --border: rgba(148, 163, 184, 0.15);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-blue: #60a5fa;
  --accent-purple: #a78bfa;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --code-bg: #0b1222;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 0 0;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-decoration: none;
}

.site-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

/* Tabs navigation */
.tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
  scrollbar-width: thin;
}

.tab {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tab:hover { color: var(--text); }

.tab.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

/* Main content */
main { padding: 2.5rem 0; }

/* Headings */
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #f1f5f9;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: #f1f5f9;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #e2e8f0;
}

p { margin-bottom: 1rem; color: var(--text); }

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

/* Hero */
.hero {
  padding: 1rem 0 2rem 0;
  text-align: left;
}

.hero-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 1.5rem;
}

/* Search bar (static, no backend) */
.search-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  max-width: 700px;
  margin-bottom: 1rem;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.search-box input::placeholder { color: var(--text-dim); }

.search-box button {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.search-hint { font-size: 0.85rem; color: var(--text-dim); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
}

.card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.card a.card-link { color: var(--accent-blue); font-size: 0.85rem; font-weight: 500; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 1rem 0 2rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

th {
  background: rgba(96, 165, 250, 0.08);
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(96, 165, 250, 0.04); }

td:first-child { font-weight: 600; color: #f1f5f9; }

/* Code blocks */
pre, code {
  font-family: "SF Mono", Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 0.875rem;
}

code {
  background: var(--code-bg);
  color: #93c5fd;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1rem 0;
  line-height: 1.5;
}

pre code {
  background: transparent;
  padding: 0;
  color: var(--text);
  font-size: 0.85rem;
}

.syntax-comment { color: var(--text-dim); }
.syntax-key { color: #93c5fd; }
.syntax-string { color: #86efac; }
.syntax-number { color: #fca5a5; }

/* API preview box */
.api-preview {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.api-preview-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-purple);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* Callout boxes */
.callout {
  border-left: 3px solid var(--accent-blue);
  background: rgba(96, 165, 250, 0.06);
  padding: 1rem 1.25rem;
  border-radius: 0.25rem;
  margin: 1.5rem 0;
}

.callout.warn {
  border-left-color: var(--warning);
  background: rgba(251, 191, 36, 0.06);
}

.callout.danger {
  border-left-color: var(--danger);
  background: rgba(248, 113, 113, 0.06);
}

.callout-title { font-weight: 600; margin-bottom: 0.25rem; color: #f1f5f9; }

/* Lists */
ul, ol { margin: 0.75rem 0 1rem 1.5rem; }
li { margin-bottom: 0.35rem; color: var(--text); }

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
}

.faq details[open] { border-color: rgba(96, 165, 250, 0.3); }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #f1f5f9;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-blue);
  font-size: 1.25rem;
  font-weight: 300;
}

.faq details[open] summary::after { content: "−"; }

.faq details p { margin-top: 0.75rem; color: var(--text-muted); }

/* Quick blurbs (homepage "which agent") */
.blurbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.blurb { padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.5rem; }
.blurb strong { color: var(--accent-blue); display: block; margin-bottom: 0.25rem; }
.blurb p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Last updated */
.last-updated {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--card);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: #0b1222;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 1rem;
}

.footer-links {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a { color: var(--text-muted); }

/* Utility */
.muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }

/* Mobile */
@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  .container { padding: 0 1rem; }
  .site-header { padding-top: 1.5rem; }
  .hero-intro { font-size: 1rem; }
  .search-box { flex-direction: column; padding: 0.5rem; }
  .search-box input { width: 100%; }
  .search-box button { width: 100%; }
}

/* ─────────────────────────────────────────
   TOP NAV — sticky full-width tab bar
   Mobile: scroll container + arrow buttons
   Desktop: equal-width tabs, no arrows
   ───────────────────────────────────────── */
.topnav {
  display: flex;
  align-items: stretch;
  background: #1a2744;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Scrollable inner container */
.topnav-scroll {
  display: flex;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.topnav-scroll::-webkit-scrollbar { display: none; }

/* Tabs */
.topnav-tab {
  flex-shrink: 0;
  text-align: center;
  padding: 1rem 1.1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  letter-spacing: 0.01em;
}
.topnav-tab:hover { color: var(--text); background: rgba(96,165,250,0.07); text-decoration: none; }
.topnav-tab.active { color: var(--accent-blue); border-bottom-color: var(--accent-blue); background: rgba(96,165,250,0.1); }

/* Desktop: make tabs fill equally */
@media (min-width: 769px) {
  .topnav-tab { flex: 1; }
}

/* Arrow buttons — hidden until JS detects overflow */
.topnav-arrow {
  display: none; /* JS sets to flex when needed */
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  background: #1a2744;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 3px;
  transition: color 0.12s, background 0.12s;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.topnav-arrow:hover { color: var(--accent-blue); background: rgba(96,165,250,0.12); }
.topnav-arrow:disabled { cursor: default; }

/* Subtle fade-edge behind each arrow */
.topnav-prev::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0; bottom: 0; width: 10px;
  background: linear-gradient(90deg, #1a2744, transparent);
  pointer-events: none;
}
.topnav-next::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0; bottom: 0; width: 10px;
  background: linear-gradient(270deg, #1a2744, transparent);
  pointer-events: none;
}

/* Mobile fine-tuning */
@media (max-width: 768px) {
  .topnav-tab { font-size: 0.85rem; padding: 0.88rem 0.9rem; min-width: 76px; }
  .topnav-arrow { width: 30px; min-width: 30px; font-size: 1.3rem; }
}

/* ─────────────────────────────────────────
   SLIM HEADER (inner pages — logo + tagline only)
   ───────────────────────────────────────── */
.site-header-slim {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0 1.25rem;
}

/* ─────────────────────────────────────────
   AGENT QUICK LINKS (breadcrumb-style row)
   ───────────────────────────────────────── */
.agent-quicklinks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  padding: 0.75rem 1.1rem;
  background: rgba(96,165,250,0.04);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.agent-quicklinks-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 0.25rem;
  white-space: nowrap;
}
.agent-qlink {
  display: inline-block;
  font-size: 0.855rem;
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
  padding: 0.18rem 0.65rem;
  border-radius: 9999px;
  background: rgba(96,165,250,0.09);
  border: 1px solid rgba(96,165,250,0.2);
  transition: background 0.13s, color 0.13s;
  white-space: nowrap;
}
.agent-qlink:hover { background: rgba(96,165,250,0.22); color: #fff; text-decoration: none; }

/* ─────────────────────────────────────────
   FOOTER NAV (grouped agent links)
   ───────────────────────────────────────── */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-bottom: 0;
}
.footer-nav-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}
.footer-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-right: 0.15rem;
  white-space: nowrap;
}
.footer-nav a { color: var(--text-muted); font-size: 0.875rem; text-decoration: none; }
.footer-nav a:hover { color: var(--accent-blue); }

/* ─────────────────────────────────────────
   SITE HERO — homepage centered splash
   ───────────────────────────────────────── */
.site-hero {
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(96,165,250,0.1) 0%, transparent 70%),
    linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid var(--border);
}

.hero-icon {
  margin-bottom: 1.75rem;
  display: inline-block;
  filter: drop-shadow(0 0 24px rgba(96,165,250,0.3));
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero-brand-line {
  display: block;
  font-size: 4.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}

.hero-tagline-main {
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

/* Stats box */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 680px;
  margin: 0 auto 2rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.stats-grid .stat-item {
  padding: 1.4rem 1rem;
  border-right: 1px solid var(--border);
}
.stats-grid .stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Hero description */
.hero-desc {
  max-width: 680px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.7;
}

/* Feature checkmarks */
.features-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.feature-badge::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Homepage main content (below hero) */
.home-main { padding: 2.5rem 0; }

@media (max-width: 640px) {
  .hero-brand-line { font-size: 2.9rem; }
  .hero-tagline-main { font-size: 1rem; margin-bottom: 1.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .stats-grid .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stats-grid .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .site-hero { padding: 2.5rem 1rem 2rem; }
}

/* ─────────────────────────────────────────
   CENTERED SECTION (search / intro below news)
   ───────────────────────────────────────── */
.section-centered { text-align: center; }
.section-centered h2 { text-align: center; }
.section-centered .hero-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-centered .search-box {
  margin-left: auto;
  margin-right: auto;
}
.section-centered .search-hint { text-align: center; }

/* ─────────────────────────────────────────
   CLICKABLE TABLE HEADERS
   ───────────────────────────────────────── */
th a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}
th a:hover { text-decoration: underline; }

/* Clickable blurb headings */
.blurb strong a {
  color: var(--accent-blue);
  text-decoration: none;
}
.blurb strong a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────
   LATEST GUIDES SECTION
   ───────────────────────────────────────── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: border-color 0.15s ease;
}
.guide-card:hover { border-color: rgba(96,165,250,0.35); }
.guide-card-agent {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guide-card-agent a {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.72rem;
  text-decoration: none;
}
.guide-card-agent a:hover { text-decoration: underline; }
.guide-card-agent-link { font-size: 0.72rem; color: var(--text-dim); }
.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.guide-list li:last-child { border-bottom: none; }
.guide-list a { color: var(--text); text-decoration: none; }
.guide-list a:hover { color: var(--accent-blue); }
.guide-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.guide-tag.live { color: var(--success); }
.guide-tag.soon { color: var(--text-dim); }

/* ─────────────────────────────────────────
   ICON PICKER (temporary, shown until user picks)
   ───────────────────────────────────────── */
.icon-picker {
  background: rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.icon-picker h2 {
  margin-top: 0;
  color: var(--warning);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.icon-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: flex-start;
}
.icon-option {
  text-align: center;
  flex: 1;
  min-width: 80px;
}
.icon-option img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  border: 2px solid var(--border);
  display: block;
  margin: 0 auto 0.5rem;
  transition: border-color 0.15s;
}
.icon-option img:hover { border-color: var(--accent-blue); }
.icon-option-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.icon-option-desc {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* ─────────────────────────────────────────
   HUB PAGES — agent landing grid
   ───────────────────────────────────────── */
.hub-hero { padding: 2rem 0 0; }
.hub-hero-top { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1rem; }
.hub-hero-icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; padding-top: 0.1rem; }
.hub-hero-name { font-size: 2rem; font-weight: 800; color: #f1f5f9; line-height: 1.15; margin-bottom: 0.3rem; }
.hub-hero-tagline { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.hub-stats { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; margin: 0.85rem 0 1.25rem; }
.hub-stat-badge { font-size: 0.78rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 9999px; background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2); color: var(--accent-blue); }
.hub-intro { color: var(--text-muted); font-size: 0.975rem; line-height: 1.75; max-width: 760px; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); margin-bottom: 1.75rem; }
.hub-section-label { font-size: 0.69rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 0.85rem; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.hub-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.2rem 1.25rem 1rem; text-decoration: none; color: inherit; transition: border-color 0.15s, background 0.15s, transform 0.1s; }
.hub-card:hover { border-color: var(--accent-blue); background: var(--card-hover); transform: translateY(-2px); text-decoration: none; }
.hub-card.soon { opacity: 0.55; pointer-events: none; }
.hub-card-icon { font-size: 1.5rem; margin-bottom: 0.55rem; line-height: 1; }
.hub-card-title { font-size: 0.925rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.hub-card-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 0.8rem; }
.hub-card-foot { display: flex; align-items: center; gap: 0.5rem; }

/* Breadcrumb nav for subpages */
.page-breadcrumb { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.5rem; margin-top: 0.5rem; }
.page-breadcrumb a { color: var(--text-dim); }
.page-breadcrumb a:hover { color: var(--accent-blue); }
.page-breadcrumb span { margin: 0 0.3rem; }

/* ─────────────────────────────────────────
   VIDEO EMBED
   ───────────────────────────────────────── */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); margin: 1.5rem 0; background: #000; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 0.75rem; }

/* ─────────────────────────────────────────
   CREDIT / ATTRIBUTION BOX
   ───────────────────────────────────────── */
.credit-box { display: flex; gap: 0.75rem; align-items: flex-start; background: rgba(96,165,250,0.05); border: 1px solid rgba(96,165,250,0.15); border-radius: 0.5rem; padding: 0.85rem 1rem; margin: 1.25rem 0; font-size: 0.875rem; color: var(--text-muted); }
.credit-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem; }
.credit-box a { color: var(--accent-blue); }

/* ─────────────────────────────────────────
   MOMENT PAUSE — homepage human touchpoint
   ───────────────────────────────────────── */
.moment-pause {
  text-align: center;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.moment-pause p {
  color: var(--text-muted);
  font-style: italic;
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}
