/*
 * Fearwoods LP — vanilla CSS port of the Next.js/Tailwind source at
 * apps/web/app/lp/fearwoods/. No build step. Mobile-first with three
 * breakpoints (sm 640px, md 768px, lg 1024px) mirroring the Tailwind
 * defaults used in the React source.
 *
 * Color tokens kept as CSS custom properties so the theme dev / Customizer
 * can override per-property without re-declaring rules.
 *
 * License: GPL-2.0-or-later
 */

/* ============================================================
 * 0. Reset / base
 * ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fwlp-bg);
  color: #fff;
  font-family: var(--fwlp-font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

/* ============================================================
 * 1. Tokens
 * ============================================================ */

:root {
  --fwlp-bg: #0a0c08;
  --fwlp-bg-rgb: 10 12 8;
  --fwlp-accent: #ef4444;          /* red-500 */
  --fwlp-accent-rgb: 239 68 68;
  --fwlp-cta: #eeff00;             /* neon yellow CTA */
  --fwlp-cta-rgb: 238 255 0;

  /* Display serif. Cinzel is enqueued by the theme dev; we list the
   * fallbacks so we degrade gracefully if Google Fonts is blocked
   * (in-app browsers, ad-block, GDPR consent denial). */
  --fwlp-font-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --fwlp-font-sans:
    ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji';
}

/* ============================================================
 * 2. Layout primitives
 * ============================================================ */

.fwlp-root {
  background: var(--fwlp-bg);
  color: #fff;
  min-height: 100vh;
}

/* Hero gradient (radial + linear). Identical stops to landing-page.tsx. */
.fwlp-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(10, 12, 8, 0.35) 0%,
      rgba(10, 12, 8, 0.7) 60%,
      rgba(10, 12, 8, 0.92) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 12, 8, 0.85) 0%,
      rgba(10, 12, 8, 0.2) 35%,
      rgba(10, 12, 8, 0.4) 60%,
      rgba(10, 12, 8, 0.95) 100%
    );
}

/* Squeeze variant uses denser stops (more bg coverage on small viewport). */
.fwlp-hero-gradient--squeeze {
  background:
    radial-gradient(
      ellipse at center,
      rgba(10, 12, 8, 0.4) 0%,
      rgba(10, 12, 8, 0.78) 65%,
      rgba(10, 12, 8, 0.95) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 12, 8, 0.7) 0%,
      rgba(10, 12, 8, 0.25) 30%,
      rgba(10, 12, 8, 0.45) 70%,
      rgba(10, 12, 8, 0.95) 100%
    );
}

/* ============================================================
 * 3. Hero (long LP)
 * ============================================================ */

.fwlp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 1.5rem;
  text-align: center;
  /* dvh first; vh fallback; finally JS-set --app-height for iOS in-app
   * browsers (set by lp/layout.tsx boot — ported in inc/enqueue). */
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--app-height, 100dvh);
}

.fwlp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -20;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.fwlp-hero__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48rem; /* max-w-3xl */
  margin: 0 auto;
  padding: 2rem 0;
}

@media (min-width: 640px) {
  .fwlp-hero__inner {
    padding: 3rem 0;
  }
}

/* Wordmark CTA (clickable game logo). */
.fwlp-wordmark {
  display: inline-block;
  border-radius: 0.25rem;
  margin-bottom: 1.5rem;
  transition: transform 200ms ease-out;
}
.fwlp-wordmark:hover {
  transform: scale(1.03);
}
.fwlp-wordmark:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--fwlp-bg),
    0 0 0 4px rgba(238, 255, 0, 0.6);
}
.fwlp-wordmark__img {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.9));
}

@media (min-width: 640px) {
  .fwlp-wordmark { margin-bottom: 2rem; }
  .fwlp-wordmark__img { width: 320px; }
}
@media (min-width: 768px) {
  .fwlp-wordmark__img { width: 380px; }
}

/* Release badge (red dot + uppercase eyebrow text). */
.fwlp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 9999px;
  background: rgba(69, 10, 10, 0.4); /* red-950/40 */
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fecaca; /* red-200 */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 640px) {
  .fwlp-badge { font-size: 0.875rem; }
}
.fwlp-badge__dot {
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--fwlp-accent);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
}

