/*
 * focus.music unified static-page shell (About / FAQ / Terms / Privacy).
 *
 * PAIRED with the clarity front door's shell in src/frontdoor/frontDoor.css
 * (.fd-d-nav / .fd-wrap / footer): the founder requires the header and footer
 * of the four static pages to look and behave EXACTLY like the new home
 * page - same pinned (sticky) header with the page scrolling underneath,
 * same 1140px container and left edge, same footer composition. If you
 * change shell values here, change them there too.
 *
 * Sticky rule: no ancestor of .fds-nav may set overflow (hidden/auto) - that
 * silently un-pins position: sticky (use overflow-x: clip if insurance is
 * ever needed; see frontDoor.css).
 *
 * Embed mode (?embed=1, the in-app overlay) hides this chrome entirely.
 */

html {
  scrollbar-gutter: stable;
}

/* ── Header (mirror of .fd-d-nav) ────────────────────────────── */

.fds-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(27, 43, 65, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fds-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 32px;
}
.fds-wordmark {
  font-size: 20px;
  letter-spacing: -0.4px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.fds-wordmark:hover {
  color: rgba(255, 255, 255, 0.92);
}
.fds-wordmark b {
  font-weight: 800;
}
.fds-wordmark .fds-dot {
  font-weight: 800;
  color: #9bd3f3;
}
.fds-wordmark .fds-light {
  font-weight: 400;
}
.fds-nav-links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}
.fds-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.fds-nav-links a:hover {
  color: rgba(255, 255, 255, 0.92);
}
.fds-sp {
  flex: 1;
}
.fds-signin {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 4px;
  text-decoration: none;
}
.fds-signin:hover {
  color: rgba(255, 255, 255, 0.92);
}
.fds-open {
  background: #9bd3f3;
  color: #0a1119;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 11px 22px;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
}
.fds-open:hover {
  background: #b2ddf5;
  color: #0a1119;
}
.fds-nav :is(a):focus-visible {
  outline: 2px solid #9bd3f3;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Footer (mirror of the home footer) ──────────────────────── */

.fds-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}
.fds-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 32px 24px;
}
.fds-footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.fds-wordmark-sm {
  font-size: 16px;
}
.fds-trust {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}
.fds-team {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-left: auto;
}
.fds-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 16px;
}
.fds-footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.fds-footer-links a:hover {
  color: #9bd3f3;
}
.fds-footer-links a[aria-current] {
  color: rgba(255, 255, 255, 0.92);
}
.fds-copyright {
  margin-left: auto;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Responsive (mirror of the home shell) ───────────────────── */

@media (max-width: 820px) {
  /* Section links collapse; wordmark + Sign in + Open the app remain. */
  .fds-nav-links {
    display: none !important;
  }
}
@media (max-width: 560px) {
  .fds-nav-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .fds-footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .fds-team {
    margin-left: 0;
  }
}

/* ── In-app (native overlay) embed mode ─────────────────────── */

html.embed .fds-nav,
html.embed .fds-footer {
  display: none;
}
