/* ============================================================
   FAMBF Landing Page · Stylesheet
   Built on brand system v1.1
   ============================================================ */

:root {
  /* Brand colors */
  --midnight: #0A1628;
  --midnight-2: #15243B;
  --midnight-3: #1F324C;
  --bull: #16A34A;
  --bull-soft: #DCFCE7;
  --bull-deep: #15803D;
  --danger: #DC2626;
  --danger-soft: #FEE2E2;
  --warning: #F59E0B;
  --slate: #475569;
  --slate-light: #64748B;
  --stone: #94A3B8;
  --line: #E2E8F0;
  --line-soft: #F1F5F9;
  --bg: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-warm: #FAFAF9;

  /* Type scale */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing rhythm */
  --container-max: 1180px;
}

/* ============================================================
   BASE
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--midnight);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 22px; }
.nav-logo-text {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.5px;
  color: var(--midnight);
}
.nav-logo-text .g { color: var(--bull); }

.nav-links {
  display: none;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  margin-left: auto;
}
.nav-links a {
  color: var(--slate);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--midnight); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.lang-switcher a {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--stone);
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-switcher a:hover { color: var(--midnight); }
.lang-switcher a.active {
  background: var(--midnight);
  color: white;
}

.nav-cta {
  background: var(--midnight);
  color: white;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--midnight-2); }

/* Mobile-specific: shorten CTA text */
.nav-cta .nav-cta-long { display: none; }
.nav-cta .nav-cta-short { display: inline; }

@media (min-width: 640px) {
  .nav-cta .nav-cta-long { display: inline; }
  .nav-cta .nav-cta-short { display: none; }
}

@media (min-width: 900px) {
  .nav-inner { padding: 18px 48px; gap: 24px; }
  .nav-links { display: flex; margin-left: 16px; margin-right: auto; }
  .nav-right { margin-left: 0; }
}

@media (max-width: 400px) {
  .lang-switcher { padding: 2px; }
  .lang-switcher a { padding: 4px 6px; font-size: 10px; }
  .nav-logo-text { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
  letter-spacing: -0.1px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--midnight);
  color: white;
}
.btn-primary:hover { background: var(--midnight-2); }

.btn-secondary {
  background: white;
  color: var(--midnight);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--stone); }

.btn-large { padding: 18px 32px; font-size: 17px; border-radius: 12px; }

.btn-arrow::after {
  content: '→';
  transition: transform 0.15s ease;
  font-weight: 400;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================================
   SECTIONS
   ============================================================ */

section { padding: 96px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

section.dark {
  background: var(--midnight);
  color: white;
}
section.subtle { background: var(--bg-subtle); }
section.warm { background: var(--bg-warm); }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bull);
  padding: 6px 12px;
  background: var(--bull-soft);
  border-radius: 999px;
  margin-bottom: 24px;
}
.dark .eyebrow {
  background: rgba(22, 163, 74, 0.15);
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 760px;
}
.section-title .g { color: var(--bull); }

.section-lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--slate);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 0 48px;
}
.dark .section-lede { color: var(--stone); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 900px 400px at 85% 15%, rgba(22, 163, 74, 0.06), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.02;
  margin: 0 0 28px;
  color: var(--midnight);
}
.hero h1 .g { color: var(--bull); }

.hero .lede {
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  font-size: 13px;
  color: var(--slate);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-item::before {
  content: '✓';
  color: var(--bull);
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-mock {
  background: var(--midnight);
  border-radius: 14px;
  padding: 16px;
  box-shadow:
    0 30px 60px -25px rgba(10, 22, 40, 0.35),
    0 12px 24px -12px rgba(10, 22, 40, 0.15);
  border: 1px solid var(--midnight-3);
}

.hero-mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--midnight-3);
}
.hero-mock-header .dot { width: 9px; height: 9px; border-radius: 50%; }
.hero-mock-header .r { background: #FF5F57; }
.hero-mock-header .y { background: #FEBC2E; }
.hero-mock-header .gn { background: #28C840; }
.hero-mock-header .url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone);
}

.hero-mock-body {
  padding: 12px;
}
.hero-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--midnight-3);
  font-size: 12px;
}
.hero-mock-row:last-child { border-bottom: none; }
.hero-mock-row .label { color: var(--stone); font-weight: 500; }
.hero-mock-row .value {
  font-family: var(--font-mono);
  color: white;
  font-weight: 600;
}
.hero-mock-row .value.ok { color: var(--bull); }
.hero-mock-row .value.danger { color: var(--danger); }

.hero-mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 163, 74, 0.15);
  color: var(--bull);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.hero-mock-pill .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bull);
}

