/* NextGeneSol — shared site styles (all pages). No inline styles anywhere: the CSP forbids them. */
:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --ink: #0b0d12;
  --ink-2: #262b36;
  --muted: #5b6270;
  --muted-2: #8a909c;
  --line: #e5e7eb;
  --line-strong: #d4d7dd;
  --brand: #0aa3dc;
  --brand-ink: #0a6f99;
  --brand-soft: rgba(10, 163, 220, 0.08);
  --accent: #f5a51f;
  --dark: #0b0d12;
  --dark-2: #141821;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-muted: #9aa1ad;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 13, 18, 0.04), 0 8px 24px -12px rgba(11, 13, 18, 0.12);
  --shadow-lg: 0 24px 60px -24px rgba(11, 13, 18, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.2rem;
}
p {
  text-wrap: pretty;
}
strong {
  color: var(--ink);
  font-weight: 600;
}
::selection {
  background: rgba(10, 163, 220, 0.2);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 820px;
}
section {
  position: relative;
}
.section {
  padding: 112px 0;
}
.section-tight {
  padding: 72px 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Labels, headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.dark .eyebrow {
  color: #7fd3f2;
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head-row .section-head {
  margin-bottom: 0;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
}
.muted {
  color: var(--muted);
}
.grad {
  background: linear-gradient(100deg, var(--brand) 10%, #4f7cff 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #232835;
  box-shadow: 0 8px 24px -10px rgba(11, 13, 18, 0.5);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.cta-box .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.cta-box .btn-ghost:hover {
  border-color: #fff;
}
.dark .btn-primary,
.cta-box .btn-primary,
.btn-light {
  background: #fff;
  color: var(--ink);
}
.dark .btn-primary:hover,
.cta-box .btn-primary:hover,
.btn-light:hover {
  background: #e9edf2;
}
.dark .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.dark .btn-ghost:hover {
  border-color: #fff;
}
.ticks + .btn-row,
.lead + .btn-row,
.lead + .ticks {
  margin-top: 2rem;
}
.lead + .lead {
  margin-top: 1rem;
}
.split h2,
.founder h2 {
  margin-bottom: 1.25rem;
}
.split .lead,
.founder .lead {
  margin-bottom: 0;
}
.hero .lead + .btn-row,
.service-block .lead + .btn-row,
.service-block .lead + .ticks {
  margin-top: 0;
}
.btn-sm {
  height: 38px;
  padding: 0 1rem;
  font-size: 0.875rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(3px);
}
.dark .link-arrow {
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  /* deep indigo: dark, and a different hue from the logo blue so blue, orange and grey all stand out */
  background: linear-gradient(90deg, rgba(30, 27, 58, 0.97), rgba(40, 36, 78, 0.97));
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow 0.25s;
}
.site-header::after {
  /* brand accent line: logo blue → logo orange */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand) 25%, #4f7cff 55%, var(--accent) 80%, transparent);
  opacity: 0.85;
}
.site-header.solid,
.site-header.nav-open {
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 64px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.935rem;
  color: #d3dcea;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav a[aria-current="page"] {
  color: #fff;
  font-weight: 500;
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--brand);
}
.site-header .btn-primary {
  background: #fff;
  color: var(--ink);
}
.site-header .btn-primary:hover {
  background: #e3f4fb;
  box-shadow: 0 0 0 4px rgba(10, 163, 220, 0.25);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before {
  top: -5px;
}
.menu-toggle span::after {
  top: 5px;
}
.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}
.nav-mobile-cta {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 96px) 0 96px;
  overflow: hidden;
}
.hero::before {
  /* fine grid that fades out */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(10, 163, 220, 0.16), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(245, 165, 31, 0.12), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero .lead {
  margin-bottom: 2.25rem;
}
.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}
.page-hero .wrap {
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  max-width: 860px;
  margin-bottom: 1.25rem;
}

/* RAG console visual (hero) */
.console {
  background: var(--dark);
  color: #e6e9ef;
  border-radius: 20px;
  border: 1px solid #1f2430;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.875rem;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--dark-muted);
}
.console-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b3140;
}
.console-bar span {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.console-bar span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}
.console-body {
  padding: 22px;
  display: grid;
  gap: 16px;
}
.msg-q {
  justify-self: end;
  max-width: 85%;
  background: #1c2230;
  border: 1px solid var(--dark-line);
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
}
.retrieval {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--dark-muted);
  display: grid;
  gap: 6px;
}
.retrieval li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-line);
}
.retrieval b {
  font-weight: 500;
  color: #7fd3f2;
}
.msg-a {
  max-width: 92%;
  line-height: 1.55;
  color: #d5dae3;
}
.msg-a sup {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #7fd3f2;
  margin-left: 2px;
}
.console-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 22px 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.console .chip {
  background: transparent;
  border-color: var(--dark-line);
  color: var(--dark-muted);
}
.caret {
  display: inline-block;
  width: 7px;
  height: 1em;
  vertical-align: -2px;
  background: #7fd3f2;
  margin-left: 2px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---------- Logo strip / client grid ---------- */
.logo-strip {
  padding: 40px 0 8px;
}
.logo-strip p {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  mix-blend-mode: multiply;
  transition: filter 0.3s, opacity 0.3s;
}
.marquee-track img:hover {
  filter: none;
  opacity: 1;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.client-tile {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client-tile img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  mix-blend-mode: multiply;
  transition: filter 0.3s, opacity 0.3s, transform 0.4s var(--ease);
}
.client-tile:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.client-tile.placeholder span {
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.2;
}
.client-tile.placeholder small {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Cards / grids ---------- */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
a.card:hover,
.card.hoverable:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card h3 {
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--muted);
  font-size: 0.975rem;
}
.card .link-arrow {
  margin-top: 1.5rem;
}
.card-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted-2);
  margin-bottom: 1.75rem;
  display: block;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-ink);
  margin-bottom: 1.5rem;
}
.icon svg {
  width: 22px;
  height: 22px;
}
.icon.orange {
  background: rgba(245, 165, 31, 0.12);
  color: #b26f00;
}
.card.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: #d5dae3;
}
.card.featured h3 {
  color: #fff;
}
.card.featured p {
  color: var(--dark-muted);
}
.card.featured .icon {
  background: rgba(127, 211, 242, 0.12);
  color: #7fd3f2;
}
.card.featured .card-num {
  color: var(--dark-muted);
}
.card.featured .link-arrow {
  color: #fff;
}
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 500;
}
.card.featured .badge {
  background: rgba(127, 211, 242, 0.14);
  color: #7fd3f2;
}
.card .badge {
  position: absolute;
  top: 28px;
  right: 28px;
}

