/* ============================================================
   VARIANT F · MODERNIST (OpenWorks 2026 / Stripe-meets-services)
   Palette: Charcoal #0d1117 + Electric blue #3b82f6 + White
   Type:    Geist Sans (display + body) + JetBrains Mono (data)
   ============================================================ */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e6edf3;
  background: #0d1117;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Geist + JetBrains Mono via Vercel CDN */
@import url('https://cdn.jsdelivr.net/npm/geist-font@1/dist/geist-sans/style.css');
@import url('https://cdn.jsdelivr.net/npm/geist-font@1/dist/geist-mono/style.css');

/* ---------- Tokens ---------- */
:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #1c2128;
  --line: #21262d;
  --line-2: #30363d;
  --text: #e6edf3;
  --text-2: #8b949e;
  --text-3: #6e7681;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --blue-3: #1d4ed8;
  --blue-glow: rgba(59, 130, 246, 0.18);
  --white: #ffffff;
  --ok: #3fb950;
  --warn: #d29922;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --pad-x: clamp(20px, 5vw, 64px);
  --max: 1280px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(40px, 6.5vw, 84px); letter-spacing: -0.04em; line-height: 0.95; font-weight: 500; }
h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.03em; line-height: 1.02; }
h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; }
h4 { font-size: 20px; }
h5 { font-size: 16px; font-weight: 500; }
p  { margin: 0; color: var(--text-2); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}
.kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--blue);
  display: inline-block;
}
.kicker--gray { color: var(--text-2); }
.kicker--gray::before { background: var(--text-2); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mono { font-family: var(--mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container--wide { max-width: 1440px; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--dark { background: var(--bg); }
.section--darker { background: #06090d; }
.section--light { background: var(--white); color: #0d1117; }
.section--light p { color: #4b5563; }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: #0d1117; }

.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head__title { margin-top: 14px; }
.section-head__sub { margin-top: 18px; color: var(--text-2); font-size: 17px; max-width: 620px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
  color: var(--text);
}
.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}
.nav__links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.18s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }
.nav__cta { display: none; align-items: center; gap: 10px; }
.nav__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  padding: 0 9px;
  align-items: center;
  transition: background 0.2s ease;
}
.nav__burger:hover { background: var(--bg-2); }
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.18s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta  { display: inline-flex; }
  .nav__burger { display: none; }
}

body.nav-locked { overflow: hidden; }
.nav__drawer {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 40;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  padding: 24px var(--pad-x);
  border-top: 1px solid var(--line);
}
.nav__drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav__drawer a {
  display: block;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav__drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 1px 2px rgba(0,0,0,0.4);
}
.btn--primary:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--bg-2); border-color: var(--text-3); }
.btn--lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(2px); }

