/* ===== FONTS ===== */
/* Playfair Display + DM Sans loaded via Google Fonts in layout */

/* ===== VARIABLES ===== */
:root {
  --bg: #FDFCF8;
  --bg-alt: #F5F1EA;
  --bg-dark: #1A1915;
  --fg: #1A1915;
  --fg-muted: #6B6560;
  --accent: #D4840A;
  --accent-light: #F5E9D4;
  --border: #E8E4DC;
  --shadow: rgba(26, 25, 21, 0.08);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 132, 10, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 28px;
  border: 1px solid rgba(212, 132, 10, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--fg-muted);
  font-size: 15px;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--fg);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-num {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--fg);
}

.proof-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero Right — Paper Cards */
.hero-right {
  position: relative;
}

.hero-visual {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  min-height: 380px;
}

.paper-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 16px;
  position: relative;
}

.paper-card-1 {
  border-left: 3px solid #22C55E;
}

.paper-card-2 {
  border-left: 3px solid #EF4444;
}

.paper-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.paper-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.paper-meta {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.paper-verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.verdict-support {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
}

.verdict-refute {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.verdict-icon {
  font-size: 11px;
}

.paper-reason {
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
}

.nexus-badge-hero {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.nexus-icon {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
  max-width: 1200px;
  margin: 48px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

.bar-sep {
  color: var(--border);
  font-weight: 300;
}

/* ===== SECTIONS SHARED ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ===== DISAGREEMENT SECTION ===== */
.disagreement {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.disagreement-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin: 56px 0;
}

.dg-col {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.dg-label-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dg-label-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dg-label-card p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.dg-col-label { border-radius: 16px 0 0 16px; border-right: none; }
.dg-col-with { border-radius: 0 16px 16px 0; border-left: none; }

.dg-vs-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--fg-muted);
  flex-shrink: 0;
  align-self: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  height: 48px;
}

.dg-with-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dg-with-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.dg-with-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.dg-with-card p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.dg-with-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.disagreement-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.stat-item {
  text-align: center;
}

.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== EVIDENCE SECTION ===== */
.evidence { background: var(--bg); }

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0;
}

.ev-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--shadow);
}

.ev-card-icon {
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ev-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ev-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.evidence-quote {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 32px 40px;
  border-radius: 0 12px 12px 0;
  margin-top: 48px;
}

.evidence-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 16px;
}

.evidence-quote blockquote em { color: var(--accent); font-style: normal; }

.evidence-quote cite {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: normal;
}

/* ===== INSIGHT SECTION ===== */
.insight {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 48px;
}

.insight-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.insight .section-label { color: rgba(212, 132, 10, 0.8); }

.insight-headline {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--bg);
}

.insight-headline em {
  font-style: italic;
  color: var(--accent);
}

.insight-body {
  font-size: 17px;
  color: rgba(253, 252, 248, 0.65);
  line-height: 1.7;
  margin-bottom: 40px;
}

.insight-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.if-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.if-marker {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(212, 132, 10, 0.15);
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.if-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 4px;
}

.if-item p {
  font-size: 14px;
  color: rgba(253, 252, 248, 0.55);
  line-height: 1.6;
}

/* Insight Visual — Writing Interface Mockup */
.iv-card {
  background: #252420;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.iv-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.iv-header::before {
  content: '';
  display: flex;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.iv-text-block {
  padding: 24px 24px 16px;
  position: relative;
}

.iv-sentence {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

.iv-highlight {
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.iv-support { background: rgba(34, 197, 94, 0.15); color: #4ADE80; }
.iv-refute { background: rgba(239, 68, 68, 0.15); color: #F87171; }

.iv-annotation {
  margin-top: 12px;
  position: relative;
}

.iv-annotation-right { padding-left: 16px; border-left: 2px solid rgba(34, 197, 94, 0.4); }
.iv-annotation-left { padding-left: 16px; border-left: 2px solid rgba(239, 68, 68, 0.4); }

.iv-annotation-content {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px 16px;
}

.iv-annotation-content strong {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.iv-annotation-content p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.iv-funding {
  display: inline-block;
  font-size: 11px;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.1);
  color: rgba(34, 197, 94, 0.8);
}

.iv-funding-warn {
  background: rgba(239, 68, 68, 0.1);
  color: rgba(248, 113, 113, 0.8);
}

.iv-text-block-2 { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }

.iv-footer {
  padding: 16px 24px 24px;
}

.iv-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.iv-suggest-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== MANIFESTO SECTION ===== */
.manifesto {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 48px;
  text-align: center;
}

.manifesto-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}

.manifesto-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 40px;
}

.manifesto-headline em {
  font-style: italic;
  color: var(--accent);
}

.manifesto-body {
  text-align: left;
  margin-bottom: 40px;
}

.manifesto-body p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.m-tag {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}

/* ===== MECHANICS SECTION ===== */
.mechanics {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.mech-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 56px 0;
  max-width: 700px;
}

.mech-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.mech-step:last-child { border-bottom: none; }

.mech-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 48px;
}

.mech-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mech-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.mech-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.spec-item { text-align: center; }

.spec-val {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}

.spec-label {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ===== CLOSING SECTION ===== */
.closing {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 48px;
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing-headline {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 28px;
  line-height: 1.2;
}

.closing-sub {
  font-size: 18px;
  color: rgba(253, 252, 248, 0.6);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-product {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 48px;
}

.cp-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cp-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
}

.cp-name span {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--bg);
}

.cp-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-sep { color: var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 24px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-bottom-bar { font-size: 12px; gap: 10px; }
  .section-inner { padding: 64px 24px; }
  .disagreement-grid { grid-template-columns: 1fr; gap: 16px; }
  .dg-vs-label { display: none; }
  .dg-col-label, .dg-col-with { border-radius: 16px; border: 1px solid var(--border); }
  .disagreement-stats { grid-template-columns: 1fr; gap: 32px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .insight { padding: 64px 24px; }
  .insight-inner { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-inner { padding: 64px 24px; }
  .mech-specs { grid-template-columns: repeat(2, 1fr); }
  .closing { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}
