:root {
  --blue: #1a73e8;
  --blue-dark: #1258b8;
  --navy: #0b1b33;
  --navy-2: #071224;
  --ink: #122033;
  --muted: #5c6570;
  --line: #e6e8eb;
  --paper: #f5f7fb;
  --white: #fff;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.logo-img {
  height: 88px;
  width: auto;
  object-fit: contain;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a { padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.drop { position: relative; }
.drop > span, .drop > a { cursor: default; padding: 6px 0; display: inline-block; }
.drop > a { cursor: pointer; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border-radius: 10px;
}
.drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 8px 14px;
  font-weight: 500;
}
.drop-menu a:hover { background: var(--paper); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 12px 20px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
}
.btn:hover { background: var(--blue-dark); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff !important;
}

.hero {
  position: relative;
  min-height: 88vh;
  color: #fff;
  overflow: hidden;
  background: #071224;
}
.hero-zoom {
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  background: #071224 url("../img/hero-ai.jpg") center 58%/cover no-repeat;
  transform-origin: 50% 58%;
  will-change: transform;
}
.hero-zoom.idle {
  animation: kenZoom 26s ease-in-out infinite alternate;
}
@keyframes kenZoom {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.28) translate3d(-1.6%, 3.2%, 0); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,18,36,.42), rgba(7,18,36,.78));
  z-index: 0;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity .6s ease;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px 100px;
}
.hero-slide.active > * {
  animation: heroCopyIn .9s ease both;
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.hero-slide > * { position: relative; z-index: 1; max-width: 860px; }
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #cfe3ff;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
}
.hero p {
  font-size: 16px;
  margin: 0 0 24px;
  color: #d7e4f5;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 18px;
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-stats {
  position: absolute;
  left: 0; right: 0; bottom: 72px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #cfe3ff;
}
.hero-stats b { display: block; font-size: 22px; color: #fff; }

.trusted {
  background: var(--navy-2);
  color: #9eb0c8;
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trusted strong { color: #fff; margin-right: 12px; }

.media-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}
.media-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}
.media-grid.reverse { grid-template-columns: .9fr 1.1fr; }
.media-grid.reverse img { order: 2; }
.media-copy h2 { margin-top: 0; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}
.split .left { background: var(--blue); color: #fff; padding: 56px 40px; }
.split .right { background: var(--navy); color: #fff; padding: 56px 40px; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: .85;
  margin: 0 0 10px;
}
.split h2 { font-size: 28px; margin: 0 0 16px; }
.split p { margin: 0; opacity: .95; }

.section { padding: 72px 0; }
.section h2 {
  font-size: 32px;
  margin: 0 0 12px;
  color: var(--navy);
}
.center { text-align: center; }
.muted { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--line);
  padding: 28px 24px;
  background: #fff;
  border-radius: 12px;
}
.card h3 { margin: 0 0 10px; color: var(--navy); }
.card p { color: var(--muted); margin: 0 0 16px; }
.link { color: var(--blue); font-weight: 700; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.tile-grid.five { grid-template-columns: repeat(5, 1fr); }
.tile-grid.four { grid-template-columns: repeat(4, 1fr); }
.tile {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11,27,51,.1);
}
.tile img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 1.15s ease;
}
.tile:hover img { transform: scale(1.12); }
.tile.tile-logo {
  text-align: center;
}
.tile.tile-logo img {
  height: 92px;
  object-fit: contain;
  padding: 18px 16px 4px;
  background: #f8fafc;
}
.tile .tile-body { padding: 16px 16px 18px; }
.tile h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.tile p { margin: 0; color: var(--muted); font-size: 13px; }

.trusted-logos {
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 16px 20px;
  letter-spacing: 0;
  text-transform: none;
}
.trusted-logos img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.brands-band {
  background: #fff;
  padding: 14px 0 16px;
  overflow: hidden;
  max-height: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brands-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 700;
}
.marquee {
  overflow: hidden;
  width: 100%;
  height: 36px;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  height: 36px;
  animation: marquee-rtl 28s linear infinite;
  -webkit-animation: marquee-rtl 28s linear infinite;
}
.marquee-set {
  display: inline-block;
  white-space: nowrap;
  height: 36px;
  vertical-align: middle;
}
.marquee-set img {
  display: inline-block;
  height: 28px;
  width: auto;
  max-height: 28px;
  max-width: 110px;
  margin: 0 18px;
  vertical-align: middle;
  object-fit: contain;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  opacity: 0.8;
}
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@-webkit-keyframes marquee-rtl {
  from { -webkit-transform: translateX(0); }
  to { -webkit-transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; -webkit-animation: none; }
}

.crumb {
  font-size: 13px;
  color: #9eb0c8;
  margin: 0 0 12px;
}
.crumb a { color: #cfe3ff; }
.detail-hero {
  position: relative;
  min-height: 320px;
  color: #fff;
  display: grid;
  align-items: end;
  background: var(--navy) center/cover no-repeat;
}
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,18,36,.25), rgba(7,18,36,.82));
}
.detail-hero .wrap { position: relative; z-index: 1; padding: 72px 0 36px; }
.detail-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); }
.detail-hero p { margin: 0; max-width: 640px; color: #d7e4f5; }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }

.band { background: var(--paper); }
.acc { max-width: 760px; margin: 28px auto 0; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.acc-body { display: none; padding: 0 0 16px; color: var(--muted); }
.acc-item.open .acc-body { display: block; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.stat {
  background: var(--navy);
  color: #fff;
  padding: 28px 16px;
  text-align: center;
  border-radius: 12px;
}
.stat b { display: block; font-size: 32px; }
.cta-band {
  background: var(--navy-2);
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }

.prose { max-width: 800px; }
.prose h2 { margin-top: 28px; font-size: 22px; }
.prose ul { padding-left: 18px; color: var(--muted); }

footer {
  background: #111820;
  color: #d5dbe3;
  padding: 48px 0 20px;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
}
footer h3 { color: #fff; margin: 0 0 12px; }
footer a:hover { color: #8cb8ff; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 0 0 8px; }
.form input, .form textarea {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #334155;
  background: #1a2330;
  color: #fff;
  border-radius: 8px;
}
.form.light input, .form.light textarea {
  background: #fff;
  color: #111;
  border: 1px solid #d0d5dd;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}
.copy {
  border-top: 1px solid #2a3340;
  margin-top: 28px;
  padding-top: 14px;
  font-size: 12px;
  color: #8b95a3;
}

.partner-rail {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 48;
  display: flex;
  align-items: stretch;
  transform: translateX(calc(100% - 36px));
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.partner-rail.open { transform: translateX(0); }
.partner-rail-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border: 0;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  padding: 16px 8px;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
  animation: partnerTabPulse 2.4s ease-in-out infinite;
}
.partner-rail.open .partner-rail-tab { animation: none; }
.partner-rail-tab:hover { background: var(--blue-dark); }
@keyframes partnerTabPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0); }
  50% { box-shadow: -6px 0 16px rgba(26, 115, 232, .45); }
}
.partner-rail-panel {
  width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-right: 0;
  box-shadow: -10px 10px 28px rgba(11, 27, 51, .16);
  padding: 16px 14px;
  display: grid;
  gap: 8px;
  align-content: start;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .32s ease .04s, transform .42s cubic-bezier(.22, 1, .36, 1);
}
.partner-rail.open .partner-rail-panel {
  opacity: 1;
  transform: translateX(0);
}
.partner-rail-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}
.partner-rail-copy {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.partner-rail-login {
  display: block;
  text-align: center;
  margin-top: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.partner-rail-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26, 115, 232, .28);
}
@media (prefers-reduced-motion: reduce) {
  .partner-rail,
  .partner-rail-panel,
  .partner-rail-login { transition: none; }
  .partner-rail-tab { animation: none; }
}
@media (max-width: 600px) {
  .partner-rail { top: 38%; }
}

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}
.page-hero h1 { margin: 0; }
.page-hero p { margin: 10px 0 0; color: #cfe3ff; max-width: 640px; }

@media (max-width: 1100px) {
  .tile-grid.five { grid-template-columns: repeat(3, 1fr); }
  .tile-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 72px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .drop-menu { position: static; display: block; box-shadow: none; border: 0; }
  .split, .cards, .stats, .foot-grid, .media-grid, .media-grid.reverse,
  .tile-grid, .tile-grid.five, .tile-grid.four { grid-template-columns: 1fr 1fr; }
  .media-grid.reverse img { order: 0; }
  .media-grid img { height: 220px; }
  .logo-img { height: 68px; }
  .hero-prev, .hero-next { display: none; }
  .hero { min-height: 70vh; }
  .hero-slide { padding: 64px 20px 120px; }
  .hero-stats { bottom: 20px; gap: 16px; }
  .brands-band { max-height: 88px; padding: 12px 0 14px; }
  .marquee, .marquee-track, .marquee-set { height: 32px; }
  .marquee-set img { height: 24px; max-height: 24px; max-width: 90px; }
}
@media (max-width: 600px) {
  .tile-grid, .tile-grid.five, .tile-grid.four, .cards, .stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-zoom, .hero-zoom.idle { animation: none; transform: none; }
  .hero-slide.active > * { animation: none; }
  .tile img { transition: none; }
}
