/* Perun: Waking Thunder. One storm-dark page that climbs like the game:
   the dry valley at the top, the peak, then the world below. */

@font-face {
  font-family: "Ruslan Display";
  src: url("assets/fonts/RuslanDisplay-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/commissioner-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/commissioner-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #13111c;
  --night-2: #1a1726;
  --storm: #221e31;
  --storm-2: #2c2740;
  --ochre: #e0ac4e;
  --ochre-soft: #f3cf83;
  --bolt: #afd4ff;
  --parch: #f1e8d6;
  --parch-2: #e2d8c4;
  --dust: #b9ae9a;
  --line: rgba(241, 232, 214, 0.12);
  --display: "Ruslan Display", "Cormorant SC", Georgia, serif;
  --body: "Commissioner", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--parch);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--bolt); }
a:hover { color: #fff; }
a, button, summary { touch-action: manipulation; }
::selection { background: var(--ochre); color: var(--night); }
:focus-visible { outline: 2px solid var(--bolt); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ochre); color: #1b140a; padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }
.skip:hover { color: #1b140a; }
[hidden] { display: none !important; }
/* Launch or pre-launch copy, from the attributes config.js sets before the page draws. Without
   JavaScript the store links stay (they lead to the download section) and the contact line
   says it is coming, since only main.js can fill in the address. */
[data-store="off"] [data-store-only], html:not([data-store="off"]) [data-no-store],
html:not([data-contact="on"]) [data-contact-only], [data-contact="on"] [data-no-contact],
html:not([data-beta="on"]) [data-beta-only], html:not([data-android="on"]) [data-android-only] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre); margin-bottom: 14px; }
.eyebrow-cold { color: var(--bolt); }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: 0.02em; margin-bottom: 24px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-lead { color: var(--parch-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 8px; font-weight: 700; font-size: 17px; text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s; }
.btn-gold { background: var(--ochre); color: #1b140a; box-shadow: inset 0 0 0 1px var(--ochre-soft), 0 12px 34px rgba(224, 172, 78, 0.28); }
.btn-gold:hover { background: #edbe66; color: #1b140a; transform: translateY(-1px); }
.btn-ghost { color: var(--parch); border: 1px solid rgba(241, 232, 214, 0.45); font-weight: 600; }
.btn-ghost:hover { border-color: var(--parch); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-art {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(19,17,28,.82) 0, rgba(19,17,28,.45) 70px, rgba(19,17,28,0) 140px),
    linear-gradient(90deg, rgba(19,17,28,.9) 0%, rgba(19,17,28,.55) 38%, rgba(19,17,28,0) 62%),
    linear-gradient(0deg, var(--night) 0%, rgba(19,17,28,0) 28%),
    url("assets/art/hero-wide.jpg") 70% 40% / cover no-repeat;
}
.hero-flash { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(60% 55% at 72% 18%, rgba(205, 225, 255, 0.85), rgba(160, 140, 255, 0.25) 45%, transparent 75%); mix-blend-mode: screen; }
.hero-flash.is-striking { animation: strike 1.1s ease-out 1; }
@keyframes strike { 0% { opacity: 0; } 6% { opacity: .55; } 12% { opacity: .05; } 20% { opacity: .38; } 100% { opacity: 0; } }

.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: max(20px, env(safe-area-inset-top, 0px)); padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--parch); text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.brand img { border-radius: 9px; width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--parch); text-decoration: none; }
.nav-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nav-links .nav-cta { background: var(--ochre); color: #1b140a; padding: 10px 16px; border-radius: 7px; font-weight: 700; }
.nav-links .nav-cta:hover { background: #edbe66; color: #1b140a; text-decoration: none; }
.nav-links a { text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.nav-links .nav-cta { text-shadow: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(241, 232, 214, .3); background: rgba(19, 17, 28, .6); color: var(--parch); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; z-index: 20; min-width: 200px; display: flex; flex-direction: column; padding: 8px; border-radius: 12px; background: var(--storm); box-shadow: 0 20px 50px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line); }
.menu-panel a { padding: 12px 14px; border-radius: 8px; text-shadow: none; }
.menu-panel a:hover { background: var(--storm-2); text-decoration: none; }

.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 24px; padding-bottom: 104px; }
.wordmark { margin: 0 0 4px -10px; max-width: 560px; }
.wordmark img { width: 100%; height: auto; filter: drop-shadow(0 14px 40px rgba(0, 0, 0, .65)); }
.hero-line { max-width: 560px; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.22; font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
.hero-sub { max-width: 500px; font-size: 19px; color: var(--parch-2); }
.hero-meta { font-size: 14px; color: var(--dust); letter-spacing: .02em; }

/* Shared two-column layout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split > * { min-width: 0; }

/* Story */
.story { padding: 112px 0; background: var(--night); }
.story-text { display: flex; flex-direction: column; gap: 18px; max-width: 34em; }
.story-text h2 { margin-bottom: 6px; }
.story-text > p { color: var(--parch-2); }
.story-text > .story-turn { color: var(--parch); font-weight: 600; font-size: 20px; }
.song { margin: 8px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ochre); }
.song p { font-size: 23px; line-height: 1.45; font-style: italic; color: var(--parch); }
.story-art { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.story-art figcaption { font-size: 18px; font-style: italic; color: var(--parch); }
.story-art figcaption span { display: block; margin-top: 2px; font-style: normal; font-size: 14px; color: var(--dust); }
.story-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }

/* Play */
.play { padding: 112px 0 120px; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.move { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.move h3 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: .03em; margin-top: 18px; color: var(--ochre); }
.move p { color: var(--parch-2); }
.phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 11px; background: #0c0b12; box-shadow: inset 0 0 0 1px rgba(241, 232, 214, .14), 0 34px 70px rgba(0, 0, 0, .55), 0 0 90px rgba(175, 212, 255, .08); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: var(--storm); }
.clip-toggle { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(241, 232, 214, .4); background: rgba(19, 17, 28, .7) center / 16px no-repeat; cursor: pointer; opacity: .75; transition: opacity .2s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2h3v12H4zM9 2h3v12H9z' fill='%23f1e8d6'/%3E%3C/svg%3E"); }
.clip-toggle.is-paused { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2l10 6-10 6z' fill='%23f1e8d6'/%3E%3C/svg%3E"); background-position: 55% center; }
.clip-toggle:hover, .clip-toggle:focus-visible { opacity: 1; }
.clip-status { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 16px; border-radius: 12px; color: var(--parch); background: var(--storm); font-size: 15px; text-align: center; }

/* Valley */
.valley { padding: 112px 0; background: var(--night-2); }
.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.valley-art { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.valley-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--storm); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.season { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; opacity: 0; transition: opacity .9s ease; }
.season.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-flash { display: none; }
  .season, .btn, .foe-art { transition: none; }
  .btn-gold:hover, .foe:hover .foe-art { transform: none; }
}
.season-tabs { display: flex; gap: 10px; }
.season-tab { flex: 1; min-height: 46px; border-radius: 8px; border: 1px solid rgba(241, 232, 214, .25); background: transparent; color: var(--dust); font: 600 15px var(--body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.season-tab:hover { color: var(--parch); }
.season-tab[aria-pressed="true"] { background: var(--storm-2); color: var(--parch); border-color: var(--ochre); }
.valley-text { display: flex; flex-direction: column; gap: 18px; max-width: 32em; }
.valley-text h2 { margin-bottom: 6px; }
.valley-text p { color: var(--parch-2); }

/* Climb */
.route-wrap { position: relative; }
.route-bolt { position: absolute; left: 12px; top: 26px; bottom: 26px; width: 2px; background: linear-gradient(180deg, var(--bolt), var(--ochre)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(175, 212, 255, .7); border-radius: 2px; }
.route li.is-lit::before { color: var(--ochre); text-shadow: 0 0 14px rgba(224, 172, 78, .6); }

.climb { padding: 112px 0; background: var(--night); }
.climb-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.climb-map { margin: 0; position: sticky; top: 24px; }
.climb-map img { width: 100%; height: auto; border-radius: 14px; }
.route { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: stop; }
.route li { counter-increment: stop; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.route li::before { content: counter(stop); font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--dust); }
.route h3 { font-size: 21px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.route h3 span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.route p { grid-column: 2; color: var(--parch-2); }
.route h3 { grid-column: 2; grid-row: 1; }
.route li::before { grid-column: 1; grid-row: 1 / span 2; }
.route-peak::before { color: var(--ochre) !important; }

/* Below */
.below { position: relative; isolation: isolate; padding: 170px 0; overflow: hidden; }
.below-art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,14,24,.94) 0%, rgba(10,14,24,.72) 42%, rgba(10,14,24,.1) 75%), linear-gradient(180deg, var(--night) 0%, rgba(10,14,24,0) 20%, rgba(10,14,24,0) 80%, var(--night-2) 100%), url("assets/art/below-wide.jpg") 70% 50% / cover no-repeat; }
.below-body { display: flex; flex-direction: column; gap: 18px; }
.below-body > * { max-width: 520px; }
.below-body p { color: #d9e2ee; }
.below-after { padding-top: 18px; border-top: 1px solid rgba(175, 212, 255, .3); color: var(--parch) !important; }

/* Bestiary */
.bestiary { padding: 112px 0; background: var(--night-2); }
.foes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.foe { background: var(--storm); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.foe-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--storm-2); }
.foe-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.foe-art { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.foe:hover .foe-art { transform: scale(1.045); }
.foe-text { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.foe h3 { font-size: 19px; font-weight: 700; }
.foe p { font-size: 15px; line-height: 1.5; color: var(--parch-2); }
.bosses-title { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: .03em; color: var(--ochre); margin: 64px 0 22px; }
.bosses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.boss .foe-frame { aspect-ratio: 4 / 3; }
.boss .foe-art { object-position: 50% 25%; }

/* Blessings */
.blessings { padding: 112px 0; background: var(--night); }
.blessings p { color: var(--parch-2); max-width: 32em; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(224, 172, 78, .4); color: var(--parch); font-size: 15px; font-weight: 500; background: rgba(224, 172, 78, .06); }

/* Get the game */
.get { position: relative; isolation: isolate; padding: 170px 0; overflow: hidden; }
.get-art { position: absolute; inset: 0; height: var(--art-h, auto); z-index: -1; -webkit-mask-image: linear-gradient(#000 calc(100% - 48px), transparent); mask-image: linear-gradient(#000 calc(100% - 48px), transparent); background: linear-gradient(90deg, rgba(19,17,28,.95) 0%, rgba(19,17,28,.7) 42%, rgba(19,17,28,.05) 72%), linear-gradient(180deg, var(--night) 0%, rgba(19,17,28,0) 20%, rgba(19,17,28,0) 80%, var(--night) 97%), url("assets/art/crown-wide.jpg") 72% 30% / cover no-repeat; }
.get-body { display: flex; flex-direction: column; gap: 20px; }
.get-body > * { max-width: 520px; }
.get-body > p { color: var(--parch-2); }
.get-note { font-size: 14px; color: var(--dust) !important; }
html:not([data-device="android"]) .android:not(.is-open) { display: none; }
[data-device="ios"] .get [data-android-only], [data-device="android"] .get [data-beta-only]:not(.android), [data-device="android"] .get [data-android-toggle] { display: none !important; }
.btn-ghost .chev { transition: transform .2s; }
.btn-ghost[aria-expanded="true"] .chev { transform: rotate(180deg); }
.android { scroll-margin-top: 96px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(19, 17, 28, .72); }
.android h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.android ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.android li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; align-items: start; color: var(--parch-2); font-size: 15px; }
.android li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(224, 172, 78, .55); color: var(--ochre); font-weight: 700; }
.android li a { font-weight: 700; font-size: 16px; }
.android p { margin-top: 14px; font-size: 14px; color: var(--dust); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand img { width: 220px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 16px; }
.footer-small { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(241, 232, 214, .07); display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #9b927f; }

/* Narrow screens */
/* Trailer */
.trailer-dialog { width: min(1200px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 16px; background: #000; color: var(--parch); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); overscroll-behavior: contain; }
.trailer-dialog::backdrop { background: rgba(8, 7, 12, .86); backdrop-filter: blur(6px); }
.trailer-inner { position: relative; }
.trailer-inner video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: #000; }
.trailer-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(241, 232, 214, .4); background: rgba(19, 17, 28, .75); color: var(--parch); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.trailer-inner form { margin: 0; }

@media (max-width: 1100px) { .foes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .split, .split-rev, .climb-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .climb-map { position: static; max-width: 460px; }
  .foes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bosses { grid-template-columns: minmax(0, 1fr); }
  .moves { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .move { align-items: center; text-align: center; max-width: 420px; margin: 0 auto; }
  .valley-art { order: 2; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-links .nav-section { display: none; }
  .menu { display: block; }
  .nav-links { gap: 10px; }
  .hero { min-height: 0; }
  .hero-art {
    background:
      linear-gradient(0deg, var(--night) 22%, rgba(19,17,28,.78) 48%, rgba(19,17,28,.1) 78%),
      url("assets/art/open-peak.jpg") center top / cover no-repeat;
  }
  .hero-body { padding-top: clamp(150px, 24vh, 220px); padding-bottom: 64px; gap: 16px; }
  .wordmark { margin-left: -6px; }
  .story, .play, .valley, .climb, .bestiary, .blessings { padding: 80px 0; }
  .below, .get { padding: 0 0 80px; }
  .below-art, .get-art { position: relative; inset: auto; height: 62vw; min-height: 240px; margin-bottom: -40px; }
  .below-art { background: linear-gradient(0deg, var(--night) 0%, rgba(10,14,24,0) 55%), url("assets/art/below-wide-900.jpg") 75% 50% / cover no-repeat; }
  .get-art { background: linear-gradient(0deg, var(--night) 0%, rgba(19,17,28,0) 55%), url("assets/art/crown-wide-900.jpg") 70% 30% / cover no-repeat; }
  .below { background: var(--night); }
  .hero .actions { justify-content: center; }
  .hero-meta { text-align: center; }
  .foe-text { padding: 12px 14px 16px; }
  .foe h3 { font-size: 17px; }
  .foe p { font-size: 14px; }
  .route li { grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; }
}

/* Press kit and privacy pages */
@media (max-width: 360px) { .hero .brand span { display: none; } }

.doc-head { border-bottom: 1px solid var(--line); }
.doc-head .nav, .doc-head .nav-links { flex-wrap: wrap; }
.doc-head .nav-links a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.doc { padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.doc section { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: .02em; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 4px; }
.doc p, .doc li { color: var(--parch-2); }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 28px; margin: 0; }
.facts dt { color: var(--dust); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; color: var(--parch); overflow-wrap: anywhere; }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: none !important; }
.downloads a { display: flex; flex-direction: column; gap: 10px; color: var(--parch); text-decoration: none; background: var(--storm); border-radius: 12px; overflow: hidden; padding-bottom: 14px; }
.downloads a:hover { background: var(--storm-2); }
.downloads img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.downloads span { padding: 0 14px; font-weight: 600; font-size: 15px; }
.downloads small { padding: 0 14px; color: var(--dust); font-size: 13px; }
@media (max-width: 760px) { .downloads { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .facts dd { margin-bottom: 12px; } }
.facts-row { display: contents; }
.downloads img.contain { object-fit: contain; padding: 18px; background: #0c0b12; }
.downloads-tall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.downloads-tall img { aspect-ratio: 9 / 19.5; }
@media (max-width: 960px) { .downloads-tall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .downloads-tall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doc .nav-links { gap: 18px; } }
.downloads-portrait { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.downloads-portrait img { aspect-ratio: 2 / 3; }
.press-trailer video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; }
@media (max-width: 960px) { .downloads-portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .downloads-portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.store-badge { display: inline-flex; border-radius: 12px; line-height: 0; }
.store-badge img { width: 180px; height: auto; }
.store-badge:hover { filter: brightness(1.15); }
.store-badge:focus-visible { outline: 2px solid var(--bolt); outline-offset: 4px; }
.nav-links .nav-cta[data-store-link], .nav-links .nav-cta[data-beta-link] { white-space: nowrap; }
