/* === Theme Softening Overrides (non-destructive) === */
:root{
  /* softened midnight palette */
  --bg:#0D1630;
  --card:#12203F;
  --ink:#0B141D;
  /* keep existing accent variables (aqua/indigo/coral) from inline head */
}

/* Background polish with subtle radial glows */
body{
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1000px 500px at 88% 0%, rgba(108,123,255,.08), transparent 60%),
    var(--bg);
  color: #ECF2FF;
}

/* Header clarity: lighter translucency + separation */
header.sticky.top-0{
  background: rgba(11,18,32,.74) !important;
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Card-like surfaces */
.postcard-card,
.nk-card,
.card,
.faq-section .item,
.section .cardlike{
  background: linear-gradient( to bottom right, color-mix(in srgb, var(--card), white 6%), var(--card) );
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

/* Buttons/CTA subtle polish */
.btn, .button, .cta, .nk-cta{
  box-shadow: 0 8px 24px rgba(108,123,255,.25);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover, .button:hover, .cta:hover, .nk-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(108,123,255,.35);
}

/* Postcard hover: tasteful pop-out (safer duplicate to ensure effect) */
.postcard-card{ transition: transform .25s ease, box-shadow .25s ease; }
.postcard-card:hover{ transform: translateY(-2px) scale(1.015); box-shadow: 0 24px 60px rgba(0,0,0,.30) }
.postcard-card .ratio img{ transition: transform .35s ease; }
.postcard-card:hover .ratio img{ transform: scale(1.05) }

/* Footer divider slightly brighter for separation on lighter bg */
footer{ border-top: 1px solid rgba(255,255,255,.10) }

/* Ensure high contrast for labels in dark blue caption bars */
/* Set postcard captions to use the unified off‑white text colour for better contrast on dark cards */
.postcard-caption,
.postcard-caption * {
  color: var(--nk-text) !important;
}


/* === Tighten spacing above "Best Fit Industries" section (non-destructive) === */
#wins { padding-top: 3.25rem !important; }              /* was ~5rem via py-20 */
@media (min-width:768px){
  #wins { padding-top: 3rem !important; }               /* keep it airy but tighter on md+ */
}

/* Inner rounded container has extra padding; reduce just the top within this section */
#wins .rounded-3xl { padding-top: 1.75rem !important; } /* overrides pt-10 */
@media (min-width:768px){
  #wins .rounded-3xl { padding-top: 2rem !important; }  /* overrides md:pt-12 */
}
