/* ═══════════════════════════════════════════════════════════
   TECHTRUTH.AI — Pages
   Page-specific layout styles.
   ═══════════════════════════════════════════════════════════ */

/* ─── HOME PAGE ──────────────────────────────────────────── */

.home-wrap { padding: 40px var(--page-px) 100px; max-width: var(--max-width); margin: 0 auto; }

/* Background grid */
.home-wrap::before {
  content: '';
  position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; z-index: 0;
}

/* Hero */
.hero { position: relative; z-index: 1; padding: 32px 0 36px; max-width: 780px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

.hero-h1 {
  font-family: 'Clash Display', monospace;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.03em; margin-bottom: 16px; color: var(--text);
}
.hero-h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 14px; line-height: 1.8; color: var(--text2);
  max-width: 520px; margin-bottom: 28px;
  font-family: 'IBM Plex Mono', monospace;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Feature grid */
.feature-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 24px;
}
.feature-item {
  background: var(--surface); padding: 40px 32px;
  transition: background 0.3s; position: relative; overflow: hidden;
}
.feature-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-item:hover { background: var(--surface2); }
.feature-item:hover::before { opacity: 1; }

.f-num   { font-size: 10px; letter-spacing: 0.2em; color: var(--text3); text-transform: uppercase; margin-bottom: 20px; }
.f-title { font-family: 'Clash Display', monospace; font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.f-desc  { font-size: 12px; line-height: 1.8; color: var(--text2); }
.f-beta-note {
  margin-top: 16px; font-size: 10px; line-height: 1.65; color: var(--text3);
  letter-spacing: 0.04em;
}

/* Bottom two-column */
.home-bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

/* Ghost Scanner card */
.ghost-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  transition: border-color 0.3s; position: relative; overflow: hidden;
}
.ghost-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,165,0,0.5), transparent);
}
.ghost-card:hover { border-color: rgba(240,165,0,0.3); }
.ghost-header  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.ghost-title   { font-family: 'Clash Display', monospace; font-size: 22px; font-weight: 700; color: var(--text); }
.ghost-badge   {
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  background: rgba(240,165,0,0.10); color: var(--amber);
  border: 1px solid rgba(240,165,0,0.30); padding: 4px 10px; border-radius: var(--radius-sm);
  white-space: nowrap; margin-top: 4px;
}
.ghost-desc    { font-size: 12px; line-height: 1.8; color: var(--text2); margin-bottom: 20px; }
.ghost-preview {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px; margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.ghost-row  { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text2); }
.ghost-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ghost-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.ghost-dot.amber { background: var(--amber); }
.ghost-dot.red   { background: var(--red); }
.ghost-dot.grey  { background: var(--text3); }
.ghost-notify { display: flex; gap: 8px; }
.ghost-input {
  flex: 1; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 11px 14px;
  color: var(--text); font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  outline: none; transition: border-color 0.2s;
}
.ghost-input:focus { border-color: var(--amber); }
.ghost-input::placeholder { color: var(--text3); }
.ghost-btn {
  background: rgba(240,165,0,0.15); border: 1px solid rgba(240,165,0,0.30);
  color: var(--amber); font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  padding: 11px 18px; border-radius: var(--radius-md); cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.ghost-btn:hover { background: rgba(240,165,0,0.25); }
.ghost-sent { display: none; font-size: 11px; color: var(--green); margin-top: 10px; letter-spacing: 0.08em; }
.ghost-sent.show { display: block; }

/* VC Launch card (home teaser) */
.vc-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 36px;
  position: relative; overflow: hidden; transition: border-color 0.3s;
}
.vc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.vc-card::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
}
.vc-top   { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.vc-tag   { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.vc-beta-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--amber); background: rgba(240,165,0,0.10);
  border: 1px solid rgba(240,165,0,0.30); padding: 4px 9px; border-radius: var(--radius-sm);
}
.vc-title {
  font-family: 'Clash Display', monospace; font-size: 26px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--text);
}
.vc-desc    { font-size: 12px; line-height: 1.8; color: var(--text2); margin-bottom: 20px; }
.vc-perks   { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.vc-perk    { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text2); }
.vc-check   { color: var(--accent); font-weight: 700; font-size: 13px; }
.vc-disclaimer {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(240,165,0,0.05); border: 1px solid rgba(240,165,0,0.15);
  border-radius: var(--radius-md); padding: 14px;
  font-size: 11px; color: var(--text3); line-height: 1.6;
}
.vc-warn-icon { flex-shrink: 0; font-size: 14px; }

