/* ============================================
   ContentForge — Custom Stylesheet
   ============================================ */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EDE6;
  --fg: #0D0D0D;
  --fg-muted: #6B6660;
  --accent: #FF4D00;
  --accent-hover: #E64400;
  --border: #D9D3CA;
  --card-bg: #FFFFFF;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ──────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}

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

.wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--fg);
}

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

/* ── HERO ────────────────────────────────── */

.hero {
  padding: 96px 48px 80px;
}

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

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}

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

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Hero visual — output stack */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.output-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 360px;
}

.output-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.output-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.output-preview {
  border-radius: 8px;
  overflow: hidden;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ad mock */
.ad-mock {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  min-height: 80px;
}

.ad-headline {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ad-cta {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Photo mock */
.photo-mock {
  background: #EDE8E0;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.photo-placeholder span {
  font-size: 11px;
  color: var(--fg-muted);
}

/* Video mock */
.video-mock {
  background: #1a1a2e;
}

.video-play {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

/* Post mock */
.post-mock {
  background: var(--card-bg);
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  align-items: flex-start;
}

.post-bar {
  height: 8px;
  width: 100%;
  background: #EDE8E0;
  border-radius: 4px;
}

.post-bar--short { width: 65%; }
.post-bar--medium { width: 85%; }

/* ── SECTION LABELS ──────────────────────── */

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

/* ── OUTPUTS SECTION ─────────────────────── */

.outputs {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.outputs-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.output-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.output-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.output-item h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.output-item p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── PROCESS SECTION ─────────────────────── */

.process {
  padding: 96px 48px;
  background: var(--fg);
  color: var(--bg);
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process .section-label {
  color: var(--accent);
}

.process-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--bg);
  margin-bottom: 64px;
  max-width: 600px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}

.step:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  font-style: italic;
}

.step-body h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 12px;
}

.step-body p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 560px;
}

/* ── OBJECTION SECTION ───────────────────── */

.objection {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
}

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

.objection-block {
  padding: 0 40px;
}

.objection-block:first-child {
  padding-left: 0;
}

.objection-block:last-child {
  padding-right: 0;
}

.objection-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.objection-response {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.objection-block--highlight {
  background: var(--fg);
  border-radius: 16px;
  padding: 32px 40px;
}

.objection-block--highlight .objection-text {
  color: rgba(255,255,255,0.6);
}

.objection-block--highlight .objection-response {
  color: rgba(255,255,255,0.75);
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
}

.vs-divider span {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--border);
}

/* ── CLOSING SECTION ──────────────────────── */

.closing {
  padding: 96px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 48px;
}

.closing-statement {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.closing-statement p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ── FOOTER ──────────────────────────────── */

.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding: 64px 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .wordmark {
  color: var(--bg);
  font-size: 20px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.footer-col span:not(.footer-col-label) {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 768px) {
  .site-header {
    padding: 0 24px;
  }

  .hero {
    padding: 64px 24px 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .output-stack {
    max-width: 100%;
  }

  .hero-headline {
    font-size: 48px;
    letter-spacing: -1px;
  }

  .output-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .process {
    padding: 64px 24px;
  }

  .step {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .step-num {
    font-size: 36px;
  }

  .objection-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .objection-block {
    padding: 0;
  }

  .vs-divider {
    display: none;
  }

  .objection-block--highlight {
    padding: 24px;
  }

  .outputs,
  .closing {
    padding: 64px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .output-grid {
    grid-template-columns: 1fr;
  }

  .tagline {
    display: none;
  }
}