:root {
  color-scheme: dark;
  --bg: #121b17;
  --surface: #1a261f;
  --text: #efeddf;
  --muted: #aeb5a8;
  --gold: #cbb58a;
  --line: #364137;
  --paper: #edeade;
  --ink: #26372d;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
::selection { background: var(--gold); color: var(--bg); }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 10; background: var(--paper); color: var(--ink); padding: 10px 20px; }
.skip:focus { top: 10px; }
.nav { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; font: 24px Georgia, serif; white-space: nowrap; letter-spacing: -.6px; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-download { color: var(--gold); border: 1px solid #6c6851; padding: 9px 18px; }
.hero { position: relative; overflow: hidden; min-height: 670px; display: grid; align-items: center; border-block: 1px solid #435348; background: #253c2e; }
.hero-image { position: absolute; inset: -165px 0 0 15%; width: 85%; height: calc(100% + 165px); object-fit: cover; object-position: 50% center; mask-image: linear-gradient(to right, transparent, #000 22%); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1713ee 0%, #0d1a16b5 35%, #111b1620 70%), linear-gradient(0deg, #111b17c0, transparent 35%); }
.hero-content { position: relative; z-index: 1; padding-block: 62px 80px; }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold); display: flex; align-items: center; gap: 12px; font-weight: 600; }
.eyebrow::before { content: '◆'; font-size: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(58px, 6.7vw, 92px); line-height: 1.02; letter-spacing: -3.5px; margin: 25px 0; max-width: 650px; }
h1 em { font-weight: 400; color: #e5d4ad; }
.hero-content p { color: #d4d8cb; font-size: 16px; line-height: 1.9; max-width: 410px; margin-bottom: 0; }
.actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 13px 23px; color: var(--text); border: 1px solid #98a28a; text-decoration: none; font-size: 12px; font-weight: 650; min-height: 48px; background: #18271f50; cursor: pointer; }
.button:hover { background: #394b39; }
.button.primary { background: var(--gold); color: #1b271e; border-color: var(--gold); }
.button.primary:hover { background: #decba6; }
.hero-foot { position: absolute; bottom: 20px; z-index: 1; width: 100%; }
.hero-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; color: #d0d4c6; letter-spacing: .5px; }
.hero-foot a { text-decoration: none; }
.edition { border-bottom: 1px solid var(--line); }
.edition .wrap { padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; color: var(--muted); }
.edition strong { color: var(--gold); font-weight: 500; }
.section { padding-block: 95px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(36px, 4.2vw, 55px); line-height: 1.12; letter-spacing: -1.6px; margin: 13px 0 0; }
.section-head p { color: var(--muted); max-width: 365px; font-size: 14px; margin-bottom: 0; }
.index { color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 26px; }
.relic { min-width: 0; }
.relic-photo { display: block; position: relative; overflow: hidden; background: #25372a; border: 1px solid #425144; text-decoration: none; }
.relic-photo img { width: 100%; aspect-ratio: 960 / 527; object-fit: contain; transition: transform .35s; }
.relic-photo:hover img { transform: scale(1.025); }
.expand { position: absolute; bottom: 12px; right: 12px; background: #101b16d9; width: 31px; height: 31px; display: grid; place-items: center; color: var(--gold); font-size: 17px; }
.relic-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 19px; }
.relic h3 { font-size: 27px; letter-spacing: -.5px; margin: 0; }
.relic-label span { font: 10px Consolas, monospace; color: var(--gold); }
.relic p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 480px; margin: 9px 0 0; }
.capture-note { color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 35px; }
.paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.paper .index { color: #7b643c; }
.paper .section-head p { color: #617061; }
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: start; }
.journey-photo { margin: 0; position: sticky; top: 30px; }
.journey-photo img { border: 1px solid #b9c1af; width: 100%; }
.journey-photo figcaption { color: #65715f; font-size: 11px; margin-top: 12px; }
.journey-step { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding-bottom: 29px; margin-bottom: 26px; border-bottom: 1px solid #cbd0bd; }
.journey-step:last-child { margin-bottom: 0; }
.journey-step .number { font: 11px Consolas, monospace; color: #80673a; padding-top: 6px; }
.journey-step h3 { font-size: 28px; margin: 0 0 9px; line-height: 1.2; }
.journey-step p { color: #5b6a59; font-size: 14px; margin: 0; }
.text-link { font-size: 12px; color: inherit; text-decoration-color: #9fa78c; }
.journey-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.download-section { border-bottom: 1px solid var(--line); }
.download-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.download-info > p { color: var(--muted); font-size: 14px; }
.platform-links { display: grid; gap: 12px; margin-top: 25px; }
.platform-link { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 13px 0; text-decoration: none; font-size: 14px; }
.platform-link span { color: var(--gold); }
.platform-link:hover { color: var(--gold); }
.beta-note { font-size: 12px; line-height: 1.85; margin-top: 30px; color: var(--muted); }
.beta-note strong { color: var(--gold); font-weight: 500; }
.download-box { border: 1px solid #5e6651; background: var(--surface); padding: 32px; }
.download-box h3 { font-size: 29px; margin-bottom: 5px; }
.download-box .version { color: var(--gold); font: 11px Consolas, monospace; }
.selection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 27px; }
label { color: #b9c2ae; font-size: 11px; display: block; margin-bottom: 8px; }
select { appearance: auto; width: 100%; min-height: 46px; padding: 10px 12px; background: #111b16; color: var(--text); border: 1px solid #5b6955; border-radius: 0; font-size: 14px; }
.requirement { margin-top: 24px; font-size: 12px; color: var(--muted); }
.requirement dt { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-top: 14px; }
.requirement dd { margin: 5px 0 0; }
.requirement a { color: var(--text); }
.file-name { border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 18px; font: 11px/1.8 Consolas, monospace; color: var(--muted); overflow-wrap: anywhere; }
.download-box .button { width: 100%; margin-top: 18px; }
.download-box .small { font-size: 11px; color: var(--muted); margin-top: 14px; margin-bottom: 0; }
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 55px; }
.install article { border-top: 1px solid var(--line); padding-top: 20px; }
.install span { font: 11px Consolas, monospace; color: var(--gold); }
.install h3 { font-size: 24px; margin: 10px 0; }
.install p { font-size: 13px; color: var(--muted); margin: 0; }
.faq { max-width: 850px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-size: 15px; }
details p { color: var(--muted); font-size: 13px; margin: 16px 0 0; max-width: 750px; }
.final-note { border: 1px solid var(--line); margin-top: 40px; padding: 22px 28px; color: var(--muted); font-size: 12px; }
.footer { border-top: 1px solid var(--line); padding-block: 32px 45px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 35px; align-items: start; }
.footer-brand { font: 23px Georgia, serif; }
.footer p { font-size: 10px; color: var(--muted); margin: 10px 0 0; max-width: 530px; }
.footer-links { display: flex; gap: 25px; flex-wrap: wrap; font-size: 11px; color: var(--gold); }
.footer-links a { text-decoration: none; }
.lightbox { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 18px; border: 1px solid #7d836b; background: var(--bg); color: var(--text); }
.lightbox::backdrop { background: #080f0dee; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.lightbox h2 { font-size: 23px; margin: 0; }
.lightbox button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.lightbox img { width: 100%; max-height: 72dvh; object-fit: contain; }
.lightbox-controls { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding-top: 16px; }
.lightbox-controls p { font-size: 11px; margin: 0; color: var(--muted); }
body.modal-open { overflow: hidden; }
@media (min-width: 1700px) { .hero { min-height: 780px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .nav-links { gap: 22px; }
  .hero { min-height: 610px; }
  h1 { font-size: 73px; }
  .section { padding-block: 75px; }
  .journey { gap: 35px; }
  .download-layout { gap: 35px; }
  .download-box { padding: 25px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 75px; gap: 14px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand img { width: 29px; height: 29px; }
  .nav-links { gap: 16px; font-size: 11px; }
  .nav-links .optional { display: none; }
  .nav-links .nav-download { padding: 7px 12px; }
  .hero { min-height: 740px; align-items: end; }
  .hero-image { top: -105px; left: 0; width: 100%; object-position: 50% top; height: 535px; mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .hero::after { background: linear-gradient(0deg, #121b17 7%, #121b17f0 34%, #121b1720 80%); }
  .hero-content { padding-block: 270px 70px; }
  h1 { font-size: 58px; letter-spacing: -2px; margin-block: 20px; }
  .hero-content p { font-size: 14px; max-width: 380px; }
  .eyebrow { letter-spacing: 1.7px; font-size: 9px; }
  .hero-foot .wrap { font-size: 9px; }
  .hero-foot .photo-info { display: none; }
  .button { gap: 17px; padding-inline: 18px; }
  .edition .wrap { display: block; padding-block: 19px; line-height: 1.9; }
  .edition .targets { display: block; margin-top: 5px; }
  .section { padding-block: 62px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head h2 { font-size: 40px; letter-spacing: -1.2px; }
  .section-head p { margin-top: 20px; }
  .gallery { grid-template-columns: 1fr; gap: 30px; }
  .relic h3 { font-size: 26px; }
  .relic-label { margin-top: 15px; }
  .journey, .download-layout { grid-template-columns: 1fr; gap: 30px; }
  .journey-photo { position: static; }
  .journey-step h3 { font-size: 25px; }
  .download-box { padding: 22px; }
  .install { grid-template-columns: 1fr; gap: 25px; margin-top: 38px; }
  .footer .wrap { display: block; }
  .footer-links { margin-top: 25px; gap: 20px; }
  .lightbox { padding: 12px; }
  .lightbox h2 { font-size: 20px; }
  .final-note { padding: 20px; }
}
@media (max-width: 360px) {
  .nav-links > a:first-child { display: none; }
  .brand { font-size: 21px; }
  h1 { font-size: 50px; }
  .hero-content { padding-top: 235px; }
  .hero { min-height: 730px; }
  .selection-grid { grid-template-columns: 1fr; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .relic-photo img { transition: none; }
}

/* Both language versions share the same layout and assets. */
.language-switch{display:inline-flex;align-items:center;gap:0;border:1px solid var(--line);flex-shrink:0;line-height:1.4}
.nav-links .language-switch a{font-size:11px;padding:7px 9px;color:var(--muted);text-decoration:none;white-space:nowrap}
.nav-links .language-switch a[aria-current="page"]{color:var(--gold);box-shadow:inset 0 -2px var(--gold)}
.nav-links .language-switch a:hover{color:var(--gold)}
@media(max-width:520px){.nav{flex-wrap:wrap;gap:13px;padding-block:15px}.nav-links{width:100%;justify-content:space-between;gap:12px}.nav-links .language-switch a{font-size:11px}}

.screenshot-archive { margin-top: 2rem; }
.screenshot-archive summary { cursor: pointer; font-weight: 600; padding: .8rem 0; }
.screenshot-archive .gallery { margin-top: 1.2rem; }

/* Per-relic slideshows keep the full, unmodified image ratio. */
.gallery-help { color: var(--muted); font-size: 12px; margin: 0 0 25px; max-width: 760px; }
.slideshow { min-width: 0; }
.slideshow-viewport { aspect-ratio: 960 / 527; background: var(--surface); touch-action: pan-y pinch-zoom; }
.slide[hidden], .slideshow-controls[hidden] { display: none; }
.slideshow-viewport .slide { width: 100%; height: 100%; }
.slideshow-viewport .slide img { width: 100%; height: 100%; object-fit: contain; }
.slideshow-controls { display: flex; gap: 10px; align-items: center; padding-top: 12px; }
.slideshow-controls button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.slideshow-controls button:hover { border-color: var(--gold); color: var(--gold); }
.slideshow-controls .slide-play { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; }
.slideshow-controls .slide-play[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.slide-count { margin-right: auto; color: var(--gold); font: 12px Consolas, monospace; white-space: nowrap; }
.relic .slide-caption { min-height: 3.6em; margin-top: 12px; font-size: 11px; color: var(--muted); }
@media(max-width: 700px) { .slideshow-controls { gap: 8px; } .relic .slide-caption { min-height: 0; } }
