/**
 * Flashvue Marketing — site styles.
 * Same layout as FCOS; teal hero sibling of FCOS cyan.
 */

:root {
  --fcos-hero: #12c4bc;
  --fcos-ink: #0f2744;
  --fcos-primary: #1e3a5f;
  --fcos-accent: #0e7c78;
  --fcos-surface: #f4f7fb;
  --fcos-surface-2: #e8eef6;
  --fcos-muted: #5a6f86;
  --fcos-white: #ffffff;
  --fcos-line: rgba(15, 39, 68, 0.12);
  --fcos-radius: 1.25rem;
  --fcos-shell: min(1120px, calc(100% - 2.5rem));
  --fcos-font-display: "Syne", "Segoe UI", sans-serif;
  --fcos-font-body: "Figtree", "Segoe UI", sans-serif;
  --fcos-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--fcos-ink);
  font-family: var(--fcos-font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(18, 196, 188, 0.10), transparent 60%),
    var(--fcos-white);
}

.fcos-main {
  flex: 1 0 auto;
  width: 100%;
}

/* Club member-login / club public footer — never on marketing (plugin should also skip). */
.fcos-public-portal-login-bar,
.fcos-public-portal-login-item,
[data-fcos-portal-login],
.fcos-public-footer {
  display: none !important;
}

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

.fcos-brand__logo,
.fcos-hero__logo,
.fcos-site-footer__logo {
  max-width: none;
}

a {
  color: var(--fcos-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
  font-family: var(--fcos-font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

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

.fcos-skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--fcos-white);
  border-radius: 999px;
}

.fcos-skip:focus {
  top: 1rem;
}

.fcos-shell {
  width: var(--fcos-shell);
  margin-inline: auto;
}

/* Header — transparent over hero; blue-tint glass on scroll */
.fcos-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s var(--fcos-ease),
    border-color 0.3s var(--fcos-ease),
    box-shadow 0.3s var(--fcos-ease),
    backdrop-filter 0.3s var(--fcos-ease);
}

.fcos-site-header.is-scrolled,
.fcos-site-header.is-nav-open {
  background: color-mix(in srgb, var(--fcos-hero) 28%, white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: color-mix(in srgb, var(--fcos-accent) 18%, transparent);
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.08);
}

.fcos-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.fcos-brand {
  display: inline-flex;
  align-items: center;
  color: var(--fcos-ink);
  text-decoration: none;
  line-height: 0;
}

.fcos-brand__logo {
  width: auto;
  height: 2.75rem;
  max-height: 2.75rem;
  object-fit: contain;
}

.fcos-nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  line-height: 0;
  align-items: center;
  justify-content: center;
}

.fcos-site-header.is-scrolled .fcos-nav-toggle,
.fcos-site-header.is-nav-open .fcos-nav-toggle {
  border-color: var(--fcos-line);
  background: var(--fcos-white);
}

.fcos-nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 1.15rem;
}

.fcos-nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--fcos-ink);
}

.fcos-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fcos-nav__list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fcos-nav__list a {
  color: var(--fcos-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.fcos-nav__list a:hover,
.fcos-nav__list a:focus-visible {
  color: var(--fcos-accent);
}

/* Buttons */
.fcos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--fcos-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--fcos-ease), background 0.2s var(--fcos-ease), color 0.2s var(--fcos-ease), border-color 0.2s var(--fcos-ease);
}

.fcos-btn:hover,
.fcos-btn:focus-visible {
  transform: translateY(-1px);
}

.fcos-btn--primary {
  background: var(--fcos-primary);
  color: var(--fcos-white);
}

.fcos-btn--dark {
  background: var(--fcos-ink);
  color: var(--fcos-white);
}

.fcos-btn--ghost {
  background: rgba(255, 255, 255, 0.22);
  color: var(--fcos-ink);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.fcos-btn--ghost-dark {
  background: transparent;
  color: var(--fcos-ink);
  border-color: var(--fcos-line);
}

.fcos-btn--soft {
  background: color-mix(in srgb, var(--fcos-hero) 22%, white);
  color: var(--fcos-primary);
  border-color: color-mix(in srgb, var(--fcos-hero) 35%, white);
}

.fcos-btn--soft:hover,
.fcos-btn--soft:focus-visible {
  background: color-mix(in srgb, var(--fcos-hero) 32%, white);
}

.fcos-btn--text {
  background: transparent;
  color: var(--fcos-accent);
  min-height: auto;
  padding: 0.35rem 0;
  border-radius: 0;
}

.fcos-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.fcos-hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: center;
  overflow: clip;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(165deg, #33c4ff 0%, var(--fcos-hero) 42%, #0099e0 100%);
  color: var(--fcos-ink);
}

.fcos-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fcos-hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.6s var(--fcos-ease);
}

.fcos-hero__particles.is-ready {
  opacity: 1;
}

.fcos-hero__particles canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.fcos-hero__glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 71, 184, 0.28), transparent 65%);
  filter: blur(8px);
}

.fcos-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(5.5rem, 12vh, 7rem) 0 clamp(3rem, 6vh, 4.5rem);
}

.fcos-hero__brand {
  margin: 0 0 1rem;
  line-height: 0;
  animation: fcos-rise 0.8s var(--fcos-ease) both;
}

