/* ============================================================
   RightTech site styles. Source of truth: design.md.
   Dark, atmospheric. No rounded boxes. Hairlines, brackets, clip-path notches.
   ============================================================ */

/* ============================================================
   Gilroy (local)
   ============================================================ */
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../fonts/Gilroy-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ============================================================
   Tokens (RightTech brand gradient: #00E175 -> #2DB3FF)
   ============================================================ */
:root {
  --bg-primary: #07090F;
  --bg-secondary: #0E141F;
  --bg-tertiary: #131C2B;
  --bg-card: #101824;
  --text-primary: #EAF0F7;
  --text-secondary: #C2CBD9;
  --text-tertiary: #9098A8;
  --accent: #1DB98C;
  --accent-2: #2DB3FF;
  --accent-3: #65FFB0;
  --grad-brand: linear-gradient(135deg, #00E175 0%, #1DB98C 35%, #2DB3FF 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,225,117,0.18) 0%, rgba(45,179,255,0.12) 100%);
  --grad-text: linear-gradient(120deg, #65FFB0 0%, #2DB3FF 100%);
  --grad-rim: linear-gradient(135deg, rgba(101,255,176,0.55), rgba(45,179,255,0.55));
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.16);
  --radius: 2px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --font: 'Gilroy', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Gilroy', system-ui, sans-serif;
  --font-body: 'Gilroy', system-ui, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 76px;
  position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(0,225,117,0.10), transparent 60%),
    radial-gradient(800px 600px at 95% 8%, rgba(45,179,255,0.10), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, rgba(29,185,140,0.07), transparent 60%);
  pointer-events: none; z-index: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.section { padding: 96px 0; position: relative; z-index: 1; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(7,9,15,0.72);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 500; font-size: 14px; color: var(--text-secondary);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text-primary); }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-group-trigger {
  background: none; border: 0; cursor: pointer; padding: 0;
  font: inherit; font-weight: 500; font-size: 14px;
  color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.nav-group-trigger:hover, .nav-group.is-open .nav-group-trigger { color: var(--text-primary); }
.nav-caret { font-size: 9px; transition: transform .2s; }
.nav-group.is-open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: -16px;
  display: none; flex-direction: column;
  min-width: 200px; padding: 8px 0;
  background: rgba(7,9,15,0.96);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid var(--border);
  z-index: 60;
}
.nav-group.is-open .nav-dropdown { display: flex; }
.nav-dropdown a {
  padding: 10px 20px;
  font-size: 14px; color: var(--text-secondary);
  border-bottom: 0;
}
.nav-dropdown a:hover, .nav-dropdown a.is-active {
  color: var(--accent-3);
  background: rgba(101,255,176,0.05);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 28px; height: 28px;
  background: transparent; border: 0; cursor: pointer;
  position: relative;
}
.nav-toggle::before, .nav-toggle::after, .nav-toggle span {
  content: ""; position: absolute; left: 4px; right: 4px; height: 2px;
  background: var(--text-primary); transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle::before { top: 8px; }
.nav-toggle span { top: 13px; }
.nav-toggle::after { top: 18px; }
.nav.is-open .nav-toggle::before { top: 13px; transform: rotate(45deg); }
.nav.is-open .nav-toggle::after { top: 13px; transform: rotate(-45deg); }
.nav.is-open .nav-toggle span { opacity: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-brand);
  color: #042018;
  font-weight: 700; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 14px 26px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform .2s, filter .2s;
  border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--text-primary);
  font-weight: 600; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 13px 25px;
  border: 1px solid var(--border-hover);
  border-bottom: 2px solid var(--accent-3);
  transition: all .2s; cursor: pointer;
  font-family: inherit;
}
.btn-outline:hover { border-color: var(--accent-3); color: var(--accent-3); background: rgba(0,225,117,0.04); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 110px 0 90px;
  position: relative; overflow: hidden;
}
.hero-bg-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.75;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,15,0.78) 0%, rgba(7,9,15,0.55) 35%, rgba(7,9,15,0.15) 60%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 0% 50%, rgba(7,9,15,0.45), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero-grid > div:first-child { position: relative; z-index: 2; }
.hero h1 {
  color: #FFFFFF;
  font-size: 60px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .highlight,
.hero h1 span.highlight {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc {
  font-size: 19px; color: var(--text-primary); max-width: 580px; margin-bottom: 32px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--accent-3);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0,225,117,0.08);
  border: 1px solid rgba(101,255,176,0.18);
  margin-bottom: 22px;
}
.hero-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-3);
  box-shadow: 0 0 12px var(--accent-3);
}

