/* SoulSinq public pages - legal & support. Light body for long-form legal
   text, brand navy header, teal/indigo accents from the brand V1 palette. */
:root {
  --navy: #0e1a2b;
  --teal: #55c3d6;
  /* The same hue, dark enough to carry white label text (the light --teal is
     2.1:1 against white and fails WCAG AA wherever text sits on it). */
  --teal-deep: #1f7f91;
  --indigo: #285aaf;
  --ink: #1c2733;
  --muted: #5b6b7d;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
header {
  background: var(--navy);
  color: #fff;
  padding: 2.2rem 1.25rem 2rem;
  text-align: center;
}
header .brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--teal), #8fd8e4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
header h1 { font-size: 1.15rem; font-weight: 600; margin: 0.4rem 0 0.2rem; }
header .meta { color: #96a7bc; font-size: 0.85rem; margin: 0; }
main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
h2 {
  font-size: 1.05rem;
  color: var(--indigo);
  margin: 2.2rem 0 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
h3 { font-size: 0.95rem; margin: 1.4rem 0 0.4rem; }
p, li { font-size: 0.95rem; }
ul { padding-left: 1.3rem; }
a { color: var(--indigo); }
.note {
  background: var(--bg-soft);
  border-left: 3px solid var(--teal);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
table { border-collapse: collapse; width: 100%; font-size: 0.88rem; }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
  padding: 1.5rem;
}
footer a { color: var(--muted); }
@media (max-width: 480px) {
  main { padding: 1.5rem 1rem 3rem; }
  .tablewrap { overflow-x: auto; }
}

/* Account action page (password reset, email verification). */
form { display: flex; flex-direction: column; gap: 0.35rem; max-width: 22rem; }
form label { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-top: 0.6rem; }
form input[type="password"], form input[type="text"] {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}
form input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
label.check { flex-direction: row; display: flex; align-items: center; gap: 0.45rem; font-weight: 400; }
label.check input { width: 1rem; height: 1rem; accent-color: var(--indigo); }
.hint { font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0 0; }
.error { color: #b3261e; font-size: 0.9rem; margin: 0.4rem 0 0; }
button[type="submit"] {
  margin-top: 1rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--teal-deep), var(--indigo));
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
}
button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
button[type="submit"]:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* The wordmark is painted through the text itself, so where gradients are not
   rendered - forced colours, most print paths - the product name would vanish
   from the page entirely. */
@media (forced-colors: active), print {
  header .brand {
    background: none;
    color: CanvasText;
  }
}

/* The language bar under the title: the page in the other four languages. */
header .langs { margin: 0.9rem 0 0; font-size: 0.82rem; color: #96a7bc; }
header .langs a { color: #cfe3ee; text-decoration: none; }
header .langs a:hover, header .langs a:focus { text-decoration: underline; }
header .langs [aria-current] { color: #fff; font-weight: 600; }
