/* ==========================================================================
   Rental Shop page
   ========================================================================== */

.shop-hero {
  padding-top: clamp(56px, 9vw, 100px);
  padding-bottom: clamp(48px, 7vw, 80px);
  background:
    radial-gradient(circle at 14% 12%, var(--paper-line) 1.2px, transparent 1.2px) 0 0 / 26px 26px,
    var(--paper);
}

.shop-hero-inner {
  max-width: 780px;
}

.shop-hero-inner h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  max-width: 34ch;
}

.shop-hero-inner .lede {
  max-width: 48ch;
  font-size: 1.15rem;
}

.shop-hero-inner .btn {
  margin-top: 32px;
}

/* ---------- Shared prose (two-col reused from advertiser.css pattern) --- */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.two-col p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ---------- How it works / 3-step flow ---------- */

.how-it-works {
  background: var(--paper-alt);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

/* ---------- How it works: with/without PedalPanel meter strip ----------
   Sits beside the text as the right column of .anchor-grid, so the two
   cards stack vertically rather than side-by-side (there isn't room for
   both in a ~0.85fr column). Each card shows two stacked bars — "hours
   ridden" and "amount earned". The point isn't idle vs busy, it's screen
   vs no screen: both cards use the same "hours ridden" bar length (same
   riding, either way) — only "amount earned" differs, since only the
   PedalPanel-equipped bike earns anything for those hours. */

.meter-strip {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.meter-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.meter-without {
  opacity: 0.72;
}

.meter-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.meter-metric {
  margin-bottom: 12px;
}

.meter-metric:last-of-type {
  margin-bottom: 14px;
}

.meter-metric-label {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.meter-without .meter-metric-label {
  color: var(--ink-faint);
}

.meter-track {
  height: 8px;
  border-radius: 5px;
  background: var(--paper-line);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 5px;
  background: var(--ink-faint);
}

.meter-fill.is-live {
  background: var(--pink);
}

.meter-value {
  padding-top: 12px;
  border-top: 1px dashed var(--paper-line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.meter-without .meter-value {
  color: var(--ink-faint);
  font-weight: 500;
}

.meter-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  margin-left: 7px;
  animation: swapBlink 1.8s var(--ease) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .meter-live-dot { animation: none; }
}

/* ---------- What this means: price-tag card ---------- */

.price-tag-card {
  display: flex;
  justify-content: center;
}

.price-tag {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--paper-line);
  padding: 36px 40px 34px 50px;
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 28px 100%, 0 50%);
  box-shadow: 0 24px 48px -30px rgba(20, 20, 26, 0.28);
  transform: rotate(-3deg);
  max-width: 400px;
}

.price-tag-hole {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper-alt);
  border: 2px solid var(--paper-line);
}

.price-tag-label {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.price-tag-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.price-old {
  font-size: 1.05rem;
  color: var(--ink-faint);
}

.price-old .mono {
  text-decoration: line-through;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
}

.price-new {
  font-weight: 600;
  font-size: 2.9rem;
  color: var(--pink-deep);
  line-height: 1.2;
  margin-top: 6px;
}

.price-new span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink-faint);
  margin-left: 4px;
}

.price-tag-caption {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--paper-line);
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 24ch;
}

.flow {
  position: relative;
  margin-top: 56px;
}

.flow-line-svg {
  position: absolute;
  top: 19px;
  left: 0;
  width: 100%;
  height: 4px;
  display: none;
}

@media (min-width: 760px) {
  .flow-line-svg {
    display: block;
  }
}

.flow-line {
  stroke: var(--pink);
  stroke-width: 2;
  opacity: 0.9;
  transition: stroke-dashoffset 1.4s var(--ease);
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 760px) {
  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.flow-step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 26px 22px 24px;
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--pink-tint-2);
  border-radius: 10px;
}

.flow-icon svg {
  width: 24px;
  height: 24px;
}

.flow-num {
  display: block;
  margin-top: 16px;
  font-size: 0.74rem;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

.flow-step h3 {
  font-size: 1.08rem;
  margin-top: 6px;
  margin-bottom: 8px;
}

.flow-step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- Financial structure ---------- */

.finance-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .finance-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.finance-card {
  padding: 26px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  background: var(--paper-alt);
}

.finance-card h3 {
  font-size: 1.15rem;
  margin: 8px 0 12px;
}

.finance-card p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.finance-note {
  max-width: 68ch;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------- Negotiability slider ---------- */

.split-slider {
  margin-top: 40px;
  padding: 30px 30px 26px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.split-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.split-bar-row {
  display: grid;
  grid-template-columns: 88px 1fr 52px;
  align-items: center;
  gap: 14px;
}

.split-bar-label {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.split-bar-track {
  height: 10px;
  border-radius: 6px;
  background: var(--paper-line);
  overflow: hidden;
}

.split-bar-fill {
  height: 100%;
  border-radius: 6px;
  width: 50%;
  transition: width 0.15s linear;
}

.split-bar-fill.cost {
  background: var(--ink);
}

.split-bar-fill.revenue {
  background: var(--pink);
}

.split-bar-value {
  text-align: right;
  font-size: 0.9rem;
  color: var(--ink);
}

.split-control {
  padding-top: 8px;
  border-top: 1px dashed var(--paper-line);
}

.split-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--ink) 0%, var(--ink) var(--pct, 50%), var(--pink) var(--pct, 50%), var(--pink) 100%);
  outline: none;
  cursor: pointer;
  margin: 10px 0 6px;
}

.split-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--pink);
  box-shadow: 0 4px 10px rgba(20, 20, 26, 0.18);
  cursor: grab;
}

.split-control input[type="range"]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.08);
}

.split-control input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--pink);
  box-shadow: 0 4px 10px rgba(20, 20, 26, 0.18);
  cursor: grab;
}

.split-control input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: transparent;
}

.split-endpoints {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-faint);
  line-height: 1.4;
}

.split-endpoint-right {
  text-align: right;
}

.split-endpoints strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.split-footnote {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ---------- Transparency ---------- */

.transparency-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 48px);
}

.transparency-card .eyebrow {
  color: var(--pink);
}

.transparency-card .lede {
  color: #d7d7de;
}

/* ---------- Closing ---------- */

.closing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .closing-grid {
    grid-template-columns: 1fr 0.8fr;
  }
}

.closing-grid h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 18ch;
}

.closing-cta {
  background: var(--ink);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.closing-question {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 20px;
}
