:root {
  --ff-bg: #08080e;
  --ff-panel: rgba(18, 18, 28, 0.92);
  --ff-panel-solid: #12121c;
  --ff-text: #f5f5fa;
  --ff-muted: #a0a0b8;
  --ff-cyan: #00f5d4;
  --ff-magenta: #f72585;
  --ff-border: rgba(0, 245, 212, 0.18);
  --ff-max: 680px;
  --ff-hero-max: 420px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Rubik', system-ui, sans-serif;
  background: var(--ff-bg);
  color: var(--ff-text);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

.ff-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.ff-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--ff-cyan);
  color: #08080e;
  border-radius: 4px;
}

.ff-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.ff-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.35;
}

.ff-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 8, 14, 0.85) 0%, rgba(8, 8, 14, 0.55) 50%, rgba(247, 37, 133, 0.12) 100%),
    radial-gradient(circle at 20% 80%, rgba(0, 245, 212, 0.08), transparent 50%);
}

/* Top bar */
.ff-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--ff-border);
  background: rgba(8, 8, 14, 0.94);
  backdrop-filter: blur(10px);
}

.ff-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  padding: 0.75rem 0;
  position: relative;
}

.ff-topbar-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--ff-cyan);
  text-decoration: none;
  flex-shrink: 0;
}

.ff-menu-btn {
  display: none;
  background: var(--ff-panel-solid);
  border: 1px solid var(--ff-border);
  color: var(--ff-text);
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  min-height: 44px;
  font-family: inherit;
  flex-shrink: 0;
}

.ff-topnav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  margin-left: auto;
}

.ff-topnav a {
  color: var(--ff-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.ff-topnav a:hover { color: var(--ff-text); }

.ff-topnav-cta {
  color: #08080e !important;
  background: var(--ff-cyan);
  padding: 0.45rem 0.95rem !important;
  border-radius: 4px;
  font-weight: 600;
}

.ff-page {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--ff-max));
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 2rem) 0 2rem;
}

.ff-card {
  background: var(--ff-panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.ff-card--main {
  text-align: center;
  max-width: var(--ff-hero-max);
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.ff-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--ff-cyan);
  margin: 0 0 1rem;
}

.ff-choice h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  line-height: 1.35;
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: var(--ff-text);
}

.ff-prompt {
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--ff-muted);
  margin: 0 0 1.1rem;
}

.ff-btns {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ff-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.ff-btn--choice {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(90deg, var(--ff-magenta), #b5179e);
  min-height: 48px;
  line-height: 1.25;
}

.ff-btn--choice:hover {
  background: linear-gradient(90deg, #ff2d9a, var(--ff-magenta));
  transform: translateY(-1px);
}

.ff-btn--primary {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  color: #08080e;
  background: var(--ff-cyan);
  min-height: 48px;
  line-height: 1.25;
}

.ff-btn--primary:hover {
  background: #5fffe8;
  transform: translateY(-1px);
}

.ff-btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.ff-age {
  font-size: 0.78rem;
  color: var(--ff-muted);
  margin: 1rem 0 0;
}

/* About & intent */
.ff-about-grid,
.ff-intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.ff-about-extra {
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
}

.ff-brand {
  margin: 0;
  width: clamp(100px, 24vw, 140px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ff-border);
}

.ff-brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ff-intent {
  border-block: 1px solid var(--ff-border);
}

.ff-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ff-tags li {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--ff-border);
  background: rgba(0, 245, 212, 0.06);
  color: var(--ff-text);
}

.ff-intent-note {
  font-size: 0.92rem !important;
  margin-bottom: 0 !important;
}

.ff-social-ph {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ff-border);
  max-width: 220px;
}

.ff-social-ph img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 434;
  object-fit: cover;
}

.ff-card--section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  margin: 0 0 0.75rem;
  color: var(--ff-cyan);
}

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

.ff-card--section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--ff-muted);
  font-size: 0.92rem;
}

.ff-card--section li { margin-bottom: 0.45rem; }

.ff-card--split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: start;
}

.ff-preview {
  margin: 0;
  width: clamp(120px, 32vw, 180px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ff-border);
  flex-shrink: 0;
}

.ff-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ff-card--cta {
  text-align: center;
  border-color: rgba(247, 37, 133, 0.25);
  background: linear-gradient(160deg, rgba(247, 37, 133, 0.08), var(--ff-panel));
}

.ff-faq { padding-bottom: 0.5rem; }

.ff-faq-intro {
  font-size: 0.92rem !important;
  margin-bottom: 1rem !important;
}

.ff-faq-item {
  border: 1px solid var(--ff-border);
  border-radius: 4px;
  margin-bottom: 0.45rem;
  background: rgba(8, 8, 14, 0.4);
}

.ff-faq-item summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--ff-text);
}

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

.ff-faq-item p {
  padding: 0 1rem 0.85rem;
  margin: 0;
  color: var(--ff-muted);
  font-size: 0.92rem;
}

.ff-footer {
  padding: 1.5rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 0.82rem;
  color: var(--ff-muted);
  border-top: 1px solid var(--ff-border);
  background: rgba(8, 8, 14, 0.9);
}

.ff-footer p { margin: 0 0 0.5rem; }

.ff-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.ff-footer-links a {
  color: var(--ff-cyan);
  text-decoration: none;
}

.ff-dock { display: none; }

/* Desktop */
@media (min-width: 901px) {
  .ff-menu-btn { display: none !important; }

  .ff-topnav {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .ff-btns {
    flex-direction: row;
  }

  .ff-btn--choice { flex: 1; }
}

@media (max-width: 900px) {
  .ff-topnav {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .ff-menu-btn { display: block; }

  .ff-topnav {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    background: rgba(8, 8, 14, 0.98);
    padding: 0.75rem 1rem 1rem;
    border: 1px solid var(--ff-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  }

  .ff-topnav.is-open { display: flex; }
  .ff-topnav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--ff-border);
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: normal;
  }
  .ff-topnav-cta { justify-content: center; margin-top: 0.35rem; }
}

@media (max-width: 720px) {
  .ff-about-grid,
  .ff-intro-grid,
  .ff-card--split {
    grid-template-columns: 1fr;
  }

  .ff-brand,
  .ff-social-ph,
  .ff-preview {
    order: -1;
    margin-inline: auto;
  }

  .ff-brand { width: min(100%, 120px); }
  .ff-social-ph { max-width: min(100%, 280px); }
  .ff-preview { width: min(100%, 200px); }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }

  .ff-topbar-inner {
    width: min(100% - 1.25rem, 1100px);
    padding: 0.65rem 0;
  }

  .ff-page { width: min(100% - 1.25rem, var(--ff-max)); padding-top: 1rem; }

  .ff-bg img { object-position: right center; opacity: 0.28; }

  .ff-card--main {
    max-width: none;
  }

  .ff-choice h1 { font-size: clamp(1.1rem, 5vw, 1.35rem); }

  .ff-btns { flex-direction: column; }

  .ff-tags li { font-size: 0.78rem; }

  .ff-intent-note { text-align: left; }

  .ff-card--section .ff-btn--primary,
  .ff-card--cta .ff-btn--primary {
    width: 100%;
    max-width: 420px;
  }

  .ff-faq-item summary { font-size: 0.95rem; padding: 0.8rem 0.9rem; }

  .ff-dock {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 8, 14, 0.97);
    border-top: 1px solid var(--ff-border);
    text-align: center;
    z-index: 100;
    backdrop-filter: blur(8px);
  }

  .ff-dock .ff-btn { width: 100%; max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ff-btn { transition: none; }
}
