/* Marketing pages (landing + manager). Everything here is scoped under
   mkt-* class names because every stylesheet in this directory is loaded
   app-wide via `stylesheet_link_tag :app`. Light, professional palette that
   matches the app: white surfaces and gray bands anchored by near-black ink
   blocks (club teaser, CTA band, footer) and black accents (eyebrows, icons,
   step numbers, browser chrome, primary CTA buttons — inverted to white on
   the dark ink sections), with the app's Bootstrap blue reserved for form
   focus only. Display typography: Space Grotesk
   (headings) + Fraunces italic (hero accent line), loaded from Google Fonts
   in layouts/marketing. */

html:has(.mkt-body) {
  scroll-behavior: smooth;
}

.mkt-body {
  --mkt-blue: #0d6efd;
  --mkt-ink: #1a1d21;
  --mkt-muted: #6d7076;
  --mkt-muted-dark: #43464c;
  --mkt-border: #e9ecef;
  --mkt-border-strong: #ced4da;
  --mkt-bg-soft: #f8f9fa;
  --mkt-bg-soft-2: #f1f3f5;
  --mkt-dark: #16181c;
  --mkt-dark-2: #23272c;
  --mkt-dark-text: #adb5bd;
  --mkt-ink-gradient: linear-gradient(115deg, var(--mkt-muted) 0%, var(--mkt-muted-dark) 45%, var(--mkt-ink) 100%);
  --mkt-display-font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--mkt-ink);
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
.mkt-body ::selection {
  background: var(--mkt-ink);
  color: #fff;
}
.mkt-body section[id] {
  scroll-margin-top: 88px;
}

/* ---------- Typography helpers ---------- */
.mkt-hero-title,
.mkt-section-title,
.mkt-feature-row-title,
.mkt-club-teaser-title,
.mkt-cta-title,
.mkt-feature-title,
.mkt-showcase-title,
.mkt-step-card h3 {
  font-family: var(--mkt-display-font);
}
.mkt-accent-serif {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--mkt-ink-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

/* ---------- Navbar (white, flows into the hero) ---------- */
.mkt-navbar {
  background: #fff;
  border-bottom: 1px solid var(--mkt-border);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.mkt-navbar .nav-link {
  color: var(--mkt-muted-dark);
  font-weight: 500;
  transition: color 0.15s ease;
}
.mkt-navbar .nav-link:hover,
.mkt-navbar .nav-link.active {
  color: var(--mkt-ink);
}

/* ---------- Buttons ---------- */
.mkt-btn-accent {
  background: var(--mkt-ink);
  border: none;
  color: #fff;
  font-weight: 600;
  font-family: var(--mkt-display-font);
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.mkt-btn-accent:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 29, 33, 0.25);
}
/* Inverted on dark ink sections, where a black button would vanish. */
.mkt-club-teaser .mkt-btn-accent,
.mkt-cta-band .mkt-btn-accent {
  background: #fff;
  color: var(--mkt-ink);
}
.mkt-club-teaser .mkt-btn-accent:hover,
.mkt-cta-band .mkt-btn-accent:hover {
  background: var(--mkt-bg-soft-2);
  color: var(--mkt-ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.mkt-btn-accent .bi {
  transition: transform 0.15s ease;
  display: inline-block;
}
.mkt-btn-accent:hover .bi {
  transform: translateX(4px);
}
.mkt-btn-ghost {
  border: 1px solid var(--mkt-border-strong);
  background: transparent;
  color: var(--mkt-ink);
  font-weight: 500;
  font-family: var(--mkt-display-font);
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mkt-btn-ghost:hover {
  background: var(--mkt-bg-soft-2);
  border-color: #adb5bd;
  color: var(--mkt-ink);
}

/* ---------- Hero ---------- */
.mkt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(rgba(26, 29, 33, 0.06) 1px, transparent 1px),
    linear-gradient(160deg, #fff 0%, var(--mkt-bg-soft-2) 60%, #e9ecef 100%);
  background-size: 26px 26px, cover;
  color: var(--mkt-ink);
  padding: 5rem 0 6rem;
}
.mkt-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.mkt-hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(26, 29, 33, 0.07);
  top: -160px;
  right: -110px;
}
.mkt-hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(26, 29, 33, 0.04);
  bottom: -180px;
  left: -130px;
}
.mkt-hero .container {
  position: relative;
  z-index: 1;
}
@keyframes mktFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mkt-hero .mkt-eyebrow {
  animation: mktFadeUp 0.6s ease 0.05s both;
}
.mkt-hero .mkt-hero-title {
  animation: mktFadeUp 0.6s ease 0.15s both;
}
.mkt-hero .mkt-hero-subtitle {
  animation: mktFadeUp 0.6s ease 0.25s both;
}
.mkt-eyebrow {
  display: inline-block;
  background: var(--mkt-ink);
  color: #e9ecef;
  border: 1px solid var(--mkt-ink);
  border-radius: 999px;
  font-family: var(--mkt-display-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.5rem;
}
.mkt-hero-title {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.mkt-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--mkt-muted-dark);
  max-width: 33rem;
  margin-top: 1.5rem;
}
.mkt-hero-sports-label {
  font-family: var(--mkt-display-font);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mkt-muted);
}
.mkt-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--mkt-border);
  color: var(--mkt-muted-dark);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.mkt-chip:hover {
  border-color: #adb5bd;
  color: var(--mkt-ink);
}

