:root {
  /* Authentic Thryve brand */
  --navy: #1a1a4a;
  --navy-2: #2a2a5e;
  --navy-deep: #0f0f33;
  --magenta: #d83078;
  --magenta-deep: #b62461;
  --plum: #a81890;
  --violet: #6048c0;
  --peach: #f5c060;
  --peach-deep: #e6a847;
  --green: #2abf8f;

  /* Surfaces */
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #2a2a4e;
  --muted: #6b6b8a;
  --line: #e8e4d8;
  --line-dark: rgba(26, 26, 74, 0.08);

  --display: 'Manrope', -apple-system, sans-serif;
  --sans: 'IBM Plex Sans', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--navy);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--magenta); color: white; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ============== NAV ============== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-block {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-block img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--magenta); }
.nav-cta {
  padding: 10px 22px;
  background: var(--navy); color: white !important;
  border-radius: 6px;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--magenta); }
.nav-cta::after {
  content: '→';
  transition: transform 0.3s;
}
.nav-cta:hover::after { transform: translateX(3px); }

/* ============== HERO ============== */
.hero {
  padding: 130px 0 80px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(245, 192, 96, 0.04) 100%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
/* Grid background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }

.hero-bar {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.8s 0.1s forwards;
}
.hero-bar-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 192, 96, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(245, 192, 96, 0); }
}

h1.hero-h {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--navy);
  max-width: 16ch;
  margin-bottom: 32px;
}
h1.hero-h .line {
  display: block;
  overflow: hidden;
}
h1.hero-h .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
h1.hero-h .line:nth-child(1) span { animation-delay: 0.2s; }
h1.hero-h .line:nth-child(2) span { animation-delay: 0.35s; }
h1.hero-h .line:nth-child(3) span { animation-delay: 0.5s; }
h1.hero-h .accent {
  color: var(--magenta);
  position: relative;
}
h1.hero-h .accent::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  height: 4px;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 1s 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-body {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  opacity: 0; animation: fadeUp 1s 0.7s forwards;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 580px;
}
.hero-actions {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-end;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  background: var(--navy); color: white;
  border-radius: 8px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--magenta); transform: translateY(-2px); }
.btn-ghost {
  color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: all 0.3s;
}
.btn-ghost:hover { color: var(--magenta); border-color: var(--magenta); }

/* Hero dashboard preview */
.hero-dash {
  margin-top: 80px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  overflow: hidden;
  opacity: 0; animation: fadeUp 1s 1s forwards;
}
.dash-cell {
  background: var(--surface);
  padding: 24px;
  transition: background 0.3s;
}
.dash-cell:hover { background: rgba(245, 192, 96, 0.06); }
.dash-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.dash-label::before {
  content: ''; width: 4px; height: 4px;
  background: var(--peach); border-radius: 50%;
}
.dash-cell:nth-child(2) .dash-label::before { background: var(--magenta); }
.dash-cell:nth-child(3) .dash-label::before { background: var(--violet); }
.dash-value {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 12px;
}
.dash-trend {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--peach-deep);
  display: flex; align-items: center; gap: 4px;
}
.dash-cell:nth-child(2) .dash-trend { color: var(--magenta); }
.dash-cell:nth-child(3) .dash-trend { color: var(--violet); }
/* mini bar chart */
.dash-spark {
  margin-top: 12px;
  display: flex; gap: 3px; align-items: end;
  height: 32px;
}
.dash-spark span {
  flex: 1;
  background: var(--peach);
  opacity: 0.3;
  border-radius: 1px;
  transition: opacity 0.3s;
}
.dash-cell:nth-child(2) .dash-spark span { background: var(--magenta); }
.dash-cell:nth-child(3) .dash-spark span { background: var(--violet); }
.dash-spark span:last-child { opacity: 1; }
.dash-cell:hover .dash-spark span { opacity: 0.6; }
.dash-cell:hover .dash-spark span:last-child { opacity: 1; }

/* ============== SERVICES ============== */
.services {
  padding: 120px 0;
}
.section-head {
  margin-bottom: 64px;
}
.section-pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(216, 48, 120, 0.1);
  color: var(--magenta-deep);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-h {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  max-width: 16ch;
}
.section-h .accent { color: var(--magenta); }

