/* Touchline marketing site — brand theme from Android app */
:root {
  --brand-green: #558B2F;
  --grass: #2E8B57;
  --pitch-dark: #0A0A0A;
  --pitch: #161616;
  --cards: #222222;
  --cream: #F5F5F5;
  --muted: #9E9E9E;
  --white: #FFFFFF;
  --brand-green-hover: #6BA03A;
  --grass-glow: rgba(46, 139, 87, 0.35);
  --focus-ring: #81C784;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--pitch-dark);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

/* Subtle pitch / tech grid backdrop */
.pitch-bg {
  background-color: var(--pitch-dark);
  background-image:
    linear-gradient(180deg, rgba(85, 139, 47, 0.12) 0%, transparent 42%),
    linear-gradient(rgba(46, 139, 87, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 139, 87, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(85, 139, 47, 0.22), transparent 60%);
  background-size: auto, 48px 48px, 48px 48px, auto;
  background-attachment: fixed;
}

a {
  color: var(--grass);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--brand-green-hover);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

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

/* Navbar */
.navbar-touchline {
  background: rgba(10, 10, 10, 0.92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 139, 87, 0.25);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  transition: box-shadow 280ms ease;
  z-index: 1030; /* above Bootstrap sticky/fixed stacking */
}

.navbar-touchline .container,
.navbar-touchline .container-fluid {
  display: flex;
  flex-wrap: wrap; /* collapse drops under brand+toggler; brand/toggler stay one row */
  align-items: center;
}

.navbar-touchline .navbar-brand {
  display: flex;
  padding: 0;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 0%;
  min-width: 0;
  margin-right: 0.5rem;
}

.navbar-touchline .navbar-toggler {
  flex: 0 0 2.75rem; /* fixed width; never shrink or wrap onto its own row */
  flex-shrink: 0;
  width: 2.75rem;
  margin-left: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.navbar-touchline .navbar-toggler-icon {
  margin: 0 auto;
}

.navbar-touchline .navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  width: 100%;
}

.navbar-touchline .navbar-brand img {
  width: auto;
  height: 48px;
  max-height: 48px; /* suite nav logo: 48px on all suite sites (20261102hgt) */
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Mobile open menu: stack links vertically under the bar */
@media (max-width: 991.98px) {
  .navbar-touchline .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }
  .navbar-touchline .navbar-collapse .navbar-nav {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .navbar-touchline .navbar-collapse .nav-item {
    width: 100%;
  }
  .navbar-touchline .navbar-collapse .nav-link {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  .navbar-touchline .navbar-collapse .btn {
    margin-top: 0.35rem;
    width: 100%;
  }
}

/* Desktop (lg+): hide hamburger; restore horizontal nav; logo stays capped */
@media (min-width: 992px) {
  .navbar-touchline .navbar-toggler {
    display: none;
  }
  .navbar-touchline .navbar-brand {
    flex: 0 1 auto;
  }
  .navbar-touchline .navbar-brand img {
    max-width: none;
  }
  .navbar-touchline .navbar-collapse {
    flex-basis: auto;
    flex-grow: 1;
    width: auto;
    display: flex !important;
  }
  .navbar-touchline .container,
  .navbar-touchline .container-fluid {
    flex-wrap: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-touchline {
    transition: none;
  }
}

.navbar-touchline .nav-link {
  color: var(--muted) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
}

.navbar-touchline .nav-link:hover,
.navbar-touchline .nav-link:focus-visible {
  color: var(--cream) !important;
}

.navbar-toggler {
  border-color: rgba(158, 158, 158, 0.4);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(85, 139, 47, 0.35);
}

.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(245, 245, 245, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-brand {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--white);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 0.5rem;
}

.btn-brand:hover,
.btn-brand:focus-visible {
  background-color: var(--brand-green-hover);
  border-color: var(--brand-green-hover);
  color: var(--white);
}

.btn-outline-cream {
  border: 1px solid rgba(245, 245, 245, 0.45);
  color: var(--cream);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 0.5rem;
  background: transparent;
}

.btn-outline-cream:hover,
.btn-outline-cream:focus-visible {
  background: rgba(245, 245, 245, 0.08);
  border-color: var(--cream);
  color: var(--white);
}

.btn-cta-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--pitch-dark);
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
}

.btn-cta-white:hover,
.btn-cta-white:focus-visible {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: var(--pitch-dark);
}

/* Hero */
.hero {
  padding: 3rem 0 4.5rem; /* t633u: match WH/MR/PCM main.holding 3rem gap under nav (was 5.25rem) */
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, var(--grass-glow), transparent 65%);
  pointer-events: none;
}



.hero-phone {
  display: inline-block;
  max-width: min(280px, 72vw);
  padding: 10px;
  border-radius: 1.75rem;
  background: linear-gradient(160deg, #2a2a2a 0%, #0a0a0a 55%, #161616 100%);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(85, 139, 47, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-match-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.hero-feature-graphic {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 0.85rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(85, 139, 47, 0.35);
}

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(85, 139, 47, 0.35);
}

.hero-wordmark {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

/* MuddyStuds brand credit — sits under the right edge of the hero wordmark */
.hero-brand {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.75rem;
}
.from-muddystuds {
  display: flex;
  justify-content: flex-end;
  margin: 0.35rem 0 0;
}
.from-muddystuds a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.from-muddystuds a:hover,
.from-muddystuds a:focus-visible { opacity: 1; }
.from-muddystuds-label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  line-height: 1;
}
.from-muddystuds-mark {
  display: block;
  height: 48px;
  width: auto;
}
@media (max-width: 575.98px) {
  .from-muddystuds-mark { height: 36px; }
  .from-muddystuds-label { font-size: 0.9rem; }
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--cream);
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(85, 139, 47, 0.2);
  color: #a5d6a7;
  border: 1px solid rgba(85, 139, 47, 0.45);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--pitch);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* Feature cards */
.feature-card {
  background: var(--cards);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(85, 139, 47, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(85, 139, 47, 0.18);
  color: #a5d6a7;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Pricing / comparison */
.compare-card {
  background: var(--cards);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
}

.compare-card.free {
  border-color: rgba(245, 245, 245, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 245, 245, 0.15), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.compare-card.plus {
  border-color: rgba(85, 139, 47, 0.55);
  box-shadow: 0 0 0 1px rgba(85, 139, 47, 0.15), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.compare-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cream);
}

.compare-card .price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.compare-card li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.compare-card li i {
  color: var(--brand-green);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pill-plus {
  position: absolute;
  top: -0.7rem;
  right: 1.25rem;
  background: var(--brand-green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.pill-free {
  position: absolute;
  top: -0.7rem;
  right: 1.25rem;
  background: var(--cream);
  color: var(--pitch-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* Why / positioning */
.why-panel {
  background: linear-gradient(135deg, rgba(85, 139, 47, 0.15), rgba(22, 22, 22, 0.9));
  border: 1px solid rgba(85, 139, 47, 0.3);
  border-radius: 1.25rem;
  padding: 2.25rem;
}

.why-panel h2 {
  font-weight: 800;
  margin-bottom: 1rem;
}

.why-panel p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.why-panel p:last-child {
  margin-bottom: 0;
}

/* Legal pages */
.legal-page {
  padding: 6rem 0 4rem;
}

.legal-page h1 {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal-content {
  background: var(--cards);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--cream);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--brand-green);
  background: rgba(85, 139, 47, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--cream);
}

.footer-brand {
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

/* Utilities */
.text-cream { color: var(--cream) !important; }
.text-muted-brand { color: var(--muted) !important; }
.text-brand { color: var(--brand-green) !important; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-green);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 3rem; /* t633u: was 5.5rem */
    padding-bottom: 3rem;
  }

  .compare-card {
    padding: 1.5rem 1.25rem;
  }
}


.feature-icon .feature-svg {
  display: block;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
}

/* Play buttons disabled until launch */
.btn-coming-soon,
.btn-coming-soon:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}
.coming-soon-label {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #558B2F;
  color: #F5F5F5;
  vertical-align: middle;
}
.btn-brand .coming-soon-label {
  background: #0A0A0A;
  color: #F5F5F5;
}
/* Keep Bootstrap's disabled fade from washing out the buttons */
.btn.btn-coming-soon:disabled { opacity: 0.8; }

/* Touchline Plus feature tour */
.plus-tour {
  position: relative;
  border-top: 1px solid rgba(85, 139, 47, 0.25);
  background:
    radial-gradient(ellipse 70% 40% at 15% 0%, rgba(85, 139, 47, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 35% at 90% 55%, rgba(46, 139, 87, 0.1), transparent 70%);
}

.pill-plus.pill-plus-inline {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.pill-plus.pill-plus-inline strong {
  font-weight: 800;
}

.plus-tour .section-sub {
  max-width: 42rem;
}

.plus-row + .plus-row {
  margin-top: 3.5rem;
}

.plus-row h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.plus-row p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.plus-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.plus-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.3rem 0;
  color: var(--cream);
  font-size: 0.95rem;
}

.plus-points li i {
  color: var(--brand-green);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* Phone frames reuse .hero-phone / .hero-match-screen */
.hero-phone.plus-phone {
  max-width: min(250px, 64vw);
}

.phone-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

.phone-pair .hero-phone.plus-phone {
  max-width: none;
  width: min(230px, 46vw);
}

.phone-pair .hero-phone.plus-phone + .hero-phone.plus-phone {
  width: min(200px, 40vw);
  margin-top: 3rem;
}

.plus-cards {
  margin-top: 3.5rem;
}

.plus-card {
  display: flex;
  flex-direction: column;
}

.plus-card:hover {
  transform: none;
}

.plus-card-media {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.hero-phone.plus-phone.plus-phone-sm {
  max-width: min(220px, 62vw);
}

.hero-phone.plus-card-frame {
  max-width: min(320px, 100%);
  border-radius: 1.1rem;
}

.plus-card-frame .hero-match-screen {
  border-radius: 0.7rem;
}

.plus-extras {
  margin-top: 2.5rem;
  padding: 1.1rem 1.35rem;
  background: rgba(85, 139, 47, 0.1);
  border: 1px solid rgba(85, 139, 47, 0.3);
  border-radius: 0.85rem;
  color: var(--muted);
}

.plus-extra {
  display: inline-block;
  margin: 0.15rem 0 0.15rem 1rem;
}

.plus-extra i {
  color: var(--brand-green);
  margin-right: 0.35rem;
}

.section-pricing {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 991.98px) {
  .plus-row p {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .plus-row + .plus-row,
  .plus-cards {
    margin-top: 2.75rem;
  }

  .plus-extra {
    display: block;
    margin-left: 0;
  }
}

/* Any age group / any format (2v2–11v11) */
.hero-formats {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(46, 139, 87, 0.55);
  background: rgba(46, 139, 87, 0.12);
  color: var(--cream);
  font-weight: 600;
}
.hero-formats i { color: var(--grass); }
.section-formats { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.formats-panel {
  border: 1px solid rgba(46, 139, 87, 0.35);
  border-radius: 1rem;
  padding: 2.5rem 1.25rem;
  background: radial-gradient(ellipse at top, rgba(46, 139, 87, 0.18), transparent 70%), #161616;
}
.formats-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--grass);
}
.text-grass { color: var(--grass); white-space: nowrap; }
.format-chips li {
  min-width: 4.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1.05rem;
}
.format-chips li:nth-child(1) {
  background: rgb(220, 239, 207);
  border-color: rgb(200, 219, 187);
  color: #0A0A0A;
}
.format-chips li:nth-child(2) {
  background: rgb(205, 228, 189);
  border-color: rgb(185, 208, 169);
  color: #0A0A0A;
}
.format-chips li:nth-child(3) {
  background: rgb(190, 217, 171);
  border-color: rgb(170, 197, 151);
  color: #0A0A0A;
}
.format-chips li:nth-child(4) {
  background: rgb(175, 206, 154);
  border-color: rgb(155, 186, 134);
  color: #0A0A0A;
}
.format-chips li:nth-child(5) {
  background: rgb(160, 195, 136);
  border-color: rgb(140, 175, 116);
  color: #0A0A0A;
}
.format-chips li:nth-child(6) {
  background: rgb(145, 183, 118);
  border-color: rgb(125, 163, 98);
  color: #fff;
}
.format-chips li:nth-child(7) {
  background: rgb(130, 172, 100);
  border-color: rgb(110, 152, 80);
  color: #fff;
}
.format-chips li:nth-child(8) {
  background: rgb(115, 161, 83);
  border-color: rgb(95, 141, 63);
  color: #fff;
}
.format-chips li:nth-child(9) {
  background: rgb(100, 150, 65);
  border-color: rgb(80, 130, 45);
  color: #fff;
}
.format-chips li:nth-child(10) {
  background: rgb(85, 139, 47);
  border-color: rgb(65, 119, 27);
  color: #fff;
}
@media (min-width: 992px) {
  .formats-panel { padding: 3.25rem 3rem; }
  .format-chips li { font-size: 1.2rem; min-width: 5.25rem; }
}

/* Cup feature card inside #features (not a nav-level section) */
.feature-card--cups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
}
.feature-cups-copy .feature-icon {
  margin-bottom: 0.85rem;
}
.feature-cups-options {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.feature-cups-options li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.feature-cups-options li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--grass);
}
.feature-cups-options li strong,
.feature-cups-note strong {
  color: var(--cream);
}
.feature-cups-note {
  color: var(--muted);
  font-size: 0.9rem;
}
.feature-cups-phones.phone-pair {
  justify-content: flex-start;
  gap: 0.75rem;
}
.feature-cups-phones .hero-phone.plus-phone {
  width: min(150px, 38vw);
  max-width: none;
}
.feature-cups-phones .hero-phone.plus-phone + .hero-phone.plus-phone {
  width: min(135px, 34vw);
  margin-top: 1.75rem;
}
@media (min-width: 768px) {
  .feature-card--cups {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 1.75rem;
  }
  .feature-cups-copy {
    flex: 1 1 auto;
    min-width: 0;
  }
  .feature-cups-phones.phone-pair {
    flex: 0 0 auto;
    justify-content: center;
  }
  .feature-cups-phones .hero-phone.plus-phone {
    width: min(168px, 22vw);
  }
  .feature-cups-phones .hero-phone.plus-phone + .hero-phone.plus-phone {
    width: min(150px, 20vw);
    margin-top: 2.25rem;
  }
}
@media (min-width: 992px) {
  .feature-cups-phones .hero-phone.plus-phone {
    width: 180px;
  }
  .feature-cups-phones .hero-phone.plus-phone + .hero-phone.plus-phone {
    width: 160px;
  }
}

/* Screenshot click-to-enlarge */
.hero-match-screen {
  cursor: zoom-in;
  transition: box-shadow 0.15s ease, outline-color 0.15s ease;
}

.hero-match-screen:hover {
  box-shadow: 0 0 0 2px rgba(85, 139, 47, 0.45);
}

.hero-match-screen:focus {
  outline: none;
}

.hero-match-screen:focus-visible {
  outline: 2px solid rgba(85, 139, 47, 0.85);
  outline-offset: 3px;
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.screenshot-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.screenshot-lightbox__frame {
  position: relative;
  display: inline-block;
  max-width: min(100%, 44rem);
  padding: 0.6rem;
  background: var(--card, #222222);
  border: 2px solid rgba(245, 245, 245, 0.85);
  border-radius: 1rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 24px 64px rgba(0, 0, 0, 0.75);
}

.screenshot-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}

.screenshot-lightbox__close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 2px solid #0a0a0a;
  border-radius: 999px;
  background: #f5f5f5;
  color: #0a0a0a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.screenshot-lightbox__close:hover,
.screenshot-lightbox__close:focus-visible {
  background: var(--brand-green, #558b2f);
  color: #f5f5f5;
  transform: scale(1.06);
  outline: none;
}

.screenshot-lightbox__close:focus-visible {
  box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.9);
}

@media (max-width: 575.98px) {
  .screenshot-lightbox { padding: 1.75rem 1rem 1rem; }
  .screenshot-lightbox__close { top: -0.85rem; right: -0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-match-screen,
  .screenshot-lightbox {
    transition: none;
  }
}

.hero-langs{
  max-width: 100%;
  min-width: 0;
  overflow: hidden; /* keep flag scroller inside the phone viewport */
}
.hero-langs .lang-flags-wrap{
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0.45rem;
  overflow: hidden; /* panel clips; inner .lang-flags scrolls */
  box-sizing: border-box;
}
.hero-langs .lang-flags{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 0 0 0.15rem 0; /* no inset — fades overlay via mask, not padding shift */
  -webkit-mask-image: none;
  mask-image: none;
}
/* Fade only the side(s) that still have overflow (toggled by JS) */
.hero-langs .lang-flags.is-fade-right{
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 5.5rem), transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 5.5rem), transparent 100%);
}
.hero-langs .lang-flags.is-fade-left{
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5.5rem, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 5.5rem, #000 100%);
}
.hero-langs .lang-flags.is-fade-left.is-fade-right{
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5.5rem,
    #000 calc(100% - 5.5rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5.5rem,
    #000 calc(100% - 5.5rem),
    transparent 100%
  );
}
.hero-langs .lang-flag-link{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.2rem;
}
.hero-langs .lang-flag{
  width: 36px;
  height: 24px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher .lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--muted) !important;
  font-weight: 500;
  background: transparent;
  border: 0;
  padding: 0.5rem 0.85rem !important;
}
.lang-switcher .lang-switcher-btn:hover,
.lang-switcher .lang-switcher-btn:focus-visible {
  color: var(--cream) !important;
}
.lang-switcher .lang-current {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-menu {
  min-width: 11rem;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  border: 1px solid rgba(46, 139, 87, 0.35);
  background: #161616;
}
.lang-menu .dropdown-item {
  color: var(--cream);
  font-size: 0.95rem;
}
.lang-menu .dropdown-item:hover,
.lang-menu .dropdown-item:focus {
  background: rgba(85, 139, 47, 0.25);
  color: var(--white);
}
.lang-menu .dropdown-item.active,
.lang-menu .dropdown-item[aria-current="true"] {
  background: rgba(85, 139, 47, 0.45);
  color: var(--white);
  font-weight: 600;
}

.lang-flag-link{display:inline-flex;line-height:0;border-radius:2px;outline-offset:2px}
.lang-flag-link:hover{opacity:0.85}
.lang-flag-link:focus-visible{outline:2px solid var(--grass)}

.compare-card .price-note{color:var(--muted,#9E9E9E);font-size:.85rem;margin:-.25rem 0 1rem}

/* Cookie consent banner (js/consent.js) */
.consent-banner {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  width: calc(100% - 2.5rem);
  max-width: 30rem;
  background: var(--cards, #222222);
  color: var(--cream, #F5F5F5);
  border: 1px solid rgba(245, 245, 245, 0.18);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.55);
  padding: 1.1rem 1.25rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.consent-banner[hidden] { display: none; }
.consent-banner__text {
  margin: 0 0 0.9rem;
  color: var(--cream, #F5F5F5);
}
.consent-banner__text a {
  color: var(--muted, #9E9E9E);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.consent-banner__text a:hover,
.consent-banner__text a:focus-visible { color: var(--cream, #F5F5F5); }
.consent-banner__actions {
  display: flex;
  gap: 0.6rem;
}
.consent-banner__btn {
  flex: 1 1 0;
  min-height: 2.6rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.consent-banner__btn--accept {
  background: var(--brand-green, #558B2F);
  border: 1px solid var(--brand-green, #558B2F);
  color: var(--white, #FFFFFF);
}
.consent-banner__btn--accept:hover,
.consent-banner__btn--accept:focus-visible {
  background: var(--brand-green-hover, #6BA03A);
  border-color: var(--brand-green-hover, #6BA03A);
}
.consent-banner__btn--reject {
  background: transparent;
  border: 1px solid var(--cream, #F5F5F5);
  color: var(--cream, #F5F5F5);
}
.consent-banner__btn--reject:hover,
.consent-banner__btn--reject:focus-visible {
  background: rgba(245, 245, 245, 0.1);
  color: var(--white, #FFFFFF);
}
@media (max-width: 575.98px) {
  .consent-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 1rem 1rem 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Footer "Cookie settings" control — styled like the other footer links */
.site-footer .cookie-settings-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease;
}
.site-footer .cookie-settings-link:hover,
.site-footer .cookie-settings-link:focus-visible {
  color: var(--cream);
}

/* Nav brand icon (concept 24g) left of the wordmark */
.navbar-touchline .navbar-brand img.brand-icon,
img.brand-icon {
  height: 34px;
  width: 34px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 0.5rem; }
@media (max-width: 575.98px) {
  .navbar-touchline .navbar-brand img.brand-icon { height: 30px; width: 30px; }
  .navbar-touchline .navbar-brand { gap: 0.4rem; }
}

/* Brand breathing room so first nav item never touches the logo (20261029m1) */
.navbar-touchline .navbar-brand{margin-right:1.5rem;padding-right:.25rem}
@media (max-width:1199.98px){.navbar-touchline .navbar-brand{margin-right:1rem}}

/* Auth email-action page (/auth/action) — 20261031a1 */
.auth-page{flex:1;padding:6rem 0 4rem}
.auth-card{background:var(--cards);border:1px solid rgba(255,255,255,.06);border-top:3px solid var(--brand-green);border-radius:1rem;padding:2.25rem 1.75rem}
.auth-title{font-size:1.6rem;font-weight:800;margin:0 0 .75rem;color:var(--cream)}
.auth-title:focus{outline:none}
.auth-copy{color:var(--muted);margin-bottom:1.25rem}
.auth-note{color:var(--muted);font-size:.9rem;margin:1.25rem 0 0}
.auth-footnote{color:var(--muted);font-size:.9rem;margin-top:1.25rem}
.auth-spinner{color:var(--brand-green-hover);width:2.75rem;height:2.75rem;margin-bottom:1.25rem}
.auth-icon{width:3.5rem;height:3.5rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:1rem}
.auth-icon-ok{background:var(--brand-green);color:var(--white)}
.auth-icon-err{background:transparent;border:2px solid var(--brand-green-hover);color:var(--brand-green-hover)}
.auth-actions{display:flex;flex-direction:column;gap:.6rem;align-items:center}
.auth-actions .btn{min-width:14rem}
.auth-page .form-label{color:var(--cream);font-weight:700}
.auth-input{background:var(--pitch-dark);border:1px solid rgba(255,255,255,.12);color:var(--cream)}
.auth-input:focus{background:var(--pitch-dark);color:var(--cream);border-color:var(--brand-green-hover);box-shadow:0 0 0 .2rem rgba(85,139,47,.35)}
.auth-help{color:var(--muted)!important}
.auth-page .form-check-input{background-color:var(--pitch-dark);border-color:rgba(245,245,245,.35)}
.auth-page .form-check-input:checked{background-color:var(--brand-green);border-color:var(--brand-green)}
.auth-form-error{border-left:3px solid var(--brand-green);background:rgba(85,139,47,.1);color:var(--cream);padding:.75rem 1rem;border-radius:0 .5rem .5rem 0;margin-bottom:1rem;font-size:.95rem}
@media (max-width:575.98px){.auth-card{padding:1.75rem 1.15rem}.auth-actions .btn{width:100%;min-width:0}}

/* Suite nav bar height parity with MuddyStuds (48px logo) */
.navbar-touchline{padding-top:calc(.7rem - 4px);padding-bottom:calc(.7rem - 4px)}

/* t618u/t619u — suite hero parity with WH/MR/PCM: same 720px cap + 96px rendered height (72px on phones) */
.hero-brand { width: fit-content; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-wordmark { height: 96px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; }
@media (max-width: 575.98px) { .hero-wordmark { height: min(72px, calc((100vw - 2rem) / 7.45)); } }
/* t620u — "from MuddyStuds" credit near-flush under the hero lockup */
.hero-brand .from-muddystuds { margin-top: 2px; padding-top: 0; }

/* t626u/t627u/t628u — hero HEIGHT +25%: 96px -> 120px (phones 72 -> 90). max-width 900px is the container
   allowance so the widest lockup (PCM, aspect ~1788/240 = 7.45 -> ~894px at 120px) fits; it is NOT "125% of 96".
   "from MuddyStuds" credit reduced 25% (mark 48->36px, phone 36->27px; label .95->.71rem, phone .9->.68rem). */
.hero-brand{max-width:900px}
.hero-wordmark{height:120px}
@media (max-width:575.98px){.hero-wordmark{height:min(90px,calc((100vw - 2rem) / 7.45))}}
.from-muddystuds a{gap:.3rem}
.from-muddystuds-mark{height:36px}
.from-muddystuds-label{font-size:.71rem}
@media (max-width:575.98px){.from-muddystuds-mark{height:27px}.from-muddystuds-label{font-size:.68rem}}
.hero-brand .from-muddystuds{margin-top:2px}

/* Muddy Studs suite links (footer) */
.site-footer .suite {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
