/* ==========================================================================
   Orian Design — legal pages (accessibility statement, terms, privacy).
   Self-contained: the tokens below mirror index.html so these pages can be
   opened on their own without pulling the whole landing page CSS.
   ========================================================================== */

:root {
  --bg-0: #000000;
  --bg-1: #050505;
  --bg-2: #0a0a0c;
  --bg-3: #111114;

  --ink: #ffffff;
  --ink-2: #d4d4d8;
  --ink-3: #8a8a92;
  --ink-4: #555560;
  --ink-5: #2a2a30;

  --gold: #f5c563;
  --gold-bright: #ffd97a;

  --line: rgba(255, 255, 255, 0.08);

  --display: 'Rubik', 'Heebo', system-ui, sans-serif;
  --sans: 'Heebo', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-0);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Soft gold aura so the page still feels like the brand, without the starfield. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(245, 197, 99, 0.11), transparent 70%),
    radial-gradient(700px 480px at 90% 12%, rgba(139, 92, 246, 0.07), transparent 70%);
  z-index: 0;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- Layout ---------- */
.legal {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: border-color .3s, color .3s, background .3s;
}
.back-home:hover {
  border-color: rgba(245, 197, 99, .45);
  background: rgba(245, 197, 99, .07);
  color: var(--gold);
  text-decoration: none;
}
.back-home svg { width: 14px; height: 14px; }

.legal-brand {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal-meta {
  padding-bottom: 30px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.35;
  color: var(--ink);
  margin: 44px 0 14px;
}

p { margin-bottom: 16px; }

strong { color: var(--ink); font-weight: 700; }

ul { margin: 0 0 20px; padding: 0; list-style: none; }
li {
  position: relative;
  padding-inline-start: 24px;
  margin-bottom: 11px;
}
li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .75;
}

.legal-note {
  margin-top: 44px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink-3);
  font-size: 14.5px;
}
.legal-note strong { color: var(--gold); }

/* ---------- Footer ---------- */
.legal-foot {
  position: relative;
  z-index: 1;
  padding: 34px 24px 46px;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
}
.legal-foot nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.legal-foot nav a { color: var(--ink-2); }
.legal-foot nav a:hover { color: var(--gold); }
.legal-foot nav span { color: var(--ink-4); }

@media (max-width: 640px) {
  .legal { padding: 34px 20px 80px; }
  .back-home { margin-bottom: 32px; }
}
