/* Materials and --painted-* tokens are derived from the game's painted-ui.css. */
:root {
  color-scheme: dark;
  font-family: Georgia, "Times New Roman", serif;
  font-synthesis: none;
  background: #102e33;
  color: var(--painted-paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background:
    linear-gradient(#102e3333, #102e3333),
    var(--painted-teal) center / 640px;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--painted-bronze);
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}
p {
  line-height: 1.7;
}
ol,
ul {
  padding: 0;
  margin: 0;
}
.wrap {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 100px;
}
.eyebrow {
  font-size: 0.72rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ddbc84;
  margin-bottom: 22px;
}
.lead {
  font-size: 1.12rem;
  max-width: 610px;
  margin-top: 24px;
}
.muted {
  color: #c2c6b8;
  font-size: 0.91rem;
}
.paper {
  background: var(--painted-stone) center / 640px;
  color: var(--painted-ink);
  color-scheme: light;
}
.paper .eyebrow,
.painted-card .eyebrow {
  color: #73562e;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: -100px;
  left: 20px;
  background: var(--painted-paper);
  color: var(--painted-ink);
  padding: 14px 20px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--painted-teal) center / 640px;
  border-bottom: 1px solid #a8845070;
  box-shadow: 0 4px 16px #04151925;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 38px;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}
.brand small {
  font-size: 0.67em;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-left: auto;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.91rem;
  padding: 10px 0;
}
.main-nav a:last-child {
  color: #f0cc8f;
}
.main-nav a:hover,
.hero-more:hover {
  text-decoration: underline;
}
.language-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
}
.language-nav a {
  text-decoration: none;
  padding: 10px 4px;
}
.language-nav [aria-current] {
  color: #f5d79f;
  text-decoration: underline;
}
.language-nav span {
  color: #849d99;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.hero-art {
  object-fit: cover;
  object-position: center 50%;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      #071e27ed 0%,
      #0a252acc 24%,
      #0a252a45 66%,
      #0a252a12
    ),
    linear-gradient(0deg, #102e33d9, transparent 35%);
}
.hero-content {
  min-height: 670px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 88px 100px;
}
.hero .eyebrow {
  color: #f1cf96;
}
h1 {
  font-size: clamp(3.1rem, 5.15vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff5df;
  text-shadow: 0 2px 18px #061c2040;
}
h1 span {
  display: block;
}
h1 span:last-child {
  color: #e7c897;
}
.hero-description {
  margin-top: 28px;
  max-width: 480px;
  font-size: 1.2rem;
  color: #f0e9d9;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 36px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 6px solid transparent;
  border-image: var(--painted-frame) 12 / 6px;
  padding: 12px 23px;
  min-height: 58px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
  box-shadow:
    inset 0 1px 2px #f8deb330,
    inset 0 -3px 4px #041d2430,
    0 3px 8px #061c2030;
  transition:
    filter 0.18s,
    transform 0.18s;
}
.button:hover {
  filter: brightness(1.09);
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(1px);
}
.button-primary {
  background: var(--painted-stone) center / 320px;
  color: var(--painted-ink);
}
.button-dark {
  background: var(--painted-teal) center / 320px;
  color: #f5ead4;
}
.hero-more {
  font-size: 0.96rem;
  text-decoration: none;
}
.hero-more span {
  padding-left: 9px;
}
.platform {
  font-size: 0.76rem;
  line-height: 1.6;
  margin-top: 17px;
  color: #d4d9ca;
}
.art-label {
  position: absolute;
  bottom: 20px;
  right: 32px;
  color: #f0e7d4;
  font-size: 0.67rem;
  letter-spacing: 0.035em;
  text-shadow: 0 1px 5px #000;
}
.facts {
  border-block: 1px solid #a884507a;
}
.facts-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 24px 30px;
  border-right: 1px solid #a8845050;
}
.fact:first-child {
  padding-left: 0;
}
.fact:last-child {
  border: 0;
}
.fact strong {
  font-size: 2.5rem;
  font-weight: 400;
  color: #dfbd85;
  line-height: 1;
}
.fact:last-child strong {
  font-size: 1.3rem;
  font-style: italic;
}
.fact span {
  font-size: 0.92rem;
  line-height: 1.5;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}
