@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lilita-one-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: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/lilita-one-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Nunito"; font-style: normal; font-weight: 500 900; font-display: swap; src: url(fonts/nunito-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: "Nunito"; font-style: normal; font-weight: 500 900; font-display: swap; src: url(fonts/nunito-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0c0a3a;
  --navy-2: #140f5c;
  --royal: #3b3fd9;
  --royal-2: #2a1fa8;
  --royal-hi: #6c7bff;
  --gold: #ffd84a;
  --gold-hi: #fff2b0;
  --gold-deep: #e8a900;
  --gold-side: #9c6f00;
  --white: #ffffff;
  --ink: #f4f5ff;
  --muted: #b9bdf0;
  --shadow: #07052a;
  --online: #3ddc84;
  --display: "Lilita One", "Arial Black", sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; background: var(--navy); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 10px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sticker-text { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .98; color: var(--white); paint-order: stroke fill; -webkit-text-stroke: .16em var(--white); text-shadow: 0 .09em 0 var(--shadow), 0 .14em .18em rgba(7, 5, 42, .45); }
.sticker-text .g { color: var(--gold); }

.btn { --face: var(--gold); --side: var(--gold-side); --txt: #2a1b00; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 28px; border-radius: 18px; font-family: var(--body); font-weight: 900; font-size: 1.05rem; color: var(--txt); background: var(--face); border: 3px solid var(--white); box-shadow: 0 6px 0 var(--side), 0 14px 24px -8px rgba(7, 5, 42, .6); transition: transform .12s, box-shadow .12s; cursor: pointer; white-space: nowrap; }
.btn:hover { box-shadow: 0 8px 0 var(--side), 0 18px 28px -8px rgba(7, 5, 42, .6); }
.btn:active { box-shadow: 0 1px 0 var(--side), 0 6px 12px -6px rgba(7, 5, 42, .6); translate: 0 5px; }
.btn.blue { --face: var(--royal); --side: var(--royal-2); --txt: var(--white); }
.btn.white { --face: var(--white); --side: #9a96c8; --txt: var(--royal-2); }
.btn.small { height: 44px; padding: 0 18px; font-size: .95rem; border-radius: 14px; box-shadow: 0 4px 0 var(--side); }
.btn.small:active { translate: 0 3px; box-shadow: 0 1px 0 var(--side); }
.btn svg { width: 22px; height: 22px; flex: none; }

.progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--royal-hi)); z-index: 100; }

