/*
Theme Name: unseat.ai
Theme URI: https://unseat.ai
Author: unseat.ai
Author URI: https://unseat.ai
Description: Custom theme for unseat.ai - AI visibility suite
Version: 1.0.50
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unseat-ai
*/

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

:root {
  --purple: #6d43f9;
  --purple-light: #8b6dfa;
  --purple-glow: rgba(109, 67, 249, 0.15);
  --purple-dim: rgba(109, 67, 249, 0.08);
  --green: #22c55e;
  --green-hover: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.25);
  --red: #ed3b3e;
  --void: #0A0A0F;
  --void-light: #111118;
  --void-surface: #16161f;
  --cream: #f8f6f2;
  --cream-dark: #eae6df;
  --white: #ffffff;
  --text-dark: #1a1035;
  --text-secondary: #6b6580;
  --text-muted: #9b95a8;
  --text-light: #e8e5f0;
  --text-dim: #a9a3b8;
  --font-display: 'Manrope', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--white);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(109, 67, 249, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: var(--green-hover) !important;
  box-shadow: 0 4px 20px var(--green-glow);
}

/* ===== SECTION UTILITIES ===== */
.section-dark {
  background: var(--void);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.section-cream {
  background: var(--cream);
  color: var(--text-dark);
}
.section-white {
  background: var(--white);
  color: var(--text-dark);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.section-dark .section-label { color: var(--purple-light); }
.section-cream .section-label, .section-white .section-label { color: var(--purple); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--green-glow);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: transparent;
  color: var(--purple-light);
  border: 1px solid rgba(109, 67, 249, 0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--purple-dim);
  border-color: rgba(109, 67, 249, 0.4);
}

/* ===== SPLIT PANEL ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-55 { grid-template-columns: 55% 1fr; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* ===== SCREENSHOT FRAME ===== */
.screenshot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(109, 67, 249, 0.1);
  position: relative;
  transition: transform 0.4s ease;
}
.screenshot:hover { transform: translateY(-4px); }
.screenshot img { display: block; width: 100%; height: auto; }
.screenshot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.section-dark .screenshot {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(109, 67, 249, 0.06);
}
.section-dark .screenshot img {
  border-radius: 10px;
}
.screenshot-placeholder {
  background: linear-gradient(135deg, var(--void-surface), var(--void-light));
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-style: italic;
}
.section-white .screenshot-placeholder,
.section-cream .screenshot-placeholder {
  background: linear-gradient(135deg, #e8e5f0, #d4d0de);
  color: var(--text-secondary);
}

/* ===== AI CHAT MOCKUP ===== */
@keyframes ai-chat-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ai-chat-dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-5px); opacity: 1; }
}
@keyframes ai-chat-highlight-pulse {
  0%   { background-color: rgba(237, 59, 62, 0.15); }
  50%  { background-color: rgba(237, 59, 62, 0.32); }
  100% { background-color: rgba(237, 59, 62, 0.15); }
}

.ai-chat-mockup {
  background: #12101e;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 60px rgba(109, 67, 249, 0.07);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  display: block;
}
.ai-chat-mockup:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55), 0 0 80px rgba(109, 67, 249, 0.12);
}

