/* ───────────── Cards ───────────── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow); }
.card + .card { margin-top: var(--sp-4); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card-head { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.card-head h2, .card-head h3 { margin: 0; }
.card-head .meta { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); }
.section-label { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 var(--sp-2); }
.section-label.gold { color: var(--gold-text); }
.section-label.teal { color: var(--teal); }

/* ───────────── Buttons ───────────── */
.btn {
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 10px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--teal);
  background: var(--teal); color: #fff; font-weight: 600; font-size: var(--fs-sm);
  cursor: pointer; text-decoration: none; transition: background var(--ease), transform var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.secondary { background: var(--card); color: var(--teal); border-color: var(--teal); }
.btn.secondary:hover { background: var(--teal-soft); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--ink-soft); color: var(--ink); }
.btn.danger { background: var(--red); border-color: var(--red); }
.btn.danger:hover { background: #B23241; border-color: #B23241; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: var(--fs-xs); }
.btn.block { width: 100%; }
.btn-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.btn-link { background: none; border: 0; padding: 4px 2px; color: var(--teal); text-decoration: underline; cursor: pointer; font-size: var(--fs-sm); min-height: var(--tap); display: inline-flex; align-items: center; }

/* ───────────── Forms ───────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-3); }
.field label, .field .label { font-weight: 600; font-size: var(--fs-sm); }
.field .hint { color: var(--muted); font-size: var(--fs-xs); }
.field .error { color: var(--red); font-size: var(--fs-sm); font-weight: 500; }
.input, input[type="text"], input[type="number"], input[type="email"], input[type="date"], input[type="search"], input[type="url"], select, textarea {
  width: 100%; min-height: var(--tap); padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
  color: var(--ink); font-size: var(--fs-md);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: var(--focus); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
.input-vin { font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; font-size: 1.05rem; }
.input-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.input-row > .input, .input-row > input { flex: 1 1 220px; min-width: 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--sp-3) var(--sp-4); margin: 0 0 var(--sp-3); }
legend { font-weight: 600; font-size: var(--fs-sm); padding: 0 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; min-height: var(--tap); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.radio-group { display: grid; gap: var(--sp-2); }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; background: var(--card); }
.radio-card:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.radio-card input { margin-top: 3px; accent-color: var(--teal); }
.radio-card .t { display: block; font-weight: 600; font-size: var(--fs-sm); }
.radio-card .d { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }

/* ───────────── Chips / verdicts ───────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em; border: 1px solid transparent; white-space: nowrap; }
.chip .ico { font-weight: 700; }
.chip.neutral { background: var(--ink-soft); color: var(--ink); }
.chip.teal { background: var(--teal-soft); color: var(--teal); border-color: #cfe1df; }
.chip.green { background: var(--green-soft); color: var(--green); border-color: #cde3d5; }
.chip.amber { background: var(--amber-soft); color: #8a5f12; border-color: #ecdcb4; }
.chip.red { background: var(--red-soft); color: var(--red); border-color: #ecc7bf; }
.chip.gold { background: var(--gold-soft); color: var(--gold-text); border-color: #e9dcb8; }
.chip.muted { background: transparent; color: var(--muted); border-color: var(--line); }

.verdict { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.verdict .mark { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.verdict .title { font-weight: 700; font-family: var(--font-display); font-size: var(--fs-lg); margin: 0 0 2px; }
.verdict .body { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.verdict.green { border-color: #cde3d5; background: var(--green-soft); } .verdict.green .mark { background: var(--green); color: #fff; }
.verdict.amber { border-color: #ecdcb4; background: var(--amber-soft); } .verdict.amber .mark { background: var(--amber-text); color: #fff; }
.verdict.red { border-color: #ecc7bf; background: var(--red-soft); } .verdict.red .mark { background: var(--red); color: #fff; }
.verdict.teal { border-color: #cfe1df; background: var(--teal-soft); } .verdict.teal .mark { background: var(--teal); color: #fff; }
.verdict.neutral .mark { background: var(--ink-soft); color: var(--ink); }

/* Urgency scale (text + symbol + color, never color alone) */
.urgency { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); }
.urgency .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.urgency.safe { color: var(--green); } .urgency.safe .dot { background: var(--green); }
.urgency.schedule { color: var(--teal); } .urgency.schedule .dot { background: transparent; }
.urgency.soon { color: var(--amber-text); } .urgency.soon .dot { background: var(--amber); border-radius: 2px; }
.urgency.stop { color: var(--red); } .urgency.stop .dot { background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); border: 0; }

