/* ══════════════════════════════════════════
   SENPAI STREAM BLOG — Shared Stylesheet
   ══════════════════════════════════════════ */

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

:root {
  --bg:        #0A0A0A;
  --surface:   #111111;
  --border:    #1E1E1E;
  --accent:    #E06500;
  --accent-dim:#A04800;
  --text:      #F0EDE8;
  --body:      #C5C0BA;
  --muted:     #8A8682;
  --subtle:    #3E3B38;
  --max:       700px;
  --gap-section: 56px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.85rem); margin-bottom: 16px; }
h3 { font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 8px; margin-top: 28px; }
h3:first-of-type { margin-top: 0; }
h4 { font-size: 0.9rem; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }

p { font-size: 15.5px; color: var(--body); line-height: 1.8; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 600; }
em { font-style: italic; color: var(--accent); }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.12s; }
a:hover { opacity: 0.78; }

hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

ul, ol { padding-left: 1.3em; color: var(--body); font-size: 15.5px; line-height: 1.8; }
li { margin-bottom: 6px; }

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

/* ── HEADER ── */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img {
  height: 32px;
  width: auto;
}
.logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1;
}
.logo-text span { color: var(--accent); }
.header-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 6px 14px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.header-cta:hover { background: var(--accent); color: #fff; opacity: 1; }

/* ── NAV ── */
.site-nav {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.site-nav .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}
.site-nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.12s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--accent); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.page-lead {
  font-size: 17px;
  color: #C5C0BA;
  line-height: 1.75;
  max-width: 600px;
  margin-top: 16px;
}
.page-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.page-meta span { display: flex; align-items: center; gap: 6px; }
.page-meta span::before { content: "·"; opacity: 0.35; }
.page-meta span:first-child::before { content: none; }

/* ── SECTION ── */
.section {
  padding: var(--gap-section) 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}

/* ── STAT ROW ── */
.stats {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin: 30px 0;
  overflow: hidden;
}
.stat {
  flex: 1 1 130px;
  padding: 20px 22px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--muted); }

/* ── CTA BLOCK ── */
.cta-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 22px 24px;
  border-radius: 3px;
  margin: 28px 0;
}
.cta-block p { margin-bottom: 14px; font-size: 15px; }
.cta-block p:last-child { margin-bottom: 0; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 3px;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--accent); color: #fff !important; opacity: 1; }

/* ── NOTICE / INFO ── */
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 18px 22px;
  margin: 24px 0;
}
.notice p { font-size: 14px; color: var(--muted); margin-bottom: 0; }

/* ── FAQ ── */
.faq-item { margin-bottom: 32px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-q {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.faq-a { font-size: 15px; color: var(--body); line-height: 1.8; }

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
}
.compare-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}
.compare-table th:first-child { width: 35%; }
.compare-table td {
  padding: 11px 16px;
  color: var(--body);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--text); font-weight: 500; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb .wrap {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { opacity: 0.4; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 52px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.footer-brand-block .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-logo img { height: 26px; width: auto; }
.footer-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: var(--text);
}
.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 320px;
}
.footer-links-block h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-links-block ul { list-style: none; padding: 0; }
.footer-links-block li { margin-bottom: 8px; }
.footer-links-block a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.12s;
}
.footer-links-block a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 11px;
  color: var(--subtle);
}

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
  .stat { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
