/* ===================================================================
   ScoreHQ — Design System v3
   Brand palette extracted from official logo:
   Navy:        #022347  (wordmark, base backgrounds)
   Deep navy:   #011830  (darkest surfaces)
   Panel navy:  #0A2A50  (card surfaces)
   Electric blue: #0690E5 (HQ gradient — primary action colour)
   Teal:        #07C0B8  (gradient end — accent, highlights)
   Bright cyan: #3DD6E0  (hover, glow)
   Type:        Inter throughout (matches logo's clean sans-serif)
   Mono:        JetBrains Mono (scores, numbers, labels)
   =================================================================== */

:root {
  /* Core palette */
  --navy-deep:    #34679b;
  --navy:         #022347;
  --navy-mid:     #0A2A50;
  --navy-raised:  #0D3260;
  --navy-border:  rgba(6, 144, 229, 0.18);
  --navy-border-s:rgba(6, 144, 229, 0.35);

  --blue:         #0690E5;
  --blue-bright:  #2CA8F5;
  --blue-dim:     #0568A8;

  --teal:         #07C0B8;
  --teal-bright:  #3DD6E0;
  --teal-dim:     #059990;

  /* Gradient — the brand signature, mirrors logo HQ colouring */
  --grad:         linear-gradient(135deg, #07C0B8 0%, #0690E5 60%, #0568A8 100%);
  --grad-h:       linear-gradient(135deg, #3DD6E0 0%, #2CA8F5 60%, #0690E5 100%);
  --grad-text:    linear-gradient(135deg, #07C0B8, #0690E5);

  /* Text */
  --white:        #FFFFFF;
  --white-dim:    rgba(255, 255, 255, 0.70);
  --white-faint:  rgba(255, 255, 255, 0.9);
  --white-ghost:  rgba(255, 255, 255, 0.12);

  /* Status */
  --success:      #22C993;
  --danger:       #E05050;

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --gutter:      clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 8rem);

  /* Shape */
  --radius-sm:   5px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  /* Shadows */
  --shadow-card: 0 0 0 1px var(--navy-border), 0 24px 60px -20px rgba(1, 24, 48, 0.8);
  --shadow-blue: 0 8px 32px -8px rgba(6, 144, 229, 0.45);
  --shadow-teal: 0 8px 32px -8px rgba(7, 192, 184, 0.35);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--navy-deep);
  background: url('/assets/images/blue-bg.jpg');
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient gradient blob — echoes the logo gradient in the background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 40% at 5% 0%,   rgba(7, 192, 184, 0.10) 0%, transparent 60%),
    radial-gradient(50% 45% at 100% 15%, rgba(6, 144, 229, 0.12) 0%, transparent 60%),
    radial-gradient(40% 35% at 55% 100%, rgba(6, 144, 229, 0.06) 0%, transparent 70%);
}

main, header, footer, nav { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

p { color: var(--white-dim); margin-bottom: 0; }
a { color: var(--teal-bright); text-decoration: none; }
a:hover { color: var(--teal); }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container-shq {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }
.section-tight { padding-block: clamp(3rem, 5vw, 5rem); }

/* ---------- Gradient text utility ---------- */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { font-size: 1.08rem; margin-top: 0.8rem; }

/* ---------- Buttons ---------- */
.btn-shq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.82rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn-shq-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-shq-primary:hover {
  background: var(--grad-h);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -8px rgba(6, 144, 229, 0.6);
}

/* Keep old class name working */
.btn-shq-gold { background: var(--grad); color: var(--white); box-shadow: var(--shadow-blue); }
.btn-shq-gold:hover { background: var(--grad-h); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(6,144,229,0.6); }

.btn-shq-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--navy-border-s);
}
.btn-shq-outline:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
  transform: translateY(-2px);
}

.btn-shq-teal {
  background: rgba(7, 192, 184, 0.12);
  color: var(--teal-bright);
  border-color: rgba(7, 192, 184, 0.35);
}
.btn-shq-teal:hover { background: rgba(7,192,184,0.2); transform: translateY(-2px); color: var(--teal-bright); }

.btn-block  { width: 100%; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1rem; }

/* ---------- Navbar ---------- */
.shq-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  padding-block: 1rem;
}
.shq-navbar.is-scrolled {
  background: #fff;
  border-bottom-color: var(--navy-border);
  padding-block: 0.65rem;
}

