/* ═══════════════════════════════════════════════════════
   ClawdBytes — Dark Editorial / Red Lobster Theme
   Sleek, modern tech publication. No arcade nonsense.
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Barlow:wght@600;700;800;900&display=swap');

:root {
  /* Core palette */
  --red:          #C41E3A;
  --red-dark:     #9B1530;
  --red-bright:   #E02040;
  --red-muted:    rgba(196, 30, 58, 0.15);
  --red-glow:     rgba(196, 30, 58, 0.35);
  --red-border:   rgba(196, 30, 58, 0.4);
  --coral:        #E05060;  /* hover/lighter accent */

  /* Surfaces */
  --bg:           #0c0c0c;
  --surface:      #161616;
  --surface-2:    #1e1e1e;
  --surface-3:    #242424;
  --border:       #2a2a2a;
  --border-red:   rgba(196, 30, 58, 0.3);

  /* Text */
  --text:         #E8E8E8;
  --text-muted:   #888;
  --text-dim:     #555;
  --white:        #ffffff;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Barlow', 'Inter', sans-serif;

  /* Transitions */
  --ease: 0.2s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover { color: var(--red-bright); }

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

/* ─── Ticker Bar ─── */
.ticker-bar {
  background: var(--red);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  border-bottom: 1px solid var(--red-dark);
}

.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.ticker-content .label {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 2px 10px;
  margin-right: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Header ─── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.site-logo .highlight {
  color: var(--red);
}
.site-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.site-nav a {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 3px;
  transition: all var(--ease);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.site-nav a:hover {
  color: var(--white);
  background: var(--red-muted);
}

/* ─── Hero ─── */
.hero-terminal {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border-red);
  overflow: hidden;
  margin: 2rem 0;
  transition: border-color var(--ease), box-shadow var(--ease);
  text-decoration: none;
  border-radius: 4px;
}
.hero-terminal:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red-border), 0 8px 32px rgba(0,0,0,0.4);
}

/* Terminal bar kept structural but restyled */
.terminal-bar {
  background: var(--surface-2);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red    { background: var(--red); }
.terminal-dot.yellow { background: #555; }
.terminal-dot.green  { background: #333; }
.terminal-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-content { padding: 2.5rem 2rem; }

.hero-topic {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.hero-headline .prompt { color: var(--red); }
.hero-deck {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 680px;
}
.hero-byline {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ─── Story Grid ─── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  cursor: pointer;
}
.story-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px var(--red-border);
  transform: translateY(-2px);
}

.card-body { padding: 1.25rem; }

/* Category tags — unified red-tinted scheme, subtle variation */
.card-topic {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  border: 1px solid;
}

/* All categories get a red-family treatment */
.card-topic.ai,
.category-tag.ai {
  background: rgba(196, 30, 58, 0.12);
  color: #e06070;
  border-color: rgba(196, 30, 58, 0.35);
}
.card-topic.agents,
.category-tag.agents,
.card-topic.ai-agents,
.category-tag.ai-agents {
  background: rgba(180, 40, 60, 0.12);
  color: var(--coral);
  border-color: rgba(224, 80, 96, 0.35);
}
.card-topic.tech,
.category-tag.tech,
.card-topic.development,
.category-tag.development {
  background: rgba(196, 30, 58, 0.1);
  color: #c88090;
  border-color: rgba(196, 30, 58, 0.25);
}
.card-topic.news,
.category-tag.news,
.card-topic.community,
.category-tag.community {
  background: rgba(196, 30, 58, 0.12);
  color: var(--coral);
  border-color: rgba(196, 30, 58, 0.3);
}
.card-topic.analysis,
.category-tag.analysis,
.card-topic.tutorials,
.category-tag.tutorials {
  background: rgba(180, 50, 70, 0.12);
  color: #d07080;
  border-color: rgba(196, 30, 58, 0.3);
}
.card-topic.skills,
.category-tag.skills {
  background: rgba(196, 30, 58, 0.1);
  color: #c87880;
  border-color: rgba(196, 30, 58, 0.25);
}
.card-topic.ecosystem,
.category-tag.ecosystem,
.card-topic.discourse,
.category-tag.discourse {
  background: rgba(196, 30, 58, 0.1);
  color: #c07080;
  border-color: rgba(196, 30, 58, 0.25);
}

.card-headline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.card-headline a {
  color: var(--white);
  transition: color var(--ease);
}
.card-headline a:hover { color: var(--coral); }
.card-headline .prompt { color: var(--red); }

.card-deck {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
  font-weight: 500;
}
.card-reporter { color: var(--red); font-weight: 600; }

/* ─── Article Page ─── */
.content-wrap { max-width: 800px; margin: 0 auto; padding: 2.5rem 1.5rem; }

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.topic-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 0.9rem;
  border-radius: 2px;
  border: 1px solid rgba(196, 30, 58, 0.35);
  background: rgba(196, 30, 58, 0.1);
  color: var(--coral);
}
.topic-label a { color: inherit; }
.topic-label a:hover { color: var(--white); }

.article-header h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin: 0.5rem 0 0.75rem;
}
.article-header h1 .prompt { color: var(--red); }

.deck {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0.5rem 0;
}
.byline {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}
.reporter-name { color: var(--red); font-weight: 600; }
.reporter-name a { color: inherit; }
.reporter-name a:hover { color: var(--coral); }

.article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-red);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--coral);
  margin: 1.75rem 0 0.75rem;
}
.article-body a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(224, 80, 96, 0.4);
}
.article-body a:hover {
  color: var(--red-bright);
  text-decoration-color: var(--red-bright);
}
.article-body ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: none;
}
.article-body ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
}
.article-body ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ─── Section Cards (The Update / The Context / The Impact) ─── */
.section-cards { margin: 1.5rem 0; display: grid; gap: 0.85rem; }

