/* ============================================================
   ConstructionLeadGeneration.com — shared site stylesheet
   Sister site to BoxBuild.agency
   ============================================================ */

:root {
  /* BoxBuild palette */
  --white: #FFFFFF;
  --orange: #F19A33;
  --orange-deep: #d97f1c;
  --orange-tint: #fff5e6;
  --grey: #404040;
  --grey-soft: #6b6b6b;
  --grey-line: #e6e3dd;
  --grey-bg: #f7f4ee;
  --blue: #00334E;
  --blue-deep: #002438;
  --blue-tint: #e6edf2;

  /* Functional */
  --bg: var(--white);
  --bg-elev: var(--grey-bg);
  --ink: var(--blue);
  --ink-soft: var(--grey);
  --ink-mute: var(--grey-soft);
  --line: var(--grey-line);
  --accent: var(--orange);
  --accent-deep: var(--orange-deep);
  --grid: rgba(0, 51, 78, 0.05);
  --maxw: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--blue); }
a { color: inherit; text-decoration: none; }

.mono { font-family: 'JetBrains Mono', monospace; font-weight: 500; letter-spacing: -0.01em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ TOP BAR ============ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: 15px; letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 32px; height: 32px;
  background-image: url('favicon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.brand-name { text-transform: uppercase; }
.brand-name .dot { color: var(--accent); }

.top-meta {
  display: flex; align-items: center; gap: 24px;
  font-size: 12px; color: var(--ink-mute);
}
.status-dot {
  display: inline-block; width: 7px; height: 7px;
  background: #16a34a; border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.5; } }

.top-cta {
  background: var(--ink); color: var(--white);
  padding: 10px 18px;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.15s;
  border-radius: 2px;
}
.top-cta:hover { background: var(--accent); color: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 110px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 7px 14px;
  margin-bottom: 32px;
  font-weight: 500;
}
.hero-tag .bar { width: 18px; height: 1px; background: var(--accent); }

.hero-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero-headline em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-headline .strike {
  position: relative;
  color: var(--ink-mute);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-headline .strike::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: 3px;
  background: var(--accent);
  transform: rotate(-2deg);
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.6;
  margin-bottom: 44px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-cta-row {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--white);
  padding: 18px 28px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s, background 0.15s;
  border-radius: 2px;
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-orange {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: var(--ink);
  padding: 18px 28px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s, background 0.15s;
  border-radius: 2px;
}
.btn-orange:hover { background: var(--accent-deep); color: var(--white); transform: translateY(-1px); }
.btn-orange .arrow { transition: transform 0.2s; }
.btn-orange:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); padding: 18px 4px;
  font-weight: 500; font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 720px;
}
.stat-num {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stat-num .unit { color: var(--accent); }
.stat-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 10px;
}

/* ============ MARQUEE ============ */
.marquee {
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 56px;
}
.marquee-item::after { content: '✕'; color: var(--accent); }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============ SECTION COMMON ============ */
section { padding: 110px 0; border-bottom: 1px solid var(--line); }

.section-label {
  display: flex; align-items: center; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.section-label .num { color: var(--accent); }
.section-label .line { flex: 0 0 40px; height: 1px; background: var(--line); }

.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 28px;
  color: var(--ink);
}
.section-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-intro {
  font-size: 18px; color: var(--ink-soft);
  max-width: 60ch; line-height: 1.6;
}

/* ============ PROBLEM SECTION ============ */
.problem-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.problem-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 36px;
  position: relative;
  transition: background 0.2s;
  background: var(--bg);
}
.problem-card:hover { background: var(--bg-elev); }
.problem-card .pnum {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent-deep);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}
.problem-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--ink);
}
.problem-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.problem-callout {
  margin-top: 80px;
  padding: 48px;
  border: 1px solid var(--accent);
  display: flex;
  gap: 40px;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--orange-tint), transparent);
}
.problem-callout::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border: 1px dashed var(--accent);
  opacity: 0.4;
  pointer-events: none;
  transform: translate(8px, 8px);
}
.callout-mark {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 80px;
  color: var(--accent);
  line-height: 0.8;
  flex-shrink: 0;
}
.callout-text {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}
.callout-text strong { color: var(--accent-deep); }