.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.4s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26, 26, 74, 0.2);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  transition: all 0.4s;
}
.service-card:nth-child(1):hover .service-icon { background: var(--peach); color: var(--navy); transform: rotate(-6deg) scale(1.05); }
.service-card:nth-child(2):hover .service-icon { background: var(--magenta); transform: rotate(-6deg) scale(1.05); }
.service-card:nth-child(3):hover .service-icon { background: var(--violet); transform: rotate(-6deg) scale(1.05); }
.service-card:nth-child(4):hover .service-icon { background: var(--plum); transform: rotate(-6deg) scale(1.05); }
.service-card:nth-child(5):hover .service-icon { background: var(--green); transform: rotate(-6deg) scale(1.05); }

.service-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--navy);
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.service-link {
  display: none; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--magenta-deep);
  text-decoration: none;
}
.service-link svg { transition: transform 0.3s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ============== APPROACH ============== */
.approach {
  padding: 120px 0;
  background: var(--navy);
  color: white;
}
.approach .section-pill {
  background: rgba(245, 192, 96, 0.18);
  color: var(--peach);
}
.approach .section-h { color: white; }
.approach .section-h .accent { color: var(--peach); }

.approach-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.approach-step {
  background: var(--navy);
  padding: 36px 26px;
  transition: background 0.4s;
  position: relative;
}
.approach-step:hover { background: var(--navy-2); }
.approach-step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--peach);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.approach-step:nth-child(2) .approach-step-num { color: var(--magenta); }
.approach-step:nth-child(3) .approach-step-num { color: var(--violet); }
.approach-step:nth-child(4) .approach-step-num { color: var(--green); }
.approach-step:nth-child(5) .approach-step-num { color: var(--peach); }
.approach-step-num::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.approach-step h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.approach-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
.approach-step ul {
  margin-top: 24px;
  list-style: none;
}
.approach-step li {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; gap: 8px;
}
.approach-step li::before {
  content: '→'; color: var(--peach);
}
.approach-step:nth-child(2) li::before { color: var(--magenta); }
.approach-step:nth-child(3) li::before { color: var(--violet); }
.approach-step:nth-child(4) li::before { color: var(--green); }
.approach-step:nth-child(5) li::before { color: var(--peach); }

/* ============== ABOUT ============== */
.about {
  padding: 120px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
}
.about-img-card {
  position: absolute;
  bottom: 24px; left: -24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px -10px rgba(26, 26, 74, 0.25);
  display: flex; align-items: center; gap: 12px;
  min-width: 240px;
}
.about-img-card-icon {
  width: 36px; height: 36px;
  background: var(--peach);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.about-img-card-text strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}
.about-img-card-text small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.about-content h3 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--navy);
}
.about-content h3 .accent { color: var(--magenta); }
.about-content p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 560px;
}
.credentials {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cred small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.cred strong {
  font-family: var(--display);
  font-size: 24px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ============== STATS DASHBOARD ============== */
.stats {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 48px;
  flex-wrap: wrap; gap: 24px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.stat-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.stat-block:hover {
  border-color: var(--magenta);
  background: var(--surface);
}
.stat-block.feature {
  grid-row: span 2;
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.stat-block.feature:hover { border-color: var(--peach); }
.stat-block-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.stat-block.feature .stat-block-label { color: var(--peach); }
.stat-block-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--peach); border-radius: 50%;
}
.stat-block:nth-child(3) .stat-block-label::before { background: var(--magenta); }
.stat-block:nth-child(4) .stat-block-label::before { background: var(--violet); }
.stat-block:nth-child(5) .stat-block-label::before { background: var(--plum); }
.stat-block-value {
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 16px;
}
.stat-block.feature .stat-block-value { color: white; }
.stat-block-value sup {
  font-size: 0.45em;
  color: var(--magenta);
  margin-left: 4px;
  vertical-align: super;
}
.stat-block.feature .stat-block-value sup { color: var(--peach); }
.stat-block-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 280px;
}
.stat-block.feature .stat-block-desc { color: rgba(255, 255, 255, 0.7); }
.stat-feature-chart {
  margin-top: 32px;
  height: 100px;
  display: flex; align-items: end; gap: 6px;
}
.stat-feature-chart span {
  flex: 1;
  background: rgba(245, 192, 96, 0.3);
  border-radius: 2px;
  transition: all 0.4s;
}
.stat-block.feature:hover .stat-feature-chart span { background: var(--peach); }

/* ============== TESTIMONIAL ============== */
.testimonial {
  padding: 120px 0;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -40px; right: 32px;
  font-family: var(--display);
  font-size: 280px;
  color: var(--magenta);
  opacity: 0.08;
  font-weight: 700;
}
.testimonial-text {
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 1000px;
  margin-bottom: 40px;
  position: relative; z-index: 1;
  color: var(--navy);
}
.testimonial-text .accent { color: var(--magenta); }
.testimonial-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.testimonial-author {
  display: flex; gap: 16px; align-items: center;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
}
.author-info strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
}
.author-info small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.testimonial-results {
  display: flex; gap: 32px;
}
.result small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.result strong {
  font-family: var(--display);
  font-size: 22px;
  color: var(--magenta);
  font-weight: 700;
}
.result:nth-child(2) strong { color: var(--peach-deep); }
.result:nth-child(3) strong { color: var(--violet); }

