/*
  DealProof layer — petrol identity on the shared Veyact tokens.
  Light components live here; the dark synthetic demo instrument is finished
  in veyact-cinematic.css (loaded after this file).
*/
.dp-page {
  --dp-ink: #0d2b2e;
  --dp-green: var(--petrol, #066a73);
  --dp-muted: #46605f;
  --dp-pale: #edf4f2;
  --dp-line: #cfded9;
  color: var(--dp-ink);
  background: #fdfcfa;
}
.dp-page main { max-width: none; }
.dp-page a:focus-visible, .dp-page button:focus-visible, .dp-page select:focus-visible, .dp-page summary:focus-visible {
  outline: 3px solid var(--petrol, #066a73); outline-offset: 3px;
}
.dp-preview-banner { background: #0e3435; color: #e6f4f1; text-align: center; padding: 9px 20px; font-size: 11px; letter-spacing: .08em; }
.dp-page main > section { max-width: 1440px; margin: auto; padding-left: 5%; padding-right: 5%; }

.dp-hero { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 64px; }
.dp-eyebrow, .dp-micro { font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; }
.dp-eyebrow { color: var(--dp-green); margin: 0 0 20px; }
.dp-prototype { font-size: 12px; color: var(--dp-muted); margin: 0 0 24px; }
.dp-lead { font-size: 18px; line-height: 1.7; color: var(--dp-muted); max-width: 62ch; }
.dp-actions { display: flex; gap: 18px 26px; align-items: center; flex-wrap: wrap; margin: 30px 0 18px; }
.dp-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--dp-green); color: #fff !important; padding: 13px 24px;
  font-size: 15px; font-weight: 650; border: 1px solid var(--dp-green); border-radius: 999px;
  min-height: 48px; text-decoration: none; transition: background .18s ease;
}
.dp-button:hover { background: #04545d; border-color: #04545d; }
.dp-text-link { font-size: 14px; font-weight: 650; color: var(--dp-green); text-underline-offset: 5px; }
.dp-caption { font-size: 12px; line-height: 1.7; color: var(--dp-muted); }

/* Evidence status chips: dot + label, readable on light surfaces. */
.dp-status {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  font-size: 11px; font-weight: 750; letter-spacing: .07em; padding: 6px 11px;
  border-radius: 6px; border: 1px solid transparent; line-height: 1.3; white-space: nowrap;
}
.dp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dp-status-supported { background: #e2f2e7; color: #1d5c38; border-color: #b9dcc4; }
.dp-status-candidate { background: #fdf0d3; color: #7a5210; border-color: #ecd3a0; }
.dp-status-gap { background: #fdeaea; color: #8c2f2f; border-color: #f0c4c4; }
.dp-status-contradiction { background: #fdeeda; color: #8a4b12; border-color: #f0d2ac; }

/* Legacy proof window (kept coherent if used). */
.dp-hero-proof { background: #fff; border: 1px solid var(--dp-line); border-radius: var(--r-panel, 14px); box-shadow: var(--shadow-panel); overflow: hidden; }
.dp-window-bar { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--dp-line); padding: 16px 22px; font-size: 14px; }
.dp-window-bar > span:last-child { margin-left: auto; font-size: 10px; letter-spacing: .08em; color: var(--dp-muted); }
.dp-window-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dp-green); }
.dp-proof-body { padding: 28px; }
.dp-proof-body h2 { font-size: 23px; letter-spacing: -.02em; line-height: 1.4; margin: 12px 0 20px; }
.dp-proof-body .dp-micro { font-size: 10px; color: var(--dp-muted); }
.dp-proof-footer { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; background: var(--dp-pale); border-top: 1px solid var(--dp-line); font-size: 11px; }

.dp-section { padding-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--dp-line); }
.dp-section h2 { margin: 0 0 24px; }
.dp-steps { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 44px 0 0; }
.dp-steps li > span { display: block; color: var(--dp-green); font-size: 13px; font-weight: 700; border-top: 2px solid var(--dp-ink); padding-top: 18px; }
.dp-steps h3 { font-size: 20px; margin: 22px 0 10px; }
.dp-steps p, .dp-boundary p, .dp-pilot p { font-size: 15px; line-height: 1.8; color: var(--dp-muted); }
.dp-tinted { background: var(--dp-pale); display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.dp-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dp-status-grid article { background: #fff; border: 1px solid var(--dp-line); border-radius: var(--r-ui, 8px); padding: 24px 20px; }
.dp-status-grid p { font-size: 13px; line-height: 1.8; color: var(--dp-muted); margin-bottom: 0; }
.dp-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.dp-pilot { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: center; background: var(--dp-pale); }
.dp-pilot > div:last-child { justify-self: end; }

/* Demo structure (light fallback; dark instrument in cinematic layer). */
.dp-demo-heading { border: 0; padding-bottom: 40px; }
.dp-demo-summary { display: flex; gap: 14px 28px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--dp-muted); }
.dp-demo-summary strong { color: var(--dp-ink); font-size: 22px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.dp-demo { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; padding-top: 40px; }
.dp-selector label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 12px; }
.dp-selector select { width: 100%; min-height: 48px; border: 1px solid #8fb0a6; border-radius: var(--r-ui, 8px); padding: 12px 30px 12px 12px; color: var(--dp-ink); background: #fff; font: inherit; font-size: 13px; text-overflow: ellipsis; }
.dp-selector > p { font-size: 12px; line-height: 1.7; color: var(--dp-muted); }
.dp-legend { margin: 32px 0; border-top: 1px solid var(--dp-line); padding-top: 24px; }
.dp-legend h2 { font-size: 16px; letter-spacing: 0; }
.dp-legend p { margin: 20px 0; }
.dp-legend p > span:last-child { display: block; font-size: 12px; line-height: 1.8; color: var(--dp-muted); margin-top: 8px; }
.dp-question { border: 1px solid var(--dp-line); background: #fff; border-radius: var(--r-panel, 14px); padding: 32px; margin-bottom: 24px; }
.dp-question[hidden] { display: none; }
.dp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dp-card-top .dp-micro { font-size: 10px; color: var(--dp-muted); }
.dp-question h2 { font-size: 26px; line-height: 1.4; letter-spacing: -.02em; margin-top: 24px; }
.dp-question h3 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.dp-answer { margin: 24px 0 0; border-top: 1px solid var(--dp-line); padding: 20px 0 0; }
.dp-answer p { font-size: 15px; line-height: 1.7; }
.dp-evidence { margin-top: 24px; border-left: 3px solid var(--dp-green); padding: 16px 18px; background: var(--dp-pale); }
.dp-evidence blockquote { margin: 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.dp-blank { color: var(--dp-muted); font-style: italic; }
.dp-meaning { font-size: 14px; line-height: 1.8; margin-top: 24px; }
.dp-review-note { font-size: 11px; line-height: 1.7; color: var(--dp-muted); margin-top: 20px; }
.dp-question .dp-review-note { border-top: 1px solid var(--dp-line); padding-top: 18px; }

@media (max-width: 1100px) {
  .dp-hero { gap: 36px; }
  .dp-tinted, .dp-boundary, .dp-pilot { gap: 44px; }
  .dp-demo { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .dp-page main > section { padding-left: 20px; padding-right: 20px; }
  .dp-hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 60px; gap: 40px; }
  .dp-lead { font-size: 17px; }
  .dp-section { padding-top: 60px; padding-bottom: 60px; }
  .dp-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .dp-tinted, .dp-boundary, .dp-pilot { grid-template-columns: 1fr; gap: 28px; }
  .dp-pilot > div:last-child { justify-self: start; }
  .dp-demo { grid-template-columns: 1fr; gap: 26px; padding-top: 26px; }
  .dp-question { padding: 24px 20px; }
  .dp-question h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-page * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
