/* =============================================================
   COSINT Investor Site — Design System
   Intel Cann Co · Confidential · 2026
   ============================================================= */

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand */
  --orange: #D94F1E;
  --orange-light: rgba(217, 79, 30, 0.12);
  --orange-mid: rgba(217, 79, 30, 0.25);
  --blue: #4A7FA5;
  --blue-light: rgba(74, 127, 165, 0.12);

  /* Dark mode (default) */
  --bg-primary: #0F0F0F;
  --bg-secondary: #1A1A1A;
  --bg-tertiary: #242424;
  --bg-card: #1E1E1E;
  --bg-card-hover: #262626;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
  --text-primary: #F0F0F0;
  --text-secondary: #AAAAAA;
  --text-muted: #666666;
  --nav-bg: rgba(15,15,15,0.92);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);
}

[data-theme="light"] {
  --bg-primary: #F8F6F2;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0EDE8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F6F2;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #999999;
  --nav-bg: rgba(248,246,242,0.92);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  transition: background-color 0.25s ease, color 0.2s ease;
  min-height: 100vh;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.3;
}

/* ---- Confidential Banner ---- */
.confidential-banner {
  background: var(--orange-mid);
  border-bottom: 1px solid var(--orange);
  text-align: center;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-logo {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  text-decoration: none;
}

.nav-link.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-confidential {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.theme-toggle svg {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
}

.icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

/* Mobile Nav */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--text-primary);
  flex-direction: column;
  gap: 4px;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px 16px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-menu.open {
  display: flex;
}

.mobile-nav-menu .nav-link {
  padding: 10px 12px;
  border-bottom: none;
  border-left: 2px solid transparent;
  border-radius: 6px;
}

.mobile-nav-menu .nav-link.active {
  border-left-color: var(--orange);
  color: var(--orange);
}

/* ---- Page Wrapper ---- */
.page-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ---- Hero Section ---- */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 60px 0 40px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  border-radius: 0 2px 2px 0;
}

.hero-inner {
  width: 100%;
}

.hero-logo {
  height: 48px;
  width: auto;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ---- Section Label ---- */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.section-label-blue {
  color: var(--blue);
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stat Cards */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
  text-align: center;
}

.stat-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.stat-number {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Nav Cards */
.nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.nav-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  border-radius: 2px 0 0 2px;
}

.nav-card.accent-blue::before {
  background: var(--blue);
}

.nav-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text-primary);
}

.nav-card.accent-blue:hover {
  border-color: var(--blue);
}

.nav-card-content {
  flex: 1;
  min-width: 0;
}

.nav-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.nav-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.nav-card-arrow {
  font-size: 18px;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.nav-card:hover .nav-card-arrow {
  color: var(--orange);
  transform: translateX(4px);
}

/* Funding Stage Cards */
.funding-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}

.funding-card.current {
  border-color: var(--orange);
  background: var(--orange-light);
}

.funding-stage {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.funding-card.current .funding-stage {
  color: var(--orange);
}

.funding-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.funding-valuation {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Product Pill Cards */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.product-card.regint { border-top: 3px solid var(--blue); }
.product-card.licint { border-top: 3px solid #7B5EA7; }
.product-card.markint { border-top: 3px solid #4A9B6F; }

.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card.regint h3 { color: var(--blue); }
.product-card.licint h3 { color: #7B5EA7; }
.product-card.markint h3 { color: #4A9B6F; }

.product-card .product-subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ---- Grids ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ---- Callout Blocks ---- */
.callout {
  border-left: 4px solid var(--orange);
  background: var(--orange-light);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
}

.callout-blue {
  border-left-color: var(--blue);
  background: var(--blue-light);
}

.callout-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
  display: block;
}

.callout-blue .callout-label {
  color: var(--blue);
}

.callout p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

/* ---- Section Divider ---- */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ---- Product Pills ---- */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin: 2px;
}

.pill-reg {
  background: rgba(74, 127, 165, 0.15);
  color: var(--blue);
  border: 1px solid rgba(74, 127, 165, 0.3);
}

.pill-lic {
  background: rgba(123, 94, 167, 0.15);
  color: #9B7BC7;
  border: 1px solid rgba(123, 94, 167, 0.3);
}

.pill-mkt {
  background: rgba(74, 155, 111, 0.15);
  color: #5BBF87;
  border: 1px solid rgba(74, 155, 111, 0.3);
}

.pill-cdap {
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(217, 79, 30, 0.3);
}

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  background: var(--bg-tertiary);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
}

tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: var(--bg-tertiary);
}

.check-yes { color: #4CAF50; font-weight: 700; }
.check-no { color: #EF5350; font-weight: 700; }
.check-partial { color: #FFA726; font-weight: 700; }

/* ---- Badges ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-high {
  background: rgba(239, 83, 80, 0.15);
  color: #EF5350;
  border: 1px solid rgba(239, 83, 80, 0.3);
}

.badge-med {
  background: rgba(255, 167, 38, 0.15);
  color: #FFA726;
  border: 1px solid rgba(255, 167, 38, 0.3);
}

.badge-low {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-active {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-planned {
  background: rgba(74, 127, 165, 0.15);
  color: var(--blue);
  border: 1px solid rgba(74, 127, 165, 0.3);
}

.badge-dev {
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(217, 79, 30, 0.3);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--text-primary);
}

/* ---- Password Gate / Auth Overlay ---- */
#auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

#auth-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  margin: 16px;
}

.auth-logo {
  height: 36px;
  width: auto;
  margin: 0 auto 24px;
}

.auth-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.auth-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#auth-input {
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease;
  font-family: inherit;
}

#auth-input:focus {
  border-color: var(--orange);
}

#auth-input.error {
  border-color: #EF5350;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  30% { transform: translateX(8px); }
  45% { transform: translateX(-6px); }
  60% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
  90% { transform: translateX(3px); }
}

#auth-submit {
  background: var(--orange);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.15s ease, transform 0.1s ease;
  font-family: inherit;
}