.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 1.2rem 1.4rem;
  border-radius: 0 4px 4px 0;
}
.section-card.section-context {
  border-left-color: var(--coral);
}
.section-card.section-impact {
  border-left-color: var(--red-dark);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.section-context .section-label { color: var(--coral); }
.section-impact .section-label  { color: #a01828; }

.section-card p { color: var(--text); line-height: 1.75; margin: 0; }

/* ─── Bottom Line (TL;DR) ─── */
.bottom-line {
  background: var(--surface);
  border: 1px solid var(--red-border);
  border-left: 3px solid var(--red);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}
.bl-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.bottom-line p {
  color: var(--white);
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ─── Article Meta / Share ─── */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.meta-sep { color: var(--text-dim); }

.share-buttons {
  display: flex;
  gap: 0.35rem;
  margin-left: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease);
  border-radius: 3px;
}
.share-btn:hover {
  background: var(--red-muted);
  border-color: var(--red-border);
  color: var(--white);
}

.share-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}
.share-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── Hero Image ─── */
.hero-image-wrap {
  margin: 1.5rem 0;
}
.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.hero-attribution {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  text-align: right;
}

/* ─── Embeds ─── */
.embeds-section { margin: 2rem 0; }
.embeds-section h2 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.embed-item { margin-bottom: 1.5rem; }
.embed-context {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.embed-youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.embed-youtube iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ─── Related Articles ─── */
.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.related-articles h2 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.related-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.related-topic {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.related-headline {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.related-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ─── Section Header (topic pages) ─── */
.section-header {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.section-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.section-header h1 .prompt { color: var(--red); }
.topic-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ─── Topic Tag Cloud ─── */
.topic-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.topic-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 3px;
  transition: all var(--ease);
  letter-spacing: 0.04em;
}
.topic-tag:hover {
  border-color: var(--red-border);
  color: var(--white);
  background: var(--red-muted);
}

/* ─── Reporter Page ─── */
.reporter-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.reporter-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.reporter-beat {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.reporter-style {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.reporter-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* ─── Search Page ─── */
.search-container { margin-top: 1rem; }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 2rem;
  transition: border-color var(--ease);
}
.search-input-wrap:focus-within {
  border-color: var(--red-border);
}
.search-prompt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
}
.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  caret-color: var(--red);
}
.search-input-wrap input::placeholder {
  color: var(--text-dim);
}
.search-input-wrap .blink {
  color: var(--red);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ─── Visitor Counter ─── */
.visitor-counter {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2rem 0;
}
.visitor-counter .count {
  color: var(--red);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
}
.footer-brand .highlight { color: var(--red); }
.footer-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.5rem 0 1.5rem;
}
.footer-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: color var(--ease);
  text-transform: uppercase;
}
.footer-links a:hover {
  color: var(--coral);
}
.copyright {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ─── Code Blocks ─── */
.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 1.5rem 0;
  overflow: hidden;
}
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 7px 14px;
}
.code-lang {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 10px;
  cursor: pointer;
  transition: all var(--ease);
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.copy-btn:hover {
  background: var(--red-muted);
  border-color: var(--red-border);
  color: var(--white);
}
.copy-btn.copied {
  background: rgba(196, 30, 58, 0.2);
  border-color: var(--red-border);
  color: var(--coral);
}
.copy-icon { font-size: 0.9rem; }
.code-block pre {
  margin: 0;
  padding: 1.2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.code-block code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d4b8c0;
  background: none;
  padding: 0;
}
.inline-code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.85em;
  background: var(--surface-2);
  color: var(--coral);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.code-block pre::-webkit-scrollbar { height: 6px; }
.code-block pre::-webkit-scrollbar-track { background: var(--surface); }
.code-block pre::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.code-block pre::-webkit-scrollbar-thumb:hover { background: var(--red-border); }

/* ─── Photo Attribution ─── */
.photo-attribution {
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.license-badge {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  font-size: 0.65rem;
  margin-left: 6px;
  border-radius: 2px;
  color: var(--text-dim);
}

/* ─── Empty State ─── */
.empty-state {
  text-align: center;
  color: var(--text-dim);
  padding: 3rem 1rem;
  font-size: 0.9rem;
}

/* ─── Legal Pages ─── */
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.legal-page ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-muted);
}
.legal-page li {
  margin-bottom: 0.35rem;
  line-height: 1.65;
}
.legal-page a { color: var(--coral); }

/* ─── Tools Page ─── */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.tool-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.tool-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  flex: 1;
}
.tool-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tool-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tool-badge.version {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text-muted);
}
.tool-badge.security {
  background: rgba(196, 30, 58, 0.1);
  border-color: var(--red-border);
  color: var(--coral);
}
.tool-description {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.tool-features {
  background: var(--surface-2);
  padding: 1rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--red);
  border-radius: 0 3px 3px 0;
}
.tool-features ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}
.tool-features li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}
.tool-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.tool-link {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 14px;
  border: 1px solid;
  border-radius: 3px;
  transition: all var(--ease);
  display: inline-block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tool-link.clawhub {
  background: var(--red);
  border-color: var(--red-dark);
  color: var(--white);
}
.tool-link.clawhub:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
}
.tool-link.github {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}
.tool-link.github:hover {
  border-color: var(--red-border);
  color: var(--white);
  background: var(--red-muted);
}
.tool-license {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
}

/* ─── Tools Announcement Banner ─── */
.tools-banner {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-red);
}
.tools-banner a:hover {
  text-decoration: underline !important;
}

/* ─── ASCII Art (keep class, neutralize style) ─── */
.ascii-art {
  font-family: 'SF Mono', 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--red);
  text-align: center;
  line-height: 1.8;
  white-space: pre;
}

/* ─── Pixel Text (keep class, restyle) ─── */
.pixel-text {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Blink (keep for ticker label) ─── */
.blink { animation: blink 1s step-end infinite; }

/* ─── Neon Particles — hidden, class preserved ─── */
.neon-particle { display: none; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .site-logo { font-size: 1.5rem; }
  .hero-headline { font-size: 1.8rem; }
  .article-header h1 { font-size: 1.9rem; }
  .story-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 0.2rem; }
  .site-nav a { font-size: 0.65rem; padding: 4px 7px; }
  .hero-content { padding: 1.5rem 1.25rem; }
  .share-buttons { margin-left: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .reporter-header h1 { font-size: 1.4rem; }
  .content-wrap { padding: 1.5rem 1rem; }
}
