/* Pay with Pump's own look, on top of base.css. See DESIGN.md.
   The signature object is the card with the pill. Green is brand, ink is action, green is money. */

body { background: var(--bg); }
h3, .h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 20px; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
.kicker { color: var(--brand-deep); font-weight: 500; }
.lede { color: var(--ink-2); }
.beat { color: var(--brand-deep); }
.note { margin-top: 18px; }
.section.tight { padding-top: 12px; }
.up { color: var(--money); }

/* ---------- header ---------- */
#top { background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 0; }
.demo-strip { background: var(--ink); color: #cfe5d8; font-size: 13px; }
.demo-strip b { color: var(--brand); }
.brand { gap: 10px; font-size: 20px; letter-spacing: -0.04em; }
.brand-mark { width: 34px; height: 34px; border: 0; border-radius: 0; display: block; }
.nav a:hover, .nav a[aria-current] { background: var(--bg-2); }
.btn { background: var(--surface); border-color: var(--line-2); }
.btn.primary:hover { filter: none; background: #1c3529; }
.btn.ghost { background: transparent; border-color: rgba(15, 31, 24, 0.35); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.35); }
.live-dot { background: var(--money); }
.menu { background: var(--surface); }
.menu-item:hover { background: var(--bg); }
.toast { background: var(--ink); color: #fff; }

/* ---------- status pill, tags ---------- */
.status { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(15, 31, 24, 0.14); font: 500 13px/1 var(--font-mono); color: var(--ink); margin-bottom: 20px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a100; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 500 11.5px/1 var(--font-mono); letter-spacing: 0.02em; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.tag.demo { background: #fff1cc; color: #6b4700; }

/* ---------- the card ---------- */
.card-art { width: 100%; max-width: 420px; }
.pcard { width: 100%; height: auto; border-radius: 8.2% / 13%; box-shadow: var(--shadow-card); }
.card-art.is-frozen .pcard { filter: grayscale(1) brightness(0.97); }

/* ---------- hero: a green field, the headline, then the card on its stage ---------- */
.hero { display: block; padding-top: 18px; }
.hero-panel { background: var(--brand); border-radius: var(--r-xl); padding: clamp(36px, 6vw, 76px) clamp(20px, 5vw, 64px) 0; display: grid; justify-items: center; text-align: center; overflow: hidden; position: relative; }
.hero-panel h1.display { font-size: clamp(44px, 7.4vw, 104px); line-height: 0.94; max-width: 11em; }
.hero-panel .beat { color: #fff; }
.hero-panel .lede { margin-top: 22px; color: #17402c; max-width: 34em; }
.hero-panel .ctas { justify-content: center; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: #17402c; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.stage { width: 100%; display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; align-items: center; gap: clamp(12px, 3vw, 36px); margin-top: clamp(36px, 5vw, 60px); }
.stage-card { transform: rotate(-4deg) translateY(18%); margin-top: -4%; }
.stage-card .card-art { max-width: none; }
.stage-side { display: grid; gap: 10px; align-self: center; padding-bottom: 40px; }
.stage-side.left { justify-items: end; }
.stage-side.right { justify-items: start; }
.stage-pills { display: grid; gap: 10px; width: min(100%, 290px); }
.stage-pill { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; text-align: left; font-size: 14px; box-shadow: 0 14px 28px -20px rgba(12, 80, 44, 0.6); animation: pill-in 420ms var(--ease); }
.stage-pill:nth-child(2) { opacity: 0.78; }
.stage-pill:nth-child(3) { opacity: 0.5; }
.stage-pill div { display: grid; line-height: 1.25; min-width: 0; }
.stage-pill div span { font: 12px var(--font-mono); color: var(--muted); }
@keyframes pill-in { from { opacity: 0; transform: translateY(-10px); } }
.stage-bal { display: grid; gap: 6px; justify-items: start; padding: 16px 18px; border-radius: 20px; background: var(--ink); color: #fff; text-align: left; }
.stage-bal .label { color: #94b3a2; }
.stage-bal .num { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; color: #7ff0b6; letter-spacing: -0.02em; }

/* ---------- receipts ---------- */
.rc-dot { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--bg-2); color: var(--brand-deep); font: 700 15px/1 var(--font-display); flex: none; }
.rc-list { display: grid; }
.rc-row { display: grid; grid-template-columns: auto 1fr auto 62px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: var(--border); font-size: 15px; }
.rc-row:last-child { border-bottom: 0; }
.rc-who { display: grid; line-height: 1.3; min-width: 0; }
.rc-name { font-weight: 600; }
.rc-kind { font-size: 13px; }
.rc-time { font-size: 12.5px; text-align: right; }
.rc-row.declined .rc-amt { text-decoration: line-through; color: var(--muted); }
.rc-row.declined .rc-kind { color: var(--bad); }
.rc-row.declined .rc-dot { background: #fde4e8; color: var(--bad); }

/* ---------- features: a bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { grid-column: span 2; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: var(--border); box-shadow: var(--shadow); }
.tile p { color: var(--ink-2); }
.tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.glyph { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; background: var(--bg-2); color: var(--brand-deep); }
.tile.t-topup { background: var(--ink); color: #fff; border-color: transparent; }
.tile.t-topup p { color: #bcd6c7; }
.tile.t-topup .glyph { background: #1c3529; color: var(--brand); }
.tile.t-topup .tag { background: #1c3529; color: #bcd6c7; }
.tile.t-tap { background: var(--brand-soft); border-color: transparent; }
.tile.t-tap .glyph, .tile.t-tap .tag { background: rgba(255, 255, 255, 0.7); }

/* ---------- try it ---------- */
.try { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.try-copy { display: grid; gap: 16px; justify-items: start; }
.try-copy .kicker { margin: 0; }
.try-box { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: var(--border); box-shadow: var(--shadow); align-items: start; }
.try-card { display: grid; gap: 18px; }
.try-bal { display: grid; gap: 2px; }
.mini-bal, .dash-bal { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; color: var(--money); }
.try-side { display: grid; gap: 10px; align-content: start; }
.shops { display: grid; gap: 8px; }
.shops.grid { grid-template-columns: 1fr 1fr; }
.shop { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; font-size: 15px; text-align: left; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.shop:hover { border-color: var(--ink); background: #fff; }
.shop:active { transform: translateY(1px); }
.shop span:first-child { display: grid; line-height: 1.25; }
.shop small { font-size: 12.5px; }

/* ---------- steps ---------- */
.steps { margin-top: 0; }
.step { background: var(--surface); box-shadow: var(--shadow); padding: 26px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--ink); font-size: 15px; font-weight: 500; margin-bottom: 8px; }

/* ---------- tiers ---------- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tier { display: grid; grid-template-columns: minmax(0, 0.9fr) 1fr; gap: 26px; align-items: center; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: var(--border); box-shadow: var(--shadow); }
.tier h3 { font-size: 26px; }
.facts { font-size: 14.5px; }
.facts dd { font-weight: 500; }

/* ---------- coin ---------- */
.coin-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 52px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.coin-panel .kicker { color: var(--brand); }
.coin-panel .lede { color: #bcd6c7; margin-top: 14px; }
.coin-panel .ca { margin-top: 0; border-color: rgba(255, 255, 255, 0.28); }
.coin-panel .label, .coin-panel .muted { color: #94b3a2; }
.coin-panel .ca-soon { color: #ffd27a; }
.coin-panel .btn { background: #1c3529; color: #fff; border-color: transparent; }
.coin-side { display: grid; gap: 16px; }
.coin-nums { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: end; }
.coin-nums > div { display: grid; gap: 2px; }
.coin-nums .num { font-size: 20px; }
.coin-panel .link-arrow { color: var(--brand); }

/* ---------- faq, band ---------- */
.faq { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; margin-top: 0; }
.faq details { box-shadow: var(--shadow); padding: 18px 20px; }
.faq summary { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; }
.band { justify-items: center; text-align: center; gap: 16px; padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 48px); border-radius: var(--r-xl); background: var(--brand); }
.band p { color: #17402c; max-width: 34em; }
.band-count { font: 13px var(--font-mono); min-height: 1.2em; }

/* ---------- waitlist ---------- */
.wl { width: min(100%, 560px); }
.wl-row { display: flex; gap: 10px; }
.wl-row .input { height: 52px; border-radius: var(--r-pill); padding: 0 20px; background: #fff; border-color: var(--line-2); }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 122, 67, 0.25); }
.wl-wallet { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13.5px; text-align: left; }
.wl .problem { margin-top: 10px; text-align: left; }
.band .wl-wallet { justify-content: center; }
.band .wl-wallet .muted { color: #1f5238; }
.wl-done { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; text-align: left; }
.wl-num { font-size: 34px; font-weight: 500; color: var(--brand-deep); letter-spacing: -0.03em; }
.wl-page { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); }
.wl-copy { display: grid; justify-items: start; gap: 4px; }
.wl-copy .lede { margin: 16px 0 24px; }
.wl-copy > .fine { margin-top: 12px; }
.wl-copy .notes { margin-top: 26px; font-size: 15px; }
.notes .icon { color: var(--money); }
.wl-art { display: grid; place-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: var(--ink); }
.wl-art .card-art { transform: rotate(-5deg); }

/* ---------- demo dashboard ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 20px; align-items: start; }
.dash-left, .dash-right { display: grid; gap: 16px; }
.dash-card { padding: 26px; border-radius: var(--r-xl); background: var(--brand); }
.dash-card .card-art { max-width: none; }
.panel { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: var(--border); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bags { display: grid; }
.bag { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: var(--border); font-size: 14.5px; }
.bag-sym { font-size: 12.5px; color: var(--brand-deep); }
.bag-name { color: var(--ink-2); }
.ctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: var(--border); }
.ctl.col { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ctl-top { display: flex; justify-content: space-between; align-items: baseline; }
.ctl h3 { font-size: 17px; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 15px; border: 0; background: var(--bg-2); cursor: pointer; flex: none; transition: background var(--t) var(--ease); }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15, 31, 24, 0.3); transition: transform var(--t) var(--ease); }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"] .knob { transform: translateX(22px); }
.range { width: 100%; accent-color: var(--ink); height: 28px; }
.bar { height: 6px; border-radius: 3px; background: var(--bg-2); }
.bar span { background: var(--brand-deep); border-radius: 3px; transition: width var(--t) var(--ease); }
.result { min-height: 24px; }
.result-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; font-weight: 500; }
.result-line.ok .icon { color: var(--money); }
.result-line.no { color: var(--bad); }
.cta-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--r-lg); background: var(--brand-soft); font-weight: 500; }

/* ---------- how ---------- */
.card { box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.today { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14.5px; align-items: center; }
.today dd { justify-self: end; }
.road { display: grid; gap: 0; margin-top: 24px; max-width: 760px; }
.road-item { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.road-item::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line-2); }
.road-item:last-child::before { display: none; }
.road-mark { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); }
.road-item.done .road-mark { background: var(--ink); border-color: var(--ink); }
.road-item.next .road-mark { background: var(--brand); border-color: var(--brand-deep); }
.road-item h3 { font-size: 19px; }

/* ---------- 404, footer ---------- */
.nf-card { width: min(320px, 80%); transform: rotate(5deg); margin-bottom: 18px; }
#foot { background: var(--ink); color: #bcd6c7; border-top: 0; margin-top: 0; }
#foot .brand { color: #fff; }
.foot-brand p { max-width: 30em; }
.foot-links { color: #fff; }
.foot-base { border-top-color: rgba(255, 255, 255, 0.14); color: #94b3a2; }
#foot .link { color: #bcd6c7; }

/* ---------- phones ---------- */
@media (max-width: 980px) {
  .try, .coin-panel, .wl-page, .dash, .tiers { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile { grid-column: span 1; }
  .faq { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .stage-side { padding-bottom: 0; justify-items: center !important; width: 100%; }
  .stage-side.left { order: 2; }
  .stage-side.right { order: 1; }
  .stage-card { order: 3; width: min(100%, 380px); transform: rotate(-4deg) translateY(14%); margin-top: 0; }
  .stage-pills { width: min(100%, 340px); }
  .stage-pill:nth-child(3) { display: none; }
  .wl-art { order: -1; padding: 28px; }
  .wl-art .card-art { max-width: 300px; }
}
@media (max-width: 640px) {
  .bento, .try-box, .tier, .shops.grid { grid-template-columns: 1fr; }
  .wl-row { flex-direction: column; }
  .wl-row .btn { width: 100%; }
  .hero-panel { border-radius: var(--r-lg); }
  .rc-row { grid-template-columns: auto 1fr auto; }
  .rc-time { display: none; }
  .tabbar { background: color-mix(in srgb, #fff 92%, transparent); }
}

/* ---------- your bags (real wallet, read only) ---------- */
.bags-page { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding-top: clamp(40px, 6vw, 80px); }
.bags-copy { display: grid; justify-items: start; gap: 4px; position: sticky; top: calc(var(--top-h) + 48px); }
.bags-copy .lede { margin: 16px 0 22px; }
.bags-copy .notes { font-size: 15px; }
.bags-panel { display: grid; gap: 16px; }
.bags-card { padding: 26px; border-radius: var(--r-xl); background: var(--brand); display: grid; place-items: center; }
.bags-card .card-art { max-width: 360px; transform: rotate(-3deg); }
.bags-body { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: var(--border); box-shadow: var(--shadow); }
.bags-empty { display: grid; gap: 12px; justify-items: start; padding: 10px 0; }
.bags-loading { display: grid; gap: 14px; }
.bags-loading .sk { border-radius: 8px; background: linear-gradient(90deg, var(--bg-2), var(--bg), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; height: 18px; }
.bags-total { display: grid; gap: 6px; }
.bags-usd { font-size: clamp(38px, 5vw, 56px); font-weight: 500; letter-spacing: -0.04em; color: var(--money); line-height: 1.05; }
.bags-list { display: grid; }
.bags-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: var(--border); font-size: 15px; }
.pump-tag { margin-left: 8px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-deep); font: 500 11px/1.4 var(--font-mono); vertical-align: middle; }
.privacy { display: grid; grid-template-columns: 220px 1fr; gap: 0; max-width: 860px; }
.privacy dt, .privacy dd { padding: 18px 0; border-top: var(--border); }
.privacy dt { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.privacy dd { color: var(--ink-2); }
@media (max-width: 980px) {
  .bags-page { grid-template-columns: 1fr; }
  .bags-copy { position: static; }
  .privacy { grid-template-columns: 1fr; }
  .privacy dd { border-top: 0; padding-top: 0; }
}

.nav a, .brand-word { white-space: nowrap; }
@media (max-width: 1080px) { .top-bar { gap: 14px; } .nav a { padding: 8px 9px; font-size: 14px; } }