.ticks {
  display: grid;
  gap: 10px;
  margin-top: 1.25rem;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6f99' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.dark .ticks li,
.card.featured .ticks li {
  color: #d5dae3;
}
.dark .ticks li::before,
.card.featured .ticks li::before {
  background-color: rgba(127, 211, 242, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd3f2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.ticks.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

/* ---------- Dark section ---------- */
.dark {
  background: var(--dark);
  color: var(--dark-muted);
  overflow: hidden;
}
.dark h2,
.dark h3,
.dark strong {
  color: #fff;
}
.dark .section-head p,
.dark .lead {
  color: var(--dark-muted);
}
.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 80% 20%, #000 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.dark .wrap {
  position: relative;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.top {
  align-items: start;
}
.panel {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--dark-2);
  padding: 8px;
}
.panel-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 10px;
}
.panel-row + .panel-row {
  border-top: 1px solid var(--dark-line);
  border-radius: 0;
}
.panel-row .icon {
  width: 40px;
  height: 40px;
  margin: 0;
  background: rgba(127, 211, 242, 0.1);
  color: #7fd3f2;
}
.panel-row h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.panel-row p {
  font-size: 0.9rem;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  padding: 32px 28px 0 0;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--brand-ink);
  display: block;
  margin-bottom: 1.25rem;
}
.step::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.step h3 {
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Stats / case study ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 28px;
}
.stat b {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat span {
  font-size: 0.9rem;
  color: var(--muted);
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.case > div {
  padding: 48px;
}
.case > div + div {
  border-left: 1px solid var(--line);
  background: var(--surface-2);
}
.case h3 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.case h4 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 1rem;
}
.case-results b {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
}
.case-results span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Testimonials ---------- */
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.quote blockquote {
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 3rem;
  line-height: 0.8;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-ink);
  background: var(--brand-soft);
  flex-shrink: 0;
}
img.avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: 50% 15%;
  background: var(--surface-2);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line);
}
.quote figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.quote figcaption span {
  color: var(--muted);
}

