/* EkkoU — brand-matched neon green on deep charcoal */

:root,
[data-bs-theme="dark"] {
  --bg: #050806;
  --bg-alt: #0a100c;
  --surface: #101814;
  --panel-soft: #152019;
  --text: #f2f7f3;
  --muted: #8fa396;
  --border: rgba(124, 255, 58, 0.14);
  --volt: #7cff3a;
  --volt-bright: #a8ff5c;
  --volt-deep: #2f9a18;
  --volt-ink: #061200;
  --volt-soft: rgba(124, 255, 58, 0.12);
  --nav-bg: rgba(5, 8, 6, 0.9);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --glow: 0 0 24px rgba(124, 255, 58, 0.18);
  --heat: linear-gradient(90deg, #ef4444, #f59e0b, #7cff3a);
  --radius: 1rem;
  --radius-sm: 0.75rem;
}

[data-bs-theme="light"] {
  --bg: #f3f6f2;
  --bg-alt: #e7eee6;
  --surface: #ffffff;
  --panel-soft: #eef4ec;
  --text: #0d1610;
  --muted: #5c6f61;
  --border: rgba(47, 154, 24, 0.18);
  --volt: #2f9a18;
  --volt-bright: #3db820;
  --volt-deep: #1f6e10;
  --volt-ink: #f4ffe8;
  --volt-soft: rgba(47, 154, 24, 0.12);
  --nav-bg: rgba(243, 246, 242, 0.92);
  --shadow: 0 12px 28px rgba(13, 22, 16, 0.08);
  --glow: 0 0 0 transparent;
  --heat: linear-gradient(90deg, #ef4444, #f59e0b, #2f9a18);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(124, 255, 58, 0.08), transparent 55%),
    radial-gradient(700px 360px at 0% 30%, rgba(47, 154, 24, 0.06), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, .brand-mark, .brand-hero, .hero-title, .page-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

p { margin: 0; }

.shell {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.shell.narrow {
  width: min(100% - 2.5rem, 640px);
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  background: var(--volt);
  color: var(--volt-ink);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Nav */
.site-nav {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0;
}

.site-nav .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-nav.scrolled { box-shadow: var(--shadow); }

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 0.65rem;
  object-fit: contain;
  object-position: center;
  background: transparent;
  flex-shrink: 0;
  box-shadow: none;
}

[data-bs-theme="light"] .brand-logo {
  background: transparent;
}

.brand-logo-lg {
  width: 52px;
  height: 52px;
  border-radius: 0.85rem;
  background: transparent;
  box-shadow: none;
}

.brand-lockup-lg { gap: 0.75rem; }

.brand-mark {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 700;
}

.brand-mark span,
.brand-hero .brand-u,
.brand-name .brand-u {
  color: var(--volt);
}

.navbar-brand.brand-lockup {
  margin: 0;
  padding: 0.1rem 0;
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.7rem !important;
}

.nav-link:hover,
.nav-link.active { color: var(--text) !important; }

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.3rem 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(168,255,92,0.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

[data-bs-theme="light"] .theme-icon-sun { display: none; }
[data-bs-theme="dark"] .theme-icon-moon { display: none; }

/* Buttons */
.btn-volt,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  width: auto;
  max-width: 100%;
  transition: filter 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-volt {
  background: linear-gradient(180deg, var(--volt-bright), var(--volt));
  color: var(--volt-ink);
  box-shadow: var(--glow);
}

.btn-volt:hover {
  background: linear-gradient(180deg, var(--volt-bright), var(--volt));
  color: var(--volt-ink);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: rgba(124, 255, 58, 0.35);
}

.btn-sm {
  min-height: 36px;
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem;
}

/* Unified media tiles — equal crop & alignment */
.media-tile {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #070b08;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.media-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.media-tile--16x9 { aspect-ratio: 16 / 9; }
.media-tile--21x9 { aspect-ratio: 16 / 9; }
.media-tile--2x1 { aspect-ratio: 16 / 9; }
.media-tile--4x3 { aspect-ratio: 4 / 3; }

.media-tile--focus-right img,
.media-tile--focus-athlete img,
.media-tile--focus-center img {
  object-position: center 40%;
}

.how-gallery .media-tile,
.sports-gallery .media-tile,
.report-media {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
}

.how-gallery .media-tile img,
.sports-gallery .media-tile img,
.report-media img {
  object-position: center 42%;
}

.media-tile figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(5, 8, 6, 0.72);
  border: 1px solid rgba(124, 255, 58, 0.25);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  z-index: 2;
}

/* Hero — full-bleed edge-to-edge image */
.hero-fullbleed {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 760px);
  padding: 0;
  overflow: hidden;
  background: #050806;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: brightness(1.3) contrast(1.1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.92) 0%, rgba(5, 8, 6, 0.72) 38%, rgba(5, 8, 6, 0.28) 62%, rgba(5, 8, 6, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 8, 6, 0.35) 0%, transparent 28%, rgba(5, 8, 6, 0.55) 100%);
  pointer-events: none;
}

.hero-fullbleed-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
  padding: 5.5rem 0 3.25rem;
  display: flex;
  justify-content: flex-start;
}

.hero-fullbleed .hero-copy {
  max-width: 34rem;
}

.hero-fullbleed .hero-title,
.hero-fullbleed .hero-lede {
  max-width: 32rem;
  color: #e8f0ea;
}

.hero-fullbleed .hero-lede {
  color: rgba(232, 240, 234, 0.82);
}

.hero-fullbleed .btn-ghost-on-dark {
  color: #f2f7f3;
  border-color: rgba(242, 247, 243, 0.35);
  background: rgba(5, 8, 6, 0.28);
  backdrop-filter: blur(8px);
}

.hero-fullbleed .btn-ghost-on-dark:hover {
  background: rgba(5, 8, 6, 0.5);
  border-color: rgba(124, 255, 58, 0.45);
  color: #f2f7f3;
}

.hero {
  padding: 2.25rem 0 2rem;
  background:
    radial-gradient(560px 260px at 90% 0%, var(--volt-soft), transparent 70%),
    transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 0.55rem;
}

.hero-eyebrow {
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
}

.brand-hero {
  font-size: clamp(2.5rem, 4.2vw, 3.35rem);
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.hero-fullbleed .brand-hero {
  color: #f2f7f3;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
}


.hero-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.55rem;
  max-width: 22rem;
}

.hero-lede {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 34rem;
  margin-bottom: 1.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-cta.center { justify-content: center; }

/* Sections */
.section { padding: 2.5rem 0; }

.section-alt {
  background:
    linear-gradient(180deg, rgba(124, 255, 58, 0.03), transparent 40%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 34rem;
  margin: 0 auto 1.35rem;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin-bottom: 0.35rem;
}

.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-cta {
  margin-top: 1.35rem;
  text-align: center;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--volt-soft);
  color: var(--volt);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(124, 255, 58, 0.25);
}

.steps h3 {
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.how-gallery {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

@media (min-width: 700px) {
  .how-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Features */
.media-band {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

@media (min-width: 860px) {
  .media-band {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1.75rem;
  }

  .media-band.reverse {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .media-band.reverse .media-tile {
    order: 2;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  border-color: rgba(124, 255, 58, 0.32);
  box-shadow: var(--glow);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.7rem;
  object-fit: contain;
  object-position: center;
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-grid-lg .feature p { font-size: 0.92rem; }

/* Sports */
.sports-strip {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.sports-strip li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.sports-strip li.muted {
  color: var(--muted);
  font-weight: 500;
}

.sports-gallery {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .sports-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Report */
.report-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .report-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
  }
}

.report-list {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.report-list li { margin-bottom: 0.4rem; }

.report-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  width: 100%;
}

.rp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.rp-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--volt);
}

.rp-score {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.rp-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin-bottom: 0.9rem;
}

.rp-metrics span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rp-metrics strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.rp-heat {
  height: 8px;
  border-radius: 999px;
  background: var(--heat);
  margin-bottom: 0.5rem;
}

.rp-note {
  font-size: 0.75rem;
  color: var(--muted);
}

/* CTA */
.cta-band {
  background:
    radial-gradient(460px 200px at 50% 0%, var(--volt-soft), transparent 70%),
    var(--bg);
  text-align: center;
}

.cta-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1rem;
}

.cta-lockup .brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 0.9rem;
  background: transparent;
  box-shadow: none;
}

.cta-lockup .brand-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.cta-lockup .brand-tag {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-band h2 {
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
}

.cta-band > .shell > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band .hero-cta { margin-top: 1.15rem; }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 1.85rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 1.5rem;
  }
}

.footer-tag,
.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.45rem;
  max-width: 22rem;
}

.footer-h {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  padding: 0.2rem 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(124, 255, 58, 0.35);
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--volt);
  text-decoration-color: var(--volt);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

.footer-bottom-links a {
  color: var(--volt);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom-links a:hover { color: var(--volt-bright); }

/* Legal pages */
.legal-page .legal-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.legal-shell {
  max-width: 48rem;
}

.legal-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.legal-meta {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-meta p {
  margin: 0.15rem 0;
}

.legal-switch {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal-switch a {
  color: var(--volt);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-switch a:hover { color: var(--volt-bright); }

.legal-body {
  white-space: pre-wrap;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.linkish {
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Features page */
.features-hero { padding-bottom: 1.5rem; }

.features-hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .features-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
  }
}

.page-title {
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.55rem;
}

.page-lede {
  max-width: 36rem;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 859.98px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-fullbleed {
    min-height: min(78vh, 640px);
  }

  .hero-bg img {
    object-position: center 28%;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 8, 6, 0.55) 0%, rgba(5, 8, 6, 0.35) 35%, rgba(5, 8, 6, 0.88) 100%),
      linear-gradient(90deg, rgba(5, 8, 6, 0.7) 0%, rgba(5, 8, 6, 0.35) 100%);
  }

  .hero-fullbleed-inner {
    padding: 4.5rem 0 2.5rem;
  }

  .brand-hero { font-size: 2.25rem; }

  .hero-fullbleed .brand-hero {
    font-size: clamp(2.35rem, 8vw, 2.9rem);
  }

  .hero-title,
  .hero-lede { max-width: none; }
}

@media (max-width: 575.98px) {
  .hero:not(.hero-fullbleed) { padding: 1.5rem 0 1.25rem; }
  .hero-fullbleed { min-height: min(72vh, 560px); }
  .hero-fullbleed-inner { padding: 3.75rem 0 2rem; }
  .section { padding: 1.85rem 0; }
  .hero-cta .btn { flex: 1 1 auto; }
  .media-tile--21x9,
  .media-tile--2x1,
  .how-gallery .media-tile,
  .sports-gallery .media-tile {
    aspect-ratio: 16 / 9;
  }
}