/* Window chrome */
.ai-chat-header {
  background: #1c1928;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ai-chat-header-dots {
  display: flex;
  gap: 5px;
}
.ai-chat-header-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ai-chat-header-dot:nth-child(1) { background: #ff5f57; }
.ai-chat-header-dot:nth-child(2) { background: #febc2e; }
.ai-chat-header-dot:nth-child(3) { background: #28c840; }
.ai-chat-header-label {
  flex: 1;
  text-align: center;
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

/* Messages area */
.ai-chat-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Message rows */
.ai-chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.ai-chat-msg.user {
  flex-direction: row-reverse;
}
.ai-chat-msg.ai {
  flex-direction: row;
}

/* AI avatar */
.ai-chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple, #6d43f9), #9b68ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

/* Bubbles */
.ai-chat-bubble-user,
.ai-chat-bubble-ai {
  font-family: ui-monospace, 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  line-height: 1.55;
  padding: 9px 13px;
  border-radius: 12px;
  max-width: 86%;
}
.ai-chat-bubble-user {
  background: rgba(109, 67, 249, 0.22);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 12px 12px 3px 12px;
  text-align: right;
}
.ai-chat-bubble-ai {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 12px 12px 12px 3px;
}
.ai-chat-bubble-ai ul {
  margin: 7px 0 0 0;
  padding-left: 14px;
  list-style: disc;
}
.ai-chat-bubble-ai li {
  margin-bottom: 4px;
}
.ai-chat-bubble-ai p {
  margin: 0 0 4px;
}

/* Typing dots */
.ai-chat-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px 12px 12px 3px;
  width: fit-content;
}
.ai-chat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: ai-chat-dot-bounce 1.2s ease-in-out infinite;
}
.ai-chat-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-chat-dot:nth-child(3) { animation-delay: 0.4s; }

/* Competitor highlight */
.ai-chat-highlight {
  background: rgba(237, 59, 62, 0.15);
  color: var(--accent-3, #ed3b3e);
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  animation: ai-chat-highlight-pulse 1.5s ease-in-out 2.8s 1 forwards;
}

/* "Not mentioned" annotation */
.ai-chat-annotation {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 0.68rem;
  color: var(--accent-3, #ed3b3e);
  text-align: center;
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(237, 59, 62, 0.12);
  background: rgba(237, 59, 62, 0.04);
  letter-spacing: 0.01em;
}

/* Caption below mockup */
.ai-chat-caption {
  font-size: 0.72rem;
  color: var(--text-dim, rgba(255,255,255,0.35));
  text-align: center;
  margin-top: 8px;
}

/* Animation: user bubble — appears immediately */
.ai-chat-msg.user .ai-chat-bubble-user {
  opacity: 0;
  animation: ai-chat-fade-up 0.45s ease forwards;
  animation-delay: 0.15s;
}

/* Typing dots — appear after user bubble, then disappear */
.ai-chat-typing-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.ai-chat-typing-row .ai-chat-dots {
  opacity: 0;
  animation: ai-chat-fade-up 0.3s ease forwards, ai-chat-fade-up 0.3s ease reverse forwards;
  animation-delay: 0.7s, 1.5s;
}

/* AI bubble — appears after dots */
.ai-chat-msg.ai .ai-chat-bubble-ai {
  opacity: 0;
  animation: ai-chat-fade-up 0.5s ease forwards;
  animation-delay: 1.8s;
}

/* Annotation — appears last */
.ai-chat-annotation {
  opacity: 0;
  animation: ai-chat-fade-up 0.4s ease forwards;
  animation-delay: 2.6s;
}

/* Reduced motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .ai-chat-mockup * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 100px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109, 67, 249, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 67, 249, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(109, 67, 249, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .section-inner { position: relative; z-index: 2; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 800px;
}

.hero-descriptor {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 400;
}

.hero-subhead {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-supporting {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 16px;
  font-style: italic;
}

/* ===== EQUAL STARTING LINE ===== */
.equal-start {
  padding: 80px 0;
}
.equal-start-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px;
  border-left: 3px solid var(--purple);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.equal-start h2,
.equal-start-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.equal-start p,
.equal-start-inner p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 72px 0;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), #8f3eba, #be3a7c, var(--red));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
/* Stats-bar color coding (sitewide): urgency (77%, 80%) = red; growth/value (527%, 4.4x) = green */
.stats-bar .stat-item:nth-child(1) .stat-number,
.stats-bar .stat-item:nth-child(4) .stat-number { color: var(--red); }
.stats-bar .stat-item:nth-child(2) .stat-number,
.stats-bar .stat-item:nth-child(3) .stat-number { color: var(--green); }
.stat-label {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 6px;
}
.stat-source {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== NEW GAME / CARDS GRID ===== */
.new-game { padding: 88px 0; }
.new-game-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}
.new-game-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.new-game-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.card {
  background: var(--white);
  border: 1px solid #e8e5f0;
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), #be3a7c, var(--red));
}
.card:hover {
  border-color: rgba(109, 67, 249, 0.2);
  box-shadow: 0 8px 32px rgba(109, 67, 249, 0.08);
  transform: translateY(-2px);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.card-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.new-game-closing {
  text-align: center;
  margin-bottom: 48px;
}
.new-game-closing p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.new-game-closing strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ===== TIMELINE ===== */
.timeline { padding: 88px 0; }
.timeline-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.timeline-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.timeline-items {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.timeline-items::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), #be3a7c, rgba(237, 59, 62, 0.3));
}

.timeline-item {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  position: relative;
}
.timeline-year {
  flex-shrink: 0;
  width: 56px;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--purple-light);
  padding-top: 2px;
}
.timeline-content {
  flex: 1;
  padding-bottom: 12px;
}
.timeline-stat {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-text {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* YOU ARE HERE */
.timeline-item.current {
  background: var(--void-surface);
  border: 1px solid rgba(109, 67, 249, 0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-left: -12px;
  margin-right: -12px;
  box-shadow: 0 0 40px rgba(109, 67, 249, 0.08);
}
.timeline-item.current .timeline-year {
  color: var(--green);
  font-size: 1.1rem;
}
.timeline-item.current .timeline-stat {
  color: var(--green);
  font-size: 1.6rem;
}
.timeline-item.current .timeline-text {
  color: var(--text-light);
}
.timeline-item.current .timeline-text strong { color: var(--white); }

.timeline-cta {
  margin-top: 20px;
}

/* 2027+ warning — fully readable, ominous tone */
.timeline-item.future {
  opacity: 1;
  border-left: 3px solid var(--red);
  padding-left: 24px;
  margin-left: -4px;
}
.timeline-item.future .timeline-year { color: var(--red); font-weight: 800; }
.timeline-item.future .timeline-text { color: var(--text-light); }

.timeline-footnote {
  max-width: 700px;
  margin: 32px auto 0;
  padding: 0 40px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ===== ORIGIN STORY ===== */
.origin { padding: 88px 0; }
.origin .split { gap: 48px; }
.origin-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8e5f0, #d4d0de);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
  border: 3px solid rgba(109, 67, 249, 0.15);
  margin: 0 auto;
  overflow: hidden;
}
.origin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.origin-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}
.origin-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--purple);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}
.origin-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.origin-attribution {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
}
.origin-attribution span {
  font-weight: 400;
  color: var(--text-secondary);
}

/* ===== MID CTA ===== */
.mid-cta {
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 67, 249, 0.08) 0%, transparent 50%, rgba(34, 197, 94, 0.04) 100%);
  pointer-events: none;
}
.mid-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
.mid-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.35;
}
.mid-cta p {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.mid-cta .supporting {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ===== SUITE SECTION ===== */
.suite { padding: 88px 0; }
.suite-header {
  text-align: center;
  margin-bottom: 56px;
}
.suite-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}
.suite-block {
  margin-bottom: 64px;
}
.suite-block:last-child { margin-bottom: 0; }
.suite-block h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.suite-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CHART VISUAL ===== */
.chart-visual {
  max-width: 800px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 1px solid rgba(109,67,249,0.15);
}

/* Mobile: promote screenshot above copy in split-55 layouts that need it */
@media (max-width: 768px) {
  .split.mobile-image-first { display: flex !important; flex-direction: column !important; }
  .split.mobile-image-first > .screenshot { order: -1 !important; margin-bottom: 24px !important; }
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  margin-bottom: 16px;
  padding: 22px 28px;
  background: var(--white);
  border: 1px solid #e8e5f0;
  border-radius: 12px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 14px rgba(109, 67, 249, 0.06);
  border-color: rgba(109, 67, 249, 0.18);
}
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1;
}
.faq-item[open] > summary::after { content: '−'; }
.faq-item .faq-answer {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== COMPARISON BOX ===== */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  margin: 32px 0;
}
.comparison-box-left {
  background: rgba(237, 59, 62, 0.04);
  border-right: 1px solid rgba(237, 59, 62, 0.1);
  padding: 32px 28px;
}
.comparison-box-right {
  background: rgba(34, 197, 94, 0.04);
  padding: 32px 28px;
}
.comparison-box h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.comparison-box-left h4 { color: var(--red); }
.comparison-box-right h4 { color: var(--green); }
.comparison-box p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.comparison-box-left p { color: var(--text-dim); }
.comparison-box-right p { color: var(--text-light); }