/* Hero stats — left-rail style */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 560px;
}
.stat-card {
  position: relative;
  padding: 6px 0 6px 16px;
  border-left: 2px solid var(--border-hover);
  transition: border-color .3s;
}
.stat-card:hover { border-left-color: var(--accent-3); }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 6px; }
.stat-value {
  font-size: 28px; font-weight: 800; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 6px;
}
.stat-value.white { background: none; -webkit-text-fill-color: var(--text-primary); color: var(--text-primary); }
.stat-note { font-size: 12px; color: #E8ECF1; line-height: 1.45; }

/* ============================================================
   Hero portrait + founder slider
   ============================================================ */
.hero-portrait {
  position: relative;
  width: 100%; max-width: 460px; aspect-ratio: 1;
  margin: -30px 0 0 auto;
  border-radius: 50%;
  isolation: isolate;
}
.hero-portrait::before {
  content: ""; position: absolute; inset: -60px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(0,225,117,0.30), transparent 65%),
    radial-gradient(closest-side at 70% 80%, rgba(45,179,255,0.28), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.hero-portrait::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0deg, rgba(101,255,176,0.55) 60deg, rgba(45,179,255,0.45) 160deg, transparent 220deg);
  -webkit-mask: radial-gradient(circle, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(circle, transparent calc(100% - 2px), #000 calc(100% - 2px));
  pointer-events: none;
  opacity: 0.9;
}
.hero-portrait .photo-wrap {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-tertiary);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 30px 70px -20px rgba(0,0,0,0.7),
    0 12px 40px -10px rgba(0,225,117,0.15);
}
.hero-portrait .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-portrait .slide.is-active { opacity: 1; }
.hero-portrait .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  filter: brightness(0.82) contrast(1.05) saturate(0.88);
}
.hero-portrait .photo-wrap::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 30%, transparent 40%, rgba(7,9,15,0.45) 100%),
    linear-gradient(180deg, rgba(0,225,117,0.06) 0%, transparent 40%, rgba(45,179,255,0.10) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-portrait .dots {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-portrait .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-hover);
  cursor: pointer; transition: background .25s, transform .25s;
  border: none; padding: 0;
}
.hero-portrait .dot.is-active { background: var(--accent-3); transform: scale(1.25); }
.hero-portrait .badge {
  position: absolute; bottom: 6%; right: -8%;
  padding: 12px 16px 12px 18px;
  background: rgba(14,20,31,0.94);
  border-left: 2px solid var(--accent-3);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.7);
  display: flex; align-items: center; gap: 10px;
  min-width: 188px;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  z-index: 2;
}
.hero-portrait .badge strong {
  display: block;
  white-space: nowrap;
  font-size: 14px; font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1px;
}
.hero-portrait .badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  flex: 0 0 8px;
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.trust-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.trust-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); }
.trust-items { display: flex; gap: 32px; flex-wrap: wrap; color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.trust-items span { display: inline-flex; align-items: center; gap: 8px; }
.trust-items span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand);
}

/* NZ trust (CMS logos) */
.nz-trust { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.nz-trust-grid { align-items: stretch; }
.nz-trust-card { display: flex; flex-direction: column; padding: 24px 0 8px; border-top: 1px solid var(--border); }
.nz-trust-logo { display: flex; align-items: center; justify-content: flex-start; height: 56px; margin-bottom: 14px; }
.nz-trust-logo img { max-height: 48px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.nz-trust-name { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--text-primary); line-height: 1.3; }
.nz-trust-name a { color: inherit; text-decoration: none; transition: color .2s; }
.nz-trust-name a:hover { color: var(--accent); }
.nz-trust-quote { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 14px; }
.nz-trust-refs { margin-top: auto; display: flex; flex-wrap: wrap; gap: 18px; padding-top: 8px; }
.nz-trust-ref { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--accent); text-decoration: none; transition: filter .2s; }
.nz-trust-ref:hover { filter: brightness(1.15); }

