/* Investor Fuel — REI Pros podcast funnel.
   One stylesheet for all five pages. Brand colours are the battery in the logo. */

:root {
  --green: #6dbe45;
  --green-dim: #58a336;
  --yellow: #ece511;
  --red: #ea2324;

  --bg: #0a0b0d;
  --bg-2: #101216;
  --panel: #14171c;
  --panel-2: #1a1e24;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);

  --ink: #f6f7f8;
  --ink-2: #c3c8ce;
  --muted: #8d949c;

  --radius: 14px;
  --wrap: 1080px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.62 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Ambient brand glow behind the fold — subtle, never competes with the video. */
body::before {
  content: "";
  position: fixed;
  inset: -30vh 0 auto 0;
  height: 90vh;
  background:
    radial-gradient(60% 55% at 22% 30%, rgba(109, 190, 69, 0.14), transparent 70%),
    radial-gradient(55% 50% at 82% 18%, rgba(236, 229, 17, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: var(--green); }

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* The battery: green → yellow → red, the brand's signature device. */
.battery-rule {
  height: 4px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--yellow) 33.33% 66.66%, var(--red) 66.66% 100%);
}

/* ---------------------------------------------------------------- structure */

header.site {
  padding: 26px 0 8px;
}
header.site .logo { width: 232px; }

main { padding-bottom: 24px; }

section { position: relative; z-index: 1; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { color: var(--green); }

/* ------------------------------------------------------------------- type */

h1, h2, h3, .eyebrow, .btn, .stat b {
  font-family: "Barlow Condensed", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 0.98;
  margin: 12px 0 16px;
}
h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.06;
  margin: 0 0 14px;
}
h3 {
  font-size: 21px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px 7px 12px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(109, 190, 69, 0.22);
}
.eyebrow.is-red::before { background: var(--red); box-shadow: 0 0 0 4px rgba(234, 35, 36, 0.2); }
.eyebrow.is-yellow::before { background: var(--yellow); box-shadow: 0 0 0 4px rgba(236, 229, 17, 0.18); }

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 0 26px;
}
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.hl { color: var(--green); }

/* ------------------------------------------------------------------ hero */

.hero { padding: 26px 0 8px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 46px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ------------------------------------------------------------------ video */

.video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.video.portrait { aspect-ratio: 9 / 16; max-width: 380px; margin-inline: auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------- tap-for-sound overlay */

/* A brand-gradient halo that breathes while the video is still silent, then
   settles the moment the viewer turns the sound on. */
.video[data-video]::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(115deg, var(--green), var(--yellow), var(--red), var(--green));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: haloDrift 6s linear infinite, haloBreathe 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
.video[data-video].is-live::after { animation: none; opacity: 0.28; }

@keyframes haloDrift {
  to { background-position: 300% 0; }
}
@keyframes haloBreathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.sound-cta {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.68));
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.4s, transform 0.4s;
}
.video.is-live .sound-cta { opacity: 0; transform: scale(1.04); pointer-events: none; }

/* The button itself, wrapped in two expanding rings so it reads as "alive"
   rather than a static play badge. */
