/* ==========================================================================
   Bedrock Solar Partners — bedrocksolar.ca
   Production stylesheet recreated from the design handoff.
   Color ratio target: ~60% slate/ink · ~25% bone/paper · ~10% orange · ~5% stone.
   Orange is NEVER used for body text.
   ========================================================================== */

:root {
  /* ---- Colors ---- */
  --midnight:      #0E1A24;  /* primary dark ground */
  --deep-slate:    #1E2D3A;  /* secondary dark ground */
  --steel:         #3E5566;  /* body text on light; stat top borders on dark */
  --orange:        #E8852C;  /* CTAs, key numbers, accents */
  --orange-hover:  #F0974A;
  --deep-amber:    #C96A18;  /* eyebrows on light, gradient, button inset */
  --copper:        #B5642F;  /* final CTA gradient stop */
  --stone:         #8A8275;  /* strata lines, muted labels, footnotes */
  --bone:          #F4F1EA;  /* light surface / light text on dark */
  --paper:         #FBFAF6;  /* default page bg / light sections */
  --sand:          #E3DCCD;  /* hairlines, card borders, FAQ dividers */
  --input-border:  #D8CFBE;
  --nav-text:      #C7CFD6;  /* nav links + body on dark */
  --muted-dark:    #8A9AA6;  /* tertiary text on dark */
  --amber-body:    #3a2710;  /* subhead inside orange CTA band */
  --strata-stone:  #A79E8E;

  /* ---- Type ---- */
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- Layout ---- */
  --page-pad: clamp(20px, 4vw, 40px);
  --section-pad: clamp(64px, 9vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--midnight);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: var(--midnight); }
img { max-width: 100%; display: block; }

/* Anchor offset so the sticky nav doesn't cover headings on jump */
[id] { scroll-margin-top: 80px; }

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---- Wrappers ---- */
.wrap { margin: 0 auto; width: 100%; }
.wrap--1200 { max-width: 1200px; }
.wrap--1080 { max-width: 1080px; }
.wrap--980  { max-width: 980px; }
.wrap--840  { max-width: 840px; }

/* ---- Sections ---- */
.section { padding: var(--section-pad) var(--page-pad); }
.section--bone      { background: var(--bone); }
.section--paper     { background: var(--paper); }
.section--dark      { background: var(--midnight); color: var(--bone); }
.section--deepslate { background: var(--deep-slate); color: var(--bone); }

/* ---- Shared type ---- */
.h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 18px 0 0;
  text-wrap: pretty;
}
.h2--upper { text-transform: uppercase; }
.h2--tight { font-size: clamp(30px, 5vw, 52px); line-height: 1.02; font-weight: 900; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow--amber  { color: var(--deep-amber); }
.eyebrow--orange { color: var(--orange); }

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--steel);
}

.accent-orange { color: var(--orange); }
.accent-amber  { color: var(--deep-amber); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--orange {
  background: var(--orange);
  color: var(--midnight);
  font-size: 15px;
  padding: 11px 20px;
  box-shadow: 0 1px 0 var(--deep-amber) inset;
}
.btn--orange:hover { background: var(--orange-hover); }
.btn--lg { font-size: 17px; padding: 16px 30px; border-radius: 8px; }
.btn--ghost {
  background: transparent;
  color: var(--bone);
  font-weight: 600;
  border: 1px solid var(--steel);
}
.btn--ghost:hover { border-color: var(--stone); background: rgba(255,255,255,0.03); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,26,36,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--deep-slate);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.brand__word--accent { color: var(--orange); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  text-decoration: none;
  color: var(--nav-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color .2s ease;
}
.nav__link:hover { color: var(--bone); }
.nav__cta { flex-shrink: 0; }
/* The JS-appended mobile CTA only appears inside the mobile menu */
.nav__link--cta { display: none; }

/* Mobile menu toggle (hidden on desktop) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--steel);
  border-radius: 7px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--bone);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { position: relative; }
  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--midnight);
    border-bottom: 1px solid var(--deep-slate);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    padding: 8px var(--page-pad) 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--deep-slate); font-size: 17px; }
  .nav__link--cta {
    display: block;
    margin-top: 14px;
    border-bottom: none;
    background: var(--orange);
    color: var(--midnight);
    text-align: center;
    border-radius: 7px;
    padding: 14px 0;
    font-weight: 700;
  }
  .nav__link--cta:hover { color: var(--midnight); background: var(--orange-hover); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--midnight);
  color: var(--bone);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 80% at 80% -10%, rgba(232,133,44,0.20), transparent 55%);
  animation: dawnDrift 16s ease-in-out infinite;
  will-change: transform, opacity;
}
/* Second, dimmer glow rising from the horizon for a layered "dawn" feel */
.hero__glow--2 {
  background: radial-gradient(90% 70% at 58% 120%, rgba(232,133,44,0.15), transparent 60%);
  animation: dawnDrift2 22s ease-in-out infinite;
}
@keyframes dawnDrift {
  0%   { transform: scale(1)    translate3d(0, 0, 0);       opacity: 0.8; }
  50%  { transform: scale(1.12) translate3d(-2%, 1.5%, 0);  opacity: 1; }
  100% { transform: scale(1)    translate3d(0, 0, 0);       opacity: 0.8; }
}
@keyframes dawnDrift2 {
  0%   { transform: scale(1)    translateY(0);   opacity: 0.5; }
  50%  { transform: scale(1.14) translateY(-4%); opacity: 1; }
  100% { transform: scale(1)    translateY(0);   opacity: 0.5; }
}

/* Sweeping "sun glint" — a soft warm band that crosses the hero periodically */
.hero__sweep { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero__sweep::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 0;
  width: 32%;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255,214,160,0.16), transparent);
  filter: blur(8px);
  transform: translateX(-160%) skewX(-14deg);
  animation: heroSweep 10s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes heroSweep {
  0%   { transform: translateX(-160%) skewX(-14deg); opacity: 0; }
  10%  { opacity: 1; }
  55%  { opacity: 1; }
  72%  { opacity: 0; }
  100% { transform: translateX(460%) skewX(-14deg); opacity: 0; }
}

/* Floating dawn-light motes — sparse warm specks drifting up (built in script.js) */
.hero__motes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.mote {
  position: absolute;
  bottom: -3%;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,133,44,0.85), rgba(232,133,44,0) 70%);
  box-shadow: 0 0 7px rgba(232,133,44,0.45);
  opacity: 0;
  will-change: transform, opacity;
  animation: moteRise var(--d) linear var(--delay) infinite;
}
@keyframes moteRise {
  0%   { transform: translate3d(0, 0, 0);                 opacity: 0; }
  12%  { opacity: var(--o); }
  86%  { opacity: var(--o); }
  100% { transform: translate3d(var(--x), var(--rise), 0); opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px,11vw,128px) var(--page-pad) clamp(56px,8vw,96px);
}

