/* Strata site. Colours follow config/theme.toml. */
:root {
  --bg-top: #1c140e;
  --bg-bottom: #120c08;
  --panel: #2a1e15;
  --panel-raised: #33251a;
  --border: #5a4130;
  --text: #f2e7d3;
  --muted: #bda98a;
  --faint: #8b7860;
  --gold: #f1c40f;
  --amber: #e67e22;
  --max: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom) 60%) no-repeat;
  background-color: var(--bg-bottom);
  color: var(--text);
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
}
h1, h2, h3 { font-family: Cinzel, Georgia, serif; line-height: 1.2; letter-spacing: 0.02em; }
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 20px; max-width: var(--max); margin: 0 auto;
}
header.site .brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--text); text-decoration: none;
}
header.site .brand:hover .name { color: var(--gold); }
header.site img { width: 44px; border-radius: 50%; }
header.site .name { font-family: Cinzel, Georgia, serif; font-size: 22px; font-weight: 700; letter-spacing: 0.08em; }
header.site nav { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.site nav a:hover { color: var(--text); }
/* The nav link rule above would otherwise mute the button's label. */
header.site nav a.button { color: #241a10; }
header.site nav a.button:hover { color: #241a10; }

.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--gold); color: #241a10; font-weight: 700; text-decoration: none;
  border: 2px solid var(--gold);
}
.button:hover { background: #ffd83a; }
.button.secondary { background: transparent; color: var(--gold); }
.button.secondary:hover { background: rgba(241, 196, 15, 0.12); }

.hero, .hero.wrap { text-align: center; margin: 10px auto 44px; }
.hero img.banner { border-radius: 20px; border: 1px solid var(--border); margin: 0 auto 28px; }
.hero p.tagline { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

section, section.wrap { margin: 60px auto; }
section h2 { font-size: 28px; margin: 0 0 6px; }
section p.lead { color: var(--muted); margin: 0 0 26px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.step {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px;
}
.step .n { font-family: Cinzel, Georgia, serif; color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; }
.step h3 { margin: 6px 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.shots { display: grid; gap: 26px; align-items: start; }
.shot { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.shot img { border-radius: 10px; width: 100%; height: 190px; object-fit: cover; object-position: top left; }
.shot h3 { margin: 16px 0 6px; font-size: 19px; }
.shot p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(3, 1fr); } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 28px; padding: 0; list-style: none; }
.features li { border-left: 3px solid var(--amber); padding-left: 14px; color: var(--muted); }
.features strong { color: var(--text); display: block; font-family: Cinzel, Georgia, serif; }

.note {
  background: var(--panel-raised); border: 1px solid var(--border); border-left: 4px solid var(--amber);
  border-radius: 12px; padding: 18px 22px; color: var(--muted);
}
.note strong { color: var(--text); }

.prose { max-width: 760px; }
.prose h1 { font-size: 32px; margin-bottom: 6px; }
.prose h2 { font-size: 21px; margin-top: 32px; }
.prose li { margin-bottom: 8px; color: var(--muted); }
.prose p { color: var(--muted); }
.prose .updated { color: var(--faint); font-size: 14px; }

footer.site { border-top: 1px solid var(--border); margin-top: 40px; padding: 26px 0 50px; color: var(--faint); font-size: 14px; }
footer.site .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site .spacer { margin-left: auto; }

/* Phones: one column, smaller type, and no nav links competing with the
   Add to Discord button. */
@media (max-width: 620px) {
  header.site { gap: 10px; }
  header.site nav { gap: 12px; width: 100%; margin-left: 0; justify-content: space-between; }
  header.site nav a:not(.button) { font-size: 14px; }
  header.site .button { padding: 10px 16px; font-size: 14px; }
  .hero p.tagline { font-size: 17px; }
  section, section.wrap { margin: 40px auto; }
  section h2 { font-size: 23px; }
  .shot img { height: 150px; }
  .cta .button { width: 100%; text-align: center; }
}
