/* ==========================================================================
   GHD Sports APK — Mobile-First Design System
   Base styles target 320px+ smartphones; progressively enhanced at:
   640px (large phones), 768px (tablets), 1024px (desktops)
   ========================================================================== */

:root {
  --bg-dark: #090e1a;
  --bg-dark-elevated: #111827;
  --bg-dark-card: rgba(255, 255, 255, 0.04);
  --border-dark: rgba(255, 255, 255, 0.1);

  --bg-light: #ffffff;
  --bg-soft: #f4f7fb;
  --border-light: #e2e8f0;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-muted-dark: #94a3b8;

  --crimson: #e11d48;
  --crimson-hover: #be123c;
  --crimson-soft: #fff1f2;
  --cobalt: #2563eb;
  --cobalt-soft: #eff6ff;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;

  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --container: 1220px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(9, 14, 26, 0.18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-light);
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(225, 29, 72, 0.12);
}

body.has-mobile-bar .site-footer {
  padding-bottom: calc(118px + env(safe-area-inset-bottom));
}

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

a {
  color: var(--cobalt);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  touch-action: manipulation;
}

button {
  touch-action: manipulation;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-main);
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.02em;
}

p {
  margin-top: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--crimson);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

.highlight {
  color: var(--crimson);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crimson);
  margin-bottom: 10px;
}

.eyebrow--light {
  color: #fda4af;
}

.section {
  padding-block: 48px;
}

.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.steps-header {
  margin-top: 48px;
  margin-bottom: 16px;
}

.section--soft {
  background: var(--bg-soft);
}

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

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

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

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.55rem, 5vw, 2.5rem);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.section--dark .section-header p {
  color: var(--text-muted-dark);
}

/* ==========================================================================
   Buttons (Mobile-first 44px–48px touch targets)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96875rem;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:active {
  transform: scale(0.985);
}

.btn--primary {
  background: var(--crimson);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
}
.btn--primary:hover {
  background: var(--crimson-hover);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-light);
}
.btn--outline:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn--lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1.02rem;
}

/* ==========================================================================
   Sticky Header & Mobile Drawer (Mobile-First Base)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  min-height: 44px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.brand-badge {
  display: none;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--crimson-soft);
  color: var(--crimson);
}

.primary-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-actions .btn--outline {
  display: none;
}

.header-actions .btn--primary {
  min-height: 38px;
  padding: 6px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
}

/* Mobile Slide-in Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 250;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 26, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(320px, 86vw);
  background: #ffffff;
  padding: max(20px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overscroll-behavior: contain;
  overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-main);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
}

.mobile-drawer__nav a:hover,
.mobile-drawer__nav a:active {
  background: var(--bg-soft);
}

.mobile-drawer__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Hero — Mobile-First Stacked Stadium Layout
   ========================================================================== */

.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: 28px 44px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 24%, rgba(225, 29, 72, 0.24), transparent 48%),
    radial-gradient(circle at 18% 82%, rgba(37, 99, 235, 0.22), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 38px 38px, 38px 38px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(1.85rem, 6.8vw, 3.35rem);
  line-height: 1.14;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 58ch;
  margin-bottom: 22px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-ctas .btn {
  width: 100%;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
}

.hero-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-spec-label {
  font-size: 0.72rem;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-spec-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.28) 0%, rgba(37, 99, 235, 0.14) 50%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.hero-phone-frame {
  position: relative;
  padding: 10px;
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.52);
  max-width: 220px;
  width: 100%;
}

.hero-phone-frame img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  aspect-ratio: 530 / 1024;
  object-fit: cover;
}

.float-chip {
  display: none;
}

/* ==========================================================================
   Overview + Balanced Bento Grid + Technical Spec Strip
   ========================================================================== */

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.overview-copy h2 {
  font-size: clamp(1.55rem, 5vw, 2.3rem);
  margin-bottom: 12px;
}

.overview-copy p:last-of-type {
  margin-bottom: 0;
}

.release-callout {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--cobalt-soft);
  border-left: 4px solid var(--cobalt);
  color: #1e3a8a;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 16px;
  margin-bottom: 0;
}

.bento-mini {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mini-card {
  position: relative;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mini-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--crimson-soft);
  color: var(--crimson);
}

.card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
}

.mini-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.mini-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.spec-strip {
  margin-top: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.spec-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.spec-strip__badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: #065f46;
}

.spec-strip__grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.spec-strip__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}

.spec-strip__item:last-child {
  border-bottom: none;
}

.spec-strip__item dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.spec-strip__item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

/* ==========================================================================
   Interactive 3-Tab App Explorer (Stage First on Mobile + Touch Swipe)
   ========================================================================== */

.explorer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.explorer-stage {
  order: -1;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border-radius: var(--radius-lg);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
}

