/* Veritant Business Solutions: navy #273A5A, gold #C7A96A, Global Blue #354AFF */
:root {
  --veritant-navy: #273a5a;
  --veritant-navy-deep: #1a2942;
  --veritant-gold: #c7a96a;
  --veritant-gold-bright: #d4bc82;
  --global-blue: #354aff;
  --global-blue-deep: #2a3cf0;
  --bg: #f4f6f9;
  --bg-soft: #e8edf3;
  --text: #1a2433;
  --text-muted: #5a6678;
  --white: #fff;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--veritant-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--global-blue);
}

.container {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(39, 58, 90, 0.12);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.logo-lockup:hover {
  text-decoration: none;
}

.logo-veritant {
  height: 2rem;
  width: auto;
  max-width: min(180px, 36vw);
  object-fit: contain;
}

.logo-genius {
  height: 2.4rem;
  width: auto;
  max-width: min(150px, 30vw);
  object-fit: contain;
}

.logo-plus {
  font-family: Outfit, Manrope, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
  flex-shrink: 0;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-main a {
  font-family: Outfit, Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--veritant-navy);
  text-decoration: none;
  padding: 0.35rem 0;
}

.nav-main a:hover {
  color: var(--global-blue);
}

.nav-cta {
  background: var(--veritant-navy);
  color: var(--white) !important;
  padding: 0.55rem 1rem !important;
  border-radius: 2px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--global-blue);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--veritant-navy);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero: one composition, brand first, full-bleed */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: hero- ken 18s var(--ease) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 41, 66, 0.92) 0%, rgba(26, 41, 66, 0.72) 48%, rgba(56, 59, 255, 0.35) 100%),
    linear-gradient(to top, rgba(26, 41, 66, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
  animation: hero-rise 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: Outfit, Manrope, sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}

.hero-title {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: Outfit, Manrope, sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-cobrand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  background: rgba(53, 74, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.genius-mark {
  height: 2.5rem;
  width: auto;
}

.hero-cobrand .genius-mark {
  height: 2.75rem;
}

.cobrand-divider {
  width: 1px;
  height: 1.4rem;
  background: rgba(255, 255, 255, 0.35);
}

.cobrand-label {
  font-family: Outfit, Manrope, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes hero-ken {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: Outfit, Manrope, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--veritant-navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--global-blue);
  color: var(--white);
}

.btn-gold {
  background: var(--veritant-gold);
  color: var(--veritant-navy-deep);
}

.btn-gold:hover {
  background: var(--veritant-gold-bright);
  color: var(--veritant-navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: Outfit, Manrope, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--global-blue);
}

.section-title {
  margin: 0 0 1rem;
  font-family: Outfit, Manrope, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--veritant-navy);
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* Genius split */
.genius {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split-media {
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  clip-path: inset(0 8% 0 0);
  transition: clip-path 0.8s var(--ease), transform 0.8s var(--ease);
}

.split-media:hover img {
  clip-path: inset(0 0 0 0);
  transform: scale(1.02);
}

.split-copy .btn {
  margin-top: 0.5rem;
}

/* Benefits */
.benefits {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(56, 59, 255, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.benefit-list {
  margin: 0 0 2.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.benefit-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--veritant-gold);
  transform: rotate(45deg);
}

.features-title {
  margin: 0 0 1.25rem;
  font-family: Outfit, Manrope, sans-serif;
  font-size: 1.25rem;
  color: var(--veritant-navy);
}

.feature-grid {
  list-style: none;
  margin: 0 0 2.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem 1.25rem;
  border-top: 1px solid rgba(39, 58, 90, 0.15);
  padding-top: 1.5rem;
}

.feature-grid li {
  font-size: 0.98rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--global-blue);
  color: var(--text);
}

.cobrand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid rgba(39, 58, 90, 0.1);
}

.cobrand-veritant {
  height: 2.1rem;
  width: auto;
}

.cobrand-genius {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
}

.cobrand-plus {
  font-family: Outfit, Manrope, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Payments banner (official Genius asset; keep near native size to avoid upscaling) */
.payments-banner {
  background: #0a0a0a;
}

.payments-layout {
  display: grid;
  grid-template-columns: minmax(0, 665px) minmax(16rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.payments-figure {
  margin: 0;
  line-height: 0;
  max-width: 665px;
}

.payments-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.payments-copy {
  text-align: left;
}

.payments-banner .section-title {
  color: var(--white);
}

.payments-banner .eyebrow {
  color: var(--veritant-gold);
}

.payments-banner .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .payments-layout {
    grid-template-columns: 1fr;
  }

  .payments-figure {
    margin-inline: auto;
  }
}

/* About */
.about {
  background: var(--veritant-navy);
  color: rgba(255, 255, 255, 0.92);
}

.about .section-title {
  color: var(--white);
}

.about .eyebrow {
  color: var(--veritant-gold);
}

.about .lead {
  color: rgba(255, 255, 255, 0.82);
}

.service-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.service-list li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.service-list strong {
  color: var(--veritant-gold);
  font-family: Outfit, Manrope, sans-serif;
}

.tagline-line {
  margin: 0;
  font-family: Outfit, Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Request demo */
.request-demo {
  background:
    linear-gradient(180deg, #0f1728 0%, #1a2942 55%, #121c2e 100%);
  color: var(--white);
}

.request-demo .section-title {
  color: var(--white);
}

.request-demo .eyebrow {
  color: var(--veritant-gold);
}

.request-demo .lead {
  color: rgba(255, 255, 255, 0.8);
}

.demo-panel {
  background: var(--white);
  color: var(--text);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.demo-panel .section-title,
.demo-panel .lead {
  color: inherit;
}

.demo-panel .lead {
  color: var(--text-muted);
}

.demo-panel .eyebrow {
  color: var(--global-blue);
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form label {
  font-family: Outfit, Manrope, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--veritant-navy);
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(39, 58, 90, 0.22);
  border-radius: 2px;
  background: #fafbfd;
  color: var(--text);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--global-blue);
  outline-offset: 1px;
  border-color: transparent;
  background: var(--white);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* Contact */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.address,
.email {
  margin: 0 0 1rem;
}

.email a {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.map-wrap {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(39, 58, 90, 0.12);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  filter: grayscale(0.15);
}

/* Footer */
.site-footer {
  background: var(--veritant-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.footer-brand img {
  height: 2.5rem;
  width: auto;
  margin-bottom: 0.75rem;
  background: var(--white);
  padding: 0.35rem 0.5rem;
}

.footer-brand p,
.footer-meta p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}

.footer-meta a {
  color: var(--veritant-gold);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--veritant-gold-bright);
}

.copyright {
  margin-top: 0.75rem !important;
  opacity: 0.75;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(39, 58, 90, 0.12);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: 0 12px 24px rgba(26, 41, 66, 0.08);
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-main a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(39, 58, 90, 0.08);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .split,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .split-media img {
    clip-path: inset(0);
    min-height: 240px;
  }

  .hero-content {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .hero-content,
  .reveal,
  .split-media img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
