/* ============================================
   cybercrime.club — dark hacker aesthetic
   ============================================ */

:root {
  --bg:          #0a0a0a;
  --bg-surface:  #111111;
  --bg-elevated: #1a1a1a;
  --border:      #222222;
  --text:        #c8c8c8;
  --text-muted:  #666666;
  --text-dim:    #444444;
  --accent:      #00ff88;
  --accent-dim:  #00cc6a;
  --amber:       #ffb800;
  --red:         #ff4444;
  --blue:        #4488ff;
  --mono:        'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', monospace;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-width:   780px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--amber); }

/* Scanline overlay — subtle CRT effect */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  z-index: 9999;
}

/* ---- Header / Nav ---- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-title {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.site-title .blink {
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.site-tagline {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: none;
}

@media (min-width: 640px) {
  .site-tagline { display: inline; }
}

nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}

nav a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); }

/* ---- Main Content ---- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
  width: 100%;
}

/* ---- Homepage ---- */
.hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero h1 .accent { color: var(--accent); }

.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

/* ---- Post List ---- */
.post-list {
  list-style: none;
}

.post-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.post-item:last-child { border-bottom: none; }

.post-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-meta .category {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.post-item h2 {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.post-item h2 a {
  color: var(--text);
}
.post-item h2 a:hover {
  color: var(--accent);
}

.post-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.post-tags {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  text-transform: lowercase;
}
.tag:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
}

/* ---- Single Post ---- */
.post-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.post-header h1 {
  font-family: var(--mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.post-header .post-meta {
  font-size: 0.8rem;
}

/* ---- Article Content ---- */
.post-content h2 {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.post-content h3 {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.4rem;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-style: italic;
}

.post-content code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--bg-elevated);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--accent);
}

.post-content pre {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: var(--text);
}

.post-content img {
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.post-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.post-content th, .post-content td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  text-align: left;
}

.post-content th {
  background: var(--bg-surface);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Severity / Threat Badges ---- */
.badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-critical { background: var(--red); color: #fff; }
.badge-high     { background: #cc5500; color: #fff; }
.badge-medium   { background: var(--amber); color: #000; }
.badge-low      { background: var(--border); color: var(--text-muted); }

/* ---- Newsletter CTA ---- */
.newsletter-cta {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.newsletter-cta h3 {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.newsletter-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-cta .btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.6rem 1.5rem;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.newsletter-cta .btn:hover {
  background: var(--amber);
  color: var(--bg);
}

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

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

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

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.pagination a {
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 3px;
}
.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Tags Page ---- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 0;
}

.tag-cloud a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
}
.tag-cloud a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Deep Dive ---- */
.deep-dive-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--blue);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.reading-time {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.toc {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.toc-header {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 0.35rem;
}

.toc a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
}
.toc a:hover { color: var(--accent); }

.toc ul ul {
  padding-left: 1.25rem;
  margin-top: 0.25rem;
}

.toc ul ul a { font-size: 0.75rem; }

.related-posts {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.related-posts h3 {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.related-posts ul {
  list-style: none;
  padding: 0;
}

.related-posts li {
  padding: 0.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.related-posts a {
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
}
.related-posts a:hover { color: var(--accent); }

.related-date {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ---- Supply Chain Monitor ---- */
.supply-chain-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.supply-chain-header h1 {
  font-family: var(--mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.supply-chain-header h1 .accent { color: var(--accent); }

.supply-chain-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.supply-chain-stats {
  display: flex;
  gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.stat { color: var(--text-muted); }
.stat-num { color: var(--accent); font-weight: 700; }
.stat-critical { color: var(--red); font-weight: 700; }
.stat-high { color: #cc5500; font-weight: 700; }

.supply-chain-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.filter-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-right: 0.25rem;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  cursor: pointer;
  text-transform: lowercase;
  transition: all 0.15s;
}

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

.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 255, 136, 0.05);
}

.supply-chain-list {
  list-style: none;
}

.sc-incident {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.sc-incident:last-child { border-bottom: none; }

.sc-incident-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sc-registry {
  color: var(--blue);
  font-weight: 600;
  text-transform: lowercase;
}

.sc-vector {
  color: var(--text-muted);
  font-style: italic;
}

.sc-incident h2 {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.sc-incident h2 a { color: var(--text); }
.sc-incident h2 a:hover { color: var(--accent); }

.sc-versions {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.sc-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.sc-incident-details {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.sc-detail {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.sc-detail-label {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.3rem;
}

.sc-detail-label::after { content: ":"; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.5rem; }
  .post-header h1 { font-size: 1.35rem; }
  .header-inner { flex-wrap: wrap; gap: 0.75rem; }
  nav { gap: 0.75rem; }
  nav a { font-size: 0.75rem; }
}

/* ============================================
   Ransomware Group Tracker
   ============================================ */

.rw-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.rw-header h1 {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.rw-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 600px;
}
.rw-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.rw-stats .stat {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.rw-stats .stat-num { color: var(--accent); font-weight: 600; }
.rw-stats .stat-critical { color: var(--red); font-weight: 600; }
.rw-stats .stat-high { color: var(--amber); font-weight: 600; }

.rw-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.rw-filters .filter-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: lowercase;
}

.rw-group {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.rw-group-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.rw-group-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.rw-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 3px;
}
.rw-status-active {
  background: rgba(0, 255, 136, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 136, 0.2);
}
.rw-status-resurgent {
  background: rgba(255, 184, 0, 0.1);
  color: var(--amber);
  border: 1px solid rgba(255, 184, 0, 0.2);
}
.rw-status-defunct {
  background: rgba(255, 68, 68, 0.1);
  color: var(--red);
  border: 1px solid rgba(255, 68, 68, 0.2);
}
.rw-type {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--blue);
  background: rgba(68, 136, 255, 0.1);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid rgba(68, 136, 255, 0.15);
}
.rw-since {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.rw-group-header h2 {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.rw-aliases {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}
.rw-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.rw-group-body {
  padding: 1.25rem 1.5rem;
}
.rw-section {
  margin-bottom: 1rem;
}
.rw-section h3 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.rw-ttp-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rw-ttp {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
}
.rw-ttp-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  min-width: 120px;
  flex-shrink: 0;
  padding-top: 1px;
}
.rw-ttp-value {
  color: var(--text-muted);
}

.rw-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.rw-detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.rw-detail-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rw-detail-value {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
}

.rw-le-section {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.rw-le-section h3 {
  color: var(--red);
}
.rw-le-list {
  list-style: none;
  padding: 0;
}
.rw-le-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}
.rw-le-list li::before {
  content: ">";
  font-family: var(--mono);
  color: var(--red);
  position: absolute;
  left: 0;
}

@media (max-width: 600px) {
  .rw-group-header, .rw-group-body { padding: 1rem; }
  .rw-ttp { flex-direction: column; gap: 0.15rem; }
  .rw-ttp-label { min-width: unset; }
  .rw-details-row { flex-direction: column; }
}

/* ============================================
   Newsletter CTA
   ============================================ */

/* Homepage banner */
.newsletter-banner {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
.newsletter-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.newsletter-banner-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}
.newsletter-banner-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Post footer CTA */
.newsletter-cta {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}
.newsletter-cta h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.newsletter-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Inline form */
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.newsletter-form:focus-within {
  border-color: var(--accent);
}
.newsletter-input,
input[type="email"].newsletter-input {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
  background-color: #0a0a0a;
  border: none;
  padding: 0.6rem 0.75rem;
  width: 220px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  box-shadow: none;
  color-scheme: dark;
}
.newsletter-input::placeholder {
  color: var(--text-dim);
  opacity: 1;
}
.newsletter-input:autofill,
.newsletter-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #0a0a0a inset;
  -webkit-text-fill-color: var(--text);
}
.newsletter-msg {
  font-family: var(--mono);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
/* Center the form in post CTA */
.newsletter-cta .newsletter-form {
  justify-content: center;
  display: inline-flex;
}

/* Shared button style */
.newsletter-btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.6rem 1.25rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.newsletter-btn:hover {
  background: var(--accent-dim);
  color: var(--bg);
}
.newsletter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .newsletter-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .newsletter-form { width: 100%; }
  .newsletter-input { flex: 1; width: auto; min-width: 0; }
}