.explorer-stage__screens {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 292px;
}

.explorer-screen {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.14);
  transition: width 0.24s ease, transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  width: clamp(50px, 16vw, 84px);
  opacity: 0.55;
  flex-shrink: 0;
}

.explorer-screen.is-active {
  width: clamp(134px, 44vw, 196px);
  opacity: 1;
  border-color: var(--crimson);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

.explorer-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 474 / 1024;
  object-fit: cover;
}

.explorer-stage__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.explorer-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.explorer-nav:hover {
  background: rgba(225, 29, 72, 0.25);
  border-color: var(--crimson);
}

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

.explorer-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.explorer-dot.is-active {
  width: 24px;
  background: var(--crimson);
}

.explorer-stage__caption {
  color: #cbd5e1;
  font-size: 0.875rem;
  text-align: center;
  margin: 0;
  padding-inline: 8px;
  min-height: 2.6em;
}

.explorer-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.explorer-tab {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  border-left-width: 4px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.explorer-tab.is-active {
  border-color: var(--crimson);
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.04) 0%, #ffffff 30%);
  box-shadow: 0 12px 26px rgba(225, 29, 72, 0.1);
}

.explorer-tab__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.explorer-tab h3 {
  font-size: 1.08rem;
  margin: 0;
}

.explorer-tab__tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  flex-shrink: 0;
}

.explorer-tab.is-active .explorer-tab__tag {
  background: var(--crimson-soft);
  color: var(--crimson);
}

.explorer-tab p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Why Choose + Split Download Hub (Mobile-First Stack)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.pillar-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pillar-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--text-main);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.pillar-card p:last-child {
  margin-bottom: 0;
}

.download-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  align-items: center;
}

.download-split__left {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.download-app-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-app-row img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.download-app-row h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.download-meta-line {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--emerald);
  margin: 0;
}