#auth-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

#auth-submit:active {
  transform: translateY(0);
}

#auth-error {
  font-size: 13px;
  color: #EF5350;
  margin-top: 8px;
  display: none;
}

#auth-error.visible {
  display: block;
}

.auth-footer {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 20px;
  letter-spacing: 1px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-product-of {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.footer-product-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-icc-logo {
  height: 20px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.15s;
}

.footer-icc-logo:hover {
  opacity: 0.9;
}

.footer-powered {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Pipeline Visualization ---- */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 24px 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pipeline-step {
  flex: 1;
  min-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
}

.pipeline-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
  background: var(--bg-primary);
  width: 20px;
  text-align: center;
}

.pipeline-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.pipeline-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pipeline-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- Pricing Cards ---- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
  position: relative;
}

.pricing-card.highlighted {
  border-color: var(--orange);
  background: var(--orange-light);
}

.pricing-card.highlighted::before {
  content: 'Most Popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--orange);
  font-weight: 700;
}

/* ---- Risk Cards ---- */
.risk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.risk-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.risk-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.risk-badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.risk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.risk-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.risk-col-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---- Hiring Cards ---- */
.hiring-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.hiring-card.placeholder {
  border-style: dashed;
}

.hiring-phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.hiring-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hiring-roles {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hiring-roles li::before {
  content: '→ ';
  color: var(--orange);
}

/* ---- Founder Card ---- */
.founder-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
}

.founder-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}

.founder-role {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
}

.founder-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Section headings ---- */
.section-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  margin-top: 0;
}

.section-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.section-block {
  margin-bottom: 48px;
}

/* ---- Advisory Grid ---- */
.advisor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.advisor-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.advisor-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- Status indicators ---- */
.status-complete::before { content: '✓ '; color: #4CAF50; font-weight: 700; }
.status-pending::before { content: '○ '; color: #FFA726; font-weight: 700; }
.status-action::before { content: '! '; color: #EF5350; font-weight: 700; }

/* ---- Checklist ---- */
.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.checklist li {
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
}

/* ---- Sidebar Layout (plan.html) ---- */
.plan-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.plan-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 72px;
}

.plan-main {
  flex: 1;
  min-width: 0;
}

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-item a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
}

.toc-item a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  text-decoration: none;
}

.toc-item a.active {
  color: var(--orange);
  border-left-color: var(--orange);
  background: var(--orange-light);
}

/* ---- Coming Soon (placeholder pages) ---- */
.coming-soon {
  text-align: center;
  padding: 60px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.coming-soon-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.4;
}

.coming-soon h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.coming-soon p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: #FFFFFF;
  border: none;
}

.btn-primary:hover {
  opacity: 0.88;
  text-decoration: none;
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  text-decoration: none;
  color: var(--text-primary);
}

/* ---- Responsive Breakpoints ---- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plan-sidebar { display: none; }
  .plan-layout { display: block; }
  .mobile-toc { display: block; }
  .pipeline { gap: 0; }
}

@media (max-width: 640px) {
  .site-nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .page-wrap { padding: 24px 16px 60px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding: 32px 0 24px; }
  .hero::before { left: -16px; }

  .risk-row { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; }

  .auth-card { padding: 28px 20px; }
}

/* ---- Mobile TOC (plan.html only) ---- */
.mobile-toc {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.mobile-toc-toggle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.mobile-toc-toggle::marker { display: none; }

.mobile-toc details[open] .mobile-toc-toggle::after { transform: rotate(180deg); }

.mobile-toc .toc-list {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .mobile-toc { display: block; }
}