/* Logos */
.clients {
  margin-top: 64px;
  padding: 32px 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap;
}
.clients-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--line);
  padding-right: 32px;
  flex-shrink: 0;
}
.clients-row {
  display: flex; gap: 48px; align-items: center;
  flex-wrap: wrap;
  flex: 1;
}
.client {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.client:hover { opacity: 1; }

/* ============== CTA ============== */
.cta {
  padding: 120px 0;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 192, 96, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.cta h2 .accent { color: var(--peach); }
.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 0;
}
.cta-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
.cta-form-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px; /* Required for margin auto to work */
  padding-bottom: 10px;
 
}
.cta-form input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: border-color 0.3s;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cta-form input:focus {
  outline: none;
  border-color: var(--peach);
  background: rgba(255, 255, 255, 0.08);
}
.cta-form button {
  width: 100%;
  padding: 16px;
  background: var(--peach);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cta-form button:hover { background: var(--magenta); color: white; transform: translateY(-2px); }
.cta-form small {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ============== FOOTER ============== */
footer {
  padding: 60px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand-block img { height: 48px; width: auto; }
.footer-brand-block p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--magenta); }
.footer-bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lineUp { to { transform: translateY(0); } }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(5) { grid-column: 1 / -1; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-step:nth-child(5) { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-block.feature { grid-row: span 1; grid-column: span 2; }
  .hero-dash { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .nav-links a:not(.nav-cta) { display: none; }
  h1.hero-h { font-size: 48px; }
  .hero-body, .about-grid, .approach-grid, .stats-grid, .cta-grid, .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { align-items: flex-start; }
  .services-grid, .credentials { grid-template-columns: 1fr; }
  .stat-block.feature { grid-column: span 1; }
  .hero-dash { grid-template-columns: 1fr; }
  .testimonial-card { padding: 32px; }
  .clients { flex-direction: column; gap: 24px; align-items: flex-start; }
  .clients-label { border-right: none; padding-right: 0; }
}

/* ============== THEME TOGGLE ============== */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.3s;
}
.theme-toggle:hover { border-color: var(--magenta); color: var(--magenta); transform: translateY(-1px); }
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ============== LOGO THEME TOGGLE ============== */
.logo-light { display: block; }
.logo-dark { display: none; }

[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* ============== DARK MODE ============== */
:root { color-scheme: light; }
[data-theme="dark"] {
  color-scheme: dark;
  --navy: #ecebf8;          /* primary text flips light */
  --bg: #0d0d24;
  --surface: #16163a;
  --ink: #c9c9e2;
  --muted: #9292b4;
  --line: #28284e;
  --line-dark: rgba(255, 255, 255, 0.06);
}
body { transition: background-color 0.3s ease, color 0.3s ease; }

/* navy-as-background elements stay dark */
[data-theme="dark"] nav { background: rgba(13, 13, 36, 0.88); }
[data-theme="dark"] .nav-cta,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .service-icon,
[data-theme="dark"] .author-avatar { background: var(--violet); }
[data-theme="dark"] .approach,
[data-theme="dark"] .approach-step,
[data-theme="dark"] .stat-block.feature,
[data-theme="dark"] .cta { background: #12122e; }
[data-theme="dark"] .stat-block.feature { border-color: #28284e; }
[data-theme="dark"] .approach-step:hover { background: #1c1c42; }

/* text sitting on peach backgrounds must stay dark navy */
[data-theme="dark"] .service-card:nth-child(1):hover .service-icon,
[data-theme="dark"] .about-img-card-icon,
[data-theme="dark"] .cta-form button { color: #1a1a4a; }
[data-theme="dark"] .cta-form button:hover { color: #ffffff; }

/* readability bumps on dark surfaces */
[data-theme="dark"] .service-link { color: var(--magenta); }
[data-theme="dark"] .section-pill { color: #e84d90; }

/* navy wordmark in the logo needs a light chip to stay legible */
[data-theme="dark"] .logo-block img,
[data-theme="dark"] .footer-brand-block img {
  background: none;
  
}
