@font-face {
  font-family: "Raydium Legal Inter";
  src: url("/assets/fonts/subset/Inter.latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
body.raydium-legal { margin: 0; background: #fff; color: #666; font: 400 18px/24px "Raydium Legal Inter", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.raydium-legal *, .raydium-legal-footer * { box-sizing: border-box; }
body.raydium-legal a { color: inherit; transition: color .15s, background-color .15s, box-shadow .15s; }
body.raydium-legal :focus-visible { outline: 2px solid #7357f6; outline-offset: 3px; border-radius: 6px; }
.legal-skip { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: #242424; color: #fff !important; font-size: 14px; text-decoration: none; }
.legal-skip:focus { top: 12px; }

.legal-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: 64px; background: #fff; }
.legal-header-inner { display: flex; align-items: center; gap: 32px; max-width: 1160px; height: 64px; margin: 0 auto; padding: 0 40px; }
.legal-logo { display: flex; flex: 0 0 auto; }
.legal-logo img { display: block; width: 99px; height: auto; }
.legal-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; line-height: 20px; font-weight: 500; color: #242424; overflow-x: auto; scrollbar-width: none; }
.legal-nav::-webkit-scrollbar { display: none; }
.legal-nav a { white-space: nowrap; padding: 10px 0; text-decoration: none; }
.legal-nav a:hover { color: #7357f6; }
.legal-mobile-menu { display: none; margin-left: auto; }
.legal-mobile-menu summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; list-style: none; color: #242424; }
.legal-mobile-menu summary::-webkit-details-marker { display: none; }
.legal-mobile-menu nav { position: absolute; top: 60px; left: 20px; right: 20px; display: grid; padding: 8px; border: 1px solid #eee; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgb(0 0 0 / .08); }
.legal-mobile-menu nav a { padding: 12px; color: #242424; text-decoration: none; font-size: 14px; }
.legal-mobile-menu nav a:hover { background: #f8f9fa; }

.legal-main { padding-top: 280px; }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 851px) 181px; gap: 48px; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 0 40px 96px; align-items: start; }
.legal-doc-header { margin-bottom: 40px; }
.legal-article h1 { margin: 0; color: #242424; font-size: 48px; line-height: 53px; font-weight: 650; letter-spacing: -.02em; }
.legal-summary { margin: 9px 0 0; }
.legal-section { scroll-margin-top: 88px; margin-bottom: 40px; }
.legal-section h2 { margin: 0 0 16px; color: #242424; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; }
.legal-section p { margin: 0 0 16px; }
.legal-section ul { margin: 0 0 16px; padding-left: 24px; }
.legal-section li { margin-bottom: 8px; }

.legal-selector { position: sticky; top: 88px; }
.legal-selector ul { list-style: none; margin: 0; padding: 6px; border-radius: 14px; background: #f8f9fa; display: grid; gap: 2px; }
.legal-selector a { display: block; padding: 8px; border-radius: 10px; color: #666; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; }
.legal-selector a:hover { color: #242424; }
.legal-selector a[aria-current="page"] { background: #fff; color: #242424; box-shadow: 0 1px 3px rgb(0 0 0 / .08), 0 1px 1px rgb(0 0 0 / .04); }

.raydium-legal-footer { border-top: 1px solid var(--lg-line, #e8e4f3); background: #fff; color: #1b1830; font: 400 14px/1.6 "Inter Variable", ui-sans-serif, system-ui, sans-serif; }
.raydium-legal-footer a { color: inherit; }
.raydium-legal-footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; max-width: 1120px; margin: 0 auto; padding: 48px 20px 32px; }
.raydium-legal-footer-logo img { display: block; width: 99px; height: auto; }
.raydium-legal-footer-brand p { max-width: 320px; margin: 14px 0 0; color: #5c5874; }
.raydium-legal-footer h2 { color: #5c5874; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.raydium-legal-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.raydium-legal-footer nav a, .raydium-legal-footer-contact { text-decoration: none; }
.raydium-legal-footer nav a:hover, .raydium-legal-footer-contact:hover { color: #5d3bd4; text-decoration: underline; text-underline-offset: 3px; }
.raydium-legal-footer a[aria-current="page"] { color: #5d3bd4; font-weight: 600; }
.raydium-legal-footer-contact { color: #5d3bd4; font-weight: 600; }
.raydium-legal-footer-badges { display: block; width: 323px; max-width: 100%; height: auto; margin-top: 20px; }
.raydium-legal-footer :focus-visible { outline: 2px solid #7357f6; outline-offset: 3px; border-radius: 6px; }
.raydium-legal-footer-base { max-width: 1120px; margin: 0 auto; padding: 18px 20px 28px; border-top: 1px solid #e8e4f3; color: #5c5874; font-size: 13px; }
.raydium-legal-footer-base p { margin: 0; }

@media (max-width: 900px) {
  .raydium-legal-footer-desktop, .legal-nav, .legal-mobile-menu .legal-nav-desktop { display: none; }
  .legal-mobile-menu { display: block; }
  .legal-header-inner { padding: 0 20px; gap: 20px; }
  .legal-main { padding-top: 112px; }
  .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 0 20px 72px; }
  .legal-selector { position: static; grid-row: 1; }
  .legal-selector ul { display: flex; overflow-x: auto; scrollbar-width: none; }
  .legal-selector a { white-space: nowrap; padding: 8px 12px; }
  .legal-article h1 { font-size: 36px; line-height: 40px; }
  .legal-section h2 { font-size: 28px; line-height: 32px; }
}
@media (max-width: 640px) {
  .raydium-legal-footer-inner { grid-template-columns: 1fr 1fr; }
  .raydium-legal-footer-brand { grid-column: 1 / -1; }
  body.raydium-legal { font-size: 16px; line-height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  body.raydium-legal *, .raydium-legal-footer * { transition: none !important; }
}
@media print { .legal-header, .legal-selector, .raydium-legal-footer { display: none; } .legal-main { padding-top: 0; } }
