:root {
  --bg: #0a0a0a;
  --text: #f0f0f0;
  --muted: #bdbdbd;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #3d55a5;
  --accent-soft: rgba(61, 85, 165, 0.12);
  --green: #c6d92c;
  --max: 1180px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    'Inter',
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(61, 85, 165, 0.06),
      transparent 40%
    ),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ── Nav ─────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand img {
  display: block;
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ── Buttons ─────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--text);
  color: #010101;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 240, 240, 0.1);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* ── Hero ────────────────────────────────────── */

.hero {
  padding: 120px 0 80px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 16ch;
}

.hero-accent {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 6px;
  text-decoration-thickness: 5px;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 32px;
}

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

/* ── Logo bar (trusted by) ───────────────────── */

.logo-bar-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 36px 0;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.logo-bar-track {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo-bar-track .logo-bar-logos:last-child {
  display: none;
}

.logo-bar-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

.logo-bar-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-bar-img {
  height: 34px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(0.9);
  transition: opacity 0.25s ease;
}

.logo-bar-img:hover {
  opacity: 0.9;
}

.logo-bar-cs {
  filter: brightness(1);
}

.logo-bar-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.9;
  letter-spacing: 0.01em;
  transition: opacity 0.25s ease;
}

.logo-bar-text:hover {
  opacity: 0.9;
}

/* ── Sections ────────────────────────────────── */

.section {
  padding: 100px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
}

.section-centered .section-head {
  text-align: center;
}

.section-centered .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 24ch;
}

.kicker {
  color: var(--green);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}

/* ── Section photo ──────────────────────────── */

.section-photo {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 48px;
  filter: brightness(0.85);
}

/* ── Cards ───────────────────────────────────── */

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.65;
}

.card p {
  margin: 0;
}

.list {
  padding-left: 18px;
  margin: 12px 0 0;
}

.list li {
  margin-bottom: 6px;
}

/* ── Grids ───────────────────────────────────── */

.grid-3,
.grid-2 {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ── Pain section ────────────────────────────── */

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 16px;
}

.pain-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.pain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
}

.pain-closer {
  max-width: 46ch;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pain-closer p {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.65;
  margin: 0 0 6px;
}

/* ── Deliver card ────────────────────────────── */

.deliver-card {
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.05);
}

.deliver-card:hover {
  border-color: rgba(255, 255, 255, 0.06);
}

.deliver-lead {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 56ch;
}

.deliver-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

/* ── Card logos (case studies) ────────────────── */

.card-logo {
  display: block;
  height: 18px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.45;
  filter: grayscale(1) brightness(1.8);
}

.card-logo-ns {
  filter: brightness(0) invert(0.55);
}

/* ── Case study results ──────────────────────── */

.result {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1.5;
}

.result::before {
  content: '\2192\00a0';
}

/* ── Fit / not-fit ───────────────────────────── */

.fit-yes {
  background: linear-gradient(
    180deg,
    rgba(198, 217, 44, 0.03),
    rgba(255, 255, 255, 0.015)
  );
}

.fit-card h3 {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.fit-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.fit-yes .fit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.5;
}

.fit-no .fit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.2;
}

/* ── CTA ─────────────────────────────────────── */

.cta {
  padding: 100px 0 120px;
}

.cta-panel {
  padding: 56px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.cta-layout {
  flex-direction: row;
  align-items: stretch;
  text-align: left;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.cta-portrait {
  flex-shrink: 0;
  width: 280px;
  object-fit: cover;
  filter: brightness(0.9);
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 48px 48px;
}

.cta-panel:hover {
  border-color: rgba(255, 255, 255, 0.06);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 28ch;
}

/* ── Testimonial carousel ───────────────────── */

.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 28px;
  transition: transform 0.4s ease;
}

.testimonial-card {
  flex: 0 0 calc(50% - 14px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  position: relative;
}

.testimonial-card blockquote::before {
  content: '\201C';
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--green);
  opacity: 0.4;
  margin-bottom: 8px;
}

.testimonial-card blockquote p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--muted);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonial-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.testimonial-nav button:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-nav button.disabled {
  opacity: 0.25;
  pointer-events: none;
}

/* ── Legal pages ────────────────────────────── */

.legal-page {
  padding-top: 140px;
}

.legal-page .section-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 40px;
}

.legal-content {
  max-width: 72ch;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text);
}

.legal-content p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-content ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal-content li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--green);
  transition: opacity 0.2s ease;
}

.legal-content a:hover {
  opacity: 0.8;
}

/* ── Footer ──────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 64px 0 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-mark {
  height: 24px;
  width: auto;
  opacity: 0.5;
  filter: invert(1);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 30ch;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
}

.footer-col h4:nth-of-type(n + 2) {
  margin-top: 28px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col li {
  line-height: 1.5;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-newsletter {
  display: flex;
  gap: 0;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  transition: border-color 0.2s ease;
}

.footer-newsletter input::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.footer-newsletter input:focus {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.82rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  color: var(--muted);
  transition: color 0.2s ease;
  display: flex;
}

.footer-social a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--text);
}

/* ── Nav badge ───────────────────────────────── */

.nav-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(198, 217, 44, 0.12);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.nav-badge:hover {
  background: rgba(198, 217, 44, 0.2);
  color: var(--green);
}

/* ── Grid auto (flexible card count) ─────────── */

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ── Outcome list ────────────────────────────── */

.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 16px;
}

.outcome-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.outcome-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.5;
}

/* ── Steps (numbered vertical list) ──────────── */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
}

.steps li:first-child {
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── Shift list ──────────────────────────────── */

.shift-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.shift-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
}

.shift-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.45;
}

/* ── Highlight card ──────────────────────────── */

.highlight-card {
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.highlight-card:hover {
  border-color: rgba(255, 255, 255, 0.06);
}

.highlight-card p {
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto;
}

.highlight-card .sub {
  display: block;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

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

@media (max-width: 980px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 40px 28px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.2;
    max-width: 100%;
  }

  .section-head h2 {
    max-width: 100%;
  }

  .hero {
    padding: 80px 0 56px;
  }

  .section {
    padding: 64px 0;
  }

  .cta {
    padding: 64px 0 80px;
  }

  .logo-bar {
    flex-direction: column;
    gap: 20px;
    padding: 28px 0;
    width: 100%;
  }

  .logo-bar-track {
    width: 100%;
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
  }

  .logo-bar-track .logo-bar-logos:last-child {
    display: flex;
  }

  .logo-bar-track .logo-bar-logos {
    animation: marquee 20s linear infinite;
    gap: 48px;
    padding-right: 48px;
  }

  .section-photo {
    max-height: 260px;
    margin-bottom: 36px;
  }

  .cta-layout {
    flex-direction: column;
    padding: 0;
  }

  .cta-portrait {
    width: 100%;
    height: 220px;
  }

  .cta-content {
    padding: 32px 28px;
    align-items: center;
    text-align: center;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 0;
  }
}
