/* CarChief owner site additions. Loads after tokens.css and main.css. Uses the same tokens, so the Night Lot theme applies automatically. */

/* ---------- Hero stage: phone with real notifications + floating alert card ---------- */
.cc-stage--owner { position: relative; display: flex; justify-content: flex-end; padding: 0 4% 56px 0; }
.cc-stage--owner .cc-device { margin: 0; }
.cc-stage--owner .cc-stage__alertcard { position: absolute; left: 0; bottom: 0; width: min(290px, 52%); margin: 0; z-index: 2; }
.cc-stage--owner .cc-stage__alertcard .cc-shot__frame { box-shadow: var(--cc-shadow-pop); }
.cc-stage--owner .cc-stage__note { top: calc(100% + 12px); left: 0; right: auto; }
@media (max-width: 960px) { .cc-stage--owner { justify-content: center; padding-right: 0; } }
@media (max-width: 640px) {
  .cc-stage--owner { flex-direction: column; align-items: center; gap: 16px; padding: 0; }
  .cc-stage--owner .cc-stage__alertcard { position: static; width: 100%; max-width: 320px; }
  .cc-stage--owner .cc-stage__note { position: static; }
}

/* ---------- Stat cards (why it matters) ---------- */
.cc-owner-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cc-owner-stat { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--cc-radius-lg); background: var(--cc-paper); }
.cc-owner-stat__v { font: 800 clamp(44px, 5vw, 56px)/1 var(--cc-font-display); font-stretch: var(--cc-display-stretch); color: var(--cc-heading-accent); }
.cc-owner-stat__l { font-size: 15px; line-height: 22px; color: var(--cc-ink); }
.cc-owner-stat__src { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--cc-hairline); font-size: 13px; line-height: 18px; color: var(--cc-ink-muted); }
.cc-owner-stat__src a { color: inherit; }
@media (max-width: 520px) { .cc-owner-stats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Numbered steps on the dark stolen-vehicle band ---------- */
.cc-numsteps { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.cc-numsteps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.cc-numsteps__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--cc-radius-md); background: var(--cc-teal); color: #0F1108; font: 800 16px/1 var(--cc-font-display); font-stretch: var(--cc-display-stretch); }
.cc-numsteps b { display: block; color: var(--cc-ink); }
.cc-numsteps li > div > span { display: block; font-size: 15px; line-height: 22px; color: var(--cc-ink-muted); }
.cc-numsteps .cc-hotline { margin-top: 4px; font: 500 20px/1.4 var(--cc-font-mono); color: var(--cc-teal); white-space: nowrap; }

/* ---------- App band ---------- */
.cc-appband { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--cc-radius-lg); background: var(--cc-navy-tint); }
.cc-appband .cc-h2 { color: var(--cc-heading-accent); }
.cc-appband p { margin-top: 10px; color: var(--cc-ink); max-width: 56ch; }
.cc-appband .cc-btn--secondary { background: var(--cc-surface); }
.cc-appband .cc-btn--secondary:hover { background: var(--cc-ink); }
@media (max-width: 860px) { .cc-appband { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bento visuals ---------- */
.cc-tile__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.cc-tile__row > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cc-tile__row > .cc-shot { flex: 1 1 260px; max-width: 360px; }
.cc-tile__row--wide > .cc-shot { flex: 1.4 1 300px; max-width: none; }
.cc-tile--navy .cc-tag { background: var(--cc-navy-deep); color: var(--cc-cream); }
.cc-tile__icon { width: 28px; height: 28px; color: var(--cc-heading-accent); }
.cc-tile--navy .cc-shot__frame { border-color: transparent; }

/* ---------- Legal pages ---------- */
.cc-prose b { color: var(--cc-ink); font-weight: 700; }
.cc-legal-caps { color: var(--cc-ink) !important; font-weight: 600; }
.cc-legal-list { list-style: none; padding-left: 20px !important; border-left: 2px solid var(--cc-hairline); }
.cc-legal-address { font-style: normal; color: var(--cc-ink); padding: 14px 16px; border-radius: var(--cc-radius-md); background: var(--cc-surface); border: 1px solid var(--cc-hairline); align-self: flex-start; }
.cc-legal-table { overflow-x: auto; }
.cc-legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; background: var(--cc-surface); border: 1px solid var(--cc-hairline); border-radius: var(--cc-radius-md); }
.cc-legal-table caption { text-align: left; padding-bottom: 8px; font: 700 15px/1.3 var(--cc-font-sans); color: var(--cc-ink); }
.cc-legal-table th, .cc-legal-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--cc-hairline); color: var(--cc-ink); vertical-align: top; }
.cc-legal-table th { font: 600 12px/1.2 var(--cc-font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--cc-ink-muted); background: var(--cc-surface-cream); }
.cc-legal-table tr:last-child td { border-bottom: 0; }

/* ---------- Screenshot reveal (owner.js adds .cc-reveal only when motion is allowed) ---------- */
.cc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.cc-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cc-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Placeholder link (store links not yet supplied) ---------- */
.cc-todo { font: 500 11px/1 var(--cc-font-mono); letter-spacing: .04em; opacity: .8; }