.fcos-hero__logo {
  display: block;
  width: min(220px, 52vw);
  height: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(15, 39, 68, 0.18));
}

.fcos-hero__title {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  max-width: 18ch;
  animation: fcos-rise 0.8s var(--fcos-ease) 0.08s both;
}

.fcos-hero__lede {
  max-width: 42ch;
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--fcos-ink) 88%, transparent);
  animation: fcos-rise 0.8s var(--fcos-ease) 0.14s both;
}

.fcos-hero__lede + .fcos-hero__lede {
  margin-top: 0.75rem;
}

.fcos-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: fcos-rise 0.8s var(--fcos-ease) 0.2s both;
}

.fcos-hero__proof {
  margin: 0;
  animation: fcos-rise 0.9s var(--fcos-ease) 0.18s both;
}

.fcos-device {
  border-radius: calc(var(--fcos-radius) + 0.25rem);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.fcos-device__chrome {
  display: flex;
  gap: 0.35rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.fcos-device__chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(15, 39, 68, 0.22);
}

.fcos-device__screen {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

@keyframes fcos-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Media placeholders */
.fcos-media-placeholder {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(30, 58, 95, 0.08), rgba(0, 179, 255, 0.12)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(15, 39, 68, 0.03) 10px,
      rgba(15, 39, 68, 0.03) 20px
    );
  color: var(--fcos-muted);
  border: 1px dashed color-mix(in srgb, var(--fcos-accent) 35%, transparent);
  min-height: 180px;
}

.fcos-media-placeholder--compact {
  min-height: 120px;
  border-radius: 0.85rem;
  margin-bottom: 0.85rem;
}

.fcos-media-placeholder__label {
  font-family: var(--fcos-font-display);
  font-weight: 700;
  color: var(--fcos-primary);
  font-size: 0.95rem;
}

.fcos-media-placeholder__hint {
  font-size: 0.85rem;
}

/* Sections */
.fcos-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.fcos-section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.fcos-section__head p,
.fcos-section__narrow > p {
  color: var(--fcos-muted);
  font-size: 1.1rem;
}

.fcos-section__narrow {
  max-width: 40rem;
}

.fcos-section__foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.fcos-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fcos-accent);
}

.fcos-promise {
  background: var(--fcos-white);
}

.fcos-promise .fcos-section__narrow {
  margin-inline: auto;
  text-align: center;
}

.fcos-promise h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 28ch;
  margin-inline: auto;
}

.fcos-promise__close {
  font-weight: 700;
  max-width: 40ch;
  margin-inline: auto;
}

.fcos-clusters {
  background: var(--fcos-surface);
}

.fcos-clusters__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.fcos-clusters__head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  max-width: 16ch;
}

.fcos-clusters__head p {
  margin: 0;
  color: var(--fcos-muted);
  font-size: 1.05rem;
  max-width: 32ch;
  justify-self: end;
  text-align: right;
}

.fcos-cluster-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 0.35rem 0 1.75rem;
}

.fcos-cluster-feature__copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.fcos-cluster-feature__copy p {
  color: var(--fcos-muted);
  max-width: 36ch;
}

.fcos-cluster-feature__copy .fcos-btn {
  margin-top: 0.5rem;
}

.fcos-cluster-feature__media {
  margin: 0;
}

.fcos-media-placeholder--feature {
  min-height: clamp(220px, 32vw, 340px);
  border-radius: var(--fcos-radius);
  border-style: solid;
  border-color: color-mix(in srgb, var(--fcos-accent) 18%, transparent);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(0, 179, 255, 0.12)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(15, 39, 68, 0.03) 12px,
      rgba(15, 39, 68, 0.03) 24px
    );
}

.fcos-cluster-accordion {
  border-top: 1px solid var(--fcos-line);
}

.fcos-cluster-acc {
  border-bottom: 1px dashed color-mix(in srgb, var(--fcos-ink) 16%, transparent);
}

.fcos-cluster-acc.is-open {
  border-bottom-style: solid;
  border-bottom-color: var(--fcos-line);
}

.fcos-cluster-acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--fcos-ink);
  font-family: var(--fcos-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.fcos-cluster-acc.is-open .fcos-cluster-acc__trigger {
  color: var(--fcos-accent);
}

.fcos-cluster-acc__trigger:hover .fcos-cluster-acc__title,
.fcos-cluster-acc__trigger:focus-visible .fcos-cluster-acc__title {
  color: var(--fcos-accent);
}

.fcos-cluster-acc__icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--fcos-hero) 22%, white);
  position: relative;
}

.fcos-cluster-acc__icon::before,
.fcos-cluster-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--fcos-primary);
  transition: transform 0.25s var(--fcos-ease), opacity 0.25s var(--fcos-ease);
}

.fcos-cluster-acc__icon::before {
  width: 0.75rem;
  height: 2px;
  transform: translate(-50%, -50%);
}

.fcos-cluster-acc__icon::after {
  width: 2px;
  height: 0.75rem;
  transform: translate(-50%, -50%);
}

.fcos-cluster-acc.is-open .fcos-cluster-acc__icon {
  display: none;
}

.fcos-cluster-acc__panel[hidden] {
  display: none;
}

