/* =========================================================
   THE GRAHAM AGENCY — theme colors
   Navy is sampled exactly from the Goal Tracker app (--navy,
   --navy-panel, --navy-line). Light blue is sampled from your
   logo file. --navy-800 below is an interpolated in-between
   shade for gradients — Goal Tracker only defines three tiers.
   ========================================================= */
:root {
  --navy-950: #0B1F3A;
  --navy-900: #122A4D;
  --navy-800: #1B355C;
  --navy-700: #24406B;
  --blue: #29c4f3;
  --blue-light: #7fdcfa;
  --blue-pale: #eaf8fe;
  --white: #ffffff;
  --ink: #10233d;
  --muted: #5c7290;
  --border: #d9eaf6;

  --shadow-soft: 0 20px 45px rgba(18, 42, 77, 0.12);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: "Poppins", "Segoe UI", Arial, sans-serif; margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: var(--navy-950);
  box-shadow: 0 10px 25px rgba(41, 196, 243, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(41, 196, 243, 0.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-800); }
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.btn-block { width: 100%; justify-content: center; }

.eyebrow {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-light { border-color: var(--navy-700); color: var(--navy-800); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 42, 77, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-header .logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-links .btn { padding: 11px 22px; font-size: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, var(--navy-800), var(--navy-950) 60%);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 220, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 220, 250, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 30% 30%, black, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.trust-badge .avatars {
  display: flex;
}
.trust-badge .avatars img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--navy-950);
  margin-left: -12px;
}
.trust-badge .avatars img:first-child { margin-left: 0; }
.trust-badge .stars { color: var(--blue); font-size: 14px; letter-spacing: 2px; }
.trust-badge .trust-text { font-size: 13px; color: var(--blue-light); line-height: 1.3; }

.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero h1 .highlight {
  color: var(--blue);
  position: relative;
}
.hero p.lede {
  margin-top: 22px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
}
.hero .cta-row { margin-top: 32px; }

.video-frame {
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
}
.video-frame .video-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--navy-950);
}
.video-frame .video-wrap.vimeo-wrap { aspect-ratio: 16 / 9; }
.video-frame.portrait { width: 100%; max-width: 340px; margin: 0 auto; }
.video-frame .video-wrap.vimeo-wrap.portrait { aspect-ratio: 9 / 16; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: linear-gradient(90deg, var(--blue), #38b0e0);
  color: var(--navy-950);
}
.stats-bar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 14px;
}
.stats-bar li { display: flex; align-items: center; gap: 10px; }
.stats-bar .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Section basics ---------- */
section { padding: 90px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--navy-900);
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.bg-pale { background: var(--blue-pale); }
.bg-navy { background: var(--navy-950); color: var(--white); }
.bg-navy .section-head h2 { color: var(--white); }
.bg-navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Testimonial cards ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.testi-card .stars { color: var(--blue); letter-spacing: 3px; margin-bottom: 16px; }
.testi-card p.quote {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 22px;
}
.testi-card .person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testi-card .person img { width: 46px; height: 46px; border-radius: 50%; }
.testi-card .person .name { font-weight: 700; color: var(--navy-900); }
.testi-card .person .role { font-size: 13px; color: var(--muted); }

/* ---------- Video CTA section ---------- */
.video-cta { text-align: center; }
.video-cta .video-frame { max-width: 760px; margin: 40px auto 0; text-align: left; }
.video-cta .helper-text {
  margin-top: 16px;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Benefits (dark) ---------- */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.benefits .text-col { padding: 90px 60px 90px 24px; }
.benefits .img-col { position: relative; min-height: 420px; }
.benefits .img-col img { width: 100%; height: 100%; object-fit: cover; }
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 28px;
  margin: 34px 0 36px;
}
.benefit-item .icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 14px;
}
.benefit-item h4 { font-size: 17px; margin-bottom: 8px; }
.benefit-item p { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ---------- 4-step process ---------- */
.process-list { border-top: 1px solid var(--border); }
.process-row {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  padding: 46px 0;
  border-bottom: 1px solid var(--border);
}
.process-row:nth-child(odd) { background: var(--blue-pale); }
.process-row .step-index {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.process-row h3 { font-size: 22px; color: var(--navy-900); }
.process-row .step-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.process-row .step-img img { aspect-ratio: 16/10; object-fit: cover; }
.process-row p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--navy-950);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item button.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}
.faq-item .chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: rgba(255,255,255,0.72);
  font-size: 14.5px;
}
.faq-item.open .faq-a { padding-bottom: 20px; }
.faq-contact-bar {
  margin-top: 14px;
  background: linear-gradient(90deg, var(--blue), #38b0e0);
  border-radius: 10px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
  color: var(--navy-950);
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  background: radial-gradient(circle at 50% 0%, var(--navy-800), var(--navy-950) 65%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 220, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 220, 250, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta img.headshot {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--blue);
  margin: 0 auto 28px;
}
.final-cta h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.final-cta p { margin: 18px auto 32px; max-width: 55ch; color: rgba(255,255,255,0.75); }
.final-cta .helper-text { margin-top: 14px; font-size: 14px; font-style: italic; color: rgba(255,255,255,0.6); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.6);
  padding: 26px 0;
  text-align: center;
  font-size: 13px;
}
.site-footer a { color: var(--blue-light); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--navy-950);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .video-frame { order: -1; }
  .benefits { grid-template-columns: 1fr; }
  .benefits .img-col { min-height: 320px; order: -1; }
  .process-row { grid-template-columns: 1fr; text-align: left; }
  .process-row .step-img { order: -1; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 18px 24px 26px;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .stats-bar ul { gap: 12px 22px; font-size: 13px; }
}