/* ============ SOLUTION SECTION ============ */
.solution-wrap { background: var(--bg-elev); }

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.solution-pillars {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent-deep);
  padding-top: 4px;
}
.pillar h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--ink);
}
.pillar p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============ PROCESS / HOW IT WORKS ============ */
.process-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
.process-step {
  border-right: 1px solid var(--line);
  padding: 36px 28px 44px;
  position: relative;
  background: var(--bg);
}
.step-marker {
  display: flex; align-items: baseline; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}
.step-marker .step-n {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step-marker .step-of {
  color: var(--ink-mute);
  font-size: 12px;
  margin-left: -4px;
  align-self: end;
  margin-bottom: 8px;
}
.process-step h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--ink);
}
.process-step p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.process-step .deliverable {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.process-step .deliverable span { color: var(--ink); }

/* ============ PROOF SECTION ============ */
.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-top: 72px;
  align-items: center;
}
.proof-points { display: flex; flex-direction: column; gap: 24px; }
.proof-point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.proof-point:last-child { border-bottom: none; }
.proof-check {
  width: 28px; height: 28px;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.proof-check svg { width: 14px; height: 14px; }
.proof-point h4 {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.proof-point p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.proof-card {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding: 40px 36px;
  position: relative;
  border-radius: 2px;
}
.proof-card::before {
  content: 'BUILT FOR';
  position: absolute;
  top: -10px; left: 28px;
  background: var(--bg);
  padding: 0 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: 0.15em;
}
.proof-card h3 { color: var(--white) !important; }
.proof-card .proof-card-sub { color: rgba(255, 255, 255, 0.7); }
.proof-list {
  list-style: none;
  margin-top: 8px;
}
.proof-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  color: var(--white);
}
.proof-list li:last-child { border-bottom: none; }
.proof-list .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  width: 28px;
}

/* ============ OFFER ============ */
.offer-section {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom-color: var(--blue-deep);
}
.offer-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.offer-section .section-label { color: rgba(255, 255, 255, 0.6); }
.offer-section .section-label .line { background: rgba(255, 255, 255, 0.2); }

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.offer-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--white);
}
.offer-headline em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.offer-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 50ch;
}

.offer-card {
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--white);
  padding: 40px;
  position: relative;
  border-radius: 2px;
}
.offer-card-tag {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--accent);
  color: var(--ink);
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.offer-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.offer-card .subtitle {
  color: var(--accent-deep);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.offer-includes {
  list-style: none;
  margin-bottom: 32px;
}
.offer-includes li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.offer-includes li::before {
  content: '+';
  color: var(--accent-deep);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: -1px;
}
.offer-meta {
  display: flex; gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.offer-meta-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.offer-meta-item strong { color: var(--ink); display: block; margin-top: 2px; font-size: 14px; }

.btn-block {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--accent); color: var(--ink);
  padding: 20px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: 100%;
  transition: background 0.15s, color 0.15s;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-block:hover { background: var(--accent-deep); color: var(--white); }

/* ============ FAQ ============ */
.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none; border: none;
  padding: 32px 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.3;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-deep); }