.fcos-saves__grid,
.fcos-module-cluster__intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.fcos-module-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
}

.fcos-module-jump a {
  font-weight: 600;
  color: var(--fcos-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.fcos-module-jump a:hover,
.fcos-module-jump a:focus-visible {
  border-bottom-color: currentColor;
}

.fcos-module-cluster__intro {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.fcos-module-cluster__intro-copy h2 {
  margin: 0 0 0.75rem;
}

.fcos-module-cluster__intro-copy > p {
  margin: 0;
  color: var(--fcos-muted);
  font-size: 1.1rem;
  max-width: 38rem;
}

.fcos-module-cluster__intro-copy .fcos-btn {
  margin-top: 1rem;
}

.fcos-module-list {
  display: grid;
  gap: 1.75rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .fcos-module-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }
}

.fcos-module-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--fcos-font-display);
  font-size: 1.2rem;
  color: var(--fcos-ink);
}

.fcos-module-item__blurb {
  margin: 0 0 0.35rem;
  color: var(--fcos-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.fcos-module-item .fcos-checklist {
  margin-top: 0.5rem;
}

.fcos-checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.fcos-checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
}

.fcos-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--fcos-hero), var(--fcos-accent));
}

.fcos-zero {
  background: var(--fcos-white);
}

.fcos-zero__panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.fcos-zero__hit {
  font-family: var(--fcos-font-display);
  font-weight: 800;
  color: var(--fcos-primary);
  letter-spacing: -0.02em;
}

.fcos-zero__card {
  padding: 1.5rem;
  border-radius: var(--fcos-radius);
  background: var(--fcos-white);
  border: 1px solid var(--fcos-line);
}

.fcos-zero__card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.fcos-zero__price {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--fcos-muted);
}

.fcos-zero__price .fcos-zero__hit {
  display: inline;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--fcos-primary);
  vertical-align: -0.05em;
}

.fcos-zero__note {
  font-size: 0.9rem;
  color: var(--fcos-muted);
}

.fcos-zero__card .fcos-zero__note {
  margin: 0.85rem 0 0;
}

.fcos-zero__price-suffix {
  margin-left: 0.35rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fcos-muted);
}

.fcos-zero .fcos-section__head {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.fcos-zero .fcos-section__head .fcos-hero__actions {
  margin-top: 1.15rem;
  justify-content: center;
}

.fcos-zero .fcos-facts {
  margin-top: 0;
}

.fcos-zero .fcos-facts__item {
  background: var(--fcos-surface);
}

.fcos-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fcos-hero) 22%, white);
  color: var(--fcos-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.fcos-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 52rem;
  margin-inline: auto;
}

.fcos-tier {
  padding: 1.35rem;
  border-radius: var(--fcos-radius);
  background: var(--fcos-white);
  border: 1px solid var(--fcos-line);
}

.fcos-tier--featured {
  border-color: color-mix(in srgb, var(--fcos-hero) 55%, var(--fcos-line));
  box-shadow: 0 12px 32px rgba(0, 179, 255, 0.12);
}

.fcos-tier__price {
  margin: 0.25rem 0 0.75rem;
}

.fcos-tier__price strong {
  font-family: var(--fcos-font-display);
  font-size: 2rem;
}

.fcos-tier__price span,
.fcos-tier__hook {
  color: var(--fcos-muted);
}

.fcos-tier .fcos-btn {
  margin-top: 1rem;
}

.fcos-pricing-teaser {
  background: var(--fcos-white);
}

.fcos-onboarding {
  background:
    linear-gradient(180deg, var(--fcos-surface) 0%, var(--fcos-surface-2) 100%);
}

.fcos-onboarding__head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.fcos-onboarding__steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .fcos-onboarding__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    align-items: start;
  }

  .fcos-onboarding__steps--story {
    grid-template-columns: 1fr;
  }
}

.fcos-onboarding__steps--story {
  max-width: 40rem;
  margin-inline: auto;
}

.fcos-path-arrow {
  display: flex;
  justify-content: center;
  width: 2.25rem;
  margin: 0.15rem 0;
  font-family: var(--fcos-font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--fcos-accent);
}

.fcos-path-story {
  margin: 2.25rem 0 0;
  text-align: center;
  font-family: var(--fcos-font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: -0.02em;
  color: var(--fcos-accent);
}

.fcos-onboarding__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  align-items: start;
}

.fcos-onboarding__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-family: var(--fcos-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fcos-white);
  background: var(--fcos-accent);
  line-height: 1;
}

.fcos-onboarding__copy h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--fcos-font-display);
  font-size: 1.15rem;
  color: var(--fcos-ink);
}

.fcos-onboarding__copy p {
  margin: 0;
  color: var(--fcos-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.fcos-final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 7rem) 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(0, 179, 255, 0.28), transparent 58%),
    linear-gradient(180deg, var(--fcos-surface-2), #eaf6ff 55%, var(--fcos-surface));
}

.fcos-final-cta__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.fcos-final-cta__burst {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s var(--fcos-ease);
}

.fcos-final-cta__burst.is-ready {
  opacity: 1;
}

/* Static burst fallback (reduced-motion / JS off); hidden when the canvas runs.
   Match canvas: origin at bottom, topGap ≈ clamp(36px, 12%, 56px). */
