:root {
  --bg: #14110F;
  --panel: #1E1A16;
  --line: #3A3128;
  --text: #F4ECDD;
  --muted: #A89A86;
  --gold: #E8C474;
  --gold-deep: #B8913F;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--text); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: normal;
  line-height: 1.25;
  color: var(--text);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

/* Links page (index.html) */
.links-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(20, 17, 15, 0.82), rgba(20, 17, 15, 0.96)),
    url("img/splash.jpg") center top / cover no-repeat fixed,
    var(--bg);
}
.links {
  max-width: 420px;
  margin: 0 auto;
  padding: 56px 16px 32px;
  text-align: center;
}
.links-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
}
.links h1 {
  margin: 0;
  font-size: 34px;
  color: var(--gold);
}
.links-tag {
  margin: 2px 0 12px;
  color: var(--gold-deep);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.links-pitch { margin: 0 0 28px; color: var(--muted); }
.links-list { display: grid; gap: 12px; }
.link-btn {
  display: block;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(30, 26, 22, 0.88);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.link-btn:hover, .link-btn:focus { border-color: var(--gold-deep); color: var(--text); }
.link-main { background: var(--gold); border-color: var(--gold); color: #24190C; }
.link-main:hover, .link-main:focus { background: #F1D38E; color: #24190C; }
.links-foot { margin: 36px 0 0; color: var(--muted); font-size: 14px; }

/* Legal pages */
.doc {
  padding-top: 32px;
  padding-bottom: 48px;
}
.doc h1 {
  font-size: 32px;
  margin: 0 0 4px;
  color: var(--gold);
}
.doc .meta {
  color: var(--muted);
  margin: 0 0 24px;
}
.doc h2 {
  font-size: 22px;
  margin: 32px 0 8px;
  color: var(--gold);
}
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  padding-top: 20px;
  padding-bottom: 32px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 8px;
}
.site-footer p { margin: 0; }