/* ===== CALLOUT BOX ===== */
.callout-box {
  border-left: 3px solid var(--purple);
  padding: 20px 24px;
  background: rgba(109, 67, 249, 0.04);
  border-radius: 0 8px 8px 0;
  margin-top: 32px;
}
.callout-box p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.section-dark .callout-box {
  background: rgba(109, 67, 249, 0.06);
}
.section-dark .callout-box p { color: var(--text-dim); }
.section-dark .callout-box strong { color: var(--text-light); }

/* ===== METHODOLOGY COMPARISON ===== */
.methodology { padding: 88px 0; }
.methodology-header {
  text-align: center;
  margin-bottom: 48px;
}
.methodology-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.methodology-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.compare-col {
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid #e8e5f0;
}
.compare-col.muted {
  background: #f5f3f0;
}
.compare-col.highlight {
  background: var(--white);
  border-color: var(--purple);
  box-shadow: 0 4px 24px rgba(109, 67, 249, 0.1);
  opacity: 1;
}
.compare-col-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
}
.compare-col.muted .compare-col-title { border-color: #d4d0de; color: var(--text-secondary); }
.compare-col.highlight .compare-col-title { border-color: var(--purple); color: var(--purple); }

.compare-row {
  margin-bottom: 20px;
}
.compare-row:last-child { margin-bottom: 0; }
.compare-row-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.compare-row-value {
  font-size: 0.88rem;
  line-height: 1.5;
}
.compare-col.muted .compare-row-value { color: var(--text-secondary); }
.compare-col.highlight .compare-row-value { color: var(--text-dark); font-weight: 500; }
.checkmark { color: var(--green); font-weight: 700; }
.xmark { color: var(--red); opacity: 0.5; }

/* ===== PRICING (HOMEPAGE) ===== */
.pricing { padding: 88px 0; }
.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}
.pricing-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.pricing-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid #e8e5f0;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: rgba(109, 67, 249, 0.2);
  box-shadow: 0 8px 32px rgba(109, 67, 249, 0.08);
  transform: translateY(-2px);
}
.pricing-card.recommended {
  border-color: var(--purple);
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(109, 67, 249, 0.12);
}
.pricing-card.recommended::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), #8f3eba);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 10px;
}
.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.pricing-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}
.pricing-founding {
  display: inline-block;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.pricing-post {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-post s { color: var(--red); }
.pricing-card .btn-primary {
  width: 100%;
  justify-content: center;
}
.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== PRICING PAGE SPECIFIC ===== */
.pricing-section { padding: 88px 0; }
.pricing-post-beta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pricing-post-beta s { color: var(--red); }
.pricing-save-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  margin-bottom: 8px;
}
.pricing-actions {
  font-size: 0.82rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e5f0;
}
.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pricing-features li .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-qualifies {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid #e8e5f0;
}
.pricing-card .btn-primary {
  margin-bottom: 10px;
}
.pricing-card-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.pricing-card-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(109, 67, 249, 0.04);
  border: 1px solid rgba(109, 67, 249, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 12px;
  text-align: center;
}

/* ===== COMPOUNDING CURVE ===== */
.curve-section { padding: 88px 0; }
.curve-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.curve-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}
.curve-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.curve-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.curve-phase {
  background: var(--white);
  border: 1px solid #e8e5f0;
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.curve-phase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.curve-phase:nth-child(1)::before { background: var(--purple-light); }
.curve-phase:nth-child(2)::before { background: linear-gradient(90deg, var(--purple), #be3a7c); }
.curve-phase:nth-child(3)::before { background: linear-gradient(90deg, #be3a7c, var(--green)); }
.curve-phase:hover {
  border-color: rgba(109, 67, 249, 0.2);
  box-shadow: 0 8px 32px rgba(109, 67, 249, 0.08);
  transform: translateY(-2px);
}
.curve-phase-time {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.curve-phase-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.curve-phase-tier {
  font-size: 0.78rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 12px;
}
.curve-phase-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.curve-cta {
  text-align: center;
}
.curve-cta .supporting {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

/* ===== ONBOARDING TIMELINE ===== */
.onboarding { padding: 88px 0; }
.onboarding-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.onboarding-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.onboarding-steps {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.onboarding-steps::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--green));
}

.onboarding-step {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  position: relative;
}
.onboarding-step:last-child { margin-bottom: 0; }
.onboarding-time {
  flex-shrink: 0;
  width: 56px;
  text-align: right;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--purple-light);
  padding-top: 2px;
  line-height: 1.4;
}
.onboarding-content {
  flex: 1;
  padding-bottom: 12px;
}
.onboarding-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.onboarding-text {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== TRUST SECTION ===== */
.trust-section { padding: 88px 0; }
.trust-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.trust-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.trust-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid #e8e5f0;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.trust-item:hover {
  border-color: rgba(109, 67, 249, 0.2);
  box-shadow: 0 8px 32px rgba(109, 67, 249, 0.08);
  transform: translateY(-2px);
}
.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.trust-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(109, 67, 249, 0.1) 0%, rgba(34, 197, 94, 0.04) 40%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}
.final-cta .question {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.4;
}
.final-cta .supporting {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.6;
}
.final-cta .fine-print {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.final-cta .tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dim);
  margin-top: 48px;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--void);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(109, 67, 249, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-copy {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding: 16px 40px 0;
  border-top: 1px solid rgba(109, 67, 249, 0.06);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== GRAVEYARD PAGE: GRAVE CARDS ===== */
.old-tactics { padding: 88px 0; }
.old-tactics-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.old-tactics-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}
.old-tactics-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.old-tactics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.grave-card {
  background: var(--white);
  border: 1px solid #e8e5f0;
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.grave-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(237, 59, 62, 0.3));
}
.grave-card:hover {
  border-color: rgba(237, 59, 62, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.grave-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.grave-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.grave-card-dates {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.grave-card-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.grave-card-alt {
  border-left: 3px solid var(--green);
  padding-left: 16px;
}
.grave-card-alt-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.grave-card-alt p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== GRAVEYARD PAGE: MODERN MALPRACTICE ===== */
.modern { padding: 88px 0; }
.modern-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.modern-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}
.modern-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.modern-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  transition: all var(--transition);
  border: 1px solid #e8e5f0;
}
.modern-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.modern-card-dead {
  background: rgba(237, 59, 62, 0.03);
  padding: 36px 32px;
  border-right: 1px solid rgba(237, 59, 62, 0.08);
  position: relative;
}
.modern-card-dead::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

.modern-card-build {
  background: rgba(34, 197, 94, 0.03);
  padding: 36px 32px;
  position: relative;
}
.modern-card-build::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px;
  height: 100%;
  background: var(--green);
}

.modern-card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.modern-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.modern-card-dates {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.modern-card-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modern-card-build-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
  margin-top: 4px;
}
.modern-card-build p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== GRAVEYARD: UNIFYING / COMPARISON SECTIONS ===== */
.unifying { padding: 88px 0; }
.unifying-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.unifying h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}
.unifying p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.unifying strong {
  color: var(--text-dark);
}

.comparison { padding: 88px 0; }
.comparison-header {
  text-align: center;
  margin-bottom: 48px;
}
.comparison-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.comparison-col {
  background: #f5f3f0;
  border: 1px solid #e8e5f0;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.comparison-col-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d4d0de;
}
.comparison-col p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.comparison-callout {
  max-width: 740px;
  margin: 0 auto;
  border-left: 3px solid var(--purple);
  padding: 24px 28px;
  background: rgba(109, 67, 249, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: center;
}
.comparison-callout p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.comparison-callout strong {
  color: var(--purple);
}

/* ===== GRAVEYARD: WHAT COMES NEXT ===== */
.what-next { padding: 88px 0; }
.what-next-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.what-next h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}
.what-next p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}
.what-next .highlight-line {
  font-size: 1.05rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 8px;
}
.what-next .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ===== HOW IT WORKS: ENGINE ROOM ===== */
.engine { padding: 88px 0; }
.engine-header {
  text-align: center;
  margin-bottom: 56px;
}
.engine-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.engine-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.engine-layer {
  margin-bottom: 56px;
}
.engine-layer:last-of-type { margin-bottom: 0; }

