html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--valet-midnight);
  color: var(--valet-text);
  line-height: 1.7;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--valet-yellow);
  outline-offset: 2px;
}

section {
  scroll-margin-top: 110px;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 16px 32px;
  font: 700 14px/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--valet-yellow);
  color: #031736;
  border-color: var(--valet-yellow);
  box-shadow: 0 20px 48px rgba(235, 198, 61, 0.35);
}

.btn-primary:hover {
  background: var(--valet-yellow-dark);
  border-color: var(--valet-yellow-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--valet-yellow);
  border-color: var(--valet-yellow);
}

.btn-outline:hover {
  background: rgba(235, 198, 61, 0.15);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 23, 54, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--valet-text);
}

.logo img {
  width: clamp(160px, 18vw, 220px);
  height: auto;
}

.site-nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
}

.nav-list a {
  color: rgba(232, 238, 246, 0.85);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--valet-yellow);
}

.nav-list .nav-demo a {
  border-radius: 8px;
  padding: 16px 32px;
  background: var(--valet-yellow);
  color: #031736;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--valet-yellow);
  box-shadow: 0 20px 48px rgba(235, 198, 61, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-list .nav-demo a:hover {
  background: var(--valet-yellow-dark);
  border-color: var(--valet-yellow-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--valet-text);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--valet-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.is-menu-open .nav-toggle span {
  background: transparent;
}

.is-menu-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.is-menu-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-list {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    flex-direction: column;
    background: rgba(3, 23, 54, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    min-width: 240px;
    box-shadow: var(--valet-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .is-menu-open .nav-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-list a {
    font-size: 14px;
  }
}

/* Hero */
.hero {
  position: relative;
  background: var(--valet-midnight);
  padding: clamp(120px, 18vw, 180px) 0 clamp(100px, 12vw, 160px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/hero/Hero-section-background-image.png') center/cover no-repeat;
  opacity: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.1;
  margin: 0 0 24px;
  color: #fff;
}

.hero-subhead {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(232, 238, 246, 0.9);
  margin: 0;
  max-width: 60ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

/* Resolve Section */
.resolve {
  background: var(--valet-midnight);
  color: var(--valet-text);
  padding: var(--section-padding) 0;
}

.resolve-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 48px);
  text-align: center;
  margin: 0 0 clamp(28px, 5vw, 56px);
  color: #f3f7fc;
}

.resolve-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.resolve-divider {
  height: 400px;
  width: 2px;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 217, 61, 0.3) 20%,
      rgba(255, 217, 61, 0.5) 50%,
      rgba(255, 217, 61, 0.3) 80%,
      transparent 100%);
  box-shadow: 0 0 20px rgba(255, 217, 61, 0.3);
  border-radius: 2px;
  justify-self: center;
}

.resolve-col {
  max-width: 480px;
}

.resolve-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.resolve-icon {
  width: 112px;
  height: 112px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.resolve-h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  color: #fff;
}

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

.resolve-list li {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: #c7d2e2;
  position: relative;
  padding-left: 36px;
  display: flex;
  align-items: flex-start;
}

.resolve-list li .bullet-icon {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border: 2px solid #ffd93d;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resolve-list li .bullet-icon svg {
  width: 14px;
  height: 14px;
  stroke: #ffd93d;
  stroke-width: 2.5;
  fill: none;
}

.resolve-list li strong {
  color: #fff;
}

.no-break {
  white-space: nowrap;
}

/* Bullet icons for training/enterprise/intelligence lists */
.training-list,
.enterprise-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.training-list li,
.enterprise-list li,
.intelligence-list li {
  padding-left: 36px;
  position: relative;
  display: flex;
  align-items: flex-start;
}

.training-list li::before,
.enterprise-list li::before,
.intelligence-list li::before {
  content: none;
}

.training-list li .bullet-icon,
.enterprise-list li .bullet-icon,
.intelligence-list li .bullet-icon {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border: 2px solid #ffd93d;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.training-list li .bullet-icon svg,
.enterprise-list li .bullet-icon svg,
.intelligence-list li .bullet-icon svg {
  width: 14px;
  height: 14px;
  stroke: #ffd93d;
  stroke-width: 2.5;
  fill: none;
}

/* Intelligence list without icons */
.intelligence-list-no-icons li {
  padding-left: 0;
  position: relative;
  list-style: none;
}

.intelligence-list-no-icons li::before {
  content: none;
}

@media (max-width: 900px) {
  .resolve-grid {
    grid-template-columns: 1fr;
  }

  .resolve-divider {
    display: none;
  }

  .resolve-title {
    text-align: left;
  }
}

/* Systems */
.systems {
  background: var(--valet-midnight);
  color: var(--valet-text);
  padding: var(--section-padding) 0;
}

.systems-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 48px);
  margin: 0 0 6px;
  text-align: center;
}

.systems-sub {
  text-align: center;
  color: var(--valet-muted);
  margin: 0 0 clamp(28px, 6vw, 56px);
}

.system {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: 32px;
  align-items: center;
  padding-block: clamp(20px, 3vw, 32px);
  position: relative;
}

.system--right {
  grid-template-columns: 1fr minmax(260px, 400px);
}

.system--right .system-img {
  order: 2;
}

.system--right .system-copy {
  order: 1;
}

.system-img,
.system-copy,
.system-arrow {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.4, 1);
}

.system-copy {
  transition-delay: 0.15s;
}

.system-arrow {
  position: absolute;
  right: 0;
  bottom: 16px;
  width: min(240px, 35vw);
  transition-delay: 0.4s;
}

.system--right .system-arrow {
  right: auto;
  left: 0;
}

.system--last .system-arrow {
  display: none;
}

.system.is-visible .system-img,
.system.is-visible .system-copy,
.system.is-visible .system-arrow {
  opacity: 1;
  transform: none;
}

.system-img {
  width: min(320px, 65vw);
  margin-inline: auto;
  display: block;
  box-shadow: none !important;
  filter: none !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.system-copy {
  max-width: 56ch;
}

.system-copy .kicker {
  font: 700 14px/1.4 var(--font-body);
  letter-spacing: 0.3px;
  color: #CDA833;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.system-copy p {
  margin: 0 0 0.8rem;
}

.learn-more {
  font: 700 16px/1.2 var(--font-body);
  letter-spacing: 0.4px;
  color: var(--valet-yellow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  display: inline-block;
  margin-top: 8px;
}

.learn-more:hover {
  border-color: var(--valet-yellow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {

  .system,
  .system--right {
    grid-template-columns: 1fr;
  }

  .system--right .system-img,
  .system--right .system-copy {
    order: unset;
  }

  .system-arrow {
    position: relative;
    margin: 12px auto 0;
    left: auto;
    right: auto;
    width: min(200px, 60vw);
  }
}

/* Stack Section */
.stack {
  background: var(--valet-midnight);
  color: var(--valet-text);
  padding: var(--section-padding) 0;
}

.stack .container {
  text-align: center;
}

.stack-illustration {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}

.stack-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 48px);
  margin: 0 0 8px;
}

.stack-sub {
  color: var(--valet-muted);
  margin: 0 0 clamp(28px, 6vw, 48px);
}

.stack-illustration {
  width: min(550px, 100%);
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.25));
}

/* Trust */
.trust {
  background: var(--valet-midnight);
  color: var(--valet-text);
  padding: var(--section-padding) 0;
}

.trust-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 48px);
  text-align: center;
  margin: 0 0 clamp(48px, 7vw, 72px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(40px, 4vw, 80px);
  text-align: center;
}

