:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #060b14; color: #ecf2fc; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.75; background: radial-gradient(ellipse at 90% 0, #152b48 0, transparent 45%); }
a { color: #9bcbff; text-underline-offset: .2em; }
a:hover { color: #fff; }
a:focus-visible { outline: 3px solid #a3cfff; outline-offset: 5px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -5rem; background: #152b48; padding: .7rem; z-index: 10; }
.skip:focus { top: 1rem; }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 48px)); margin: auto; }
.site-header { display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 24px 0; border-bottom: 1px solid #2c3b52; }
.brand { color: #fff; font-size: 1.05rem; font-weight: 750; text-decoration: none; display: flex; gap: .7rem; align-items: center; }
.brand img { border-radius: 8px; }
.brand span { line-height: 1.2; white-space: nowrap; }
.brand small { display: block; margin-top: .35rem; color: #8eccef; font-size: .65rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.3rem; font-size: .9rem; }
nav a[aria-current="page"] { color: white; text-decoration-thickness: 3px; }
.breadcrumbs { margin: 28px 0; font-size: .85rem; color: #aebdd1; }
.breadcrumbs span { margin-left: .5rem; }
.hero { max-width: 860px; padding: 28px 0 38px; }
.eyebrow { color: #9bcbff; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1.08; letter-spacing: -.04em; margin: 16px 0 24px; text-wrap: balance; }
.intro { font-size: 1.2rem; color: #c2cede; line-height: 1.7; }
.button { display: inline-block; border-radius: 7px; padding: .65rem 1.2rem; background: #a3cfff; color: #051324; text-decoration: none; font-weight: 750; }
.button:hover { color: #051324; background: #d5eaff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 26px; }
.small { font-size: .87rem; color: #aebdd1; }
.feature-strip { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; padding: 20px 0; border-block: 1px solid #2c3b52; font-weight: 650; }
.key-art { margin: 32px 0; }
.key-art img { width: 100%; height: auto; display: block; border-radius: 12px; }
figcaption { font-size: .85rem; color: #aebdd1; margin-top: .7rem; }
.content { max-width: 960px; }
section { margin: 42px 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 18px; }
h3 { font-size: 1.15rem; line-height: 1.35; margin-top: 0; }
p, li { max-width: 78ch; color: #c2cede; }
strong { color: #ecf2fc; }
li { padding-left: .3rem; margin: .65rem 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article { background: #0f1a2a; border: 1px solid #2c3b52; padding: 24px; border-radius: 10px; }
.cards p { font-size: .95rem; }
table { border-collapse: collapse; width: 100%; }
td, th { border-bottom: 1px solid #2c3b52; padding: 12px; text-align: left; }
th { background: #0f1a2a; }
td { color: #c2cede; }
.next { padding: 28px; margin: 48px 0; background: #10233a; border-radius: 10px; }
.site-footer { padding: 30px 0 44px; border-top: 1px solid #2c3b52; }
.lore-navigation { border-block: 1px solid #2c3b52; padding: 18px 0; margin-bottom: 30px; }
.lore-contents { padding: 20px; border: 1px solid #2c3b52; border-radius: 8px; margin: 24px 0; }
.lore-faction-cards { grid-template-columns: repeat(2, 1fr); }
.lore-facts { display: flex; flex-wrap: wrap; gap: 1rem 3rem; border-block: 1px solid #2c3b52; padding: 16px 0; }
.lore-facts dt { font-size: .8rem; color: #aebdd1; } .lore-facts dd { margin: 0; }
.lore-entry { scroll-margin-top: 24px; } .lore-entry p { max-width: 74ch; }
.lore-chapter { border-top: 1px solid #2c3b52; padding: 16px 0; }
.lore-chapter summary { font-size: 1.1rem; font-weight: 600; cursor: pointer; color: #ecf2fc; }
.lore-chapter summary:focus-visible { outline: 3px solid #a3cfff; outline-offset: 5px; }
.lore-related { padding-top: 24px; }
@media (max-width: 760px) { .site-header { align-items: flex-start; flex-direction: column; gap: 16px; } .cards { grid-template-columns: 1fr; } .site-header, main, .site-footer { width: calc(100% - 32px); } .hero { padding-top: 10px; } td, th { padding: 9px 6px; } }