/* Staggered hero entrance — content rises in on load */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__inner .pill,
.hero__line,
.hero__sub,
.hero__actions,
.hero__trust {
  opacity: 0;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__inner .pill          { animation-delay: 0.05s; }
.hero__line:nth-of-type(1)  { animation-delay: 0.18s; }
.hero__line:nth-of-type(2)  { animation-delay: 0.30s; }
.hero__sub                  { animation-delay: 0.46s; }
.hero__actions              { animation-delay: 0.60s; }
.hero__trust                { animation-delay: 0.72s; }
.hero__line { display: block; }

/* Warm sheen sweeping across the "We close." headline (runs after its entrance) */
.hero__title .hero__line.accent-orange {
  background: linear-gradient(100deg, #E8852C 0 38%, #FBC889 50%, #E8852C 62% 100%);
  background-size: 220% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation:
    heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.30s forwards,
    headlineSheen 7s ease-in-out 1.8s infinite;
}
@keyframes headlineSheen {
  0%   { background-position: 130% 0; }
  35%  { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--steel);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #A8B4BD;
  margin-bottom: 34px;
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,133,44,0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(232,133,44,0); }
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(52px, 11vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero__sub {
  max-width: 600px;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.6;
  color: var(--nav-text);
  margin: 0 0 38px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.hero__trust {
  font-size: 14px;
  font-weight: 500;
  color: var(--stone);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ==========================================================================
   STRATA DIVIDERS (signature element)
   ========================================================================== */
.strata { display: flex; flex-direction: column; gap: 5px; }
.strata__bar { width: 100%; }
.strata__bar--1 { height: 3px;   background: var(--strata-stone); }
.strata__bar--2 { height: 1.5px; background: var(--stone); opacity: 0.5; }
.strata__bar--3 { height: 1.5px; background: var(--stone); opacity: 0.3; }

.strata--hero { padding: 0 var(--page-pad); position: relative; z-index: 2; }
/* "First light" — a bright sliver sweeps along the bedrock edge, then rests */
.strata--hero .strata__bar--1 { position: relative; overflow: hidden; }
.strata--hero .strata__bar--1::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(232,133,44,0.95), transparent);
  transform: translateX(-130%);
  animation: strataSweep 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes strataSweep {
  0%   { transform: translateX(-130%); }
  50%  { transform: translateX(560%); }
  100% { transform: translateX(560%); }
}

.strata--accent { width: 120px; }
.strata--accent-orange { margin-bottom: 40px; }
.strata__bar--orange { height: 3px; background: var(--orange); }
.strata--accent .strata__bar--2 { opacity: 0.6; }
.strata--accent .strata__bar--3 { opacity: 0.35; }

.strata--cta { width: 140px; margin: 48px auto 0; }
.strata__bar--ink  { height: 3px;   background: var(--midnight); }
.strata__bar--ink2 { height: 1.5px; background: var(--midnight); opacity: 0.45; }
.strata__bar--ink3 { height: 1.5px; background: var(--midnight); opacity: 0.25; }

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.prose-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.section__head { max-width: 760px; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--sand);
  margin-top: 56px;
  border: 1px solid var(--sand);
  border-radius: 14px;
  overflow: hidden;
}
.step {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.step__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--orange);
}
.step__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  margin: 0;
  letter-spacing: -0.01em;
}
.step__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--steel);
}

