/* Shared legal-page stylesheet for PHONĒ */
:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --surface: #16161a;
  --surface-2: #1c1c22;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f5f4f1;
  --muted: #8a8a92;
  --muted-2: #5a5a62;
  --brand: #FF2D55;
  --brand-soft: #ff4f72;
  --green: #34C759;
  --blue: #5B6BFF;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: "Poppins", -apple-system, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255,45,85,.12), transparent 60%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none;
  opacity: .25;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
.serif { font-family: "Instrument Serif", "Times New Roman", serif; font-style: italic; font-weight: 400; }

/* ── Top nav ── */
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10,10,12,.7);
  border-bottom: 1px solid var(--line);
}
.legal-nav .logo { display: flex; align-items: center; gap: 10px; }
.legal-nav .logo img { height: 22px; }
.legal-nav .back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04);
  transition: background .2s, color .2s;
}
.legal-nav .back:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ── Page shell ── */
.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.legal-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.legal-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--brand); }
.legal-wrap h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600; letter-spacing: -.03em;
  line-height: 1; margin: 0 0 16px;
  text-wrap: balance;
}
.legal-wrap h1 .serif { color: rgba(255,255,255,.7); }
.legal-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 0 50px;
  text-wrap: pretty;
}
.legal-meta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px; color: rgba(255,255,255,.65);
  margin-bottom: 40px;
}
.legal-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 48px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 40px 0 14px;
  color: #fff;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2 .num {
  display: inline-block;
  color: var(--brand);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  margin-right: 10px;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: rgba(255,255,255,.92);
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  text-wrap: pretty;
}
.legal-content p { margin: 0 0 14px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 0 0 14px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--brand-soft); border-bottom: 1px solid rgba(255,79,114,.4); }
.legal-content a:hover { color: #fff; border-bottom-color: #fff; }
.legal-content strong { color: #fff; font-weight: 600; }
.legal-content hr {
  border: 0; height: 1px; background: var(--line);
  margin: 32px 0;
}
.legal-content .callout {
  display: flex; gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,45,85,.06);
  border: 1px solid rgba(255,45,85,.25);
  margin: 18px 0 22px;
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
}
.legal-content .callout .ico {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* TOC */
.toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 36px;
}
.toc a {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--line-2);
  transition: background .2s, color .2s;
}
.toc a:hover { background: rgba(255,255,255,.08); color: #fff; border-bottom-color: var(--line-2); }

/* Contact card */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s, background .2s;
}
.contact-card:hover { border-color: var(--line-2); background: rgba(255,255,255,.05); }
.contact-card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255,45,85,.12);
  border: 1px solid rgba(255,45,85,.3);
  display: grid; place-items: center;
}
.contact-card .ic.blue { background: rgba(91,107,255,.12); border-color: rgba(91,107,255,.3); }
.contact-card .ic.green { background: rgba(52,199,89,.12); border-color: rgba(52,199,89,.3); }
.contact-card .ic svg { width: 18px; height: 18px; }
.contact-card h3 { margin: 0 0 4px; font-size: 14px; }
.contact-card p { margin: 0; font-size: 13px; color: var(--muted); }
.contact-card a {
  display: inline-block; margin-top: 6px;
  font-size: 13.5px; color: var(--brand-soft);
  border-bottom: 1px solid rgba(255,79,114,.4);
}

/* ── Footer ── */
.legal-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 32px;
  background: #050507;
  color: var(--muted);
  font-size: 13px;
}
.legal-footer-inner {
  max-width: 880px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.legal-footer .links { display: flex; gap: 18px; }
.legal-footer a { transition: color .2s; }
.legal-footer a:hover { color: #fff; }
.legal-footer .sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.2); align-self: center;
}

@media (max-width: 720px) {
  .legal-nav { padding: 14px 18px; }
  .legal-wrap { padding: 50px 20px 80px; }
  .legal-content { padding: 28px 22px; border-radius: 20px; }
  .legal-content h2 { font-size: 19px; margin-top: 32px; }
  .legal-content p, .legal-content li { font-size: 14.5px; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-footer-inner { flex-direction: column; text-align: center; }
}
