/*
Theme Name: Support That Fits
Theme URI: https://supportthatfits.com
Author: Pushnami
Description: Minimal hand-coded theme for Support That Fits. Home page plus stimulus landing page. No page builder, no templates.
Version: 4.0.0
License: Proprietary
Text Domain: supportthatfits
*/

:root {
  --bm-blue: #427be9;
  --bm-blue-deep: #2f63cf;
  --bm-blue-dark: #234eae;
  --bm-navy: #1a2646;
  --bm-navy-deep: #111a33;
  --bm-gold: #ffd166;
  --bm-sky: #bcd0f8;
  --bm-ink: #1f2937;
  --bm-muted: #5b6b7c;
  --bm-bg: #f4f7fd;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Avenir Next", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--bm-ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

.bm-wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* ---------- Logo ---------- */
.bm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.bm-logo img { height: 44px; width: auto; display: block; }

/* Logo treatment on colored backgrounds: white (reversed) logo file */
.bm-logo--white img { height: 48px; }

/* ---------- Buttons ---------- */
.bm-btn {
  display: inline-block;
  background: var(--bm-navy);
  color: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  padding: 17px 38px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.bm-btn:hover { background: var(--bm-navy-deep); transform: translateY(-1px); }
.bm-btn:active { transform: translateY(1px); }

/* ---------- Top disclaimer bar ---------- */
.bm-topbar {
  background: var(--bm-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 7px 16px;
}

/* ---------- Header (home) ---------- */
.bm-header { padding: 14px 0; border-bottom: 1px solid #e6eaf6; background: #fff; }
.bm-header .bm-wrap { display: flex; align-items: center; justify-content: space-between; }

/* ---------- Home hero ---------- */
.bm-hero {
  background: linear-gradient(165deg, var(--bm-blue) 0%, var(--bm-blue-deep) 70%, var(--bm-blue-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 0 64px;
}
.bm-hero h1 { font-size: 32px; line-height: 1.15; font-weight: 800; margin-bottom: 14px; }
.bm-hero p { font-size: 17px; opacity: 0.94; max-width: 620px; margin: 0 auto; }

/* ---------- Home sections ---------- */
.bm-section { padding: 48px 0; }
.bm-section h2 { font-size: 26px; font-weight: 800; color: var(--bm-navy); margin-bottom: 26px; text-align: center; }
.bm-cols { display: grid; grid-template-columns: 1fr; gap: 18px; }
.bm-col {
  background: var(--bm-bg);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  box-shadow:
    0px 0px 0px 1px rgba(26, 38, 70, 0.06),
    0px 1px 2px -1px rgba(26, 38, 70, 0.06),
    0px 2px 4px 0px rgba(26, 38, 70, 0.04);
}
.bm-col h3 { font-size: 18px; color: var(--bm-navy); margin-bottom: 6px; }
.bm-col p { font-size: 15px; color: var(--bm-muted); }
.bm-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bm-blue); color: #fff; font-weight: 800; font-size: 18px;
  margin-bottom: 12px;
}
.bm-about { background: var(--bm-bg); }
.bm-about .bm-wrap { max-width: 700px; text-align: center; }
.bm-about p { color: var(--bm-muted); font-size: 16px; }

/* ---------- Footer ---------- */
.bm-footer { background: var(--bm-navy); color: rgba(255, 255, 255, 0.75); padding: 36px 0 28px; text-align: center; }
.bm-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 22px;
  margin-bottom: 24px;
}
.bm-footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.bm-footer-links a:hover { color: #fff; text-decoration: underline; }
.bm-footer-contact {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 22px;
}
.bm-footer-contact a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.bm-footer-contact a:hover { color: #fff; text-decoration: underline; }
.bm-footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.bm-footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  max-width: 560px;
  margin: 10px auto 0;
}

/* ---------- Landing page ---------- */
.bm-lander {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(90% 55% at 50% -10%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(170deg, var(--bm-blue) 0%, var(--bm-blue-deep) 55%, var(--bm-blue-dark) 100%);
  color: #fff;
  padding: 22px 20px 34px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.bm-lander::before,
.bm-lander::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  animation: bm-float 9s ease-in-out infinite;
  pointer-events: none;
}
.bm-lander::before { width: 260px; height: 260px; top: -80px; left: -90px; }
.bm-lander::after { width: 340px; height: 340px; bottom: -120px; right: -110px; animation-delay: -4.5s; }

.bm-lander-head { position: relative; z-index: 1; }
.bm-lander-main {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  max-width: 620px;
  padding: 28px 0 12px;
}

.bm-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  margin-bottom: 20px;
  animation: bm-rise 0.5s ease both;
}

.bm-lander h1 {
  font-size: 34px;
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 16px;
  text-wrap: balance;
  animation: bm-rise 0.5s 0.08s ease both;
}
.bm-amount {
  color: var(--bm-gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.bm-lander .bm-sub {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 30px;
  animation: bm-rise 0.5s 0.16s ease both;
}

.bm-cta-zone { animation: bm-rise 0.5s 0.24s ease both; width: 100%; }
/* On the blue lander gradient a navy button reads blue-on-blue, so the CTA
   goes white with brand-blue text for contrast. */
.bm-btn--cta {
  width: 100%;
  max-width: 380px;
  font-size: 22px;
  padding: 19px 40px;
  background: #fff;
  color: var(--bm-blue-deep);
  box-shadow: 0 10px 30px rgba(17, 26, 51, 0.35);
  position: relative;
  animation: bm-pulse 2.2s ease-in-out infinite;
}
.bm-btn--cta:hover { background: #eef3fd; animation-play-state: paused; }

.bm-trust {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14px; font-weight: 600; opacity: 0.92;
  margin-top: 18px;
}
.bm-trust span::before { content: "✓ "; color: var(--bm-sky); font-weight: 800; }

.bm-fineprint {
  position: relative; z-index: 1;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  max-width: 480px;
  margin-top: 26px;
}

/* ---------- Animations ---------- */
@keyframes bm-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bm-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(17, 26, 51, 0.35), 0 0 0 0 rgba(255, 255, 255, 0.45); }
  50%      { box-shadow: 0 10px 30px rgba(17, 26, 51, 0.35), 0 0 0 14px rgba(255, 255, 255, 0); }
}
@keyframes bm-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(22px); }
}
@media (prefers-reduced-motion: reduce) {
  .bm-lander::before, .bm-lander::after, .bm-btn--cta { animation: none; }
}

/* ---------- Tablet / desktop ---------- */
@media (min-width: 768px) {
  .bm-logo img { height: 52px; }
  .bm-hero { padding: 84px 0 92px; }
  .bm-hero h1 { font-size: 44px; }
  .bm-hero p { font-size: 19px; }
  .bm-section { padding: 64px 0; }
  .bm-cols { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .bm-lander { padding: 30px 20px 40px; }
  .bm-lander h1 { font-size: 50px; }
  .bm-lander .bm-sub { font-size: 21px; }
  .bm-btn--cta { width: auto; font-size: 24px; padding: 21px 60px; }
  .bm-fineprint { font-size: 12px; }
}