.fcos-final-cta__burst-still {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  display: block;
  width: auto;
  max-width: none;
  height: calc(100% - clamp(36px, 12%, 56px));
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.9;
  pointer-events: none;
}

.fcos-final-cta.is-burst-live .fcos-final-cta__burst-still {
  display: none;
}

.fcos-final-cta__glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(720px, 100%);
  height: 65%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center bottom, rgba(0, 71, 184, 0.24), transparent 70%);
  filter: blur(6px);
}

.fcos-final-cta__inner {
  position: relative;
  z-index: 1;
  isolation: isolate;
  text-align: center;
  max-width: min(44rem, 100%);
  margin-inline: auto;
  padding: 1.15rem 1.35rem 1.35rem;
}

.fcos-final-cta__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -0.35rem -1.25rem -0.6rem;
  pointer-events: none;
  background: radial-gradient(
    ellipse 78% 70% at 50% 42%,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.45) 42%,
    rgba(255, 255, 255, 0.12) 68%,
    transparent 82%
  );
}

.fcos-final-cta__inner h2 {
  margin-bottom: 0.65rem;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 12px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, 0.95),
    0 0 48px rgba(255, 255, 255, 0.7);
}

.fcos-final-cta__inner > p {
  color: var(--fcos-ink);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 10px rgba(255, 255, 255, 1),
    0 0 24px rgba(255, 255, 255, 0.95),
    0 0 40px rgba(255, 255, 255, 0.75);
}

@media (min-width: 961px) {
  .fcos-final-cta__inner > p {
    white-space: nowrap;
  }
}

.fcos-final-cta__inner .fcos-hero__actions {
  justify-content: center;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fcos-final-cta__burst {
    display: none;
  }
}

/* Inner pages */
.fcos-page-hero {
  padding: calc(4.25rem + 2.5rem) 0 2rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--fcos-hero) 16%, white), var(--fcos-white));
}

.fcos-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.fcos-page-hero p {
  max-width: 40rem;
  color: var(--fcos-muted);
  font-size: 1.1rem;
}

.fcos-page-hero p.fcos-page-hero__lede {
  color: var(--fcos-ink);
  font-family: var(--fcos-font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.3;
  max-width: 28rem;
  margin-bottom: 0.85rem;
}

.fcos-org-setup {
  max-width: 42rem;
  margin: 2rem 0 0;
}

.fcos-org-setup h3 {
  margin-bottom: 0.5rem;
}

.fcos-page {
  padding: calc(4.25rem + 2rem) 0 4rem;
}

.fcos-prose {
  max-width: 42rem;
}

.fcos-prose.fcos-legal {
  max-width: 46rem;
}

.fcos-legal__notice {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--fcos-accent);
  background: var(--fcos-surface);
  color: var(--fcos-muted);
  font-size: 0.95rem;
}

.fcos-legal__updated {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--fcos-line);
  color: var(--fcos-muted);
  font-size: 0.9rem;
}

.fcos-faq {
  margin: 0 0 2rem;
}

.fcos-faq__item {
  margin: 0;
  border-bottom: 1px solid var(--fcos-line);
}

.fcos-faq__item:first-child {
  border-top: 1px solid var(--fcos-line);
}

.fcos-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 0;
  font-family: var(--fcos-display, inherit);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--fcos-ink);
  position: relative;
}

.fcos-faq__q::-webkit-details-marker {
  display: none;
}

.fcos-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1rem;
  font-weight: 600;
  color: var(--fcos-accent);
  line-height: 1;
}

.fcos-faq__item[open] .fcos-faq__q::after {
  content: "–";
}

.fcos-faq__a {
  margin: 0 0 1.15rem;
  padding: 0;
  color: var(--fcos-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 40rem;
}

.fcos-faq__a + .fcos-faq__a {
  margin-top: -0.55rem;
}

.fcos-faq__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
}

.fcos-faq__sep {
  color: var(--fcos-muted);
  opacity: 0.7;
}

.fcos-page-follow {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--fcos-muted);
}

.fcos-legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 2rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--fcos-line);
}

.fcos-legal__toc a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fcos-accent);
  text-decoration: none;
}

.fcos-legal__toc a:hover,
.fcos-legal__toc a:focus-visible {
  text-decoration: underline;
}

.fcos-legal h2 {
  margin-top: 2rem;
  scroll-margin-top: 5rem;
}

.fcos-legal h3 {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.fcos-legal ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
}

.fcos-legal li {
  margin: 0.35rem 0;
}

.fcos-form-legal {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--fcos-muted);
  line-height: 1.45;
}

.fcos-form-legal a {
  color: var(--fcos-accent);
  font-weight: 600;
}

.fcos-module-cluster:nth-child(even) {
  background: var(--fcos-surface);
}

.fcos-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

/* Contact us: form right / pointer left on desktop; form then pointer on mobile (DOM order). */
.fcos-contact--us .fcos-contact__form-wrap {
  grid-column: 2;
  grid-row: 1;
}

.fcos-contact--us .fcos-contact__copy {
  grid-column: 1;
  grid-row: 1;
}

.fcos-contact__start {
  margin: 0;
  line-height: 1.45;
}