/* ==========================================================================
   NUMBERS / PROOF BAND
   ========================================================================== */
.numbers { position: relative; padding: clamp(64px,9vw,120px) var(--page-pad); }
.numbers__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 90% at 15% 0%, rgba(232,133,44,0.10), transparent 60%);
}
.numbers__inner { position: relative; }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px 40px;
  margin-top: 64px;
}
.stat { border-top: 2px solid var(--steel); padding-top: 24px; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 92px);
  line-height: 0.9;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.stat__body {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--nav-text);
}
.footnote { margin: 44px 0 0; font-size: 13px; color: var(--stone); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.price-card {
  border-radius: 14px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card--dark  { background: var(--midnight); color: var(--bone); }
.price-card--light { background: var(--bone); border: 1px solid var(--sand); }
.price-card__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--stone);
  text-transform: uppercase;
}
.price-card__value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.95;
  color: var(--midnight);
}
.price-card__value--orange { color: var(--orange); }
.price-card__body { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--steel); }
.price-card__body--muted { color: var(--nav-text); }

/* ==========================================================================
   WHO THIS IS FOR
   ========================================================================== */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.fit__head {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.fit__head--yes { color: var(--orange); }
.fit__head--no  { color: var(--stone); }
.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fit-list li {
  display: flex;
  gap: 14px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--nav-text);
}
.fit-list--muted li { color: var(--muted-dark); }
.fit__dash { font-weight: 700; flex-shrink: 0; }
.fit__dash--yes { color: var(--orange); }
.fit__dash--no  { color: var(--stone); }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq__item { border-top: 1px solid var(--sand); }
.faq__item:last-child { border-bottom: 1px solid var(--sand); }
.faq__heading { margin: 0; }
.faq__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--midnight);
}
.faq__chev {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--orange);
  transition: transform .3s ease;
}
.faq__trigger[aria-expanded="true"] .faq__chev { transform: rotate(45deg); }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .35s ease, opacity .3s ease;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; opacity: 1; }
.faq__panel-inner { overflow: hidden; }
.faq__answer {
  margin: 0;
  padding-bottom: 26px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--steel);
}

/* ==========================================================================
   FINAL CTA + FORM
   ========================================================================== */
.cta {
  background: linear-gradient(110deg, #C96A18 0%, #E8852C 55%, #B5642F 100%);
  color: var(--midnight);
  padding: clamp(72px,10vw,128px) var(--page-pad);
  position: relative;
  overflow: hidden;
}
.cta__inner { position: relative; text-align: center; }
.h2--cta {
  font-weight: 900;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.cta__sub {
  max-width: 560px;
  margin: 0 auto 38px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--amber-body);
  font-weight: 500;
}

.form-card {
  max-width: 660px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
  text-align: left;
  box-shadow: 0 24px 60px rgba(14,26,36,0.22);
}
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--steel);
  text-transform: uppercase;
}
.field--full { grid-column: 1 / -1; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--midnight);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.field input:focus { border-color: var(--orange); outline: none; }
/* Native invalid state after a blocked submit */
.field input:user-invalid { border-color: #C0492B; }

.form__submit {
  grid-column: 1 / -1;
  margin-top: 6px;
  background: var(--midnight);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  padding: 17px 28px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s ease;
}
.form__submit:hover { background: var(--deep-slate); }
.form__submit[disabled] { opacity: 0.7; cursor: progress; }
.form__fine {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--stone);
}
.form__error {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8A2A14;
  font-weight: 600;
}
.form__error a { color: #8A2A14; }

/* Honeypot — visually hidden but present in the DOM for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--midnight);
  border-radius: 16px;
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(14,26,36,0.22);
}
.thanks-card__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  color: var(--bone);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.thanks-card__body {
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--nav-text);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--midnight);
  color: var(--nav-text);
  padding: clamp(56px,7vw,80px) var(--page-pad) 40px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer__brand { max-width: 320px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand .brand__word { font-size: 18px; }
.footer__tagline {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted-dark);
}
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col-head {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__link {
  text-decoration: none;
  color: var(--nav-text);
  font-size: 14.5px;
  transition: color .2s ease;
}
.footer__link:hover { color: var(--orange); }
.footer__muted { color: var(--muted-dark); font-size: 14.5px; }
.footer__bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--deep-slate);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer__copy { font-size: 13px; color: var(--stone); }
.footer__book {
  text-decoration: none;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  transition: color .2s ease;
}
.footer__book:hover { color: var(--orange-hover); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Show hero content immediately; kill ambient motion */
  .hero__inner .pill,
  .hero__line,
  .hero__sub,
  .hero__actions,
  .hero__trust { opacity: 1 !important; transform: none !important; }
  .hero__glow, .hero__glow--2 { animation: none !important; }
  .mote, .hero__sweep { display: none !important; }
  /* Keep the headline a solid orange when motion is off */
  .hero__title .hero__line.accent-orange {
    background: none !important;
    -webkit-text-fill-color: #E8852C !important;
    color: #E8852C !important;
  }
}