.faq-q .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent-deep);
  font-weight: 500;
  flex-shrink: 0;
  width: 40px;
  padding-top: 8px;
  letter-spacing: 0.05em;
}
.faq-q .q-text { flex: 1; }
.faq-q .icon {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  transition: transform 0.3s, background 0.2s, border-color 0.2s;
  position: relative;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.faq-q .icon::before { width: 12px; height: 1.5px; }
.faq-q .icon::after { width: 1.5px; height: 12px; transition: transform 0.3s; }
.faq-item.open .faq-q .icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-q .icon::before, .faq-item.open .faq-q .icon::after { background: var(--ink); }
.faq-item.open .faq-q .icon::after { transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 0 32px 40px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 70ch;
}

/* FAQ category headers (used on /faq page) */
.faq-cat-header {
  margin-top: 56px;
  margin-bottom: 0;
  padding: 24px 0 16px;
  border-bottom: 2px solid var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.faq-cat-header:first-of-type { margin-top: 0; }

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 140px 0;
  background: var(--accent);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 51, 78, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 51, 78, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.final-cta-content {
  position: relative;
  text-align: center;
  max-width: 26ch;
  margin: 0 auto;
}
.final-cta h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--ink);
}
.final-cta h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
}
.final-cta p {
  font-size: 18px;
  margin-bottom: 44px;
  font-weight: 500;
  max-width: 50ch;
  margin-left: auto; margin-right: auto;
  color: var(--ink);
  line-height: 1.55;
}
.btn-inverse {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--white);
  padding: 22px 36px;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s;
  border-radius: 2px;
}
.btn-inverse:hover { background: var(--blue-deep); }

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-brand .brand { font-size: 17px; margin-bottom: 16px; color: var(--white); }
.foot-brand .brand .brand-name { color: var(--white); }
.foot-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  max-width: 38ch;
  line-height: 1.6;
}
.foot-brand .sister-link {
  display: inline-block;
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(241, 154, 51, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.foot-brand .sister-link:hover { border-color: var(--accent); }
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.foot-col ul { list-style: none; }
.foot-col li {
  padding: 6px 0;
  font-size: 14.5px;
}
.foot-col li a { color: rgba(255, 255, 255, 0.7); transition: color 0.15s; }
.foot-col li a:hover { color: var(--accent); }

.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}
.foot-base a { color: rgba(255, 255, 255, 0.7); }
.foot-base a:hover { color: var(--accent); }

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 99;
  padding: 16px;
  background: var(--accent);
  color: var(--ink);
  text-align: center;
  font-weight: 700; font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 40px rgba(0, 51, 78, 0.25);
  border-radius: 2px;
}

/* ============ ARTICLE / SEO PAGE STYLES ============ */
.article-hero {
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.article-hero .crumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.article-hero .crumbs a { color: var(--ink-mute); }
.article-hero .crumbs a:hover { color: var(--accent-deep); }
.article-hero .crumbs .sep { color: var(--accent); margin: 0 10px; }
.article-hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin-bottom: 28px;
  color: var(--ink);
}
.article-hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.article-hero .lede {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6;
}

.article-body {
  padding: 80px 0;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}
.article-content {
  max-width: 68ch;
}
.article-content h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.025em;
  margin-top: 48px;
  margin-bottom: 18px;
  line-height: 1.15;
  color: var(--ink);
}
.article-content h2:first-child { margin-top: 0; }
.article-content h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.article-content h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.018em;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--ink);
}
.article-content p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--ink-soft);
}
.article-content p strong { color: var(--ink); font-weight: 600; }
.article-content ul, .article-content ol {
  margin: 18px 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.article-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.article-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-deep);
  font-weight: 700;
}
.article-content ol { counter-reset: ol-counter; }
.article-content ol li {
  counter-increment: ol-counter;
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.article-content ol li::before {
  content: counter(ol-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 13px;
  top: 4px;
}

.article-callout {
  margin: 32px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--orange-tint);
}
.article-callout p { color: var(--ink); margin-bottom: 0; font-size: 16px; line-height: 1.6; }
.article-callout p:not(:last-child) { margin-bottom: 12px; }

.article-aside {
  position: sticky;
  top: 92px;
}
.aside-card {
  background: var(--ink);
  color: var(--white);
  padding: 28px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.aside-card h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--white);
}
.aside-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin-bottom: 18px;
}
.aside-card .btn-block { font-size: 13px; padding: 14px; }
.aside-related h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.aside-related ul { list-style: none; }
.aside-related li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.aside-related li:last-child { border-bottom: none; }
.aside-related a {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  transition: color 0.15s;
}
.aside-related a:hover { color: var(--accent-deep); }
.aside-related a span { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(1), .process-step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .solution-content, .proof-grid, .offer-grid { grid-template-columns: 1fr; gap: 56px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; margin-top: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  section { padding: 80px 0; }
  .hero, .article-hero { padding: 64px 0 80px; }
  .top-meta { display: none; }
  .container { padding: 0 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-bottom: 1px solid var(--line); }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .problem-callout { flex-direction: column; gap: 20px; padding: 32px 24px; align-items: flex-start; }
  .callout-mark { font-size: 56px; }
  .offer-card, .proof-card { padding: 28px 22px; }
  .offer-meta { flex-direction: column; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-brand { grid-column: span 1; }
  .foot-base { flex-direction: column; gap: 14px; text-align: center; }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .final-cta { padding: 90px 0; }
  .article-body { padding: 56px 0; }
  .article-content h2 { margin-top: 36px; }
}
