/* Git Peptides — Research Hub styles. Matches main site theme. */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');
:root{
  --bg:#ffffff;
  --bg-card:#f8fafc;
  --border:#e6e9ee;
  --text:#0f172a;
  --text-muted:#64748b;
  --accent:#0d9488;
  --accent-dim:#0f766e;
  --max:760px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  line-height:1.7;font-size:17px;-webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* Header / nav */
.site-header{
  border-bottom:1px solid var(--border);padding:18px 24px;
  display:flex;align-items:center;justify-content:space-between;
  max-width:1100px;margin:0 auto;
}
.site-header .brand{font-family:'Inter',sans-serif;font-weight:700;font-size:19px;color:var(--text)}
.site-header .brand span{color:var(--accent)}
.site-header nav a{color:var(--text-muted);margin-left:22px;font-size:15px}
.site-header nav a:hover{color:var(--text);text-decoration:none}

/* Layout */
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.hub-wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* Breadcrumb */
.crumb{font-size:13px;color:var(--text-muted);margin:28px 0 8px}
.crumb a{color:var(--text-muted)}
.crumb a:hover{color:var(--accent)}

/* Article */
article h1{font-family:'Inter',sans-serif;font-weight:700;font-size:34px;line-height:1.2;margin:8px 0 16px;letter-spacing:-.02em}
article h2{font-family:'Inter',sans-serif;font-weight:600;font-size:23px;margin:40px 0 12px;letter-spacing:-.01em}
article h3{font-family:'Inter',sans-serif;font-weight:600;font-size:19px;margin:28px 0 8px}
article p{margin:14px 0}
article ul,article ol{margin:14px 0;padding-left:22px}
article li{margin:6px 0}
.lead{font-size:19px;color:var(--text);border-left:3px solid var(--accent);
  padding:2px 0 2px 18px;margin:20px 0 28px}
.meta-line{font-size:13px;color:var(--text-muted);margin-bottom:24px}

/* Callout / compliance box */
.note{
  background:var(--bg-card);border:1px solid var(--border);border-radius:10px;
  padding:16px 18px;margin:26px 0;font-size:15px;color:var(--text-muted);
}
.note strong{color:var(--text)}
.ruo{border-left:3px solid var(--accent-dim)}

/* Hub grid */
.hub-hero{padding:48px 0 12px;text-align:center}
.hub-hero h1{font-family:'Inter',sans-serif;font-weight:700;font-size:40px;margin:0 0 12px;letter-spacing:-.02em}
.hub-hero p{color:var(--text-muted);font-size:18px;max-width:560px;margin:0 auto}
.hub-section-label{font-size:13px;text-transform:uppercase;letter-spacing:.08em;
  color:var(--accent);margin:44px 0 14px;font-weight:600}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.card{
  background:var(--bg-card);border:1px solid var(--border);border-radius:12px;
  padding:22px;transition:border-color .15s,transform .15s;display:block;
}
.card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 10px 26px rgba(15,23,42,.07);text-decoration:none}
.card h3{font-family:'Inter',sans-serif;font-weight:600;margin:0 0 8px;font-size:18px;color:var(--text)}
.card p{margin:0;color:var(--text-muted);font-size:14px;line-height:1.6}
.card .tag{display:inline-block;font-size:11px;text-transform:uppercase;
  letter-spacing:.06em;color:var(--accent);margin-bottom:10px;font-weight:600}

/* Related */
.related{border-top:1px solid var(--border);margin-top:48px;padding-top:28px}
.related h2{font-size:18px;margin:0 0 14px}
.related a{display:block;margin:6px 0}

/* Footer */
.site-footer{border-top:1px solid var(--border);margin-top:64px;padding:28px 24px;
  text-align:center;color:var(--text-muted);font-size:13px;max-width:1100px;
  margin-left:auto;margin-right:auto}
.site-footer a{color:var(--text-muted);margin:0 10px}

@media(max-width:600px){
  article h1{font-size:27px}
  .hub-hero h1{font-size:30px}
  body{font-size:16px}
}

/* Compound spec table + sequence box (shared by research overview pages) */
.spec-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:15px}
.spec-table th,.spec-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top}
.spec-table th{color:var(--text-muted);font-weight:500;width:38%;white-space:nowrap}
.spec-table td{color:var(--text)}
.spec-table tr:last-child th,.spec-table tr:last-child td{border-bottom:none}
.seq{font-family:'DM Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;color:var(--accent);
  word-break:break-all;background:var(--bg-card);border:1px solid var(--border);border-radius:8px;padding:12px 14px;margin:14px 0}
.furth{font-size:14px;color:var(--text-muted);margin:18px 0}
@media(max-width:600px){.spec-table th{width:44%}}