.engine-layer-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(109, 67, 249, 0.1);
}

.engine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.engine-card {
  padding: 24px;
  border: 1px solid #e8e5f0;
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition);
}
.engine-card:hover {
  border-color: rgba(109, 67, 249, 0.2);
  box-shadow: 0 4px 20px rgba(109, 67, 249, 0.06);
}
.engine-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.engine-card-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.trust-box {
  margin-top: 48px;
  border-left: 3px solid var(--purple);
  padding: 24px 28px;
  background: rgba(109, 67, 249, 0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.trust-box h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.trust-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== HOW IT WORKS: LIVING CONTENT MAP ===== */
.content-map { padding: 88px 0; }
.content-map-header {
  text-align: center;
  margin-bottom: 48px;
}
.content-map-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.comparison-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e8e5f0;
}

.comparison-side {
  padding: 40px 36px;
}
.comparison-side.muted-side {
  background: #f0ece6;
}
.comparison-side.highlight-side {
  background: var(--white);
  border-left: 3px solid var(--purple);
}

.comparison-side h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
}
.comparison-side.muted-side h3 {
  color: var(--text-muted);
  border-color: #d4d0de;
}
.comparison-side.highlight-side h3 {
  color: var(--purple);
  border-color: var(--purple);
}

.comparison-side ul {
  list-style: none;
  padding: 0;
}
.comparison-side ul li {
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  padding-left: 28px;
}
.comparison-side ul li:last-child { border-bottom: none; }
.comparison-side ul li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 0.9rem;
}
.comparison-side.muted-side ul li {
  color: var(--text-secondary);
}
.comparison-side.muted-side ul li::before {
  content: '\00D7';
  color: var(--red);
  opacity: 0.5;
}
.comparison-side.highlight-side ul li {
  color: var(--text-dark);
  font-weight: 500;
}
.comparison-side.highlight-side ul li::before {
  content: '\2713';
  color: var(--green);
}

