/*
 * Nomad Doctrine site styles. Plain CSS, phone first.
 * Colour tokens: copied exactly from the game menu kit,
 *   MiniRTS Doc/ConceptArt/2026-10-17-menus/gallery.html (--k-* tokens) = Clients/MiniRTS.Client.Views/Theme/Tokens.xaml.
 * Fonts: Barlow Condensed 400 / 600 / 800 (the Steam look), woff2 copies of the media library TTFs;
 *   source record: MiniRTS-Marketting Doc/Marketing/Channels/Website/README.md slot table.
 */

:root {
  --panel: #4A4C34;
  --panel-deep: #2E2D1E;
  --well: #232216;
  --border: #807C50;
  --border-hover: #A29C66;
  --btn: #474A34;
  --btn-hover: #555841;
  --btn-press: #3B3D2A;
  --btn-pri: #6C693B;
  --btn-pri-hover: #79763F;
  --btn-pri-border: #8F8955;
  --btn-pri-border-hover: #B5AE6E;
  --text: #DDCAA1;
  --muted: #928770;
  --focus: #DDCAA1;
  --select: #C8BF6A;
  --slate: #353A2D;
  --slate-row: #2B2F24;
  --shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--panel-deep);
  color: var(--text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.5;
}

a { color: var(--select); }
a:hover { color: var(--btn-pri-border-hover); }
a:focus-visible, .btn-wishlist:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

h1, h2, h3 { font-weight: 800; letter-spacing: .3px; line-height: 1.1; }
h1 { font-size: 40px; margin: 24px 0 12px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.site-header .logo { display: block; line-height: 0; min-width: 0; max-width: 100%; }
.site-header .logo img { display: block; max-width: 100%; height: auto; }
.lang-switch { font-weight: 600; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.btn-wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background: var(--btn-pri);
  border: 1px solid var(--btn-pri-border);
  border-radius: 2px;
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 22px;
  text-decoration: none;
  cursor: pointer;
}
.btn-wishlist:hover { background: var(--btn-pri-hover); border-color: var(--btn-pri-border-hover); color: var(--text); }
.btn-wishlist:active { background: var(--btn-press); }

.defining { font-size: 21px; }
.pitch { font-weight: 600; font-size: 24px; color: var(--select); }
.wishlist-block { margin: 24px 0; }
.wishlist-note { margin: 8px 0 0; color: var(--muted); }

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 16px;
}
.site-footer p { margin: 4px 0; }

@media (min-width: 480px) {
  .btn-wishlist { width: auto; min-width: 240px; }
}

@media (min-width: 800px) {
  h1 { font-size: 56px; }
  body { font-size: 20px; }
}
