:root {
  --bg: #1d1714;
  --panel: #2a211c;
  --line: #4a3a30;
  --text: #ece3d9;
  --muted: #b8a999;
  --copper: #d08a4e;
  --teal: #6fb7ad;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--teal); }
a:hover { color: var(--copper); }

h1, h2, h3 {
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.25;
  font-weight: 700;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(29, 23, 20, 0.92);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 20px;
}
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--copper); }

/* Hero */
.hero {
  position: relative;
  background: url("img/hero.jpg") center 35% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,23,20,0.55) 0%, rgba(29,23,20,0.92) 100%);
}
.hero .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero .logo {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  flex-shrink: 0;
}
.hero h1 { font-size: 40px; margin: 0 0 8px; }
.hero p { margin: 0; color: var(--text); font-size: 19px; max-width: 520px; }

/* Sections */
section { padding: 48px 0 8px; }
section h2 {
  font-size: 26px;
  margin: 0 0 16px;
  color: var(--copper);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0;
}
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Legal text */
.legal { padding: 40px 0 24px; }
.legal h1 { font-size: 34px; margin: 0 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 24px; }
.legal h2 { font-size: 22px; color: var(--copper); margin: 36px 0 10px; }
.legal li { margin-bottom: 6px; }

/* Footer */
footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 28px;
}
footer a { color: var(--muted); }

@media (max-width: 640px) {
  .hero .wrap { flex-direction: column; text-align: center; padding-top: 48px; padding-bottom: 48px; }
  .hero .logo { width: 140px; height: 140px; }
  .hero h1 { font-size: 30px; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 10px; }
  .brand span { font-size: 17px; }
}