.shq-navbar .container-shq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo in navbar */
.shq-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.shq-brand img { height: 36px; width: auto; display: block; }

/* Fallback text brand */
.shq-brand .mark { color: var(--teal-bright); font-weight: 800; font-size: 1.5rem; }
.shq-brand .rest { font-weight: 800; font-size: 1.5rem; color: var(--white); }
.shq-brand .tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-faint);
  border-left: 1px solid var(--navy-border-s);
  padding-left: 0.6rem;
  display: none;
  align-self: center;
}
@media (min-width: 768px) { .shq-brand .tag { display: inline; } }

/* Nav links */
.shq-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.shq-nav-links a {
  position: relative;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy-mid);
  padding-block: 0.3rem;
}
.shq-nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.28s ease;
}
.shq-nav-links a:hover { color: var(--navy-deep); }
.shq-nav-links a:hover::after,
.shq-nav-links a.active::after { width: 100%; }
.shq-nav-links a.active { color: var(--teal-bright); }

/* Phone in nav */
.shq-nav-phone {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--navy-deep);
  display: none;
}
@media (min-width: 1024px) { .shq-nav-phone { display: inline; } }

/* Mobile toggler */
.shq-toggler {
  border: 1.5px solid var(--navy-border-s);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
  background: transparent;
}
.shq-toggler:focus { box-shadow: none; }
.shq-toggler-icon {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--teal-bright);
  position: relative;
}
.shq-toggler-icon::before,
.shq-toggler-icon::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 1.5px;
  background: var(--teal-bright);
}
.shq-toggler-icon::before { top: -6px; }
.shq-toggler-icon::after  { top: 6px; }

/* Offcanvas mobile */
#shqNav.offcanvas {
  background: var(--navy);
  border-left: 1px solid var(--navy-border);
}
#shqNav .shq-nav-links { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
#shqNav .shq-nav-links a { font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  border-bottom: 1px solid var(--navy-border);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* Kicker pill */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: rgba(7, 192, 184, 0.08);
  border: 1px solid rgba(7, 192, 184, 0.28);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}
.hero-kicker .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(61, 214, 224, 0.2);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  margin-bottom: 1.3rem;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3.5vw, 2.5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--navy-border);
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  font-weight: 700;
}
.hero-stat .label {
  font-size: 0.74rem;
  color: var(--white-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

/* ---------- Scoreboard widget ---------- */
.scoreboard {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}
.scoreboard::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 144, 229, 0.06), transparent 30%);
  pointer-events: none;
}

.scoreboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--navy-border);
}
.scoreboard-head .event-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.scoreboard-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: rgba(7, 192, 184, 0.1);
  border: 1px solid rgba(7, 192, 184, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.scoreboard-live .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 214, 224, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(61, 214, 224, 0); }
}

.scoreboard-rows { padding: 0.4rem 0.6rem; }

.score-row {
  display: grid;
  grid-template-columns: 26px 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.score-row:hover { background: rgba(6, 144, 229, 0.06); }
.score-row + .score-row { border-top: 1px solid var(--navy-border); }

.score-row .rank {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--white-faint);
}
.score-row.is-leading .rank {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.score-row .who .name {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.score-row .who .meta {
  font-size: 0.72rem;
  color: var(--white-faint);
  margin-left:20px;
}

.score-row .bar-track {
  width: 80px; height: 3px;
  background: var(--white-ghost);
  border-radius: 99px;
  overflow: hidden;
  display: none;
}
@media (min-width: 480px) { .score-row .bar-track { display: block; } }
.score-row .bar-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 99px;
  width: 0%;
  transition: width 1.1s cubic-bezier(.2,.8,.2,1);
}

.score-row .total {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  min-width: 46px;
  text-align: right;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scoreboard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.3rem;
  border-top: 1px solid var(--navy-border);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--white-faint);
  letter-spacing: 0.06em;
}

/* ---------- Client strip ---------- */
.client-strip {
  border-bottom: 1px solid var(--navy-border);
  padding-block: 2.8rem;
}
.client-strip-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-faint);
  text-align: center;
  margin-bottom: 1.8rem;
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .client-logos { grid-template-columns: repeat(4, 1fr); } }