nav.top { position: sticky; top: 0; z-index: 40; padding: 14px 0; transition: background .2s, box-shadow .2s; }
nav.top.scrolled { background: rgba(12, 10, 58, .85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
nav.top .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.7rem; letter-spacing: .01em; }
.brand img { width: 44px; height: 44px; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 800; color: var(--muted); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

footer { border-top: 1px solid rgba(255, 255, 255, .08); padding: 34px 0 44px; color: #8a8fc4; font-size: .9rem; font-weight: 600; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: space-between; align-items: center; }
footer .brand { font-size: 1.3rem; color: var(--white); }
footer .brand img { width: 32px; height: 32px; }
footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer .links a, footer .links button { color: #b0b4e6; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; font-size: .9rem; }
footer .links a:hover, footer .links button:hover { color: var(--white); }
footer p { margin: 0; flex-basis: 100%; font-size: .82rem; line-height: 1.55; }

/* Consent */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: var(--white); color: #1d1a3d; border-radius: 24px; border: 4px solid var(--white); box-shadow: 0 8px 0 var(--royal-2), 0 30px 60px -10px rgba(0, 0, 0, .6); padding: 22px 24px; display: none; animation: ccIn .45s cubic-bezier(.34, 1.56, .64, 1); }
.cc.show { display: block; }
@keyframes ccIn { from { transform: translateY(40px); opacity: 0; } }
.cc h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 0 0 6px; color: var(--royal-2); display: flex; align-items: center; gap: 10px; }
.cc p { margin: 0 0 16px; font-size: .93rem; color: #4a4470; font-weight: 600; }
.cc p a { color: var(--royal); text-decoration: underline; font-weight: 800; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { height: 46px; font-size: .95rem; padding: 0 18px; border-radius: 14px; flex: 1 1 150px; box-shadow: 0 4px 0 var(--side); }
.cc-actions .btn.outline { --face: var(--white); --side: #c9c6e6; --txt: var(--royal-2); border-color: #d9d6f2; }

.cc-modal { position: fixed; inset: 0; z-index: 95; display: none; place-items: center; padding: 16px; background: rgba(7, 5, 42, .7); backdrop-filter: blur(6px); }
.cc-modal.show { display: grid; }
.cc-box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: #1d1a3d; border-radius: 26px; border: 4px solid var(--white); box-shadow: 0 8px 0 var(--royal-2); padding: 28px; }
.cc-box h2 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin: 0 0 8px; color: var(--royal-2); }
.cc-box > p { margin: 0 0 18px; color: #4a4470; font-weight: 600; font-size: .95rem; }
.cc-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 2px solid #eeecfa; }
.cc-row h3 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 900; }
.cc-row p { margin: 0; font-size: .88rem; color: #5a5480; font-weight: 600; }
.cc-box .cc-actions { margin-top: 18px; }

.switch { position: relative; width: 58px; height: 34px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #d9d6f2; border: 3px solid var(--white); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .12), 0 3px 0 #b3afd6; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 0 rgba(0, 0, 0, .2); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.switch input:checked + span { background: var(--gold); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .1), 0 3px 0 var(--gold-side); }
.switch input:checked + span::after { transform: translateX(24px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .7; }
.switch input:focus-visible + span { outline: 3px solid var(--royal); outline-offset: 3px; }

/* Legal pages */
.legal { padding: 40px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 20px 0 10px; }
.legal .updated { color: var(--muted); font-weight: 700; margin: 0 0 40px; }
.legal section { background: var(--navy-2); border: 3px solid rgba(255, 255, 255, .85); border-radius: 24px; padding: 26px 28px; margin-bottom: 22px; box-shadow: 0 6px 0 var(--shadow); }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: 0 0 12px; color: var(--gold); letter-spacing: .01em; }
.legal h3 { font-size: 1.05rem; font-weight: 900; margin: 18px 0 6px; }
.legal p, .legal li { color: #dcdffb; font-weight: 600; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal a { color: var(--gold); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); vertical-align: top; }
.legal th { color: var(--white); font-weight: 900; }
.legal td { color: #dcdffb; font-weight: 600; }
.table-scroll { overflow-x: auto; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  nav.top .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .brand { font-size: 1.4rem; }
  .brand img { width: 38px; height: 38px; }
  .legal section { padding: 22px 18px; }
  .cc { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 22px; background: var(--white); color: #1d1a3d; border: 4px solid var(--white); box-shadow: 0 7px 0 var(--royal-2), 0 20px 30px -14px rgba(0, 0, 0, .6); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s; }
a.dl-card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 11px 0 var(--royal-2), 0 26px 36px -14px rgba(0, 0, 0, .6); }
a.dl-card:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--royal-2); }
.dl-card.main { grid-column: span 3; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 8px 0 var(--gold-side), 0 24px 36px -14px rgba(0, 0, 0, .6); padding: 26px 28px; }
a.dl-card.main:hover { box-shadow: 0 12px 0 var(--gold-side), 0 30px 40px -14px rgba(0, 0, 0, .6); }
.dl-card.off { opacity: .55; filter: grayscale(.4); }
.dl-ic { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--royal); color: var(--white); border: 3px solid var(--white); box-shadow: 0 4px 0 var(--royal-2); }
.dl-card.main .dl-ic { width: 72px; height: 72px; border-radius: 20px; }
.dl-ic svg { width: 28px; height: 28px; }
.dl-card.main .dl-ic svg { width: 38px; height: 38px; }
.dl-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dl-txt b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: .01em; }
.dl-card.main .dl-txt b { font-size: 2rem; }
.dl-txt small { font-weight: 800; color: #5a5480; }
.dl-card.main .dl-txt small { color: #5c4300; font-size: 1rem; }
.dl-txt em { font-style: normal; font-weight: 700; font-size: .82rem; color: #8a84ad; margin-top: 4px; }
.dl-card.main .dl-txt em { color: #7a5c00; }
.dl-badge { margin-left: auto; font-family: var(--display); font-size: 1rem; padding: 6px 14px; border-radius: 12px; background: var(--royal); color: var(--white); border: 3px solid var(--white); box-shadow: 0 4px 0 var(--royal-2); rotate: 4deg; white-space: nowrap; }
.dl-note { margin: 22px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-weight: 700; font-size: .92rem; }
.dl-note a { color: var(--gold); text-decoration: underline; }
.dl-empty { color: var(--muted); font-weight: 700; }

.rel { background: var(--navy-2); border: 3px solid rgba(255, 255, 255, .85); border-radius: 24px; padding: 24px 26px; margin-bottom: 20px; box-shadow: 0 6px 0 var(--shadow); }
.rel header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.rel h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin: 0; color: var(--white); letter-spacing: .01em; }
.rel time { margin-left: auto; color: var(--muted); font-weight: 700; font-size: .92rem; }
.tag { font-weight: 900; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag.new { background: var(--gold); color: #2a1b00; }
.tag.pre { background: rgba(255, 255, 255, .12); color: var(--muted); }
.rel ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.rel li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 14px; border-radius: 12px; background: rgba(7, 5, 42, .35); }
.rel li a { color: var(--gold); font-weight: 800; word-break: break-all; }
.rel li a:hover { text-decoration: underline; }
.rel li span { color: var(--muted); font-weight: 700; font-size: .88rem; }
.rel-notes { color: var(--muted); font-weight: 800; font-size: .9rem; }
.rel-notes:hover { color: var(--white); }

@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .dl-card.main { grid-column: span 2; }
}
@media (max-width: 560px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-card.main { grid-column: auto; flex-wrap: wrap; }
  .dl-badge { margin-left: 0; }
  .rel { padding: 20px 18px; }
  .rel time { margin-left: 0; width: 100%; }
}
