:root {
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.55);
}

body {
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(198, 155, 60, 0.06), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(198, 155, 60, 0.04), transparent 55%),
    var(--bg);
}

@keyframes onyxFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section { animation: onyxFade 0.9s ease both; }

/* Headings — ivory Bodoni, calm and large */
.hero-title, .article h2, .feature h3, .section > .center h2 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-sub { color: var(--text-2); }

/* Hero — onyx panel with single gold hairline */
.hero {
  background:
    linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.facts .fact {
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: var(--radius);
  transition: border-color 0.5s ease;
}
.facts .fact:hover { border-color: var(--accent); }
.facts .fact b { color: var(--accent); }

/* Cards — charcoal panels, thin brown-gold hairline */
.card, .feature, .faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;
}

.card:hover, .feature:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* Top gold rule accent on feature cards */
.feature {
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.feature:hover::before { opacity: 1; }

.feature .icon {
  color: var(--accent);
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: var(--radius);
}

/* Buttons — gold outline CTA, no glow */
.btn {
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.badge {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--accent);
  border-radius: var(--radius);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Catalog tiles — calm imagery, gold edge on hover */
.tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.6s ease, transform 0.6s ease;
}
.tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.tile .nm { color: var(--text); letter-spacing: 0.02em; }
.tile .gp { color: var(--accent); letter-spacing: 0.05em; }
.tile.noimg {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
}

/* Tabs */
.tab {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-2);
  letter-spacing: 0.04em;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.tab:hover { color: var(--accent); }
.tab.active {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}

/* Article & table */
.article { color: var(--prose); }
.article h2 {
  border-left: 1px solid var(--accent);
  padding-left: 0.7em;
}
.table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.table th {
  background: var(--panel-2);
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  letter-spacing: 0.03em;
}
.table td { border-bottom: 1px solid var(--line); color: var(--prose); }

/* FAQ */
.faq-q { color: var(--text); letter-spacing: 0.02em; }
.faq-item:hover { border-color: var(--accent); }

/* Header hairline */
.site-header { border-bottom: 1px solid var(--line); }