/* The 2-Minute Quote — product shell.
   The sellable-product skin shared by /rates/ and /start/: product bar,
   cards, rate rows, uplift tiles, the sticky rail, the receipt.
   Tokens come from /assets/css/main.css (gold/green/Figtree). The customer
   quote flow keeps quote.css; this file never loads there. */

body { background: var(--mist); }

/* ---------- product bar ---------- */
.pb {
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px); height: 62px;
  position: sticky; top: 0; z-index: 50;
}
.pb-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.pb-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pb-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.pb-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em;
  background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 11px;
}
.pb-right { display: flex; align-items: center; gap: 16px; }
.pb-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
.pb-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fc98f; }
.pb-dot.dirty { background: var(--gold); }

/* ---------- buttons ---------- */
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: var(--green); border: 0; border-radius: var(--radius-btn);
  padding: 12px 22px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out);
}
.pbtn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,168,87,.35); }
.pbtn:active { transform: translateY(0) scale(.985); }
.pbtn[disabled] { opacity: .45; pointer-events: none; }
.pbtn.outline { background: var(--paper); color: var(--green); border: 1.5px solid var(--line); }
.pbtn.outline:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.pbtn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.pbtn.big { padding: 16px 28px; font-size: 16.5px; }

/* ---------- page scaffold ---------- */
.pwrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.phead { padding: 32px 0 4px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.phead h1 { margin: 0; font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--green); }
.phead p { margin: 8px 0 0; font-size: 15px; color: var(--body); max-width: 640px; line-height: 1.6; }

.playout { display: flex; gap: 26px; align-items: flex-start; padding: 22px 0 70px; }
.pmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.prail { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }

/* ---------- cards ---------- */
.pcard { background: var(--paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.pcard-pad { padding: 22px 26px; }
.pcard-head { padding: 22px 26px 16px; }
.pcard-head h2 { margin: 0; font-size: 17.5px; font-weight: 800; color: var(--green); }
.pcard-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--body); line-height: 1.55; }
.pcard-head.split { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pkicker { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .07em; color: var(--gold-dark); }

/* collapsed summary card (patch, business) */
.prow-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; }
.prow-left { display: flex; align-items: center; gap: 13px; min-width: 0; }
.prow-icon {
  width: 40px; height: 40px; border-radius: 12px; background: var(--mist);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.prow-title { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.prow-sub { font-size: 12.5px; color: var(--body); margin-top: 2px; }
.prow-body { padding: 0 24px 22px; }

/* ---------- money rows ---------- */
.mrow {
  display: grid; grid-template-columns: minmax(0, 1fr) 168px minmax(200px, 290px);
  gap: 10px 22px; align-items: center; padding: 18px 26px; border-bottom: 1px solid #f5f2ea;
}
.mrow:last-of-type { border-bottom: 0; }
.mrow-label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.mrow-help { font-size: 12px; color: var(--body); margin-top: 3px; line-height: 1.5; }
.mrow-in { display: flex; align-items: center; gap: 6px; justify-self: end; }
.mrow-in .cur { font-size: 15px; font-weight: 700; color: var(--body); }
.mrow-in input {
  width: 112px; text-align: right; font: inherit; font-size: 19px; font-weight: 700;
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums;
}
.mrow-in input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.mrow-inc { grid-column: 2; justify-self: end; font-size: 11px; color: var(--body); margin-top: -6px; }
.mrow-inc:empty { display: none; }
.mguide { display: flex; flex-direction: column; gap: 6px; }
.mguide.empty { visibility: hidden; }
.mguide-text { display: flex; justify-content: space-between; font-size: 11px; color: var(--body); white-space: nowrap; gap: 8px; }
.mguide-text b { color: var(--green); font-weight: 700; }
.mtrack { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #eee, #e9dcc0); }
.mtrack .notch { position: absolute; top: -2px; bottom: -2px; width: 1px; background: rgba(0,0,0,.08); }
.mtrack .marker {
  position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 2.5px solid var(--paper); box-shadow: 0 0 0 1.5px var(--gold-dark);
  transform: translate(-50%,-50%); transition: left .15s ease;
}

/* ---------- uplift tiles ---------- */
.tgroup { padding: 16px 26px 22px; border-top: 1px solid #f5f2ea; }
.tgroup:first-of-type { border-top: 0; }
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.tile { border: 1px solid #eee; border-radius: 12px; padding: 13px 15px 14px; background: var(--paper); }
.tile.range { border: 1.5px solid var(--gold); background: #fffdf8; }
.tile-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tile-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.tile-badge {
  font-size: 9px; font-weight: 800; letter-spacing: .06em;
  background: var(--green); color: #fff; border-radius: 999px; padding: 3px 8px; flex-shrink: 0;
}
.tile-in { display: flex; align-items: center; gap: 3px; margin-top: 9px; }
.tile-in .pre, .tile-in .post { font-size: 15px; font-weight: 800; color: var(--green); }
.tile-in input {
  width: 74px; font: inherit; font-size: 21px; font-weight: 800; color: var(--green);
  padding: 4px 2px; border: 0; border-bottom: 2px solid var(--line); border-radius: 0;
  background: transparent; text-align: right; font-variant-numeric: tabular-nums;
}
.tile-in input:focus { outline: none; border-bottom-color: var(--gold); }
.tile-market { font-size: 11px; color: #999; margin-top: 7px; min-height: 14px; }
.tile-help { font-size: 11px; color: var(--body); margin-top: 4px; line-height: 1.45; }

/* ---------- rail ---------- */
.rail-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--gold-dark); }
.rail-band { font-size: 21px; font-weight: 800; color: var(--green); margin-top: 8px; }
.rail-band-sub { font-size: 12.5px; color: var(--body); margin-top: 2px; }
.rail-track {
  position: relative; height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, #f0efeb, var(--gold)); margin: 20px 4px 6px;
}
.rail-track .notch { position: absolute; top: -5px; width: 1.5px; height: 20px; background: rgba(0,0,0,.1); }
.rail-track .marker {
  position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--green);
  transform: translate(-50%,-50%); transition: left .2s ease;
}
.rail-scalelabels { display: flex; justify-content: space-between; font-size: 10.5px; color: #999; padding: 0 4px; }
.rail-note { border-top: 1px solid #f0ece3; margin-top: 16px; padding-top: 12px; font-size: 12.5px; color: var(--body); line-height: 1.6; }
.rail-note b { color: var(--ink); }
.rail-rows { display: flex; flex-direction: column; margin-top: 10px; }
.rail-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #f5f2ea; font-size: 13px; }
.rail-row:last-of-type { border-bottom: 0; }
.rail-row span { color: var(--body); }
.rail-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rail-link { text-align: center; margin-top: 10px; font-size: 12px; }

/* ---------- the receipt (trial ledger) ---------- */
.trial-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.trial-left { padding: 4px 26px 24px; min-width: 0; }
.receipt {
  background: var(--green); color: #fff; padding: 22px 24px;
  border-radius: 0 0 var(--radius-card) 0; display: flex; flex-direction: column; min-height: 100%;
}
.receipt-kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--gold); }
.receipt-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 13px; }
.receipt-row { display: flex; justify-content: space-between; gap: 12px; }
.receipt-row .k { color: rgba(255,255,255,.72); }
.receipt-row .v { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-row.floor .k, .receipt-row.floor .v { color: var(--gold); }
.receipt-note { font-size: 11px; color: rgba(255,255,255,.6); line-height: 1.5; }
.receipt-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(255,255,255,.22); margin-top: 10px; padding-top: 12px;
}
.receipt-total .k { font-size: 13.5px; font-weight: 700; }
.receipt-total .v { font-size: 26px; font-weight: 800; color: var(--gold); }
.receipt-empty { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.6; margin-top: 14px; }
.receipt .pbtn { margin-top: auto; }

/* ---------- get-started steps ---------- */
.step-head { display: flex; align-items: center; gap: 12px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.step-num.off { background: #f0ece3; color: #999; }
.step-title { font-size: 16.5px; font-weight: 800; color: var(--green); }
.step-aside { font-size: 12.5px; color: #999; margin-left: auto; }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.opt-card {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 17px; cursor: pointer;
  background: var(--paper); text-align: left; font: inherit; transition: border-color .12s ease;
}
.opt-card:hover { border-color: var(--gold); }
.opt-card.on { border: 2px solid var(--gold); background: #fffdf8; padding: 16.5px; }
.opt-top { display: flex; justify-content: space-between; align-items: flex-start; }
.opt-title { font-size: 14.5px; font-weight: 800; color: var(--ink); margin-top: 11px; }
.opt-sub { font-size: 12px; color: var(--body); line-height: 1.55; margin-top: 5px; }
.baseline-note {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: var(--mist); border-radius: 12px; padding: 12px 15px; font-size: 13px; color: var(--body);
}
.baseline-note b { color: var(--ink); }
.arrival-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 13px;
  border: 1px dashed var(--gold); background: #fffdf8; border-radius: 12px; padding: 12px 15px;
  font-size: 12.5px; color: var(--body); line-height: 1.55;
}
.arrival-note b { color: var(--ink); }
.soft-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* live-screen bits */
.linkbox { display: flex; gap: 10px; margin-top: 14px; }
.linkbox .url {
  flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden;
  background: var(--mist); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; font-size: 14.5px; font-weight: 700; color: var(--green); white-space: nowrap;
}
.codebox { position: relative; margin-top: 12px; background: var(--green); border-radius: 12px; padding: 16px 84px 16px 18px; }
.codebox code {
  font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: #d9e4dc;
  line-height: 1.6; word-break: break-all; white-space: pre-wrap;
}
.codebox .pbtn { position: absolute; top: 10px; right: 10px; padding: 7px 14px; font-size: 12px; }

/* ---------- hero (start page) ---------- */
.hero { background: var(--green); color: #fff; padding: 46px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.hero p { margin: 16px 0 0; font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 540px; }
.hero p b { color: var(--gold); }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.hero-fine { font-size: 13.5px; color: rgba(255,255,255,.75); }
.hero-fine b { color: #fff; }
.hero-ticks { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-tick { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.8); }
.hero-phone {
  justify-self: center; width: 290px; background: var(--paper); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 18px 18px 20px; color: var(--ink);
}
.start-steps { max-width: 860px; margin: -48px auto 0; padding: 0 20px 70px; display: flex; flex-direction: column; gap: 18px; position: relative; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .playout { flex-direction: column; }
  .prail { width: 100%; position: static; }
  .trial-grid { grid-template-columns: 1fr; }
  .receipt { border-radius: 0 0 var(--radius-card) var(--radius-card); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  .tgrid, .opt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .mrow { grid-template-columns: minmax(0, 1fr) 150px; }
  .mguide { grid-column: 1 / -1; }
  .tgrid, .opt-grid { grid-template-columns: 1fr; }
  .pb-tag, .pb-status { display: none; }
}

/* sticky mobile save bar */
.savebar-mobile {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px;
}
.savebar-mobile .info { flex: 1; min-width: 0; }
.savebar-mobile .band { font-size: 13.5px; font-weight: 800; color: var(--green); }
.savebar-mobile .sub { font-size: 11px; color: var(--body); }
@media (max-width: 980px) {
  .savebar-mobile { display: flex; }
  .pmain { padding-bottom: 66px; }
}

/* ---------- brand colour picker ---------- */
.brand-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 4px !important; }
.brand-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.brand-swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0;
  transition: transform .1s ease;
}
.brand-swatch:hover { transform: scale(1.12); }
.brand-swatch.on { box-shadow: 0 0 0 2.5px var(--ink); }
.brand-row input[type="color"] {
  width: 44px; height: 36px; padding: 2px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--paper); cursor: pointer;
}