/* Showcase (our-projects + our-open-source) */
.showcase-card { display: flex; flex-direction: column; }
.showcase-logo { display: flex; align-items: center; justify-content: flex-start; height: 64px; margin-bottom: 16px; }
.showcase-logo img { max-height: 56px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.showcase-logo--sm { height: 44px; margin-bottom: 12px; }
.showcase-logo--sm img { max-height: 36px; max-width: 100px; }
.showcase-card .solution-link { margin-top: auto; padding-top: 12px; }
.showcase-more {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-decoration: none; gap: 8px;
  border: 1px dashed var(--border-hover);
  background: transparent;
  transition: border-color .2s, color .2s;
}
.showcase-more:hover { border-color: var(--accent); }
.showcase-more-label { font-size: 14px; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 1px; }
.showcase-more-arrow { font-size: 28px; color: var(--accent); transition: transform .2s; }
.showcase-more:hover .showcase-more-arrow { transform: translateX(4px); }

/* ============================================================
   Sections shared
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font);
  font-size: 42px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em;
  margin-bottom: 14px; max-width: 780px;
  color: var(--text-primary);
}
.section-title .highlight,
.section-title span.highlight {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-sub { font-size: 18px; color: var(--text-secondary); max-width: 720px; line-height: 1.65; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }

/* ============================================================
   Cards (hairline numbered rows, no box)
   Used by .challenge-card, .solution-card aliases below.
   ============================================================ */
.card,
.challenge-card,
.solution-card {
  position: relative;
  padding: 30px 8px 0 0;
  border-top: 1px solid var(--border);
  transition: border-top-color .25s;
  background: transparent;
}
.card:hover,
.challenge-card:hover,
.solution-card:hover { border-top-color: var(--accent-3); }
.card-icon {
  font-size: 30px; font-weight: 800; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.card h3,
.challenge-card h3,
.solution-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.card p,
.challenge-card p,
.solution-card p { font-size: 15.5px; color: var(--text-secondary); line-height: 1.7; }
.card.featured h3 {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.solution-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--accent-3);
}
.solution-link:hover { filter: brightness(1.1); }

/* Numbered-row variant — uses data-num attr instead of card-icon */
.challenges-rows .grid-3,
.challenges-rows .grid-4 { grid-template-columns: 1fr 1fr; }
.challenges-rows .challenge-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-areas: "num title" "num body";
  column-gap: 24px; row-gap: 6px;
  padding: 22px 8px 22px 0;
}
.challenges-rows .challenge-card::before {
  content: attr(data-num);
  grid-area: num;
  align-self: start;
  font-size: 36px; font-weight: 800; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.challenges-rows .challenge-card h3 { grid-area: title; margin-bottom: 4px; }
.challenges-rows .challenge-card p { grid-area: body; }
@media (max-width: 640px) {
  .challenges-rows .grid-3,
  .challenges-rows .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   Process — camera-corner brackets
   ============================================================ */
.process { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-section { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.process-step {
  padding: 36px 28px; position: relative; background: transparent;
  transition: background .3s;
}
.process-step::before,
.process-step::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--accent-3);
  transition: width .3s, height .3s;
}
.process-step::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.process-step::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.process-step:hover::before,
.process-step:hover::after { width: 36px; height: 36px; }
.process-step:hover { background: rgba(0,225,117,0.03); }
.process-num {
  font-size: 56px; font-weight: 800; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0.85; margin-bottom: 14px;
}
.process-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.process-step p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.7; }

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip { padding: 56px 0; }
.cta-card {
  position: relative;
  padding: 44px 48px;
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(0,225,117,0.18), transparent 60%),
    radial-gradient(600px 260px at 100% 100%, rgba(45,179,255,0.18), transparent 60%),
    var(--bg-secondary);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  border-top: 1px solid rgba(101,255,176,0.25);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-brand);
}
.cta-card h3 { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 6px; max-width: 640px; color: var(--text-primary); }
.cta-card p { color: var(--text-secondary); font-size: 15px; max-width: 640px; line-height: 1.6; }

/* AI strategy band — same family as cta-card but more atmospheric */
.ai-band { padding: 80px 0; position: relative; }
.ai-band-inner {
  position: relative;
  padding: 48px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(101,255,176,0.2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ai-band-inner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 100% 50%, rgba(45,179,255,0.10), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(0,225,117,0.08), transparent 60%);
  pointer-events: none;
}
.ai-band-inner > * { position: relative; z-index: 1; }

