/* Legal pages (privacy, terms, refunds): same look as the Orion home page */
:root {
  --bg: #060814; --bg-2: #0B0F24; --text: #F5F3FF; --muted: #A0A8C8; --soft: #C7CDE2;
  --violet: #7B6CFF; --cyan: #6FE3FF; --edge: rgba(255,255,255,.09); --edge-hi: rgba(255,255,255,.18);
  --grad: linear-gradient(100deg, #DCD6FF 0%, #A396FF 28%, #7B6CFF 52%, #6FE3FF 100%);
  --f: "Plus Jakarta Sans", system-ui, sans-serif; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: radial-gradient(80% 40% at 50% -10%, rgba(123,108,255,.22), transparent 70%), var(--bg); color: var(--text); font: 400 16.5px/1.7 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(1200px + 48px); margin: 0 auto; padding: 0 24px; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(6,8,20,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--edge); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: flex-end; font: 800 24px/1 var(--f); letter-spacing: -0.04em; text-decoration: none; }
.logo__dot { display: inline-block; width: .26em; height: .26em; margin: 0 0 .14em .06em; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(111,227,255,.9); transition: transform .45s var(--ease); }
.logo:hover .logo__dot { transform: scale(1.35); }
.logo__img { display: block; height: 30px; width: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--edge-hi); background: rgba(255,255,255,.05); font: 700 14px/1 var(--f); text-decoration: none; transition: background-color .25s, transform .3s var(--ease), border-color .25s; }
.btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

.legal { padding: 72px 0 96px; }
.legal__inner { max-width: 780px; }
.label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
h2 { margin: 44px 0 12px; font-size: 21px; line-height: 1.35; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; color: var(--soft); }
ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--soft); }
li { margin-bottom: .5em; }
li::marker { color: var(--cyan); }
strong { color: var(--text); }
.legal__date { color: var(--muted); margin-bottom: 36px; }
.legal__why { font-size: 15px; color: var(--muted); }
.summary { margin: 0 0 8px; padding: 24px 28px; border-radius: 20px; background: rgba(255,255,255,.045); border: 1px solid var(--edge); }
.summary h2 { margin-top: 0; }
.summary ul { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 1.2em; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--edge); color: var(--soft); }
th { color: var(--text); font-weight: 700; background: rgba(255,255,255,.04); }
.link { color: var(--text); text-decoration: none; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease), color .2s; overflow-wrap: anywhere; }
.link:hover { background-size: 100% 1.5px; color: var(--cyan); }

.footer { padding: 36px 0 44px; border-top: 1px solid var(--edge); color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; }
.footer nav a[aria-current] { color: var(--text); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .legal { padding: 48px 0 72px; }
  .summary { padding: 20px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--edge); }
  td { border: 0; padding: 4px 0; }
  td:first-child { color: var(--text); font-weight: 700; }
  td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.footer__btn { appearance: none; padding: 0 0 2px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .2s; }
.footer__btn:hover { color: var(--cyan); }