/* ---------- Service detail ---------- */
.service-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(251, 251, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.service-nav ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.service-nav ul::-webkit-scrollbar {
  display: none;
}
.service-nav a {
  display: block;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--muted);
}
.service-nav a:hover,
.service-nav a.active {
  color: var(--ink);
  background: rgba(11, 13, 18, 0.05);
}
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child {
  border-bottom: 0;
}
.service-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.service-block .lead {
  font-size: 1.075rem;
  margin-bottom: 1.75rem;
}
.service-side {
  display: grid;
  gap: 16px;
  align-content: start;
}
.service-side .card {
  padding: 28px;
}
.service-side h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare th,
.compare td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-2);
}
.compare tbody tr:last-child td,
.compare tbody tr:last-child th {
  border-bottom: 0;
}
.compare tbody th {
  font-weight: 500;
  color: var(--ink);
}
.compare td:last-child {
  color: var(--brand-ink);
  font-weight: 500;
}
.compare td:nth-child(2) {
  color: var(--muted);
}

/* ---------- Products ---------- */
.product {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-logo {
  height: 56px;
  display: flex;
  align-items: center;
}
.product-logo img {
  max-height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.product-logo .mono-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  font-weight: 600;
  color: var(--muted);
}
.product .ticks {
  margin-top: 0;
}
.product-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.product .badge {
  position: static;
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ---------- Modules (ERP) ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.module {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.module::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.erp-logo {
  max-width: 340px;
  margin-bottom: 2rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 0 0 112px;
}
.section-alt + .cta-band,
.dark + .cta-band,
.page-hero + .cta-band {
  padding-top: 112px;
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-box::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle, rgba(10, 163, 220, 0.35), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(245, 165, 31, 0.22), transparent 55%);
  filter: blur(10px);
  pointer-events: none;
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-box p {
  color: var(--dark-muted);
  font-size: 1.075rem;
}
.cta-box .btn-row {
  justify-content: flex-end;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.field label .opt {
  color: var(--muted-2);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.975rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid {
  border-color: #dc2626;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-foot {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form-foot small {
  color: var(--muted);
  font-size: 0.8rem;
  max-width: 340px;
}
.form-foot small a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.turnstile-slot {
  margin-top: 20px;
  min-height: 65px;
}
.form-status {
  display: none;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.925rem;
}
.form-status.show {
  display: block;
}
.form-status.ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status.err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.info-list {
  display: grid;
  gap: 12px;
}
.info-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.info-item .icon {
  width: 40px;
  height: 40px;
  margin: 0;
}
.info-item h3 {
  font-size: 0.8rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-item p,
.info-item a {
  color: var(--ink);
  font-size: 0.975rem;
}
.info-item a:hover {
  color: var(--brand-ink);
}
.map {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map.loaded {
  padding: 0;
}
.map p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ---------- Legal / prose ---------- */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
}
.prose h3 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.6rem;
}
.prose p,
.prose li {
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose .note {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(10, 163, 220, 0.2);
  font-size: 0.95rem;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 2px;
  font-size: 0.875rem;
}
.toc a {
  color: var(--muted);
  padding: 6px 12px;
  border-left: 2px solid var(--line);
}
.toc a:hover {
  color: var(--ink);
  border-left-color: var(--brand);
}
.legal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
}

/* ---------- About ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-lg);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.founder-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 72px 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 18, 0.88));
  color: #fff;
  display: grid;
  gap: 2px;
}
.founder-photo figcaption b {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.founder-photo figcaption span {
  color: #c7ccd6;
  font-size: 0.925rem;
}
.founder-card {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
}
.founder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(10, 163, 220, 0.45), transparent 55%),
    radial-gradient(circle at 20% 60%, rgba(245, 165, 31, 0.3), transparent 50%);
}
.founder-card .initial {
  position: absolute;
  top: 24px;
  left: 32px;
  font-size: 7rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}
.founder-card b,
.founder-card span {
  position: relative;
}
.founder-card b {
  font-size: 1.4rem;
  font-weight: 600;
}
.founder-card span {
  color: #c7ccd6;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: 80px 0 32px;
  font-size: 0.925rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
}
.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
}
.footer-brand p {
  max-width: 300px;
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.site-footer ul {
  display: grid;
  gap: 10px;
}
.site-footer a {
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #fff;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: #7fd3f2;
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.socials a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.socials svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom ul {
  display: flex;
  gap: 20px;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.notfound .code {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--brand-ink);
  margin-bottom: 1rem;
}
.notfound .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    row-gap: 32px;
  }
  .marquee-track img[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a {
    padding: 0.5rem 0.6rem;
  }
  .grid-4,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    row-gap: 40px;
  }
  .modules {
    grid-template-columns: repeat(3, 1fr);
  }
  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }
  .brand img {
    height: 54px;
  }
  .section {
    padding: 80px 0;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-cta .btn {
    display: none;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 24px;
    background: #1e1b3a;
    border-bottom: 1px solid var(--dark-line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: 14px 8px;
    border-radius: 0;
    border-bottom: 1px solid var(--dark-line);
    font-size: 1rem;
    color: #e6e9ef;
  }
  .nav a:hover {
    background: none;
  }
  .nav a[aria-current="page"]::after {
    display: none;
  }
  .nav .nav-mobile-cta {
    display: inline-flex;
    margin-top: 16px;
    border: 0;
    background: #fff;
    color: var(--ink);
    padding: 0 1.3rem;
    border-radius: 999px;
  }
  .nav .nav-mobile-cta:hover {
    background: #e3f4fb;
  }
  .hero-grid,
  .split,
  .contact-grid,
  .founder,
  .service-block,
  .case,
  .cta-box,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 48px;
  }
  .split {
    gap: 48px;
  }
  .service-block {
    gap: 32px;
    padding: 72px 0;
  }
  .case > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .cta-box {
    padding: 48px 32px;
  }
  .cta-box .btn-row {
    justify-content: flex-start;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .toc {
    display: none;
  }
  .founder-card {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding: calc(var(--header-h) + 56px) 0 64px;
  }
  .page-hero {
    padding: calc(var(--header-h) + 56px) 0 56px;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .form-grid,
  .ticks.cols-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modules {
    grid-template-columns: 1fr 1fr;
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-tile {
    padding: 20px;
  }
  .card,
  .form-card {
    padding: 24px;
  }
  .case > div {
    padding: 28px;
  }
  .cta-box {
    padding: 40px 24px;
    border-radius: 20px;
  }
  .cta-band {
    padding-bottom: 64px;
  }
  .section-alt + .cta-band,
  .dark + .cta-band {
    padding-top: 64px;
  }
  .btn-row .btn {
    flex: 1 1 auto;
  }
  .compare th,
  .compare td {
    padding: 12px;
    font-size: 0.875rem;
  }
  .brand img {
    height: 50px;
  }
  .console-body {
    padding: 16px;
  }
  .retrieval li span:last-child {
    display: none;
  }
}

/* Wide, short wordmarks (e.g. GCAA) need more width to stay legible */
.marquee-track img.wide {
  max-width: 220px;
  height: 52px;
}
.notfound h1 {
  margin-bottom: 1.25rem;
}
.notfound .lead {
  margin: 0 auto;
}

/* ---------- Testimonial hover ---------- */
.quote {
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.quote::before {
  /* brand line that sweeps in along the top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #4f7cff, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.quote blockquote::before {
  transition: transform 0.4s var(--ease), color 0.3s;
  transform-origin: left bottom;
}
.quote img.avatar {
  transition: box-shadow 0.3s, transform 0.4s var(--ease);
}
.quote:hover,
.quote:focus-within {
  transform: translateY(-6px);
  border-color: rgba(10, 163, 220, 0.35);
  box-shadow: 0 24px 48px -24px rgba(10, 60, 120, 0.35);
}
.quote:hover::before,
.quote:focus-within::before {
  transform: scaleX(1);
}
.quote:hover blockquote::before {
  transform: scale(1.25);
  color: var(--accent);
}
.quote:hover img.avatar {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand);
}

/* ---------- Careers ---------- */
.role {
  display: flex;
  flex-direction: column;
}
.role-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 1.5rem;
}
.card.role .badge {
  position: static;
}
.role .link-arrow {
  margin-top: auto;
  padding-top: 1.5rem;
}
.careers-info {
  margin-top: 2rem;
}
#apply aside h2 {
  margin-bottom: 1rem;
}

/* ---------- Homepage: positioning ---------- */
.cred-bar {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.cred-bar li {
  padding: 24px 24px 0 0;
}
.cred-bar li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.cred-bar b {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
}
.cred-bar span {
  font-size: 0.9rem;
  color: var(--muted);
}

.journey {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--dark-line);
  margin-left: 8px;
}
.journey li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 0 0 32px 28px;
}
.journey li:last-child {
  padding-bottom: 0;
}
.journey li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid #7fd3f2;
}
.journey li:last-child::before {
  background: var(--accent);
  border-color: var(--accent);
}
.journey span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #7fd3f2;
  padding-top: 3px;
}
.journey h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.journey p {
  font-size: 0.95rem;
}

.pillar {
  display: flex;
  flex-direction: column;
}
.pillar .card-num {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 1.25rem;
}
.pillar.featured .card-num {
  color: #7fd3f2;
}
.pillar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.25rem;
}
.pillar-list li {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
}
.pillar.featured .pillar-list li {
  background: rgba(255, 255, 255, 0.08);
  color: #d5dae3;
}
.pillar .link-arrow {
  margin-top: auto;
  padding-top: 1.5rem;
}

.story-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.story-head h3 {
  margin: 0;
  font-size: 1.3rem;
}
.story dl {
  display: grid;
  gap: 14px;
}
.story dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.story dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.story dd {
  font-size: 0.95rem;
  color: var(--ink-2);
}
.story dl div:last-child dd {
  color: var(--ink);
  font-weight: 600;
}

.logo-row {
  margin-top: 56px;
  text-align: center;
}
.logo-row p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.logo-row ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 48px;
  margin-bottom: 28px;
}
.logo-row img {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  mix-blend-mode: multiply;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-row img:hover {
  filter: none;
  opacity: 1;
}

a.panel-row {
  transition: background 0.2s;
}
a.panel-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.panel-tag {
  align-self: start;
  justify-self: start;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(127, 211, 242, 0.12);
  color: #7fd3f2;
}
.panel-row {
  grid-template-columns: 52px 1fr;
}

.steps-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1080px) {
  .steps-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .cred-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .cred-bar li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 640px) {
  .steps-5 {
    grid-template-columns: 1fr;
  }
  .story dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .story-head {
    flex-wrap: wrap;
  }
}

