/* ===========================================================================
   Dealdrum Investor page — extends landing.css
   Adds graph-icon system + investor-specific blocks.
   =========================================================================== */

/* ---------- Hero deal preview — investor variant ------------------------- */

.deal-preview.dp--investor .dp-body { grid-template-columns: 1.6fr 1fr; }
.dp-side .mandate-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 0; border-bottom: 1px dashed var(--border-soft);
}
.dp-side .mandate-row:last-of-type { border-bottom: 0; }
.dp-side .mandate-row .k { color: var(--fg-3); }
.dp-side .mandate-row .v { color: var(--fg-1); font-weight: 600; }

/* Tiny inline sparkline */
.sparkline { display: block; width: 100%; height: 56px; }

/* Return profile mini-chart inside hero card */
.return-chart {
  background: linear-gradient(to bottom, #fbfaf7, #f8faf7);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 14px 16px 8px;
  margin-top: 14px;
}
.return-chart .rc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.return-chart .rc-head .lbl {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase;
}
.return-chart .rc-head .val {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--fg-1);
}
.return-chart .rc-head .val .delta { color: var(--success); margin-left: 6px; font-size: 11px; }

/* ---------- Graph icon tile ---------------------------------------------- */

.graph-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--primary);
  flex-shrink: 0;
}
.graph-tile.gold { color: var(--gold); border-color: #ecd58e; background: #fbf6e6; }
.graph-tile.ink  { color: var(--fg-1); background: var(--panel-2); }
.graph-tile svg { width: 24px; height: 24px; }
.graph-tile.lg { width: 56px; height: 56px; border-radius: 12px; }
.graph-tile.lg svg { width: 30px; height: 30px; }

/* ---------- Benefits grid ------------------------------------------------ */

.benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--panel);
}
.benefits .b {
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--panel);
}
.benefits .b:nth-child(4n) { border-right: 0; }
.benefits .b:nth-last-child(-n+4) { border-bottom: 0; }
.benefits .b h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  margin: 0; line-height: 1.35; color: var(--fg-1);
}
.benefits .b p { font-size: 13px; color: var(--fg-3); line-height: 1.55; margin: 0; }
@media (max-width: 1000px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits .b { border-right: 1px solid var(--border-soft); }
  .benefits .b:nth-child(2n) { border-right: 0; }
  .benefits .b:nth-last-child(-n+2) { border-bottom: 0; }
  .benefits .b:nth-last-child(3) { border-bottom: 1px solid var(--border-soft); }
}
@media (max-width: 600px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits .b { border-right: 0; }
  .benefits .b { border-bottom: 1px solid var(--border-soft); }
  .benefits .b:last-child { border-bottom: 0; }
}

/* ---------- Deal Room components — data table look ---------------------- */

.dealroom-wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: start;
}
@media (max-width: 900px) { .dealroom-wrap { grid-template-columns: 1fr; } }

.spec-table {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.spec-table .row {
  display: grid; grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border-soft);
}
.spec-table .row:last-child { border-bottom: 0; }
.spec-table .k {
  padding: 14px 18px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--panel-2);
  border-right: 1px solid var(--border-soft);
  display: flex; align-items: center; gap: 8px;
}
.spec-table .k svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.spec-table .v {
  padding: 14px 18px;
  font-size: 14px; color: var(--fg-1); line-height: 1.5;
}

/* Mock deal-room nav panel */
.dr-mock {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.dr-mock h5 {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.dr-mock h5 .pill {
  font-family: var(--font-mono); font-size: 10px;
  background: var(--success-bg); color: var(--success);
  padding: 3px 7px; border-radius: 4px;
}
.dr-tabs {
  display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--border-soft);
  overflow-x: auto;
}
.dr-tabs .t {
  font-size: 12px; padding: 8px 10px; color: var(--fg-3);
  border-bottom: 2px solid transparent; white-space: nowrap; cursor: default;
}
.dr-tabs .t.active { color: var(--fg-1); border-bottom-color: var(--primary); font-weight: 600; }

.dr-chart {
  border: 1px solid var(--border-soft); border-radius: 8px; padding: 14px; background: var(--panel-2);
}
.dr-chart .h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.dr-chart .h .ttl { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--fg-1); }
.dr-chart .h .meta { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
.dr-chart svg.bigchart { width: 100%; height: 130px; display: block; }

.dr-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 14px;
  border: 1px solid var(--border-soft); border-radius: 8px; overflow: hidden;
}
.dr-stats .c {
  padding: 12px;
  border-right: 1px solid var(--border-soft);
  background: var(--panel-2);
}
.dr-stats .c:last-child { border-right: 0; }
.dr-stats .c .l { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.dr-stats .c .v { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--fg-1); margin-top: 2px; }

/* ---------- Verification states (status pills row) ----------------------- */

.verify-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
@media (max-width: 1000px) { .verify-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .verify-grid { grid-template-columns: 1fr; } }
.vstate {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.vstate .badge { align-self: flex-start; }
.vstate h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  margin: 4px 0 0; line-height: 1.35; color: var(--fg-1);
}
.vstate p { font-size: 12.5px; color: var(--fg-3); line-height: 1.5; margin: 0; }

/* ---------- Process / Steps (8-step ladder) ------------------------------ */

