/* Marketing site — shared polish (all breakpoints) + mobile / tablet. */
html,
body {
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection {
  background: #ff4300;
  color: #fff;
}
.btn-login:hover {
  background: #1a0648 !important;
  color: #fff !important;
  border-color: #1a0648 !important;
  filter: brightness(1.18);
}
.btn:active,
.btn-orange:active,
#contact-submit:active {
  transform: translateY(1px);
}
.btn:focus-visible,
.btn-login:focus-visible,
.nav-link:focus-visible,
.contact-input:focus-visible,
.mkt-burger:focus-visible,
.mkt-drawer a:focus-visible {
  outline: 2px solid #ff4300;
  outline-offset: 3px;
}
.mkt-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
}
.photo-copy {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}
.portal-card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}
.portal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.mkt-burger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: rgb(26, 6, 72);
}
.mkt-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 9999;
  padding: 8px 24px 32px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.mkt-drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: rgb(26, 6, 72);
  text-decoration: none;
}
.mkt-drawer a.mkt-drawer-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: rgb(26, 6, 72);
  color: #fff;
  font-weight: 600;
}

@media (max-width: 900px) {
  #site-header.hidden {
    transform: none !important;
  }
  .header-inner {
    height: 72px !important;
    padding: 0 16px !important;
  }
  .header-logo {
    width: min(220px, calc(100vw - 88px)) !important;
    height: auto !important;
    max-height: 48px !important;
  }
  .header-right {
    display: none !important;
  }
  .mkt-burger {
    display: flex !important;
  }
  body.mkt-nav-open .mkt-drawer {
    display: block;
  }
  body.mkt-nav-open {
    overflow: hidden;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.04em !important;
  }

  .mkt-hero {
    min-height: 100dvh !important;
    padding: 72px 20px 56px !important;
  }
  .mkt-hero > div[style*='height:840px'] {
    top: 0 !important;
    height: 100% !important;
  }
  .mkt-hero > div[style*='height:840px'] img {
    height: 100% !important;
  }
  .mkt-hero > div[style*='z-index:10'] {
    padding-top: 48px !important;
    padding-bottom: 32px !important;
  }
  .mkt-hero p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;
  }
  [style*='width:88px'] {
    display: none !important;
  }

  section {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  section[style*='display:flex'],
  section > div[style*='display:flex'],
  .mobile-stack {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
  }

  section div[style*='width:50%'],
  section div[style*='width:70%'],
  section div[style*='width:30%'] {
    width: 100% !important;
    min-height: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  section div[style*='width:50%'][style*='overflow'],
  section div[style*='width:30%'][style*='overflow'] {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
  }
  section div[style*='width:50%'][style*='overflow'] > img,
  section div[style*='width:30%'][style*='overflow'] > img,
  section div[style*='overflow:clip'] > img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 320px !important;
    max-width: none !important;
    object-fit: cover !important;
  }

  [style*='width:169px'],
  [style*='width:204px'],
  [style*='width:310px'],
  [style*='width:323px'],
  [style*='width:340px'],
  [style*='width:360px'],
  [style*='width:361px'],
  [style*='width:366px'],
  [style*='width:374px'],
  [style*='width:379px'],
  [style*='width:404px'],
  [style*='width:413px'],
  [style*='width:464px'],
  [style*='width:490px'],
  [style*='width:737px'],
  [style*='width:820px'],
  [style*='width:860px'],
  [style*='width:922px'],
  [style*='width:980px'] {
    width: 100% !important;
    max-width: 100% !important;
  }

  [style*='margin-left:calc(50%'] {
    margin-left: 0 !important;
  }

  section div[style*='width:3px'],
  section div[style*='width:1px'][style*='background:#a1a1aa'],
  section div[style*='width:1px'][style*='background:#737373'] {
    display: none !important;
  }

  .btn,
  .btn-default,
  .btn-large {
    width: 100% !important;
    max-width: 280px;
    height: 48px !important;
  }

  .why-cta-pin {
    height: auto !important;
  }
  .why-cta-bg {
    position: relative !important;
    height: 280px !important;
  }
  .why-cta-fore {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    display: block !important;
    padding: 32px 20px 48px !important;
  }
  .why-cta-fore .why-cta-card {
    margin-left: 0 !important;
    width: 100% !important;
  }

  div[style*='justify-content:space-evenly'] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  div[style*='grid-template-columns:1fr 1fr'],
  div[style*='grid-template-columns:204px'] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-left: 0 !important;
  }

  .founders-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .founders-grid > div {
    height: 260px !important;
  }

  h3 {
    letter-spacing: 0.12em !important;
    overflow-wrap: anywhere;
  }

  section[style*='height:736px'] {
    min-height: 72dvh !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 88px 20px 36px !important;
  }
  section[style*='height:736px'] p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em !important;
  }

  section div[style*='width:50%'][style*='overflow'] > div[style*='position:absolute'] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    padding: 24px 20px 28px !important;
    background: #000 !important;
  }

  section[style*='height:762px'] > img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 280px !important;
  }
  section[style*='height:762px'] > div[style*='position:absolute'] {
    position: relative !important;
    display: block !important;
    padding: 32px 24px 36px !important;
    background: #111 !important;
  }
  section[style*='height:762px'] > div[style*='position:absolute'] > div {
    width: 100% !important;
  }

  footer > div[style*='display:flex'],
  .footer-cols {
    display: flex !important;
    flex-direction: column !important;
    padding: 32px 24px !important;
    gap: 28px;
  }
  footer div[style*='flex:'] {
    flex: none !important;
    padding-left: 0 !important;
  }
  footer h4 {
    margin-top: 0 !important;
  }

  img[style*='width:720px'] {
    width: 100% !important;
    max-width: 100% !important;
    height: 320px !important;
  }

  .fleet-section {
    height: auto !important;
    min-height: 0 !important;
  }
  .fleet-section > img {
    position: relative !important;
    height: 220px !important;
  }
  .fleet-section > div[style*='width: 707px'] {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    padding: 24px 20px 8px !important;
  }
  .fleet-section > div[style*='width: 707px'] img {
    width: min(280px, 80vw) !important;
    height: auto !important;
  }
  .fleet-panel {
    position: relative !important;
    width: 100% !important;
    right: auto !important;
    padding: 32px 24px 40px !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem !important;
  }
  .founders-grid {
    grid-template-columns: 1fr !important;
  }
}
