/* Sandbox feature layer — items 2, 4, 5, 6, 8 and 9 from the suggestions list.
   Loaded by sandbox/index.html only; the live stylesheet is untouched. */

:root {
  --line-on-dark: rgba(255, 255, 255, 0.15);
  --line-on-dark-strong: rgba(255, 255, 255, 0.55);
}

/* 9 · Eyebrow labels retired. The heading carries its own section. The hero's
   pill is a different element and stays. */
.eyebrow:not(.eyebrow-pill) { display: none; }

/* 2 · On phones the quote bar moves to the bottom edge, inside thumb reach,
   and the top band is gone. --quote-bar-h drops to 0 so the floating heading
   (heading-float.css) sits at the right line without the top band. */
@media (max-width: 720px) {
  :root { --quote-bar-h: 0px; }
  .quote-bar {
    top: auto; bottom: 0; left: 0; right: 0;
    background: var(--night-2);
    border-top: 1px solid var(--hairline); border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(8px);
  }
  .quote-bar.is-visible { transform: none; }
  .quote-bar__inner { height: 64px; padding: 0 16px; }
  .quote-bar__inner p { display: none; }
  .quote-bar .btn { width: 100%; justify-content: center; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .wa { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-bar { transform: none; }
}

/* 4 · "How much are you moving?" — a short advisor above the vehicle cards */
.advisor {
  display: grid; gap: 10px; margin-bottom: 16px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-on-dark);
}
.advisor__q { font-size: 13px; font-weight: 600; color: #fff; }
.advisor__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.advisor__field { display: grid; gap: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.advisor__field select,
.advisor__field input {
  width: 100%; background: var(--night); color: #fff;
  border: 1px solid var(--line-on-dark); border-radius: 10px;
  padding: 10px 12px; font: 500 14px var(--body);
}
.advisor__field select:focus-visible,
.advisor__field input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.advisor__result { font-size: 13px; line-height: 1.5; color: var(--green-soft); min-height: 1.5em; }
.advisor__result.is-warn { color: #ffb4a8; }
@media (max-width: 560px) { .advisor__row { grid-template-columns: 1fr; } }

/* 5 · The send confirmation becomes a receipt: the reference large, what was
   sent, and what happens next. Built from the form's own values. */
.receipt {
  display: grid; gap: 14px; margin-top: 4px; padding: 20px;
  border-radius: 14px; background: var(--night); border: 1px solid var(--line-on-dark-strong);
}
.receipt[hidden] { display: none; }
.receipt__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-soft); }
.receipt__ref {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  color: #fff; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.receipt__rows { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.receipt__rows dt { color: var(--on-dark-faint); }
.receipt__rows dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.receipt__next { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line-on-dark); display: grid; gap: 8px; }
.receipt__next h4 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.receipt__next ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; counter-reset: step; }
.receipt__next li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); counter-increment: step; }
.receipt__next li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 11px; font-weight: 700;
}

/* 6 · Remembered details, on this device only */
.remember {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin: 0; font-size: 12px; color: var(--on-dark-faint);
}
.remember[hidden] { display: none; }
.remember__forget {
  appearance: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 600 12px var(--body); color: var(--green-soft); text-decoration: underline; text-underline-offset: 3px;
}
.remember__forget:hover { color: #fff; }

/* 8 · Low-power devices (data saver, or 2GB of memory or less): the 3D van
   stops rendering and a still of it stands in. */
/* !important: the scene sets its own inline display:block */
.low-power spence-van-scene { display: none !important; }
.low-power .hero__van {
  background: url("assets/van-poster.png") no-repeat right 14% center / auto 62%;
}
