/* Grinta Performance — main stylesheet */

:root {
  --primary: #f95c1b;
  --secondary: #ff8a5b;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #1c1c1e;
  --text-muted: #6e6e73;
  --border: #e5e5ea;
  --bg-dark: #111214;
  --surface-dark: #1a1b1e;
  --card-dark: #202126;
  --text-light: #f5f5f7;
  --text-muted-dark: #aeaeb2;
  --border-dark: #34363c;
  /* TRIAL: Flutter success/warning — success paler (was #35C78A); revert to #1fa971 / #f5a524 */
  --success: #5ED4A3;
  --warning: #F5B74A;
  --danger: #e53935;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1120px;
  --header-h: 56px;
  --header-inset: 12px;
  --header-offset: calc(var(--header-inset) + var(--header-h) + 8px);
  /* Shared height: App Store + Google Play + call CTAs */
  --cta-btn-height: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
}

.center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

/* Header — floating pill / capsule */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--header-inset) 16px 0;
  background: transparent;
  border: none;
  pointer-events: none;
}

.site-header-pill {
  pointer-events: auto;
  width: min(100%, calc(var(--container) + 32px));
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 6px 10px 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 28px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: calc(var(--header-h) - 12px);
}

/* Desktop: brand + toolbar participate in .header-inner flex with the nav.
   Mobile: this wrapper becomes the sticky pill so the drawer can escape
   the backdrop-filter / sticky containing block. */
.header-bar {
  display: contents;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Orange underline under the current page link (inside the pill) */
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-item > a:hover,
.nav-list .current_page_item > a:hover,
.nav-link.is-active,
.nav-link.is-active:hover {
  color: var(--text);
}

.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after,
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-tips {
  padding: 8px;
  border-radius: 999px;
}

.nav-tips.is-active::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.site-header-pill .nav-actions .btn-primary,
.site-header-pill .nav-actions .btn-call,
.site-header-pill .nav-actions .btn-dark,
.site-header-pill .nav-actions .btn-trial {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-main {
  padding-top: 8px;
}

.header-promo {
  display: flex;
  justify-content: center;
  padding: 18px 16px;
}

.header-promo + .site-main {
  padding-top: 0;
}

.header-promo + .site-main .hero-carousel {
  padding-top: 0;
}

.header-promo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 8px);
  padding: 8px 14px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(249, 92, 27, 0.22);
  transition: background 0.15s ease;
}

.header-promo-card:hover {
  background: var(--secondary);
  color: #fff !important;
}