.install-checklist {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.install-checklist h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.install-checklist ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.install-checklist li {
  counter-increment: install-step;
  position: relative;
  padding-left: 34px;
  font-size: 0.9375rem;
}

.install-checklist li::before {
  content: counter(install-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--crimson);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Features Bento Grid (Mobile-First 1 Column)
   ========================================================================== */

.features-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card--wide {
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 65%);
  border-color: #fecdd3;
}

.feature-card h3 {
  font-size: 1.08rem;
  margin: 0;
}

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

/* ==========================================================================
   Dark Mode App Interface — Horizontal Snap Carousel on Mobile
   ========================================================================== */

.swipe-hint {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.interface-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.interface-card {
  scroll-snap-align: center;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.interface-card__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.interface-zoom-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(9, 14, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.interface-card__btn:hover .interface-zoom-badge {
  background: var(--crimson);
  transform: scale(1.06);
}

.interface-card__btn img {
  width: 100%;
  height: auto;
  aspect-ratio: 474 / 1024;
  object-fit: cover;
  border-radius: 12px;
}

.interface-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.interface-card p {
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   Supported Sports Coverage + v28 Changelog Split
   ========================================================================== */

.changelog-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

.coverage-card,
.changelog-card {
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.coverage-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.coverage-card h2,
.changelog-card h2 {
  font-size: clamp(1.45rem, 4.8vw, 2.05rem);
  margin-bottom: 8px;
}

.coverage-lead {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sport-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: auto;
}

.sport-tile {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sport-tile h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.sport-tile p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.changelog-card {
  background: linear-gradient(155deg, #090e1a 0%, #162033 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
}

.changelog-card h2 {
  color: #ffffff;
}

.changelog-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.changelog-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.changelog-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.changelog-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.22);
  color: #fda4af;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.changelog-list strong {
  color: #ffffff;
}

.changelog-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Multi-Device Compatibility, Install Steps & Troubleshooting
   ========================================================================== */

.devices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.device-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.device-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.device-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  flex-shrink: 0;
}

.device-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.device-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.guide-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.guide-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.guide-card h3 {
  font-size: 1.18rem;
  margin-bottom: 14px;
}

.guide-card .install-checklist {
  background: transparent;
  border: none;
  padding: 0;
}

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

.trouble-list li {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-body);
}

.trouble-list strong {
  color: var(--text-main);
}

/* ==========================================================================
   Sticky-Split FAQs (Mobile-First Touch Accordions)
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  margin-bottom: 10px;
}

.faq-help-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
}

.faq-help-box p {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.faq-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.faq-item[open] {
  border-color: #fda4af;
  box-shadow: inset 3px 0 0 var(--crimson), var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  min-height: 52px;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--crimson-soft);
  color: var(--crimson);
}

.faq-answer {
  padding: 0 16px 16px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   Bottom Final Download CTA Banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #3f0d22 100%);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 5vw, 2.35rem);
  margin-bottom: 10px;
}

.cta-banner > p {
  color: #cbd5e1;
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 22px;
}

.cta-stat {
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-stat span {
  display: block;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.cta-stat strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #ffffff;
}

.cta-stat--safe strong {
  color: #6ee7b7;
}

.cta-banner .btn {
  width: 100%;
}

.cta-footnote {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #060912;
  color: var(--text-muted-dark);
  padding-top: 48px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-disclaimer h3,
.footer-col h3 {
  color: #ffffff;
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.footer-disclaimer p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-note {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-top: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  align-self: flex-start;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.back-to-top:hover {
  border-color: var(--crimson);
  color: #ffffff;
  background: rgba(225, 29, 72, 0.18);
}

/* ==========================================================================
   Sticky Bottom Mobile Action Bar (Scroll-Triggered, Mobile & Tablet Only)
   ========================================================================== */

.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: rgba(9, 14, 26, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(calc(100% + 16px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-sticky-bar__info {
  min-width: 0;
}

.mobile-sticky-bar__info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-bar__info span {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sticky-bar .btn {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Subpages (Download, About, Contact, Legal)
   ========================================================================== */

.page-hero {
  background: var(--bg-dark);
  color: #ffffff;
  padding-block: 36px 40px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.65rem, 5.5vw, 2.75rem);
  margin-bottom: 8px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 0.98rem;
  max-width: 62ch;
  margin: 0;
}

.updated-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
}

.download-hub {
  max-width: 820px;
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.download-hub__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.download-hub__top img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.download-hub__title {
  margin-bottom: 6px;
}

.official-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-size: 0.78rem;
  font-weight: 700;
}

.download-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.download-meta-box {
  padding: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download-meta-box span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.download-meta-box strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-main);
}

.antivirus-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--emerald-soft);
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.download-help-strip {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.download-help-strip p {
  margin: 0;
  color: var(--text-body);
}

.download-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-verify-box {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
}

.download-verify-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.download-verify-row span {
  color: var(--text-muted);
  font-weight: 600;
}

.download-verify-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-main);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.download-verify-link {
  color: var(--cobalt);
  font-weight: 700;
  text-decoration: none;
}

.download-verify-link:hover {
  text-decoration: underline;
}

.download-hub__actions {
  text-align: center;
}

.download-hub__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.download-hub__actions .btn {
  width: 100%;
}

.server-note {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.step-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--crimson);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 12px;
}

.prose-card {
  max-width: 820px;
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.prose-card h2 {
  font-size: 1.35rem;
  margin-top: 26px;
  margin-bottom: 10px;
  scroll-margin-top: 88px;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card h3 {
  font-size: 1.12rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.prose-card ul,
.prose-card ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose-card li {
  margin-bottom: 6px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.legal-layout .prose-card {
  max-width: none;
  margin: 0;
  width: 100%;
}

.legal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.toc-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.toc-links a:hover,
.toc-links a[aria-current="page"] {
  background: var(--crimson-soft);
  color: var(--crimson);
}

.policy-callout {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--cobalt);
  font-size: 0.94rem;
  color: var(--text-main);
  margin-bottom: 22px;
}

.policy-callout p {
  margin: 0;
}

.policy-related {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.policy-related strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-main);
  margin-right: 4px;
}

.safety-banner {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--emerald-soft);
  border: 1px solid #a7f3d0;
  color: #065f46;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

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

.contact-panel {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
}

.contact-panel h2 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-panel > p {
  color: #cbd5e1;
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.support-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 12px;
}

.support-channel--email {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.support-channel strong {
  display: block;
  font-size: 0.98rem;
}

.support-channel span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.contact-panel .footer-note {
  margin-top: 16px;
}

.contact-panel .footer-note a {
  color: #fda4af;
  font-weight: 600;
}

.contact-panel .footer-note a:hover {
  color: #ffffff;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
  margin-bottom: 18px;
}

.req-star {
  color: var(--crimson);
}

.error-card {
  text-align: center;
}

.error-card h1 {
  font-size: clamp(1.75rem, 6vw, 2.4rem);
  margin-bottom: 12px;
}

.error-card p {
  margin-bottom: 24px;
}

.error-card__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

/* 16px font-size prevents iOS Safari auto-zoom on focus */
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
  background: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-form-card .btn {
  width: 100%;
}

.contact-form-card .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  display: none;
}

.form-feedback.is-success {
  display: block;
  background: var(--emerald-soft);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.is-error {
  display: block;
  background: var(--crimson-soft);
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.form-feedback__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-xs);
  background: #065f46;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.form-feedback__action:hover {
  background: #047857;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 9, 18, 0.9);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__dialog {
  position: relative;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.lightbox__media img {
  max-height: 74dvh;
  width: auto;
  margin-inline: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  margin-top: 10px;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 600;
}

.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: var(--crimson);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 14, 26, 0.85);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.lightbox__nav:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

.lightbox__nav--prev {
  left: -8px;
}

.lightbox__nav--next {
  right: -8px;
}

.lightbox__counter {
  margin-top: 4px;
  margin-bottom: 0;
  color: #94a3b8;
  font-size: 0.78rem;
}

.ad-slot {
  margin: 24px auto 0;
  max-width: 760px;
  text-align: center;
}

.ad-slot__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ad-slot__frame {
  min-height: 100px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 78px;
  z-index: 95;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #090e1a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner p {
  margin: 0;
  color: #e2e8f0;
}

.consent-banner a {
  color: #fda4af;
  font-weight: 600;
}

.consent-banner .btn--outline {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.consent-banner .btn--outline:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Progressive Enhancement Breakpoints (Mobile -> Tablet -> Desktop)
   ========================================================================== */

@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }
  .steps-header {
    margin-top: 60px;
  }
  .header-inner {
    min-height: 68px;
    gap: 12px;
  }
  .brand {
    font-size: 1.15rem;
    gap: 10px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn--primary {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .brand-badge {
    display: inline-block;
  }
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-ctas .btn,
  .cta-banner .btn,
  .download-hub__actions .btn,
  .contact-form-card .btn,
  .changelog-actions .btn {
    width: auto;
  }
  .changelog-actions,
  .download-hub__btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-specs,
  .cta-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-phone-frame {
    max-width: 260px;
  }
  .bento-mini,
  .features-bento,
  .sport-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .explorer-stage__screens {
    min-height: 404px;
    gap: 12px;
  }
  .explorer-screen {
    width: 86px;
  }
  .explorer-screen.is-active {
    width: 200px;
  }
  .interface-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
  }
  .swipe-hint {
    display: none;
  }
  .download-meta-grid,
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .download-meta-box {
    display: block;
    text-align: center;
  }
  .download-meta-box span {
    display: block;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .back-to-top {
    align-self: center;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 68px;
  }
  .header-actions .btn--outline {
    display: inline-flex;
  }
  .prose-card,
  .download-hub,
  .download-split,
  .contact-panel,
  .contact-form-card {
    padding: 36px;
  }
  .cta-banner {
    padding: 44px 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-disclaimer {
    grid-column: span 2;
  }
  .download-split__left {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  body.has-mobile-bar .site-footer {
    padding-bottom: 32px;
  }
  .mobile-sticky-bar {
    display: none;
  }
  .section {
    padding-block: 84px;
  }
  .header-inner {
    min-height: 74px;
  }
  .brand {
    font-size: 1.25rem;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .primary-nav {
    display: block;
  }
  .primary-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 4px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 999px;
  }
  .primary-nav a {
    display: block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-body);
    text-decoration: none;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] {
    background: #ffffff;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
  }
  .menu-toggle {
    display: none;
  }
  .hero {
    padding-block: 72px 84px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
  }
  .hero-phone-frame {
    max-width: 280px;
    padding: 14px;
    border-radius: 32px;
  }
  .float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(17, 24, 39, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }
  .float-chip--top {
    top: 28px;
    left: -12px;
  }
  .float-chip--bottom {
    bottom: 34px;
    right: -10px;
  }
  .float-chip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(225, 29, 72, 0.22);
    color: #fda4af;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
    gap: 40px;
    align-items: center;
  }
  .spec-strip {
    margin-top: 34px;
  }
  .spec-strip__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .spec-strip__item {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 16px 18px;
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }
  .spec-strip__item:last-child {
    border-right: none;
  }
  .spec-strip__item dt {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .spec-strip__item dd {
    text-align: left;
    font-size: 0.98rem;
  }
  .explorer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }
  .explorer-stage {
    order: 0;
    padding: 32px;
  }
  .explorer-stage__screens {
    min-height: 446px;
  }
  .explorer-screen {
    width: 96px;
  }
  .explorer-screen.is-active {
    width: 220px;
  }
  .pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 52px;
  }
  .download-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
  }
  .features-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }
  .feature-card {
    grid-column: span 2;
  }
  .feature-card--wide {
    grid-column: span 3;
  }
  .feature-card:hover,
  .mini-card:hover,
  .interface-card:hover,
  .device-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .sport-tile:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
  }
  .coverage-card,
  .changelog-card,
  .guide-card {
    padding: 30px;
  }
  .changelog-split {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 28px;
  }
  .devices-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .guide-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }
  .interface-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .faq-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 44px;
  }
  .faq-intro,
  .legal-sidebar {
    position: sticky;
    top: 96px;
  }
  .legal-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
    gap: 40px;
  }
  .footer-disclaimer {
    grid-column: auto;
  }
  .ad-slot__frame {
    min-height: 90px;
  }
  .consent-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 540px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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