:root {
  --canvas: #08090a;
  --canvas-deep: #010102;
  --surface: #0f1011;
  --surface-2: #141516;
  --surface-3: #191a1b;
  --hairline: #23252a;
  --hairline-strong: #34343a;
  --ink: #f7f8f8;
  --muted: #8a8f98;
  --gold: #f5c518;
  --gold-dim: rgba(245, 197, 24, 0.14);
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--canvas-deep); color: var(--ink); }
body {
  font-family: "IBM Plex Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.15rem; }
li + li { margin-top: 0.35rem; }

.bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 480px at 18% -10%, rgba(245, 197, 24, 0.12), transparent 60%),
    radial-gradient(700px 400px at 92% 8%, rgba(245, 197, 24, 0.05), transparent 55%),
    var(--canvas-deep);
}
.bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

.page {
  position: relative; z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 28px 0 72px;
}

nav.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.02em; font-size: 14px;
}
.brand .mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
}
.brand .mark img {
  width: 40px; height: 40px; object-fit: contain; display: block;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px;
  border-radius: 8px; background: var(--gold); color: #111 !important;
  font-weight: 700; font-size: 13px;
}
.nav-cta.active { color: #111 !important; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.08;
  margin-bottom: 16px;
}
h1 em { font-style: normal; color: var(--gold); }
.lead {
  font-size: 17px; color: var(--muted); max-width: 62ch;
  margin-bottom: 24px;
}
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em; margin: 48px 0 14px; line-height: 1.2;
}
h3 {
  font-size: 18px; font-weight: 650; letter-spacing: -0.02em;
  margin: 28px 0 10px;
}
p { color: var(--muted); margin-bottom: 14px; }
p strong, li strong { color: var(--ink); font-weight: 600; }
.prose p, .prose li { font-size: 15.5px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
/* Buttons inside .prose must keep their own colors (otherwise gold-on-gold = invisible label) */
.prose a.btn { text-decoration: none; }
.prose a.btn-gold { color: #111; }
.prose a.btn-ghost { color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 16px; border-radius: 10px;
  font-size: 14px; font-weight: 650; letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn:empty { display: none !important; }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost {
  border: 1px solid var(--hairline-strong);
  background: transparent; color: var(--ink);
}
.btn-ghost:hover { background: var(--surface-3); }

.hero-media {
  margin: 28px 0 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.hero-media img { width: 100%; }

.grid-3, .grid-2 {
  display: grid; gap: 12px; margin: 20px 0 8px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color .2s ease, background .2s ease;
}
a.card:hover { border-color: rgba(245, 197, 24, 0.35); background: var(--surface-2); }
.card h3 { margin-top: 0; font-size: 16px; }
.card p { font-size: 14px; margin-bottom: 0; }
.card .meta {
  font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600;
}

.table-wrap {
  overflow-x: auto; margin: 18px 0;
  border: 1px solid var(--hairline); border-radius: 12px;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
th { background: var(--surface); color: var(--ink); font-weight: 650; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }

.faq details {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 650; color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p { margin-bottom: 0; font-size: 14px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.pill {
  font-size: 12px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px; padding: 6px 10px;
}

.breadcrumb {
  font-size: 12px; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--ink); }

footer.site {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 12px; color: #62666d;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
footer.site a:hover { color: var(--ink); }

.note {
  font-size: 13px; color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 12px; margin: 18px 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 24px 0 28px;
  padding: 20px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: rgba(15, 16, 17, 0.72);
}
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { display: grid; gap: 6px; }
.field-label {
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.req { color: var(--gold); font-weight: 700; }
.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin: -2px 0 0;
}
.field-error {
  font-size: 12px;
  color: #ffb4b4;
  min-height: 1.1em;
  margin: 0;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: rgba(248, 113, 113, 0.65);
}
.field-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(245, 197, 24, 0.35);
  border-color: var(--gold);
}
.contact-form .note { margin: 4px 0 0; border: 0; padding: 0; }
.form-status {
  font-size: 14px;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0;
}
.form-status.is-sending {
  color: var(--muted);
  border: 1px solid var(--hairline-strong);
}
.form-status.is-success {
  color: #b8f5c6;
  border: 1px solid rgba(72, 187, 120, 0.35);
  background: rgba(72, 187, 120, 0.08);
}
.form-status.is-error {
  color: #ffb4b4;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .page { width: min(100% - 28px, var(--max)); padding-top: 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  nav.top { margin-bottom: 28px; }
}
