:root {
  --bg: #0a0a0a;
  --panel: #121008;
  --panel-raised: #1a1408;
  --text: #c9ad6f;
  --text-dim: #a08d65;
  --text-bright: #e8d5a3;
  --red: #8b2020;
  --red-bright: #c0392b;
  --gold: #d4a832;
  --border: #2a1f10;
  --border-light: #4a3a20;
  --focus: #e8d5a3;
  --display: "Cinzel", Georgia, serif;
  --body: "Libre Franklin", sans-serif;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--text-bright);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.hero,
.rule-section,
.adventures-section,
.quiet-section,
.final-section {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}

.landing-page main {
  padding-top: calc(84px + env(safe-area-inset-top));
}

.landing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  min-height: calc(84px + env(safe-area-inset-top));
  margin: 0;
  padding-top: env(safe-area-inset-top);
  padding-inline: max(24px, calc((100vw - var(--content)) / 2));
  background: var(--bg);
}

#main,
#adventures,
#download {
  scroll-margin-top: calc(104px + env(safe-area-inset-top));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-bright);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-light);
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.72rem;
}

.primary-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav a,
.site-footer a {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease-out;
}

.primary-nav a:hover,
.site-footer a:hover,
.primary-nav a:focus-visible,
.site-footer a:focus-visible {
  color: var(--text-bright);
}

.store-nav-link {
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  color: var(--text-bright) !important;
}

.store-nav-link span {
  margin-left: 6px;
  color: var(--gold);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.hero {
  min-height: max(720px, calc(100dvh - 84px - env(safe-area-inset-top)));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: 92px 110px;
}

.eyebrow,
.updated,
.adventure-status,
.store-note {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2,
.adventure-copy h3 {
  font-family: var(--display);
}

h1 {
  max-width: 12ch;
  margin: 20px 0 26px;
  color: var(--text-bright);
  font-size: clamp(3.15rem, 6vw, 6.7rem);
  font-weight: 600;
  line-height: 0.98;
}

.hero-lede {
  max-width: 56ch;
  margin: 0;
  color: var(--text-dim);
  font-size: clamp(1.03rem, 1.8vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.button:hover {
  background: var(--text-bright);
  transform: translateY(-2px);
}

.store-note {
  color: var(--text-dim);
  text-transform: none;
}

.trust-list {
  display: flex;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.83rem;
  list-style: none;
  flex-wrap: wrap;
}

.trust-list li::before {
  content: "◆";
  margin-right: 8px;
  color: var(--red-bright);
  font-size: 0.65rem;
}

.cover-stage {
  position: relative;
  min-height: 600px;
}

.cover-card {
  position: absolute;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border-light);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48);
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cover-card figcaption {
  padding: 14px 16px 16px;
  color: var(--text-bright);
  font-family: var(--display);
  font-size: 0.9rem;
}

.cover-card figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cover-card-primary {
  z-index: 2;
  top: 0;
  left: 0;
  width: min(72%, 330px);
}

.cover-card-secondary {
  right: 0;
  bottom: 0;
  width: min(64%, 292px);
  border-color: var(--red);
}

.rule-section {
  padding-block: 104px;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.quiet-section h2,
.final-section h2 {
  margin: 14px 0 18px;
  color: var(--text-bright);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
}

.section-heading > p:last-child,
.final-section > p:not(.eyebrow) {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rule-grid article {
  min-height: 220px;
  padding: 32px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
}

.rule-number {
  color: var(--red-bright);
  font-family: var(--display);
  font-size: 1.35rem;
}

.rule-grid h3 {
  margin: 42px 0 12px;
  color: var(--text-bright);
  font-size: 1.05rem;
}

.rule-grid p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.adventures-section {
  padding-block: 104px;
}

.adventure {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding-block: 70px;
  border-top: 1px solid var(--border);
}

.adventure-blood .adventure-art {
  order: 2;
}

.adventure-art {
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--border-light);
}

.adventure-art img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.adventure-copy h3 {
  margin: 12px 0 18px;
  color: var(--text-bright);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
}

.adventure-copy > p:not(.adventure-status) {
  max-width: 58ch;
  margin: 0;
  color: var(--text-dim);
  font-size: 1.03rem;
}

.adventure-details {
  margin: 34px 0 0;
}

.adventure-details div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding-block: 14px;
  border-top: 1px solid var(--border);
}

.adventure-details dt {
  color: var(--gold);
  font-weight: 600;
}

.adventure-details dd {
  margin: 0;
  color: var(--text-dim);
}

.quiet-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 9vw, 120px);
  padding-block: 96px;
  border-block: 1px solid var(--border);
}

.quiet-section h2 {
  margin-bottom: 0;
}

.quiet-copy {
  align-self: end;
}

.quiet-copy p {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 1.03rem;
}

.text-link {
  color: var(--text-bright);
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-color: var(--red-bright);
  text-decoration-thickness: 2px;
}

.text-link:hover {
  color: var(--gold);
}

.final-section {
  max-width: 760px;
  padding-block: 120px;
  text-align: center;
}

.store-plaque {
  display: inline-block;
  margin-top: 30px;
  padding: 13px 18px;
  border: 1px solid var(--border-light);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.site-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
}

.site-footer > div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--text-bright);
  font-family: var(--display);
  font-weight: 700;
}