/* ============================================================
   Comparison — 4 columns, hairline panel, vertical splits
   ============================================================ */
.comparison-section { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compare-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.compare-card {
  padding: 32px 24px;
  background: transparent;
  position: relative;
}
.compare-card + .compare-card { border-left: 1px solid var(--border); }
.compare-card.us {
  background:
    linear-gradient(180deg, rgba(0,225,117,0.06), rgba(45,179,255,0.03));
}
.compare-card.us::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand);
}
.compare-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 18px; color: var(--text-primary); }
.compare-card ul { list-style: none; display: grid; gap: 12px; padding: 0; }
.compare-card li { display: flex; gap: 10px; font-size: 15.5px; color: var(--text-secondary); line-height: 1.6; }
.compare-card li::before {
  content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%;
  background: var(--text-tertiary);
}
.compare-card.us li::before {
  background: var(--grad-brand);
  box-shadow: 0 0 10px rgba(101,255,176,0.45);
}

/* ============================================================
   Case-study feature
   ============================================================ */
.casestudy-feature { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.casestudy-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-top: 32px; }
.casestudy-headline { font-size: 24px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; color: var(--text-primary); }
.casestudy-grid p { color: var(--text-secondary); font-size: 16px; margin-bottom: 20px; line-height: 1.7; }
.casestudy-meta { display: flex; gap: 32px; flex-wrap: wrap; margin: 22px 0 24px; }
.casestudy-meta > div { font-size: 13px; color: var(--text-tertiary); }
.casestudy-meta strong {
  display: block; font-size: 22px; font-weight: 800; margin-bottom: 2px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.casestudy-image { position: relative; padding: 0; border: 1px solid var(--border); background: var(--bg-tertiary); overflow: hidden; }
.casestudy-image img { display: block; width: 100%; height: auto; }
.casestudy-image::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand); z-index: 2;
}

/* CMS case-study list cards */
.casestudy-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  transition: border-color .25s, transform .25s;
}
.casestudy-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.casestudy-card-img { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--border); margin-bottom: 14px; }
.casestudy-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.casestudy-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.casestudy-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   Latest articles / Insights
   ============================================================ */
.insight-card {
  padding: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  transition: border-top-color .25s;
  display: flex; flex-direction: column;
}
.insight-card:hover { border-top-color: var(--accent-3); }
.insight-img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--accent-3); margin-bottom: 8px;
}
.insight-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; color: var(--text-primary); padding: 0 4px; }
.insight-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; padding: 0 4px; flex: 1; }
.insight-meta { font-size: 12px; color: var(--text-tertiary); margin-top: 14px; padding: 0 4px 18px; }
.insight-body { padding: 0; }
.insights-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 0; }

/* ============================================================
   Testimonials — left rail
   ============================================================ */
