/* Shared styles for Sha legal pages (Privacy / Terms) */
:root {
  --bg-0: #07121a;
  --bg-1: #0a171e;
  --panel: #122530;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.06);
  --text: #eef4f6;
  --muted: #aebec8;
  --muted-2: #7c93a0;
  --accent: #FA6781;
  --accent-2: #FFC857;
  --btn: #0070da;
  --btn-2: #3a96f0;
  --btn-glow: 0, 112, 218;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text);
  font-family: 'Mulish', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
/* Skip-to-content link — visually hidden until keyboard focus (a11y). */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--btn);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* ambient glow, fixed */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 50% at 88% -4%, rgba(250, 103, 129, 0.10), transparent 60%),
    radial-gradient(50% 55% at 4% 0%, rgba(40, 110, 130, 0.14), transparent 58%),
    radial-gradient(120% 120% at 50% 0%, #0c1d27 0%, var(--bg-0) 70%);
}

/* top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 5vw, 48px);
  background: rgba(8, 18, 25, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.topbar .brand { display: inline-flex; align-items: center; }
.topbar .brand img { height: 30px; width: auto; display: block; }
.topbar .actions { display: flex; align-items: center; gap: 10px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.back:hover { color: var(--text); border-color: rgba(0,112,218,0.5); background: rgba(255,255,255,0.03); }
.launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: var(--btn);
  transition: background .2s ease;
}
.launch:hover { background: var(--btn-2); }

/* document column */
.doc {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 88px) clamp(22px, 5vw, 40px) 40px;
}
.doc .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.doc .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(250,103,129,0.18); }
.doc h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.doc h1 .hl { background: linear-gradient(105deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.doc .updated { margin: 16px 0 0; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.doc .lede { margin: 26px 0 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; }

.sections { margin-top: clamp(34px, 5vh, 56px); }
.sec { padding: 26px 0; border-top: 1px solid var(--line-2); }
.sec:first-child { border-top: none; padding-top: 8px; }
.sec h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 12px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  scroll-margin-top: 84px;
}
.sec h2 .n {
  flex: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-variant-numeric: tabular-nums;
  transform: translateY(-1px);
}
.sec p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  text-wrap: pretty;
}
.sec p:last-child { margin-bottom: 0; }
.sec a { color: var(--accent-2); text-decoration: none; border-bottom: 1px solid rgba(255,200,87,0.4); }
.sec a:hover { border-bottom-color: var(--accent-2); }

/* footer */
.doc-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding: 30px clamp(22px, 5vw, 40px) 56px;
  border-top: 1px solid var(--line-2);
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted-2);
  font-size: 14px;
}
.doc-footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.doc-footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.doc-footer a:hover { color: var(--accent); }
.doc-footer .made { color: var(--muted-2); font-weight: 600; }

/* ===== Support: intro CTA + FAQ accordion ===== */
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary {
  color: #fff;
  background: var(--btn);
}
.btn-primary:hover { background: var(--btn-2); }
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: rgba(0, 112, 218, 0.5); background: rgba(255, 255, 255, 0.04); }
.btn svg { width: 17px; height: 17px; }

.faq-head {
  margin: clamp(40px, 6vh, 64px) 0 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.faq { margin-top: 10px; }
.faq-item { border-top: 1px solid var(--line-2); }
.faq-item:last-child { border-bottom: 1px solid var(--line-2); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color .2s ease;
}
.faq-q:hover { color: var(--accent-2); }
.faq-q .ic {
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
}
.faq-q .ic::before,
.faq-q .ic::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), opacity .28s ease;
}
.faq-q .ic::before { left: 50%; top: 4px; bottom: 4px; width: 2.4px; transform: translateX(-50%); }
.faq-q .ic::after  { top: 50%; left: 4px; right: 4px; height: 2.4px; transform: translateY(-50%); }
.faq-item.open .faq-q .ic::before { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.2,.7,.3,1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p {
  margin: 0 0 18px;
  padding-right: 44px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  text-wrap: pretty;
}
.faq-a p:first-child { padding-top: 2px; }

/* ===== Contact form ===== */
.field { margin-bottom: 22px; }
.field > label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.req { color: var(--accent); margin-left: 3px; }
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.topic {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.topic:hover { border-color: rgba(0, 112, 218, 0.45); background: rgba(255, 255, 255, 0.05); }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic .mark {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--muted-2);
  display: grid;
  place-items: center;
  transition: border-color .2s ease;
}
.topic .mark::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--btn);
  transform: scale(0);
  transition: transform .2s cubic-bezier(.2,.7,.3,1);
}
.topic .tl { font-size: 15px; font-weight: 700; color: var(--text); }
.topic input:checked ~ .mark { border-color: var(--btn); }
.topic input:checked ~ .mark::after { transform: scale(1); }
.topic input:checked ~ .tl { color: #fff; }
.topic input:focus-visible ~ .mark { box-shadow: 0 0 0 4px rgba(0, 112, 218, 0.28); }
.topic:has(input:checked) { border-color: rgba(0, 112, 218, 0.6); background: rgba(0, 112, 218, 0.1); }

.input, .textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus {
  outline: none;
  border-color: rgba(0, 112, 218, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(0, 112, 218, 0.16);
}
.textarea { resize: vertical; min-height: 150px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.form-note { color: var(--muted-2); font-size: 13.5px; }
.form-note a { color: var(--muted); }

.sent {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(46, 204, 130, 0.4);
  background: rgba(46, 204, 130, 0.1);
  margin-bottom: 24px;
}
.sent.show { display: flex; }
.sent .tick {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #45e0a0, #2bbf86);
  display: grid; place-items: center;
  color: #07241a; font-weight: 900;
}
.sent h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: #cffbe8; }
.sent p { margin: 0; color: #9fe6c8; font-size: 14.5px; }