/* H1 — display serif, uppercase, dramatic shadow. */
.fwlp-hero__title {
  font-family: var(--fwlp-font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.95),
    0 1px 0 rgba(0, 0, 0, 0.6);
}

.fwlp-hero__subhead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.375;
  color: #e5e7eb; /* gray-200 */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}
@media (min-width: 640px) {
  .fwlp-hero__subhead { font-size: 1.125rem; }
}

/* Trust strip (uppercase factoids under CTA). */
.fwlp-trust {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d1d5db; /* gray-300 */
}
@media (min-width: 640px) {
  .fwlp-trust { font-size: 0.875rem; }
}
.fwlp-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.fwlp-trust__dot {
  display: block;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--fwlp-accent);
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.8);
}

/* Scroll hint (bottom of hero, sm+ only). */
.fwlp-scroll-hint {
  display: none;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 640px) {
  .fwlp-scroll-hint { display: block; }
}
.fwlp-scroll-hint__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.fwlp-scroll-hint__line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6),
    transparent
  );
}

/* ============================================================
 * 4. CTA button (yellow Steam button)
 * ============================================================ */

.fwlp-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1.25rem 2rem;
  min-height: 56px;
  border-radius: 0.375rem;
  background: var(--fwlp-cta);
  color: #000;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(238, 255, 0, 0.35);
  transition: background-color 200ms ease-out, box-shadow 200ms ease-out,
    transform 200ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.fwlp-cta:hover {
  background: #fff;
  box-shadow: 0 0 60px rgba(238, 255, 0, 0.55);
}
.fwlp-cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(238, 255, 0, 0.5),
    0 0 60px rgba(238, 255, 0, 0.55);
}
@media (min-width: 640px) {
  .fwlp-cta {
    padding: 1.5rem 2.5rem;
    font-size: 1.25rem;
  }
}
.fwlp-cta__icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background: currentColor;
  -webkit-mask: url('../img/steam-icon.svg') center / contain no-repeat;
  mask: url('../img/steam-icon.svg') center / contain no-repeat;
}
@media (min-width: 640px) {
  .fwlp-cta__icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* ============================================================
 * 5. Trailer section
 * ============================================================ */

.fwlp-section {
  position: relative;
  padding: 5rem 1.5rem;
}
@media (min-width: 640px) {
  .fwlp-section { padding: 6rem 1.5rem; }
}

.fwlp-section__container {
  max-width: 64rem; /* max-w-4xl */
  margin: 0 auto;
}
.fwlp-section__container--wide {
  max-width: 72rem; /* max-w-6xl */
}

.fwlp-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(252, 165, 165, 0.8); /* red-300/80 */
}

.fwlp-section__title {
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--fwlp-font-display);
  font-size: 1.875rem; /* 3xl */
  font-weight: 900;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .fwlp-section__title { font-size: 3rem; } /* 5xl */
}

.fwlp-trailer-card {
  position: relative;
  display: block;
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 200ms ease-out;
}
.fwlp-trailer-card:hover {
  transform: scale(1.01);
}
.fwlp-trailer-card__poster {
  width: 100%;
  height: auto;
}
.fwlp-trailer-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background-color 200ms ease-out;
}
.fwlp-trailer-card:hover .fwlp-trailer-card__overlay {
  background: rgba(0, 0, 0, 0.15);
}
.fwlp-trailer-card__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: var(--fwlp-cta);
  color: #000;
  box-shadow: 0 0 50px rgba(238, 255, 0, 0.6);
  transition: transform 200ms ease-out;
}
@media (min-width: 640px) {
  .fwlp-trailer-card__play {
    width: 6rem;
    height: 6rem;
  }
}
.fwlp-trailer-card:hover .fwlp-trailer-card__play {
  transform: scale(1.1);
}
.fwlp-trailer-card__play-icon {
  width: 2rem;
  height: 2rem;
  margin-left: 0.25rem; /* optical centering */
}
@media (min-width: 640px) {
  .fwlp-trailer-card__play-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ============================================================
 * 6. Pillars
 * ============================================================ */

.fwlp-pillars {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .fwlp-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.fwlp-pillar {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 640px) {
  .fwlp-pillar { padding: 2rem; }
}
.fwlp-pillar__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--fwlp-cta);
}
.fwlp-pillar__title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .fwlp-pillar__title { font-size: 1.25rem; }
}
.fwlp-pillar__body {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #d1d5db; /* gray-300 */
}
@media (min-width: 640px) {
  .fwlp-pillar__body { font-size: 1rem; }
}

