:root {
  --bg: #101010;
  --bg-soft: #1b1b1b;
  --panel: #141414;
  --panel-alt: #1e1e1e;
  --card: #171717;
  --muted: #b7b0a4;
  --text: #f7f5f0;
  --text-strong: #ffffff;
  --gold: #c6a45a;
  --gold-soft: #e0c37b;
  --line: rgba(198, 164, 90, 0.3);
  --line-soft: rgba(255,255,255,0.12);
  --shadow: 0 16px 50px rgba(0,0,0,0.35);
  --radius: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(16,16,16,0.86), rgba(16,16,16,0.86)),
    url('../assets/brand/dig-logo.png');
  background-position: center, center;
  background-size: cover, min(75vw, 840px) auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16,16,16,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}
.navbar .brand-mark,
.footer .brand-mark {
  width: 100px;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 0.9rem; }
.brand-text span { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.16em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text-strong);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nav-actions .button {
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
}
.nav-actions .member-link {
  padding: 0.65rem 0.8rem;
  font-size: 0.8rem;
}
.button, .button-secondary, .button-ghost, .member-link, .filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #111;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.button:hover, .button-secondary:hover, .button-ghost:hover, .member-link:hover, .filter-button:hover,
.button:focus-visible, .button-secondary:focus-visible, .button-ghost:focus-visible, .member-link:focus-visible, .filter-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--gold-soft);
  background: #101010;
  color: var(--gold-soft);
  box-shadow: 0 0 22px 4px rgba(198,164,90,0.45);
}
.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  width: 44px;
  height: 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16,16,16,0.3), rgba(16,16,16,0.18));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,16,16,0.5), rgba(16,16,16,0.2));
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-height: 650px;
  padding: 5rem 0 4rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-family: Georgia, "Times New Roman", serif;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
p { margin: 0 0 1rem; color: var(--muted); }
.lead {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 640px;
}
.hero-verse {
  max-width: 640px;
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}
.hero-verse cite {
  display: block;
  margin-top: 0.5rem;
  color: var(--gold-soft);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-card {
  background: rgba(17,17,17,0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}
.section-dark { background: rgba(18,18,18,0.72); }
.section-soft { background: rgba(23,23,23,0.72); }
.section-title {
  max-width: 720px;
  margin-bottom: 2rem;
}
.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 1.5rem;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.who-we-are-grid .card {
  display: flex;
  flex-direction: column;
}
.who-we-are-grid .button-secondary {
  align-self: flex-start;
  margin-top: auto;
}
.card h3 { margin-top: 0.6rem; }
.card .meta {
  color: var(--gold-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.kicker {
  color: var(--gold-soft);
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  background: rgba(198,164,90,0.08);
  color: var(--gold-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.list li {
  border-top: 1px solid var(--line-soft);
  padding: 0.85rem 0;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--muted);
}
.list li::before {
  content: "✦";
  color: var(--gold-soft);
  margin-top: 2px;
}

.flywheel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.flywheel-graphic {
  background: radial-gradient(circle at center, rgba(198,164,90,0.18), rgba(11,11,11,0.9) 46%);
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
  position: relative;
  padding: 2rem;
}
.flywheel-graphic::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(198,164,90,0.4);
  border-radius: 50%;
}
.flywheel-node {
  position: absolute;
  width: 170px;
  padding: 0.8rem 0.9rem;
  border-radius: 999px;
  background: rgba(17,17,17,0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.flywheel-node strong { display: block; font-size: 0.78rem; }
.flywheel-node:nth-child(1) { top: 7%; left: 50%; transform: translateX(-50%); }
.flywheel-node:nth-child(2) { top: 20%; right: 10%; }
.flywheel-node:nth-child(3) { top: 46%; right: 6%; }
.flywheel-node:nth-child(4) { bottom: 20%; right: 12%; }
.flywheel-node:nth-child(5) { bottom: 7%; left: 50%; transform: translateX(-50%); }
.flywheel-node:nth-child(6) { bottom: 20%; left: 12%; }
.flywheel-node:nth-child(7) { top: 46%; left: 6%; }
.flywheel-node:nth-child(8) { top: 20%; left: 10%; }

.opportunity-grid, .resource-grid, .feature-stack {
  display: grid;
  gap: 1.2rem;
}
.opportunity-card {
  display: grid;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.opportunity-card.hidden { display: none; }
.opportunity-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.opportunity-card .status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}
.opportunity-card .access {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.filter-button {
  padding: 0.65rem 1rem;
}

.form-panel {
  background: rgba(17,17,17,0.9);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0.9rem 0.95rem;
  color: var(--text);
}
input::placeholder, textarea::placeholder { color: rgba(247,245,240,0.43); }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(224,195,123,0.4);
  border-color: var(--gold-soft);
}
textarea { min-height: 140px; resize: vertical; }
.checkbox-group, .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}
.option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--muted);
}
.option input { width: auto; }
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.progress-indicator {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.step-pill.active {
  background: rgba(198,164,90,0.12);
  border-color: var(--gold);
  color: var(--text-strong);
}
.step-line {
  flex: 1;
  min-width: 2rem;
  height: 1px;
  background: var(--line-soft);
}
.notice {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(198,164,90,0.08);
  color: var(--text);
}
.disclaimer {
  font-size: 0.88rem;
  color: var(--muted);
}
.hidden { display: none !important; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.metric {
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.metric strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold-soft);
}

.faq {
  display: grid;
  gap: 0.8rem;
}
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 1.1rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-item .answer {
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
  display: none;
}
.faq-item.open .answer { display: block; }

.resource-card {
  display: grid;
  gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.resource-card .download {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.footer {
  background: rgba(14,14,14,0.84);
  border-top: 1px solid var(--line-soft);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}
.footer a, .footer p, .footer li {
  color: var(--muted);
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(135deg, rgba(16,16,16,0.72), rgba(28,24,17,0.68));
  border-bottom: 1px solid var(--line-soft);
}
.page-hero-inner {
  padding: 4rem 0 3rem;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--gold-soft); }

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.sidebar-box {
  position: sticky;
  top: 104px;
}

.small-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}

.callout {
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: rgba(198,164,90,0.06);
  border-radius: 14px;
}

.dev-panel {
  padding: 1.5rem;
  background: rgba(120, 89, 30, 0.08);
  border: 1px solid rgba(198,164,90,0.35);
  border-radius: var(--radius);
}

@media (max-width: 980px) {
  .hero-inner, .split-layout, .flywheel, .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(17,17,17,0.98);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 1rem;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2, .form-grid, .stat-strip { grid-template-columns: 1fr; }
  h1 { font-size: 2.5rem; }
  .button, .button-secondary, .button-ghost, .member-link { width: 100%; }
  .hero-actions, .nav-actions, .form-actions { flex-direction: column; align-items: stretch; }
  .flywheel-graphic { border-radius: 24px; aspect-ratio: 1 / 1.2; }
  .flywheel-node { position: static; width: auto; margin: 0.3rem 0; transform: none !important; }
  .flywheel-graphic { display: grid; place-items: center; }
}
