/* Skyrend — skyrend.games. Generated by scripts/landing/build_site.py — edit there. No external fonts or scripts. */
:root {
  color-scheme: dark;
  --bg: #0a0810;
  --bg-2: #110d18;
  --panel: #16111e;
  --panel-2: #1d1628;
  --edge: #3d2d52;
  --edge-hi: #7a5a2c;
  --text: #efe9f5;
  --muted: #bcaecb;
  --gold: #f0b44c;
  --gold-hi: #ffd98a;
  --ember: #ff7438;
  --rift: #a873ff;
  --ice: #8fd8ff;
  --venom: #5fe0a8;
  --focus: #ffd98a;
  --c: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { 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; color: var(--text); font: 17px/1.6 var(--sans);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% 8%, rgba(168, 115, 255, .10), transparent 60%),
    radial-gradient(900px 600px at 5% 70%, rgba(255, 116, 56, .07), transparent 60%);
  overflow-x: hidden;
}
/* The backdrop: embers rising through the torn sky. Two fixed layers of dots, each one tile taller than the screen,
   slide up by exactly one tile and loop (transform only: the compositor moves them, nothing repaints); a slow
   violet / ember glow breathes behind. Off under «reduce motion»; pointer-events none, behind every section. */
body::before, body::after {
  content: ""; position: fixed; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  background-repeat: repeat; will-change: transform;
}
body::before {
  height: calc(100vh + 520px); background-size: 520px 520px; opacity: .55;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 170, 90, .9), transparent 100%),
    radial-gradient(1.2px 1.2px at 37% 62%, rgba(255, 126, 56, .8), transparent 100%),
    radial-gradient(2px 2px at 58% 30%, rgba(255, 200, 120, .75), transparent 100%),
    radial-gradient(1.3px 1.3px at 74% 81%, rgba(255, 140, 70, .8), transparent 100%),
    radial-gradient(1.5px 1.5px at 91% 47%, rgba(255, 180, 100, .7), transparent 100%);
  animation: embers-a 38s linear infinite;
}
body::after {
  height: calc(100vh + 340px); background-size: 340px 340px; opacity: .35;
  background-image:
    radial-gradient(1px 1px at 21% 73%, rgba(196, 150, 255, .9), transparent 100%),
    radial-gradient(1.4px 1.4px at 49% 12%, rgba(255, 150, 80, .8), transparent 100%),
    radial-gradient(1px 1px at 83% 55%, rgba(255, 210, 150, .8), transparent 100%);
  animation: embers-b 61s linear infinite;
}
@keyframes embers-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -520px, 0); } }
@keyframes embers-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -340px, 0); } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }
.h2-ico { width: .8em; height: .8em; margin-right: .32em; vertical-align: -.06em; color: var(--ember, #ff7438); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff1cf; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1006; padding: 8px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.small { font-size: 15px; color: var(--muted); }
.label { margin: 0; font: 700 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
code, kbd { font: 14px/1.4 var(--mono); background: #241b31; border: 1px solid var(--edge); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }
kbd { border-bottom-width: 2px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 30px; height: 30px; color: var(--gold); }

/* headings: carved small caps */
.h1, .h2, h3, .tagline, .brand span { font-family: var(--serif); font-variant-caps: small-caps; letter-spacing: .03em; }
.h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 8px 0 14px; color: var(--gold-hi); text-shadow: 0 0 24px rgba(168, 115, 255, .35); }
.h2 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; margin: 0 0 12px; color: var(--gold-hi);
  text-shadow: 0 2px 0 #000, 0 0 28px rgba(168, 115, 255, .35); }
.h2::after { content: ""; display: block; width: 140px; height: 3px; margin-top: 10px;
  background: linear-gradient(90deg, var(--ember), var(--gold) 40%, transparent); clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); }
h3 { font-size: 23px; line-height: 1.2; margin: 0 0 6px; color: var(--text); }
.sec-lead { max-width: 760px; color: var(--muted); margin: 0 0 28px; }

/* chamfered panels with a 1px edge */
.card { position: relative; isolation: isolate; background: linear-gradient(160deg, var(--edge-hi), var(--edge) 40%, #2a2038);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.card::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10, 8, 16, .86); border-bottom: 1px solid #2a2038;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-hi); }
.brand span { font-size: 24px; font-weight: 700; letter-spacing: .06em; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: .04em; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--gold-hi); border-color: var(--ember); }
.lang { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; color: var(--text);
  text-decoration: none; font-weight: 700; font-size: 14px; border: 1px solid var(--edge); }
.lang:hover { border-color: var(--gold); color: var(--gold-hi); }
@media (min-width: 860px) { .nav { display: flex; } .lang { margin-left: 8px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px;
  font: 800 16px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.btn .ico { width: 22px; height: 22px; }
.btn-steam { color: #1a1006; background: linear-gradient(180deg, #ffd98a, #f0b44c 45%, #d9862c); box-shadow: 0 0 0 1px #000 inset; }
.btn-steam:hover { color: #000; background: linear-gradient(180deg, #ffe7b3, #ffc35c 45%, #ea9534); }
.btn-soon, .btn-ghost { position: relative; isolation: isolate; }
.btn-soon::before, .btn-ghost::before { content: ""; position: absolute; inset: 1px; z-index: -1;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.btn-soon { color: #f3e7ff; background: #7a5aa3; cursor: default; }
.btn-soon::before { background: linear-gradient(180deg, #4a3566, #2e2042); }
.btn-ghost { color: var(--gold-hi); background: var(--gold); }
.btn-ghost::before { background: rgba(14, 10, 20, .92); }
.btn-ghost:hover { color: #fff1cf; }
.btn-ghost:hover::before { background: #2a1f14; }
.btn:focus-visible { clip-path: none; outline: 3px solid var(--focus); outline-offset: 3px; }
.dl a:focus-visible, .thumb:focus-visible { outline-offset: -3px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ctas.center { justify-content: center; }

/* hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 680px; padding: 80px 0 48px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 16, .35) 0%, rgba(10, 8, 16, .25) 30%, rgba(10, 8, 16, .88) 68%, var(--bg) 100%); }
.hero-in { position: relative; }
.logo { margin: 0; width: min(560px, 92%); filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .8)) drop-shadow(0 0 30px rgba(168, 115, 255, .35)); }
.eyebrow { display: inline-block; margin: 14px 0 0; padding: 4px 12px; font: 700 13px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-hi); background: rgba(10, 8, 16, .7); border-left: 3px solid var(--ember); }
.tagline { margin: 14px 0 8px; font-size: clamp(30px, 6.4vw, 58px); line-height: 1.06; font-weight: 700; color: #fff;
  text-shadow: 0 3px 0 #000, 0 0 30px rgba(255, 116, 56, .45); }
.lead { max-width: 640px; margin: 0; font-size: 18px; color: #e6dcf0; text-shadow: 0 1px 2px #000; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.facts li { padding: 6px 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--text);
  background: rgba(22, 17, 30, .85); border: 1px solid var(--edge); }
@media (min-width: 900px) { .hero { min-height: min(92vh, 900px); padding-bottom: 72px; } }

/* sections */
.sec { padding: 64px 0; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }
.video { display: block; padding: 6px; --c: 20px; color: var(--text); text-decoration: none; }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; transition: filter .2s;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.video .play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 92px; height: 92px;
  margin: -62px 0 0 -46px; color: #1a1006; background: linear-gradient(180deg, #ffd98a, #f0b44c 45%, #d9862c);
  border-radius: 50%; box-shadow: 0 0 0 6px rgba(10, 8, 16, .55), 0 8px 30px rgba(0, 0, 0, .7), 0 0 40px rgba(255, 116, 56, .45); transition: transform .2s; }
.video .play .ico { width: 40px; height: 40px; margin-left: 6px; fill: currentColor; }
.video-cap { display: flex; align-items: center; gap: 10px; padding: 14px 12px 8px; font: 800 15px/1.3 var(--sans);
  letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); }
.video-cap .ico { fill: currentColor; }
.video:hover img { filter: brightness(1.12); }
.video:hover .play { transform: scale(1.06); }
.video:hover .video-cap { color: #fff1cf; }
.video:focus-visible { clip-path: none; outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 560px) { .video .play { width: 64px; height: 64px; margin: -48px 0 0 -32px; } .video .play .ico { width: 28px; height: 28px; } }
.pillars { display: grid; gap: 28px; }
.pillar { border-top: 2px solid var(--edge); padding-top: 18px; }
.pillar h3 { margin-top: 10px; }
.pillar p { margin: 0; color: var(--muted); }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

/* races */
.races { display: grid; gap: 22px; }
@media (min-width: 1020px) { .races { grid-template-columns: repeat(3, 1fr); } }
.race { display: flex; flex-direction: column; --acc: var(--gold); }
.race.acc-ice { --acc: var(--ice); } .race.acc-ember { --acc: var(--ember); } .race.acc-venom { --acc: var(--venom); }
.race-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--acc); }
.race-body { padding: 18px 18px 22px; }
.race h3 { font-size: 32px; color: var(--acc); text-shadow: 0 0 18px color-mix(in srgb, var(--acc) 40%, transparent); }
.race-body > p { margin: 0 0 16px; color: var(--muted); }
.race-hero { display: flex; gap: 14px; align-items: flex-start; padding: 12px; margin-bottom: 16px; background: rgba(0, 0, 0, .28); border-left: 3px solid var(--acc); }
.race-hero img { width: 72px; height: 90px; object-fit: cover; flex: none; border: 1px solid var(--edge); }
.race-hero .small { margin: 2px 0 0; font-size: 14px; line-height: 1.45; }
.hero-name { margin: 0; font: 700 19px/1.25 var(--serif); font-variant-caps: small-caps; color: var(--text); }
.units { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.units li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.25; color: var(--muted); text-align: center; overflow-wrap: anywhere; hyphens: auto; }
.units img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--edge); background: #000; }

/* bosses */
.sec-boss { background: linear-gradient(180deg, transparent, rgba(255, 116, 56, .06) 30%, rgba(168, 115, 255, .06) 70%, transparent); }
.bosses { display: grid; gap: 22px; }
@media (min-width: 900px) { .bosses { grid-template-columns: repeat(3, 1fr); } }
.boss { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px; align-items: start; }
.boss-art { position: relative; }
.boss-art img { width: 112px; height: 112px; object-fit: cover; border: 1px solid var(--edge-hi);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.wave { position: absolute; right: -6px; bottom: -6px; min-width: 38px; padding: 2px 6px; text-align: center; font: 800 18px/1.3 var(--serif);
  color: #1a1006; background: linear-gradient(180deg, #ffd98a, #e07a2a); box-shadow: 0 2px 8px #000; }
.boss h3 { font-size: 26px; color: var(--gold-hi); margin-top: 4px; }
.boss-line { margin: 0 0 8px; font: italic 17px/1.4 var(--serif); color: #ffc7a8; }
.boss .small { margin: 0; font-size: 15px; }
@media (min-width: 900px) { .boss { grid-template-columns: 1fr; padding: 0 0 20px; }
  .boss-art img { width: 100%; height: auto; aspect-ratio: 1; clip-path: none; border: 0; border-bottom: 2px solid var(--ember); }
  .wave { right: 14px; bottom: 14px; font-size: 22px; } .boss-body { padding: 0 20px; } }

/* features */
.feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 900px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.feat { padding: 20px 20px 22px; }
.feat h3 { font-size: 21px; margin-top: 12px; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }
.tile { display: inline-grid; place-items: center; width: 46px; height: 46px; color: var(--gold-hi);
  background: linear-gradient(180deg, #3a2814, #22170c); outline: 1px solid var(--edge-hi); outline-offset: -1px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.tile .ico { width: 24px; height: 24px; }

/* gallery + lightbox (CSS :target, no script) */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .gallery { gap: 14px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.thumb { display: block; height: 100%; border: 1px solid var(--edge); background: #000; }
.thumb img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: filter .2s, transform .2s; }
.thumb:hover { border-color: var(--gold); }
.thumb:hover img { filter: brightness(1.12); }
.lb { position: fixed; inset: 0; z-index: 80; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 3, 9, .98); }
.lb:target { display: flex; }
.lb-bg { position: absolute; inset: 0; }
.lb figure { position: relative; margin: 0; max-width: min(1600px, 100%); }
.lb img { width: auto; max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border: 1px solid var(--edge-hi); }
.lb figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 15px; }
.lb-nav { position: relative; display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.lb-nav a { display: grid; place-items: center; width: 48px; height: 48px; color: var(--gold-hi); background: var(--panel-2); border: 1px solid var(--edge); }
.lb-nav a:hover { border-color: var(--gold); }

/* final CTA */
.final { padding: 72px 0 96px; text-align: center;
  background: radial-gradient(600px 300px at 50% 40%, rgba(168, 115, 255, .18), transparent 70%); }
.final-in img { margin: 0 auto 10px; }
.final .h2::after { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.final p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* footer */
.foot { border-top: 1px solid #2a2038; padding: 32px 0 40px; background: #08060c; }
.foot-in { display: grid; gap: 20px; }
.foot .brand span { font-size: 20px; }
.foot p { margin: 8px 0 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 15px; }
.foot-nav a { color: var(--text); }
.foot-nav span { color: var(--muted); }
.foot-nav span a { color: var(--gold-hi); }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1fr auto; align-items: start; } }

/* sub pages */
.page { padding: 40px 0 72px; }
.doc { max-width: 880px; }
.doc-wide { max-width: 1200px; }
.doc h2 { margin-top: 40px; }
.doc h3 { margin-top: 26px; font-size: 21px; }
.back { font-size: 15px; }
.note { padding: 12px 16px; background: rgba(168, 115, 255, .12); border-left: 3px solid var(--rift); }
.legal h2 { font-family: var(--serif); font-variant-caps: small-caps; font-size: 28px; color: var(--gold-hi); margin: 36px 0 10px; }
.legal p, .legal li { color: #ddd3e8; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.table { margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--edge); }
thead th { background: #221a2e; color: var(--gold-hi); font-weight: 700; }
tbody th { color: var(--gold-hi); font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table table, .table tbody, .table tr, .table td, .table tbody th { display: block; width: 100%; }
  .table tr { margin-bottom: 12px; border: 1px solid var(--edge); background: var(--panel); }
  .table td, .table tbody th { border: 0; border-top: 1px solid #2a2038; }
  .table tbody th { border-top: 0; background: #221a2e; }
  .table td::before { content: attr(data-label); display: block; font: 700 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
}
.faqs { display: grid; gap: 10px; }
.faq { --c: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font: 700 24px/1 var(--serif); color: var(--gold); }
.faq[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq div { padding: 0 18px 6px; }
.faq div p { margin-top: 0; color: #ddd3e8; }
.press-top { display: grid; gap: 28px; }
@media (min-width: 900px) { .press-top { grid-template-columns: 1.1fr 1fr; } }
.facts-dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--edge); }
.facts-dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #2a2038; }
.facts-dl dt { color: var(--gold); font-weight: 700; font-size: 15px; }
.facts-dl dd { margin: 0; }
.dls { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.dl { --c: 10px; }
.dl a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--text); }
.dl a > .ico { width: 26px; height: 26px; color: var(--gold-hi); }
.dl strong { display: block; }
.dl .small { display: block; font-size: 14px; }
.dl a:hover strong { color: var(--gold-hi); }
.press-logo { width: min(420px, 100%); margin-top: 8px; }
.nf { text-align: center; padding-top: 72px; }
.nf .doc { margin: 0 auto; }
.nf-code { margin: 0; font: 700 clamp(90px, 22vw, 180px)/1 var(--serif); color: transparent;
  background: linear-gradient(180deg, var(--gold-hi), var(--ember)); -webkit-background-clip: text; background-clip: text; }