.fcos-steps {
  margin: 0;
  padding-left: 1.2rem;
}

.fcos-steps li {
  margin-bottom: 0.65rem;
}

.fcos-contact-form {
  display: grid;
  gap: 0.85rem;
}

.fcos-contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.fcos-contact-form input,
.fcos-contact-form textarea,
.fcos-contact-form select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--fcos-line);
  border-radius: 0.75rem;
  font: inherit;
  background: var(--fcos-white);
}

.fcos-contact-form select {
  appearance: auto;
}

.fcos-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fcos-form-flash {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.fcos-form-flash--ok {
  background: color-mix(in srgb, #0a7a3e 12%, white);
  color: #0a5c30;
}

.fcos-form-flash--err {
  background: color-mix(in srgb, #b42318 12%, white);
  color: #8a1a12;
}

.fcos-contact-form__note {
  font-size: 0.88rem;
  color: var(--fcos-muted);
  font-weight: 500;
}

/* Footer */
.fcos-site-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--fcos-line);
  padding: 2.5rem 0 1.5rem;
  background: var(--fcos-ink);
  color: rgba(255, 255, 255, 0.82);
}

.fcos-site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.fcos-site-footer a:hover,
.fcos-site-footer a:focus-visible {
  color: var(--fcos-hero);
}

.fcos-site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.fcos-site-footer__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.15rem;
  text-align: left;
}

.fcos-site-footer__logo {
  width: auto;
  max-width: none;
  height: 4.75rem;
  margin: 0;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: 0.55;
}

.fcos-site-footer__tagline {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 500;
}

.fcos-site-footer__tagline-line {
  display: block;
}

.fcos-site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  justify-content: flex-end;
}

.fcos-site-footer__meta {
  margin: 2rem 0 0;
  padding: 0 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 960px) {
  .fcos-clusters__head,
  .fcos-cluster-feature,
  .fcos-saves__grid,
  .fcos-module-cluster__intro,
  .fcos-zero__panel,
  .fcos-contact {
    grid-template-columns: 1fr;
  }

  .fcos-contact--us .fcos-contact__form-wrap,
  .fcos-contact--us .fcos-contact__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .fcos-page-hero--compact {
    padding-bottom: 0.75rem;
  }

  .fcos-section--contact-us {
    padding-top: 1.25rem;
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
  }

  .fcos-contact--us {
    gap: 1.5rem;
  }

  .fcos-contact__start {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--fcos-line);
  }

  .fcos-site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
  }

  .fcos-site-footer__nav {
    order: -1;
    justify-content: center;
    width: 100%;
  }

  .fcos-site-footer__brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .fcos-site-footer__tagline {
    align-items: center;
  }

  .fcos-clusters__head p {
    justify-self: start;
    text-align: left;
    max-width: 40ch;
  }

  /* Mobile hero: logo centred → copy → UI proof → CTAs (desktop layout untouched above). */
  .fcos-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.15rem;
  }

  .fcos-hero__copy {
    display: contents;
  }

  .fcos-hero__brand {
    order: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .fcos-hero__logo {
    width: min(200px, 62vw);
    max-width: 200px;
    margin-inline: auto;
  }

  .fcos-hero__title {
    order: 2;
    max-width: none;
    margin-inline: auto;
  }

  .fcos-hero__lede {
    order: 3;
    max-width: 36ch;
    margin-inline: auto;
    margin-bottom: 0;
  }

  .fcos-hero__proof {
    order: 4;
    width: 100%;
  }

  .fcos-hero__actions {
    order: 5;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .fcos-tier-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fcos-hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .fcos-nav-toggle {
    display: inline-flex;
  }

  .fcos-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    background: color-mix(in srgb, var(--fcos-hero) 22%, white);
    border-bottom: 1px solid color-mix(in srgb, var(--fcos-accent) 18%, transparent);
    box-shadow: 0 12px 28px rgba(15, 39, 68, 0.1);
  }

  .fcos-nav.is-open {
    display: flex;
  }

  .fcos-nav__list {
    flex-direction: column;
    gap: 0.65rem;
  }

  .fcos-nav__cta {
    width: 100%;
  }

  .fcos-tier-grid {
    grid-template-columns: 1fr;
  }

  .fcos-site-footer__logo {
    height: 4.25rem;
  }

  .fcos-site-footer__tagline {
    font-size: 0.92rem;
  }
}

.fcos-brand__word {
  display: block;
  height: 2.85rem;
  width: auto;
  overflow: visible;
  color: inherit;
}

img.fcos-brand__word,
svg.fcos-brand__word {
  height: 2.85rem;
  width: auto;
  max-width: none;
}