.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--panel);
  counter-reset: flow;
}
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; } }
.flow .s {
  padding: 22px;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  background: var(--panel);
}
.flow .s:nth-child(4n) { border-right: 0; }
.flow .s:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 900px) {
  .flow .s { border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
  .flow .s:nth-child(4n) { border-right: 1px solid var(--border-soft); }
  .flow .s:nth-child(2n) { border-right: 0; }
  .flow .s:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .flow .s { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .flow .s:last-child { border-bottom: 0; }
}
.flow .s .ix {
  font-family: var(--font-mono); font-size: 11px; color: var(--primary);
  letter-spacing: 0.06em;
}
.flow .s h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  margin: 0; line-height: 1.35;
}
.flow .s p { font-size: 13px; color: var(--fg-3); line-height: 1.55; margin: 0; }

/* ---------- Categories grid --------------------------------------------- */

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cats { grid-template-columns: 1fr; } }
.cat {
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 22px; display: flex; gap: 16px; align-items: flex-start;
  transition: border-color var(--dur-short) var(--ease-move),
              box-shadow var(--dur-short) var(--ease-move),
              transform var(--dur-short) var(--ease-move);
}
.cat:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.cat .body { display: flex; flex-direction: column; gap: 4px; }
.cat h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin: 0; line-height: 1.3; }
.cat p  { font-size: 13px; color: var(--fg-3); line-height: 1.55; margin: 0; }
.cat .tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- Finance type strip ------------------------------------------ */

.finance-strip {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 24px;
}
.finance-strip .chip {
  font-family: var(--font-mono); font-size: 12px;
  background: var(--panel); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: var(--radius-pill);
  color: var(--fg-1); display: inline-flex; align-items: center; gap: 8px;
}
.finance-strip .chip svg { width: 14px; height: 14px; color: var(--primary); }

/* ---------- Mandate examples table -------------------------------------- */

.mandate-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
@media (max-width: 900px) { .mandate-wrap { grid-template-columns: 1fr; } }

.mandate-list {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.mandate-list .m {
  display: grid; grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--border-soft);
}
.mandate-list .m:last-child { border-bottom: 0; }
.mandate-list .who {
  padding: 16px 18px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--fg-1);
  background: var(--panel-2);
  border-right: 1px solid var(--border-soft);
  display: flex; gap: 10px; align-items: center;
}
.mandate-list .who svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.mandate-list .mand {
  padding: 16px 18px;
  font-size: 13.5px; color: var(--fg-2); line-height: 1.55;
  display: flex; align-items: center;
}
.mandate-list .mand .ticket {
  font-family: var(--font-mono); color: var(--fg-1); font-weight: 600; white-space: nowrap;
}

/* Mandate builder mock */
.mandate-builder {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-2);
}
.mandate-builder h5 {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 16px;
}
.mb-field { margin-bottom: 14px; }
.mb-field .lbl { font-size: 11px; color: var(--fg-3); font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.mb-field .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mb-field .pill {
  font-size: 12px; padding: 6px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  color: var(--fg-2); background: var(--panel-2);
}
.mb-field .pill.on { background: var(--primary-pale); color: var(--primary); border-color: #d4cdff; font-weight: 600; }
.mb-slider {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel-2); border: 1px solid var(--border-soft); border-radius: 8px; padding: 12px;
}
.mb-slider .range {
  flex: 1; height: 6px; background: var(--border-soft); border-radius: 3px; position: relative;
}
.mb-slider .range::before {
  content: ""; position: absolute; left: 20%; right: 15%; top: 0; bottom: 0;
  background: var(--primary); border-radius: 3px;
}
.mb-slider .range::after {
  content: ""; position: absolute; left: 78%; top: -4px; width: 14px; height: 14px;
  background: #fff; border: 2px solid var(--primary); border-radius: 50%;
  box-shadow: var(--shadow-1);
}
.mb-slider .v {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-1); font-weight: 600;
  white-space: nowrap;
}
.mandate-builder .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- Access levels (vertical ladder) ----------------------------- */

.access-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (max-width: 900px) { .access-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .access-grid { grid-template-columns: 1fr; } }
.access-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.access-card .lvl {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.access-card h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  margin: 0; line-height: 1.35; color: var(--fg-1);
  display: flex; align-items: center; gap: 8px;
}
.access-card h4 svg { width: 14px; height: 14px; color: var(--fg-3); flex-shrink: 0; }
.access-card p { font-size: 12.5px; color: var(--fg-3); line-height: 1.55; margin: 0; }
.access-card.locked h4 svg { color: var(--gold); }

/* ---------- Not / Disclaimer block -------------------------------------- */

.not-block {
  background: var(--charcoal); color: #fff;
  border-radius: 12px; padding: 40px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center;
}
@media (max-width: 800px) { .not-block { grid-template-columns: 1fr; padding: 28px; } }
.not-block h3 {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  margin: 0; line-height: 1.2; color: #fff;
  letter-spacing: -0.01em;
}
.not-block h3 .accent { color: #c9b67e; }
.not-block .nots { display: flex; flex-direction: column; gap: 12px; }
.not-block .nots .n {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.55;
}
.not-block .nots .n svg { width: 16px; height: 16px; color: rgba(255,255,255,0.45); flex-shrink: 0; margin-top: 3px; }
.not-block .nots .n strong { color: #fff; font-weight: 600; }