.testimonial-card {
  position: relative;
  padding: 28px 26px;
  background: var(--bg-secondary);
  border-left: 3px solid transparent;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: border-left-color .25s, transform .25s;
}
.testimonial-card:hover { border-left-color: var(--accent-3); transform: translateY(-2px); }
.testimonial-card blockquote,
.testimonial-quote { font-size: 17px; color: var(--text-primary); line-height: 1.7; margin-bottom: 22px; font-style: italic; display: block; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: 0 0 44px;
  background: var(--bg-tertiary);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-author-meta strong,
.testimonial-name { display: block; font-size: 14px; font-weight: 700; color: var(--text-primary); }
.testimonial-author-meta span,
.testimonial-role { font-size: 12px; color: var(--text-tertiary); }

/* Full testimonials grid (testimonials.html) - masonry column layout */
.testimonials-grid {
  column-count: 3;
  column-gap: 18px;
  margin-top: 44px;
}
@media (max-width: 900px) { .testimonials-grid { column-count: 2; } }
@media (max-width: 600px) { .testimonials-grid { column-count: 1; } }
.testimonial-full-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 24px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 2px solid var(--border-hover);
  transition: border-left-color .25s, transform .25s;
}
.testimonial-full-card:hover { border-left-color: var(--accent-3); transform: translateY(-2px); }
.testimonial-full-quote {
  font-size: 16px; color: var(--text-primary); line-height: 1.65;
  font-style: italic; margin-bottom: 18px;
}
.testimonial-full-author { display: flex; align-items: center; gap: 12px; }
.testimonial-full-photo {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: 0 0 40px;
  background: var(--bg-tertiary);
}
.testimonial-full-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-full-name { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.testimonial-full-role { font-size: 12px; color: var(--text-tertiary); line-height: 1.3; margin-top: 2px; }

/* Rail variant — transparent, accent left rail only */
.testimonials-rail .testimonial-card {
  background: transparent;
  border-top: 0; border-right: 0; border-bottom: 0;
  border-left: 2px solid var(--border-hover);
  padding: 8px 0 8px 22px;
}
.testimonials-rail .testimonial-card:hover {
  border-left-color: var(--accent-3);
  border-left-width: 4px;
  padding-left: 20px;
}

/* ============================================================
   Differentiators — numbered rows
   ============================================================ */
.differentiators { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.differentiator-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.differentiator-cell { padding: 28px 18px; position: relative; }
.differentiator-cell + .differentiator-cell { border-left: 1px solid var(--border); }
.differentiator-num {
  font-size: 22px; font-weight: 800; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.differentiator-cell h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.differentiator-cell p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ============================================================
   Final CTA
   ============================================================ */
.final,
.final-cta {
  padding: 100px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.final::before,
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(0,225,117,0.16), transparent 65%),
    radial-gradient(700px 400px at 50% 100%, rgba(45,179,255,0.14), transparent 65%);
  pointer-events: none;
}
.final h2,
.final-cta h2 {
  font-size: 46px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 auto 16px; max-width: 820px;
  color: var(--text-primary);
}
.final h2 .highlight,
.final-cta h2 .highlight,
.final-cta h2 span.highlight {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.final p,
.final-cta p { color: var(--text-secondary); font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.final-btns,
.final-cta-btns { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text-secondary); font-size: 15px; margin-top: 18px; max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.footer-social a {
  color: var(--text-secondary); font-size: 13px; font-weight: 600;
  letter-spacing: 0.4px; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.footer-social a:hover { color: var(--accent-3); border-bottom-color: var(--accent-3); }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent-3); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-tertiary); font-size: 13px;
}
.footer-bottom a { color: var(--text-tertiary); }
.footer-bottom a:hover { color: var(--accent-3); }
.footer img.logo,
.footer .footer-brand img { height: 32px; width: auto; }

/* ============================================================
   Pricing — plan cards
   ============================================================ */
.plans-section { padding: 96px 0 56px; }
.plans-section + .section { padding-top: 56px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.plan-card {
  position: relative;
  padding: 36px 28px;
  background: transparent;
  display: flex; flex-direction: column;
}
.plan-card + .plan-card { border-left: 1px solid var(--border); }
.plan-card.featured {
  background: linear-gradient(180deg, rgba(0,225,117,0.07), rgba(45,179,255,0.04));
}
.plan-card.featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 12px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: #042018;
  background: var(--grad-brand);
}
.plan-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.plan-card > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 18px; min-height: 42px; line-height: 1.55; }
.plan-price {
  font-size: 34px; font-weight: 800; line-height: 1;
  color: var(--text-primary);
  margin-bottom: 22px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.plan-price span {
  font-size: 12px; font-weight: 500; color: var(--text-tertiary);
  letter-spacing: 0.6px; text-transform: uppercase;
}
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.plan-features li { display: flex; gap: 10px; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.plan-features li::before {
  content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%;
  background: var(--grad-brand);
}
.plan-card .btn-primary,
.plan-card .btn-outline { align-self: flex-start; }
.plan-includes {
  margin-top: 36px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.plan-includes h4,
.plan-includes-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 22px;
}
.plan-includes ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 32px;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  text-align: left;
}
.plan-includes ul li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  background: transparent;
  border: none;
}
.plan-includes ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 6px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent-3);
  border-bottom: 2px solid var(--accent-3);
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .plan-includes ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .plan-includes ul { grid-template-columns: 1fr; }
}
.plan-footnote { font-size: 13px; color: var(--text-tertiary); margin-top: 28px; text-align: center; }
.faq-prose { max-width: 820px; margin-top: 32px; }
.faq-prose details { border-top: 1px solid var(--border); padding: 16px 0; }
.faq-prose details:last-of-type { border-bottom: 1px solid var(--border); }
.faq-prose summary { cursor: pointer; font-size: 17px; font-weight: 700; color: var(--text-primary); list-style: none; position: relative; padding-right: 32px; }
.faq-prose summary::-webkit-details-marker { display: none; }
.faq-prose summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent-3); font-size: 22px; line-height: 1; font-weight: 400; transition: transform .25s; }
.faq-prose details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-prose details p { margin-top: 10px; color: var(--text-secondary); }
.section-sub-spaced { margin-top: 32px; }
.proof-box { margin-top: 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.proof-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.proof-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border); color: var(--text-secondary); font-size: 14.5px; }
.proof-list li:last-child { border-bottom: 0; }
.proof-list li strong { color: var(--text-primary); font-weight: 700; }
.proof-total { margin-top: 22px; font-size: 18px; color: var(--text-secondary); }
.proof-total strong { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.container-narrow { max-width: 760px; }
.contact-form-wide { max-width: none; }
.testimonial-iframe { border: 0; width: 100%; min-height: 720px; display: block; }

/* ============================================================
   Forms
   ============================================================ */
.contact-widget { background: var(--bg-secondary); border-top: 1px solid var(--border); }
.contact-widget-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-widget-inner .section-title { margin-left: auto; margin-right: auto; max-width: none; }
.contact-widget-inner .section-sub { margin: 0 auto 28px; }
.contact-widget-inner .rt-contact-form { margin: 0 auto; text-align: left; }
.contact-widget-inner .rt-contact-form button[type="submit"] { justify-self: center; }
.contact-form-wrapper { max-width: 720px; }
.contact-form-head { margin-bottom: 28px; }
.rt-contact-form { display: grid; gap: 14px; max-width: 640px; }
.rt-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rt-contact-form input,
.rt-contact-form textarea,
.rt-contact-form select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  transition: border-color .2s, background .2s;
}
.rt-contact-form input::placeholder,
.rt-contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.rt-contact-form input:focus,
.rt-contact-form textarea:focus,
.rt-contact-form select:focus {
  outline: none;
  border-color: var(--accent-3);
  background: rgba(0,225,117,0.04);
}
.rt-contact-form textarea { min-height: 140px; resize: vertical; }
.rt-contact-form button[type="submit"] { justify-self: start; }
[data-form-done], [data-form-fail] {
  padding: 12px 16px; font-size: 14px;
  border-left: 3px solid var(--accent-3);
  background: rgba(0,225,117,0.06);
  color: var(--text-primary);
}
[data-form-fail] { border-left-color: #ff6b6b; background: rgba(255,107,107,0.08); }

/* ============================================================
   Article / case-study / testimonial template pages
   ============================================================ */
.article-hero { padding: 60px 0 30px; }
.article-card-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-3); margin-bottom: 8px; }
.article-hero-actions { margin-bottom: 24px; }
.article-hero .hero-desc { margin-bottom: 24px; max-width: 720px; }
.case-study-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.case-study-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--border-hover); color: var(--text-secondary); }
.article-cover-logo { max-width: 280px; padding: 24px; background: var(--bg-secondary); }
.article-cover-icon { max-width: 120px; padding: 16px; background: var(--bg-secondary); }
.hero-visual { position: relative; border: 1px solid var(--border); background: var(--bg-tertiary); overflow: hidden; }
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-visual::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-brand); z-index: 2; }
.related-heading { margin-top: 48px; font-size: 24px; font-weight: 800; color: var(--text-primary); }
.casestudy-card-client { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-3); margin-bottom: 4px; }
.casestudy-card-body { padding-top: 0; }
.team-portrait { max-width: 320px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; margin: 16px 0 28px; border: 2px solid var(--border-hover); }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* About: narrative stats trio */
.section-intro { padding-bottom: 24px; }
.section-intro + .section { padding-top: 24px; }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.narrative-prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--text-secondary); }
.narrative-prose p { margin-bottom: 16px; }
.narrative-prose strong { color: var(--text-primary); }
.narrative-prose blockquote {
  margin: 28px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--border);
  font-style: italic; font-size: 18px; color: var(--text-primary); line-height: 1.6;
}
.narrative-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.narrative-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.narrative-stat:last-child { border-right: 0; }
.narrative-stat-val {
  font-family: var(--font);
  font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.narrative-stat-val span { font-size: 36px; }
.narrative-stat-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--text-tertiary);
}