.fcos-brand__word text {
  font-family: var(--fcos-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fcos-hero__word {
  margin-bottom: 0;
}

.fcos-facts {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 720px) {
  .fcos-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fcos-facts__item {
  padding: 1.15rem 1.25rem;
  background: var(--fcos-surface);
  border-radius: var(--fcos-radius);
  border: 1px solid var(--fcos-line);
}

.fcos-facts__item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.fcos-games-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .fcos-games-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fcos-games {
  background: var(--fcos-white);
}

.fcos-sponsors {
  background: var(--fcos-surface);
}

.fcos-sponsors .fcos-section__head {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.fcos-sponsors__split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .fcos-sponsors__split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}

.fcos-sponsors__points {
  display: grid;
  gap: 1.1rem;
}

.fcos-sponsors__points > h3 {
  margin: 0 0 0.15rem;
  font-size: 1.2rem;
}

.fcos-sponsors__points article {
  padding: 1rem 1.1rem;
  background: var(--fcos-white);
  border-radius: var(--fcos-radius);
  border: 1px solid var(--fcos-line);
}

.fcos-sponsors__points h4 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.fcos-sponsors__points p {
  margin: 0;
  color: var(--fcos-muted);
}

.fcos-sponsors .fcos-media-placeholder--clip {
  width: 100%;
  min-height: 240px;
}

.fcos-sponsors__close {
  font-weight: 700;
  text-align: center;
  max-width: 38ch;
  margin: 2rem auto 0;
}

.fcos-games .fcos-section__head {
  margin-inline: auto;
  text-align: center;
}

.fcos-games > .fcos-shell > p {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.fcos-games-grid article {
  padding: 1.35rem 1.4rem;
  background: var(--fcos-surface);
  border-radius: var(--fcos-radius);
  border: 1px solid var(--fcos-line);
  overflow: hidden;
}

.fcos-games-grid article h3 {
  margin-bottom: 0.75rem;
}

.fcos-media-placeholder--clip {
  aspect-ratio: 16 / 10;
  min-height: 0;
  margin: 0 0 1rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--fcos-accent) 7%, var(--fcos-white));
}

.fcos-how-games .fcos-section__head {
  margin-inline: auto;
  text-align: center;
}

.fcos-media-placeholder--play {
  aspect-ratio: 4 / 3;
  min-height: 200px;
  margin: 0 0 1rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--fcos-accent) 8%, var(--fcos-white));
}

.fcos-how-games .fcos-game-still {
  display: block;
  margin: 0 0 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  background: var(--fcos-ink);
}

.fcos-how-games .fcos-game-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fcos-how-games a.fcos-game-still:hover img,
.fcos-how-games a.fcos-game-still:focus-visible img {
  opacity: 0.92;
}

.fcos-how-games a.fcos-game-still:focus-visible {
  outline: 2px solid var(--fcos-accent);
  outline-offset: 3px;
}

.fcos-games-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  margin: 1.35rem 0 0.85rem;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fcos-accent);
  text-align: center;
}

.fcos-games-tags li:not(:last-child)::after {
  content: "·";
  margin: 0 0.85rem;
  font-weight: 700;
  color: var(--fcos-accent);
}

/* LOCKED sizes. Header / hero / footer are separate. Do not share classes. */
.fcos-site-header img.fcos-brand__logo {
  width: auto;
  height: 2.75rem;
  max-height: 2.75rem;
  max-width: none;
}

.fcos-hero img.fcos-hero__logo {
  width: 220px;
  max-width: 220px;
  height: auto;
  max-height: none;
}

@media (max-width: 960px) {
  .fcos-hero img.fcos-hero__logo {
    width: min(200px, 62vw);
    max-width: 200px;
  }
}

.fcos-site-footer img.fcos-site-footer__logo {
  width: auto;
  max-width: none;
  height: 4.75rem;
  flex: 0 0 auto;
  opacity: 0.55;
}

@media (max-width: 720px) {
  .fcos-site-footer img.fcos-site-footer__logo {
    height: 4.25rem;
  }
}

/* Play — no marketing chrome; partner brand lives in the game. */
body.fv-play {
  background: var(--fcos-white);
}

.fv-play-stage {
  width: 100%;
  padding: 0.75rem 1.25rem 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fv-play-stage {
    padding: 0.75rem 1.25rem 0;
  }

  body.fv-play .spotty-how-to-play,
  body.fv-play .spotty-terms-block,
  body.fv-play .spotty-required-note,
  body.fv-play .spotty-input-group,
  body.fv-play .spotty-coordinates-box {
    width: calc(100% - 1.5rem);
    max-width: calc(100% - 1.5rem);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }

  body.fv-play .spotty-prize-stack,
  body.fv-play .spotty-prize-stack--has-image,
  body.fv-play .spotty-prize-image,
  body.fv-play .spotty-prize-image-frame {
    max-width: 100%;
    box-sizing: border-box;
  }

  body.fv-play .spotty-prize-img,
  body.fv-play .spotty-prize-image img {
    max-width: 100% !important;
  }

  body.fv-play #player_name,
  body.fv-play #player_email {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 769px) {
  .fv-play-stage {
    padding: 1rem 2.5rem 0;
  }

  body.fv-play .spotty-entry-form .spotty-competition-image-container {
    display: block;
    width: calc(100% - 3rem);
    max-width: calc(100% - 3rem);
    margin: 1.25rem auto;
  }
}

