/* Rigel — shared styles (home + legal pages). Fonts and scripts are self-hosted: no third parties, no cookies. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Unbounded; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/unbounded-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f7f5ff; --paper: #ffffff; --ink: #16133d; --muted: #59577c; --line: rgba(22,19,61,.11);
  --blue: #4361ee; --violet: #7b3fe4; --pink: #f0468f; --peach: #ff9a62; --sun: #ffcd4d; --mint: #19c2b0;
  --brand: linear-gradient(115deg, #4361ee 0%, #7b3fe4 38%, #f0468f 72%, #ff9a62 100%);
  --night: #161340; --night2: #241c63;
  --shadow: 0 18px 50px rgba(67,57,180,.13); --shadow-lg: 0 40px 110px rgba(67,57,180,.22);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
.display { font-family: Unbounded, Inter, sans-serif; letter-spacing: -.025em; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--brand); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* header */
header.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
header.top.solid { background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(67,57,180,.07); }
header.top.hide { transform: translateY(-100%); }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Unbounded, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .16em; color: var(--ink); }
.logo svg { width: 26px; height: 26px; }
nav a { text-decoration: none; color: var(--muted); margin-left: 24px; font-weight: 600; font-size: 15px; transition: color .2s; }
nav a:hover { color: var(--ink); }
nav a.cta { color: #fff; background: var(--ink); padding: 11px 19px; border-radius: 999px; display: inline-block; }
nav a.cta:hover { color: #fff; }
@media (max-width: 860px) { nav a:not(.cta) { display: none; } }
header.top nav { margin-left: auto; }
.langs { display: flex; gap: 2px; margin-left: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { text-decoration: none; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 6px 9px; border-radius: 999px; transition: background .2s, color .2s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { background: var(--ink); color: #fff; }
.logo svg { flex: none; }
@media (max-width: 560px) { nav a.cta { display: none; } }
@media (max-width: 420px) { .langs a { padding: 6px 8px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: box-shadow .25s, background .25s, color .25s, border-color .25s; border: 0; cursor: pointer; font-family: inherit; position: relative; }
.btn.primary { background: var(--brand); background-size: 160% 100%; color: #fff; box-shadow: 0 10px 30px rgba(123,63,228,.3); transition: background-position .5s, box-shadow .25s; }
.btn.primary:hover { background-position: 100% 0; box-shadow: 0 16px 44px rgba(240,70,143,.35); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { box-shadow: 0 14px 40px rgba(22,19,61,.3); }
.btn.ghost { border: 2px solid var(--line); color: var(--ink); background: rgba(255,255,255,.6); }
.btn.ghost:hover { border-color: var(--violet); }

/* footer */
footer { background: var(--night); color: #c9c6ef; font-size: 14.5px; position: relative; overflow: hidden; padding: 70px 0 30px; }
footer::before { content: ""; position: absolute; width: 900px; height: 500px; left: 50%; top: -320px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(123,63,228,.55), rgba(240,70,143,.18) 60%, transparent); pointer-events: none; }
footer .wrap { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
footer .logo { color: #fff; margin-bottom: 14px; }
footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
footer a { text-decoration: none; display: block; margin: 5px 0; color: #c9c6ef; } footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 13px; color: #a9a5d8; display: grid; gap: 8px; }
footer .legal a { display: inline; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* legal pages */
.doc { padding: 130px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-family: Unbounded, sans-serif; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 14px 0 10px; letter-spacing: -.02em; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-family: Unbounded, sans-serif; font-size: 21px; font-weight: 600; margin: 38px 0 10px; }
.doc p, .doc li { color: #2f2c5a; margin-top: 10px; }
.doc ul { padding-left: 22px; }
.doc .box { background: var(--paper); border-radius: 20px; padding: 22px 26px; box-shadow: var(--shadow); margin-top: 18px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: #efeaff; }
.doc a { color: var(--blue); }
