/* ==========================================
   ContentFlow — Brand Stylesheet
   ========================================== */

:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EDE6;
  --fg: #1a1a1a;
  --fg-muted: #6B6B6B;
  --accent: #E85D3B;
  --accent-hover: #D14F30;
  --sage: #8B8B6B;
  --sage-light: #C8C5B8;
  --border: #E2DDD6;
  --card-bg: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::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; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 60px;
}
.section-headline em { font-style: italic; color: var(--accent); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-closing {
  display: inline-block;
  padding: 18px 40px;
  background: var(--fg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn-closing:hover { background: var(--accent); transform: translateY(-2px); }

/* ---- HERO ---- */
.hero {
  padding: 80px 5vw 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-cta-wrap { }
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 60px;
}
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
}
.card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.stats-row {
  display: flex;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.stat-desc {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.platform-badge {
  padding: 8px 16px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}
.hero-ticker {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  font-size: 13px;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-ticker .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage-light);
  flex-shrink: 0;
}

/* ---- HOW ---- */
.how { padding: 120px 5vw; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.step { }
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--fg);
}
.step p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; }

/* ---- MANIFESTO ---- */
.manifesto {
  background: var(--fg);
  color: #fff;
  padding: 120px 5vw;
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
  opacity: 0.9;
}
.manifesto-body p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 20px;
}
.manifesto-body p:first-child {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ---- WHO ---- */
.who { padding: 120px 5vw; background: var(--bg-alt); }
.who-inner { max-width: 1200px; margin: 0 auto; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.who-item {
  padding: 32px 28px;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.who-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.who-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.who-item p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ---- PILLARS ---- */
.pillars { padding: 120px 5vw; }
.pillars-inner { max-width: 1200px; margin: 0 auto; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.pillar {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar:nth-child(3n) { border-right: none; }
.pillar:nth-child(4),
.pillar:nth-child(5),
.pillar:nth-child(6) { border-bottom: none; }
.pillar-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  opacity: 0.5;
  font-style: italic;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg);
}
.pillar p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ---- PROCESS / CYCLE ---- */
.process { padding: 120px 5vw; background: var(--bg-alt); }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-header { margin-bottom: 80px; }
.cycle-wrapper { }
.cycle-steps {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cycle-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.cycle-ring { flex-shrink: 0; }
.cycle-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.cycle-content p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }
.cycle-arrow { flex-shrink: 0; color: var(--sage); }
.cycle-note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.cycle-note p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---- PRICING ---- */
.pricing { padding: 120px 5vw; }
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--accent);
  background: #FEF9F7;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
}
.pricing-card-header { margin-bottom: 28px; }
.pricing-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.pricing-card-header p { font-size: 0.9rem; color: var(--fg-muted); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--fg);
}
.price-period { font-size: 0.95rem; color: var(--fg-muted); }
.pricing-features { margin-bottom: 36px; flex: 1; }
.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.pricing-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: center;
}
.pricing-sample-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pricing-sample-link:hover { color: var(--accent); }

/* ---- CLOSING ---- */
.closing {
  padding: 140px 5vw;
  background: var(--fg);
  color: #fff;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 48px;
  color: #fff;
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 5vw 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--fg);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--fg-muted); }

/* ---- HERO PROOF STATS ---- */
.hero-proof {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.proof-stat { display: flex; flex-direction: column; gap: 4px; }
.proof-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.proof-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- LEAD CAPTURE FORM ---- */
.lead-form-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 40px 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.lead-form-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lead-form-headline {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 10px;
}
.lead-form-sub { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 28px; }

.lead-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-weight: 500; color: var(--fg); letter-spacing: 0.03em; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus { border-color: var(--accent); }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.lead-submit-btn { margin-top: 4px; width: 100%; text-align: center; padding: 14px 20px; font-size: 15px; }
.form-disclaimer { font-size: 11px; color: var(--fg-muted); text-align: center; margin-top: 4px; }

.lead-form-success {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
}
.success-icon {
  width: 56px;
  height: 56px;
  background: #D1FAE5;
  color: #065F46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
}
.success-headline { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 16px; }
.success-body { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 12px; }
.success-note { font-size: 0.85rem; color: var(--sage); }

/* ---- FAQ ---- */
.faq { padding: 120px 5vw; background: var(--bg-alt); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--accent); flex-shrink: 0; }
.faq-q[aria-expanded="true"]::after { content: '−'; }
.faq-a { display: none; padding-bottom: 24px; }
.faq-a p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.75; }

/* ---- CASE STUDIES — "Real work, real businesses" social proof ---- */
.case-studies {
  padding: 96px 6vw;
  background: var(--bg);
}
.case-studies-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.case-studies-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin: 16px 0 56px;
  max-width: 520px;
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cs-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  color: var(--fg);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.cs-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.cs-card-header {
  margin-bottom: 18px;
}
.cs-vertical-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.cs-card-body {
  flex: 1;
}
.cs-business-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.cs-city {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin: 0 0 18px;
}
.cs-excerpt {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 0;
  font-style: italic;
  /* Limit to 4 lines with a graceful fade */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cs-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { padding-top: 0; }
  .hero-headline { font-size: clamp(2.8rem, 10vw, 4rem); }
  .steps-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3n) { border-right: 1px solid var(--border); }
  .pillar:nth-child(2n) { border-right: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cycle-steps { flex-direction: column; align-items: flex-start; }
  .cycle-arrow { transform: rotate(90deg); }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 60px 6vw 0; }
  .who-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none !important; }
  .stats-row { gap: 20px; }
  .stat-num { font-size: 1.8rem; }
  .pricing-card { padding: 32px 24px; }
  .cs-grid { grid-template-columns: 1fr; }
}