.trust-icon {
  width: 100px;
  margin: 0 auto 16px;
}

.trust-h3 {
  font: 700 clamp(16px, 1.8vw, 20px)/1.4 var(--font-body);
  color: var(--valet-yellow);
  margin: 8px 0;
}

.trust-item p {
  color: var(--valet-muted);
  margin: 0;
}

/* Timeline */
.timeline {
  background: var(--valet-midnight);
  color: var(--valet-text);
  padding: var(--section-padding) 0;
  position: relative;
}

.timeline-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 48px);
  text-align: center;
  margin: 0 0 clamp(28px, 6vw, 44px);
}

.timeline-cta-wrapper {
  position: relative;
  text-align: center;
}

.timeline-cta {
  margin-top: 48px;
  text-align: left;
  margin-left: 52%;
}

.timeline-cta .btn-primary {
  background: var(--valet-yellow);
  color: #031736;
  box-shadow: 0 25px 60px rgba(235, 198, 61, 0.5);
}

/* Fade-in scroll animation for timeline SVG */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-wrap {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: clamp(16px, 4vw, 48px);
  align-items: stretch;
}

.timeline-col {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.tcard {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tcard h3 {
  font: 800 clamp(16px, 2vw, 20px)/1.4 var(--font-body);
  color: var(--valet-yellow);
  margin: 0 0 10px;
}

.tcard ul {
  margin: 0;
  padding-left: 18px;
}

.tcard li {
  color: var(--valet-muted);
  margin: 6px 0;
  transition: color 0.4s ease;
}

.tcard li strong {
  color: #fff;
}

.timeline-spine {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.spine-svg {
  width: 60px;
  height: 100%;
  min-height: 0;
}

.spine-svg #spine {
  stroke-dasharray: 860;
  stroke-dashoffset: 860;
  transition: stroke-dashoffset 1.5s ease;
}

.dot {
  opacity: 0;
  transform: scale(0.7);
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline.is-visible #spine {
  stroke-dashoffset: 0;
}

.timeline.is-visible .dot.d1 {
  transition-delay: 0.3s;
  opacity: 1;
  transform: scale(1);
}

.timeline.is-visible .dot.d2 {
  transition-delay: 0.5s;
  opacity: 1;
  transform: scale(1);
}

.timeline.is-visible .dot.d3 {
  transition-delay: 0.7s;
  opacity: 1;
  transform: scale(1);
}

.timeline.is-visible .dot.d4 {
  transition-delay: 0.9s;
  opacity: 1;
  transform: scale(1);
}

.timeline.text-in .tcard {
  opacity: 1;
  transform: none;
}

.timeline.text-in .left .tcard {
  transition-delay: 1s;
}

.timeline.text-in .right .tcard {
  transition-delay: 1.12s;
}

.timeline.text-in .tcard li {
  color: var(--valet-yellow);
}

.timeline.text-in .tcard li strong {
  color: #fff;
}

@media (max-width: 900px) {
  .timeline-wrap {
    grid-template-columns: 1fr;
  }

  .timeline-spine {
    order: -1;
    min-height: auto;
    margin-bottom: 12px;
  }

  .spine-svg {
    width: 36px;
    height: auto;
    min-height: 520px;
    margin: 0 auto;
  }
}

/* Contact */
.contact {
  background: var(--valet-midnight);
  color: var(--valet-text);
  padding: var(--section-padding) 0;
}

.contact .container {
  max-width: 880px;
  text-align: center;
}

.contact-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 32px;
}

.card {
  text-align: left;
  background: radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.08)), #0b1d33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: clamp(18px, 3.5vw, 32px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.row.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field label {
  display: block;
  margin-bottom: 8px;
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--valet-muted);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--valet-text);
  font: 400 16px/1.3 var(--font-body);
  padding: 14px 16px;
}

