:root {
  --green-950: #04110d;
  --green-900: #071a13;
  --green-800: #0d2b20;
  --cream: #f3edde;
  --cream-muted: #d5cdbd;
  --gold: #d4b465;
  --gold-soft: #ae9252;
  --line: rgba(212, 180, 101, .32);
}

* { box-sizing: border-box; }

html { background: var(--green-950); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 10%, rgba(23, 75, 52, .52), transparent 42rem),
    linear-gradient(145deg, #03100c 0%, #082017 55%, #04110d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.page-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 80px 0 64px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo {
  width: 190px;
  height: 190px;
  object-fit: contain;
  display: block;
  margin-bottom: 28px;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.28));
}

.brand-logo.small {
  width: 54px;
  height: 54px;
  margin: 0 14px 0 0;
  filter: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .28em;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-size: clamp(50px, 8vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
}

.rule {
  width: 62px;
  height: 1px;
  margin: 30px auto 24px;
  background: var(--gold);
}

.tagline {
  margin: 0;
  color: #a7c4ba;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.intro {
  width: min(690px, 100%);
  margin: 34px auto 0;
  color: var(--cream-muted);
  font-size: 16px;
  line-height: 1.8;
}

.button {
  display: inline-block;
  margin-top: 34px;
  padding: 15px 24px;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 700;
  transition: .2s ease;
}

.button:hover {
  background: var(--gold);
  color: var(--green-950);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  color: #9eb3aa;
  font-size: 12px;
}

footer nav {
  display: flex;
  gap: 24px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--cream);
}

.legal-shell {
  padding-bottom: 56px;
}

.legal-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.legal-card {
  width: min(760px, 100%);
  margin: 72px auto 0;
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 68px);
  line-height: 1;
}

.updated {
  margin: 16px 0 46px;
  color: #809a90;
  font-size: 13px;
}

.legal-card h2 {
  margin: 38px 0 10px;
  color: var(--gold);
  font-size: 24px;
}

.legal-card p {
  color: var(--cream-muted);
  line-height: 1.8;
}

.legal-card a {
  color: var(--cream);
}

.back-link {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 56px; }
  .brand-logo { width: 150px; height: 150px; }
  footer { flex-direction: column; }
  .legal-header { padding: 22px 0; }
  .legal-card { margin-top: 52px; }
}

.denied-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px 0;
}

.denied-card {
  width: min(680px, 100%);
  text-align: center;
}

.denied-logo {
  width: 170px;
  height: 170px;
  margin: 0 auto 28px;
}

.denied-card h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
}

.denied-copy {
  width: min(620px, 100%);
  margin: 28px auto 0;
  color: var(--cream-muted);
  font-size: 16px;
  line-height: 1.8;
}

.denied-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.denied-actions .button {
  margin-top: 0;
}

.text-link {
  color: var(--cream-muted);
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.text-link:hover {
  color: var(--cream);
}

.denied-help {
  margin-top: 42px;
  color: #809a90;
  font-size: 12px;
}

.denied-help a {
  color: var(--cream-muted);
}

@media (max-width: 640px) {
  .denied-logo { width: 140px; height: 140px; }
  .denied-actions { flex-direction: column; gap: 18px; }
}