@media (max-width: 860px) {
  .header-promo {
    padding: 14px 12px;
  }

  .header-promo-card {
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-trial {
  gap: 8px;
  background: #fff;
  border-color: #c9a227;
  color: #c9a227 !important;
  border-radius: 999px;
}

.btn-trial .grinta-icon,
.btn-trial .material-symbols-outlined {
  font-size: 18px;
  color: inherit;
}

.btn-trial:hover {
  background: #fff8e6;
  border-color: #b8921f;
  color: #b8921f !important;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Veo-style black pill — navbar + “Planifier un appel” CTAs */
.btn-dark,
.btn-call {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #fff !important;
  border-radius: 999px;
}

.btn-dark:hover,
.btn-call:hover {
  background: #000;
  border-color: #000;
}

.section-dark .btn-dark,
.section-dark .btn-call,
.hero-card .btn-dark,
.hero-card .btn-call {
  background: #000;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text) !important;
}

.btn-secondary:hover {
  border-color: #c7c7cc;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text) !important;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.03);
}

.section-dark .btn-ghost {
  border-color: var(--border-dark);
  color: var(--text-light) !important;
}

.section-dark .btn-secondary {
  background: transparent;
  border-color: var(--border-dark);
  color: var(--text-light) !important;
}

/* Sections */
.section {
  padding: 48px 0;
}

/* Adjacent sections: avoid stacking full top+bottom padding (~160px gaps) */
.section + .section {
  padding-top: 28px;
}

.section-alt {
  background: var(--surface);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-dark .text-muted,
.section-dark .lead,
.section-dark .eyebrow,
.section-dark .hero-note {
  color: var(--text-muted-dark);
}

.section-dark a {
  color: var(--secondary);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  /* Shared floor so short copy (Fonctionnalités/Tarifs) matches Coach/Joueur */
  min-height: clamp(440px, 52vh, 560px);
  padding: 96px 0 80px;
}

/* Page intros (Tips) — no marketing-hero floor */
.hero.hero-compact {
  min-height: 0;
  padding: 1.25rem 0;
  justify-content: flex-start;
}

/* Keep .container max-width + horizontal centering; only raise stacking for copy */
.hero > .container {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.hero--media,
.hero--video {
  isolation: isolate;
  background-color: #0a0a0a;
  overflow: hidden;
}

.hero--media {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Fonctionnalités — tilted bg via ::after; same height as other heroes */
.hero--media-compact {
  background-image: none;
}

.hero--media-compact::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(-6deg) scale(1.15);
  pointer-events: none;
}

.hero--media::before,
.hero--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.78) 55%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

/* Darker overlay — heatmap + chart still faintly visible */
.hero--media-compact::before {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.90) 0%,
    rgba(0, 0, 0, 0.84) 40%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

/* Out of flex flow so justify-content can vertically center .container alone */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 8px;
  max-width: 42rem;
}

.center .lead {
  margin-inline: auto;
}

.text-muted {
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.center-actions {
  justify-content: center;
}

/* Store download badges (App Store + Google Play) — equal width + height via grid */
.store-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  width: min(100%, 360px);
}

.store-badges--stack,
.pricing-card .store-badges {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 200px;
}

.store-badge {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  height: var(--cta-btn-height);
  min-height: var(--cta-btn-height);
  max-height: var(--cta-btn-height);
  padding: 0 12px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* Call / primary CTAs next to store badges — same height site-wide */
.hero-actions .btn,
.pricing-card > .btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--cta-btn-height);
  min-height: var(--cta-btn-height);
  max-height: var(--cta-btn-height);
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}

.hero-card .hero-actions .btn {
  height: auto;
  max-height: none;
  padding: 10px 16px;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

.store-badge:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.store-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #fff;
}

.store-badge-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  overflow: hidden;
}

.store-badge-line1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.store-badge-line1--caps {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 8px;
}

.store-badge-line2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.pricing-card .store-badges {
  margin-top: 8px;
}

.pricing-store-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.pricing-store-row .store-badges {
  width: min(100%, 360px);
}

@media (max-width: 480px) {
  .pricing-store-row .store-badges {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 280px;
  }
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-note a {
  color: inherit;
  text-decoration: underline;
}

/* Hero carousel — one full-width rounded card inside content width */
.hero-carousel {
  background: transparent;
  padding: 28px 0 0;
}

/* Compact the handoff into the first section after the carousel */
.hero-carousel + .section {
  padding-top: 8px;
}

.hero-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
}

.hero-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-card {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-height: clamp(420px, 52vh, 560px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
  color: var(--text-light);
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.hero-card.is-active {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  cursor: default;
}

.hero-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-card-video,
.hero-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-card-image {
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
}

.hero-card-image--dark {
  background: var(--bg-dark);
}

.hero-card--compact .hero-card-image {
  transform: rotate(-6deg) scale(1.2);
  transform-origin: center center;
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.78) 55%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

.hero-card--compact .hero-card-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.84) 40%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.hero-card--ad .hero-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.hero-card--ad .hero-card-image {
  background-position: center center;
}

.hero-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: inherit;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 48px) 56px;
}

.hero-card .eyebrow {
  color: var(--text-muted-dark);
}

.hero-card .h1,
.hero-card .lead {
  color: var(--text-light);
}

.hero-card-cta {
  margin: 28px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}

.hero-card:not(.is-active) .hero-actions {
  display: none;
}

.hero-card.is-active .hero-card-cta {
  display: none;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-inline: 0;
}

.hero-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hero-carousel-btn:hover {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

.hero-carousel-btn .grinta-icon,
.hero-carousel-btn .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.2s ease, background 0.15s ease;
}

.hero-carousel-dot.is-active {
  width: 22px;
  background: var(--primary);
}

/* Material Symbols (Flutter Icons.* parity) */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.grinta-icon {
  font-size: 24px;
  color: var(--primary);
  vertical-align: middle;
  flex-shrink: 0;
}

.title-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.title-with-icon .grinta-icon {
  margin-top: 2px;
}

.section-dark .grinta-icon {
  color: var(--secondary);
}