input:focus,
textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.err {
  min-height: 16px;
  color: #ffb4b4;
  font: 600 12px/1.2 var(--font-body);
  margin: 6px 2px 0;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.status {
  font: 600 14px/1.4 var(--font-body);
  color: var(--valet-muted);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

/* Footer */
.site-footer {
  background: var(--valet-midnight);
  color: var(--valet-text);
  padding: 0 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-top-border {
  height: 2px;
  background: linear-gradient(90deg, rgba(235, 198, 61, 0.6), rgba(235, 198, 61, 0.15));
  margin-bottom: 24px;
}

.footer-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 8px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: clamp(24px, 5vw, 64px);
}

.footer-eyebrow {
  font: 800 12px/1 var(--font-body);
  letter-spacing: 0.4px;
  color: var(--valet-yellow);
  margin: 10px 0 8px;
}

.footer-col p,
.footer-col li,
.footer-address {
  color: var(--valet-muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer-links,
.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-legal a {
  color: var(--valet-text);
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-email a:hover {
  text-decoration: underline;
}

.footer-tagline {
  color: var(--valet-yellow);
  font-weight: 700;
  margin: 0 0 14px;
}

.footer-company {
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.footer-copy {
  margin-top: 18px;
  font-size: 12px;
  color: #98abc3;
}

@media (max-width: 960px) {
  .footer-wrap {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Intelligence Integration Section */
.intelligence-integration {
  background: var(--valet-midnight);
  padding: var(--section-padding) 0;
}

.intelligence-content {
  max-width: 1200px;
  margin: 0 auto;
}

.intelligence-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.2;
}

.intelligence-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  color: var(--valet-muted);
  margin: 0 0 48px;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.intelligence-intro {
  font-size: 18px;
  font-weight: 600;
  color: var(--valet-yellow);
  margin-bottom: 16px;
}

.intelligence-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--valet-text);
}

.intelligence-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.intelligence-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.intelligence-list li::before {
  content: none;
}

.intelligence-image img {
  border-radius: 16px;
}

@media (max-width: 960px) {
  .intelligence-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intelligence-image {
    order: -1;
  }
}

/* Team Training Section */
.team-training {
  background: var(--valet-midnight);
  padding: var(--section-padding) 0;
}

.training-grid {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 64px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.training-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  margin: 0 0 24px;
  line-height: 1.2;
}

.training-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--valet-muted);
  margin-bottom: 24px;
}

.training-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--valet-text);
}

.training-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.training-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.training-list li::before {
  content: none;
}

.training-image {
  display: flex;
  align-items: stretch;
}

.training-image img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .training-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .training-image {
    order: -1;
  }
}

