:root {
  --bg: #0b0b0d;
  --bg-soft: #111215;
  --panel: rgba(17, 18, 21, 0.88);
  --border: rgba(214, 178, 89, 0.2);
  --text: #f4f0e6;
  --muted: #b9b2a1;
  --gold: #d6b259;
  --gold-soft: rgba(214, 178, 89, 0.16);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(214, 178, 89, 0.18), transparent 24%),
    radial-gradient(circle at left center, rgba(214, 178, 89, 0.1), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar,
.hero-grid,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d38a 0%, #9e7723 100%);
  box-shadow: 0 0 24px rgba(214, 178, 89, 0.45);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}

.sub-eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ghost-link {
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.ghost-link:hover {
  color: var(--text);
  border-color: rgba(214, 178, 89, 0.42);
  transform: translateY(-1px);
}

.hero {
  padding: 10px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.module-card,
.case-card,
.compliance-strip,
.footer {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 30px;
  padding: 40px;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 11ch;
}

.hero-text,
.section-note,
.module-card p,
.case-card p,
.footer-copy,
.compliance-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #f4d58e 0%, #b68a2f 100%);
  color: #14110b;
  box-shadow: 0 12px 36px rgba(182, 138, 47, 0.28);
}

.secondary-button {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.hero-panel {
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-label,
.module-number {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.signal-list li {
  padding: 12px 14px;
  border: 1px solid rgba(214, 178, 89, 0.14);
  border-radius: 18px;
  background: var(--gold-soft);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.stat-grid article {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 178, 89, 0.12);
}

.stat-value {
  display: block;
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin-top: 28px;
  border-radius: 30px;
  padding: 34px;
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(214, 178, 89, 0.06), transparent 28%),
    var(--panel);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.module-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card,
.case-card {
  border-radius: 24px;
  padding: 24px;
}

.module-card h3,
.case-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.module-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.case-actions a {
  border-bottom: 1px solid rgba(214, 178, 89, 0.4);
  padding-bottom: 2px;
}

.compliance-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.footer {
  margin-top: 28px;
  border-radius: 26px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid,
  .module-grid,
  .case-grid,
  .compliance-strip,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .topbar-links {
    width: 100%;
  }

  .hero-copy,
  .hero-panel,
  .section,
  .module-card,
  .case-card {
    padding: 22px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}