/* ---------- Services: pillar grouping ---------- */
.pillar-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: end;
  padding: 112px 0 40px;
  border-bottom: 1px solid var(--line-strong);
}
.pillar-label {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(100deg, var(--brand) 10%, #4f7cff 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.5rem;
}
.pillar-head p {
  color: var(--muted);
  font-size: 1.05rem;
}
.pillar-head + .service-block {
  border-top: 0;
}
.service-block .service-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}
.service-nav a.nav-pillar {
  font-weight: 600;
  color: var(--brand-ink);
}
.service-nav li:has(.nav-pillar):not(:first-child) {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

@media (max-width: 900px) {
  .pillar-head {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 80px;
  }
}

/* ---------- Landing & case-study pages ---------- */
.page-hero .cred-bar {
  margin-top: 48px;
  max-width: 980px;
}
.journey-light {
  border-left-color: var(--line-strong);
}
.journey-light li::before {
  background: var(--bg);
  border-color: var(--brand);
}
.journey-light span {
  color: var(--brand-ink);
}
.journey-light p {
  color: var(--muted);
}
.card h3 + p + .link-arrow,
.card p + .link-arrow {
  margin-top: 1.25rem;
}
.pillar-head .link-arrow {
  margin-top: 1rem;
}

/* Shared page chrome (assets/js/components.js) */
site-header,
site-footer {
  display: block;
}

/* ---------- Meet the team ---------- */
.team {
  display: grid;
  gap: 24px;
  justify-content: center;
}
.team-lead {
  grid-template-columns: repeat(2, minmax(0, 340px));
}
.team-row {
  grid-template-columns: repeat(3, minmax(0, 300px));
  margin-top: 24px;
}
.member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.member-info {
  display: grid;
  gap: 2px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  position: relative;
  background: var(--surface);
}
.member-info b {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.member-info span {
  font-size: 0.9rem;
  color: var(--brand-ink);
}
.member:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 163, 220, 0.35);
  box-shadow: 0 24px 48px -24px rgba(10, 60, 120, 0.35);
}
.member:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .team-row {
    grid-template-columns: repeat(2, minmax(0, 300px));
  }
}
@media (max-width: 640px) {
  .team-lead,
  .team-row {
    grid-template-columns: minmax(0, 340px);
  }
}