/* Slots remaining bar */
.slots-bar-wrap { margin-bottom: 18px; }
.slots-label { display: flex; justify-content: space-between; font-size: 10px; color: var(--text3); margin-bottom: 6px; letter-spacing: 0.08em; }
.slots-label span:last-child { color: var(--amber); font-weight: 600; }
.slots-track { height: 4px; background: var(--surface2); border-radius: 2px; overflow: hidden; }
.slots-fill  { height: 100%; background: var(--amber); border-radius: 2px; box-shadow: 0 0 8px var(--amber); }

/* ─── AUDIT PAGE ─────────────────────────────────────────── */

.audit-wrap { padding: 60px var(--page-px) 80px; max-width: 800px; margin: 0 auto; }

.dropzone {
  border: 1px dashed var(--border2); border-radius: var(--radius-lg);
  padding: 72px 40px; text-align: center; cursor: pointer;
  background: var(--surface); transition: all 0.3s; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.dropzone::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, var(--glow), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.dropzone:hover { border-color: var(--accent); }
.dropzone:hover::before { opacity: 1; }

.dz-corner { position: absolute; width: 12px; height: 12px; border-color: var(--accent); border-style: solid; opacity: 0.6; }
.dz-corner.tl { top: 12px; left: 12px;   border-width: 1px 0 0 1px; }
.dz-corner.tr { top: 12px; right: 12px;  border-width: 1px 1px 0 0; }
.dz-corner.bl { bottom: 12px; left: 12px;  border-width: 0 0 1px 1px; }
.dz-corner.br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }
.dz-icon   { font-size: 36px; margin-bottom: 16px; }
.dz-title  { font-family: 'Clash Display', monospace; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.dz-sub    { font-size: 12px; color: var(--text2); }
.dz-accept { margin-top: 16px; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); opacity: 0.7; }

.progress-box {
  display: none; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px;
}
.progress-box.show { display: block; }
.pb-header  { display: flex; justify-content: space-between; margin-bottom: 16px; }
.pb-label   { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text2); }
.pb-pct     { font-size: 13px; color: var(--accent); font-weight: 600; }
.pb-track   { height: 2px; background: var(--surface2); border-radius: 1px; overflow: hidden; margin-bottom: 24px; }
.pb-fill    { height: 100%; background: var(--accent); width: 0%; transition: width 1.2s ease; box-shadow: 0 0 12px var(--accent); }
.pb-steps   { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pb-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text3); padding: 8px 12px;
  border-radius: var(--radius-sm); border: 1px solid transparent; transition: all 0.3s;
}
.pb-step.active { color: var(--accent); border-color: rgba(0,200,255,0.2); background: var(--glow); }
.pb-step.done   { color: var(--green); border-color: rgba(0,229,160,0.15); }
.pb-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ─── REPORT PAGE ────────────────────────────────────────── */

.report-wrap { padding: 48px var(--page-px) 80px; max-width: var(--max-width); margin: 0 auto; }
.report-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.report-meta { font-size: 11px; color: var(--text3); letter-spacing: 0.1em; margin-top: 6px; }

/* ─── VC LAUNCH PAGE ─────────────────────────────────────── */

.vc-page-wrap { min-height: calc(100vh - var(--nav-height)); display: grid; grid-template-columns: 1fr 1fr; }

/* Left panel */
.vc-left {
  padding: 80px 60px; background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.vc-left::before {
  content: ''; position: absolute; top: -40%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 60%);
  pointer-events: none;
}
.vc-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}
.vc-left-content { position: relative; z-index: 1; }

.vc-page-tagline {
  font-family: 'Clash Display', monospace; font-size: 28px; font-weight: 700;
  line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 16px;
}
.vc-page-tagline em { font-style: normal; color: var(--accent); }

.vc-left-desc { font-size: 12px; line-height: 1.8; color: var(--text2); max-width: 380px; }