/* ============================================================
 * 7. Screenshot grid
 * ============================================================ */

.fwlp-shots {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .fwlp-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.fwlp-shot {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}
.fwlp-shot__img {
  width: 100%;
  height: auto;
  transition: transform 700ms ease-out;
}
.fwlp-shot:hover .fwlp-shot__img {
  transform: scale(1.05);
}

/* ============================================================
 * 8. Final CTA
 * ============================================================ */

.fwlp-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6rem 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .fwlp-final { padding: 8rem 1.5rem; }
}
.fwlp-final__bg {
  position: absolute;
  inset: 0;
  z-index: -20;
  background-size: cover;
  background-position: center;
}
.fwlp-final__veil {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: rgba(10, 12, 8, 0.85);
}
.fwlp-final__inner {
  max-width: 48rem;
  margin: 0 auto;
}
.fwlp-final__title {
  font-family: var(--fwlp-font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}
.fwlp-final__title-br {
  display: none;
}
@media (min-width: 640px) {
  .fwlp-final__title-br { display: inline; }
}
.fwlp-final__copy {
  margin-top: 1.5rem;
  color: #d1d5db;
  font-size: 1rem;
}
@media (min-width: 640px) {
  .fwlp-final__copy { font-size: 1.125rem; }
}
.fwlp-final .fwlp-cta { margin-top: 2.5rem; }

/* ============================================================
 * 9. Footer (long LP)
 * ============================================================ */

.fwlp-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
  color: #9ca3af; /* gray-400 */
}
.fwlp-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .fwlp-footer__inner {
    flex-direction: row;
    text-align: left;
  }
}
.fwlp-footer__brand {
  font-family: var(--fwlp-font-display);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
}
.fwlp-footer__credit {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}
.fwlp-footer__credit a {
  text-underline-offset: 2px;
}
.fwlp-footer__credit a:hover {
  text-decoration: underline;
}
.fwlp-footer__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fwlp-footer__nav a {
  /* WCAG AA: lift to ~70% white so contrast against bg-black/60 still
   * passes 4.5:1 for body text. Matches the squeeze footer fix. */
  color: rgba(255, 255, 255, 0.7);
  transition: color 150ms ease-out;
}
.fwlp-footer__nav a:hover {
  color: #fff;
}

/* WCAG 2.4.7 — keyboard users must see a focus indicator on every
 * interactive element. Tailwind's reset (and ours) removes the UA
 * outline; restore it for keyboard navigation only via :focus-visible.
 * One canonical style applied to every clickable element in the LP. */
.fwlp-footer__nav a:focus-visible,
.fwlp-footer__credit a:focus-visible,
.fwlp-trailer-card:focus-visible,
.fwlp-shot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
 * 10. Squeeze (page-steam.php) — single-screen mobile
 * ============================================================ */

.fwlp-squeeze {
  position: relative;
  /* Match the long LP hero — isolate the stacking context so the
   * negative-z gradient overlay sits ABOVE the bg image but BELOW
   * the .fwlp-squeeze__main content (z-index: 10). Without this the
   * gradient escaped the page stacking and the bright Steam screenshot
   * showed through unmuted. */
  isolation: isolate;
  overflow: hidden;
  background: var(--fwlp-bg);
  color: #fff;
  height: 100vh;
  height: 100dvh;
  height: var(--app-height, 100dvh);
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--app-height, 100dvh);
}
.fwlp-squeeze__bg {
  position: absolute;
  inset: 0;
  z-index: -20;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.fwlp-squeeze__main {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 28rem; /* max-w-md */
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: max(env(safe-area-inset-top), 12px);
  padding-bottom: max(env(safe-area-inset-bottom), 12px);
  text-align: center;
}
.fwlp-squeeze__hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .fwlp-squeeze__hero { gap: 1rem; }
}

.fwlp-squeeze__wordmark-img {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.9));
}
@media (min-width: 640px) {
  .fwlp-squeeze__wordmark-img { width: 300px; }
}

