@font-face { font-family: "Lilita One"; src: url(/assets/fonts/LilitaOne-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/assets/fonts/Nunito-var.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --bg: #1c1240; --bg2: #2a1756; --panel: rgba(255, 255, 255, .055); --line: rgba(255, 199, 99, .22);
  --text: #fff6ea; --muted: #d2c4ec; --gold: #ffc24b; --orange: #ff8a3d; --pink: #ff7eb0; --sky: #8fd3ff;
  --radius: 18px; --wrap: 1120px;
  --head: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--text);
  background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd98a; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em;
  text-shadow: 0 3px 0 rgba(18, 6, 48, .55); }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #2a1500; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 20px; max-width: calc(var(--wrap) + 40px); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 1.25rem var(--head);
  text-shadow: 0 2px 0 rgba(18, 6, 48, .6); }
.brand img { border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 800; padding: 8px 10px; border-radius: 10px;
  text-shadow: 0 1px 2px rgba(18, 6, 48, .8); }
.top nav a:not(.btn):hover { background: rgba(28, 18, 64, .45); }
body:not(.page-index) .top { position: relative; }

/* buttons */
.btn { display: inline-block; font: 1.05rem var(--head); letter-spacing: .02em; color: #2a1500; text-decoration: none;
  background: linear-gradient(180deg, #ffd36b, var(--gold) 55%, #f6a52a); padding: 12px 24px; border-radius: 999px;
  box-shadow: 0 4px 0 #b86a12, 0 8px 18px rgba(0, 0, 0, .25); transition: transform .12s; }
.btn:hover { color: #2a1500; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: .95rem; box-shadow: 0 3px 0 #b86a12; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 20px 10px 16px; border-radius: 16px;
  background: #120a2c; color: #fff; text-decoration: none; border: 2px solid rgba(255, 255, 255, .85);
  font: 1.35rem/1.05 var(--head); text-align: left; }
.store small { display: block; font: 700 .75rem/1.3 var(--body); letter-spacing: .03em; }
.store:hover { color: #fff; background: #23154d; }
.store.is-soon { border-style: dashed; border-color: rgba(255, 255, 255, .55); color: var(--muted); background: rgba(18, 10, 44, .78); cursor: default; }
.store.is-soon small { color: var(--gold); text-transform: uppercase; }

/* hero */
.hero { position: relative; min-height: min(92vh, 780px); display: grid; place-items: center; text-align: center;
  padding: 96px 20px 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 46% 26% at 50% 64%, rgba(28, 18, 64, .62), rgba(28, 18, 64, 0)),
    linear-gradient(180deg, rgba(28, 18, 64, .35) 0%, rgba(28, 18, 64, 0) 30%, rgba(28, 18, 64, 0) 55%, var(--bg) 100%); }
.hero-in { max-width: 760px; }
.logo { width: min(520px, 86vw); margin: 0 auto 8px; filter: drop-shadow(0 10px 24px rgba(28, 10, 60, .45)); }
.tagline { font: clamp(1.4rem, 3.6vw, 2.1rem)/1.15 var(--head); margin: 0 0 6px; text-shadow: 0 3px 0 rgba(18, 6, 48, .7), 0 0 18px rgba(18, 6, 48, .5); }
.sub { font-weight: 700; font-size: 1.1rem; max-width: 560px; margin: 0 auto 26px; text-shadow: 0 1px 3px rgba(18, 6, 48, .95), 0 0 14px rgba(18, 6, 48, .7); }

/* sections */
.section { padding: 72px 0; }
#features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
#features + .section { background: var(--bg2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: inline-block; font-weight: 900; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }

.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); margin: 0; }
.dot { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #2a1500;
  background: var(--c, var(--gold)); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.dot svg { width: 20px; height: 20px; }

.showcase { display: grid; gap: 28px; align-items: center; margin-top: 56px; }
.showcase figure { margin: 0; }
.shot { border-radius: 16px; border: 2px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 40px rgba(8, 2, 28, .45); aspect-ratio: 1280 / 722; width: 100%; object-fit: cover; }
@media (min-width: 860px) { .showcase { grid-template-columns: 1.35fr 1fr; } .showcase.flip > figure { order: 2; } }
.showcase ul { padding-left: 1.1em; color: var(--muted); margin: 0; }
.showcase li { margin: .35em 0; }

.gallery { display: grid; gap: 20px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery figcaption { font-weight: 800; font-size: .95rem; color: var(--muted); margin-top: 8px; }

.band { position: relative; text-align: center; padding: 110px 20px; overflow: hidden; isolation: isolate; }
.band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg2) 0%, rgba(28, 18, 64, .45) 30%, rgba(28, 18, 64, .55) 70%, var(--bg) 100%); }
.band p { font-weight: 700; text-shadow: 0 1px 3px rgba(18, 6, 48, .95); margin-bottom: 24px; }
.note { font-size: .9rem; color: var(--muted); }

/* documents */
.doc { max-width: 780px; margin: 0 auto; padding: 24px 20px 72px; }
.doc header { margin-bottom: 28px; }
.doc .updated { color: var(--muted); font-weight: 700; }
.doc h2 { font-size: 1.6rem; margin-top: 1.8em; }
.doc h3 { font-size: 1.2rem; margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .3em 0; }
.doc .lead { font-size: 1.15rem; }
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.callout > :last-child { margin-bottom: 0; }
.table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 620px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
th { background: rgba(255, 255, 255, .06); font-weight: 900; }
tr:last-child td { border-bottom: 0; }
.toc { columns: 2 220px; background: var(--panel); border-radius: 12px; padding: 14px 18px 14px 36px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 900; padding: 14px 0; }
details[open] summary { border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 12px; }
details > :last-child { margin-bottom: 14px; }
.todo { background: #ffe08a; color: #3a2000; border-radius: 6px; padding: 0 6px; font-weight: 800; font-size: .92em; }

/* footer */
.foot { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(10, 5, 28, .45); padding: 36px 20px 28px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.foot-brand img { border-radius: 12px; }
.foot-brand strong { font: 1.2rem var(--head); color: var(--text); font-weight: 400; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: var(--text); font-weight: 700; text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--gold); text-decoration: underline; }
.fine { max-width: var(--wrap); margin: 24px auto 0; font-size: .82rem; color: #a99bc6; }

@media (max-width: 560px) {
  .top { padding: 10px 12px; }
  .brand span { display: none; }
  .top nav a:not(.btn) { padding: 8px 8px; }
  .hero { min-height: 0; padding: 88px 16px 56px; }
  .hero-bg { object-position: 50% 70%; }
  .section { padding: 56px 0; }
  .store { min-width: 0; flex: 1 1 180px; justify-content: center; }
}
