/* Dominion's website (milestones/MILESTONE_65.md D5). Every colour is a token
   that build.py fills from ui/theme/main_theme.tres by name; this file holds
   no colour of its own. Barlow Condensed for words, uppercase titles, and
   Anton for the wordmark only. */

:root {
  --sky-top: #6a869f;
  --sky-mid: #a9b8c4;
  --cloud: #a3b4c3;
  --ridge-far: #6f8394;
  --ridge-mid: #3d4b44;
  --ridge-near: #1e2621;
  --ground: #1a1f26;
  --bg-top: #171b21;
  --bg-bottom: #0f1216;
  --panel: #10141a;
  --raised: #252b33;
  --stroke: rgba(255, 255, 255, 0.14);
  --glass: rgba(16, 20, 26, 0.6);
  --scrim: rgba(7, 9, 12, 0.72);
  --ink: #eef1f4;
  --ink-2: #9aa4b0;
  --on-gold: #1a1206;
  --gold: #ffc24b;
  --warning: #ff9f43;
  --logo-shadow: rgba(0, 0, 0, 0.431);
  --tagline: #0f1216;
}

@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Anton"; src: url("/fonts/Anton-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  background: linear-gradient(var(--bg-top), var(--bg-bottom)) fixed;
  background-color: var(--bg-bottom);
}

a { color: var(--ink); }

h1, h2, h3 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; }
h2 { font-size: 30px; margin: 0 0 16px; }
h3 { font-size: 22px; margin: 0 0 6px; }

.preview-band {
  position: sticky; top: 0; z-index: 10;
  padding: 8px 16px; text-align: center; font-weight: 700; text-transform: uppercase;
  background: var(--warning); color: var(--on-gold);
}

/* The title's sky, drawn as M61's title is: a gradient and three ridges. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 32px;
  text-align: center;
  background: linear-gradient(var(--sky-top), var(--sky-mid) 72%, var(--ground) 72%);
}

.top { display: flex; justify-content: flex-end; gap: 16px; }
.top a { font-weight: 700; text-transform: uppercase; text-decoration: none; padding: 8px 12px; border-radius: 999px; background: var(--glass); border: 2px solid var(--stroke); }

.lockup { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.emblem { width: 72px; height: 72px; }
.wordmark {
  margin: 0;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: clamp(56px, 17vw, 128px);
  letter-spacing: 0.01em;
  color: var(--ink);
  text-shadow: 4px 4px 0 var(--logo-shadow);
}

.tagline { margin: 4px 0 0; font-size: 24px; font-weight: 700; color: var(--tagline); }
.kicker { margin: 4px auto 0; max-width: 32ch; font-size: 22px; color: var(--tagline); }

.stage { position: relative; height: min(92vw, 560px); max-width: 720px; margin: 8px auto 0; }
.ridge { position: absolute; left: -10%; right: -10%; bottom: 0; }
.ridge.far { height: 44%; background: var(--ridge-far); clip-path: polygon(0 60%, 18% 30%, 34% 52%, 55% 18%, 74% 46%, 88% 26%, 100% 44%, 100% 100%, 0 100%); }
.ridge.mid { height: 30%; background: var(--ridge-mid); clip-path: polygon(0 40%, 22% 62%, 44% 30%, 66% 58%, 84% 36%, 100% 52%, 100% 100%, 0 100%); }
.ridge.near { height: 14%; background: var(--ridge-near); clip-path: polygon(0 30%, 30% 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
.hero-body { position: absolute; left: 50%; bottom: 8%; width: min(80vw, 480px); height: auto; transform: translateX(-50%); z-index: 1; }
.ridge.near { z-index: 2; }

.cta { position: relative; z-index: 3; margin-top: -8px; }

.primary {
  display: inline-block;
  min-height: 56px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700; font-size: 24px; text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--on-gold);
}
.note { margin: 10px auto 0; max-width: 40ch; font-size: 18px; color: var(--ink-2); }
.hero .note { color: var(--ink); }

main { max-width: 1080px; margin: 0 auto; padding: 24px 16px 8px; }

.glass {
  margin: 0 0 24px;
  padding: 20px;
  border-radius: 16px;
  background: var(--glass);
  border: 2px solid var(--stroke);
}

.points { display: grid; gap: 16px; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(3, 1fr); } }
.point p { margin: 0; color: var(--ink-2); }

.shots { margin: 0 0 24px; }
.shots h2 { padding: 0 4px; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.strip figure { flex: 0 0 min(62vw, 300px); margin: 0; scroll-snap-align: start; }
.strip img { display: block; width: 100%; height: auto; border-radius: 16px; border: 2px solid var(--stroke); background: var(--panel); }
.strip figcaption { margin-top: 8px; font-size: 18px; color: var(--ink-2); }

.steps { margin: 0 0 12px; padding-left: 24px; }
.steps li { margin-bottom: 10px; }
.days { font-weight: 700; }
.join { text-align: left; }
.join .primary { margin-top: 4px; }

.faq details { border-top: 2px solid var(--stroke); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 0; color: var(--ink-2); }

footer { max-width: 1080px; margin: 0 auto; padding: 8px 16px 40px; text-align: center; color: var(--ink-2); font-size: 18px; }
footer a { color: var(--ink-2); }
.credits { font-size: 16px; }

/* The privacy page and the chooser. */
.doc-head { max-width: 860px; margin: 0 auto; padding: 16px 16px 0; }
.doc-head .top { justify-content: space-between; }
.doc-head h1 { font-size: 40px; margin: 24px 0 4px; }
.updated { margin: 0; color: var(--ink-2); }
.prose { max-width: 860px; margin: 16px auto 24px; }
.prose .lead { font-size: 22px; }
.prose h2.part { margin-top: 32px; }
.prose section { margin: 20px 0; }
.prose p, .prose li { color: var(--ink); }

.chooser { background: linear-gradient(var(--sky-top), var(--sky-mid)) fixed; background-color: var(--sky-mid); min-height: 100vh; }
.choose { text-align: center; padding-top: 18vh; }
.choose p { margin: 16px 0; }
.chooser .emblem { width: 96px; height: 96px; }
