/* tokens inlined — eliminates @import render-blocking chain */
:root {
  --gold:          #D4A017;
  --gold-dark:     #8a6400;
  --gold-light:    #f0c84a;
  --white:         #ffffff;
  --off-white:     #f8f6f2;
  --black:         #0d0d0d;
  --grey-dark:     #1e1e1e;
  --grey-mid:      #4a4a4a;
  --grey-light:    #e0e0e0;
  --text-primary:  var(--black);
  --text-dim:      var(--grey-mid);
  --text-on-dark:  var(--white);
  --bg-page:       var(--white);
  --bg-dark:       var(--grey-dark);
  --accent:        var(--gold);
  --font-heading:  'Georgia', serif;
  --font-body:     'system-ui', sans-serif;
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  2rem;
  --sp-xl:  4rem;
  --max-width: 1200px;
  --radius:    4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.section-dark a, .site-header a, .site-footer a { color: var(--gold); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--text-on-dark);
  padding: var(--sp-md) 0;
  border-bottom: 3px solid var(--gold);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.site-header .logo img { height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: var(--sp-lg); list-style: none; }
.site-nav a { color: var(--text-on-dark); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; }
.site-nav a:hover { color: var(--gold); text-decoration: none; }

.btn-trial {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transition: background 0.15s;
}
.btn-trial:hover { background: var(--gold-light); text-decoration: none; }

/* ── Footer ── */
.site-footer {
  background: var(--grey-dark);
  color: var(--text-on-dark);
  padding: var(--sp-xl) 0 var(--sp-lg);
  margin-top: var(--sp-xl);
  font-size: 0.9rem;
}

.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-light); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-lg);
}

.footer-bottom {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--grey-mid);
  text-align: center;
  color: var(--grey-light);
  font-size: 0.8rem;
}

.site-footer li a { display: inline-block; padding: 0.35rem 0; }
.footer-bottom a { text-decoration: underline; }
.site-footer .footer-staff-link { color: var(--grey-mid); text-decoration: none; font-size: 0.75rem; }
.site-footer .footer-staff-link:hover { color: var(--grey-light); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-primary  { background: var(--gold); color: var(--black); }
.btn-primary:hover  { background: var(--gold-light); text-decoration: none; }
.btn-secondary { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--black); text-decoration: none; }

/* ── Section spacing ── */
.section { padding: var(--sp-xl) 0; }
.section-dark { background: var(--grey-dark); color: var(--text-on-dark); }
.section-alt  { background: var(--off-white); }

/* ── Headings ── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: var(--sp-md); }
h3 { font-size: 1.25rem; margin-bottom: var(--sp-sm); }

/* ── Card grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-lg);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-body { padding: var(--sp-lg); }
.card-body a { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav { display: none; } /* mobile nav: to be implemented in main.js */
  .container { padding: 0 var(--sp-md); }
}