/* ===== HOW IT WORKS: STATS RESEARCH ===== */
.research { padding: 88px 0; }
.research-header {
  text-align: center;
  margin-bottom: 48px;
}
.research-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.research-card {
  background: var(--void-surface);
  border: 1px solid rgba(109, 67, 249, 0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}
.research-card:hover {
  border-color: rgba(109, 67, 249, 0.3);
  box-shadow: 0 4px 24px rgba(109, 67, 249, 0.08);
  transform: translateY(-2px);
}
.research-stat {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}
.research-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 12px;
}
.research-source {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== BLOG TEMPLATES ===== */

/* Featured / hero image on single posts — cap height, crop to fill */
.single-post .wp-post-image,
.single-post .post-thumbnail img,
.single-post .wp-block-post-featured-image img,
.single-post .rank-math-featured-image img,
.single-post .entry-content > .wp-block-image:first-child img {
  max-height: 340px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.blog-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 140px 60px 80px;
}
.blog-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}
.blog-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 12px;
}
.blog-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 8px;
}
.blog-content p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.blog-content a {
  color: var(--purple);
  text-decoration: underline;
}
.blog-content a:hover {
  color: var(--purple-light);
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}
.blog-content ul, .blog-content ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-secondary);
}
.blog-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.blog-content blockquote {
  border-left: 3px solid var(--purple);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(109, 67, 249, 0.04);
  border-radius: 0 8px 8px 0;
}
.blog-content blockquote p {
  color: var(--text-dark);
  font-style: italic;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Blog index */
.blog-index {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 40px 80px;
}
.blog-index h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
}
.blog-post-card {
  padding: 24px 0;
  border-bottom: 1px solid #e8e5f0;
}
.blog-post-card:last-child {
  border-bottom: none;
}
.blog-post-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-post-card h2 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-post-card h2 a:hover {
  color: var(--purple);
}
.blog-post-card .excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}
.blog-post-card .meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== 404 PAGE ===== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.page-404 p {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.page-404 .tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dim);
  margin-top: 48px;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ===== SIMPLE PAGE (Privacy/Terms) ===== */
