:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --panel: #ffffff;
  --ink: #121212;
  --muted: #62615d;
  --line: rgba(18, 18, 18, 0.12);
  --dark: #060606;
  --red: #d71920;
  --red-2: #a81218;
  --blue: #163456;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 25, 32, 0.08), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(var(--max), calc(100% - 28px));
  min-height: 76px;
  margin: 12px auto 0;
  padding: 10px 12px 10px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  background: rgba(6, 6, 6, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.logo-link img {
  width: 150px;
}

.header nav {
  justify-self: end;
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.header a {
  text-decoration: none;
}

.header nav a:hover {
  color: #fff;
}

.call {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--red);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.hero,
.audience,
.services,
.proof,
.process,
.faq,
.contact {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
  padding: clamp(54px, 8vw, 108px) 0;
}

.kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(44px, 7.6vw, 98px);
  font-weight: 780;
}

h2 {
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 760;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.primary:hover {
  background: var(--red-2);
}

.button.secondary {
  background: var(--panel);
  border: 1px solid var(--line);
}

.hero-system {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.system-card {
  min-height: 178px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.system-card.image {
  grid-row: span 2;
  min-height: 478px;
  padding: 0;
  overflow: hidden;
}

.system-card.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-card.stat,
.system-card.scope {
  display: grid;
  align-content: space-between;
  background: var(--dark);
  color: #fff;
}

.system-card.scope {
  background: var(--blue);
}

.system-card span {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 850;
  line-height: 0.9;
}

.system-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.ff-mini {
  display: grid;
  gap: 22px;
  align-content: center;
}

.ff-mini img {
  width: 150px;
}

.ff-mini p {
  margin: 0;
  color: var(--muted);
}

.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.55fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: clamp(54px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
}

.audience h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}

.segments {
  display: grid;
  gap: 8px;
}

.segments button {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.segments button.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.audience-panel {
  margin: 0;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audience-panel h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.12;
}

.audience-panel p {
  color: var(--muted);
}

.audience-panel ul {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.audience-panel li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.trust {
  padding: clamp(70px, 9vw, 128px) max(16px, calc((100% - var(--max)) / 2));
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.trust-copy {
  max-width: 820px;
}

.trust-copy p:not(.kicker) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
}

.trust-logos {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.ff-main {
  width: min(420px, 82%);
  align-self: center;
  justify-self: center;
  padding: 42px;
  background: #fff;
}

.product-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #0f0f0f;
}

.product-logos img {
  max-height: 84px;
  width: auto;
  align-self: center;
  justify-self: center;
  margin: 42px;
}

.product-logos img + img {
  max-height: 64px;
}

.partner-carousel {
  margin-top: 36px;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 28px 0;
  animation: partners 26s linear infinite;
}

.partner-track img {
  width: auto;
  height: 58px;
  max-width: 190px;
  object-fit: contain;
  opacity: 1;
}

@keyframes partners {
  to {
    transform: translateX(calc(-50% - 28px));
  }
}

.services,
.proof,
.process,
.faq,
.contact {
  padding: clamp(70px, 9vw, 126px) 0;
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-grid article {
  min-height: 430px;
  display: grid;
  grid-template-rows: 170px auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.service-grid article > span,
.service-grid h3,
.service-grid p {
  margin-left: 22px;
  margin-right: 22px;
}

.service-grid article > span {
  margin-top: 22px;
  color: var(--red);
  font-weight: 850;
}

.service-grid h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.12;
}

.service-grid p {
  color: var(--muted);
}

.proof {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 14px;
}

.proof-card {
  min-height: 260px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-card.wide {
  background: var(--blue);
  color: #fff;
}

.proof-card.wide .kicker {
  color: #fff;
}

.proof-card h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.proof-card span {
  color: var(--red);
  font-weight: 850;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
}

.process {
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline div {
  min-height: 210px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  background: var(--bg);
}

.timeline span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 850;
}

.timeline p {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
  font-size: 18px;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.contact-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-actions a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 850;
}

.contact-actions span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.footer {
  min-height: 92px;
  padding: 24px max(16px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.62);
}

.footer img {
  width: 140px;
}

.footer p {
  margin: 0;
}

.mobile-cta {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: auto 1fr auto;
  }

  .header nav {
    display: none;
  }

  .hero,
  .audience,
  .trust-logos,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .header {
    width: calc(100% - 20px);
    min-height: 66px;
    margin-top: 10px;
  }

  .logo-link img {
    width: 126px;
  }

  .call {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero,
  .audience,
  .services,
  .proof,
  .process,
  .faq,
  .contact {
    width: calc(100% - 24px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-system,
  .service-grid,
  .proof,
  .timeline,
  .product-logos {
    grid-template-columns: 1fr;
  }

  .system-card.image {
    min-height: 300px;
    grid-row: auto;
  }

  .trust {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ff-main {
    width: 100%;
  }

  .mobile-cta {
    position: fixed;
    inset: auto 10px 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(6, 6, 6, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    backdrop-filter: blur(14px);
  }

  .mobile-cta a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--red);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-cta a + a {
    background: #fff;
    color: var(--ink);
  }

  .footer {
    padding-bottom: 86px;
  }
}
