/* ============================================================
   The Mnemosyne Research Institute — Stylesheet
   Dark theme, purple accent, Inter + Space Grotesk
   ============================================================ */

:root {
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #a78bfa;
  --primary-glow: rgba(124, 58, 237, 0.3);

  --bg-base: #0f0f13;
  --bg-card: #16161e;
  --bg-card-hover: #1e1e2a;
  --bg-dark: #0a0a0e;

  --text-primary: #f1f0f5;
  --text-secondary: #9896a8;
  --text-muted: #5f5d6b;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(124, 58, 237, 0.4);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;

  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
  --transition: 200ms ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 15, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: white;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.08);
}
.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.825rem;
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-sm:hover {
  background: var(--primary-hover);
  color: white;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), #c4b5fd, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 6rem 0; }
.section-dark {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-cta {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  border-top: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   ABOUT CARDS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.about-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.about-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}
.about-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   RESEARCH CARDS
   ============================================================ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}
.research-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.research-card.featured {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, var(--bg-card) 60%);
  grid-column: span 2;
}
.research-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.research-status.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.research-status.upcoming {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.research-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.research-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.research-tags span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 320px;
  width: 100%;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.team-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 1.25rem;
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.team-role {
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.team-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.team-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.team-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.team-links a:hover { color: var(--primary-light); }

/* ============================================================
   DONATE / CTA
   ============================================================ */
.cta-inner { text-align: center; }
.donate-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.25rem;
}
.donate-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.donate-note a { color: var(--primary-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-domain {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-top: 0.5rem !important;
}
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-dark);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
    align-items: flex-start;
  }
  .research-card.featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; }
  .hero-stats { gap: 1.25rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-actions { flex-direction: column; }
}

/* ============================================================
   HERO — TWO COLUMN LAYOUT
   ============================================================ */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-left { z-index: 1; }
.hero-right { z-index: 1; }

/* ============================================================
   TERMINAL WIDGET
   ============================================================ */
.terminal {
  background: #0d0d12;
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.12), 0 24px 48px rgba(0,0,0,0.4);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
}
.terminal-bar {
  background: #1a1a24;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-red    { background: #ff5f57; }
.t-yellow { background: #ffbd2e; }
.t-green  { background: #28c840; }
.t-title {
  margin-left: 0.5rem;
  color: #5f5d6b;
  font-size: 0.75rem;
}
.terminal-body {
  padding: 1.25rem 1.5rem;
}
.t-line {
  white-space: pre;
  min-height: 1.4em;
}
.t-comment  { color: #5c6370; }
.t-keyword  { color: #c678dd; }
.t-class    { color: #e5c07b; }
.t-fn       { color: #61afef; }
.t-string   { color: #98c379; }
.t-var      { color: #abb2bf; }
.t-op       { color: #56b6c2; }
.t-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 0.25rem;
}
.t-badge-active {
  background: rgba(16,185,129,0.18);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.3);
}
.t-badge-ship {
  background: rgba(124,58,237,0.2);
  color: #a78bfa;
  border: 1px solid rgba(124,58,237,0.35);
}

/* ============================================================
   RESEARCH META LINE
   ============================================================ */
.research-meta {
  font-size: 0.82rem !important;
  color: var(--primary-light) !important;
  background: rgba(124,58,237,0.08);
  border-left: 2px solid var(--primary);
  padding: 0.5rem 0.75rem !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1rem !important;
}
.research-status.ship {
  background: rgba(124,58,237,0.15);
  color: #a78bfa;
  border: 1px solid rgba(124,58,237,0.3);
}

/* ============================================================
   FINDINGS GRID
   ============================================================ */
.findings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.finding-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}
.finding-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.finding-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}
.finding-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.finding-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.finding-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.product-featured {
  border-color: rgba(124,58,237,0.3);
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, var(--bg-card) 60%);
}
.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.product-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.product-logo-sm {
  width: 40px;
  height: 40px;
  font-size: 0.7rem;
  border-radius: 8px;
}
.product-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.product-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  background: rgba(16,185,129,0.15);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.product-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ps { display: flex; flex-direction: column; }
.ps-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.ps-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ============================================================
   RESPONSIVE — NEW SECTIONS
   ============================================================ */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .findings-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .findings-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   NLS TERMINAL — additional token colors
   ============================================================ */
.t-directive { color: #c678dd; font-style: italic; }   /* @module @version @target */
.t-anlu      { color: #e5c07b; font-weight: 500; }     /* [constraint-as-information] */
.t-section   { color: #61afef; font-weight: 600; }     /* PURPOSE: INPUTS: LOGIC: */
.t-bullet    { color: #56b6c2; }                       /* • */
.t-arrow     { color: #56b6c2; }                       /* → */
.t-num       { color: #d19a66; }                       /* 1. 2. 3. */

/* ============================================================
   WRITING SECTION
   ============================================================ */
.writing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.writing-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.writing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: inherit;
}
.writing-card-all {
  border-style: dashed;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.writing-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  background: rgba(124,58,237,0.12);
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.25);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.875rem;
  align-self: flex-start;
}
.writing-card-all .writing-tag { align-self: center; }
.writing-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
  line-height: 1.35;
}
.writing-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}
.writing-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: auto;
  align-self: flex-start;
}
.writing-card-all .writing-link { align-self: center; }

/* ============================================================
   PAPER TAGS (ANLU track)
   ============================================================ */
.research-papers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.paper-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  background: rgba(124,58,237,0.1);
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.25);
  font-family: 'JetBrains Mono', monospace;
}
.paper-wip {
  background: rgba(251,191,36,0.08);
  color: #fbbf24;
  border-color: rgba(251,191,36,0.2);
}

/* ============================================================
   TEAM QUOTE
   ============================================================ */
.team-quote {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--primary);
  padding: 0.5rem 0.875rem;
  margin: 1rem 0 1.25rem;
  text-align: left;
  line-height: 1.65;
}

/* ============================================================
   PRODUCT QUOTE
   ============================================================ */
.product-quote {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 1024px) {
  .writing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .writing-grid { grid-template-columns: 1fr; }
  .findings-grid { grid-template-columns: 1fr; }
}