/* About: compact team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.team-member {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.team-member:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.team-member.has-bio { cursor: help; }
.team-bio {
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  width: 320px; max-width: 90vw;
  padding: 16px 18px;
  background: rgba(7,9,15,0.98);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid var(--border-hover);
  font-size: 14px; line-height: 1.55; color: var(--text-primary);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 40;
}
.team-bio::after {
  content: ""; position: absolute;
  left: 50%; top: 100%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--border-hover);
}
.team-bio p { margin: 0 0 8px; }
.team-bio p:last-child { margin: 0; }
.team-bio strong { color: var(--accent-3); }
.team-member.has-bio:hover .team-bio,
.team-member.has-bio:focus-within .team-bio {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.team-photo {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-info { min-width: 0; }
.team-name { font-size: 15px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.team-role { font-size: 13px; color: var(--text-tertiary); line-height: 1.35; margin-top: 2px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .narrative-stats { grid-template-columns: 1fr; }
  .narrative-stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .narrative-stat:last-child { border-bottom: 0; }
}
.hero-single { padding: 80px 0 60px; }
.hero-single .hero-grid,
.hero.hero-single { display: block; }
.hero-single .hero-desc { color: var(--text-secondary); max-width: 720px; }
.article-hero h1 { font-size: 44px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; color: var(--text-primary); margin: 16px 0 18px; max-width: 820px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 8px; }
.breadcrumb a { color: var(--text-tertiary); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-3); }
.breadcrumb-sep { color: var(--text-tertiary); opacity: 0.5; }
.article-cover { margin: 32px 0; border: 1px solid var(--border); overflow: hidden; }
.article-cover img { display: block; width: 100%; height: auto; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--text-tertiary); font-size: 13px; }
.article-meta-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: 0 0 36px; background: var(--bg-tertiary); }
.article-meta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rich-text-body,
.prose { font-size: 16.5px; line-height: 1.75; color: var(--text-primary); max-width: 720px; }
.prose h2 { font-size: 28px; font-weight: 800; margin: 40px 0 14px; line-height: 1.25; color: var(--text-primary); }
.prose h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; line-height: 1.3; color: var(--text-primary); }
.prose p { margin-bottom: 18px; color: var(--text-secondary); }
.prose a { color: var(--accent-3); border-bottom: 1px solid rgba(101,255,176,0.3); }
.prose a:hover { border-bottom-color: var(--accent-3); }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: var(--text-secondary); }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 24px 0; padding: 18px 24px;
  border-left: 3px solid var(--accent-3);
  background: var(--bg-secondary);
  font-style: italic; color: var(--text-primary);
}
.prose code { background: var(--bg-tertiary); padding: 2px 6px; font-size: 0.92em; border: 1px solid var(--border); }
.prose pre { background: var(--bg-tertiary); padding: 18px; overflow-x: auto; border: 1px solid var(--border); margin-bottom: 18px; }
.prose pre code { background: transparent; border: 0; padding: 0; }
.prose img { margin: 18px 0; border: 1px solid var(--border); }
.rich-text-body h2 { font-size: 28px; font-weight: 800; margin: 40px 0 14px; line-height: 1.25; color: var(--text-primary); }
.rich-text-body h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; line-height: 1.3; color: var(--text-primary); }
.rich-text-body p { margin-bottom: 18px; color: var(--text-secondary); }
.rich-text-body a { color: var(--accent-3); border-bottom: 1px solid rgba(101,255,176,0.3); }
.rich-text-body a:hover { border-bottom-color: var(--accent-3); }
.rich-text-body ul, .rich-text-body ol { margin: 0 0 18px 24px; color: var(--text-secondary); }
.rich-text-body li { margin-bottom: 8px; }
.rich-text-body blockquote {
  margin: 24px 0; padding: 18px 24px;
  border-left: 3px solid var(--accent-3);
  background: var(--bg-secondary);
  font-style: italic; color: var(--text-primary);
}
.rich-text-body code {
  background: var(--bg-tertiary); padding: 2px 6px; font-size: 0.92em;
  border: 1px solid var(--border);
}
.rich-text-body pre {
  background: var(--bg-tertiary); padding: 18px; overflow-x: auto;
  border: 1px solid var(--border); margin-bottom: 18px;
}
.rich-text-body pre code { background: transparent; border: 0; padding: 0; }
.rich-text-body img { margin: 18px 0; border: 1px solid var(--border); }

/* ============================================================
   Reveal animation
   ============================================================ */
