/* shieldgame.app: the game's own tokens (brief 5.1), dark only like the game. */
:root {
  --room: #070c0b;
  --ink: #0d1513;
  --panel: #15211e;
  --panel-2: #1d2d29;
  --line: rgba(232, 221, 195, 0.14);
  --text: #ece6d6;
  --muted: #9eaca2;
  --brass: #d9ae57;
  --brass-ink: #1d1405;
  --felt: radial-gradient(ellipse at 50% 0%, #1a5243 0%, #113c31 40%, #0a241e 75%, var(--ink) 100%);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font:
    400 17px/1.65 'Figtree',
    system-ui,
    sans-serif;
}

a {
  color: var(--brass);
  text-underline-offset: 3px;
}

a:hover {
  color: #ecc77a;
}

header.top {
  border-bottom: 1px solid var(--line);
  background: var(--room);
}

header.top .bar {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: 'Young Serif', Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.18em;
}

.brand img {
  width: 34px;
  height: auto;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 15px;
}

nav.links a {
  color: var(--muted);
  text-decoration: none;
}

nav.links a:hover,
nav.links a[aria-current='page'] {
  color: var(--text);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

h1,
h2,
h3 {
  font-family: 'Young Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  font-size: clamp(30px, 6vw, 42px);
  margin: 0 0 6px;
}

h2 {
  font-size: 24px;
  margin: 40px 0 8px;
}

h3 {
  font-size: 19px;
  margin: 24px 0 4px;
}

p,
li {
  color: var(--text);
}

.meta {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 18px 0;
}

.card p:first-child {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-block;
  background: var(--brass);
  color: var(--brass-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
}

.button:hover {
  background: #ecc77a;
  color: var(--brass-ink);
}

/* Home */
.hero {
  background: var(--felt);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 56px 16px 64px;
}

.hero img {
  width: min(180px, 46vw);
  height: auto;
}

.hero h1 {
  letter-spacing: 0.12em;
  margin-top: 10px;
}

.hero p {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--text);
  font-size: 19px;
}

.hero .soon {
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.features .card {
  margin: 0;
}

.features h3 {
  margin-top: 0;
  color: var(--brass);
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer .bar {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 16px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

footer a {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