.btn--white { background: #fff; color: #0d1117; }
.btn--white:hover { background: #f0f0f0; }
.btn--white-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.btn--white-ghost:hover { background: rgba(255,255,255,0.08); }

/* ---------- Trust strip ---------- */
.trust {
  background: #06090d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.trust__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.trust__row span { display: inline-flex; align-items: center; gap: 8px; }
.trust__row span::before {
  content: "•";
  color: var(--blue);
  font-size: 14px;
}
.trust__row span:first-child::before { display: none; }

/* ---------- Service area band ---------- */
.svc-area {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.svc-area b { color: var(--text); font-weight: 500; }
.svc-area__dot { color: var(--blue); margin: 0 6px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,17,23,0.6) 0%, rgba(13,17,23,0.95) 80%),
    linear-gradient(90deg, rgba(13,17,23,0.85) 0%, rgba(13,17,23,0.4) 50%, rgba(13,17,23,0.8) 100%);
  z-index: 1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.55;
  animation: heroDrift 16s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: scale(1.06) translateX(0); }
  100% { transform: scale(1.10) translateX(-2%); }
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}
.hero__title { color: #fff; }
.hero__title em {
  font-style: normal;
  color: var(--blue);
  font-weight: 500;
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 6px;
  background: var(--blue);
  opacity: 0.22;
  z-index: -1;
}
.hero__sub {
  margin-top: 24px;
  font-size: 18px;
  color: #c9d1d9;
  max-width: 540px;
  line-height: 1.55;
}
.hero__sub b { color: #fff; font-weight: 500; }
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero__meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .dot {
  width: 6px; height: 6px;
  background: var(--ok);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(63,185,80,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* Floating KPI card on hero */
.hero-card {
  background: rgba(22, 27, 34, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
}
.hero-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-card__tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 999px;
}
.hero-card__big {
  font-family: var(--mono);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 14px 0 6px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-card__label {
  font-size: 14px;
  color: var(--text-2);
}
.hero-card__row {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-card__row div {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.hero-card__row div b {
  display: block;
  color: #fff;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- Logo carousel (facility types) ---------- */
.carousel {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.carousel__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.carousel__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.carousel__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.carousel__item svg {
  width: 28px; height: 28px;
  stroke: var(--text-2);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.2s ease;
}
.carousel__item:hover { color: var(--text); }
.carousel__item:hover svg { stroke: var(--blue); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- KPI / Stats ---------- */
.kpi {
  background: linear-gradient(180deg, #06090d 0%, #0d1117 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59,130,246,0.08), transparent 60%);
  pointer-events: none;
}
.kpi__head {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.kpi__head h2 { margin-top: 14px; }
.kpi__head p { margin: 18px auto 0; max-width: 560px; color: var(--text-2); }
.kpi__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.kpi__cell {
  background: #0d1117;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 32px);
  position: relative;
}
.kpi__num {
  font-family: var(--mono);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.kpi__num--blue { color: var(--blue); }
.kpi__num small {
  font-size: 0.5em;
  color: var(--text-3);
  font-weight: 400;
  margin-left: 4px;
}
.kpi__label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.4;
}
.kpi__trend {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ok);
}
.kpi__trend svg { width: 12px; height: 12px; stroke: var(--ok); fill: none; stroke-width: 2; }

@media (min-width: 900px) {
  .kpi__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Service cards (B2B SaaS) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  background: #fff;
  color: #0d1117;
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #e5e7eb;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -12px rgba(59,130,246,0.18);
  border-color: var(--blue);
}
.svc-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #f3f4f6;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.25s ease, color 0.25s ease;
}
.svc-card:hover .svc-card__icon {
  background: var(--blue);
  color: #fff;
}
.svc-card__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.svc-card h3 { color: #0d1117; margin-bottom: 12px; font-size: 22px; }
.svc-card__desc { color: #4b5563; font-size: 15px; line-height: 1.55; flex: 1; }
.svc-card__meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: #6b7280;
}
.svc-card__price { color: #0d1117; font-weight: 500; }
.svc-card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
}
.svc-card__link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s ease; }
.svc-card:hover .svc-card__link svg { transform: translateX(3px); }

/* ---------- 3-step process ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 36px;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--bg-2);
  transition: background 0.2s ease;
}
.step:last-child { border-bottom: 0; }
@media (min-width: 800px) {
  .step { border-bottom: 0; border-right: 1px solid var(--line); }
  .step:last-child { border-right: 0; }
}
.step:hover { background: var(--bg-3); }
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.step__num::before { content: "STEP / "; color: var(--text-3); }
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ---------- Case studies (B2B SaaS) ---------- */
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cases { grid-template-columns: repeat(3, 1fr); } }

.case {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.25s ease;
}
.case:hover { border-color: var(--blue); transform: translateY(-3px); }
.case__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
}
.case__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.05);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.case:hover .case__img img { filter: grayscale(0%) contrast(1); transform: scale(1.04); }
.case__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid rgba(59,130,246,0.4);
}
.case__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case__client {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.case h3 { font-size: 19px; margin-bottom: 10px; }
.case__desc { font-size: 14px; color: var(--text-2); line-height: 1.55; flex: 1; }
.case__stats {
  display: flex;
  gap: 22px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case__stats div { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.05em; }
.case__stats div b {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s ease;
}
.testimonial:hover { border-color: var(--line-2); }
.testimonial__stars { color: var(--blue); font-size: 14px; letter-spacing: 2px; }
.testimonial__quote {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}
.testimonial__person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-3));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}
.testimonial__name { font-size: 14px; color: #fff; font-weight: 500; }
.testimonial__role { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.05em; }

/* ---------- CTA section ---------- */
.cta {
  position: relative;
  background: linear-gradient(135deg, #0a4fc7 0%, var(--blue) 50%, #5fa2ff 100%);
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0,0,0,0.4), transparent 60%);
  z-index: -1;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.85); margin-top: 18px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta__row {
  margin-top: 36px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta__small {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ---------- Footer ---------- */
.footer {
  background: #06090d;
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  color: var(--text-2);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px)  { .footer__top { grid-template-columns: 1.4fr repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.4fr repeat(4, 1fr); } }

.footer h5 {
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer__col p { font-size: 14px; line-height: 1.6; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { color: var(--text-2); font-size: 14px; transition: color 0.18s ease; }
.footer__col ul a:hover { color: var(--blue); }
.footer__brand { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.footer__brand .dot { color: var(--blue); }
.footer__bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (min-width: 800px) { .footer__bottom { flex-direction: row; align-items: center; } }
.footer__bottom a { color: var(--text-2); }
.footer__bottom a:hover { color: var(--blue); }

/* ---------- Generic page hero (interior) ---------- */
.page-hero {
  padding: clamp(80px, 9vw, 120px) 0 clamp(48px, 5vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(59,130,246,0.08), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { max-width: 760px; position: relative; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); }
.page-hero__sub { margin-top: 22px; color: var(--text-2); font-size: 18px; max-width: 600px; line-height: 1.55; }
.page-hero__meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta b { color: var(--text); font-weight: 500; }
.page-hero__meta .dotblue { color: var(--blue); }

/* ---------- Pricing table ---------- */
.price-table {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.6fr 0.6fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  transition: background 0.2s ease;
  gap: 12px;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: var(--bg-3); }
.price-row--head {
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.price-row--head:hover { background: var(--bg); }
.price-row b { font-weight: 500; color: #fff; }
.price-row .price { font-family: var(--mono); font-variant-numeric: tabular-nums; color: #fff; }
.price-row .price small { color: var(--text-3); font-size: 11px; margin-left: 4px; }
@media (max-width: 700px) {
  .price-row { grid-template-columns: 1fr auto; }
  .price-row > *:nth-child(3),
  .price-row > *:nth-child(4) { display: none; }
  .price-row > *:last-child { text-align: right; }
}

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 1000px) { .two-col { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
@media (min-width: 1000px) {
  .two-col--reverse { direction: ltr; }
  .two-col--reverse .two-col__media { order: 2; }
}

/* ---------- Media block ---------- */
.media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) contrast(1.05); }
.media__caption {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
}
.media--b&w img { filter: grayscale(100%) contrast(1.1); }

/* ---------- Team grid ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(6, 1fr); } }
.team__card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.team__card:hover { border-color: var(--blue); }
.team__photo {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #1c2128, #21262d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 32px;
  color: var(--blue);
  position: relative;
  overflow: hidden;
}
.team__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,17,23,0.4) 100%);
}
.team__photo svg { width: 100%; height: 100%; opacity: 0.5; }
.team__body { padding: 14px 14px 16px; }
.team__name { color: #fff; font-size: 14px; font-weight: 500; }
.team__role {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* ---------- Value cards ---------- */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.value:hover { border-color: var(--blue); background: var(--bg-3); }
.value__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.05em;
}
.value h3 { font-size: 18px; margin: 12px 0 10px; }
.value p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ---------- Certs / badges ---------- */
.certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 700px)  { .certs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .certs { grid-template-columns: repeat(5, 1fr); } }
.cert {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s ease;
}
.cert:hover { border-color: var(--blue); }
.cert__icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cert__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.cert__name {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 4px;
}
.cert__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  text-align: left;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.faq__q:hover { color: var(--blue); }
.faq__plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  margin-left: 16px;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: var(--text-3);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq__plus::before { top: 10px; left: 2px; right: 2px; height: 1.5px; }
.faq__plus::after  { left: 10px; top: 2px; bottom: 2px; width: 1.5px; }
.faq__q[aria-expanded="true"] .faq__plus::after { transform: scaleY(0); }
.faq__q[aria-expanded="true"] .faq__plus::before { background: var(--blue); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.faq__a-inner { padding: 0 0 22px; max-width: 720px; }
.faq__a p + p { margin-top: 10px; }

/* ---------- Forms / mailto ---------- */
.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
}
.field { display: block; margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  color: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--sans);
  transition: border-color 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact info card ---------- */
.info-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
}
.info-card + .info-card { margin-top: 12px; }
.info-card h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 500;
}
.info-card p { font-size: 15px; color: var(--text); line-height: 1.55; }
.info-card a { color: #fff; }
.info-card a:hover { color: var(--blue); }

/* ---------- Map ---------- */
.map {
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  position: relative;
}
.map img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(60%) brightness(0.7) contrast(1.1); }
.map__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(59,130,246,0.25), 0 8px 20px rgba(0,0,0,0.5);
}
.map__pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #fff;
}

/* ---------- Neighbourhood pills ---------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.pill:hover { color: var(--blue); border-color: var(--blue); background: var(--bg-3); }
.pill--active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Review platform badges ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 700px) { .platforms { grid-template-columns: repeat(4, 1fr); } }
.platform {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.platform:hover { border-color: var(--blue); transform: translateY(-2px); }
.platform__logo {
  height: 22px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.platform__logo svg, .platform__logo img { max-height: 22px; max-width: 80px; }
.platform__score { font-family: var(--mono); font-size: 20px; color: #fff; font-weight: 500; }
.platform__count { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-top: 4px; letter-spacing: 0.05em; }

/* ---------- Reveal animation (initial) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; }
  .carousel__track { animation: none; }
}

/* ---------- Responsive grid helpers ---------- */
.mt-0  { margin-top: 0 !important; }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
