:root {
  --ink: #0a0b10;
  --ink-soft: #14151b;
  --paper: #f0f1fa;
  --paper-2: #e4e6f1;
  --white: #fff;
  --accent: #1a2ffb;
  --accent-hover: #5364ff;
  --wine: #111a65;
  --muted: #6b6e7c;
  --muted-dark: #a9acb7;
  --line: rgba(10, 11, 16, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.paper {
  background: var(--paper);
}
.paper2 {
  background: var(--paper-2);
}
.dark {
  background: var(--ink);
  color: #fff;
}
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 241, 250, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 11, 16, 0.12);
}
.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: linear-gradient(145deg, #0a0b10, #1a2ffb);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.brand strong {
  display: block;
  font-size: 0.9rem;
}
.brand small {
  display: block;
  color: #656875;
  font-size: 0.68rem;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.nav-links a:hover {
  color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  border-color: rgba(10, 11, 16, 0.22);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555867;
}
.eyebrow:before {
  content: "";
  width: 11px;
  height: 2px;
  background: var(--accent);
}
.dark .eyebrow {
  color: #a9acb7;
}
h1,
h2,
h3,
.big-number {
  font-weight: 500;
  letter-spacing: -0.055em;
  margin: 0;
}
h1 {
  font-size: clamp(4.2rem, 9vw, 8.4rem);
  line-height: 0.88;
  max-width: 1050px;
}
h2 {
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  line-height: 0.92;
}
h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 1;
}
.lede {
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.55;
  color: #41434f;
  max-width: 680px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 34px;
  min-height: 760px;
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(26, 47, 251, 0.08),
      transparent 24%
    ),
    var(--paper);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 11, 16, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 11, 16, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 82%);
}
.hero-inner {
  position: relative;
}
.hero-copy {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
}
.hero .lede {
  justify-self: end;
}
.hero-bottom {
  margin-top: 86px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.7fr);
}
.hero-cell {
  min-height: 130px;
  padding: 20px 20px 18px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-cell:not(:first-child) {
  padding-left: 20px;
}
.hero-cell:last-child {
  border-right: 0;
}
.hero-cell small {
  font-size: 0.68rem;
  color: #6b6e7c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}
.hero-cell strong {
  font-size: 1rem;
  line-height: 1.25;
}
.section {
  padding: 110px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .lede {
  justify-self: end;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.trust-card {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.trust-card .num {
  font-size: 0.7rem;
  color: #8e91a0;
  letter-spacing: 0.12em;
  font-weight: 900;
}
.trust-card h3 {
  font-size: 1.55rem;
  margin: 60px 0 14px;
}
.trust-card p {
  color: #adb0bc;
  font-size: 0.9rem;
  line-height: 1.55;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.direct {
  color: #fff;
  background: #14151b;
}
.campaign {
  color: #111a65;
  background: #e7e9ff;
}
.company {
  color: #646778;
  background: #f0f1fa;
}
.review {
  color: #7a4d00;
  background: #fff1d6;
}
.filterbar {
  position: sticky;
  top: 80px;
  z-index: 30;
  background: rgba(240, 241, 250, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 0;
  overflow: auto;
}
.filter {
  border: 1px solid rgba(10, 11, 16, 0.2);
  background: transparent;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.filter.active,
.filter:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.case-list {
  display: grid;
  gap: 24px;
}
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f7fc;
}
.case-top {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  min-height: 510px;
}
.case-stage {
  position: relative;
  padding: 30px;
  background: #11131a;
  color: #fff;
  overflow: hidden;
}
.case:nth-child(even) .case-stage {
  background: linear-gradient(145deg, #0a0b10 0%, #111a65 56%, #4b58c6 120%);
}
.case-stage:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  right: -150px;
  bottom: -150px;
  box-shadow:
    0 0 0 70px rgba(26, 47, 251, 0.05),
    0 0 0 140px rgba(26, 47, 251, 0.03);
}
.stage-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.stage-meta span {
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #c9cbd5;
  font-weight: 900;
}
.logo-placeholder {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 30px;
}
.logo-box {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.65rem;
  text-align: center;
  color: #bfc2cf;
  padding: 10px;
}
.logo-placeholder strong {
  display: block;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  max-width: 340px;
}
.logo-placeholder small {
  display: block;
  color: #aeb1be;
  margin-top: 8px;
}
.case-main {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-main .eyebrow {
  margin-bottom: 13px;
}
.case-main h3 {
  max-width: 760px;
}
.case-summary {
  margin-top: 18px;
  color: #505363;
  line-height: 1.55;
  max-width: 760px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 38px;
}
.metric {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.metric strong {
  display: block;
  font-size: 1.08rem;
  margin: 7px 0 5px;
}
.metric small {
  display: block;
  color: #6d7080;
  font-size: 0.72rem;
  line-height: 1.35;
}
.metric .badge {
  font-size: 0.52rem;
  padding: 4px 7px;
}
.case-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: #fff;
}
.detail-col {
  padding: 34px 38px;
}
.detail-col:first-child {
  border-right: 1px solid var(--line);
}
.detail-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  color: #6b6e7c;
  margin-bottom: 18px;
}
.detail-col p {
  color: #4c4f5c;
  line-height: 1.6;
  margin: 0 0 18px;
}
.ops {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.op {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.op b {
  font-size: 0.72rem;
  color: var(--accent);
}
.op span {
  font-size: 0.82rem;
  color: #4d5060;
  line-height: 1.45;
}
.strategy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.strategy-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(10, 11, 16, 0.17);
  border-radius: 999px;
  background: #f4f5f9;
  color: #555867;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strategy-tag.primary {
  background: #e7e9ff;
  color: #111a65;
  border-color: #111a65;
}
.growth-model {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.growth-model small {
  display: block;
  margin-bottom: 9px;
  color: #7b7e8d;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.growth-flow {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
  color: #242631;
}
.growth-flow span {
  color: var(--accent);
  padding: 0 4px;
}
/* .proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.proof {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: #f3f4f9;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 800;
}
.proof:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.proof.disabled {
  opacity: 0.65;
  pointer-events: none;
} */
.case[hidden] {
  display: none;
}
.portfolio-strip {
  display: grid;
  grid-template-columns: 1fr repeat(6, 0.8fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.portfolio-cell {
  min-height: 115px;
  padding: 18px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e3e4ea;
  font-weight: 800;
  font-size: 0.76rem;
}
.portfolio-cell:first-child {
  justify-content: flex-start;
  text-align: left;
  color: #8f92a1;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.cta {
  padding: 105px 0;
  background: var(--paper);
  text-align: center;
}
.cta h2 {
  max-width: 960px;
  margin: 0 auto 28px;
}
.cta p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #555867;
  line-height: 1.6;
}
.footer {
  padding: 36px 0;
  background: #07080d;
  color: #fff;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: #a9acb7;
  font-size: 0.72rem;
}
.footer a {
  color: #fff;
}
.audit-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(122, 77, 0, 0.25);
  background: #fff7e8;
  border-radius: 12px;
  color: #6e4a0b;
  font-size: 0.78rem;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .hero-copy,
  .section-head {
    grid-template-columns: 1fr;
  }
  .hero .lede,
  .section-head .lede {
    justify-self: start;
  }
  .hero-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .hero-cell:nth-child(2) {
    border-right: 0;
  }
  .case-top {
    grid-template-columns: 1fr;
  }
  .case-stage {
    min-height: 310px;
  }
  .case-detail {
    grid-template-columns: 1fr;
  }
  .detail-col:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .portfolio-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-cell:first-child {
    grid-column: 1/-1;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-card:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--max));
  }
  .nav-links > a:not(.btn) {
    display: none;
  }
  .hero {
    padding-top: 60px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 5.5rem);
  }
  .hero-bottom {
    grid-template-columns: 1fr;
  }
  .hero-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-left: 0 !important;
  }
  .section {
    padding: 76px 0;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-card:last-child {
    grid-column: auto;
  }
  .case-main {
    padding: 28px 24px;
  }
  .case-stage {
    padding: 24px;
  }
  .logo-placeholder {
    left: 24px;
    bottom: 24px;
  }
  .logo-box {
    width: 68px;
    height: 68px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .detail-col {
    padding: 28px 24px;
  }
  .portfolio-strip {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-cell:first-child {
    grid-column: 1/-1;
  }
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .filterbar {
    top: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Homepage-matching navigation
   Mirrors the final navbar treatment from the main site.
   ========================================================= */
.nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 90;
  width: min(calc(100% - 32px), 1220px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(10, 11, 16, 0.76);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 66px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 7px;
  background: none;
  color: inherit;
  box-shadow: none;
}

.brand-text {
  line-height: 1;
}
.brand-text small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 27px;
  font-size: inherit;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: #fff;
}

.nav-wrap .btn-primary {
  background: rgba(26, 47, 251, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: none;
}

.mobile-menu {
  display: none;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

@media (max-width: 1020px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  .nav {
    grid-template-columns: auto 1fr auto;
  }
  .mobile-toggle {
    display: grid;
    place-items: center;
  }
  .nav-wrap .nav-links {
    justify-content: flex-end;
  }
  .mobile-menu {
    display: none;
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 11, 16, 0.96);
  }
  .mobile-menu.is-open {
    display: grid;
    gap: 12px;
  }
  .mobile-menu a {
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 700;
  }
  .mobile-menu .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    top: 10px;
    width: calc(100% - 20px);
  }
  .nav {
    min-height: 60px;
    gap: 12px;
  }
  .brand-text {
    display: none;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .nav-links .btn {
    display: none;
  }
  .mobile-toggle {
    width: 42px;
    height: 42px;
  }
}
