/* Landing-page styles are isolated from the game and authentication screens. */
:root {
  color-scheme: light;
  --ink: #29271f;
  --muted: #645f52;
  --paper: #f5f1e7;
  --gold: #e4c081;
  --dark: #211e19;
  --rule: #d9d0bf;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #9e651b; outline-offset: 6px; }
.hero a:focus-visible, .site-header a:focus-visible, .final-call a:focus-visible { outline-color: var(--gold); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.14; letter-spacing: -.035em; }
h3 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: 94px; }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--paper); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--dark); color: #f6eddd; border-bottom: 1px solid #ffffff18; }
.nav, .brand, .nav-sections, .nav-actions { display: flex; align-items: center; }
.nav { min-height: 88px; gap: 40px; justify-content: space-between; }
.brand { flex: none; gap: 10px; text-decoration: none; }
.brand img { object-fit: contain; }
.brand span { font: 400 2rem/1 var(--serif); letter-spacing: .04em; }
.nav-sections, .nav-actions { gap: 28px; }
.nav-sections a, .login-link { text-decoration: none; font-size: .85rem; padding-block: 12px; }
.nav-sections a { color: #d1c9bb; }
.nav-sections a:hover, .login-link:hover { color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 14px 25px; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #272116; font-size: .87rem; font-weight: 650; line-height: 1.4; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover { background: #f1d49e; border-color: #f1d49e; }
.button-small { min-height: 44px; padding: 10px 19px; gap: 20px; }
.button-dark { color: var(--paper); background: var(--dark); border-color: var(--dark); }
.button-dark:hover { background: #4a402e; border-color: #4a402e; }
.hero { background: radial-gradient(ellipse at 75% 25%, #40382c, transparent 58%), var(--dark); color: #f6eddd; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 74px 66px; }
.hero .eyebrow, .final-call .eyebrow { color: var(--gold); }
h1 { font-size: clamp(2.9rem, 4.65vw, 4.35rem); line-height: 1.07; letter-spacing: -.048em; margin: 23px 0 28px; }
h1 em { color: var(--gold); font-weight: 400; }
.hero-intro { font: 1.3rem/1.45 var(--serif); margin-bottom: 12px; }
.hero-description { max-width: 470px; color: #c5bfb3; font-size: .96rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { font-size: .85rem; text-decoration: none; padding-block: 12px; }
.text-link span { margin-left: 12px; }
.hero-note { color: #b7afa2; font-size: .75rem; margin-top: 14px; }
.world-preview { min-width: 0; border: 1px solid #ad94614d; padding: 10px; background: #29271f; box-shadow: 0 24px 60px #0003; }
.preview-heading, .world-preview figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.preview-heading { padding: 4px 5px 13px; font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: #e4d1b1; }
.preview-heading span:last-child { color: #b7afa2; letter-spacing: .04em; }
.world-preview > a { display: block; }
.world-image { width: 100%; height: auto; }
.world-preview figcaption { padding: 16px 6px 5px; font: 1rem/1.4 var(--serif); }
.world-preview figcaption a { font: .72rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--gold); text-decoration: none; }
.world-facts { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 27px; border-top: 1px solid #ffffff20; }
.world-facts div { padding-inline: 30px; border-right: 1px solid #ffffff20; }
.world-facts div:first-child { padding-left: 0; }
.world-facts div:last-child { border: 0; }
.world-facts strong { display: block; font: 1.16rem/1.5 var(--serif); }
.world-facts span { color: #b7afa2; font-size: .76rem; }
.section-heading { max-width: 660px; }
.section-heading .eyebrow, .faq-grid .eyebrow { color: #826035; margin-bottom: 17px; }
.section-heading > p:last-child { margin-top: 20px; color: var(--muted); }
.playstyles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.playstyle { border-top: 1px solid var(--rule); padding-top: 25px; }
.playstyle img { object-fit: contain; object-position: left center; margin-bottom: 24px; }
.playstyle .eyebrow { color: #826035; font-size: .64rem; margin-bottom: 12px; }
.playstyle h3 { min-height: 2.6em; }
.playstyle > p:last-child { margin-top: 15px; color: var(--muted); font-size: .89rem; line-height: 1.75; }
.rhythm { background: #e9e4d7; border-block: 1px solid var(--rule); padding-block: 62px; }
.rhythm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.rhythm .eyebrow { color: #756345; margin-bottom: 17px; }
.rhythm p:not(.eyebrow) { color: #565346; font-size: .94rem; }
.rhythm .rhythm-note { margin-top: 18px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 46px 0 34px; }
.steps li { border-top: 1px solid var(--rule); padding-top: 24px; }
.step-number { display: block; color: #977a50; font: 2rem/1 var(--serif); margin-bottom: 25px; }
.steps p { color: var(--muted); font-size: .89rem; margin-top: 14px; }
.questions-section { background: #ede8dc; border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: 90px; }
.faq-grid > div > p:last-child { margin-top: 25px; color: var(--muted); font-size: .86rem; }
.questions { border-top: 1px solid #cfc5b2; }
.questions details { border-bottom: 1px solid #cfc5b2; }
.questions summary { padding: 22px 30px 22px 0; cursor: pointer; font-size: .95rem; font-weight: 600; }
.questions summary::marker { color: #886b40; }
.questions details p { padding: 0 20px 24px 0; color: var(--muted); font-size: .9rem; }
.final-call { background: var(--dark); color: #f6eddd; text-align: center; }
.final-call h2 { margin: 19px 0; }
.final-call p:not(.eyebrow) { color: #c5bfb3; }
.final-call .button { margin-top: 30px; }
.final-call .returning { font-size: .78rem; margin-top: 20px; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; min-height: 105px; padding-block: 25px; }
.site-footer .brand span { font-size: 1.55rem; }
.site-footer p { font-size: .75rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 25px; margin-left: auto; }
.site-footer nav a { font-size: .76rem; text-decoration: none; padding-block: 10px; }
@media (min-width: 1500px) { .hero-grid { padding-block: 90px; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .nav { gap: 24px; }
  .nav-sections { gap: 20px; }
  .hero-grid { gap: 35px; }
  .hero-actions { gap: 16px; }
  .playstyles { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .playstyle h3 { min-height: 0; }
  .rhythm-grid, .faq-grid { gap: 48px; }
  .steps { gap: 30px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .section-space { padding-block: 64px; }
  .nav { min-height: 78px; }
  .nav-sections { display: none; }
  .nav-actions { gap: 20px; }
  .brand span { font-size: 1.8rem; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 46px 38px; gap: 38px; }
  h1 { font-size: clamp(2.7rem, 8.9vw, 4rem); max-width: 600px; }
  .hero-copy { max-width: 590px; }
  .hero-description { max-width: 540px; }
  .world-preview { width: 100%; max-width: 520px; justify-self: center; }
  .world-facts { gap: 16px; padding-block: 23px; }
  .world-facts div { padding-inline: 0; border: 0; }
  .world-facts strong { font-size: 1rem; }
  .world-facts span { font-size: .7rem; line-height: 1.5; display: block; margin-top: 5px; }
  .rhythm-grid, .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 25px; margin-top: 32px; }
  .steps li { display: flex; gap: 23px; }
  .step-number { width: 36px; flex: none; font-size: 1.6rem; margin: 0; }
  .steps p { margin-top: 10px; }
  .site-footer { gap: 15px 25px; }
  .site-footer nav { width: 100%; margin: 0; }
}
@media (max-width: 420px) {
  .nav { gap: 14px; }
  .nav-actions { gap: 14px; }
  .brand { gap: 5px; }
  .brand img { width: 33px; height: 33px; }
  .button-small { padding-inline: 13px; gap: 10px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; }
  .hero-note { margin-top: 8px; }
  .hero .eyebrow { font-size: .61rem; }
  .playstyles { grid-template-columns: 1fr; gap: 30px; }
  .playstyle { padding-left: 76px; position: relative; min-height: 90px; }
  .playstyle img { position: absolute; top: 24px; left: 0; width: 58px; height: 64px; }
  .world-facts { grid-template-columns: 1fr; gap: 17px; }
  .world-facts strong { font-size: 1.1rem; }
  .world-facts span { margin: 0; font-size: .75rem; }
  .preview-heading { font-size: .52rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