.fv-play-stage > *:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  body.fv-play .spotty-entry-form .spotty-competition-image-container {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Spotty play — wide photo column; Flip-style entry fields stay narrower. */
body.fv-play .spotty-competition-container {
  font-family: var(--fcos-font-body);
  max-width: 1320px;
  width: min(1320px, calc(100% - 1rem));
  box-sizing: border-box;
}

body.fv-play .spotty-prize-image {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  background-color: #F6FAFE !important;
  padding: 8px !important;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.fv-play .spotty-prize-image-frame {
  display: block;
  padding: 12px !important;
  border: 2px solid #ddd !important;
  border-radius: 4px;
  background-color: #F6FAFE !important;
}

body.fv-play .spotty-prize-img,
body.fv-play .spotty-prize-image img {
  width: auto !important;
  max-width: min(560px, 100%) !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.fv-play .spotty-terms-block {
  background: #e8e8e8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

body.fv-play .spotty-checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 3px;
}

body.fv-play a.spotty-terms-link {
  color: #2e9fa4;
  text-decoration: none;
}

body.fv-play a.spotty-terms-link:hover,
body.fv-play a.spotty-terms-link:focus {
  color: #2e9fa4;
  text-decoration: none;
}

body.fv-play .spotty-required-note {
  max-width: 500px;
  margin: 2px auto 12px;
  text-align: left;
}

body.fv-play .spotty-input-group {
  max-width: 500px;
  margin: 0 auto 0.75rem;
}

body.fv-play .spotty-field-label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  color: var(--fcos-ink);
}

body.fv-play #player_name,
body.fv-play #player_email {
  display: block;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 14px 16px;
  min-height: 48px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: var(--fcos-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

body.fv-play #player_name:focus,
body.fv-play #player_email:focus {
  border-color: #1e3a5f;
  outline: none;
}

.fv-play-footer {
  margin: 0;
  padding: 1.5rem 1.25rem 1.75rem;
}

.fv-play-footer__copy {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--fcos-muted);
}

body.fv-pd {
  background: #2e9fa4;
}

.fv-pd-stage {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 1.25rem 1rem 0;
  box-sizing: border-box;
}

body.fv-pd .fcos-main {
  width: 100%;
  max-width: none;
  min-width: 100%;
  align-self: stretch;
}

body.fv-pd .is-layout-constrained,
body.fv-pd .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.fv-pd .wp-block-group,
body.fv-pd .wp-block-shortcode {
  max-width: none !important;
  width: 100% !important;
}

/* Admin hub: compact search card, not full-bleed. */
body.fv-pd .gp-pd-admin-selector {
  max-width: 36rem !important;
  width: auto !important;
  margin: 1.5em auto !important;
}

/* Desktop: menu left, pages right — never a stacked strip. */
@media (min-width: 783px) {
  body.fv-pd .gp-pd-body {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  body.fv-pd .gp-pd-sidebar {
    flex: 0 0 220px !important;
    width: 220px !important;
    max-width: 220px !important;
  }

  body.fv-pd .gp-pd-main {
    flex: 1 1 0% !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

body.fv-pd .gp-pd-nav-ico svg {
  width: 18px !important;
  height: 18px !important;
  max-width: none !important;
  display: block;
}

body.fv-pd .fv-play-footer__copy {
  color: rgba(255, 255, 255, 0.9);
}

/* Donate — two columns, white page, no teal wash. */
body.fv-donate {
  background: var(--fcos-white);
}

.fv-donate-stage {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
  box-sizing: border-box;
}

.fv-donate-intro {
  text-align: center;
  margin: 0 0 1.75rem;
}

.fv-donate-intro .flashvue-donation-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 0.75rem;
}

.fv-donate-title {
  margin: 0 0 1rem;
  font-family: var(--fcos-font-body);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  color: #7eafc4;
}

.fv-donate-intro .flashvue-leaderboard,
.fv-donate-intro .flashvue-leaderboard-debug {
  margin-left: auto;
  margin-right: auto;
}

.fv-donate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.fv-donate-col {
  display: flex;
  flex-direction: column;
  background: #eef3f7;
  border: 1px solid var(--fcos-line);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem 1.5rem;
  box-sizing: border-box;
}

.fv-donate-col--story > *:first-child,
.fv-donate-col--give > *:first-child {
  margin-top: 0;
}

.fv-donate-col .flashvue-donation-image img {
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.fv-donate-intro .flashvue-donation-logo img,
.fv-donate-col--give .flashvue-donation-logo img {
  max-height: 4.5rem;
  width: auto;
  height: auto;
}

.fv-donate-intro .flashvue-donation-partner-name,
.fv-donate-col--give .flashvue-donation-partner-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fcos-ink);
}

.fv-donate-col--give .flashvue-donation-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
}

.fv-donate-col--give .flashvue-donation-form {
  flex: 1 1 auto;
}

body.fv-donate .flashvue-donation-field:not(.flashvue-donation-amount-field):not(.flashvue-donation-terms-field) {
  margin: 0 0 0.85rem;
}

body.fv-donate .flashvue-donation-field:not(.flashvue-donation-amount-field):not(.flashvue-donation-terms-field) > label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fcos-ink);
}

