/* =============================================
   The Jacquelyn Growth & Visibility Audit
   Strategnik Design System — Dark Theme
   Matches strategnik.com / afiniti.strategnik.com
   ============================================= */

/* Soehne Breit Fonts */
@font-face {
  font-family: 'Soehne Breit';
  src: url('/fonts/soehne-breit-buch-kursiv.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Soehne Breit';
  src: url('/fonts/soehne-breit-kraftig.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  /* Shadow Grey palette - matches strategnik.com */
  --white: #FFFFFF;
  --off-white: #f2f2f3;
  --black: #111113;
  --bg-primary: #000000;
  --gray-950: #111113;
  --gray-900: #18181b;
  --gray-800: #313135;
  --gray-700: #494950;
  --gray-600: #62626a;
  --gray-500: #7a7a85;
  --gray-400: #95959d;
  --gray-300: #afafb6;
  --gray-200: #cacace;
  --gray-100: #e4e4e7;
  --gray-50: #f2f2f3;

  /* Turquoise accent */
  --accent: #1de2c4;
  --accent-hover: #4ae8d0;
  --accent-muted: #17b59d;

  /* Severity colors */
  --critical: #ef4444;
  --high: #f97316;
  --medium: #eab308;
  --low: #22c55e;
  --nice: #1de2c4;

  --teal: #1de2c4;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-style: italic;
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.75;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

p {
  color: var(--gray-300);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

::selection {
  background: var(--accent);
  color: var(--black);
}

img {
  max-width: 100%;
  height: auto;
}

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container, .container-narrow {
    padding: 0 32px;
  }
}

/* =============================================
   Header
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-800);
  z-index: 100;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  font-style: normal;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

@media (min-width: 900px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.mobile-nav {
  display: none;
  background: var(--gray-900);
  border-top: 1px solid var(--gray-800);
  padding: 16px 24px;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--white);
  font-style: normal;
  border-bottom: 1px solid var(--gray-800);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

@media (max-width: 899px) {
  .nav-links { display: none; }
}

/* =============================================
   Sections
   ============================================= */
.section {
  padding: 80px 24px;
  border-bottom: 1px solid var(--gray-800);
}

@media (min-width: 768px) {
  .section {
    padding: 112px 32px;
  }
}

.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-intro {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* =============================================
   Hero
   ============================================= */
.hero {
  padding: 120px 24px 80px;
  text-align: center;
  border-bottom: 1px solid var(--gray-800);
}

.hero-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(29, 226, 196, 0.2);
  border-radius: 20px;
  background: rgba(29, 226, 196, 0.06);
}

.hero h1 {
  margin-bottom: 16px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 8px;
  font-weight: 400;
}

.hero-attribution {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 40px;
}

.hero-attribution a {
  color: var(--accent);
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 226, 196, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-800);
}

.btn-secondary:hover {
  border-color: var(--white);
  transform: translateY(-1px);
}

/* Audit Nav */
.audit-nav-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.audit-nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--gray-500);
}

.audit-nav-btn {
  font-family: 'Soehne Breit', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: normal;
  color: var(--gray-400);
  padding: 6px 14px;
  border: 1px solid var(--gray-800);
  border-radius: 20px;
  transition: all 0.2s;
}

.audit-nav-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(29, 226, 196, 0.06);
}

/* =============================================
   Data Grid (Stat Cards)
   ============================================= */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.data-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
}

.data-card:hover {
  border-color: var(--gray-700);
}

.data-card.highlight {
  border-color: var(--accent);
  background: rgba(29, 226, 196, 0.06);
}

.data-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 500;
  font-style: normal;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.data-card.highlight .data-value {
  color: var(--accent);
}

.data-label {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  color: var(--gray-200);
  margin-bottom: 4px;
}

.data-context {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* =============================================
   Warning Box
   ============================================= */
.warning-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
}

.warning-box p {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.75;
  margin: 0;
}

.warning-box strong.critical {
  color: var(--critical);
}

/* =============================================
   Strengths Grid
   ============================================= */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.strength-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s;
}

.strength-card:hover {
  border-color: var(--gray-700);
}

.strength-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.strength-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.strength-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   Gaps Section
   ============================================= */
.gaps-section {
  margin-bottom: 32px;
}

.gaps-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.severity-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  color: white;
}

