:root {
  --color-background: #ffffff;
  --color-surface: #f8f9fa;
  --color-surface-muted: #e8e8e8;
  --color-primary: #315473;
  --color-primary-dark: #131e2a;
  --color-primary-medium: #43607d;
  --color-secondary: #667e94;
  --color-secondary-light: #889ba9;
  --color-text-primary: #131e2a;
  --color-text-secondary: #505961;
  --color-text-muted: #7a8086;
  --color-border: #e8e8e8;
  --logo-blue: #6c859b;
  --shadow-soft: 0 24px 64px rgba(19, 30, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text-primary);
  font-family: "Gantari", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  width: min(100%, 1440px);
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 32px 48px;
  color: #ffffff;
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  padding: 18px 48px;
  background: rgba(19, 30, 42, 0.94);
  box-shadow: 0 12px 32px rgba(19, 30, 42, 0.18);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 192px;
  display: block;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  padding: 0 48px;
  color: #ffffff;
  background: var(--color-primary-dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.02) brightness(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 30, 42, 0.9) 0%, rgba(19, 30, 42, 0.64) 42%, rgba(19, 30, 42, 0.08) 100%),
    linear-gradient(180deg, rgba(19, 30, 42, 0.12), rgba(19, 30, 42, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding-top: 104px;
  padding-bottom: 104px;
}

.hero-pill,
.final-pill {
  width: fit-content;
  margin: 0 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: 80px;
  font-weight: 700;
  line-height: 80px;
  letter-spacing: 0;
}

.hero-content > p:not(.hero-pill) {
  max-width: 640px;
  margin-bottom: 40px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
}

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

.primary-action,
.secondary-action,
.final-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-action {
  background: #ffffff;
  color: var(--color-primary-dark);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--color-surface-muted);
  outline: 0;
  transform: translateY(-1px);
}

.secondary-action {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.logo-carousel {
  overflow: hidden;
  background: var(--logo-blue);
  color: #ffffff;
  padding: 24px 0 26px;
}

.logo-carousel > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 64px;
  animation: logo-marquee 72s linear infinite;
}

.logo-carousel:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-track img {
  width: 190px;
  height: 80px;
  flex: 0 0 auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
  padding: 0;
  background: var(--logo-blue);
}

.program-benefits {
  width: min(100%, 1240px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 64px;
  align-items: center;
  margin: 0 auto;
  padding: 120px 48px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.program-copy h2,
.final-panel h2 {
  margin-bottom: 24px;
  color: var(--color-text-primary);
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: 0;
}

.program-description {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 28px;
}

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

.benefit-list li {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding-left: 48px;
  color: var(--color-text-primary);
  font-size: 18px;
  line-height: 28px;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: url("./assets/benefit-icon.png") center/contain no-repeat;
}

.benefit-list li::after {
  content: none;
}

.mockup-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mockup-panel img {
  width: min(100%, 460px);
  display: block;
  object-fit: contain;
}

.final-banner {
  padding: 0 48px 96px;
  background: #ffffff;
}

.final-panel {
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  padding: 88px 48px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 18%, rgba(67, 96, 125, 0.44), transparent 42%),
    linear-gradient(135deg, rgba(19, 30, 42, 0.98), rgba(19, 30, 42, 0.92)),
    url("./assets/textura-rewards-3.jpg") center/cover;
  box-shadow: var(--shadow-soft);
}

.final-pill {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.final-panel h2 {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.final-panel p:not(.final-pill) {
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 28px;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.final-cta {
  background: #ffffff;
  color: var(--color-primary-dark);
}

.final-cta.secondary {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
}

.final-cta:hover,
.final-cta:focus-visible {
  outline: 0;
  transform: translateY(-1px);
}

.final-cta:hover {
  background: var(--color-surface-muted);
}

.final-cta.secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.footer {
  padding: 0 24px 24px;
  background: #ffffff;
}

.footer-inner {
  width: min(100%, 1180px);
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  padding: 40px 32px 32px;
  background: #ffffff;
  color: var(--color-text-primary);
  text-align: center;
}

.footer p {
  margin: 0;
  color: #bfbfbf;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  color: var(--color-text-primary);
  font-weight: 500;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-primary);
}

.footer-contact img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--color-primary);
  outline: 0;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .program-benefits {
    grid-template-columns: 1fr;
  }

  .mockup-panel {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 20px;
  }

  .site-header.is-scrolled {
    padding: 14px 20px;
  }

  .brand img {
    width: 152px;
  }

  .hero {
    min-height: 640px;
    padding: 0 20px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(19, 30, 42, 0.14), rgba(19, 30, 42, 0.88) 72%),
      linear-gradient(90deg, rgba(19, 30, 42, 0.56), rgba(19, 30, 42, 0.08));
  }

  .hero-pill {
    margin-bottom: 24px;
    font-size: 12px;
  }

  .hero-content {
    min-height: 640px;
    align-items: center;
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 56px;
    text-align: center;
  }

  h1 {
    max-width: 420px;
    margin-bottom: 16px;
    font-size: 48px;
    line-height: 48px;
  }

  .hero-content > p:not(.hero-pill) {
    max-width: 420px;
    margin-bottom: 48px;
    font-size: 18px;
    line-height: 26px;
  }

  .primary-action,
  .secondary-action,
  .final-cta {
    width: 100%;
    min-height: 52px;
  }

  .hero-actions {
    width: min(100%, 560px);
    gap: 20px;
  }

  .logo-carousel {
    padding: 26px 0 30px;
  }

  .logo-carousel > p {
    margin-bottom: 18px;
    padding: 0 20px;
  }

  .carousel-track {
    gap: 40px;
    animation-duration: 78s;
  }

  .carousel-track img {
    width: 170px;
    height: 72px;
    padding: 0;
  }

  .program-benefits {
    gap: 48px;
    padding: 80px 20px;
    text-align: center;
  }

  .program-copy .eyebrow,
  .benefit-list {
    justify-items: center;
  }

  .program-copy h2,
  .final-panel h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .program-description,
  .benefit-list li,
  .final-panel p:not(.final-pill) {
    font-size: 16px;
    line-height: 24px;
  }

  .benefit-list {
    width: min(100%, 560px);
    gap: 14px;
    margin: 0 auto;
    justify-items: stretch;
  }

  .benefit-list li {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    padding-left: 48px;
    padding-top: 0;
    text-align: left;
  }

  .benefit-list li::before {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .mockup-panel {
    min-height: 0;
    border-radius: 0;
    padding: 0;
  }

  .mockup-panel img {
    width: min(100%, 420px);
    max-width: none;
  }

  .final-banner {
    padding: 0 20px 72px;
  }

  .final-panel {
    border-radius: 24px;
    padding: 64px 24px;
  }

  .final-actions {
    flex-direction: column;
  }

  .footer {
    padding: 0 16px 16px;
  }

  .footer-inner {
    gap: 14px;
    padding: 36px 20px 28px;
  }

  .footer-contact {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-contact a {
    justify-content: center;
  }
}

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

  .carousel-track,
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