.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.3rem 1rem;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  background: var(--navy-mid);
}
.client-logo-card:hover {
  border-color: var(--navy-border-s);
  background: var(--navy-raised);
  transform: translateY(-3px);
}
.client-logo-card .mono-mark {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.client-logo-card .full-name {
  font-size: 0.76rem;
  color: var(--white-faint);
  line-height: 1.3;
}

/* ---------- Cards ---------- */
.shq-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.shq-card:hover {
  border-color: var(--navy-border-s);
  background: var(--navy-raised);
}

.feature-card .icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad);
  border-radius: var(--radius-sm);
  color: var(--white);
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.93rem; margin-bottom: 0; }

/* ---------- How it works (round steps) ---------- */
.round-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .round-flow { grid-template-columns: repeat(4, 1fr); } }

.round-step {
  position: relative;
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  background: var(--navy-mid);
}
.round-step .round-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.round-step h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.round-step p { font-size: 0.87rem; margin-bottom: 0; }

@media (min-width: 768px) {
  .round-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%; right: -1rem;
    transform: translateY(-50%);
    color: var(--navy-border-s);
    font-size: 0.9rem;
  }
}

/* ---------- Stat band ---------- */
.stat-band {
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  background: var(--navy);
}
.stat-band-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) { .stat-band-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .label {
  font-size: 0.76rem;
  color: var(--white-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}
.testimonial-card:hover { border-color: var(--navy-border-s); }

.testimonial-stars {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.testimonial-quote::before { content: "\201C"; color: var(--teal-bright); }
.testimonial-quote::after  { content: "\201D"; color: var(--teal-bright); }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author .name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.testimonial-author .role { font-size: 0.76rem; color: var(--white-faint); }

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.3rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.pricing-card:hover { transform: translateY(-6px); }

.pricing-card.is-popular {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--navy-raised), var(--navy-mid));
  box-shadow: var(--shadow-blue);
}
.pricing-card.is-popular::before {
  content: "Most Booked";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.5rem;
  display: block;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 0; }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1rem 0 0.4rem;
}
.pricing-price .amount {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}
.pricing-price .currency,
.pricing-price .period { font-family: var(--font-mono); font-size: 0.9rem; color: var(--white-faint); }
.pricing-sub { font-size: 0.84rem; color: var(--white-dim); margin-bottom: 1.5rem; }

.pricing-specs {
  list-style: none;
  padding: 0; margin: 0 0 2rem;
  display: grid; gap: 0.7rem;
}
.pricing-specs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.88rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--navy-border);
  color: var(--white-dim);
}
.pricing-specs li span.val {
  font-family: var(--font-mono);
  color: var(--white);
  font-weight: 600;
}
.pricing-card .btn-shq { margin-top: auto; }

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--white-faint);
  margin-top: 2.5rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(6,144,229,0.12) 0%, rgba(7,192,184,0.08) 100%);
  border: 1px solid var(--navy-border-s);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(7,192,184,0.08), transparent);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.8rem; }
.cta-band p { max-width: 520px; margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- About / Founder ---------- */
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
}
@media (min-width: 768px) { .founder-card { grid-template-columns: 200px 1fr; } }

.founder-portrait {
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  margin-inline: auto;
  border-radius: var(--radius-md);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}
.founder-sig {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 1.2rem;
  font-style: italic;
}

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--navy-border-s); }
.timeline li { position: relative; padding: 0 0 2rem 1.8rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px var(--navy-deep);
}
.timeline .yr {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.3rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.timeline h4 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.timeline p { font-size: 0.88rem; margin: 0; }

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 600px)  { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 992px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--navy-border);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item .icon {
  width: 38px; height: 38px;
  background: rgba(6, 144, 229, 0.12);
  border: 1px solid var(--navy-border-s);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-bright);
  flex-shrink: 0;
}
.contact-info-item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-faint);
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
}
.contact-info-item .val { color: var(--white); font-weight: 500; }
.contact-info-item .val a { color: var(--white); }
.contact-info-item .val a:hover { color: var(--teal-bright); }

/* Form controls */
.shq-form .form-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-faint);
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
}
.shq-form .form-control,
.shq-form .form-select {
  background: var(--navy-deep);
  border: 1.5px solid var(--navy-border);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
}
.shq-form .form-control::placeholder { color: var(--white-ghost); }
.shq-form .form-control:focus,
.shq-form .form-select:focus {
  background: var(--navy-deep);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(7, 192, 184, 0.15);
}
.shq-form select.form-select { color: var(--white); }
.shq-form .form-control.is-invalid,
.shq-form .form-select.is-invalid { border-color: var(--danger); }
.shq-form .invalid-feedback { color: #f0a0a0; font-size: 0.8rem; }

.honeypot-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; }

