/* ── Design4Venture canonical design tokens (from founder-os-v5-final.html) ── */
:root {
  --bg:    #F0EDE8;
  --sur:   #ffffff;
  --navy:  #12193A;
  --gold:  #B8916A;
  --muted: #9A8F86;
  --bdr:   #E0D9D2;
  --grn:   #3D7A5F;
  --amb:   #C47A1E;
  --red:   #A33030;
  --dim:   #C5BDB7;

  --fs: Georgia, 'Times New Roman', serif;
  --fb: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --fm: 'Courier New', Courier, monospace;
}

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

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--navy);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

.topnav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--bdr);
  padding: 0 32px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
}

.logo {
  font-family: var(--fm);
  font-size: 11px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.topnav-links a:hover { color: var(--navy); }

.btn-nav {
  background: var(--navy);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 4px;
  font-weight: bold;
}

.eyebrow {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.gold { color: var(--gold); }
.amber { color: var(--amb); }
.dim { color: var(--dim); }

.serif {
  font-family: var(--fs);
  font-style: italic;
  font-weight: normal;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.card {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-radius: 8px;
}

.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--bdr);
  border-radius: 6px;
  padding: 8px 13px;
  font-family: var(--fm);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  width: fit-content;
  background: var(--sur);
}
.agent-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grn);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.statbar {
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 12px 16px;
  font-family: var(--fm);
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}
.statbar strong { color: var(--navy); }

.app-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }

.sidebar {
  background: var(--sur);
  border-right: 1px solid var(--bdr);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .logo { margin-bottom: 26px; display: block; }

.sidebar-link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 11px; border-radius: 6px;
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  color: var(--muted);
}
.sidebar-link:hover { background: var(--bg); color: var(--navy); }
.sidebar-link.active { background: var(--navy); color: #fff; }

.sidebar-footer {
  margin-top: auto;
  font-family: var(--fm); font-size: 9px; color: var(--muted);
  padding: 10px 11px; border-top: 1px solid var(--bdr); padding-top: 14px;
}

.main { padding: 44px 52px; max-width: 1040px; }
.main h1 { font-family: var(--fs); font-style: italic; font-weight: normal; font-size: 28px; margin-bottom: 8px; }
.main .lede { color: var(--muted); font-size: 14px; margin-bottom: 32px; max-width: 62ch; line-height: 1.6; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

.item-card { display: flex; flex-direction: column; gap: 9px; padding: 20px; }
.item-card .badge { font-family: var(--fm); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.item-card .badge.amber { color: var(--amb); }
.item-card h3 { font-family: var(--fb); font-size: 15px; font-weight: 700; }
.item-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.item-card .meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 10px;
  font-family: var(--fm); font-size: 10px; color: var(--muted);
}
.lock-tag { display: inline-flex; align-items: center; gap: 4px; color: var(--dim); font-weight: bold; }
.lock-tag.open { color: var(--grn); }

.progress-track { height: 4px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.progress-fill { height: 100%; background: var(--grn); }

.qlist { display: flex; flex-direction: column; }
.qrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--bdr);
  font-size: 13.5px;
}
.qrow:last-child { border-bottom: none; }
.qrow .qtitle { color: var(--navy); }
.qrow .qmeta { font-family: var(--fm); font-size: 10px; color: var(--dim); display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: 16px; }

.curric-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--bdr);
}
.curric-row:last-child { border-bottom: none; }
.curric-num { font-family: var(--fm); font-size: 11px; color: var(--gold); min-width: 24px; }
.curric-body h4 { font-family: var(--fb); font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.curric-body p { font-size: 13px; color: var(--muted); line-height: 1.55; max-width: 56ch; }
.curric-action { font-family: var(--fm); font-size: 10px; color: var(--navy); white-space: nowrap; flex-shrink: 0; }

.trust-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.trust-chip {
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.04em;
  color: var(--muted); border: 1px solid var(--bdr); border-radius: 20px;
  padding: 6px 14px; background: var(--sur);
}

.band-dark {
  background: var(--navy); color: #fff;
  padding: 60px 32px;
}
.band-dark .inner { max-width: 1040px; margin: 0 auto; }
.band-dark h2 { font-family: var(--fs); font-style: italic; font-weight: normal; font-size: 26px; line-height: 1.35; max-width: 16ch; }
.band-dark .steps { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; max-width: 60ch; }
.band-dark .step { display: flex; gap: 14px; font-size: 13.5px; }
.band-dark .step .n { font-family: var(--fm); font-size: 10px; color: var(--gold); flex-shrink: 0; padding-top: 3px; }
.band-dark .step b { display: block; margin-bottom: 2px; }
.band-dark .step span.d { color: rgba(255,255,255,0.6); }

.band-gold {
  background: var(--gold); color: var(--navy);
  padding: 56px 32px; text-align: center;
}
.band-gold h2 { font-family: var(--fs); font-style: italic; font-weight: normal; font-size: 26px; margin-bottom: 20px; max-width: 26ch; margin-left: auto; margin-right: auto; }
.band-gold .btn { background: var(--navy); color: #fff; }

.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--fm); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input {
  padding: 12px 15px; border: 1.5px solid var(--bdr); border-radius: 6px;
  font-family: var(--fb); font-size: 14px; background: var(--sur); color: var(--navy); outline: none;
}
.field input:focus { border-color: var(--gold); }

@media (max-width: 860px) {
  .topnav { padding: 0 20px; }
  .topnav-links { gap: 14px; }
  .topnav-links a:not(.btn-nav) { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--bdr); }
  .sidebar .logo, .sidebar-footer { display: none; }
  .main { padding: 30px 20px; }
  .band-dark, .band-gold { padding: 44px 20px; }
}
