/* =========================================================
   Fold Accordion product page
   Loaded after /style.css. Only used by /foldaccordion/.
   Accent: bellows red and brass, from the app's own colors.
   ========================================================= */

:root {
  color-scheme: dark;

  --fa-red: #ef6a5e;          /* bellows red, lightened for text on the dark page */
  --fa-red-deep: #b0261f;     /* the app's bellows red, for decoration only */
  --fa-red-glow: rgba(239, 106, 94, 0.18);
  --fa-red-subtle: rgba(239, 106, 94, 0.08);
  --fa-brass: #e8b866;        /* lit-key amber */
  --fa-brass-subtle: rgba(232, 184, 102, 0.1);
  --fa-ivory: #f4ead8;

  /* The shared dim text color is under 4.5:1 on this background; lift it on this page. */
  --color-text-dim: #8f8aa3;
}

.fa-page a:focus-visible,
.fa-page button:focus-visible {
  outline: 2px solid var(--fa-brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 14px;
  background: var(--fa-brass);
  color: #1a1000;
  border-radius: var(--radius-xs);
  z-index: 200;
}

.skip-link:focus {
  top: 12px;
  color: #1a1000;
}

/* === Hero === */
.fa-hero {
  position: relative;
  padding: 72px 0 56px;
  text-align: center;
  overflow: hidden;
}

.fa-hero .watercolor-orb--fa-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(176, 38, 31, 0.22), transparent 70%);
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
}

.fa-hero .watercolor-orb--fa-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 184, 102, 0.1), transparent 70%);
  bottom: -160px;
  right: -140px;
}

.fa-hero-inner {
  position: relative;
  z-index: 1;
}

.fa-icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.fa-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fa-ivory);
  margin-bottom: 14px;
}

.fa-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: var(--color-text);
  max-width: 560px;
  margin: 0 auto 22px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.fa-launch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--fa-red-subtle);
  border: 1px solid rgba(239, 106, 94, 0.25);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.fa-launch strong {
  color: var(--fa-brass);
  font-weight: 600;
}

.fa-hero-shot {
  position: relative;
  z-index: 1;
  margin: 48px auto 0;
  max-width: 900px;
}

.fa-hero-shot img,
.fa-shot img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--color-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* === Demo video === */
.fa-video {
  margin: 0 auto 40px;
  max-width: 900px;
}

.fa-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0d0b09;
  border-radius: 14px;
  border: 1px solid var(--color-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.fa-video figcaption,
.fa-hero-shot figcaption,
.fa-shot figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* === Sections === */
.fa-section {
  padding: 72px 0;
}

.fa-section--alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.fa-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fa-ivory);
  margin-bottom: 14px;
}

.fa-lead {
  font-size: 1.08rem;
  color: var(--color-text-secondary);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.fa-section p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 680px;
}

.fa-section p + p {
  margin-top: 12px;
}

.fa-section strong {
  color: var(--color-text);
  font-weight: 600;
}

/* === Mode cards === */
.fa-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fa-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.fa-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--fa-red-subtle);
  color: var(--fa-red);
  margin-bottom: 16px;
}

.fa-card-icon svg {
  width: 22px;
  height: 22px;
}

.fa-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.fa-card-where {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fa-brass);
  margin-bottom: 10px;
}

.fa-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === Lists === */
.fa-list {
  list-style: none;
  max-width: 680px;
  margin-top: 8px;
}

.fa-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.fa-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--fa-red);
  transform: rotate(45deg);
}

.fa-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.fa-songs {
  list-style: none;
  margin-top: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.fa-songs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--color-surface);
  color: var(--color-text);
}

.fa-songs li + li {
  border-top: 1px solid var(--color-border);
}

.fa-songs span {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* === Screenshots === */
.fa-gallery-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
  margin-bottom: 40px;
}

.fa-gallery-phone {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  max-width: 760px;
}

.fa-shot {
  margin: 0;
}

.fa-shot a {
  display: block;
  border-radius: 14px;
}

.fa-gallery-phone .fa-shot img {
  border-radius: 18px;
}

.fa-note {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-top: 24px;
}

/* === Languages === */
.fa-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 8px 0 20px;
  max-width: 720px;
}

.fa-langs li {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--color-border-hover);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
}

/* === Support and privacy === */
.fa-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--fa-brass);
  color: #1a1000;
  font-weight: 600;
  word-break: break-all;
}

.fa-contact:hover {
  background: #f0c886;
  color: #1a1000;
}

.fa-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.fa-text-link {
  color: var(--fa-brass);
  text-decoration: underline;
  text-decoration-color: rgba(232, 184, 102, 0.4);
  text-underline-offset: 3px;
}

.fa-text-link:hover {
  color: #f0c886;
  text-decoration-color: currentColor;
}

.fa-credits {
  font-size: 0.85rem;
}

.fa-credits p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* Privacy page uses the site's legal layout; only the link color changes. */
.fa-page.legal-content a,
.fa-page .legal-content a {
  color: var(--fa-brass);
  text-decoration-color: rgba(232, 184, 102, 0.4);
}

/* === Responsive === */
@media (max-width: 860px) {
  .fa-modes {
    grid-template-columns: 1fr;
  }

  .fa-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .fa-gallery-duo {
    grid-template-columns: 1fr;
  }

  .fa-gallery-phone {
    gap: 20px 10px;
  }

  .fa-gallery-phone .fa-shot img {
    border-radius: 10px;
  }

  .fa-gallery-phone figcaption {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .fa-hero {
    padding: 48px 0 40px;
  }

  .fa-icon {
    width: 104px;
    height: 104px;
  }

  .fa-section {
    padding: 56px 0;
  }

  .fa-card {
    padding: 22px 18px;
  }
}

.fa-reqs {
  margin-top: 28px;
}

.fa-credits {
  margin-top: 40px;
}

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