:root {
  --page-bg: #111219;
  --page-bg-deep: #08070d;
  --page-panel: rgba(11, 9, 16, .76);
  --page-panel-soft: rgba(255,255,255,.045);
  --page-row-hover: rgba(255,255,255,.07);
  --page-border: rgba(255,255,255,.075);
  --page-text: #fff;
  --page-muted: rgba(255,255,255,.68);
  --page-dim: rgba(255,255,255,.48);
  --page-accent: #d8b4fe;
  --page-accent-strong: #c084fc;
  --page-radius: 24px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { scroll-behavior: auto; }

body.simple-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--page-text);
  background:
    radial-gradient(circle at 22% 0%, rgba(168, 85, 247, .13), transparent 34%),
    radial-gradient(circle at 100% 18%, rgba(92, 46, 125, .16), transparent 34%),
    linear-gradient(180deg, var(--page-bg) 0%, #101118 52%, var(--page-bg-deep) 100%);
}

.page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .28;
  filter: saturate(.75) brightness(.65);
  contain: layout paint style;
}

.page-bg .blob {
  position: absolute;
  display: block;
  user-select: none;
  opacity: .92;
  max-width: none;
  filter: none;
  will-change: auto;
}

.page-bg .blob.-a { width: min(58vw, 780px); right: -180px; bottom: -130px; }
.page-bg .blob.-b { width: min(48vw, 660px); top: 115px; left: -230px; }
.page-bg .blob.-c { width: min(44vw, 560px); top: 85px; right: -220px; display: none; }
.page-bg .blob.-d { width: min(46vw, 620px); right: -200px; top: 668px; display: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(ellipse at top, rgba(147,51,234,.18), transparent 60%),
    linear-gradient(180deg,#12081f,#08030f);
  transition: opacity .32s ease, visibility .32s ease;
}

.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: min(60vw, 420px); transform: translateZ(0); animation: loaderFloat 3s ease-in-out infinite; }
.loader-text { margin-top: 18px; color: rgba(255,255,255,.65); letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
@keyframes loaderFloat { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-8px,0); } }

.page-main {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 74px 24px 74px;
}

.page-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.page-intro {
  margin: 0 0 70px;
}

.page-title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .92;
  letter-spacing: -0.055em;
  font-weight: 950;
  color: #fff;
  text-shadow: 0 18px 44px rgba(0,0,0,.34);
}

.page-subtitle {
  max-width: 900px;
  margin: 16px 0 0;
  color: var(--page-muted);
  line-height: 1.65;
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
}

.content-panel {
  margin: 0 auto;
  padding: clamp(32px, 6vw, 70px);
  border-radius: var(--page-radius);
  background: var(--page-panel);
  border: 1px solid rgba(255,255,255,.055);
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
  contain: layout paint style;
}

.panel-section + .panel-section { margin-top: clamp(42px, 5vw, 68px); }
.panel-section h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(1.75rem, 2.7vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 950;
}
.panel-section h2 span { color: var(--page-accent); }
.panel-section h3 { margin: 0 0 12px; color: #fff; font-size: 1rem; font-weight: 900; }
.panel-section p,
.panel-section li {
  color: rgba(255,255,255,.80);
  line-height: 1.78;
  font-size: 1.02rem;
}
.panel-section p { max-width: 1040px; margin: 0 0 18px; }
.panel-section ul { margin: 0; padding-left: 28px; }
.panel-section li + li { margin-top: 5px; }
.panel-section a { color: #fff; font-weight: 900; text-decoration-color: rgba(216,180,254,.55); text-underline-offset: 3px; }

footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--page-border);
  background: rgba(0,0,0,.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 18px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-links button,
.footer-links a {
  appearance: none;
  background: none;
  border: none;
  color: var(--page-accent);
  cursor: pointer;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0;
}

.footer-links button:hover,
.footer-links a:hover { color: #fff; }

.footer-description {
  color: var(--page-dim);
  font-size: .82rem;
  line-height: 1.45;
  max-width: 900px;
  margin: 0 auto 14px;
}

.copyright {
  margin-top: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}
.modal-overlay.active { display: flex; }
.modal {
  width: min(760px, calc(100vw - 32px));
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #1a102f 0%, #12081f 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 80px rgba(168,85,247,.12);
}
.modal-header { padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(168,85,247,.05); }
.modal-body { padding: 28px; }
.modal h2 { margin: 0; font-size: 1.6rem; }
.modal-subtitle { color: rgba(255,255,255,.55); margin-top: 6px; font-size: .9rem; }
.modal-body p, .modal-body li { color: rgba(255,255,255,.72); line-height: 1.7; }
.modal-body h3 { color: #fff; margin: 22px 0 8px; }
.modal-body ul { padding-left: 20px; }
.modal-close {
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #c084fc, #7c3aed);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

:focus-visible { outline: 3px solid rgba(216,180,254,.7); outline-offset: 3px; }

@media (max-width: 920px) {
  .page-main { padding: 52px 18px 62px; }
  .page-intro { margin-bottom: 54px; }
  .content-panel { padding: 28px 18px; border-radius: 22px; }
  .page-bg .blob.-a,
  .page-bg .blob.-b { display: none; }
  .page-bg .blob.-c,
  .page-bg .blob.-d { display: block; }
}

@media (max-width: 640px) {
  .page-main { padding: 36px 14px 54px; }
  .page-title { font-size: clamp(3.25rem, 18vw, 5rem); }
  .page-subtitle { font-size: 1rem; }
  .content-panel { margin-inline: -2px; }
  .footer-links { gap: 14px; }
}

@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .page-bg { position: absolute; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .loader { display: none; }
}


/* Decorative background layer.
   Blobs are anchored to the document so they scroll away instead of staying pinned to the viewport. */
.simple-page .page-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100%;
  min-height: 100%;
  height: auto !important;
  overflow: hidden;
  transform: none !important;
  backface-visibility: hidden;
}

.simple-page .page-bg .blob {
  position: absolute !important;
  transform: none !important;
}

@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .simple-page .page-bg {
    position: absolute !important;
  }
}


.clipboard-fallback{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0;pointer-events:none;}