/* ---------- Phone mockups ---------- */
.mkt-phone {
  background: #0a0a0a;
  border-radius: 38px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(26, 29, 33, 0.22), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  width: 250px;
  max-width: 70vw;
}
.mkt-phone-screen {
  display: block;
  width: 100%;
  border-radius: 28px;
}
.mkt-phone-duo {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mktFadeUp 0.7s ease 0.3s both;
}
.mkt-phone-duo::before,
.mkt-phone-duo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(26, 29, 33, 0.14);
  pointer-events: none;
}
.mkt-phone-duo::before {
  width: 540px;
  height: 540px;
  max-width: 96vw;
  max-height: 96vw;
  transform: translate(-50%, -50%);
}
.mkt-phone-duo::after {
  width: 420px;
  height: 420px;
  max-width: 78vw;
  max-height: 78vw;
  transform: translate(-50%, -50%);
  border-color: rgba(26, 29, 33, 0.08);
}
.mkt-phone-front {
  position: relative;
  z-index: 2;
  transform: rotate(3deg) translateX(12%);
}
.mkt-phone-back {
  position: absolute;
  z-index: 1;
  transform: rotate(-8deg) translateX(-55%);
  left: 50%;
  opacity: 0.95;
}
.mkt-phone-static {
  margin: 0 auto;
}
@media (max-width: 575.98px) {
  .mkt-phone-duo {
    min-height: 460px;
  }
  .mkt-phone {
    width: 200px;
  }
}

/* ---------- Browser / tablet mockup ---------- */
.mkt-browser {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(26, 29, 33, 0.14);
  border: 1px solid var(--mkt-border);
  overflow: hidden;
}
.mkt-browser-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--mkt-ink);
  border-bottom: 1px solid var(--mkt-ink);
}
.mkt-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6d7076;
}
.mkt-browser-dot:first-child { background: #9aa0a6; }
.mkt-browser-dot:nth-child(2) { background: #7a7f85; }
.mkt-browser-dot:nth-child(3) { background: #55595f; }
.mkt-browser-screen {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  object-position: top;
}
.mkt-browser-hero {
  border: 1px solid var(--mkt-border-strong);
  box-shadow: 0 0 0 6px rgba(26, 29, 33, 0.03), 0 40px 80px rgba(26, 29, 33, 0.18);
  animation: mktFadeUp 0.7s ease 0.3s both;
}
.mkt-browser-teaser .mkt-browser-screen {
  max-height: 320px;
}

/* ---------- Sections ---------- */
.mkt-section {
  padding: 6rem 0;
}
.mkt-section-gray {
  background: var(--mkt-bg-soft);
}
.mkt-section-head {
  max-width: 44rem;
  margin-bottom: 3.5rem;
}
.mkt-section-head::before {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--mkt-ink-gradient);
  margin: 0 auto 1.5rem;
}
.mkt-section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mkt-section-subtitle {
  font-size: 1.1rem;
  color: var(--mkt-muted);
  margin-top: 0.9rem;
}

/* ---------- Feature cards ---------- */
.mkt-feature-grid {
  counter-reset: mkt-feature;
}
.mkt-feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--mkt-border);
  border-radius: 18px;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mkt-feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--mkt-ink-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.mkt-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--mkt-border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.mkt-feature-card:hover::after {
  transform: scaleX(1);
}
.mkt-feature-grid .mkt-feature-card::before {
  counter-increment: mkt-feature;
  content: counter(mkt-feature, decimal-leading-zero);
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--mkt-display-font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #adb5bd;
}
.mkt-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--mkt-ink);
  color: #fff;
  margin-bottom: 1.4rem;
}
.mkt-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mkt-feature-text {
  color: var(--mkt-muted);
  margin-bottom: 0;
}

/* ---------- Showcase (gray band with phones) ---------- */
.mkt-showcase-item {
  text-align: center;
}
.mkt-showcase-item .mkt-phone {
  margin: 0 auto 1.75rem;
  box-shadow: 0 30px 60px rgba(26, 29, 33, 0.25), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease;
}
.mkt-showcase-item:hover .mkt-phone {
  transform: translateY(-8px);
}
.mkt-showcase-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mkt-ink);
}
.mkt-showcase-text {
  color: var(--mkt-muted);
  max-width: 20rem;
  margin: 0 auto;
}