.fwlp-squeeze__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 9999px;
  background: rgba(69, 10, 10, 0.4);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fecaca;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 640px) {
  .fwlp-squeeze__badge { font-size: 0.75rem; }
}
.fwlp-squeeze__badge-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--fwlp-accent);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.9);
}

.fwlp-squeeze__title {
  font-family: var(--fwlp-font-display);
  font-size: clamp(2rem, 11vw, 3rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95);
}
.fwlp-squeeze__subhead {
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.375;
  color: #e5e7eb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}
@media (min-width: 640px) {
  .fwlp-squeeze__subhead { font-size: 1rem; }
}

.fwlp-squeeze .fwlp-cta {
  margin-top: 0.25rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  min-height: 52px;
}
@media (min-width: 640px) {
  .fwlp-squeeze .fwlp-cta {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    min-height: 56px;
  }
}

.fwlp-squeeze__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d1d5db;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}
@media (min-width: 640px) {
  .fwlp-squeeze__trust { font-size: 0.75rem; }
}
.fwlp-squeeze__trust-sep {
  color: rgba(248, 113, 113, 0.8);
}

.fwlp-squeeze__legal {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); /* WCAG AA on bg-black/60 — see comment */
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}
.fwlp-squeeze__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 150ms ease-out;
}
.fwlp-squeeze__legal a:hover {
  color: #fff;
}

/* ============================================================
 * 11. Accessibility helpers
 * ============================================================ */

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

/* Reduced-motion: disable hover scales / 700ms zooms. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fwlp-shot__img,
  .fwlp-trailer-card,
  .fwlp-trailer-card__play,
  .fwlp-wordmark {
    transform: none !important;
  }
}

/* ============================================================
 * 12. In-app browser hooks
 *
 * The lp/layout.tsx boot script tags <html> with one of these classes
 * when it detects an in-app webview. Empty rulesets here so future fixes
 * have stable selectors without touching markup.
 * ============================================================ */

.ua-instagram {}
.ua-facebook {}
.ua-tiktok {}
.ua-snapchat {}
.ua-twitter {}
.ua-line {}
.ua-kakao {}
.ua-whatsapp {}
.ua-wkwebview {}

/* Generic in-app fixes — applied to ANY in-app webview, on top of the
 * vendor-specific class above. These are safe baseline tweaks. */
.ua-inapp .fwlp-squeeze {
  /* In-app webviews mis-measure 100dvh frequently; rely on JS --app-height. */
  height: var(--app-height, 100dvh);
  min-height: var(--app-height, 100dvh);
}

/* ============================================================
 * 13. Generic page template (page.php)
 *
 * Used for Privacy Policy, Terms, Contact, etc. — any WP Page
 * that isn't the front page or /steam. Inherits the dark LP bg;
 * tunes typography for body text readability on dark.
 * ============================================================ */

.fwlp-page {
  min-height: 100vh;
  background-color: var(--fwlp-bg, #0a0c08);
  color: rgba(255, 255, 255, 0.92);
  padding: 4rem 1.25rem 5rem;
}
.fwlp-page__article {
  max-width: 720px;
  margin: 0 auto;
}
.fwlp-page__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.fwlp-page__title {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.fwlp-page__content {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.fwlp-page__content > * + * {
  margin-top: 1rem;
}
.fwlp-page__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
}
.fwlp-page__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.fwlp-page__content a {
  color: var(--fwlp-cta, #eeff00);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fwlp-page__content a:hover {
  text-decoration: none;
}
.fwlp-page__content a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 2px;
}
.fwlp-page__content ul,
.fwlp-page__content ol {
  padding-left: 1.5rem;
}
.fwlp-page__content ul li,
.fwlp-page__content ol li {
  margin-top: 0.4rem;
}
.fwlp-page__content blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid var(--fwlp-cta, #eeff00);
  background: rgba(255, 255, 255, 0.04);
  font-style: italic;
}
.fwlp-page__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}
.fwlp-page__content pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.5;
}
.fwlp-page__content pre code {
  background: transparent;
  padding: 0;
}
.fwlp-page__content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.fwlp-page__content hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 2rem 0;
}
.fwlp-page__footer {
  max-width: 720px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}
.fwlp-page__back {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.fwlp-page__back:hover {
  color: #fff;
}
.fwlp-page__back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 2px;
}