.hero-mock-kill {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: var(--danger);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   PROBLEM
   ============================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 56px;
}
@media (min-width: 700px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
}

.problem-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  transition: border-color 0.15s ease;
}
.problem-card:hover { border-color: var(--stone); }

.problem-card .num {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  color: white;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
}
.problem-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.problem-card p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   FRAMEWORK (What FAMBF Does)
   ============================================================ */

.framework {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px) {
  .framework { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

.framework-step {
  background: var(--midnight-2);
  border: 1px solid var(--midnight-3);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.framework-step:hover {
  transform: translateY(-3px);
  border-color: var(--bull);
}

.framework-step .step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--bull);
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.framework-step h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.framework-step p {
  margin: 0;
  font-size: 13px;
  color: var(--stone);
  line-height: 1.55;
}

/* ============================================================
   ANTI-POSITIONING (What FAMBF doesn't do)
   ============================================================ */

.anti-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) {
  .anti-grid { grid-template-columns: 1fr 1fr; }
}

.anti-card {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--danger);
  border-radius: 10px;
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.anti-card .x {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-top: 2px;
}
.anti-card .body {
  flex: 1;
}
.anti-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.anti-card p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

.anti-quote {
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--midnight);
  font-weight: 500;
  letter-spacing: -0.2px;
}
.anti-quote .signature {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate);
  font-weight: 500;
}

/* ============================================================
   CHECKLIST (lead magnet)
   ============================================================ */

.checklist-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}
@media (min-width: 800px) {
  .checklist-block { grid-template-columns: 1fr 1.4fr; padding: 56px 64px; }
}

.checklist-cover {
  background: var(--midnight);
  border-radius: 12px;
  padding: 32px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 40px -20px rgba(10, 22, 40, 0.4),
    0 8px 16px -8px rgba(10, 22, 40, 0.18);
}
.checklist-cover::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.25), transparent 70%);
}
.checklist-cover-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: var(--bull);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}
.checklist-cover-title {
  font-size: 28px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 16px 0 0;
  position: relative;
}
.checklist-cover-meta {
  font-size: 11px;
  color: var(--stone);
  font-family: var(--font-mono);
  position: relative;
}

.checklist-info h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.checklist-info p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 24px;
}
.checklist-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.checklist-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.checklist-meta-item .dot {
  width: 6px; height: 6px;
  background: var(--bull);
  border-radius: 50%;
}

/* ============================================================
   FOUNDER STORY
   ============================================================ */

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 56px;
}
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: 340px 1fr; gap: 72px; }
}

/* Founder card: portrait + name + title, a cohesive unit */
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .founder-card {
    align-items: flex-start;
    text-align: left;
    position: sticky;
    top: 96px;
  }
}

.founder-avatar {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--midnight);
  box-shadow:
    0 30px 60px -24px rgba(10, 22, 40, 0.32),
    0 10px 22px -12px rgba(10, 22, 40, 0.16);
}
@media (min-width: 900px) {
  .founder-avatar { max-width: 340px; }
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Bull-green brand accent on the portrait */
.founder-avatar::after {
  content: '';
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 48px;
  height: 5px;
  background: var(--bull);
  border-radius: 3px;
}

.founder-card h3 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 26px 0 8px;
  line-height: 1.15;
}
.founder-title {
  font-size: 13.5px;
  color: var(--slate);
  letter-spacing: 0.2px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  max-width: 340px;
}

.founder-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--line);
}
.founder-timeline li {
  position: relative;
  padding: 0 0 28px 24px;
}
.founder-timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px; height: 12px;
  background: white;
  border: 2px solid var(--midnight);
  border-radius: 50%;
}
.founder-timeline li.accent::before { border-color: var(--bull); background: var(--bull); }
.founder-timeline li .year {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  display: block;
  margin-bottom: 4px;
}
.founder-timeline li .event {
  font-size: 15px;
  color: var(--midnight);
  line-height: 1.5;
}