/* ---------- Club teaser (landing) ---------- */
.mkt-club-teaser {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, var(--mkt-dark) 0%, var(--mkt-dark-2) 100%);
  background-size: 26px 26px, cover;
  border: 1px solid var(--mkt-dark);
  border-radius: 28px;
  padding: 3.5rem;
  color: #fff;
  box-shadow: 0 30px 70px rgba(26, 29, 33, 0.35);
}
.mkt-club-teaser .mkt-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #dee2e6;
  border-color: rgba(255, 255, 255, 0.22);
}
.mkt-club-teaser-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mkt-club-teaser-text {
  color: var(--mkt-dark-text);
  font-size: 1.1rem;
  max-width: 32rem;
}
@media (max-width: 575.98px) {
  .mkt-club-teaser {
    padding: 2.25rem 1.5rem;
  }
}

/* ---------- Manager feature rows ---------- */
.mkt-feature-row {
  padding: 3.5rem 0;
}
.mkt-feature-row-first {
  padding-top: 0;
}
.mkt-feature-row-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.mkt-feature-row-text {
  color: var(--mkt-muted);
  font-size: 1.05rem;
}
.mkt-checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.mkt-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
  color: var(--mkt-muted-dark);
}
.mkt-checklist .bi-check-circle-fill {
  color: var(--mkt-ink);
  margin-top: 0.15rem;
}

/* ---------- Steps ---------- */
.mkt-step-card {
  background: #fff;
  border: 1px solid var(--mkt-border);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mkt-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--mkt-border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.mkt-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mkt-ink);
  border: 2px solid var(--mkt-ink);
  color: #fff;
  font-family: var(--mkt-display-font);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

/* ---------- Lead form ---------- */
.mkt-form-card {
  background: #fff;
  color: var(--mkt-ink);
  border: 1px solid var(--mkt-border);
  border-radius: 20px;
  padding: 2.75rem;
  box-shadow: 0 0 0 6px rgba(26, 29, 33, 0.02), 0 30px 70px rgba(26, 29, 33, 0.1);
}
.mkt-form-card .form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--mkt-muted-dark);
  margin-bottom: 0.35rem;
}
.mkt-form-card .form-control {
  border-radius: 10px;
  border-color: var(--mkt-border);
  background: var(--mkt-bg-soft);
}
.mkt-form-card .form-control:focus {
  background: #fff;
  border-color: var(--mkt-blue);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
@media (max-width: 575.98px) {
  .mkt-form-card {
    padding: 1.75rem 1.25rem;
  }
}

/* ---------- FAQ (editorial hairline style) ---------- */
.mkt-faq .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--mkt-border);
  border-radius: 0 !important;
  background: transparent;
}
.mkt-faq .accordion-button {
  font-family: var(--mkt-display-font);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.5rem 0.25rem;
  background: transparent;
  color: var(--mkt-ink);
}
.mkt-faq .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--mkt-ink);
  box-shadow: none;
}
.mkt-faq .accordion-button:focus {
  box-shadow: none;
}
.mkt-faq .accordion-button::after {
  background-image: none;
  content: '+';
  width: auto;
  height: auto;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--mkt-muted);
  transition: transform 0.2s ease;
}
.mkt-faq .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
}
.mkt-faq .accordion-body {
  color: var(--mkt-muted);
  padding: 0 0.25rem 1.5rem;
}

/* ---------- CTA band ---------- */
.mkt-cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, var(--mkt-dark) 0%, var(--mkt-dark-2) 100%);
  background-size: 26px 26px, cover;
  color: #fff;
  padding: 6rem 0;
}
.mkt-cta-band::before,
.mkt-cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.mkt-cta-band::before {
  width: 460px;
  height: 460px;
  top: -230px;
  left: -140px;
}
.mkt-cta-band::after {
  width: 380px;
  height: 380px;
  bottom: -190px;
  right: -110px;
}
.mkt-cta-band .container {
  position: relative;
  z-index: 1;
}
.mkt-cta-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mkt-cta-text {
  color: var(--mkt-dark-text);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0.9rem auto 0;
}

/* ---------- Flash ---------- */
.mkt-flash {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  z-index: 1055;
}

/* ---------- Footer (dark) ---------- */
.mkt-footer {
  background: #101215;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #9aa0a6;
  padding: 4.5rem 0 2rem;
}
/* The logo PNG is black-on-white with an opaque background: invert it to
   white-on-black, then screen-blend so the black background disappears
   into the dark footer. */
.mkt-footer .mkt-logo {
  filter: invert(1);
  mix-blend-mode: screen;
}
.mkt-footer-tagline {
  max-width: 20rem;
}
.mkt-footer-heading {
  font-family: var(--mkt-display-font);
  color: #ced4da;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
}
.mkt-footer-links li {
  margin-bottom: 0.55rem;
}
.mkt-footer-links a {
  color: #9aa0a6;
  text-decoration: none;
  transition: color 0.15s ease;
}
.mkt-footer-links a:hover {
  color: #fff;
}
.mkt-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #6d7076;
}