.section-intro .lead {
  margin-top: 0;
}
.people-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 58px;
}
.framed-image {
  position: relative;
}
.framed-image img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  object-position: 45% center;
  border: 6px solid transparent;
  border-image: var(--painted-frame) 12 / 6px;
  box-shadow: 0 12px 30px #183b401a;
}
figcaption {
  font-size: 0.71rem;
  line-height: 1.5;
  margin-top: 13px;
  color: inherit;
  opacity: 0.85;
}
.feature {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid #a8845070;
}
.feature:first-child {
  padding-top: 0;
}
.feature:last-child {
  border: 0;
  padding-bottom: 0;
}
.feature-number {
  color: #73562e;
  font-size: 0.82rem;
  padding-top: 5px;
}
.feature p {
  font-size: 0.98rem;
  margin-top: 11px;
}
.campaign-heading {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.campaign-heading .lead {
  margin-inline: auto;
}
.campaign-art {
  margin-top: 48px;
}
.campaign-art img {
  width: 100%;
  border: 1px solid #a8845080;
}
.campaign-art figcaption {
  text-align: right;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  list-style: none;
  gap: 46px;
  margin-top: 48px;
}
.timeline li {
  padding-top: 25px;
  position: relative;
  border-top: 1px solid #a8845090;
}
.timeline li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: -4px;
  left: 0;
  background: var(--painted-bronze);
  transform: rotate(45deg);
}
.year {
  font-size: 2.25rem;
  color: #e2bf86;
  white-space: nowrap;
}
.timeline h3 {
  margin-top: 12px;
}
.timeline p {
  margin-top: 10px;
  font-size: 0.96rem;
  color: #d0d4c5;
}
.history-note {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 60px;
  margin-top: 55px;
  padding-top: 32px;
  border-top: 1px solid #a8845050;
}
.history-note .muted {
  margin-top: 15px;
}
.campaign-future {
  display: flex;
  gap: 45px;
  align-items: center;
  padding: 32px 40px;
  margin-top: 42px;
  border: 1px solid #a8845070;
  background:
    linear-gradient(120deg, #ffffff08, #051e2440),
    var(--painted-teal) center / 640px;
}
.chapter-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.chapter-count strong {
  font-size: 4rem;
  font-weight: 400;
  color: #e5c28b;
}
.chapter-count span {
  font-size: 1.4rem;
  color: #bdc4b6;
}
.campaign-future p {
  margin-top: 12px;
  max-width: 760px;
}
.gameplay-shot {
  max-width: 1120px;
  margin-inline: auto;
}
.gameplay-shot img {
  width: 100%;
  border: 6px solid transparent;
  border-image: var(--painted-frame) 12 / 6px;
  box-shadow: 0 15px 35px #183b4025;
}
.gameplay-shot a {
  display: block;
}
.gameplay-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  list-style: none;
  margin-top: 45px;
}
.roadmap li {
  position: relative;
  padding: 26px 0 8px;
  border-top: 1px solid #a8845070;
}
.roadmap-order {
  position: absolute;
  right: 0;
  top: 19px;
  font-size: 2.2rem;
  color: #94aaa1;
  opacity: 0.55;
}
.roadmap-status {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e2bf86;
  padding-right: 45px;
}
.roadmap h3 {
  margin-block: 19px 15px;
  padding-right: 16px;
}
.roadmap li > p:last-child {
  font-size: 0.97rem;
  color: #d0d4c5;
}
.roadmap-note {
  margin-top: 28px;
}
.demo-section {
  padding: 0 0 55px;
}
.painted-card {
  color: var(--painted-ink);
  color-scheme: light;
  background: var(--painted-stone) center / 640px;
  border: 7px solid transparent;
  border-image: var(--painted-frame) 12 / 7px;
  box-shadow: 0 14px 50px #04151970;
}
.demo-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 65px;
  padding: 55px 60px 35px;
  position: relative;
}
.demo-panel::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 35px;
  height: 35px;
  background: var(--painted-corner) center / contain no-repeat;
}
.demo-features {
  list-style: none;
  margin-top: 25px;
}
.demo-features li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.6;
  margin-top: 8px;
}
.demo-features li::before {
  content: "✓";
  color: #496346;
}
.demo-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.demo-download > img {
  margin-bottom: 24px;
}
.demo-download .platform,
.download-meta {
  color: #4a5e57;
}
.demo-pending {
  max-width: 290px;
  font-size: 1.15rem;
}
.download-meta {
  font-size: 0.76rem;
  margin-top: 8px;
}
.store-links,
.community-links {
  grid-column: 1 / -1;
  margin-top: 32px;
  border-top: 1px solid #a8845070;
  padding-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 30px;
  flex-wrap: wrap;
}
.store-links h3,
.community-links h3 {
  font-size: 1.1rem;
}
.store-links p {
  font-size: 0.9rem;
}
.link-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.text-link {
  font-size: 0.98rem;
  font-weight: 600;
}
.faq-section {
  padding-block: 45px 75px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}