.simple-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 40px 80px;
}
.simple-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
}
.simple-page h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 12px;
}
.simple-page h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 8px;
}
.simple-page p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.simple-page ul, .simple-page ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-secondary);
}
.simple-page li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.simple-page a {
  color: var(--purple);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split, .split-55 { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .curve-phases { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .engine-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Mobile nav handled inline in header template part */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 120px 0 60px; }
  .section-inner { padding: 0 20px; }
  .origin-photo { width: 200px; height: 200px; }
  .timeline-items::before { left: 48px; }
  .comparison-box { grid-template-columns: 1fr; }
  .old-tactics-grid { grid-template-columns: 1fr; }
  .modern-card { grid-template-columns: 1fr; }
  .modern-card-dead { border-right: none; border-bottom: 1px solid rgba(237, 59, 62, 0.08); }
  .comparison-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .comparison-split { grid-template-columns: 1fr; }
  .onboarding-steps::before { left: 48px; }
  .blog-content, .blog-index, .simple-page { padding-left: 20px; padding-right: 20px; }
}

/* ===== CHART MARKER ANIMATION (Item 1) ===== */
.chart-marker-group {
  transform: translateX(-400px);
  transition: transform 2.4s ease-out;
}
.chart-visual.reveal.visible .chart-marker-group {
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .chart-marker-group {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== CHART LINE DRAW ANIMATION (Item 3) ===== */
.chart-visual svg path[stroke] {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2.2s ease-out;
}
.chart-visual.reveal.visible svg path[stroke] {
  stroke-dashoffset: 0;
}
.chart-visual svg rect[fill="url(#redFade)"],
.chart-visual svg rect[fill="url(#purpleFade)"] {
  opacity: 0;
  transition: opacity 1s ease-out 1.8s;
}
.chart-visual.reveal.visible svg rect[fill*="Fade"] {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .chart-visual svg path[stroke] {
    stroke-dashoffset: 0;
    transition: none;
  }
  .chart-visual svg rect[fill*="Fade"] {
    opacity: 1;
    transition: none;
  }
}

/* ===== MICRO-INTERACTIONS (Item 4) ===== */
/* stat-item + alt-card hover lifts (card, btn, pricing-card already have hover rules) */
.stat-item {
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 67, 249, 0.08);
}
.alt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 67, 249, 0.08);
}
/* Secondary button lift */
.btn-secondary:hover {
  transform: translateY(-1px);
}

/* ===== EDITORIAL MEGA TIMELINE STAT (Item 5) ===== */
.timeline-stat-mega {
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
  font-feature-settings: "tnum" 1;
}
