/* ============================================================
   Shared styles for the policy / FAQ pages.
   Tokens mirror index.html so the pages read as one site.
   ============================================================ */
:root {
  --bg: #0c0608;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #f4eef0;
  --muted: #a89ba0;
  --red: #ff3b45;
  --red-soft: #ff6b72;
  --grad: linear-gradient(135deg, #ff3b45 0%, #e0202a 55%, #ff7a4a 100%);
  --grad-2: linear-gradient(135deg, #38d6e8, #ff3b45);
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  /* Same ambient glow as the landing page, without the animated orbs. */
  background-image:
    radial-gradient(ellipse 60% 40% at 12% 0%, rgba(255, 59, 69, 0.13), transparent 60%),
    radial-gradient(ellipse 50% 35% at 92% 8%, rgba(255, 122, 74, 0.08), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
h1, h2, h3, .logo { font-family: 'Sora', 'Segoe UI', sans-serif; }

.skip {
  position: absolute; left: -9999px;
  background: var(--red); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip:focus { left: 0; top: 0; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 6, 8, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}
.nav-wrap {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; gap: 18px;
}
.logo {
  display: flex; align-items: center; gap: 11px;
  font-size: 1.14rem; font-weight: 800;
  text-decoration: none; color: var(--text);
  letter-spacing: 0.3px; white-space: nowrap;
}
.logo .icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: #14080f;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(255, 59, 69, 0.4);
}
.logo b { color: var(--red); }
nav.menu { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
nav.menu a {
  text-decoration: none; color: var(--muted);
  font-size: 0.86rem; font-weight: 500;
  padding: 8px 13px; border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
nav.menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
nav.menu a.here { color: #fff; background: rgba(255, 59, 69, 0.16); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: #fff; line-height: 1;
}

/* ---------- Legal body ---------- */
main { padding: 0 28px; }
.legal {
  max-width: 820px; margin: 0 auto;
  padding: 54px 0 80px;
}
.crumb { margin-bottom: 26px; }
.crumb a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem;
  border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.crumb a:hover { color: var(--red-soft); border-bottom-color: currentColor; }

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800; letter-spacing: -1px; line-height: 1.15;
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.updated {
  color: var(--muted); font-size: 0.84rem;
  margin: 10px 0 40px; padding-bottom: 26px;
  border-bottom: 1px solid var(--card-border);
}
.legal h2 {
  font-size: 1.16rem; font-weight: 700; letter-spacing: -0.2px;
  margin: 42px 0 12px; padding-left: 14px;
  border-left: 3px solid var(--red);
  scroll-margin-top: 90px;
}
.legal h3 {
  font-size: 0.98rem; font-weight: 700; color: var(--red-soft);
  margin: 26px 0 8px; text-transform: uppercase; letter-spacing: 1.2px;
}
.legal p { color: var(--muted); margin-bottom: 15px; font-size: 0.96rem; }
.legal ul { margin: 4px 0 20px; padding-left: 4px; list-style: none; }
.legal li {
  color: var(--muted); font-size: 0.96rem;
  margin-bottom: 10px; padding-left: 26px; position: relative;
}
.legal li::before {
  content: ""; position: absolute; left: 6px; top: 0.68em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-2);
}
.legal a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #fff; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 46px 28px 26px;
}
.foot-wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.foot-brand { font-size: 0.98rem; margin-bottom: 20px; }
.foot-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 4px; margin-bottom: 22px;
}
.foot-links a {
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  padding: 6px 12px; border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.foot-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.foot-contact { color: var(--muted); font-size: 0.84rem; line-height: 1.9; }
.foot-contact a { color: var(--red-soft); text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
.copyright {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--card-border);
  font-size: 0.78rem; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(12, 6, 8, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; gap: 2px;
    border-bottom: 1px solid var(--card-border); padding: 12px 18px;
  }
  nav.menu.open { display: flex; }
  .hamburger { display: block; }
  .legal { padding-top: 38px; }
}