.faq-layout h2 {
  font-size: 2.3rem;
  max-width: 350px;
}
details {
  border-bottom: 1px solid #a8845050;
}
details:first-child {
  border-top: 1px solid #a8845050;
}
summary {
  padding: 20px 30px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  color: #dfbd85;
}
details[open] summary::after {
  content: "−";
}
details p {
  font-size: 0.95rem;
  color: #d0d4c5;
  padding-bottom: 23px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #a8845070;
  padding-block: 32px 42px;
}
.footer-brand {
  letter-spacing: 0.15em;
  font-size: 1.05rem;
}
.site-footer p {
  margin-top: 9px;
  font-size: 0.8rem;
  color: #c2c6b8;
}
.site-footer a {
  font-size: 0.85rem;
}
.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 30px;
  padding: 35px;
  text-align: center;
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 22px;
  }
  .main-nav {
    gap: 20px;
  }
  .brand {
    font-size: 1.1rem;
    gap: 8px;
  }
  .section-intro {
    gap: 40px;
  }
  .people-layout {
    gap: 32px;
  }
  .demo-panel {
    column-gap: 30px;
    padding: 42px 36px 30px;
  }
  .faq-layout {
    gap: 50px;
  }
  .fact {
    padding-inline: 20px;
    gap: 14px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 10rem;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 65px;
  }
  .header-inner {
    min-height: 100px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 12px 8px;
    justify-content: space-between;
  }
  .brand {
    font-size: 1.1rem;
  }
  .brand img {
    width: 22px;
    height: 32px;
  }
  .language-nav {
    order: 1;
  }
  .main-nav {
    order: 2;
    width: 100%;
    margin: 8px 0 0;
    gap: 12px;
    justify-content: space-between;
  }
  .main-nav a {
    font-size: 0.83rem;
    padding-block: 7px;
  }
  .hero-content {
    min-height: 620px;
    padding-block: 64px 85px;
  }
  .hero-art {
    object-position: 58% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #071e27da, #0a252a70),
      linear-gradient(0deg, #102e33d9, transparent 60%);
  }
  h1 {
    font-size: clamp(2.5rem, 7.7vw, 3.6rem);
  }
  .hero-description {
    font-size: 1.08rem;
    max-width: 450px;
  }
  .hero .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
    max-width: 320px;
  }
  .actions {
    gap: 20px;
    margin-top: 29px;
  }
  .button {
    padding-inline: 18px;
  }
  .hero-more {
    font-size: 0.88rem;
  }
  .art-label {
    right: 20px;
    font-size: 0.61rem;
  }
  .facts-inner {
    grid-template-columns: 1fr;
  }
  .fact,
  .fact:first-child {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid #a8845050;
    gap: 20px;
  }
  .fact strong {
    width: 90px;
    flex-shrink: 0;
    font-size: 2rem;
  }
  .fact span {
    font-size: 0.9rem;
  }
  .section-intro,
  .people-layout,
  .history-note,
  .faq-layout,
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-intro {
    margin-bottom: 32px;
  }
  .section-intro .lead {
    margin: 0;
  }
  .eyebrow {
    margin-bottom: 16px;
  }
  .lead {
    font-size: 1.03rem;
  }
  .framed-image img {
    aspect-ratio: 1.45;
  }
  .features {
    margin-top: 10px;
  }
  .campaign-art {
    margin-top: 30px;
  }
  .timeline {
    gap: 18px;
    margin-top: 30px;
  }
  .year {
    font-size: 1.35rem;
  }
  .timeline h3 {
    font-size: 1.1rem;
  }
  .timeline p {
    font-size: 0.86rem;
  }
  .history-note {
    margin-top: 35px;
    gap: 18px;
  }
  .campaign-future {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 25px;
  }
  .chapter-count strong {
    font-size: 3rem;
  }
  .roadmap {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
  }
  .roadmap h3 {
    margin-block: 14px 10px;
  }
  .demo-section {
    padding-bottom: 35px;
  }
  .demo-panel {
    padding: 35px 25px 25px;
  }
  .demo-download {
    padding-block: 25px 5px;
    border-top: 1px solid #a8845070;
  }
  .store-links,
  .community-links {
    margin-top: 0;
    gap: 12px;
  }
  .faq-section {
    padding-block: 30px 45px;
  }
  .faq-layout h2 {
    font-size: 2rem;
  }
  .site-footer {
    align-items: flex-start;
  }
  .site-footer a {
    white-space: nowrap;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 0.95rem;
  }
  .hero-content {
    min-height: 660px;
  }
  h1 {
    font-size: 2.25rem;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .timeline li {
    padding-top: 18px;
  }
  .site-footer {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
