:root {
  --ink: #f6f1e8;
  --muted: #b9b1a5;
  --paper: #0d0f0f;
  --surface: #151817;
  --line: rgba(226, 184, 119, 0.22);
  --gold: #d9ad72;
  --gold-light: #f0d3a5;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(217, 173, 114, 0.12), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--gold-light); }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #111;
  background: var(--gold-light);
  border-radius: 0.4rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 15, 15, 0.88);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 4.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img { width: 2.35rem; height: 2.35rem; object-fit: contain; }
.brand span small { display: block; color: var(--muted); font-size: 0.62rem; font-weight: 650; letter-spacing: 0.17em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 1.25rem; font-size: 0.9rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #15130f !important;
  background: var(--gold-light);
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); background: #f6dfbd; }

.hero {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 65vh;
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.6fr);
  align-items: end;
  gap: 4rem;
}

.eyebrow { color: var(--gold-light); font-size: 0.78rem; font-weight: 780; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 12ch; margin: 0.8rem 0 1.25rem; font-size: clamp(3.1rem, 8vw, 7.4rem); letter-spacing: -0.055em; }
.hero .lede { max-width: 46rem; margin: 0; color: #d5cec3; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; padding: 0.65rem 0.2rem; color: var(--muted); font-weight: 650; }

.status-card {
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.status-card strong { display: block; margin-bottom: 0.45rem; color: var(--gold-light); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.status-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 5rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.section-heading { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.section-heading h2 { max-width: 13ch; margin: 0; font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -0.035em; }
.section-heading p { max-width: 42rem; margin: 0.25rem 0 0; color: var(--muted); font-size: 1.04rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { min-height: 15rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 0.85rem; }
.feature-number { color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
.feature h3 { margin: 2rem 0 0.55rem; font-size: 1.55rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.legal-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.legal-card { padding: 2rem; background: #e8d2b0; color: #171511; border-radius: 0.85rem; text-decoration: none; }
.legal-card:nth-child(2) { background: #d4b27c; }
.legal-card span { display: block; margin-bottom: 4rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.legal-card strong { display: flex; justify-content: space-between; align-items: end; gap: 1rem; font-family: Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 500; line-height: 1.1; }
.legal-card:hover { color: #171511; filter: brightness(1.05); }

.legal-page main { width: min(calc(100% - 2rem), 860px); margin: 0 auto; padding: 5rem 0 7rem; }
.legal-page h1 { max-width: none; font-size: clamp(3rem, 7vw, 5.7rem); }
.legal-meta { margin: -0.3rem 0 3.5rem; color: var(--muted); }
.legal-page h2 { margin: 3.4rem 0 1rem; padding-top: 1rem; color: var(--gold-light); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-page h3 { margin: 2rem 0 0.7rem; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 1.02rem; font-weight: 780; }
.legal-page p, .legal-page li { color: #d5cec3; }
.legal-page ul { padding-left: 1.35rem; }
.legal-page li + li { margin-top: 0.45rem; }
.contact-box { margin-top: 3rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--surface); }

.site-footer { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 2.2rem 0 3rem; display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: 0.86rem; }
.footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }

@media (max-width: 760px) {
  .nav { min-height: 4.2rem; }
  .nav-links a:not(.button) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4.5rem; }
  .section-heading, .feature-grid, .legal-strip { grid-template-columns: 1fr; }
  .section-heading { gap: 1.2rem; }
  .legal-card span { margin-bottom: 2.5rem; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
