/* Shared styling for BIAE standalone legal pages (privacy, terms).
   Mirrors the aura design language of the main site but self-contained. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #020408; --panel: #05080c; --ink: #e6e8ee; --muted: #9296a3;
  --dim: #767c8a; --line: #ffffff14; --blue: #38bdf8; --navy: #0b3668;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
::selection { background: #075985; color: #fff; }
a { color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 4px; }

.frame {
  position: relative; max-width: 900px; margin: 32px auto; width: calc(100% - 64px);
  border: 1px solid #ffffff26; border-radius: 32px; overflow: clip;
  background: #030609; isolation: isolate;
}
.glow {
  pointer-events: none; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, #0b366855 0%, #06162933 34%, transparent 66%);
}
.wrap { padding: 40px clamp(24px, 6vw, 72px) 72px; }

header.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(145deg, #5b8cff, #2865f2);
  display: grid; place-items: center; color: #fff;
  font-family: 'Newsreader', serif; font-size: 20px;
}
.brand b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; display: block; }
.brand span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.back { font-size: 13px; color: var(--muted); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em; color: #7dd3fc;
  padding: 5px 12px; border: 1px solid #0ea5e940; border-radius: 24px;
  background: #082f4966; margin-bottom: 20px;
}
h1 {
  font-family: 'Newsreader', serif; font-weight: 400; letter-spacing: -.03em;
  font-size: clamp(38px, 6vw, 60px); line-height: 1; color: #fff; margin-bottom: 14px;
}
.lede { color: var(--muted); font-size: 16px; max-width: 62ch; }
.updated { margin-top: 16px; font-size: 12px; color: var(--dim); font-family: 'JetBrains Mono', monospace; }

section { margin-top: 40px; }
h2 {
  font-family: 'Newsreader', serif; font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(22px, 3.4vw, 28px); color: #fff; margin-bottom: 14px;
  padding-top: 8px;
}
h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
p { color: #c3c7d0; margin-bottom: 14px; }
p.small { font-size: 13px; color: var(--muted); }
ul { list-style: none; margin: 0 0 14px; padding: 0; }
li {
  position: relative; padding-left: 22px; margin-bottom: 9px; color: #c3c7d0;
}
li::before {
  content: ''; position: absolute; left: 4px; top: 11px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px #38bdf8;
}
strong { color: #fff; font-weight: 600; }

.callout {
  margin: 20px 0; padding: 20px 22px; border-radius: 14px;
  border: 1px solid #ffffff16; background: linear-gradient(145deg, #ffffff05, #15253c24);
}
.callout p:last-child { margin-bottom: 0; }

footer.legal {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  justify-content: space-between; font-size: 12px; color: var(--dim);
}
footer.legal a { color: var(--muted); }
footer.legal nav { display: flex; gap: 18px; }

@media (max-width: 640px) {
  .frame { margin: 0; width: 100%; border: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
