/* ============================================================
   YUAN SIGNAL | EQUITY — Ghost Theme v2.0
   Design: Approved mockup, centered layout, system fonts
   Primary: #0E2841 | AI badge: #1a4d6d
   ============================================================ */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f5;
  color: #0E2841;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   SITE HEADER — Wordmark
   ============================================================ */
.site-header {
  background: #0E2841;
  color: #fff;
  padding: 28px 24px 24px;
  text-align: center;
}

.site-wordmark {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}

.site-wordmark .pipe {
  font-weight: 300;
  opacity: 0.4;
  margin: 0 10px;
}

.site-wordmark .signal {
  font-weight: 300;
  opacity: 0.85;
}

.site-tagline {
  font-size: 13px;
  color: #fff;
  opacity: 0.8;
  margin-top: 10px;
  font-weight: 300;
}

/* ============================================================
   SECTIONS — shared wrapper
   ============================================================ */
.section {
  background: #fff;
  padding: 44px 40px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: #0E2841;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-claim {
  font-size: 22px;
  font-weight: 700;
  color: #0E2841;
  line-height: 1.4;
  margin-bottom: 18px;
}

.hero-body {
  font-size: 15px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 10px;
}

.hero-product {
  font-size: 15px;
  font-weight: 600;
  color: #0E2841;
  margin-bottom: 32px;
}

.btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-note {
  font-size: 11px;
  color: #777;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: #0E2841;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: #1a4d6d;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #0E2841;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid #0E2841;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: #0E2841;
  color: #fff;
}

/* ============================================================
   CORE IDEA
   ============================================================ */
.core-section {
  background: #f9fafb;
}

.core-headline {
  font-size: 18px;
  font-weight: 700;
  color: #0E2841;
  margin-bottom: 24px;
}

.core-rows {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.core-row {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.core-label {
  font-weight: 700;
  color: #0E2841;
  display: block;
  margin-bottom: 2px;
}

.core-killer {
  font-size: 14px;
  color: #555;

  line-height: 1.8;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.pillar-card {
  background: #f9fafb;
  border-top: 3px solid #0E2841;
  border-radius: 4px;
  padding: 20px 16px;
}

.pillar-num {
  font-size: 11px;
  color: #777;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar-title {
  font-size: 13px;
  font-weight: 700;
  color: #0E2841;
  margin-bottom: 8px;
}

.pillar-arrow {
  font-size: 11px;
  color: #777;
  margin-bottom: 6px;
}

.pillar-body {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

.ai-badge {
  display: inline-block;
  background: #1a4d6d;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

/* ============================================================
   KILLER LINE
   ============================================================ */
.killer-section {
  padding: 48px 40px;
}

.killer-lines {
  font-size: 15px;
  color: #888;
  line-height: 2;
}

.killer-final {
  font-size: 22px;
  font-weight: 700;
  color: #0E2841;
  margin-top: 10px;
}

/* ============================================================
   METHODOLOGY
   ============================================================ */
.method-section {
  background: #f9fafb;
}

.method-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.method-item {
  padding: 0 28px;
  border-left: 1px solid #ddd;
}

.method-item:first-child {
  border-left: none;
  padding-left: 0;
}

.method-key {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #999;
  margin-bottom: 4px;
}

.method-val {
  font-size: 13px;
  color: #0E2841;
  font-weight: 600;
}

/* ============================================================
   RECENT ISSUES
   ============================================================ */
.issues-section {
  padding: 36px 40px;
}

.issues-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.issue-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.issue-row:hover {
  background: #f9fafb;
}

.issue-date {
  font-size: 11px;
  color: #777;
  min-width: 90px;
  flex-shrink: 0;
}

.issue-title {
  font-size: 13px;
  color: #0E2841;
  font-weight: 600;
  flex: 1;
  padding: 0 16px;
}

.issue-link {
  font-size: 11px;
  color: #0E2841;
  opacity: 0.45;
  flex-shrink: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  padding: 56px 40px;
}

.cta-title {
  font-size: 22px;
  font-weight: 700;
  color: #0E2841;
  margin-bottom: 10px;
}

.cta-sub {
  font-size: 13px;
  color: #777;
  margin-bottom: 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e0e0e0;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 11px;
  color: #777;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-size: 11px;
  color: #777;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #0E2841;
}

/* ============================================================
   POST / PAGE
   ============================================================ */
.post-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 40px 80px;
  background: #fff;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.back-link {
  font-size: 13px;
  color: #777;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: #0E2841;
}

.post-date {
  font-size: 13px;
  color: #777;
}

.post-title {
  font-size: 32px;
  font-weight: 700;
  color: #0E2841;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}

.post-feature-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 40px;
}

/* Ghost content */
.gh-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.gh-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0E2841;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0E2841;
}

.gh-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0E2841;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0e0e0;
}

.gh-content p { margin-bottom: 18px; }

.gh-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 24px 0;
}

.gh-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.gh-content th {
  background: #0E2841;
  color: #fff;
  padding: 10px 8px;
  text-align: left;
  font-weight: 600;
}

.gh-content td {
  padding: 10px 8px;
  border-bottom: 1px solid #e0e0e0;
}

/* Koenig editor wide/full image support */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 40px);
  margin-right: calc(50% - 50vw + 40px);
  max-width: none;
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.post-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.cta-more {
  font-size: 22px;
  font-weight: 700;
  color: #0E2841;
  margin-top: 48px;
}

.cta-more-link {
  display: block;
  color: #0E2841;
  font-weight: 400;
  font-size: 14px;
  margin-top: 8px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.cta-more-link:hover {
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 36px 20px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .core-rows { gap: 24px; }
  .method-row { flex-direction: column; align-items: center; gap: 20px; }
  .method-item { border-left: none; padding: 0; }
  .site-footer { padding: 16px 20px; }
  .post-wrap { padding: 32px 20px 60px; }
  .post-title { font-size: 24px; }
}