.severity-label.critical { background: var(--critical); }
.severity-label.high { background: var(--high); }
.severity-label.medium { background: var(--medium); color: var(--black); }
.severity-label.nice { background: var(--accent); color: var(--black); }

.gaps-section-header span:last-child {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.gaps-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Gap Card */
.gap-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.gap-card:hover {
  border-color: var(--gray-700);
}

.gap-header {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.gap-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.gap-header h4 {
  font-size: 1.1rem;
  margin: 0;
}

.gap-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: normal;
  color: var(--gray-500);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gap-content {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid var(--gray-800);
}

.gap-card.open .gap-content {
  display: block;
}

.gap-detail {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(49, 49, 53, 0.5);
}

.gap-detail:last-child {
  border-bottom: none;
}

.gap-detail-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  font-style: normal;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gap-detail-value {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.gap-detail-value.critical {
  color: var(--critical);
}

.gap-detail-value.highlight {
  color: var(--accent);
}

/* Severity border accents */
.gaps-section:nth-child(1) .gap-card { border-left: 3px solid var(--critical); }
.gaps-section:nth-child(2) .gap-card { border-left: 3px solid var(--high); }
.gaps-section:nth-child(3) .gap-card { border-left: 3px solid var(--medium); }
.gaps-section:nth-child(4) .gap-card { border-left: 3px solid var(--accent); }

/* =============================================
   Competitive / Gravity Wells
   ============================================= */
.gravity-map {
  margin-top: 32px;
}

.gravity-wells-container {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.gravity-well {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.gravity-well.ecosystem { flex: 1.4; }
.gravity-well.adjacent { flex: 1.0; }
.gravity-well.point-solutions { flex: 0.85; }

.gravity-well:hover {
  border-color: var(--gray-700);
}

.well-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.well-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin-bottom: 4px;
}

.well-players {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.well-preview {
  margin-bottom: 16px;
}

.well-preview-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.well-stat {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.well-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-style: normal;
  color: var(--white);
}

.well-quote {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-800);
}

.well-expand {
  font-size: 0.8rem;
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
  margin-top: 12px;
}

/* Well Content (hidden by default) */
.well-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.gravity-well.open .well-content {
  max-height: 2000px;
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
}

.gravity-well.open {
  flex: 2.5 !important;
}

.gravity-well.collapsed-other {
  flex: 0.35 !important;
  opacity: 0.5;
}

.gravity-well.collapsed-other .well-preview,
.gravity-well.collapsed-other .well-expand {
  display: none;
}

/* Well Tables */
.well-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.well-table th {
  text-align: left;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--gray-200);
  font-weight: 700;
  font-style: normal;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--gray-800);
}

.well-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(49, 49, 53, 0.5);
  color: var(--gray-400);
}

.well-table .highlight-cell {
  color: var(--accent);
  font-weight: 700;
  font-style: normal;
}

.well-table .warning-cell {
  color: var(--critical);
}

.well-table .muted-cell {
  color: var(--gray-500);
}

.well-insight {
  background: rgba(29, 226, 196, 0.06);
  border: 1px solid rgba(29, 226, 196, 0.15);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.well-insight strong {
  color: var(--white);
}

/* Section Transition */
.section-transition {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
}

.section-transition p {
  font-size: 1.1rem;
  color: var(--gray-400);
}

/* Market Position */
.market-position {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 32px;
  margin-top: 32px;
}

.market-position p {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.75;
}

/* =============================================
   Phase Accordion (Roadmap)
   ============================================= */
.week-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.week-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  overflow: hidden;
}

.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
}

.week-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.week-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.week-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  font-style: normal;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.week-theme {
  font-size: 0.95rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
}

.week-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tier-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  font-style: normal;
  padding: 4px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tier-pill.tier1 {
  background: rgba(239, 68, 68, 0.1);
  color: var(--critical);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tier-pill.tier2 {
  background: rgba(29, 226, 196, 0.08);
  color: var(--accent);
  border: 1px solid rgba(29, 226, 196, 0.2);
}

.tier-pill-icon {
  font-size: 0.65rem;
}

.week-toggle {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: transform 0.3s;
}

.week-card.open .week-toggle {
  transform: rotate(180deg);
}

.week-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.week-card.open .week-content {
  max-height: 2000px;
  opacity: 1;
  padding: 24px;
  border-top: 1px solid var(--gray-800);
}

.tier-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tier-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  color: white;
}

