:root {
  --midnight: #080d20;
  --indigo: #253a73;
  --teal: #1e4750;
  --forest: #2c4a35;
  --amber: #c29b4d;
  --gold: #d8b463;
  --copper: #9f6a3d;
  --bone: #f0e6d2;
  --paper: #f7efdc;
  --ink: #f7efdc;
  --muted: #c9bea7;
  --rule: rgba(216, 180, 99, 0.28);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 180, 99, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--midnight), #111320);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(8, 13, 32, 0.9);
  backdrop-filter: blur(8px);
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}

.brand::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 1px solid rgba(216, 180, 99, 0.55);
  background: linear-gradient(180deg, rgba(216,180,99,.12), rgba(159,106,61,.08));
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a { color: rgba(240, 230, 210, 0.82); }

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.wrap {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 88px;
  flex: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 7vw, 3.35rem);
}

h2 {
  margin: 36px 0 10px;
  font-size: 1.32rem;
}

p { margin: 0 0 1.1rem; }

ul {
  margin: 0 0 1.3rem;
  padding-left: 1.2rem;
}

li + li { margin-top: 0.55rem; }

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.panel {
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(247, 239, 220, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  padding: clamp(28px, 5vw, 48px);
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--gold);
  color: var(--midnight);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 700;
}

.btn:hover {
  background: var(--copper);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--paper);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--midnight);
}

.aphorism {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }
  .nav-links { gap: 16px; flex-wrap: wrap; }
  .nav-links a { min-height: 40px; }
  .wrap {
    width: min(100% - 36px, 760px);
    padding: 44px 0 62px;
  }
  .panel { padding: 24px 20px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}