.alert-shq-success {
  background: rgba(34, 201, 147, 0.1);
  border: 1px solid rgba(34, 201, 147, 0.35);
  color: #7deDc4;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
}
.alert-shq-error {
  background: rgba(224, 80, 80, 0.1);
  border: 1px solid rgba(224, 80, 80, 0.35);
  color: #f0a0a0;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
}

/* ---------- FAQ Accordion ---------- */
.shq-accordion .accordion-item {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.shq-accordion .accordion-button {
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.2rem 1.4rem;
  box-shadow: none !important;
}
.shq-accordion .accordion-button:not(.collapsed) { color: var(--teal-bright); background: transparent; }
.shq-accordion .accordion-button::after {
  filter: invert(80%) sepia(50%) saturate(500%) hue-rotate(150deg);
}
.shq-accordion .accordion-body { color: var(--white-dim); padding: 0 1.4rem 1.3rem; font-size: 0.93rem; }

/* ---------- Comparison table ---------- */
.shq-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--white);
}
.shq-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-faint);
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--navy-border-s);
  text-align: left;
  font-weight: 500;
}
.shq-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--navy-border);
  color: var(--white-dim);
  vertical-align: middle;
}
.shq-table tr:last-child td { border-bottom: none; }
.shq-table .grad-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-top: clamp(7.5rem, 12vw, 9.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--navy-border);
}
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero .lede { font-size: 1.05rem; max-width: 620px; margin-top: 0.9rem; }
.breadcrumb-shq {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 1.2rem;
}
.breadcrumb-shq a { color: var(--white-faint); }
.breadcrumb-shq a:hover { color: var(--teal-bright); }
.breadcrumb-shq .sep { margin-inline: 0.5rem; opacity: 0.4; }

/* ---------- 404 ---------- */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: clamp(6rem, 10vw, 8rem);
}
.error-404 .code {
  font-family: var(--font-mono);
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

/* ---------- Footer ---------- */
.shq-footer {
  border-top: 1px solid var(--navy-border);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  background: var(--navy-mid);
  background: url('/assets/images/footer-bg.jpg');
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--navy-border);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

.footer-brand .shq-brand { font-size: 1.3rem; }
.footer-tagline { font-size: 0.9rem; max-width: 280px; margin-top: 0.9rem; color: var(--white-dim); }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.footer-col a { color: var(--white-dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--teal-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.8rem;
}
.footer-bottom small { color: var(--white-faint); font-size: 0.78rem; }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--navy-border-s);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white-dim);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.footer-social a:hover {
  color: var(--white);
  border-color: var(--teal);
  background: rgba(7, 192, 184, 0.12);
}

/* ---------- Sign-up page plan selector ---------- */
.plan-selector-card {
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.plan-selector-card.selected { border-color: var(--teal) !important; background: rgba(7,192,184,0.06) !important; }
.plan-selector-card:hover { border-color: var(--navy-border-s); }

/* ---------- bg-panel equivalent ---------- */
.bg-panel { 
  background: var(--navy);
  background: url('/assets/images/footer-bg.jpg');
  }

/* ---------- Gradient border utility ---------- */
.grad-border {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.grad-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad);
  z-index: -1;
}

/* ---------- Scroll reveal ---------- */
.fade-up { opacity: 1; transform: none; }
.js-ready .fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-ready .fade-up.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .js-ready .fade-up { opacity: 1; transform: none; } }

/* ---------- Utility ---------- */
.text-teal { color: var(--teal-bright) !important; }
.text-blue { color: var(--blue-bright) !important; }
.mono { font-family: var(--font-mono); }

/* ---------- Logo image treatment ---------- */
/* The ScoreHQ logo has a white background.
   mix-blend-mode: multiply makes the white transparent on dark backgrounds */
.shq-brand img,
.footer-brand img {
  /*mix-blend-mode: screen;*/
  filter: brightness(1.05) contrast(1.05);
}

/* Alternatively use the transparent nav version which was processed */
.shq-navbar .shq-brand img {
  height: 36px;
  width: auto;
}
.footer-brand .shq-brand img {
  height: 30px;
  width: auto;
}
