:root {
  color-scheme: dark;
  --ink: #f4eddd;
  --muted: #adc2ba;
  --deep: #071a1f;
  --panel: #102d33;
  --raised: #183d40;
  --line: #486963;
  --gold: #dfb668;
  --gold-bright: #f6d998;
  --cyan: #73c8bf;
  --rust: #c97961;
  --page: #0a2228;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--page); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body::selection { color: var(--deep); background: var(--gold); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; letter-spacing: 0; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { letter-spacing: 0; line-height: 1.08; }
h1, h2, .brand { font-family: Georgia, "Times New Roman", serif; }
h2 { max-width: 820px; margin-bottom: 22px; font-size: clamp(2.15rem, 5vw, 4.8rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - var(--content)) / 2)); border-bottom: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease; }
.site-header.is-solid { background: rgba(7, 26, 31, .96); border-color: rgba(116, 155, 145, .28); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 1.08rem; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 7px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; }
.main-nav a { position: relative; color: #dce5df; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--gold); transition: right .18s ease; }
.main-nav a:hover::after, .main-nav a.is-current::after { right: 0; }
.nav-toggle { display: none; }
.icon-button { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--raised); cursor: pointer; }

.hero { position: relative; min-height: min(860px, 92svh); display: flex; align-items: flex-end; overflow: hidden; background: #536b69; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.hero-shade { position: absolute; inset: 0; background: rgba(4, 18, 22, .56); }
.hero-content { position: relative; z-index: 2; width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 150px 0 88px; }
.eyebrow { margin-bottom: 13px; color: var(--gold); font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0 0 20px; font-size: clamp(4.2rem, 11vw, 9.2rem); font-weight: 500; text-shadow: 0 3px 18px rgba(0,0,0,.42); }
.hero-copy { max-width: 700px; margin-bottom: 30px; color: #f1eee4; font-size: clamp(1.1rem, 2.1vw, 1.45rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid rgba(255,255,255,.4); border-radius: 7px; font-weight: 750; transition: transform .16s ease, background-color .16s ease, color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #14262a; background: var(--gold-bright); border-color: var(--gold-bright); }
.button-primary:hover { background: #fff0bf; }
.button-quiet { background: rgba(10, 38, 43, .76); backdrop-filter: blur(8px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; color: #d4e0da; font-size: .84rem; }
.hero-meta span::before { content: "◆"; margin-right: 8px; color: var(--cyan); font-size: .58rem; }
.scroll-cue { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--content)) / 2)); bottom: 34px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 1.35rem; }

.section { padding: 110px max(24px, calc((100vw - var(--content)) / 2)); }
.section-heading { max-width: 870px; }
.section-heading > p:last-child { max-width: 720px; font-size: 1.13rem; }
.difference { background: #e6e2d7; color: #152d31; }
.difference p { color: #46605d; }
.difference .eyebrow { color: #956724; }
.mechanic-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 18px; margin-top: 52px; }
.mechanic-strip article { position: relative; min-height: 245px; padding: 30px; border-top: 3px solid #b9893e; background: #f2efe6; }
.mechanic-strip article:nth-of-type(2) { border-color: #498d86; }
.mechanic-strip article:nth-of-type(3) { border-color: #af644f; }
.mechanic-strip img { margin: 22px 0 24px; filter: brightness(.38) sepia(.25); }
.mechanic-strip h3 { margin-bottom: 12px; }
.mechanic-strip p { margin-bottom: 0; }
.mechanic-number { position: absolute; top: 20px; right: 22px; color: #8c9a94; font: 700 .78rem ui-monospace, monospace; }
.flow-arrow { align-self: center; color: #6a7c76; font-size: 1.6rem; }

.showcase { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(560px, 1.7fr); gap: 54px; align-items: center; background: #0b252a; }
.showcase-copy > p:not(.eyebrow) { max-width: 520px; font-size: 1.06rem; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.showcase-tab { min-height: 39px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: transparent; cursor: pointer; }
.showcase-tab:hover, .showcase-tab.is-active { color: #13272a; background: var(--gold-bright); border-color: var(--gold-bright); }
.game-frame { margin: 0; border: 1px solid #54736d; background: var(--deep); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.game-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: 1; transition: opacity .12s ease; }
.game-frame img.is-changing { opacity: .2; }
.game-frame figcaption { padding: 13px 16px; color: var(--muted); font-size: .82rem; }

.features { background: #102f34; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 46px; }
.feature { min-height: 245px; padding: 28px; border: 1px solid #35575a; border-radius: 7px; background: #15373b; }
.feature > img:first-child { width: 36px; height: 36px; margin-bottom: 38px; }
.feature h3 { margin-bottom: 12px; }
.feature p { margin-bottom: 0; }
.feature-wide { grid-column: 1 / -1; min-height: 410px; display: grid; grid-template-columns: .75fr 1.45fr; gap: 44px; align-items: center; padding: 36px; overflow: hidden; border-color: #6e725f; background: #17363a; }
.feature-wide > div > img { margin-bottom: 30px; }
.feature-wide > img { width: 100%; max-height: 470px; object-fit: cover; border: 1px solid #63766e; }
.section-action { margin-top: 36px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--gold-bright); font-weight: 750; }
.text-link span { font-size: 1.5rem; transition: transform .18s ease; }
.text-link:hover span { transform: translateX(5px); }

.territory-story { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; color: #152d31; background: #d7e1dd; }
.territory-image { border: 1px solid #8ba29a; box-shadow: 0 24px 50px rgba(28, 54, 52, .2); }
.territory-copy h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
.territory-copy p:not(.eyebrow) { color: #465d59; }
.territory-copy .eyebrow { color: #8c5a22; }
.icon-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: #294642; }
.icon-list span { margin-right: 10px; color: #a46631; }

.download { background: #071a1f; }
.download-heading { max-width: 780px; }
.download-heading > p:last-child { font-size: 1.08rem; }
.download-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.download-card { min-height: 92px; display: grid; grid-template-columns: 48px 1fr 34px; gap: 18px; align-items: center; padding: 19px 22px; border: 1px solid #496965; border-radius: 7px; background: #133238; transition: border-color .16s ease, transform .16s ease, background-color .16s ease; }
.download-card:hover, .download-card.is-recommended { border-color: var(--gold); background: #1b4142; transform: translateY(-2px); }
.download-card strong, .download-card small { display: block; }
.download-card strong { color: var(--ink); font-size: 1.08rem; }
.download-card small { margin-top: 4px; color: var(--muted); font-size: .8rem; }
.platform-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #54736d; border-radius: 7px; color: var(--gold-bright); font-size: 1.5rem; }
.download-arrow { color: var(--gold); font-size: 1.6rem; }
.download-secondary { grid-column: 1 / -1; }
.release-note { margin: 22px 0 0; font-size: .84rem; }
.release-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

footer { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 36px max(24px, calc((100vw - var(--content)) / 2)); border-top: 1px solid #28474a; background: #06171b; }
footer p { margin: 0; font-size: .88rem; }
footer nav { display: flex; gap: 22px; color: var(--muted); font-size: .88rem; }
.footer-brand img { width: 30px; height: 30px; }

/* Guide */
.guide-page { height: 100svh; overflow: hidden; background: #0a2228; }
.guide-page .site-header { position: fixed; }
.guide-shell { height: 100svh; display: grid; grid-template-columns: 290px minmax(0, 1fr); padding-top: 76px; }
.guide-sidebar { min-height: 0; display: flex; flex-direction: column; padding: 28px 18px; border-right: 1px solid #36565a; background: #0d292f; }
.guide-sidebar h1 { margin-bottom: 20px; font-size: 2.15rem; font-weight: 500; }
.guide-search { height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #446368; border-radius: 6px; background: #091f24; }
.guide-search span { color: var(--gold); font-size: 1.35rem; }
.guide-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .9rem; }
.guide-search input::placeholder { color: #829c96; }
.guide-nav { min-height: 0; display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-right: 5px; overflow-y: auto; }
.guide-nav button { min-height: 43px; padding: 8px 12px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.guide-nav button:hover { color: var(--ink); background: #16383c; }
.guide-nav button.is-active { color: var(--ink); border-color: #786b48; background: #25494a; }
.guide-content { min-height: 0; padding: 48px max(30px, calc((100vw - 1190px) / 2)); overflow-y: auto; }
.guide-article-head { max-width: 820px; }
.guide-article-head h2 { margin-bottom: 14px; font-size: clamp(2.4rem, 5vw, 5rem); }
.guide-article-head > p:last-child { max-width: 720px; font-size: 1.08rem; }
.guide-visual { max-width: 1040px; margin: 34px 0 0; border: 1px solid #527069; background: #06191d; }
.guide-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide-visual figcaption { padding: 10px 13px; color: var(--muted); font-size: .78rem; text-align: right; }
.guide-flow { max-width: 1040px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 22px; }
.guide-flow span { min-height: 46px; display: grid; place-items: center; padding: 8px; border: 1px solid #466462; border-radius: 6px; color: var(--ink); background: #18383d; font-weight: 700; text-align: center; }
.guide-flow b { color: var(--gold); font-size: 1.35rem; }
.guide-rules { max-width: 1040px; margin-top: 36px; }
.guide-rules > h3 { color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.guide-rule-grid article { min-height: 112px; display: flex; gap: 14px; padding: 20px; border: 1px solid #36575a; border-radius: 7px; background: #14353a; }
.guide-rule-grid article > span { color: var(--cyan); font-size: .75rem; }
.guide-rule-grid h4 { margin-bottom: 7px; font-size: 1rem; }
.guide-rule-grid p { margin-bottom: 0; font-size: .88rem; }
.guide-pager { max-width: 1040px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 38px 0; color: var(--muted); }
.guide-pager .icon-button { font-size: 1.25rem; }
.noscript { position: fixed; inset: 90px 20px auto; z-index: 40; padding: 16px; color: var(--ink); background: #7b352d; }

@media (max-width: 980px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .nav-toggle { display: grid; place-content: center; gap: 5px; }
  .nav-toggle span { width: 19px; height: 2px; display: block; background: var(--ink); }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 18px; border-bottom: 1px solid #41605d; background: #092126; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 4px; }
  .main-nav a::after { display: none; }
  .hero { min-height: 88svh; }
  .hero-content { padding-bottom: 74px; }
  .scroll-cue { display: none; }
  .section { padding-block: 78px; }
  .mechanic-strip { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .showcase { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-template-columns: 1fr; }
  .territory-story { grid-template-columns: 1fr; }
  .download-options { grid-template-columns: 1fr; }
  .download-secondary { grid-column: auto; }
  .guide-shell { grid-template-columns: 240px minmax(0, 1fr); padding-top: 68px; }
  .guide-content { padding-inline: 24px; }
}

@media (max-width: 680px) {
  h2 { font-size: 2.45rem; }
  .hero { min-height: 84svh; }
  .hero-media { object-position: 54% center; }
  .hero-content { width: calc(100% - 34px); padding-top: 120px; }
  .hero h1 { font-size: clamp(4rem, 22vw, 6.4rem); }
  .hero-copy { font-size: 1.05rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 7px 14px; }
  .section { padding: 68px 17px; }
  .mechanic-strip article { min-height: 210px; }
  .showcase { gap: 32px; }
  .showcase-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { padding: 22px; }
  .feature { min-height: 210px; }
  .territory-story { gap: 34px; }
  .download-card { grid-template-columns: 42px 1fr 24px; gap: 12px; padding-inline: 14px; }
  footer { grid-template-columns: 1fr; gap: 14px; }
  .guide-page { height: auto; overflow: auto; }
  .guide-shell { min-height: 100svh; height: auto; display: block; padding-top: 68px; }
  .guide-sidebar { position: static; padding: 26px 17px 12px; border-right: 0; border-bottom: 1px solid #36565a; }
  .guide-sidebar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .guide-sidebar h1 { margin-bottom: 10px; font-size: 1.8rem; }
  .guide-nav { max-width: 100%; flex-direction: row; margin-top: 12px; padding: 0 0 10px; overflow-x: auto; }
  .guide-nav button { min-width: max-content; }
  .guide-content { padding: 32px 17px; overflow: visible; }
  .guide-article-head h2 { font-size: 2.7rem; }
  .guide-flow { grid-template-columns: 1fr; }
  .guide-flow b { transform: rotate(90deg); justify-self: center; }
  .guide-rule-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