/* Enterprise Power Section */
.enterprise-power {
  background: var(--valet-midnight);
  padding: var(--section-padding) 0;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 64px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.enterprise-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  margin: 0 0 24px;
  line-height: 1.2;
}

.enterprise-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--valet-muted);
  margin-bottom: 24px;
}

.enterprise-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.enterprise-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.enterprise-list li::before {
  content: none;
}

.enterprise-image {
  display: flex;
  align-items: stretch;
}

.enterprise-image img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .enterprise-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .enterprise-image {
    order: -1;
  }
}

@media (max-width: 640px) {
  .gpt-banner-section img {
    /* 10% bigger (110%) and centered (-5% margin-left) */
    width: 110%;
    max-width: none;
    /* Allow overflowing container */
    margin-left: -5%;
    height: auto;
  }

  /* Target the CTA wrapper div that comes after picture to fix spacing */
  .gpt-banner-section picture+div {
    margin-top: 10px !important;
    /* Override inline -20px style to add spacing */
  }

  .stack-illustration {
    width: 90%;
  }

  /* Mobile Timeline Styles */
  .timeline-illustration {
    display: none !important;
  }

  .timeline-mobile {
    display: flex !important;
    position: relative;
    flex-direction: column;
    margin-top: 40px;
    padding-left: 20px;
    /* Space for negative margin of items */
  }

  /* CTA specific mobile override */
  .timeline-cta {
    margin-left: 0 !important;
    text-align: left !important;
    margin-top: 32px;
  }

  .timeline-cta .btn {
    width: 100%;
    white-space: nowrap;
    justify-content: center;
    /* keep text centered within button, button fills width? user said 'whole text on 1 line' which implies sufficient width, but 'left aligned' might mean the button itself is left aligned or text inside? user said 'cta after it lrft aligned'. usually means position. */
    /* User said "so that the whole text is on 1 line". */
    padding-left: 16px;
    padding-right: 16px;
    font-size: 14px;
    /* Ensure it fits */
  }

  .mobile-timeline-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 40px;
    border-left: 2px solid var(--valet-yellow);
    text-align: left;
    /* Ensure left alignment */
  }

  .mobile-timeline-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
    /* Stop line at the last circle */
  }

  .mobile-timeline-marker {
    position: absolute;
    left: -9px;
    /* Centered on the 2px border (border is at 0 of padding-box? no. border is at left edge of item). 
                   Item has no margin. Border is at x=0. 
                   Marker width 16. Center 8. 
                   We need center at 0 + 1 (border center).
                   So left = 1 - 8 = -7px.
                   Let's try -9px to be safe with stroke widths. */
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--valet-text);
    border: 2px solid var(--valet-yellow);
    border-radius: 50%;
    z-index: 2;
  }

  .mobile-timeline-content h3 {
    margin: 0 0 16px;
    color: var(--valet-yellow);
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left;
  }

  .mobile-timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .mobile-timeline-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--valet-muted);
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
  }

  .mobile-timeline-content li::before {
    content: "•";
    color: var(--valet-yellow);
    position: absolute;
    left: 0;
    font-weight: bold;
  }

  .mobile-timeline-content strong {
    color: #fff;
  }
}

/* Default state for mobile timeline (hidden on desktop) */
.timeline-mobile {
  display: none;
}

/* Security Cards - Hidden by default (desktop) */
.security-cards-mobile {
  display: none;
}

@media (max-width: 640px) {

  /* Hide desktop security SVG on mobile */
  .security-svg-desktop {
    display: none !important;
  }

  /* Show and style security cards on mobile */
  .security-cards-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }

  .security-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(235, 198, 61, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
  }

  .security-card-icon {
    font-size: 48px;
    color: var(--valet-yellow);
    margin-bottom: 16px;
    display: block;
  }

  .security-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--valet-yellow);
    margin: 0 0 16px;
    line-height: 1.3;
  }

  .security-card p {
    color: var(--valet-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
  }

  .security-card p:last-child {
    margin-bottom: 0;
  }
}

/* Newsletter Section */
.newsletter-band {
  background: #0b1d38;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 32px;
  margin: 0 0 16px;
  color: #fff;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 24px auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.newsletter-disclaimer {
  margin-top: 16px;
  font-size: 13px;
  color: var(--valet-muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.4;
}

.newsletter-disclaimer a {
  color: var(--valet-yellow);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .newsletter-form {
    flex-direction: column;
  }
}