:root {
  --bg: #080705;
  --paper: #fffaf1;
  --text: #1b1712;
  --muted: #766d61;
  --orange: #f36b18;
  --orange-2: #ff9d27;
  --gold: #ffc857;
  --shadow: 0 30px 90px rgba(0, 0, 0, .24);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--paper); }
main { --legal-header-height: 108px; --legal-return-height: 50px; padding-top: calc(var(--legal-header-height) + var(--legal-return-height)); transition: padding-top .25s ease; }
header.scrolled + main { --legal-header-height: 82px; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.noise { position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
header { position: fixed; inset: 0 0 auto 0; height: 108px; z-index: 50; color: #fff; background: linear-gradient(180deg, rgba(8,7,5,.92) 0%, rgba(8,7,5,.62) 58%, rgba(8,7,5,.12) 100%); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); transition: background .25s ease, height .25s ease, box-shadow .25s ease; }
header.scrolled { height: 82px; background: rgba(8,7,5,.92); backdrop-filter: blur(18px); box-shadow: 0 14px 50px rgba(0,0,0,.24); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 16px; font-weight: 900; letter-spacing: -.02em; }
.brand-mark { width: 86px; height: 86px; border-radius: 25px; display: grid; place-items: center; overflow: hidden; padding: 4px; background: rgba(0,0,0,.34); border: 1px solid rgba(255,157,39,.34); box-shadow: 0 18px 48px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.08); transition: width .25s ease, height .25s ease, border-radius .25s ease; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 20px; }
header.scrolled .brand-mark { width: 66px; height: 66px; border-radius: 20px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-size: 28px; letter-spacing: -.02em; background: #fff; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-name small { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; font: inherit; font-weight: 900; box-shadow: 0 18px 45px rgba(243, 107, 24, .30); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(243, 107, 24, .38); }
.legal-hero { position: relative; overflow: hidden; padding: 62px 0 52px; color: #fff; background: radial-gradient(circle at 84% 10%, rgba(255, 200, 87, .18), transparent 28%), radial-gradient(circle at 14% 0%, rgba(243, 107, 24, .28), transparent 34%), var(--bg); }
.legal-hero::after { content: ""; position: absolute; right: -100px; bottom: -150px; width: 440px; height: 440px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; }
.legal-hero .container { position: relative; z-index: 1; max-width: 980px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; backdrop-filter: blur(14px); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--gold)); box-shadow: 0 0 0 6px rgba(243, 107, 24, .14); }
.legal-hero h1 { max-width: 780px; margin: 22px 0 18px; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.07em; }
.legal-hero p { max-width: 720px; margin: 0; color: rgba(255, 255, 255, .78); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.legal-content { padding: 72px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.legal-index { position: sticky; top: calc(var(--legal-header-height) + var(--legal-return-height) + 24px); padding: 26px; border: 1px solid rgba(27, 23, 18, .10); border-radius: 26px; background: #fff; box-shadow: 0 14px 44px rgba(25, 20, 12, .06); }
.legal-index strong { display: block; margin-bottom: 14px; font-size: 15px; }
.legal-index ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.4; }
.legal-index a:hover { color: var(--orange); }
.legal-stack { display: grid; width: min(100%, 760px); gap: 24px; }
.legal-card { padding: clamp(28px, 4vw, 38px); border: 1px solid rgba(27, 23, 18, .10); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 60px rgba(25, 20, 12, .08); }
.legal-card h2 { margin: 0 0 14px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.05em; line-height: 1.08; }
.legal-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.legal-card p + p { margin-top: 12px; }
.registry-summary { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(27, 23, 18, .10); }
.registry-summary h3 { margin: 0 0 7px; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .01em; line-height: 1.3; }
.legal-card .registry-summary p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.legal-card[id] { scroll-margin-top: calc(var(--legal-header-height) + var(--legal-return-height) + 24px); }
.legal-notice { margin: 0; padding: 16px 18px; border: 1px solid rgba(243, 107, 24, .24); border-radius: 18px; background: #fff4e4; color: #6b4528; font-size: 14px; font-weight: 700; line-height: 1.6; }
.legal-updated { margin: 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 800; }
footer { padding: 74px 0 28px; background: #070707; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 54px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
footer h2 { margin: 0 0 18px; font-size: 16px; }
footer p, footer li { color: rgba(255, 255, 255, .62); line-height: 1.8; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li + li { margin-top: 4px; }
footer a:hover { color: #fff; }

.legal-return { position: fixed; inset: var(--legal-header-height) 0 auto; z-index: 49; min-height: var(--legal-return-height); display: flex; align-items: center; background: rgba(8,7,5,.92); color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); transition: inset .25s ease; }
.legal-return a { display: inline-flex; align-items: center; min-height: var(--legal-return-height); font-size: 14px; font-weight: 700; }
.legal-return a:hover { color: #fff; }
.legal-documents { color: var(--text); }
.legal-index-group + .legal-index-group { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(27, 23, 18, .10); }
.legal-index-group strong { margin-bottom: 12px; }
.legal-index a[aria-current="page"] { color: var(--orange); font-weight: 900; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: rgba(255, 255, 255, .52); font-size: 13px; }
@media (max-width: 980px) { .legal-layout { grid-template-columns: 1fr; gap: 30px; } .legal-index { position: static; } .legal-stack { width: 100%; max-width: 760px; } .legal-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { main { --legal-header-height: 82px; --legal-return-height: 48px; } .container { width: min(100% - 28px, 1180px); } header { height: 82px; } .nav { gap: 12px; } .brand { gap: 10px; min-width: 0; } .brand-mark { width: 50px; height: 50px; border-radius: 16px; } header.scrolled .brand-mark { width: 44px; height: 44px; } .brand-name { min-width: 0; } .brand-name strong { font-size: 18px; line-height: 1.05; } .brand-name small { display: none; } .nav > .btn { min-height: 44px; padding: 0 16px; font-size: 14px; } .legal-hero { padding: 46px 0 42px; } .legal-hero h1 { margin-top: 18px; font-size: clamp(38px, 12vw, 52px); } .legal-content { padding: 48px 0 64px; } .legal-index { padding: 20px; } .legal-index ul { grid-template-columns: 1fr; } .legal-card { padding: 24px; border-radius: 26px; } .legal-notice { padding: 14px 16px; } footer { padding: 54px 0 24px; } .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; } .footer-bottom { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
