/* =========================================
   ContentSpoke — Custom Landing Page Theme
   ========================================= */

/* Fonts */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* Color Tokens */
:root {
  --bg: #f5f0e8;
  --fg: #1a2a1f;
  --green: #1a4a3a;
  --green-mid: #2d6352;
  --amber: #d4a843;
  --amber-dark: #b8912e;
  --white: #ffffff;
  --text-secondary: #4a5a52;
  --border: #d4cdc4;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.03em;
}

.nav-tagline {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* === HERO === */
.hero {
  padding: 6rem 3rem 5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

.hero-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  color: var(--green);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 48ch;
}

/* Flow Diagram */
.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flow-source {
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.flow-source-icon {
  width: 52px;
  height: 52px;
  background: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.flow-source-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
}

.flow-source-type {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.flow-arrows {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.flow-arrow-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--green) 0%, var(--green-mid) 50%, var(--amber) 100%);
  border-radius: 2px;
}

.flow-arrow-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  width: 100%;
  justify-content: space-around;
  padding: 0 1rem;
}

.flow-arrows {
  position: relative;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.3s; }
.dot-3 { animation-delay: 0.6s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.flow-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.flow-output {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-output:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 74, 58, 0.1);
}

.output-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.output-icon.si { background: #e8f4f0; color: var(--green); }
.output-icon.vi { background: #fdf3e8; color: #c47a1a; }
.output-icon.bi { background: #eef0fb; color: #4a5fa8; }
.output-icon.em { background: #f5eef8; color: #7a4aa8; }
.output-icon.gb { background: #fdf8e8; color: var(--amber-dark); }

.output-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.3;
}

/* === SECTIONS (shared) === */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--green);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.7;
}

/* === OUTPUTS === */
.outputs {
  padding: 5rem 3rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.outputs .section-sub {
  margin-bottom: 3rem;
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.output-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.output-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}

.output-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.output-card-icon.si { background: #e8f4f0; color: var(--green); }
.output-card-icon.vi { background: #fdf3e8; color: #c47a1a; }
.output-card-icon.bi { background: #eef0fb; color: #4a5fa8; }
.output-card-icon.em { background: #f5eef8; color: #7a4aa8; }
.output-card-icon.gb { background: #fdf8e8; color: var(--amber-dark); }

.output-card h3 {
  font-size: 1.1875rem;
  color: var(--green);
  margin-bottom: 0.625rem;
  font-weight: 600;
}

.output-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === PROCESS === */
.process {
  padding: 5rem 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

.process .section-title {
  margin-bottom: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  padding-top: 0.25rem;
}

.step h3 {
  font-size: 1.0625rem;
  color: var(--green);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === PRICING === */
.pricing {
  padding: 5rem 3rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.pricing .section-sub {
  margin-bottom: 3rem;
}

.pricing-card {
  max-width: 560px;
  border: 2px solid var(--green);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.pricing-header {
  background: var(--green);
  padding: 2.5rem;
  color: var(--white);
}

.pricing-name {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pricing-price span {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.8;
}

.pricing-tag {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.pricing-includes {
  list-style: none;
  padding: 2rem 2.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pricing-includes li {
  font-size: 0.9375rem;
  color: var(--fg);
  padding-left: 1.75rem;
  position: relative;
}

.pricing-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231a4a3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  font-style: italic;
}

.pricing-proof {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.proof-stat {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  max-width: 18ch;
  line-height: 1.4;
}

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

/* === MANIFESTO === */
.manifesto {
  padding: 5rem 3rem;
  background: var(--green);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  color: var(--white);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 2rem;
}

.manifesto-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.manifesto-body em {
  color: var(--white);
  font-style: normal;
  font-weight: 500;
}

/* === CLOSING === */
.closing {
  padding: 5rem 3rem;
  background: var(--bg);
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--green);
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.closing-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 65ch;
}

.closing-vision {
  border-left: 4px solid var(--amber);
  padding-left: 1.75rem;
}

.closing-vision p {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--fg);
  font-style: italic;
  line-height: 1.6;
}

/* === FOOTER === */
.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--amber);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* === NAV CTA === */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }

/* === SOCIAL PROOF === */
.social-proof {
  padding: 5rem 3rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.social-proof-inner { max-width: 1200px; margin: 0 auto; }

.sp-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.sp-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--green);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sp-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.sp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.sp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.sp-card:hover { border-color: var(--green-mid); transform: translateY(-2px); }
.sp-card-featured { background: var(--green); border-color: var(--green); }

.sp-quote {
  font-size: 0.9375rem;
  color: var(--fg);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.sp-quote-mark {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber);
  line-height: 0;
  vertical-align: -0.6rem;
  display: inline-block;
  margin-right: 0.125rem;
}
.sp-attribution { display: flex; align-items: center; gap: 0.875rem; }
.sp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-name { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.sp-role { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 0.125rem; }

.sp-featured-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); font-weight: 600; margin-bottom: 0.75rem; }
.sp-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.sp-featured-copy { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; font-style: italic; }

.sp-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.sp-stat { text-align: center; flex: 1; }
.sp-stat-num { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 0.5rem; }
.sp-stat-label { font-size: 0.8125rem; color: var(--text-secondary); max-width: 22ch; margin: 0 auto; line-height: 1.4; }
.sp-stat-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }

/* === PRICING TIERS === */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pricing-tier {
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.2s;
}
.pricing-tier:hover { border-color: var(--green-mid); }
.pricing-tier--featured { border-color: var(--green); background: var(--white); }

.pt-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--amber);
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 8px 8px;
}
.pt-name { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); font-weight: 600; margin-bottom: 0.75rem; }
.pt-price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 0.5rem; }
.pt-price span { font-size: 1.25rem; font-weight: 400; opacity: 0.8; }
.pt-tag { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.5; }

.pt-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.pt-includes li {
  font-size: 0.9375rem;
  color: var(--fg);
  padding-left: 1.75rem;
  position: relative;
}
.pt-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a4a3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.pricing-tier--featured .pt-includes li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a4a3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.pt-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

/* === CLOSING CTA BLOCK === */
.closing-cta-block {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.cta-price-line {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.cta-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.cta-primary-block {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  position: relative;
  transition: border-color 0.2s;
}
.cta-primary-block:hover { border-color: var(--green-mid); }
.cta-primary-block--featured { border-color: var(--green); }
.cta-plan-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--amber);
  color: var(--fg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 0 0 6px 6px;
}
.cta-plan-name { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); font-weight: 600; margin-bottom: 0.5rem; }
.cta-plan-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 0.5rem; }
.cta-plan-price span { font-size: 1rem; font-weight: 400; opacity: 0.8; }
.cta-plan-detail { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.4; }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 1rem;
}
.cta-button:hover { background: var(--green-mid); transform: translateY(-2px); }
.cta-button:active { transform: translateY(0); }
.cta-subtext { font-size: 0.8125rem; color: var(--text-secondary); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-left { text-align: left; }
  .hero-right { max-width: 540px; }
  .outputs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1.25rem 1.5rem;
  }
  .nav-tagline { display: none; }
  .hero {
    padding: 3.5rem 1.5rem 3rem;
  }
  .outputs, .process, .social-proof, .pricing, .manifesto, .closing {
    padding: 3.5rem 1.5rem;
  }
  .outputs-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pricing-proof, .sp-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .proof-divider, .sp-stat-divider {
    width: 60px;
    height: 1px;
  }
  .footer {
    padding: 2rem 1.5rem;
  }
  .sp-cards {
    grid-template-columns: 1fr;
  }
  .pricing-tiers {
    grid-template-columns: 1fr;
  }
  .cta-blocks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .flow-outputs {
    grid-template-columns: 1fr;
  }
  .flow-source {
    flex-wrap: wrap;
  }
}