body.fv-donate .flashvue-donation-field input[type="text"],
body.fv-donate .flashvue-donation-field input[type="email"],
body.fv-donate .flashvue-donation-field input[type="tel"],
body.fv-donate .flashvue-donation-field input[type="number"]:not(.flashvue-donation-amount-other-input) {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.55em 0.7em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: var(--fcos-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

body.fv-donate .flashvue-donation-field input[type="text"]:focus,
body.fv-donate .flashvue-donation-field input[type="email"]:focus,
body.fv-donate .flashvue-donation-field input[type="tel"]:focus,
body.fv-donate .flashvue-donation-field input[type="number"]:not(.flashvue-donation-amount-other-input):focus {
  border-color: #1e3a5f;
  outline: none;
}

.fv-donate-legal {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--fcos-muted);
}

.fv-donate-legal p {
  margin: 0 0 0.3rem;
}

.fv-donate-legal p:empty {
  display: none;
}

.fv-donate-direct {
  margin: auto 0 0;
  padding-top: 1.15rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fcos-ink);
}

@media (max-width: 800px) {
  .fv-donate-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

body.fv-app:not(.fv-pd):not(.fv-donate):not(.fv-judging):not(.fv-showcase) {
  background: var(--fcos-white);
}

.fv-app-doc {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  box-sizing: border-box;
}

.fv-app-doc.fcos-legal {
  width: min(46rem, calc(100% - 2rem));
}

.fv-app-doc h1 {
  margin: 0 0 1rem;
}

.fv-app-doc .fcos-contact-form {
  margin-top: 1.25rem;
}

.fv-app-doc .fcos-btn {
  justify-self: start;
}

/* Judging — work screen: teal page, card list, wide photo. */
body.fv-judging {
  background: #2e9fa4;
}

body.fv-judging .fv-play-footer__copy {
  color: rgba(255, 255, 255, 0.9);
}

.fv-judging-stage {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
  box-sizing: border-box;
}

body.fv-judging .spotty-judging-logout {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1rem;
}

body.fv-judging .spotty-judging-logout .gp-login-logout-link {
  background: #fff;
  border: 1px solid #fff;
  color: #1F3A5F;
}

body.fv-judging .spotty-judging-logout .gp-login-logout-link:hover,
body.fv-judging .spotty-judging-logout .gp-login-logout-link:focus {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

body.fv-judging .spotty-judging-list {
  padding-top: 0.25rem;
}

body.fv-judging .spotty-judging-list .spotty-judging-title {
  padding-bottom: 0.35rem;
  margin: 0;
  color: #fff;
}

body.fv-judging .spotty-judging-list .spotty-judging-intro,
body.fv-judging .spotty-judging-list > p {
  padding-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}

body.fv-judging .spotty-judging-list .spotty-judging-competitions li {
  position: relative;
  margin-bottom: 0.85rem;
  padding: 1.1rem 1.2rem;
  background: #eef3f7;
  border: 1px solid var(--fcos-line);
  border-bottom: 1px solid var(--fcos-line);
  border-radius: 1rem;
}

body.fv-judging .spotty-judging-list .spotty-judging-competitions li strong {
  color: var(--fcos-ink);
  font-size: 1.05rem;
}

body.fv-judging .spotty-judging-list .spotty-judging-competitions li a {
  margin-top: 0.4rem;
  font-weight: 600;
  color: var(--fcos-accent);
  text-decoration: none;
}

body.fv-judging .spotty-judging-list .spotty-judging-competitions li a::after {
  content: "";
  position: absolute;
  inset: 0;
}

body.fv-judging .spotty-judging-single {
  padding-top: 0.5rem;
}

body.fv-judging .spotty-judging-single > h2,
body.fv-judging .spotty-judging-instructions,
body.fv-judging .spotty-judging-locked,
body.fv-judging .spotty-judging-single > p {
  color: #fff;
}

body.fv-judging .spotty-judging-single > p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.fv-judging .spotty-competition-image-container {
  display: block !important;
  width: 100%;
  max-width: 100% !important;
  margin: 1rem 0;
  padding: 0.75rem;
  background: #eef3f7;
  border: 1px solid var(--fcos-line);
  border-radius: 1rem;
  box-sizing: border-box;
}

body.fv-judging .spotty-competition-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.fv-judging-terms {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.fv-judging-terms a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.fv-showcase {
  background: #2e9fa4;
}

body.fv-showcase .fv-play-footer__copy {
  color: rgba(255, 255, 255, 0.9);
}

.fv-showcase-stage {
  width: min(52em, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.75rem 0 2.5rem;
  box-sizing: border-box;
}

body.fv-showcase .gp-pd-game-library__heading {
  color: #fff;
  font-family: var(--fcos-font-display);
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.55em;
}

body.fv-showcase .gp-pd-game-library__intro,
body.fv-showcase .gp-pd-game-library__intro.description {
  color: rgba(255, 255, 255, 0.92);
}

body.fv-showcase a.gp-pd-game-library__demo-link,
body.fv-showcase a.button.gp-pd-game-library__demo-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.6rem;
  margin: 0;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px !important;
  border: 1px solid #1F3A5F !important;
  background: #1F3A5F !important;
  color: #fff !important;
  font-family: var(--fcos-font-body);
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.fv-showcase a.gp-pd-game-library__demo-link:hover,
body.fv-showcase a.gp-pd-game-library__demo-link:focus,
body.fv-showcase a.button.gp-pd-game-library__demo-link:hover,
body.fv-showcase a.button.gp-pd-game-library__demo-link:focus {
  background: #fff !important;
  border-color: #1F3A5F !important;
  color: #1F3A5F !important;
  text-decoration: none !important;
}
