:root {
  --bg-primary: #07070c;
  --bg-secondary: #0f0f16;
  --bg-panel: #12121c;
  --bg-panel-hover: #181824;
  --gold: #c9a227;
  --gold-bright: #e4c35a;
  --gold-muted: rgba(201, 162, 39, 0.65);
  --text-primary: #f4f1e8;
  --text-secondary: #a8a29a;
  --text-muted: #6b6560;
  --border: rgba(201, 162, 39, 0.18);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: "Cinzel", serif;
  color: var(--gold-bright);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1em;
  color: var(--text-secondary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-bright);
  color: var(--bg-primary);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 7, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 1.15rem;
  white-space: nowrap;
}

.brand img { width: 28px; height: 28px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
  text-decoration: none;
}

.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.5rem 1.1rem !important;
  border-radius: 6px;
  color: var(--gold-bright) !important;
}
.nav-cta:hover { background: rgba(201, 162, 39, 0.1); }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 162, 39, 0.14), transparent 60%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1rem;
}

.hero p.lead {
  max-width: 640px;
  margin: 1.2rem auto 2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #14110a;
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.08); }

.btn-secondary {
  border-color: var(--border);
  color: var(--text-primary);
  background: var(--bg-panel);
}
.btn-secondary:hover { text-decoration: none; border-color: var(--gold-muted); }

/* Sections */
.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }
.section-alt { background: var(--bg-secondary); }

.section-head {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Cards / grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem;
}

.card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card p:last-child { margin-bottom: 0; }

.icon {
  display: inline-flex;
  width: 1.2em;
  height: 1.2em;
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 0.7em;
  color: var(--text-secondary);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.7em;
  height: 0.7em;
  border: 2px solid var(--gold-bright);
  border-radius: 2px;
}

/* Breadcrumb-style page intro (non-home pages) */
.page-intro {
  padding: 3.5rem 0 1rem;
  border-bottom: 1px solid var(--border);
}
.page-intro .eyebrow { margin-bottom: 0.6rem; }
.page-intro p.lead {
  max-width: 700px;
  font-size: 1.05rem;
}

/* Table (used on Security page) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
th { color: var(--gold-bright); font-family: "Cinzel", serif; font-weight: 600; }
td { color: var(--text-secondary); }

/* Contact / forms-free info blocks */
.info-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.9rem;
  }
  .site-nav.open { display: flex; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .section { padding: 2.8rem 0; }
}