.sound-cta__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(109, 190, 69, 0.94);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.9);
  transition: transform 0.18s, background 0.18s;
}
.sound-cta:hover .sound-cta__btn,
.sound-cta:focus-visible .sound-cta__btn { transform: scale(1.08); background: #7ccf52; }
.sound-cta:active .sound-cta__btn { transform: scale(0.97); }
.sound-cta:focus-visible { outline: 3px solid var(--green); outline-offset: -6px; }

.sound-cta__btn::before,
.sound-cta__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(109, 190, 69, 0.75);
  animation: ctaRing 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.sound-cta__btn::after { animation-delay: 1.2s; }

@keyframes ctaRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Icons paint with currentColor so each path keeps its own fill/stroke intent. */
.sound-cta__icon { display: block; width: 38px; height: 38px; color: #08130a; }
.sound-cta__icon svg { width: 100%; height: 100%; display: block; }
.video.is-blocked .sound-cta__btn::before,
.video.is-blocked .sound-cta__btn::after { animation-duration: 3s; }

.sound-cta__label {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  transition: color 0.3s;
}
.video.is-urgent .sound-cta__label { color: var(--yellow); animation: labelNudge 1.6s ease-in-out infinite; }

@keyframes labelNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Small "sound off" tell in the corner — animated bars read as audio the
   viewer isn't hearing. */
.sound-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: "Barlow Condensed", "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video.is-live .sound-flag { opacity: 0; }

.sound-flag i {
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--green);
  transform-origin: center;
  animation: eqBar 0.9s ease-in-out infinite;
}
.sound-flag i:nth-child(2) { animation-delay: 0.15s; background: var(--yellow); }
.sound-flag i:nth-child(3) { animation-delay: 0.3s; background: var(--red); }

@keyframes eqBar {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

@media (max-width: 560px) {
  .sound-cta__btn { width: 72px; height: 72px; }
  .sound-cta__icon { width: 31px; height: 31px; }
}

/* Motion-sensitive viewers get the same affordance without the animation. */
@media (prefers-reduced-motion: reduce) {
  .video[data-video]::after,
  .sound-cta__btn::before,
  .sound-cta__btn::after,
  .sound-flag i { animation: none; }
  .video[data-video]::after { opacity: 0.85; }
}

.video-note {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------------ cards */

.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) { .card { padding: 22px 18px; } }

.card.accent { border-top: 3px solid transparent; }
.card.accent::before {
  content: "";
  display: block;
  height: 3px;
  margin: -30px -30px 24px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}
@media (max-width: 560px) { .card.accent::before { margin: -22px -18px 20px; } }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(109, 190, 69, 0.14);
  border: 1px solid rgba(109, 190, 69, 0.4);
  color: var(--green);
  font-size: 16px;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------- form */

.field { margin-bottom: 22px; }
.field > label,
.field > .label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 9px;
}
.field .hint { font-weight: 400; color: var(--muted); }

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #0c0e11;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder { color: #5f666e; }
input:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(109, 190, 69, 0.2);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; gap: 0; }
  .row-2 .field { margin-bottom: 22px; } }

/* Segmented choice chips — faster to answer on a phone than a <select>. */
.choices { display: flex; flex-wrap: wrap; gap: 9px; }
.choices.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.choice { position: relative; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.choice span {
  display: block;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #0c0e11;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.14s;
  user-select: none;
}
.choices.cols-2 .choice span { border-radius: 10px; }
.choice span:hover { border-color: var(--line-strong); background: var(--panel-2); color: var(--ink); }
.choice input:checked + span {
  background: rgba(109, 190, 69, 0.16);
  border-color: var(--green);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--green);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 19px;
  letter-spacing: 0.03em;
  color: #08130a;
  background: var(--green);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 10px 26px -12px rgba(109, 190, 69, 0.85);
}
.btn:hover { background: #7ccf52; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn.full { width: 100%; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover { background: var(--panel-2); border-color: var(--green); color: #fff; }

.form-error {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(234, 35, 36, 0.12);
  border: 1px solid rgba(234, 35, 36, 0.5);
  color: #ffb3b3;
  font-size: 15px;
}
.form-error.show { display: block; }

/* -------------------------------------------------------------- checklist */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 0 0 0 32px;
  margin-bottom: 14px;
  color: var(--ink-2);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(109, 190, 69, 0.16);
  border: 1px solid var(--green);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 5px;
  height: 9px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checklist b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- calendar */

.calendar-shell {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  /* Tall enough that the GHL widget's slot list isn't clipped before its own
     scroll kicks in — the embed script resizes upward from here when it can. */
  min-height: 800px;
  box-shadow: var(--shadow);
}
.calendar-shell iframe { display: block; width: 100%; border: 0; min-height: 800px; }

/* ------------------------------------------------------------------ utils */

.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack-lg { margin-top: 56px; }
.stack-md { margin-top: 34px; }
.stack-sm { margin-top: 18px; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