.tier-label.tier1 { background: var(--critical); }
.tier-label.tier2 { background: var(--accent); color: var(--black); }

.tier-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-style: normal;
  color: var(--gray-400);
}

.deliverable-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.deliverable-card:hover {
  border-color: var(--gray-700);
}

.deliverable-card.tier1 {
  border-left: 3px solid var(--critical);
}

.deliverable-card.tier2 {
  border-left: 3px solid var(--accent);
}

.deliverable-name {
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.5;
  font-style: normal;
}

.tier-empty {
  border: 1px dashed var(--gray-800);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.tier-empty p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

/* =============================================
   Compound Programs
   ============================================= */
.journey-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
  padding: 24px;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
}

.journey-stage {
  text-align: center;
  flex: 1;
}

.journey-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  font-style: normal;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journey-title {
  font-size: 1.1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--white);
  margin: 4px 0;
}

.journey-programs {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.journey-arrow {
  font-size: 1.5rem;
  color: var(--gray-700);
  font-weight: 300;
}

.compound-program-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.compound-program-card:hover {
  border-color: var(--gray-700);
}

.compound-program-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.compound-program-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.compound-time-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  font-style: normal;
  color: var(--accent);
  background: rgba(29, 226, 196, 0.08);
  border: 1px solid rgba(29, 226, 196, 0.2);
  padding: 4px 10px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.program-info {
  flex: 1;
}

.program-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.program-info > p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
}

.program-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: normal;
  color: var(--gray-500);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.compound-program-card.open .program-content {
  max-height: 1500px;
  opacity: 1;
  padding: 0 24px 24px;
  border-top: 1px solid var(--gray-800);
}

.program-details {
  margin-top: 16px;
}

.program-details p {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.program-metrics {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 12px 16px;
}

.metric-item .metric-type {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  font-style: normal;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.metric-item .metric-value {
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.compounds-with {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.compounds-with-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-style: normal;
}

.compounds-with-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  font-style: normal;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray-400);
  border: 1px solid var(--gray-800);
}

/* =============================================
   Metrics Dashboard
   ============================================= */
.metrics-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.metrics-panel {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  padding: 28px;
}

.metrics-panel-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.metrics-panel-subtitle {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.metrics-table th {
  text-align: left;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gray-300);
  font-weight: 500;
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-800);
}

.metrics-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(49, 49, 53, 0.5);
  color: var(--gray-400);
  font-style: normal;
}

.metrics-table tr:last-child td {
  border-bottom: none;
}

.metrics-table .current-val {
  color: var(--gray-500);
}

.metrics-table .target-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 500;
}

/* =============================================
   Membership Table
   ============================================= */
.membership-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.85rem;
  margin-top: 24px;
}

.membership-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-style: normal;
  color: var(--gray-300);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-800);
  background: rgba(255, 255, 255, 0.02);
}

.membership-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(49, 49, 53, 0.5);
  color: var(--gray-400);
  font-style: normal;
}

.membership-table tr:last-child td {
  border-bottom: none;
}

.membership-table .highlight-cell {
  color: var(--accent);
  font-weight: 700;
  font-style: normal;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  padding: 80px 24px;
  text-align: center;
  border-bottom: 1px solid var(--gray-800);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.75;
}

.cta-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-800);
}

.site-footer img {
  height: 60px;
  margin-bottom: 16px;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.site-footer .confidential {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-800);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
  .gravity-wells-container {
    flex-direction: column;
  }

  .gravity-well.ecosystem,
  .gravity-well.adjacent,
  .gravity-well.point-solutions {
    flex: none;
    width: 100%;
  }

  .gravity-well.open {
    flex: none !important;
  }

  .gravity-well.collapsed-other {
    flex: none !important;
    opacity: 0.5;
  }

  .tier-columns {
    grid-template-columns: 1fr;
  }

  .metrics-dashboard {
    grid-template-columns: 1fr;
  }

  .journey-container {
    flex-direction: column;
    gap: 12px;
  }

  .journey-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 24px 48px;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .audit-nav-buttons {
    gap: 6px;
  }

  .audit-nav-btn {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .week-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .week-header-right {
    width: 100%;
    justify-content: flex-start;
  }

  .gap-detail {
    grid-template-columns: 1fr;
  }

  .membership-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cta-links {
    flex-direction: column;
    align-items: center;
  }

  .compound-program-header {
    flex-direction: column;
  }
}