/* ============================================================
   SERVICES / PRICING
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 56px;
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover {
  border-color: var(--midnight);
  transform: translateY(-3px);
}
.service-card.featured {
  border-color: var(--midnight);
  background: var(--midnight);
  color: white;
}
.service-card.featured .service-price { color: var(--bull); }
.service-card.featured .service-desc { color: var(--stone); }
.service-card.featured .service-includes li { color: rgba(255,255,255,0.85); }
.service-card.featured .service-includes li::before { color: var(--bull); }

.service-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--bull);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(22, 163, 74, 0.15);
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}

.service-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.service-desc {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.service-price {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 4px;
}
.service-price-note {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 28px;
}
.service-card.featured .service-price-note { color: var(--stone); }
.service-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.service-includes li {
  padding: 7px 0 7px 24px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
  position: relative;
}
.service-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--bull);
  font-weight: 700;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--midnight);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease;
}
.service-cta:hover { background: var(--midnight-2); }
.service-card.featured .service-cta {
  background: var(--bull);
}
.service-card.featured .service-cta:hover { background: var(--bull-deep); }

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  margin-top: 56px;
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--midnight);
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--bg-subtle);
  color: var(--midnight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.15s ease, background 0.15s ease;
}
.faq-item[open] .faq-question::after {
  content: '−';
  background: var(--midnight);
  color: white;
}

.faq-answer {
  margin-top: 16px;
  font-size: 16px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 720px;
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   CONTACT (final CTA)
   ============================================================ */

.contact-cta {
  text-align: center;
  padding: 80px 24px;
  background: radial-gradient(ellipse 600px 300px at 50% 100%, rgba(22, 163, 74, 0.2), transparent 60%), var(--midnight);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.contact-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 20px;
  color: white;
}
.contact-cta h2 .g { color: var(--bull); }
.contact-cta p {
  font-size: 18px;
  color: var(--stone);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.contact-cta .btn-primary {
  background: var(--bull);
  color: white;
}
.contact-cta .btn-primary:hover { background: var(--bull-deep); }
.contact-cta .alt {
  margin-top: 28px;
  font-size: 13px;
  color: var(--stone);
}
.contact-cta .alt a {
  color: white;
  text-decoration: underline;
  text-decoration-color: var(--bull);
  text-underline-offset: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--bg-warm);
  color: var(--slate);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p {
  max-width: 320px;
  line-height: 1.55;
  margin: 0;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--midnight);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { transition: color 0.15s ease; }
.footer-col a:hover { color: var(--midnight); }

.footer-meta {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--stone);
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-mono { font-family: var(--font-mono); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   ANIMATIONS — subtle, professional, restrained
   ============================================================ */

/* Scroll-triggered fade-in for sections */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* Pulsing dot animation for "SYSTEM RUNNING" indicator */
.hero-mock-pill .pulse {
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

/* "Last updated" feel — gentle change indicator on the mock */
.hero-mock-row .value.ok {
  position: relative;
}

/* ============================================================
   MOBILE-SPECIFIC FIXES
   ============================================================ */

@media (max-width: 600px) {
  /* Hero — tighter headline */
  .hero { padding: 64px 0 56px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero .lede { font-size: 16px; }
  .hero-ctas .btn-large { padding: 14px 22px; font-size: 14px; width: 100%; justify-content: center; }
  .hero-trust { gap: 16px 24px; font-size: 12px; }

  /* Hero mockup — compact on mobile */
  .hero-mock { padding: 12px; }
  .hero-mock-body { padding: 8px; }
  .hero-mock-row { font-size: 11px; padding: 6px 0; }
  .hero-mock-row .label { font-size: 11px; }
  .hero-mock-row .value { font-size: 11px; }

  /* Problem cards */
  .problem-card { padding: 24px; }
  .problem-card h3 { font-size: 17px; }
  .problem-card p { font-size: 14px; }

  /* Framework — stack with breathing room */
  .framework-step { padding: 24px 20px; }

  /* Anti-positioning */
  .anti-card { padding: 20px 22px; }
  .anti-quote { padding: 24px 22px; font-size: 16px; }

  /* Checklist */
  .checklist-block { padding: 32px 24px; }
  .checklist-cover { padding: 24px; }
  .checklist-cover-title { font-size: 22px; }

  /* Founder portrait — centered, capped on mobile */
  .founder-avatar { max-width: 240px; margin: 0 auto; }

  /* Services — featured stays visually prominent */
  .service-card { padding: 28px; }
  .service-card.featured {
    order: -1;
    box-shadow: 0 12px 28px -12px rgba(10,22,40,0.18);
  }

  /* FAQ */
  .faq-question { font-size: 16px; gap: 16px; }
  .faq-answer { font-size: 15px; }

  /* Contact */
  .contact-cta { padding: 56px 24px; }
  .contact-cta .btn-large { padding: 14px 22px; font-size: 14px; }

  /* Footer */
  .footer { padding: 48px 0 36px; }
  .footer-grid { gap: 32px; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .nav-links { display: none !important; }
  .container { padding: 0 20px; }
  .section-title { font-size: 28px; }
  .hero h1 { font-size: 36px; }
}
