/* ══════════════════════════════════════════════════════
   SaaS Squash — styles.css
   Brand: Slate Grey #2E2E2E · Teal #0C7277 · White #FFFFFF
   Fonts: Inter (body) · IBM Plex Mono (accent)
   ══════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --teal:        #0C7277;
  --teal-hover:  #0a5f64;
  --teal-dim:    rgba(12, 114, 119, 0.12);
  --slate:       #2E2E2E;
  --slate-light: #4a4a4a;
  --white:       #FFFFFF;
  --off-white:   #F6F6F6;
  --border:      #E2E2E2;
  --mid-grey:    #767676;
  --dark:        #1A1A1A;
  --dark-card:   #222222;

  --font:  'Inter', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', 'Courier New', monospace;

  --max:      1160px;
  --radius:   8px;
  --radius-lg:16px;
  --radius-xl:20px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-teal: 0 16px 48px rgba(12, 114, 119, 0.12);
  --surface-muted: #f3f4f4;
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* Skip link + focus (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: none;
}
.skip-link:focus-visible {
  top: 16px;
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.nav-links a:focus-visible,
.nav.scrolled .nav-links a:focus-visible {
  outline-color: var(--teal);
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ── Layout helpers ────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section-white { background: var(--white); }
.section-grey  { background: var(--off-white); }
.section-dark  { background: var(--dark); }
.section-teal  { background: var(--teal); }

/* One attribution line per major section */
.section-ai-disclaimer {
  margin: 0;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mid-grey);
  line-height: 1.45;
  opacity: 0.92;
}
.hero .section-ai-disclaimer {
  margin-top: 56px;
  border-top-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.42);
}
.section.section-dark p.section-ai-disclaimer {
  border-top-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.42);
}
.section.section-grey p.section-ai-disclaimer {
  border-top-color: rgba(0, 0, 0, 0.06);
}
.section.section-teal p.section-ai-disclaimer {
  border-top-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.58);
}
.section-ai-disclaimer--footer {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
}
.footer-inner .section-ai-disclaimer--footer {
  grid-column: 1 / -1;
}

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; }

p { color: var(--slate-light); }

.on-dark { color: var(--white); }
.on-dark p, .section-dark p { color: rgba(255,255,255,0.72); }

.mono-label {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}
.mono-label.mono-dark { color: var(--teal); }

.mono-small {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #aaa;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-hover); }

/* Chained selectors + 2px border: clearer than 1.5px on subpixel layouts */
.btn.btn-outline,
a.btn.btn-outline {
  border: 2px solid var(--teal);
  border-style: solid;
  color: var(--teal);
  background: transparent;
}
.btn.btn-outline:hover,
a.btn.btn-outline:hover {
  background: rgba(12, 114, 119, 0.08);
  border-color: var(--teal-hover);
  color: var(--teal-hover);
}
.service-card a.btn.service-schedule-btn.btn-outline {
  border: 2px solid var(--teal);
  border-style: solid;
}
.service-card a.btn.service-schedule-btn.btn-outline:hover {
  border-color: var(--teal-hover);
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,0.9); }

.btn-ghost-white {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ── Navigation ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(0, 0, 0, 0.03);
}
.nav.scrolled .nav-links a { color: var(--slate); }
.nav.scrolled .nav-hamburger span { background: var(--slate); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition);
}
.nav.scrolled .nav-inner {
  border-bottom-color: transparent;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  max-width: min(200px, 46vw);
  display: block;
  transition: filter var(--transition);
}
/* On dark hero: same idea as the hamburger — light monochrome mark */
.nav:not(.scrolled) .nav-logo .logo-img {
  filter: brightness(0) invert(1);
}
.nav.scrolled .nav-logo .logo-img {
  filter: none;
}
.logo-img--footer {
  height: 34px;
  max-width: 180px;
}
/* Footer sits on dark background; keep logo readable */
.footer-logo .logo-img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a:hover { color: var(--teal); }

.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 0.875rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-mobile.open { display: flex; }
.mobile-link {
  padding: 13px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 1px solid var(--border);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-cta {
  margin-top: 12px;
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 13px 24px;
  font-weight: 600;
  text-align: center;
  border: none;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(12, 114, 119, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(12, 114, 119, 0.12), transparent 50%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12,114,119,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,114,119,0.14) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 90%);
}

.hero-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 120px;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 140px;
  max-width: 820px;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.1;
}

.hero-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Section headers ───────────────────────────────── */
.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 18px; }
.section-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--mid-grey);
}
.section-sub.on-dark { color: rgba(255,255,255,0.65); }