.store-plaque strong {
  margin-right: 5px;
  color: var(--text-bright);
}
/* Privacy and support */
.document-page {
  background: var(--bg);
}

.document-header {
  width: min(calc(100% - 48px), 820px);
}

.document-shell {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding-block: 82px 100px;
}

.document-shell h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.updated {
  margin-bottom: 38px;
  color: var(--text-dim);
}

.policy-lede,
.support-lede {
  margin-bottom: 54px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border-light);
}

.policy-lede p,
.support-lede p {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.02rem;
}

.policy-lede p + p {
  margin-top: 14px;
}

.document-shell section {
  margin-top: 52px;
}

.document-shell h2 {
  margin: 0 0 16px;
  color: var(--text-bright);
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
}

.document-shell h3 {
  margin: 28px 0 10px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.05rem;
}

.document-shell p,
.document-shell li,
.document-shell td {
  color: var(--text-dim);
}

.document-shell p {
  margin: 0 0 14px;
}

.document-shell ul,
.document-shell ol {
  padding-left: 24px;
}

.document-shell li + li {
  margin-top: 8px;
}

.document-shell strong {
  color: var(--text-bright);
}

.document-shell a {
  color: var(--text-bright);
  text-underline-offset: 4px;
  text-decoration-color: var(--red-bright);
}

.data-table-wrap {
  margin-block: 24px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--panel-raised);
  color: var(--text-bright);
  font-family: var(--display);
  font-size: 0.74rem;
}

.placeholder-note {
  margin-top: 22px !important;
  padding: 16px 18px;
  border-left: 3px solid var(--red-bright);
  background: var(--panel);
}

.document-footer {
  width: min(calc(100% - 48px), 820px);
}

.support-address {
  display: inline-block;
  margin: 4px 0 12px;
  color: var(--text-bright);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1rem, 4vw, 1.25rem);
}

.faq-list {
  margin-top: 34px;
}

.faq-item {
  padding-block: 28px;
  border-top: 1px solid var(--border);
}

.faq-item h3 {
  margin-top: 0;
  color: var(--text-bright);
  font-size: 1.05rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .cover-stage {
    width: min(100%, 600px);
    min-height: 650px;
    margin-inline: auto;
  }

  .rule-grid {
    grid-template-columns: 1fr;
  }

  .rule-grid article {
    min-height: auto;
  }

  .rule-grid h3 {
    margin-top: 30px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .hero,
  .rule-section,
  .adventures-section,
  .quiet-section,
  .final-section,
  .document-header,
  .document-shell,
  .document-footer {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    min-height: 74px;
  }

  .landing-page main {
    padding-top: calc(74px + env(safe-area-inset-top));
  }

  .landing-header {
    width: 100%;
    min-height: calc(74px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    padding-inline: 16px;
  }

  .landing-header .brand {
    gap: 8px;
    font-size: 0.84rem;
  }

  .landing-header .primary-nav {
    gap: 8px;
  }

  .landing-header .primary-nav a {
    font-size: 0.72rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .primary-nav a:first-child {
    display: none;
  }

  .store-nav-link {
    padding: 6px 8px;
  }

  .store-nav-link span {
    display: none;
  }

  .hero {
    padding-block: 64px 82px;
  }

  .cover-stage {
    min-height: 520px;
  }

  .rule-section,
  .adventures-section {
    padding-block: 78px;
  }

  .adventure,
  .quiet-section {
    grid-template-columns: 1fr;
  }

  .adventure {
    gap: 38px;
    padding-block: 54px;
  }

  .adventure-blood .adventure-art {
    order: 0;
  }

  .adventure-art {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .final-section {
    padding-block: 92px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
  }

  .document-shell {
    padding-block: 58px 78px;
  }
}

@media (max-width: 440px) {
  .cover-stage {
    min-height: 430px;
  }

  .cover-card-primary {
    width: 68%;
  }

  .cover-card-secondary {
    width: 60%;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