.animate { opacity: 0; transform: translateY(14px); animation: rise .7s ease forwards; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; }
.d5 { animation-delay: .40s; }
.d6 { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Geo-aware content (CSS-only blocks)
   ============================================================ */
[data-geo-block] { display: none; }
html[data-geo="NZ"] [data-geo-block~="NZ"],
html[data-geo="AU"] [data-geo-block~="AU"],
html[data-geo="US"] [data-geo-block~="US"] { display: block; }
html:not([data-geo="NZ"]):not([data-geo="AU"]):not([data-geo="US"]) [data-geo-block~="ROW"] { display: block; }
html:not([data-geo-resolved="true"]) [data-geo-block~="NZ"] { display: block; }
html:not([data-geo-resolved="true"]) [data-geo-block~="AU"]:not([data-geo-block~="NZ"]),
html:not([data-geo-resolved="true"]) [data-geo-block~="US"]:not([data-geo-block~="NZ"]),
html:not([data-geo-resolved="true"]) [data-geo-block~="ROW"]:not([data-geo-block~="NZ"]) { display: none; }
[data-geo-block].geo-inline { display: none; }
html[data-geo="NZ"] [data-geo-block~="NZ"].geo-inline,
html[data-geo="AU"] [data-geo-block~="AU"].geo-inline,
html[data-geo="US"] [data-geo-block~="US"].geo-inline,
html:not([data-geo-resolved="true"]) [data-geo-block~="NZ"].geo-inline { display: inline; }
html:not([data-geo="NZ"]):not([data-geo="AU"]):not([data-geo="US"]) [data-geo-block~="ROW"].geo-inline { display: inline; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card + .plan-card { border-left: 0; }
  .plan-card:nth-child(odd) { border-right: 1px solid var(--border); }
  .plan-card:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { max-width: 320px; order: -1; }
  .grid-3, .grid-4, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 46px; }
  .section-title { font-size: 34px; }
  .final h2, .final-cta h2 { font-size: 36px; }
  .differentiator-row { grid-template-columns: repeat(2, 1fr); }
  .differentiator-cell:nth-child(n+2) { border-left: 0; }
  .differentiator-cell:nth-child(even) { border-left: 1px solid var(--border); }
  .differentiator-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
  .compare-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .compare-grid.grid-4 .compare-card:nth-child(odd) { border-left: 0; }
  .compare-grid.grid-4 .compare-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .casestudy-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { padding-top: 70px; }
  .container, .nav-inner, .trust-inner { padding-left: 20px; padding-right: 20px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,9,15,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-cta { padding: 9px 12px; font-size: 11px; letter-spacing: 0.3px; gap: 6px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%); }
  .hero-portrait { display: none; }
  .hero-stats { display: none; }
  .nav-group { display: block; width: 100%; }
  .nav-group-trigger { width: 100%; padding: 12px 0; justify-content: space-between; border-bottom: 1px solid var(--border); }
  .nav-dropdown { position: static; display: none; padding: 0 0 0 16px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
  .nav-group.is-open .nav-dropdown { display: flex; }
  .nav-dropdown a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .hero { padding: 24px 0 16px; }
  .hero-btns { margin-bottom: 0; }
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-portrait { max-width: 240px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .nz-trust { padding: 32px 0; }
  .cta-strip { padding: 36px 0; }
  .ai-band { padding: 48px 0; }
  .final, .final-cta { padding: 56px 0; }
  .plans-section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .process-grid, .compare-grid, .compare-grid.grid-4 { grid-template-columns: 1fr; }
  .compare-card + .compare-card { border-left: 0; border-top: 1px solid var(--border); }
  .differentiator-row { grid-template-columns: 1fr; }
  .differentiator-cell + .differentiator-cell { border-left: 0; border-top: 1px solid var(--border); }
  .section-title { font-size: 28px; }
  .final h2, .final-cta h2 { font-size: 30px; }
  .cta-card { padding: 28px 24px; }
  .ai-band-inner { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card:nth-child(odd) { border-right: 0; }
  .plan-card + .plan-card { border-top: 1px solid var(--border); border-left: 0; }
  .rt-contact-form .form-row { grid-template-columns: 1fr; }
}