.gio-title-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gio-title-with-icon .grinta-icon {
  font-size: 28px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* TRIAL: white cards → success; gray (.section-alt) cards → warning */
.card {
  background: var(--success);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.section-alt .card {
  background: var(--warning);
}

.section-dark .card {
  background: var(--card-dark);
  border-color: var(--border-dark);
  color: var(--text-light);
}

/* Colored cards: text, muted, icons, checklist → dark */
.card .text-muted,
.card .checklist li {
  color: var(--text-muted);
}

.card .grinta-icon,
.card .title-with-icon .grinta-icon,
.card .material-symbols-outlined {
  color: var(--text);
}

.card .checklist li::before {
  background: var(--text);
}

.card a:not(.btn) {
  color: var(--text);
  text-decoration: underline;
}

.section-dark .card .text-muted,
.section-dark .card .checklist li {
  color: var(--text-muted-dark);
}

.section-dark .card .grinta-icon,
.section-dark .card .title-with-icon .grinta-icon,
.section-dark .card .material-symbols-outlined {
  color: var(--secondary);
}

.section-dark .card .checklist li::before {
  background: var(--secondary);
}

.section-dark .card a:not(.btn) {
  color: var(--text-light);
}

/* Tarifs / pricing: keep white surface + dark text/icons */
:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card,
.pricing-card {
  background: var(--surface);
  border-color: var(--border);
  color: inherit;
}

:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card .text-muted,
:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card .checklist li,
.pricing-card .text-muted,
.pricing-card .checklist li {
  color: var(--text-muted);
}

:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card .grinta-icon,
:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card .material-symbols-outlined,
.pricing-card .grinta-icon,
.pricing-card .material-symbols-outlined {
  color: var(--primary);
}

:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card .checklist li::before,
.pricing-card .checklist li::before {
  background: var(--primary);
}

:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card a:not(.btn),
.pricing-card a:not(.btn) {
  color: var(--primary);
  text-decoration: none;
}

:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .card a:not(.btn):hover,
.pricing-card a:not(.btn):hover {
  text-decoration: underline;
}

.checklist {
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.logo-chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.section-dark .logo-chip {
  background: var(--card-dark);
  border-color: var(--border-dark);
  color: var(--text-light);
}

.logo-row span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.logo-chip--text span,
.logo-chip span {
  padding: 0;
  height: auto;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.fine-print {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Quotes / testimonials: original white surface (not trial success/warning) */
.quote {
  margin: 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
}

.quote p {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 16px;
  font-weight: 500;
}

.quote cite {
  font-style: normal;
  color: var(--text-muted);
  font-size: 14px;
}

/* Testimonials carousel */
.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonials-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.testimonials-cite {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.testimonials-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.testimonials-btn:hover {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

.testimonials-btn .grinta-icon,
.testimonials-btn .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.testimonials-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.2s ease, background 0.15s ease;
}

.testimonials-dot.is-active {
  width: 22px;
  background: var(--primary);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.pricing-billing {
  display: flex;
  justify-content: center;
  margin: 12px 0 32px;
}

:is(.page-tarifs, .page-template-page-tarifs, .page-template-page-tarifs-php) .hero-carousel + .section {
  padding-top: 28px;
}

.pricing-billing-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 18px;
  background: #eeeff3;
  border-radius: 999px;
  user-select: none;
}

.pricing-billing-option {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-muted);
  cursor: pointer;
}

.pricing-billing-option.is-active {
  color: var(--text);
  font-weight: 600;
}

.pricing-billing-switch {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8c8ce;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pricing-billing-switch[aria-checked="true"] {
  background: var(--primary);
}

.pricing-billing-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.pricing-billing-switch[aria-checked="true"] .pricing-billing-knob {
  transform: translateX(18px);
}

.pricing-billing-save {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.pricing-billing-option:focus-visible,
.pricing-billing-switch:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-billing-switch,
  .pricing-billing-knob {
    transition: none;
  }
}

[data-pricing-root][data-period="monthly"] [data-pricing-period="yearly"],
[data-pricing-root][data-period="yearly"] [data-pricing-period="monthly"] {
  display: none;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pricing-cartouche {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 16px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pricing-group--player .pricing-cartouche {
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

.pricing-group--coach .pricing-cartouche {
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

.pricing-group-cards {
  display: grid;
  gap: 20px;
  flex: 1;
  align-items: stretch;
}

.pricing-group--player .pricing-group-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-group--coach .pricing-group-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-group-cards > .pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.pricing-group-cards > .pricing-card > .checklist {
  flex: 1;
}

.pricing-group-cards > .pricing-card > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 2.6em;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--primary);
}

.price .price-period-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.price .price-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.price .price-main {
  display: block;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price .price-main .price-period {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--primary);
}

.price .price-alt {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.price .price-alt .price-period {
  font-weight: 600;
}

.prose .entry-content p {
  color: var(--text-muted);
}

.legal-doc h1 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.legal-doc h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal-doc h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: 6px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .text-muted {
  color: var(--text-muted-dark);
  max-width: 28rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: var(--text-muted-dark);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-links button.footer-cookie-prefs {
  background: none;
  border: 0;
  padding: 0;
  color: var(--text-light);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-links button.footer-cookie-prefs:hover,
.footer-links button.footer-cookie-prefs:focus-visible {
  color: var(--secondary);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--primary);
}

.footer-social-icon {
  display: block;
  flex-shrink: 0;
}

.footer-social--compact {
  margin-top: 0;
  gap: 12px;
}

.footer-social--compact .footer-social-link {
  padding: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-dark);
  padding: 20px 0 28px;
  font-size: 13px;
  color: var(--text-muted-dark);
}

.footer-bottom .text-muted {
  color: var(--text-muted-dark);
  margin: 0;
}

.footer-bottom p {
  margin: 0;
}

/* Gio */
.gio-section .h2 {
  margin-bottom: 12px;
}

.gio-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.gio-avatar {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border-dark);
  background: #000;
}

.gio-content .checklist li {
  color: var(--text-muted-dark);
}

.gio-prompts {
  list-style: none;
  margin: 20px 0 8px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.gio-prompts li {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  font-weight: 600;
}

.gio-closing {
  margin-top: 16px;
}

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  gap: 20px;
  justify-content: center;
  margin: 28px auto 8px;
}

.home-price-card {
  text-align: left;
}

.home-price-from {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.home-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 8px 0 0;
}

.home-close-actions .btn {
  height: auto;
  min-height: 44px;
  padding: 10px 16px;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

.home-final-tagline {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-muted-dark);
}

@media (max-width: 860px) {
  .gio-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .gio-avatar {
    margin-inline: auto;
  }

  .gio-content .checklist {
    text-align: left;
    display: inline-block;
  }
}

/* Responsive */
@media (max-width: 1100px) and (min-width: 861px) {
  .nav-list a {
    padding: 8px 8px;
    font-size: 13px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-header-pill .nav-actions .btn-primary,
  .site-header-pill .nav-actions .btn-call,
  .site-header-pill .nav-actions .btn-dark,
  .site-header-pill .nav-actions .btn-trial {
    padding: 0 12px;
    font-size: 12px;
  }

  .brand-logo {
    height: 32px;
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-group--player .pricing-group-cards,
  .pricing-group--coach .pricing-group-cards,
  .pricing-group-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  /* Keep header tools (Tips + lang + hamburger) on one row without overflow */
  .container {
    width: min(100% - 32px, var(--container));
  }

  /* Release the drawer from the sticky + backdrop-filter containing block
     so it can cover the viewport instead of painting behind the hero. */
  .site-header {
    position: static;
    z-index: auto;
    padding: 0;
    pointer-events: auto;
  }

  .site-header-pill,
  .header-inner {
    display: contents;
  }

  .header-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    position: sticky;
    top: 10px;
    z-index: 200;
    width: min(100% - 24px, calc(var(--container) + 32px));
    margin: 10px auto 0;
    min-height: var(--header-h);
    padding: 4px 6px 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 8px 28px rgba(0, 0, 0, 0.08);
  }

  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo {
    height: 28px;
    max-width: min(42vw, 120px);
    width: auto;
  }

  .header-toolbar {
    gap: 4px;
    margin-left: auto;
  }

  .lang-code,
  .lang-caret {
    display: none;
  }

  .lang-switcher-toggle {
    padding: 0 8px;
    height: 36px;
    border-radius: 999px;
    border-color: transparent;
    background: transparent;
  }

  .lang-switcher-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 190;
    flex: none;
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-offset) + 12px) 24px max(24px, env(safe-area-inset-bottom, 0px));
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.2s ease, visibility 0.2s ease;
    border: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .site-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-list a {
    padding: 10px 4px;
  }

  .nav-list .current-menu-item > a::after,
  .nav-list .current_page_item > a::after,
  .nav-link.is-active::after {
    left: 4px;
    right: 4px;
    bottom: 2px;
  }

  .nav-actions {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions .btn,
  .site-header-pill .nav-actions .btn-primary,
  .site-header-pill .nav-actions .btn-call,
  .site-header-pill .nav-actions .btn-dark,
  .site-header-pill .nav-actions .btn-trial {
    width: 100%;
    height: 44px;
    border-radius: 999px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .pricing-group--player .pricing-group-cards,
  .pricing-group--coach .pricing-group-cards,
  .pricing-group-cards {
    grid-template-columns: 1fr;
  }

  .pricing-billing-pill {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 8px 10px 8px 14px;
  }

  .footer-inner,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .section + .section {
    padding-top: 24px;
  }

  .hero {
    padding: 56px 0;
  }

  .hero-carousel {
    padding: 16px 0 0;
  }

  .hero-carousel + .section {
    padding-top: 8px;
  }

  .hero-card {
    min-height: clamp(360px, 58vh, 480px);
  }

  .hero-card-body {
    padding: 56px 20px 40px;
  }

  /* Full-width CTAs when stacked — avoids long nowrap labels clipping */
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .store-badges {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .store-badge {
    justify-content: center;
  }
}

/* Language switcher (navbar right) */
.header-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 0;
}

@media (min-width: 861px) {
  .header-toolbar {
    order: 3;
  }

  .site-nav {
    order: 2;
  }

  .brand {
    order: 1;
  }

  .lang-switcher-toggle {
    height: 36px;
    border-radius: 999px;
    border-color: transparent;
    background: transparent;
    padding: 0 10px 0 12px;
  }

  .lang-switcher-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: transparent;
  }

  .lang-switcher.is-open .lang-switcher-toggle {
    background: rgba(249, 92, 27, 0.08);
    border-color: transparent;
  }
}

.lang-switcher {
  position: relative;
  z-index: 120;
}

.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.lang-switcher-toggle:hover {
  border-color: #d0d0d5;
}

.lang-switcher.is-open .lang-switcher-toggle {
  border-color: var(--primary);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.02em;
}

.lang-caret {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 148px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.lang-switcher-menu[hidden] {
  display: none;
}

.lang-switcher-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.lang-switcher-option:hover,
.lang-switcher-option.is-active {
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.lang-switcher-option.is-active {
  color: var(--primary);
}

.legal-lang-notice {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--primary);
  background: #fff4ef;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

/* Club finder */
.club-finder .h2 {
  margin-bottom: 8px;
}

.club-finder .lead {
  margin-bottom: 28px;
}

.club-finder-search {
  margin-bottom: 8px;
}

.club-finder-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.club-finder-search-icon {
  position: absolute;
  left: 14px;
  display: inline-flex;
  color: var(--text-muted);
  pointer-events: none;
}

.club-finder-search-icon .grinta-icon {
  font-size: 22px;
}

.club-finder-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.club-finder-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 92, 27, 0.15);
}

.club-finder-hint {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 14px;
}

.club-finder-results,
.club-finder-teams,
.club-finder-competitions {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.club-finder-results {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.club-finder-result + .club-finder-result {
  border-top: 1px solid var(--border);
}

.club-finder-result-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.club-finder-result-btn:hover,
.club-finder-result-btn:focus-visible {
  background: #fff4ef;
  outline: none;
}

.club-finder-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.club-finder-logo--placeholder {
  display: inline-block;
  background:
    radial-gradient(circle at center, #f0f0f2 0 40%, transparent 41%),
    #fff;
}

.club-finder-result-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.club-finder-result-name {
  font-weight: 700;
  font-size: 15px;
}

.club-finder-result-city {
  color: var(--text-muted);
  font-size: 13px;
}

.club-finder-panel {
  margin-top: 24px;
}

.club-finder-selected-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.club-finder-selected-name {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
}

.club-finder-season {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 13px;
}

.club-finder-team {
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.club-finder-team:last-child {
  border-bottom: 0;
}

.club-finder-team-btn {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 8px;
  margin: 0 -8px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.club-finder-team-btn:hover,
.club-finder-team-btn:focus-visible,
.club-finder-team.is-open .club-finder-team-btn {
  background: #fff4ef;
  outline: none;
}

.club-finder-team-name {
  font-weight: 600;
  font-size: 15px;
}

.club-finder-team-meta {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.club-finder-team-competitions {
  padding: 0 8px 12px 16px;
}

.club-finder-competitions-heading {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.club-finder-competitions {
  margin: 0;
}

.club-finder-competition {
  padding: 0;
}

.club-finder-competition + .club-finder-competition {
  border-top: 1px solid var(--border);
}

.club-finder-competition-btn {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 8px;
  margin: 0 -8px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.club-finder-competition-btn:hover,
.club-finder-competition-btn:focus-visible,
.club-finder-competition.is-open .club-finder-competition-btn {
  background: #fff4ef;
  outline: none;
}

.club-finder-competition-name {
  font-weight: 600;
  font-size: 14px;
}

.club-finder-competition-meta,
.club-finder-competition-empty,
.club-finder-match-empty,
.club-finder-match-loading {
  color: var(--text-muted);
  font-size: 13px;
}

.club-finder-competition-empty,
.club-finder-match-empty,
.club-finder-match-loading {
  margin: 8px 0 0;
}

.club-finder-matches {
  margin-top: 8px;
  padding-bottom: 8px;
}

.club-finder-match-cards {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 16px;
}

@media (min-width: 720px) {
  .club-finder-match-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.club-finder-match-slot {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.club-finder-match-slot-title {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.club-finder-analyze {
  width: 100%;
  height: auto;
  min-height: 40px;
  margin-top: 12px;
  padding: 10px 16px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.club-finder-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.club-finder-preview {
  justify-self: center;
  width: min(100%, 240px);
}

.club-finder-preview-link {
  display: block;
}

.club-finder-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 18, 20, 0.12);
}

.club-finder-preview-caption {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

@media (min-width: 900px) {
  .club-finder-split {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 40px;
    row-gap: 8px;
  }

  .club-finder-intro {
    grid-column: 1 / -1;
  }

  .club-finder-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .club-finder-preview {
    grid-column: 2;
    grid-row: 2;
    position: sticky;
    top: calc(var(--header-offset) + 16px);
    width: 280px;
  }
}

.agenda-match-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  padding: 12px 12px 12px 17px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
}

.agenda-match-card--empty {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.agenda-match-card--empty .club-finder-match-empty {
  margin: 0;
}

.agenda-match-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda-match-card-head .grinta-icon,
.agenda-match-card-when .grinta-icon {
  font-size: 18px;
  line-height: 1;
}

.agenda-match-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.agenda-match-card-when {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.agenda-match-chtype {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.agenda-match-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.agenda-match-team {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.agenda-match-team-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.agenda-match-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.agenda-match-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.agenda-match-logo--placeholder {
  color: var(--text-muted);
}

.agenda-match-logo--placeholder .grinta-icon {
  font-size: 16px;
}

.agenda-match-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.agenda-match-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  flex-shrink: 0;
}

.agenda-match-dash {
  font-size: 14px;
  font-weight: 700;
}

.agenda-match-tab {
  margin-top: 4px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.agenda-match-team-name {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.agenda-match-forfeit {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
}

.club-finder-empty {
  margin-top: 8px;
}

.club-finder-not-listed {
  margin: 20px 0 0;
}

.club-finder-not-listed-btn,
.club-finder-inline-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.club-finder-not-listed-btn:hover,
.club-finder-inline-link:hover,
.club-finder-not-listed-btn:focus-visible,
.club-finder-inline-link:focus-visible {
  color: var(--secondary);
  outline: none;
}

.club-finder-inline-link {
  display: inline;
  white-space: normal;
}

.club-finder-lead {
  position: relative;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.club-finder-lead-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.club-finder-lead-close:hover,
.club-finder-lead-close:focus-visible {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.club-finder-lead-title {
  margin: 0 0 6px;
  padding-right: 36px;
}

.club-finder-lead-lead {
  margin: 0 0 18px;
  font-size: 14px;
}

.club-finder-lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.club-finder-lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .club-finder-lead-row {
    grid-template-columns: 1fr;
  }
}

.club-finder-lead-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.club-finder-lead-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.club-finder-lead-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.club-finder-lead-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 92, 27, 0.15);
}

.club-finder-lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.club-finder-lead-message {
  margin: 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  word-spacing: normal;
  letter-spacing: normal;
}

.club-finder-lead-message--success {
  color: #1b7a3d;
}

.club-finder-lead-message--error {
  color: #b42318;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.club-finder-lead-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-finder-lead-actions .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* SalesIQ stays loaded for visitor tracking; Gio remains the on-site chat. */
#zsiq_float,
.zsiq_floatmain {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 140;
  left: 0;
  right: 0;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  width: min(880px, calc(100% - 24px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 18px;
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted-dark);
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-cookie-refuse {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  border-radius: 999px;
  padding: 0 16px;
  box-shadow: none;
}

.btn-cookie-refuse:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.cookie-banner-open .gio-chat {
  bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + var(--cookie-banner-offset, 140px));
}

/* —— Gio floating chat —— */
.gio-chat {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  font-family: var(--font);
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.gio-chat > * {
  pointer-events: auto;
}

.gio-chat-launcher {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--bg-dark);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.15s ease;
}

.gio-chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249, 92, 27, 0.35);
}

.gio-chat-launcher:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.gio-chat-launcher-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Hide FAB while panel is open — keep layout slot so close cannot hit FAB underneath */
.gio-chat.is-open .gio-chat-launcher {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: none;
}

.gio-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(60px + 12px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100dvh - 96px));
  max-height: calc(100dvh - 96px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  color: var(--text-light);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* Beat `.gio-chat-panel { display: flex }` so [hidden] actually closes the panel */
.gio-chat-panel[hidden] {
  display: none !important;
}

.gio-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--border-dark);
  background: linear-gradient(180deg, #22242a 0%, var(--surface-dark) 100%);
}

.gio-chat-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gio-chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(249, 92, 27, 0.55);
  flex-shrink: 0;
}

.gio-chat-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
}

.gio-chat-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted-dark);
}

.gio-chat-close {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gio-chat-close:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
}

.gio-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(ellipse at top right, rgba(249, 92, 27, 0.08), transparent 45%),
    var(--bg-dark);
}

.gio-chat-row {
  display: flex;
}

.gio-chat-row--user {
  justify-content: flex-end;
}

.gio-chat-row--assistant {
  justify-content: flex-start;
}

.gio-chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.gio-chat-bubble a {
  color: #ffb089;
  text-decoration: underline;
}

.gio-chat-bubble--assistant {
  background: var(--card-dark);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  border-bottom-left-radius: 4px;
}

.gio-chat-bubble--user {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.gio-chat-bubble.is-pending {
  opacity: 0.75;
  font-style: italic;
}

.gio-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
  border-top: 1px solid transparent;
}

.gio-chat-chip {
  appearance: none;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  background: var(--card-dark);
  color: var(--text-light);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 7px 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gio-chat-chip:hover:not(:disabled) {
  border-color: var(--primary);
  background: rgba(249, 92, 27, 0.12);
}

.gio-chat-chip:disabled {
  opacity: 0.55;
  cursor: wait;
}

.gio-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--border-dark);
  background: var(--surface-dark);
}

.gio-chat-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font);
  font-size: 14px;
}

.gio-chat-input::placeholder {
  color: var(--text-muted-dark);
}

.gio-chat-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 92, 27, 0.2);
}

.gio-chat-send {
  flex-shrink: 0;
  height: 42px;
  padding: 0 14px;
  border: 0;
  font-size: 14px;
}

.gio-chat-send:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 860px) {
  .gio-chat {
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    width: 56px;
    height: 56px;
  }

  .gio-chat-panel {
    width: min(100vw - 20px, 380px);
    height: min(70dvh, 520px);
    max-height: calc(100dvh - 88px);
    bottom: calc(56px + 12px);
  }

  .gio-chat-launcher {
    width: 56px;
    height: 56px;
  }

  .gio-chat-launcher-avatar {
    width: 52px;
    height: 52px;
  }
}

body.nav-open .gio-chat {
  visibility: hidden;
  pointer-events: none;
}

/* Tips toolbar link */
.nav-tips {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 4px;
  white-space: nowrap;
}

.nav-tips .grinta-icon {
  font-size: 22px;
  color: inherit;
}

.nav-tips:hover .grinta-icon {
  color: inherit;
}

.nav-tips.is-active .grinta-icon {
  color: var(--primary);
}

.nav-tips.is-active::after {
  display: none;
}

/* HeyGen-style feature showcase */
.showcase-hero .lead {
  max-width: 40rem;
}

.showcase {
  background: var(--surface);
}

.showcase-band {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

.showcase-band:last-child {
  border-bottom: none;
}

.showcase-band--alt {
  background: var(--bg);
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.showcase-row--copy-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 40rem;
}

.showcase-row--flip .showcase-copy {
  order: 2;
}

.showcase-row--flip .showcase-visual {
  order: 1;
}

.feature-chapter-index {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.showcase-copy .h2 {
  margin: 0 0 14px;
  max-width: 18ch;
}

.showcase-lead {
  margin: 0 0 8px;
  max-width: 36ch;
  font-size: 18px;
  color: var(--text-muted);
}

.showcase-checklist {
  margin: 20px 0 0;
}

.showcase-checklist li {
  font-size: 15px;
}

.showcase-claim {
  margin: 16px 0 0;
  max-width: 36ch;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary);
}

.showcase-claim + .showcase-claim {
  margin-top: 8px;
}

.showcase-claim-footnote {
  margin-top: 6px;
  max-width: 36ch;
}

.showcase-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
  box-shadow: 0 12px 40px rgba(17, 18, 20, 0.12);
  aspect-ratio: 16 / 10;
  min-height: 280px;
}

.showcase-visual img,
.showcase-visual .showcase-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-visual--video {
  position: relative;
  background: var(--bg-dark);
}

.feature-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-video .showcase-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-video-unmute {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, color 0.15s ease, padding 0.15s ease;
}

.feature-video-unmute:hover {
  background: var(--secondary);
}

.feature-video-unmute:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.feature-video-unmute .feature-video-unmute__icon,
.feature-video-unmute .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}

.feature-video.is-unmuted .feature-video-unmute {
  min-height: 40px;
  min-width: 40px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.feature-video.is-unmuted .feature-video-unmute:hover {
  background: #fff;
}

@media (max-width: 480px) {
  .feature-video.is-unmuted .feature-video-unmute__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .feature-video.is-unmuted .feature-video-unmute {
    padding: 0;
    justify-content: center;
  }
}

/* Feature media carousel / shot: white frame behind screenshots (letterboxing).
   Video chapters keep .showcase-visual--video { background: var(--bg-dark) }. */
.showcase-visual--carousel,
.showcase-visual--shot {
  overflow: visible;
  background: var(--surface);
  box-shadow: none;
  border: none;
  aspect-ratio: auto;
  min-height: 0;
}

.feature-media-carousel {
  width: 100%;
  background: var(--surface);
}

.feature-media-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
  border: none;
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.feature-media-carousel-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  background: var(--surface);
}

.feature-media-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  box-sizing: border-box;
  background: var(--surface);
}

.feature-media-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.showcase-visual--shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  box-sizing: border-box;
}

.showcase-visual--shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.feature-media-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.feature-media-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.feature-media-carousel-btn:hover:not(:disabled) {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

.feature-media-carousel-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.feature-media-carousel-btn .grinta-icon,
.feature-media-carousel-btn .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.feature-media-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-media-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.2s ease, background 0.15s ease;
}

.feature-media-carousel-dot.is-active {
  width: 22px;
  background: var(--primary);
}

.showcase-visual--contain {
  background: linear-gradient(160deg, #1a1b1e 0%, #111214 55%, #2a1810 100%);
  display: grid;
  place-items: center;
  padding: 36px;
}

.showcase-visual--contain img {
  width: min(56%, 280px);
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Brand wordmark: contain sizing on the light shot frame (not circular avatar crop) */
.showcase-visual--shot.showcase-visual--contain {
  background: var(--surface);
}

.showcase-visual--shot.showcase-visual--contain img {
  width: min(72%, 360px);
  border-radius: 0;
  box-shadow: none;
}

/* Integrations logo carousel: one chip per slide, light media frame */
.feature-media-carousel--logos .feature-media-carousel-viewport {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-media-carousel-slide--logo {
  display: grid;
  place-items: center;
  padding: 36px;
}

.feature-media-carousel-slide--logo .logo-chip {
  height: auto;
  min-height: 104px;
  gap: 18px;
  padding: 22px 36px;
  font-size: 22px;
}

.feature-media-carousel-slide--logo .logo-chip img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.feature-media-carousel-slide--logo .logo-chip--wordmark img {
  width: 200px;
  height: 45px;
}

@media (max-width: 860px) {
  .showcase-band {
    padding: 56px 0;
  }

  .showcase-row,
  .showcase-row--flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Mobile: product visual above copy (HeyGen-style) */
  .showcase-row .showcase-visual,
  .showcase-row--flip .showcase-visual {
    order: -1;
  }

  .showcase-row .showcase-copy,
  .showcase-row--flip .showcase-copy {
    order: 1;
  }

  .showcase-copy .h2 {
    max-width: none;
  }

  .showcase-lead {
    max-width: none;
    font-size: 16px;
  }

  .showcase-visual {
    min-height: 220px;
  }

  .showcase-visual--carousel,
  .showcase-visual--shot {
    min-height: 0;
  }

  .feature-media-carousel-viewport {
    min-height: 0;
  }

  .feature-media-carousel-slide {
    padding: 18px 16px;
  }

  .showcase-visual--shot {
    padding: 18px 16px;
  }

  .showcase-visual--contain {
    padding: 28px;
  }

  .showcase-visual--contain img {
    width: min(48%, 200px);
  }
}

.tips-search {
  margin-bottom: 28px;
}

.tips-search-wrap {
  position: relative;
}

.tips-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
}

.tips-search-icon .grinta-icon {
  font-size: 22px;
}

.tips-search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tips-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 92, 27, 0.15);
}

.tips-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 14px;
}

.tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tips-card {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  gap: 20px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tips-card:hover {
  border-color: #d0d0d6;
  text-decoration: none;
  color: inherit;
}

.tips-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.tips-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-dark);
  aspect-ratio: 16 / 9;
}

.tips-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tips-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.tips-title {
  margin: 0;
}

.tips-desc {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.tips-open {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.tips-empty,
.tips-no-results {
  margin: 8px 0 0;
}

@media (max-width: 700px) {
  .tips-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Opponent report landing */
.opponent-report-hero {
  padding: 28px 0 40px;
  background: #000;
  color: #fff;
  text-align: center;
}

.opponent-report-hero-img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 28px auto 0;
}

.opponent-report-title {
  max-width: 720px;
  margin: 0 auto 12px;
  color: #fff;
}

.opponent-report-lead {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
}

.club-finder--report {
  padding-top: 36px;
}

.club-finder--report .club-finder-competition.is-open .club-finder-competition-btn {
  border-color: var(--primary);
  background: #fff4ef;
}

.club-finder--report .club-finder-match-cards {
  align-items: start;
}

.opponent-report-request {
  padding-top: 8px;
}

.opponent-report-park {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.club-finder-match-slot .opponent-report-park {
  margin-top: 12px;
}

.club-finder-match-slot .opponent-report-cta {
  height: auto;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding: 12px 18px;
}

.opponent-report-recap {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4ef;
  color: #111214;
  font-weight: 600;
}

.opponent-report-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
}

.opponent-report-form-wrap {
  margin-top: 20px;
}

.club-finder-matches > .opponent-report-form-wrap {
  margin-top: 16px;
}
