@charset "UTF-8";

:root {
  --bg: #080f1e;
  --surface: #0e1a30;
  --text: #f0f5ff;
  --muted: #a8b8d0;
  --accent: #6094df;
  --accent-heading: #477fd1;
  --accent-strong: #17418c;
  --accent-hover: #2054a6;
  --on-accent: #ffffff;
  --line: #293c5c;
  --display: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --container: 1280px;
  --font-reading: 1.0625rem;
  --font-controls: .9375rem;
  --font-note: .8125rem;
  --font-caption: .875rem;
  --font-kicker: .75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); font-family: var(--body); font-size: var(--font-reading); line-height: 1.7; -webkit-font-smoothing: antialiased; }
body:has(.image-dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
[data-static-image], [data-chat-image], [data-banner-open], [data-gallery-shot], [data-gallery-enlarge] { cursor: zoom-in; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
figure, p, h1, h2, h3 { margin: 0; }
button { border: 0; }
::selection { color: var(--bg); background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 112px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 20px; color: var(--bg); background: var(--accent); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.section { padding-block: 112px; }
h2 { font-family: var(--display); font-size: clamp(45px, 4.4vw, 68px); line-height: .99; font-weight: 600; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; }
h2 em { color: var(--accent-heading); font-style: normal; }
.body-copy { color: var(--muted); font-size: var(--font-reading); line-height: 1.9; }
.button { display: inline-flex; min-height: 52px; justify-content: center; align-items: center; gap: 13px; padding: 14px 22px; border: 1px solid transparent; border-radius: 2px; font-size: var(--font-controls); line-height: 1.5; font-weight: 800; transition: background .2s, color .2s, border-color .2s; }
.button-primary { background: var(--accent-strong); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: #35527c; background: #0e1b32b3; color: var(--text); }
.button-outline:hover { background: #19345b; border-color: var(--accent); }
.button .end-icon { width: 16px; }
.beta { display: inline-block; border: 1px solid #466eab; color: var(--accent); padding: 2px 6px; font-family: var(--body); font-size: var(--font-kicker); line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.button-primary .beta { color: inherit; border-color: #ffffff80; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 10px; font-size: var(--font-controls); font-weight: 800; color: var(--accent); }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(5px); }

/* The home has its own styles so ranking and updates keep their layout. */
.site-nav { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; border-bottom: 1px solid #b3d2ff26; background: linear-gradient(#080f1e33, #080f1e55), url("./src/UniverseMedium.png") center / cover, #080f1e; }
.nav-inner { min-height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { flex-shrink: 0; display: block; width: 149px; }
.brand img { width: 100%; }
.nav-links { display: flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 26px; margin-left: auto; }
.nav-links a { position: relative; padding-block: 32px; color: #cfddf2; font-size: var(--font-caption); font-weight: 700; white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; flex-shrink: 0; align-items: center; gap: 26px; margin-left: 15px; }
.language-switch { display: flex; align-items: center; gap: 4px; }
.language-switch a { display: grid; place-items: center; min-height: 44px; min-width: 40px; border: 1px solid transparent; border-radius: 6px; transition: background .2s, border-color .2s; }
.language-switch a:hover { background: #18345b; }
.language-switch a[aria-current] { background: #142b4c; border-color: #477fd1; }
.language-flag { width: 28px; height: 19px; border-radius: 2px; overflow: hidden; }
.nav-cta { min-height: 40px; padding: 10px 16px; font-size: var(--font-controls); white-space: nowrap; }
.nav-cta .icon { width: 15px; height: 15px; }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 25px; background: transparent; border: 1px solid var(--line); }
.mobile-nav { display: none; }

/* A full-width game world, with a quiet area for the opening copy. */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 860px; }
.hero-art { position: absolute; z-index: -3; inset: 0 0 0 31%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 51% center; }
.hero-art::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, var(--bg), transparent 40%), linear-gradient(0deg, var(--bg) 0%, transparent 24%, #080f1e12 75%, #080f1e44); }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, #080f1e 0%, #080f1ef0 24%, #080f1e9c 44%, #080f1e05 69%); }
.hero-grid { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: url("./src/UniverseMedium.png") center / cover; opacity: .24; mask-image: linear-gradient(90deg, #000, #0006 35%, transparent 70%); }
.hero-inner { position: relative; min-height: 860px; padding-top: 155px; padding-bottom: 105px; pointer-events: none; }
.hero-copy { width: 610px; max-width: 57%; pointer-events: auto; }
h1 { font-family: var(--display); font-size: clamp(74px, 6.8vw, 105px); font-weight: 700; line-height: .84; letter-spacing: -.015em; overflow-wrap: anywhere; }
h1 > span { display: block; }
h1 .hero-title-accent { color: var(--accent-heading); }
.hero-lead { margin-top: 30px; max-width: 490px; color: #c0cee3; font-size: var(--font-reading); line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; align-items: stretch; flex-wrap: wrap; }
.hero-actions .button { padding-inline: 17px; font-size: var(--font-controls); gap: 10px; }
.hero-actions .icon { width: 20px; height: 20px; }
.hero-note { color: #9aafcd; margin-top: 13px; font-size: var(--font-note); }
.world-strip { background: var(--accent-strong); color: var(--on-accent); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; }
.strip-inner > span { display: flex; align-items: center; gap: 24px; font-family: var(--display); text-transform: uppercase; font-size: 20px; font-weight: 600; letter-spacing: .04em; }
.strip-inner i { font-family: Arial, sans-serif; font-style: normal; font-size: 16px; }

.world-section { position: relative; isolation: isolate; background: #080f1e; }
.world-layout { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 94px; }
.world-media { position: relative; }
.world-picture { display: block; position: relative; aspect-ratio: 1.38; overflow: hidden; border: 1px solid #304e78; background: #10294b; }
.world-picture::after { position: absolute; inset: 0; border: 10px solid #080f1e20; content: ""; pointer-events: none; }
.world-picture img { position: absolute; width: auto; max-width: none; height: 140%; left: 50%; top: -9%; transform: translateX(-50%); }
.world-picture-footer { display: flex; justify-content: space-between; align-items: center; border: 1px solid #304e78; border-top: 0; background: #122747; padding: 14px 19px; color: #bfd9ff; font-size: var(--font-note); letter-spacing: .12em; }
.world-picture-footer span:last-child { letter-spacing: .5em; }
.image-note { margin-top: 13px; color: #9bafcc; font-size: var(--font-note); }
.world-copy h2 { font-size: clamp(43px, 4.2vw, 63px); }
.section-lead { margin-top: 25px; font-size: var(--font-reading); color: #cedcf0; line-height: 1.9; }
.world-copy .body-copy { margin-top: 16px; font-size: var(--font-reading); }
.world-copy .text-link { margin-top: 20px; }
/* Translation is a product highlight, illustrated with real chat captures. */
.translation-section { background: radial-gradient(ellipse at 95% 30%, #153c7640, transparent 55%), #0c182c; border-block: 1px solid #203754; }
.translation-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px 72px; align-items: center; }
.translation-copy .section-lead { max-width: 540px; }
.translation-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 30px 0; padding-top: 24px; border-top: 1px solid #304b74; }
.translation-facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.translation-facts > div:nth-child(2) { text-align: center; }
.translation-facts > div:last-child { text-align: right; }
.translation-facts dt { color: #b7c8e2; font-size: var(--font-caption); line-height: 1.6; }
.translation-facts dd { margin: 0; color: #8bb8ff; font-family: var(--display); font-size: 54px; font-weight: 600; line-height: 1; }
.translation-demo { min-width: 0; }
.chat-view-switch { display: flex; gap: 8px; margin-bottom: 20px; padding: 5px; border: 1px solid #2a4264; background: #071023; }
.chat-view-switch button { display: flex; flex: 1; min-width: 0; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px; color: #b8cae5; background: transparent; font-size: var(--font-controls); font-weight: 700; line-height: 1.5; transition: color .2s, background .2s; }
.chat-view-switch button[aria-pressed="true"] { background: var(--accent-strong); color: var(--on-accent); }
.chat-view-switch button:hover { color: #fff; background: #18345d; }
.chat-view-switch button[aria-pressed="true"]:hover { background: var(--accent-hover); }
.chat-example { border: 1px solid #2a4264; background: #09152a; }
.chat-example:not([hidden]) ~ .chat-example:not([hidden]) { margin-top: 16px; }
.chat-image-link { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 100%; max-width: 100%; min-width: 0; min-height: 130px; aspect-ratio: 703 / 180; overflow: hidden; background: #02050c; }
.chat-image-link img { width: 100%; height: auto; }
.chat-example figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 12px 16px; border-top: 1px solid #2a4264; color: #d3e2f9; font-size: var(--font-caption); line-height: 1.5; }
.chat-example figcaption > a { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: #8bb8ff; }
.chat-example figcaption .icon { width: 18px; height: 18px; }
.translation-details { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 36px; }
.translation-details h3 { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.1; text-transform: uppercase; }
.translation-details h3 + p { margin-top: 14px; }
.translation-purpose { align-self: center; }

.experience-section { position: relative; isolation: isolate; padding-top: 112px; background: #080f1e; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 40px; }
.section-heading > .body-copy { max-width: 390px; padding-bottom: 5px; font-size: var(--font-reading); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { min-width: 0; border-bottom: 1px solid #2a4264; }
.feature-picture { display: block; position: relative; overflow: hidden; aspect-ratio: 1920 / 845; background: #12233d; border: 1px solid #304e78; }
.feature-picture img { width: 100%; transition: transform .5s; }
.feature:hover .feature-picture img { transform: scale(1.035); }
.feature-index { position: absolute; bottom: 10px; left: 12px; display: grid; place-items: center; width: 30px; height: 30px; background: #09162bde; color: var(--accent); font-family: var(--display); font-size: 17px; }
.feature-copy { padding: 25px 0 28px; }
.feature h3 { font-family: var(--display); font-size: 29px; line-height: 1.08; font-weight: 600; text-transform: uppercase; }
.feature-copy .body-copy { margin-top: 14px; font-size: var(--font-reading); line-height: 1.85; }
.social-panel { margin-top: 65px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #122747; border: 1px solid #2a4872; }
.social-picture { display: block; position: relative; min-height: 290px; overflow: hidden; }
.social-picture img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center; }
.social-copy { padding: 35px 38px; }
.social-copy h3 { font-family: var(--display); text-transform: uppercase; font-size: 35px; line-height: 1.08; font-weight: 600; }
.social-copy .body-copy { margin-top: 15px; font-size: var(--font-reading); }
.social-copy .text-link { margin-top: 12px; font-size: var(--font-controls); }
/* Real Spectrefounder captures introduce the world's recoverable past. */
.spectre-section { position: relative; isolation: isolate; background: #0a1425; }
.spectre-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #0a1425e8, #0a1425c9 50%, #0a1425), url("./src/UniverseMedium.png") center / cover; pointer-events: none; }
.spectre-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.spectre-intro .section-lead { max-width: 630px; }
.spectre-intro > .body-copy { padding-bottom: 4px; }
.spectre-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.spectre-scene { min-width: 0; }
.spectre-image { display: block; position: relative; border: 1px solid #304e78; background: #03070e; }
.spectre-image img { width: 100%; height: auto; }
.spectre-image .expand-icon { right: 12px; bottom: 12px; }
.spectre-image:hover, .spectre-image:focus-visible { border-color: var(--accent); }
.spectre-scene figcaption { padding-top: 24px; }
.spectre-section h3 { font-family: var(--display); font-size: 32px; line-height: 1.1; font-weight: 600; text-transform: uppercase; }
.spectre-scene .body-copy { margin-top: 12px; }
/* Full v2 artwork keeps its own composition and localized lettering. */
.showcase-section { position: relative; isolation: isolate; overflow: hidden; background: #080f1e; border-block: 1px solid #203754; }
.world-section::before, .experience-section::before, .showcase-section::before, .community-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#080f1e55, #080f1e33 55%, #080f1eaa), url("./src/UniverseMedium.png") center / cover; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); pointer-events: none; }
.showcase-section .section-heading { align-items: center; }
.banner-track { --banner-width: min(880px, calc(100vw - 80px)); position: relative; display: flex; gap: 28px; overflow-x: auto; padding: 14px calc((100% - var(--banner-width)) / 2) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-track:focus-visible { outline-offset: -3px; }
.banner-slide { position: relative; display: block; flex: 0 0 var(--banner-width); min-width: 0; aspect-ratio: 16 / 9; scroll-snap-align: center; border: 1px solid #3b6097; background: #081125; box-shadow: 0 22px 50px #02081766; opacity: .55; transition: opacity .25s, border-color .25s; }
.banner-slide.is-active, .banner-slide:hover, .banner-slide:focus-visible { opacity: 1; border-color: #6094df; }
.banner-slide > img { width: 100%; height: 100%; object-fit: contain; }
.banner-slide .expand-icon { top: 12px; right: 12px; bottom: auto; opacity: 0; transition: opacity .2s; }
.banner-slide:hover .expand-icon, .banner-slide:focus-visible .expand-icon { opacity: 1; }
.banner-navigation { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 10px; }
.banner-pagination, .banner-controls { display: flex; align-items: center; gap: 10px; }
.banner-dot { position: relative; width: 28px; height: 44px; padding: 0; background: transparent; }
.banner-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 3px; background: #38517a; transition: background .2s; }
.banner-dot:hover::after, .banner-dot.is-active::after { background: #8bb8ff; }
.banner-count { margin-right: 16px; color: #a8b8d0; font-size: var(--font-caption); letter-spacing: .08em; white-space: nowrap; }
.banner-count b { color: var(--text); }

.gallery-section { border-block: 1px solid #203754; }
.gallery-stage { position: relative; border: 1px solid #304e78; background: #060e1e; }
.gallery-enlarge { position: relative; display: block; overflow: hidden; aspect-ratio: 2.15; }
.gallery-enlarge > img { width: 100%; height: 100%; object-fit: contain; background: radial-gradient(ellipse, #0f2647, #060d1c); }
.expand-icon { position: absolute; bottom: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #476b9c; color: var(--accent); background: #0b1d39d9; transition: background .2s; }
.gallery-enlarge:hover .expand-icon { background: #204779; }
.gallery-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 24px; border-top: 1px solid #2b4a76; background: #102340; }
.gallery-caption > span:first-child { font-size: var(--font-caption); font-weight: 600; }
.gallery-count { font-size: var(--font-note); color: #8fa9ce; letter-spacing: .09em; white-space: nowrap; }
.gallery-count b { color: var(--accent); }
.gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.gallery-thumbnails { display: flex; gap: 12px; }
.gallery-thumb { position: relative; display: block; width: 105px; aspect-ratio: 1.75; overflow: hidden; border: 1px solid #304e78; opacity: .55; transition: border-color .2s, opacity .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { border-color: var(--accent); opacity: 1; }
.gallery-thumb.is-active::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 -3px var(--accent); }
.gallery-thumb > span { position: absolute; right: 4px; bottom: 2px; padding-inline: 3px; font-size: var(--font-note); color: var(--text); background: #080f1ea6; }
.gallery-controls { display: flex; gap: 10px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid #304e78; color: var(--accent); transition: background .2s; }
.icon-button:hover { background: #1a3a65; }
.previous .icon { transform: rotate(180deg); }

.start-section { position: relative; overflow: hidden; background: linear-gradient(#080f1e9e, #080f1eeb), url("./src/UniverseMedium.png") center / cover, #0c192e; }
.start-heading { text-align: center; }
.start-heading > .body-copy { margin-top: 24px; font-size: var(--font-reading); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: min(870px, 100%); margin: 40px auto 0; }
.platform-card { position: relative; padding: 38px 34px 30px; border: 1px solid #294874; background: linear-gradient(135deg, #112747, #10213d); }
.platform-icon { width: 35px; height: 35px; color: var(--accent); margin-bottom: 25px; }
.platform-card h3 { font-family: var(--display); text-transform: uppercase; font-size: 43px; font-weight: 600; line-height: 1.1; }
.platform-card h3 .beta { margin-left: 8px; vertical-align: middle; }
.platform-card .body-copy { margin-top: 16px; max-width: 340px; min-height: 62px; font-size: var(--font-reading); line-height: 1.8; }
.platform-card .button { display: flex; justify-content: space-between; margin-top: 25px; width: 100%; }
.web-card { background: #0e1c33; border-color: #2c4770; }
.beta-note { font-size: var(--font-note); color: #acc1df; margin-top: 14px; }
.faq { width: min(870px, 100%); display: grid; grid-template-columns: .78fr 1.4fr; gap: 50px; margin: 80px auto 0; }
.faq > h3 { font-family: var(--display); font-size: 34px; text-transform: uppercase; font-weight: 500; line-height: 1.1; }
.faq details { border-top: 1px solid #29466d; }
.faq details:last-child { border-bottom: 1px solid #29466d; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 19px 0; font-size: var(--font-controls); line-height: 1.6; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq details > p { color: #afc1dc; font-size: var(--font-reading); line-height: 1.9; padding: 0 24px 21px 0; overflow-wrap: anywhere; }
.faq-plus { flex-shrink: 0; width: 13px; height: 13px; position: relative; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 6px; left: 0; width: 13px; height: 1px; background: var(--accent); }
.faq-plus::after { transform: rotate(90deg); transition: transform .2s; }
.faq details[open] .faq-plus::after { transform: none; }
.community-section { position: relative; isolation: isolate; background: #080f1e; border-block: 1px solid #304e78; padding-block: 88px; }
.community-inner { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 32px; }
.community-icon { width: 64px; height: 64px; color: #fff; }
.community-inner h2 { font-size: clamp(38px, 3.6vw, 54px); line-height: 1.08; }
.community-inner p { max-width: 660px; color: #c5d6ef; font-size: var(--font-reading); margin-top: 18px; line-height: 1.9; }
.community-inner > .button { min-height: 56px; padding-inline: 26px; font-size: var(--font-controls); white-space: nowrap; }
.site-footer { padding-top: 44px; background: #060d1b; }
.footer-main { display: flex; align-items: center; gap: 30px; padding-bottom: 35px; }
.footer-main .brand { width: 137px; }
.footer-main > p { max-width: 160px; color: #91a7c6; font-size: var(--font-note); }
.footer-links { display: flex; gap: 24px; margin-left: auto; font-size: var(--font-caption); color: #bed1ec; }
.footer-links a:hover { color: var(--accent); }
.back-top { display: grid; place-items: center; width: 40px; height: 40px; color: var(--accent); border: 1px solid #29456c; font-size: 20px; }
.footer-bottom { border-top: 1px solid #19345b; display: flex; justify-content: space-between; gap: 20px; padding-block: 23px; font-size: var(--font-note); color: #8fa7c9; }
.image-dialog { width: min(1480px, calc(100% - 48px)); height: min(1000px, calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; overflow: hidden; border: 1px solid #304c72; border-radius: 16px; background: #0b1628; color: var(--text); box-shadow: 0 24px 90px #0008; }
.image-dialog::backdrop { background: #020611ed; }
.image-dialog[open] { animation: viewer-fade-in 180ms ease-out both; }
.image-dialog[open]::backdrop { animation: viewer-fade-in 180ms ease-out both; }
.viewer-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.image-dialog[open] .viewer-shell { animation: viewer-slide-in 220ms cubic-bezier(.2,.7,.2,1) both; }
.image-dialog.is-closing, .image-dialog.is-closing::backdrop { animation: viewer-fade-out 150ms ease-in both; }
.viewer-header { display: flex; align-items: center; gap: 20px; padding: 12px 16px 12px 24px; }
.viewer-caption { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8e5fa; font-size: var(--font-controls); font-weight: 600; }
.viewer-close, .viewer-tool { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 10px; border-radius: 9px; border: 1px solid #344e73; color: #e4eeff; background: #162a46; transition: background .15s, border-color .15s; }
.viewer-close { border-color: #e35b65; background: #b42332; color: #fff; }
.viewer-close:hover { background: #cf3040; border-color: #ff8b94; }
.viewer-close:focus-visible { outline-color: #ff8b94; }
.viewer-tool:hover:not(:disabled) { background: #213e66; border-color: #6094df; }
.viewer-tool:disabled { opacity: .35; cursor: default; }
.viewer-close .icon, .viewer-tool .icon { width: 20px; height: 20px; stroke-width: 1.8; }
.viewer-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #02060e; touch-action: none; user-select: none; cursor: zoom-in; }
.viewer-stage.is-zoomed { cursor: grab; }
.viewer-stage.is-dragging { cursor: grabbing; }
.viewer-stage > img { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.viewer-stage.is-smooth > img { transition: transform 180ms cubic-bezier(.2,.7,.2,1); }
.viewer-stage.is-loading > img { visibility: hidden; }
.viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px 12px 24px; }
.viewer-help { color: #a8b8d0; font-size: var(--font-note); line-height: 1.6; }
.viewer-help-touch { display: none; }
.viewer-tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.viewer-scale { min-width: 54px; text-align: center; font-size: var(--font-caption); font-variant-numeric: tabular-nums; }
.viewer-fit { gap: 8px; padding-inline: 12px; margin-left: 6px; font-size: var(--font-caption); font-weight: 700; }
@media (pointer: coarse) { .viewer-help-desktop { display: none; } .viewer-help-touch { display: inline; } }
@keyframes viewer-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes viewer-slide-in { from { transform: translateY(10px); } to { transform: translateY(0); } }
@keyframes viewer-fade-out { from { opacity: 1; } to { opacity: 0; } }

@media (min-width: 1600px) {
  .hero, .hero-inner { min-height: 960px; }
  .hero-inner { padding-top: 180px; }
  h1 { font-size: 120px; }
  .hero-lead { font-size: var(--font-reading); }
}
@media (max-width: 1200px) {
  .container { width: calc(100% - 72px); }
  .nav-inner { gap: 23px; }
  .nav-links { gap: 19px; }
  .nav-actions { gap: 18px; margin-left: 0; }
  .brand { width: 130px; }
  .hero-actions { max-width: 455px; }
  .hero-actions .button { padding-inline: 14px; gap: 8px; font-size: var(--font-controls); }
  .world-layout { gap: 55px; }
  .translation-layout { gap: 44px 40px; }
  .social-copy { padding: 28px; }
}
@media (max-width: 1280px) {
  .nav-inner { min-height: 76px; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .mobile-menu-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; padding: 18px 36px 26px; gap: 0 24px; max-height: calc(100dvh - 76px); overflow-y: auto; background: #0a182d; border-top: 1px solid var(--line); border-bottom: 1px solid #304e78; box-shadow: 0 20px 30px #0006; }
  .mobile-nav a { font-size: var(--font-controls); padding-block: 14px; border-bottom: 1px solid #213c62; }
}
@media (max-width: 1000px) {
  .hero, .hero-inner { min-height: 830px; }
  .hero-inner { padding-top: 142px; }
  .hero-copy { max-width: 65%; }
  h1 { font-size: 88px; }
  .hero-art { left: 19%; }
  .hero-actions { max-width: 360px; }
  .hero-actions .button { font-size: var(--font-controls); }
  .hero-note { max-width: 280px; }
  .section { padding-block: 84px; }
  .world-layout { gap: 35px; }
  .translation-layout { grid-template-columns: 1fr; gap: 36px; }
  .translation-facts { margin-bottom: 0; }
  .translation-demo { width: 100%; }
  .translation-details { gap: 24px; }
  .world-copy h2 { font-size: 43px; }
  .world-picture { aspect-ratio: .95; }
  .world-picture img { height: 140%; }
  .world-copy .section-lead { font-size: var(--font-reading); }
  .world-copy .body-copy { font-size: var(--font-reading); }
  .experience-section { padding-top: 84px; }
  .community-inner { grid-template-columns: 64px minmax(0, 1fr); gap: 24px; }
  .community-inner > .button { grid-column: 2; justify-self: start; }
  .spectre-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  .spectre-scenes { grid-template-columns: 1fr; gap: 36px; }
  .strip-inner > span { font-size: 16px; gap: 14px; }
  .feature-grid { gap: 17px; }
  .feature h3 { font-size: 26px; }
  .social-copy h3 { font-size: 30px; }
}
@media (max-width: 700px) {
  :root { --font-reading: 1rem; }
  html { scroll-padding-top: 96px; }
  .container { width: calc(100% - 40px); }
  .nav-inner { min-height: 72px; gap: 14px; }
  .brand { width: 115px; }
  .nav-actions { gap: 16px; }
  .nav-cta { display: none; }
  .language-switch { gap: 2px; }
  .mobile-menu-toggle { width: 38px; height: 38px; font-size: 22px; }
  .mobile-nav:not([hidden]) { padding-inline: 20px; }
  .hero, .hero-inner { min-height: 970px; }
  .hero-inner { padding-top: 116px; padding-bottom: 300px; }
  .hero-copy { max-width: 100%; width: 100%; }
  h1 { font-size: clamp(69px, 15.8vw, 105px); max-width: 450px; line-height: .86; }
  .hero-lead { margin-top: 25px; max-width: 390px; font-size: var(--font-reading); }
  .hero-actions { gap: 10px; margin-top: 23px; max-width: 400px; }
  .hero-actions .button { min-height: 48px; font-size: var(--font-controls); padding-inline: 15px; }
  .hero-note { max-width: 100%; font-size: var(--font-note); }
  .hero-art { inset: auto 0 0; height: 380px; }
  .hero-art img { object-position: 50% 30%; }
  .hero-art::after { background: linear-gradient(0deg, var(--bg), transparent 35%, #080f1e00 55%, var(--bg)); }
  .hero::before { background: linear-gradient(180deg, #080f1e 0%, #080f1e 50%, transparent 74%); }
  .hero-grid { mask-image: linear-gradient(#000, transparent 75%); }
  .strip-inner { display: grid; grid-template-columns: 1fr 1fr; padding-block: 14px; gap: 13px 20px; }
  .strip-inner > span { font-size: 17px; gap: 12px; }
  .strip-inner i { font-size: var(--font-note); }
  .section { padding-block: 65px; }
  h2 { font-size: clamp(41px, 10vw, 58px); }
  .world-layout { display: flex; flex-direction: column; align-items: stretch; gap: 35px; }
  .world-copy { order: -1; }
  .world-copy h2 { font-size: clamp(41px, 10vw, 58px); }
  .world-copy .section-lead { font-size: var(--font-reading); }
  .world-copy .body-copy { font-size: var(--font-reading); }
  .world-copy .text-link { margin-top: 13px; }
  .world-picture { aspect-ratio: 1.45; }
  .world-picture img { height: 140%; top: -9%; }
  .world-picture-footer { font-size: var(--font-note); padding: 12px 14px; }
  .translation-layout { gap: 24px; }
  .translation-facts { gap: 14px; margin: 26px 0 0; }
  .translation-facts dd { font-size: 48px; }
  .translation-facts dt { font-size: var(--font-note); }
  .chat-view-switch button { padding-inline: 10px; }
  .chat-example figcaption { padding-inline: 12px; }
  .translation-details { grid-template-columns: 1fr; gap: 26px; }
  .translation-details h3 + p { margin-top: 10px; }
  .experience-section { padding-top: 65px; }
  .spectre-intro { margin-bottom: 28px; }
  .spectre-scene figcaption { padding-top: 20px; }
  .spectre-section h3 { font-size: 30px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
  .section-heading > .body-copy { max-width: 420px; font-size: var(--font-reading); }
  .feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-picture { aspect-ratio: 1920 / 845; }
  .feature-copy { padding: 22px 0 24px; }
  .feature h3 { font-size: 32px; }
  .feature-copy .body-copy { max-width: 420px; font-size: var(--font-reading); margin-top: 12px; }
  .social-panel { margin-top: 38px; grid-template-columns: 1fr; }
  .social-picture { min-height: 0; aspect-ratio: 1.85; }
  .social-copy { padding: 28px 22px; }
  .social-copy h3 { font-size: 34px; }
  .social-copy .body-copy { font-size: var(--font-reading); }
  .banner-track { --banner-width: calc(100vw - 56px); gap: 16px; padding-top: 5px; padding-bottom: 24px; }
  .banner-navigation { gap: 14px; margin-top: 0; }
  .banner-pagination { gap: 4px; }
  .banner-dot { width: 16px; }
  .banner-controls { gap: 6px; }
  .banner-count { margin-right: 4px; font-size: var(--font-note); }
  .banner-controls .icon-button { width: 38px; height: 44px; }
  .banner-slide .expand-icon { opacity: 1; }
  .gallery-enlarge { aspect-ratio: 1.55; }
  .gallery-caption { padding: 15px; gap: 15px; align-items: flex-start; }
  .gallery-caption > span:first-child { font-size: var(--font-caption); }
  .gallery-count { font-size: var(--font-note); }
  .gallery-bottom { gap: 12px; align-items: stretch; }
  .gallery-thumbnails { gap: 6px; flex: 1; min-width: 0; }
  .gallery-thumb { width: auto; flex: 1; min-width: 0; aspect-ratio: 1; }
  .gallery-controls { gap: 5px; align-items: center; }
  .gallery-controls .icon-button { width: 32px; height: 40px; }
  .gallery-controls .icon { width: 17px; height: 17px; }
  .gallery-thumb > span { font-size: var(--font-note); }
  .expand-icon { width: 32px; height: 32px; right: 10px; bottom: 10px; }
  .expand-icon .icon { width: 16px; height: 16px; }
  .start-heading { text-align: left; }
  .start-heading h2 { font-size: clamp(41px, 10vw, 58px); }
  .platform-grid { grid-template-columns: 1fr; gap: 17px; margin-top: 30px; }
  .platform-card { padding: 28px; }
  .platform-card h3 { font-size: 39px; }
  .platform-card .body-copy { min-height: 0; font-size: var(--font-reading); }
  .platform-card .button { margin-top: 23px; }
  .faq { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
  .faq > h3 { max-width: 250px; font-size: 32px; }
  .faq summary { font-size: var(--font-controls); padding-block: 20px; }
  .faq details > p { font-size: var(--font-reading); }
  .community-section { padding-block: 64px; }
  .community-inner { grid-template-columns: 1fr; gap: 24px; }
  .community-icon { width: 52px; height: 52px; }
  .community-inner h2 { font-size: clamp(38px, 9vw, 50px); }
  .community-inner p { font-size: var(--font-reading); }
  .community-inner > .button { grid-column: 1; width: 100%; margin-top: 4px; justify-content: center; }
  .site-footer { padding-top: 32px; }
  .footer-main { flex-wrap: wrap; gap: 20px; padding-bottom: 28px; }
  .footer-main .brand { width: 120px; }
  .footer-main > p { font-size: var(--font-note); max-width: 150px; margin-left: auto; text-align: right; }
  .footer-links { margin-left: 0; gap: 20px; font-size: var(--font-caption); }
  .back-top { margin-left: auto; width: 35px; height: 35px; }
  .footer-bottom { flex-direction: column; gap: 7px; font-size: var(--font-note); }
  .image-dialog { width: calc(100% - 16px); height: calc(100dvh - 24px); border-radius: 12px; }
  .viewer-header { padding: 10px 10px 10px 16px; gap: 12px; }
  .viewer-caption { font-size: var(--font-caption); }
  .viewer-footer { flex-direction: column-reverse; gap: 10px; padding: 12px 12px 16px; }
  .viewer-help { text-align: center; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .hero-actions { flex-direction: column; max-width: 290px; }
  .hero-actions .button { justify-content: center; }
  .hero-note { max-width: 280px; }
  .hero, .hero-inner { min-height: 1010px; }
  .strip-inner > span { font-size: var(--font-note); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
