:root {
  --gold: #f2b84b;
  --cream: #f7e5b0;
  --paper: #fff6d7;
  --green: #1c2e22;
  --deep: #101713;
  --line: rgba(242, 184, 75, .26);
  --muted: #d9c99d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--paper);
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.58;
  background:
    repeating-linear-gradient(135deg, rgba(242, 184, 75, .07) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, var(--deep), #17251c 48%, #243a2b);
}

a { color: inherit; }

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(16, 23, 19, .95);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--cream);
  font-weight: 850;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(242, 184, 75, .55);
  background: #111814;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem;
}

.nav-links a {
  min-height: 36px;
  padding: .45rem .55rem;
  border-bottom: 1px solid transparent;
  color: var(--cream);
  text-decoration: none;
  font-weight: 760;
}

.nav-links a:hover,
.nav-links a:focus {
  border-bottom-color: var(--gold);
  outline: none;
}

.hero,
.section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(22, 31, 25, .94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

.hero {
  margin: 1.5rem 0;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border-top: 6px solid var(--gold);
}

.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  color: var(--cream);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 7vw, 5.2rem);
}

h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.12rem; }

.lead {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: clamp(1rem, 3vw, 1.6rem);
  margin: 0 0 1.2rem;
}

.grid,
.two-grid {
  display: grid;
  gap: .9rem;
}

.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 1rem;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(29, 42, 32, .92);
}

.card p,
.card li,
.section p {
  color: var(--muted);
}

.card ul { padding-left: 1.15rem; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .62rem .9rem;
  border: 1px solid rgba(242, 184, 75, .45);
  border-radius: 6px;
  background: #1d2a20;
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #151914;
}

.button.disabled {
  opacity: .72;
  pointer-events: none;
}

.status-list {
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
}

.status-list div {
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  background: rgba(242, 184, 75, .08);
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(17, 24, 20, .88);
}

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

th {
  background: #31442f;
  color: var(--cream);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

td { color: #e9dcc0; }

footer {
  padding: 1rem 0 2.5rem;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: .85rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .grid,
  .two-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page { width: min(100% - 20px, 1080px); }
  .nav-links a { padding-left: 0; }
  h1 { font-size: clamp(2.2rem, 15vw, 3.5rem); }
  table { display: block; overflow-x: auto; }
  .button { width: 100%; justify-content: center; }
}