/* Epistemic / confidence labels */
.conf { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.conf::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.conf.verified, .conf.strongly-supported { color: var(--green); }
.conf.likely { color: var(--teal); }
.conf.possible, .conf.needs-inspection { color: var(--amber-text); }
.conf.unknown { color: var(--muted); }

/* Source labels */
.source { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.source .k { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.source-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.source-list li { padding-left: 14px; position: relative; }
.source-list li::before { content: "·"; position: absolute; left: 2px; color: var(--gold); font-weight: 700; }

/* ───────────── SAY THIS (brand signature) ───────────── */
.say-this {
  border-left: 4px solid var(--gold);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow);
}
.say-this .say-label { font-family: var(--font-display); font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin: 0 0 var(--sp-2); }
.say-this blockquote { margin: 0 0 var(--sp-3); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.say-this blockquote p { margin: 0 0 var(--sp-2); }
.say-this blockquote p:last-child { margin-bottom: 0; }
.say-this .why { font-size: var(--fs-sm); color: var(--muted); margin: var(--sp-3) 0 0; }
.say-this .why b { color: var(--ink); }
.say-this .listen { margin-top: var(--sp-3); display: grid; gap: 8px; }
.say-this .listen .l { font-size: var(--fs-sm); padding-left: 22px; position: relative; }
.say-this .listen .l::before { position: absolute; left: 0; top: 1px; font-weight: 700; }
.say-this .listen .good::before { content: "✓"; color: var(--green); }
.say-this .listen .bad::before { content: "!"; color: var(--amber-text); }
.say-this .tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-3); align-items: center; }
.say-this .tools .btn { min-height: var(--tap); }
.say-this .tools .copy { flex: 1 1 100%; }
.say-this .tools .variants { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.say-this .tools .variants .btn { border: 0; border-radius: 0; background: var(--card); color: var(--muted); font-size: var(--fs-xs); padding: 6px 12px; }
.say-this .tools .variants .btn + .btn { border-left: 1px solid var(--line); }
.say-this .tools .variants .btn[aria-pressed="true"] { background: var(--gold-soft); color: var(--gold-text); }

/* ───────────── PROVE IT ───────────── */
.prove-it { border: 1px dashed var(--teal); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); background: var(--teal-soft); }
.prove-it .section-label { color: var(--teal); }
.prove-it ul { margin: 0; padding-left: 1.1em; }
.prove-it li { font-size: var(--fs-sm); }
.prove-it .note { margin: var(--sp-2) 0 0; font-size: var(--fs-xs); color: var(--muted); }

/* ───────────── Defense card ───────────── */
.defense-card { display: grid; gap: var(--sp-4); }
.defense-card .dc-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.defense-card .dc-row:last-child { border-bottom: 0; }
.defense-card .dc-q { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.defense-card .dc-a { font-size: var(--fs-md); }
.defense-card .dc-a ul { margin: 4px 0 0; }
@media (min-width: 560px) { .defense-card .dc-row { grid-template-columns: 160px 1fr; gap: var(--sp-3); } }

/* ───────────── Situations grid (home) ───────────── */
.situations { display: grid; gap: var(--sp-2); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 480px) { .situations { grid-template-columns: 1fr 1fr; } }
.situation { display: flex; gap: var(--sp-3); align-items: center; padding: 14px 16px; min-height: 64px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color var(--ease), transform var(--ease); }
.situation:hover { border-color: var(--teal); color: var(--ink); }
.situation:focus-visible { box-shadow: var(--focus); }
.situation .glyph { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.situation .glyph.gold { background: var(--gold-soft); color: var(--gold); }
.situation .glyph.red { background: var(--red-soft); color: var(--red); }
.situation .glyph.green { background: var(--green-soft); color: var(--green); }
.situation > span:last-child { min-width: 0; }
.situation .t { display: block; font-weight: 600; font-size: var(--fs-md); line-height: 1.25; }
.situation .d { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }

/* ───────────── Vehicle identity card ───────────── */
.vehicle-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.vehicle-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--teal); }
.vehicle-card .nick { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.vehicle-card .ymm { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; margin: 2px 0 4px; }
.vehicle-card .vin { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.08em; word-break: break-all; }
.vehicle-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: var(--sp-3) 0 0; font-size: var(--fs-sm); }
.vehicle-card dt { color: var(--muted); } .vehicle-card dd { margin: 0; font-weight: 500; }
.vehicle-card .src { margin-top: var(--sp-3); }

/* ───────────── Key/value lists + mobile tables ───────────── */
.kv { display: grid; grid-template-columns: 1fr; gap: 2px 16px; margin: 0; font-size: var(--fs-sm); }
.kv dt { color: var(--muted); } .kv dd { margin: 0 0 8px; font-weight: 500; }
@media (min-width: 480px) { .kv { grid-template-columns: minmax(140px, auto) 1fr; } .kv dd { margin-bottom: 4px; } }
.money { font-variant-numeric: tabular-nums; }
table.lines { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.lines th { text-align: left; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.lines td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.lines td.num, table.lines th.num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) {
  table.lines, table.lines tbody { display: block; width: 100%; max-width: 100%; }
  table.lines thead { display: none; }
  table.lines tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.lines td { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border: 0; padding: 4px 0; text-align: left; min-width: 0; overflow-wrap: anywhere; }
  table.lines td > * { min-width: 0; max-width: 100%; }
  table.lines td .chip { white-space: normal; }
  table.lines td::before { content: attr(data-label); color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; flex: none; }
  table.lines td.num { text-align: right; }
}

/* ───────────── Scorecard ───────────── */
.scorecard { display: grid; gap: 8px; }
.score { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.score:last-child { border-bottom: 0; }
.score .n { font-weight: 600; font-size: var(--fs-sm); }
.score .why { grid-column: 1 / -1; color: var(--muted); font-size: var(--fs-xs); }

/* ───────────── Line review items ───────────── */
.line-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: var(--sp-3) var(--sp-4); }
.line-item + .line-item { margin-top: var(--sp-2); }
.manual-line { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.manual-line + .manual-line { margin-top: 8px; }
.manual-line .cap { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.manual-line .input-row > * { min-height: var(--tap); }
.manual-line .input-row .btn { min-width: var(--tap); }
[tabindex="-1"]:focus { outline: none; box-shadow: none; }
.line-item .li-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.line-item .li-head .name { font-weight: 600; flex: 1 1 auto; }
.line-item .li-head .amt { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.line-item .li-body { margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }
.line-item .li-body b { color: var(--ink); }
.line-item details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 600; font-size: var(--fs-sm); color: var(--teal); min-height: 36px; display: flex; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; margin-right: 8px; font-size: 14px; color: var(--muted); }
details[open] > summary::before { content: "–"; }
details .details-body { padding: 8px 0 4px 28px; font-size: var(--fs-sm); }

/* ───────────── Notices / states ───────────── */
.notice { border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); background: var(--card); font-size: var(--fs-sm); }
.notice.info { background: var(--teal-soft); border-color: #cfe1df; }
.notice.warn { background: var(--amber-soft); border-color: #ecdcb4; }
.notice.danger { background: var(--red-soft); border-color: #ecc7bf; }
.notice.ok { background: var(--green-soft); border-color: #cde3d5; }
.notice h3, .notice h4, .notice .notice-title { margin: 0 0 4px; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; }
.notice p:last-child { margin: 0; }
.state { text-align: center; padding: var(--sp-6) var(--sp-4); color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.state h3 { font-family: var(--font-display); color: var(--ink); }
.error-state { border: 1px solid #ecc7bf; background: var(--red-soft); border-radius: var(--radius); padding: var(--sp-4); }
.error-state h3 { margin: 0 0 6px; font-size: var(--fs-md); }
.error-state dl { margin: 0; font-size: var(--fs-sm); }
.error-state dt { font-weight: 700; margin-top: 8px; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.error-state dd { margin: 2px 0 0; }

/* Toast */
.toast-region { position: fixed; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 200; pointer-events: none; }
.toast { pointer-events: auto; margin: 0 auto; max-width: 480px; width: 100%; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-size: var(--fs-sm); box-shadow: 0 8px 24px rgba(29,39,51,0.2); animation: toast-in 240ms var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Dialog */
dialog.sheet { border: 0; border-radius: var(--radius); padding: 0; max-width: min(560px, calc(100vw - 32px)); width: 100%; background: var(--card); color: var(--ink); box-shadow: 0 24px 64px rgba(29,39,51,0.25); }
dialog.sheet::backdrop { background: rgba(29,39,51,0.45); }
dialog.sheet .sheet-body { padding: var(--sp-5) var(--sp-4); }
dialog.sheet h2 { margin-top: 0; }

/* Tabs / segmented */
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); }
.segmented { display: flex; max-width: 100%; }
.segmented button { border: 0; background: transparent; padding: 8px 12px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); cursor: pointer; flex: 1 1 auto; white-space: nowrap; }
.segmented button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.segmented button:focus-visible { box-shadow: inset var(--focus); border-radius: 0; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); font-weight: 700; font-family: var(--font-display); display: grid; place-items: center; font-size: var(--fs-sm); }

/* Quick / big-tap mode (At the shop) */
.quick .btn { min-height: 56px; font-size: var(--fs-md); }
.quick textarea { font-size: 1.1rem; min-height: 100px; }
.quick-grid { display: grid; gap: var(--sp-2); grid-template-columns: 1fr; }
@media (min-width: 480px) { .quick-grid { grid-template-columns: 1fr 1fr; } }
.quick-grid .btn { justify-content: flex-start; text-align: left; white-space: normal; line-height: 1.3; }
.answer-block { padding: var(--sp-3) 0; border-top: 1px solid var(--line); }
.answer-block:first-child { border-top: 0; }
.answer-block .q { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin: 0 0 4px; }
.answer-block .a { font-size: 1.0625rem; margin: 0; }
.answer-block ul { margin: 4px 0 0; padding-left: 1.1em; }

/* Anatomy visualization */
.anatomy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3); }
.anatomy svg { width: 100%; height: auto; display: block; }
.anatomy .region { fill: var(--ink-soft); stroke: var(--line); stroke-width: 1.5; cursor: pointer; transition: fill var(--ease); }
.anatomy .region:hover { fill: var(--teal-soft); stroke: var(--teal); }
.anatomy .region.active { fill: var(--amber-soft); stroke: var(--amber); stroke-width: 2.5; }
.anatomy .region.danger { fill: var(--red-soft); stroke: var(--red); stroke-width: 2.5; }
.anatomy .outline { fill: none; stroke: var(--ink); stroke-width: 2; }
.anatomy .caption { font-size: var(--fs-xs); color: var(--muted); margin: 8px 0 0; }
.anatomy-legend { list-style: none; padding: 0; margin: var(--sp-2) 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.anatomy-legend button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: var(--fs-sm); min-height: var(--tap); cursor: pointer; }
.anatomy-legend button[aria-pressed="true"] { border-color: var(--amber); background: var(--amber-soft); }
@media (prefers-reduced-motion: no-preference) {
  .anatomy .region.active { animation: pulse 1.2s ease-in-out 2; }
  @keyframes pulse { 50% { stroke-width: 4; } }
}

/* Reveal motion (subtle) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 260ms var(--ease) both; }
  @keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Pricing / plans */
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); background: var(--card); }
.plan.pro { border-color: var(--gold); }
.plan .price { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; }
.plan ul { padding-left: 1.1em; font-size: var(--fs-sm); }

/* Progress bar (quiet) */
.progress { height: 6px; background: var(--ink-soft); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width 400ms var(--ease); }

/* Document list */
.doc { display: flex; gap: var(--sp-3); align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc:last-child { border-bottom: 0; }
.doc .ico { width: 40px; height: 40px; border-radius: 8px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-xs); flex: none; }
.doc .t { font-weight: 600; font-size: var(--fs-sm); } .doc .d { color: var(--muted); font-size: var(--fs-xs); }
.doc .actions { margin-left: auto; display: flex; gap: 4px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 var(--sp-3) var(--sp-4); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--teal); }
.timeline .when { font-size: var(--fs-xs); color: var(--muted); }

/* Upsell / pro prompt — honest, after value */
.pro-prompt { border: 1px solid var(--gold); background: var(--gold-soft); border-radius: var(--radius); padding: var(--sp-4); }
.pro-prompt h3 { margin-top: 0; }
