:root {
  color-scheme: dark;
  --stone: #141715;
  --iron: #1c201d;
  --paper: #eee9dd;
  --muted: #b5b8aa;
  --gold: #d6ae68;
  --line: #41463c;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--paper);
  background: var(--stone);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
::selection { background: var(--gold); color: var(--stone); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 1.6rem; }
p { color: var(--muted); }
strong { font-weight: 600; color: var(--paper); }
code { color: var(--paper); font-size: .9em; overflow-wrap: anywhere; }
.shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 96px; scroll-margin-top: 24px; }
.eyebrow { color: var(--gold); font-size: .7rem; font-weight: 600; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow + h2 { margin-top: 15px; }
.site-header { background: var(--stone); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 1.55rem; letter-spacing: .02em; }
.sigil { width: 28px; height: 36px; stroke: var(--gold); stroke-width: 1.4; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; text-decoration: none; color: var(--muted); }
nav a:hover, .site-footer a:hover { color: var(--gold); }
nav .nav-join { color: var(--paper); gap: 18px; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background-color: var(--iron); background-image: linear-gradient(90deg, rgba(20,23,21,.98) 8%, rgba(20,23,21,.77) 58%, rgba(20,23,21,.38)), linear-gradient(0deg, var(--stone), transparent 45%), url("img/world.jpg"); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 77% 35%, #b9934c1a, transparent 55%), repeating-linear-gradient(115deg, transparent 0 99px, #d6ae6805 100px 101px); pointer-events: none; }
.hero-boundary { position: absolute; z-index: -1; width: 720px; height: 720px; border: 1px solid #d6ae6826; border-radius: 50%; right: -120px; top: -190px; box-shadow: 0 0 0 85px #d6ae6806, 0 0 0 86px #d6ae6812, 0 0 0 170px #d6ae6803, 0 0 0 171px #d6ae680c; pointer-events: none; }
.hero-inner { min-height: 650px; padding-block: 92px 65px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero-copy { align-self: center; max-width: 720px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.ember { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 18px #d6ae6880; }
h1 { font-size: clamp(4.2rem, 9.5vw, 8.7rem); letter-spacing: -.055em; margin: 23px 0 12px; line-height: 1; }
.hero-pitch { color: var(--paper); font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.hero-description { max-width: 470px; margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; padding: 12px 23px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; border: 1px solid var(--gold); font-size: .85rem; font-weight: 600; line-height: 1.5; text-decoration: none; border-radius: 2px; transition: background-color 160ms, border-color 160ms; }
.button-primary { background: var(--gold); color: var(--stone); }
.button-primary:hover { background: #e5c58d; border-color: #e5c58d; }
.button-secondary { background: #14171580; color: var(--paper); border-color: #7f8069; }
.button-secondary:hover { background: #353a2f; border-color: var(--gold); }
.hero-note { margin-top: 18px; font-size: .73rem; letter-spacing: .025em; }
.hero-note span { color: var(--gold); margin-inline: 12px; }
.season-note { border-left: 1px solid #d6ae6873; padding-left: 22px; flex: 0 0 235px; margin-bottom: 4px; }
.season-note p { font-family: var(--serif); color: var(--paper); font-size: 1.7rem; line-height: 1.25; margin-block: 12px; }
.season-note > span:last-child { display: block; max-width: 205px; font-size: .75rem; color: var(--muted); }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 70px; margin-bottom: 40px; }
.section-heading > p, .section-heading > div > p:not(.eyebrow) { font-size: .92rem; max-width: 455px; }
.lands { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--iron); }
.land { padding: 35px 38px 38px; }
.land-wild { border-left: 1px solid var(--line); background: linear-gradient(130deg, transparent, #d6ae6809); }
.land h3 { font-size: 2rem; margin-block: 16px; }
.land > p:last-child { font-size: .91rem; }
.zone-mark { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border: 1px solid var(--gold); border-radius: 50%; }
.land-wild .zone-mark { border-radius: 0; transform: rotate(45deg); }
.game-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-block: 38px; }
.game-details h3 { font-size: 1.35rem; margin-bottom: 12px; }
.game-details p { font-size: .86rem; }
.season-rule { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding-top: 26px; border-top: 1px solid var(--line); align-items: baseline; }
.season-rule p { font-size: .86rem; }
.download-section { background: var(--iron); border-block: 1px solid var(--line); }
.version { color: var(--gold); font-size: .8rem; margin-top: 10px; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.download-card { padding: 32px; border: 1px solid #555b4b; background: var(--stone); }
.platform-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.platform-heading h3 { font-size: 2rem; }
.file-type { font-family: monospace; font-size: .8rem; color: var(--muted); }
.download-card > p { font-size: .88rem; }
.download-card .button { display: flex; margin-block: 24px 18px; }
.download-card .install-note { font-size: .78rem; line-height: 1.7; }
.play-section { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.play-intro > p:not(.eyebrow) { margin-top: 24px; font-size: .92rem; }
.play-intro .small-copy { font-size: .82rem; max-width: 335px; }
kbd { display: inline-block; min-width: 24px; padding: 0 5px; border: 1px solid #626855; border-bottom-width: 2px; border-radius: 3px; background: #232820; color: var(--paper); font-family: var(--sans); font-size: .75rem; line-height: 1.6; text-align: center; }
.controls { border-collapse: collapse; width: 100%; font-size: .82rem; }
.controls thead th { padding: 0 0 14px; color: var(--muted); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.controls tbody th, .controls td { border-top: 1px solid var(--line); padding: 10px 0; text-align: left; }
.controls tbody th { width: 52%; padding-right: 16px; font-weight: 400; }
.controls td { color: var(--muted); }
.register-section { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 10% 0, #d6ae6809, transparent 60%), var(--iron); }
.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start; }
.register-intro h2 { font-size: clamp(2.7rem, 4.5vw, 4.2rem); }
.register-intro > p:not(.eyebrow) { max-width: 350px; margin-top: 28px; font-size: .92rem; }
.register-intro .invite-note { border-left: 1px solid #7f8069; padding-left: 20px; font-size: .82rem; margin-top: 34px; }
form h3 { font-size: 1.8rem; }
.form-note { font-size: .78rem; margin-block: 10px 24px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: 6px; }
input { width: 100%; min-height: 48px; border: 1px solid #717763; border-radius: 2px; padding: 9px 12px; background: var(--stone); color: var(--paper); }
input:focus-visible { outline-offset: 2px; }
input[aria-invalid="true"] { border-color: var(--gold); }
.field-help, .field-error { display: block; font-size: .73rem; line-height: 1.6; margin-top: 5px; }
.field-help { color: var(--muted); }
.field-error { color: #f0c489; }
.field-error:empty, .form-message:empty { display: none; }
form > .button { width: 100%; margin-top: 8px; }
.form-message { padding: 16px; border: 1px solid var(--gold); border-left-width: 3px; margin-top: 20px; color: var(--paper); background: #d6ae6809; font-size: .87rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-message[data-state="success"] { background: #d6ae6818; }
.site-footer { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .73rem; color: var(--muted); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; top: 10px; left: 16px; padding: 12px 20px; background: var(--gold); color: var(--stone); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
@media (min-width: 1600px) { .hero-boundary { right: calc((100vw - 1440px) / 2 - 120px); } }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero-inner { min-height: 610px; }
  .season-note { flex-basis: 195px; }
  .season-note .eyebrow { font-size: .6rem; }
  .section-heading { gap: 38px; }
  .play-section, .register-grid { gap: 55px; }
  .land { padding: 28px; }
  .game-details { gap: 26px; }
  .season-rule { grid-template-columns: 190px 1fr; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  .header-inner { min-height: 76px; gap: 14px; }
  .wordmark { font-size: 1.3rem; gap: 8px; }
  .sigil { width: 23px; height: 31px; }
  nav { gap: 0; }
  nav a:not(.nav-join) { display: none; }
  nav .nav-join { font-size: .74rem; gap: 9px; }
  .hero-inner { min-height: 0; padding-block: 70px 40px; display: block; }
  .hero-copy { max-width: 540px; }
  h1 { font-size: clamp(3.8rem, 14.6vw, 6rem); margin-top: 28px; }
  .hero-pitch { margin-top: 18px; font-size: 1.4rem; }
  .hero-description { font-size: .9rem; max-width: 400px; }
  .hero .eyebrow { font-size: .63rem; }
  .hero-boundary { width: 550px; height: 550px; right: -350px; top: -90px; }
  .actions { gap: 10px; margin-top: 28px; }
  .actions .button { flex: 1; padding-inline: 12px; gap: 14px; }
  .season-note { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-items: end; }
  .season-note .eyebrow { grid-column: 1 / -1; }
  .season-note p { margin: 0; font-size: 1.35rem; }
  .season-note > span:last-child { max-width: 170px; font-size: .7rem; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .lands, .download-grid, .play-section, .register-grid { grid-template-columns: 1fr; }
  .land { padding: 28px 24px; }
  .land h3 { font-size: 1.8rem; }
  .land-wild { border-left: 0; border-top: 1px solid var(--line); }
  .game-details { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .game-details h3 { margin-bottom: 9px; }
  .season-rule { grid-template-columns: 1fr; gap: 12px; }
  .download-card { padding: 26px 24px; }
  .download-card .button { gap: 15px; padding-inline: 12px; }
  .download-grid { gap: 16px; }
  .play-section, .register-grid { gap: 36px; }
  .play-intro .small-copy { max-width: 450px; }
  .controls { font-size: .78rem; }
  .controls tbody th { width: 50%; padding-right: 12px; }
  .controls kbd { min-width: 22px; padding-inline: 4px; }
  .register-intro h2 { font-size: 3.2rem; }
  .register-intro > p:not(.eyebrow) { max-width: 440px; margin-top: 22px; }
  .register-intro .invite-note { margin-top: 24px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 24px; }
  .site-footer > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