/* Slot counter block */
.vc-slot-counter {
  margin-top: 40px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.vc-slot-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.vc-slot-nums { display: flex; align-items: baseline; gap: 6px; }
.vc-slots-taken {
  font-family: 'Clash Display', monospace; font-size: 48px; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.vc-slots-total {
  font-family: 'IBM Plex Mono', monospace; font-size: 20px;
  color: var(--text3); line-height: 1;
}
.vc-slot-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text3); }
.vc-slot-remaining { font-size: 12px; color: var(--amber); font-weight: 600; margin-top: 4px; }

/* Fund avatar dots */
.vc-fund-dots { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.fund-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2); border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text3); font-weight: 700;
  letter-spacing: 0.05em;
}
.fund-dot.filled { border-color: var(--accent); color: var(--accent); background: var(--glow); }
.fund-dot.open   { border-color: var(--border); border-style: dashed; }

/* Right panel (form) */
.vc-right {
  padding: 80px 60px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: center;
}

.vc-form-logo { margin-bottom: 40px; }
.vc-form-logo svg { height: 26px; width: auto; }
[data-theme="light"] .vc-form-logo svg { filter: var(--logo-filter); }

.vc-form-h2   { font-family: 'Clash Display', monospace; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.vc-form-sub  { font-size: 12px; color: var(--text2); line-height: 1.7; margin-bottom: 32px; max-width: 400px; }

/* What you commit section */
.vc-commit-box {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px;
}
.vc-commit-title { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.vc-commit-row   { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--text2); margin-bottom: 8px; line-height: 1.6; }
.vc-commit-row:last-child { margin-bottom: 0; }
.vc-commit-icon  { flex-shrink: 0; font-size: 14px; margin-top: 1px; }

/* Form */
.vc-form-fields { margin-bottom: 20px; }

.vc-form-footer {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 11px; color: var(--text3); line-height: 1.6;
}

/* Success state */
.vc-success {
  display: none; text-align: center; padding: 32px 20px;
  background: rgba(0,229,160,0.05); border: 1px solid rgba(0,229,160,0.2);
  border-radius: var(--radius-lg); margin-top: 16px;
}
.vc-success.show { display: block; }
.vc-success-icon  { font-size: 36px; margin-bottom: 12px; }
.vc-success-title { font-family: 'Clash Display', monospace; font-size: 20px; color: var(--green); margin-bottom: 8px; }
.vc-success-sub   { font-size: 12px; color: var(--text2); line-height: 1.7; }

/* ─── RESPONSIVE HOME — first fold always fits ───────────── */

/* Short viewports (laptop 768px height, common MacBook) */
@media (max-height: 820px) {
  .home-wrap { padding-top: 28px; }
  .hero      { padding: 20px 0 28px; }
  .hero-tag  { margin-bottom: 12px; }
  .hero-h1   { font-size: clamp(32px, 5vw, 58px); margin-bottom: 12px; }
  .hero-sub  { margin-bottom: 18px; font-size: 13px; }
}

/* Very short (small laptop, external monitor at low res) */
@media (max-height: 680px) {
  .home-wrap { padding-top: 16px; }
  .hero      { padding: 12px 0 16px; }
  .hero-tag  { margin-bottom: 8px; }
  .hero-h1   { font-size: clamp(28px, 4vw, 46px); margin-bottom: 10px; }
  .hero-sub  { display: none; }
}

/* Tablet / mobile layout */
@media (max-width: 768px) {
  .home-wrap       { padding: 24px 20px 60px; }
  .hero            { padding: 20px 0 24px; }
  .hero-h1         { font-size: clamp(36px, 9vw, 56px); }
  .feature-grid    { grid-template-columns: 1fr; }
  .home-bottom-row { grid-template-columns: 1fr; }

  /* VC Launch: stack left and right under each other */
  .vc-page-wrap    { grid-template-columns: 1fr; }
  .vc-left         { padding: 40px 24px; border-right: none; border-bottom: 1px solid var(--border); min-height: auto; }
  .vc-right        { padding: 40px 24px; min-height: auto; }

  /* Sample Report: single column, no side-by-side */
  .report-wrap     { padding: 24px 20px 60px; }
  .report-header   { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dash-grid       { grid-template-columns: 1fr; }
  .c-span-4,
  .c-span-6,
  .c-span-8,
  .c-span-12       { grid-column: 1 / -1; }
  .report-wrap [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* Mobile stats: 2×2 grid */
@media (max-width: 768px) {
  .stats-row { flex-wrap: wrap; }
  .stat-block { flex: 1 0 calc(50% - 1px); }
  .stat-block:nth-child(1) { border-radius: var(--radius-lg) 0 0 0; }
  .stat-block:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .stat-block:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
  .stat-block:nth-child(4) { border-radius: 0 0 var(--radius-lg) 0; }
}

/* Small mobile: single column stats */
@media (max-width: 460px) {
  :root { --page-px: 16px; }
  .stats-row  { flex-direction: column; }
  .stat-block { border-radius: 0 !important; }
  .stat-block:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
  .stat-block:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
  .hero-h1    { font-size: clamp(34px, 11vw, 52px); }
}

/* ─── AUDIT FREE BANNER ──────────────────────────────────── */
.audit-free-banner {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  padding: 11px 18px;
  background: rgba(0, 229, 160, 0.06);
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: var(--radius-md);
  font-size: 12px; color: var(--text2); line-height: 1.5;
}
.audit-free-banner strong { color: var(--green); font-weight: 600; }
.audit-free-icon {
  color: var(--green); font-size: 14px; flex-shrink: 0; opacity: 0.85;
}
[data-theme="light"] .audit-free-banner { background: rgba(0,130,80,0.05); border-color: rgba(0,130,80,0.2); }
[data-theme="light"] .audit-free-banner strong { color: var(--green); }

/* -- Ghost Code Scanner: Enjins partnership strip -- */
.ghost-partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 16px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.ghost-partner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ghost-partner-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
}
.ghost-partner-logo {
  height: 18px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.2s;
  filter: var(--logo-filter);
}
.ghost-partner-logo:hover { opacity: 0.85; }
.ghost-partner-link { display: flex; align-items: center; }
.ghost-partner-dd {
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.ghost-partner-dd:hover { opacity: 1; text-decoration: underline; }

/* -- Ghost partner: stacked layout with prominent CTA -- */
.ghost-partner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 16px;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.ghost-partner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ghost-partner-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
}
.ghost-partner-logo {
  height: 18px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.2s;
  filter: var(--logo-filter);
}
.ghost-partner-logo:hover { opacity: 0.85; }
.ghost-partner-link { display: flex; align-items: center; }
.ghost-partner-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(240,165,0,0.10);
  border: 1px solid rgba(240,165,0,0.35);
  border-radius: var(--radius-md);
  color: var(--amber);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
}
.ghost-partner-cta:hover {
  background: rgba(240,165,0,0.18);
  border-color: rgba(240,165,0,0.6);
  transform: translateY(-1px);
}

/* -- Ghost Code Scanner: two-step layout -- */
.ghost-step-block {
  margin-top: 20px;
  padding: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.ghost-step-block--cta {
  border-color: rgba(240,165,0,0.25);
  background: rgba(240,165,0,0.04);
}
.ghost-step-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.ghost-step-num {
  font-family: 'Clash Display', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--border2);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.ghost-step-block--cta .ghost-step-num { color: rgba(240,165,0,0.35); }
.ghost-step-title {
  font-family: 'Clash Display', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ghost-step-title em { font-style: normal; color: var(--amber); }
.ghost-step-sub {
  font-size: 11px;
  color: var(--text2);
  line-height: 1.6;
}
.ghost-step-sub strong { color: var(--text); font-weight: 600; }
.ghost-partner-inline { display: inline-flex; align-items: center; }
.ghost-partner-logo-inline {
  height: 16px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.2s;
  filter: var(--logo-filter);
  vertical-align: middle;
}
.ghost-partner-logo-inline:hover { opacity: 0.8; }
.ghost-partner-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.40);
  border-radius: var(--radius-md);
  color: var(--amber);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  width: 100%;
}
.ghost-partner-cta:hover {
  background: rgba(240,165,0,0.20);
  border-color: rgba(240,165,0,0.65);
  transform: translateY(-1px);
}


/* -- Ghost step 01: blue accent variant -- */
.ghost-step-block--blue {
  border-color: rgba(0,200,255,0.20);
  background: rgba(0,200,255,0.04);
}
.ghost-step-block--blue .ghost-step-num {
  color: var(--accent);
  opacity: 0.5;
}
.ghost-step-title--blue {
  color: var(--accent);
}
.ghost-step-block--blue .ghost-notify input {
  border-color: rgba(0,200,255,0.25);
}
.ghost-step-block--blue .ghost-notify input:focus {
  border-color: var(--accent);
}


/* -- Notify me button: blue like btn-primary -- */
.ghost-btn {
  background: var(--accent);
  border: none;
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ghost-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--glow-str);
}
[data-theme="light"] .ghost-btn {
  background: #005bb5;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,91,181,0.25);
}
[data-theme="light"] .ghost-btn:hover {
  background: #004a96;
  box-shadow: 0 6px 20px rgba(0,91,181,0.35);
}

/* -- Ghost step 02: Enjins brand colors (#CFF75A lime green) -- */
.ghost-step-block--enjins {
  border-color: rgba(207, 247, 90, 0.30);
  background: rgba(207, 247, 90, 0.05);
}
.ghost-step-block--enjins .ghost-step-num {
  color: #CFF75A;
  opacity: 0.6;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-num {
  color: #527a00;
  opacity: 1;
}
.ghost-step-block--enjins .ghost-step-title {
  color: #CFF75A;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-title {
  color: #3d6000;
}
.ghost-step-block--enjins .ghost-step-title em {
  color: #CFF75A;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-title em {
  color: #527a00;
}
/* Enjins CTA button */
.ghost-partner-cta--enjins {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  background: rgba(207, 247, 90, 0.12);
  border: 1px solid rgba(207, 247, 90, 0.45);
  border-radius: var(--radius-md);
  color: #CFF75A;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  width: 100%;
}
.ghost-partner-cta--enjins:hover {
  background: rgba(207, 247, 90, 0.22);
  border-color: rgba(207, 247, 90, 0.70);
  transform: translateY(-1px);
}
[data-theme="light"] .ghost-partner-cta--enjins {
  background: rgba(82, 122, 0, 0.08);
  border-color: rgba(82, 122, 0, 0.35);
  color: #3d6000;
}
[data-theme="light"] .ghost-partner-cta--enjins:hover {
  background: rgba(82, 122, 0, 0.15);
  border-color: rgba(82, 122, 0, 0.60);
}
/* Enjins logo: show in brand colors, no theme filter override */
.ghost-partner-logo-enjins {
  height: 18px;
  width: auto;
  opacity: 0.70;
  transition: opacity 0.2s;
}
[data-theme="light"] .ghost-partner-logo-enjins {
  filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(600%) hue-rotate(60deg);
  opacity: 0.85;
}
.ghost-partner-logo-enjins:hover { opacity: 1; }

/* Ghost step title enjins color */
.ghost-step-title--enjins { color: #CFF75A; }
[data-theme="light"] .ghost-step-title--enjins { color: #3d6000; }
.ghost-step-title--enjins em { color: #CFF75A; }
[data-theme="light"] .ghost-step-title--enjins em { color: #527a00; }

/* Enjins inline ref link in sub text */
.ghost-enjins-ref {
  display: inline-flex; align-items: center;
  color: #CFF75A; text-decoration: none; font-weight: 600;
  transition: opacity 0.2s;
}
.ghost-enjins-ref:hover { opacity: 0.8; text-decoration: underline; }
[data-theme="light"] .ghost-enjins-ref { color: #3d6000; }

/* ── Enjins block: exact brand colors from enjins.com ─────── */

/* Override the block background with Enjins light cream */
.ghost-step-block--enjins {
  border-color: rgba(207, 247, 90, 0.35);
  background: #0d1a0d;          /* dark green — dark mode */
}
[data-theme="light"] .ghost-step-block--enjins {
  background: #FBFDF4;          /* Enjins cream/off-white — light mode */
  border-color: rgba(61, 96, 0, 0.25);
}

/* Step number */
.ghost-step-block--enjins .ghost-step-num {
  color: #CFF75A;
  opacity: 0.5;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-num {
  color: #2a4a00;
  opacity: 0.6;
}

/* Sub text on cream/dark */
.ghost-step-block--enjins .ghost-step-sub {
  color: rgba(251, 253, 244, 0.65);
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-sub {
  color: #2a3a20;
}
.ghost-step-block--enjins .ghost-step-sub strong {
  color: #FBFDF4;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-sub strong {
  color: #1a2a10;
}

/* Enjins ref link */
.ghost-enjins-ref {
  color: #CFF75A;
}
[data-theme="light"] .ghost-enjins-ref {
  color: #2a4a00;
}

/* Enjins CTA button: dark green background with lime text + logo */
.ghost-partner-cta--enjins {
  background: #1a3a0e;
  border: 1px solid rgba(207, 247, 90, 0.45);
  color: #CFF75A;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  width: 100%;
}
.ghost-partner-cta--enjins:hover {
  background: #234d12;
  border-color: rgba(207, 247, 90, 0.75);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(207, 247, 90, 0.15);
}
[data-theme="light"] .ghost-partner-cta--enjins {
  background: #1a3a0e;
  border-color: rgba(207, 247, 90, 0.50);
  color: #CFF75A;
}
[data-theme="light"] .ghost-partner-cta--enjins:hover {
  background: #234d12;
}

/* Enjins logo in button — show brand colors */
.ghost-cta-logo {
  height: 14px;
  width: auto;
  opacity: 0.9;
  filter: none;
  flex-shrink: 0;
}

/* ── FINAL Enjins block override (wins over all previous) ── */
.ghost-step-block.ghost-step-block--enjins {
  background: #0d1a0d !important;
  border-color: rgba(207, 247, 90, 0.35) !important;
}
[data-theme="light"] .ghost-step-block.ghost-step-block--enjins {
  background: #FBFDF4 !important;
  border-color: rgba(61, 96, 0, 0.25) !important;
}
.ghost-step-block.ghost-step-block--enjins .ghost-partner-cta--enjins {
  background: #1a3a0e !important;
  border-color: rgba(207, 247, 90, 0.45) !important;
  color: #CFF75A !important;
}
.ghost-step-block.ghost-step-block--enjins .ghost-partner-cta--enjins:hover {
  background: #234d12 !important;
  border-color: rgba(207, 247, 90, 0.75) !important;
}




/* Enjins step 02 — spacing + stronger light-mode contrast (no inline HTML colors) */
.ghost-step-block--enjins .ghost-step-sub--enjins { margin-top: 6px; }
.ghost-partner-cta--enjins-inline { margin-top: 4px; }

[data-theme="light"] .ghost-step-block.ghost-step-block--enjins {
  background: #eef3e6 !important;
  border-color: rgba(45, 70, 25, 0.28) !important;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-num {
  color: #2a4a00 !important;
  opacity: 0.85 !important;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-title {
  color: #1f3500 !important;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-title em {
  color: #2f5600 !important;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-sub--enjins {
  color: #1a2810 !important;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-step-sub--enjins strong {
  color: #0f160c !important;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-enjins-ref {
  color: #2d5600 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
[data-theme="light"] .ghost-step-block--enjins .ghost-enjins-ref:hover {
  color: #1f3a00 !important;
}

/* Audit page — expanded beta / learn-mode copy under form */
.audit-submit-note { margin-top: 10px; }
.audit-submit-note-body p { margin: 0 0 10px; }
.audit-submit-note-body p:last-child { margin-bottom: 0; }
.audit-learn-list { text-align: left; max-width: 520px; margin: 0 auto 12px; }
.audit-learn-line { margin-bottom: 6px; }

/* ─── Bottom learn bar + legal (aligned with page max-width) ─ */
#page-home.page.active,
#page-audit.page.active,
#page-report.page.active,
#page-vc.page.active {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#page-home .home-wrap,
#page-audit .audit-wrap,
#page-report .report-wrap,
#page-vc .vc-page-wrap {
  flex: 1 0 auto;
}

.page-bottom-footer {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
  padding: 32px var(--page-px) 28px;
}
.page-bottom-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Same visual system as former hero learn callout — full width of content column (wider than old 640px cap) */
.page-learn-bar {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid rgba(240, 165, 0, 0.30);
  background: rgba(240, 165, 0, 0.12);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text2);
  font-family: 'IBM Plex Mono', monospace;
}
.page-learn-bar strong {
  color: var(--text);
  font-weight: 700;
}
.page-learn-icon {
  flex-shrink: 0;
  line-height: 1.5;
}