/* ── Compare table ─────────────────────────────────── */
.compare-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.compare-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  background: var(--slate);
  color: var(--white);
}
.compare-head > div {
  padding: 16px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-head .col-us { background: var(--teal); }

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  border-top: 1px solid var(--border);
}
.compare-row:nth-child(even) { background: var(--off-white); }

.compare-row > div {
  padding: 18px 20px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.compare-cat {
  font-weight: 600;
  color: var(--slate);
}
.compare-them { color: var(--slate-light); }
.compare-us {
  color: var(--slate);
  background: rgba(12,114,119,0.05);
  border-left: 3px solid var(--teal);
}

.compare-quote {
  border-left: 3px solid var(--teal);
  padding: 16px 24px;
  color: var(--slate-light);
  font-style: italic;
  font-size: 0.975rem;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Approach pillars ──────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.pillar-card {
  padding: 44px 40px;
  background: var(--dark-card);
  transition: background var(--transition);
}
.pillar-card:hover { background: #282828; }

.pillar-num {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.pillar-card h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 14px;
}

.pillar-card p {
  color: rgba(255,255,255,0.62);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.approach-quote {
  border-left: 3px solid var(--teal);
  padding: 20px 28px;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  background: rgba(12,114,119,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Services ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-teal);
  border-color: var(--teal);
}

.service-roman {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.service-card h3 { margin-bottom: 12px; color: var(--slate); }
.service-card p { font-size: 0.9375rem; line-height: 1.65; margin-bottom: 20px; }

.service-list {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.service-list li {
  font-size: 0.875rem;
  color: var(--slate);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

.service-card-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.service-estimate-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--mid-grey);
}
.service-schedule-btn {
  justify-content: center;
  align-self: stretch;
  text-align: center;
  white-space: normal;
}

.services-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--mid-grey);
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

.services-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.section-ai-disclaimer--services {
  max-width: 680px;
  width: 100%;
  margin-top: 28px;
  padding: 20px 16px 0;
  box-sizing: border-box;
  white-space: normal;
}

/* ── Market section ────────────────────────────────── */
.market-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.market-primary h3,
.market-expand h3 {
  font-size: 1.1875rem;
  margin-bottom: 18px;
  color: var(--slate);
}

.market-primary p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--mid-grey);
  line-height: 1.35;
}

.expand-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.expand-item:first-of-type { border-top: 1px solid var(--border); }

.expand-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.expand-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.expand-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mid-grey);
}

/* ── Why grid ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  box-shadow: 0 6px 24px rgba(12,114,119,0.08);
  border-color: rgba(12,114,119,0.3);
}

.why-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
}

.why-card h3 { margin-bottom: 12px; font-size: 1.0625rem; }
.why-card p { font-size: 0.9rem; line-height: 1.7; }

.why-subheading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate);
  margin: 48px 0 20px;
}
.why-subheading:first-of-type { margin-top: 0; }

.why-step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.why-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.why-list li {
  font-size: 0.875rem;
  color: var(--slate);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

/* ── Proof table ───────────────────────────────────── */
.proof-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.proof-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  background: var(--slate);
  color: var(--white);
}
.proof-head > div {
  padding: 16px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.proof-head .proof-col-after { background: var(--teal); }

.proof-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  border-top: 1px solid var(--border);
}
.proof-row:nth-child(even) { background: var(--off-white); }

.proof-row > div {
  padding: 18px 20px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.proof-wf { font-weight: 600; color: var(--slate); }
.proof-before { color: var(--slate-light); }
.proof-after {
  color: var(--slate);
  background: rgba(12,114,119,0.06);
  border-left: 3px solid var(--teal);
}

/* ── CTA section ───────────────────────────────────── */
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner .mono-label { color: rgba(255,255,255,0.7); justify-content: center; display: flex; }
.cta-inner h2 { margin-bottom: 20px; color: var(--white); }
.cta-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 64px;
  padding-top: 72px;
  padding-bottom: 56px;
  align-items: start;
}

.footer-logo { margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.footer-location { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  font-family: var(--mono);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--teal); }
.footer-city { font-size: 0.875rem; color: rgba(255,255,255,0.4); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ── About + founders ─────────────────────────────── */
.section-about {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--off-white) 100%);
  position: relative;
}
.section-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(12, 114, 119, 0.06), transparent 45%);
  pointer-events: none;
}

.about-backgrounds {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: -24px auto 48px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
}

.about-subheading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.about-backgrounds-copy p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--slate-light);
  margin-bottom: 14px;
}
.about-backgrounds-copy p:last-child {
  margin-bottom: 0;
}

.founders-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.founder-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.founder-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 114, 119, 0.25);
  transform: translateY(-2px);
}

.founder-card-inner {
  display: flex;
  gap: 22px;
  padding: 28px 26px;
  align-items: flex-start;
}

.founder-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--teal), #095c61);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(12, 114, 119, 0.35);
}

.founder-name {
  margin-bottom: 4px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate);
}
.founder-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.founder-bio {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-light);
  margin-bottom: 16px;
}
.founder-bio a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.founder-bio a:hover {
  color: var(--teal-hover);
}
.founder-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.founder-link:hover {
  color: var(--teal-hover);
}

.about-footnote {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--mid-grey);
  max-width: 560px;
  margin: 0 auto 8px;
  line-height: 1.5;
}

/* ── Education grid ───────────────────────────────── */
.section-education .education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.education-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  background: linear-gradient(180deg, var(--white) 0%, #fafbfb 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.education-card:hover {
  border-color: rgba(12, 114, 119, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.education-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--slate);
  line-height: 1.3;
}

.education-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 6px 10px;
  border-radius: 999px;
}

.education-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-light);
  flex: 1;
  margin: 0;
}

.education-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--mid-grey);
  letter-spacing: 0.04em;
}

.education-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  width: 100%;
}

/* ── Fade-in animations ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .founder-card:hover,
  .education-card:hover {
    transform: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* Stagger sibling cards */
.pillars-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.pillars-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.pillars-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.services-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.services-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.services-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.why-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.why-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

.why-expertise-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }

.founders-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.founders-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

.education-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.education-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

/* ── Responsive ────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-expertise-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .section-education .education-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.8rem; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }

  .section { padding: 72px 0; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero-content { padding-bottom: 100px; }
  .hero-actions { flex-direction: column; width: fit-content; }

  /* Compare */
  .compare-head,
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-head > div:not(:last-child) { display: none; }
  .compare-head .col-us { display: block; }
  .compare-cat { font-size: 0.8rem; color: var(--mid-grey); padding-bottom: 4px; }
  .compare-them { display: none; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; gap: 2px; }
  .pillar-card { padding: 32px 28px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  .why-expertise-grid { grid-template-columns: 1fr; }

  /* Proof */
  .proof-head,
  .proof-row {
    grid-template-columns: 1fr;
  }
  .proof-head > div:not(:last-child) { display: none; }
  .proof-head .proof-col-after { display: block; }
  .proof-wf {
    font-size: 0.8rem;
    color: var(--mid-grey);
    padding-bottom: 2px;
  }
  .proof-before { display: none; }

  /* Market */
  .stat-row { grid-template-columns: 1fr 1fr; }

  .founder-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .founder-link { align-self: center; }

  /* Footer */
  .footer-inner { padding-top: 56px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

  /* CTA */
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .stat-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ── Blog (listing + posts + home teaser) ─────────── */
.blog-page main {
  padding-top: 88px;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
  transition: color var(--transition);
}
.blog-back:hover {
  color: var(--teal-hover);
}

.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.blog-card {
  display: block;
  padding: 28px 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: rgba(12, 114, 119, 0.35);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}

.blog-card-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.blog-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.blog-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.blog-pagination-info {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mid-grey);
  letter-spacing: 0.04em;
}

.blog-article-header {
  max-width: 42rem;
  margin-bottom: 40px;
}

.blog-article-header .blog-card-date {
  margin-bottom: 12px;
}

.blog-article-header h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--slate);
  margin-bottom: 16px;
}

.blog-article-header .blog-dek {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate-light);
}

.blog-prose {
  max-width: 42rem;
  margin: 0 auto;
}

.blog-prose > * + * {
  margin-top: 1.1em;
}

.blog-prose h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--slate);
}

.blog-prose h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  color: var(--slate);
}

.blog-prose p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.blog-prose ul,
.blog-prose ol {
  padding-left: 1.35rem;
  margin-top: 0.75em;
}

.blog-prose ul {
  list-style: disc;
}

.blog-prose ol {
  list-style: decimal;
}

.blog-prose li {
  margin-top: 0.4em;
  color: var(--slate-light);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.blog-prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-prose a:hover {
  color: var(--teal-hover);
}

.blog-prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface-muted);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

.blog-post-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Home: latest post teaser */
.section-blog-teaser {
  padding: 72px 0 88px;
}

.blog-teaser-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 36px 40px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  align-items: start;
}

@media (min-width: 768px) {
  .blog-teaser-card {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
  }
}

.blog-teaser-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.blog-teaser-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--slate);
}

.blog-teaser-card p {
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.blog-teaser-aside {
  text-align: left;
}

@media (min-width: 768px) {
  .blog-teaser-aside {
    text-align: right;
    justify-self: end;
  }
}
