/* Pay with Phantom's own look, on top of base.css. One object: the lavender card with eyes. */

.mark { display: inline-flex; }
.brand-word { letter-spacing: -0.03em; white-space: nowrap; }
.ca.small .label { white-space: nowrap; }
@media (max-width: 1080px) { .top-actions .ca { display: none; } }
.demo-strip { background: var(--ink); color: #d9d3f0; }
.demo-strip b { color: #ffd479; }
.btn { font-weight: 600; }
.btn.primary { box-shadow: 0 10px 22px -14px var(--accent); }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
[data-motion="off"] { scroll-behavior: auto; }

/* ---------- the card ---------- */
.pcard { width: 100%; max-width: 420px; filter: drop-shadow(0 26px 30px rgba(27, 21, 48, 0.28)); }
.pcard svg { display: block; width: 100%; height: auto; }
.c-body { fill: var(--card); }
.c-moon { fill: var(--card-2); opacity: 0.55; }
.c-ink { fill: var(--card-ink); }
.c-word { font: 800 17px var(--font-display); letter-spacing: -0.03em; }
.c-num { font: 500 19px var(--font-mono); letter-spacing: 0.04em; }
.c-small { font: 500 10.5px var(--font-mono); letter-spacing: 0.12em; opacity: 0.75; }
.c-chip { fill: #ece8ff; }
.c-chip-lines { fill: none; stroke: var(--card-ink); stroke-width: 1; opacity: 0.35; }
.lid { fill: none; stroke: var(--card-ink); stroke-width: 4; stroke-linecap: round; }
.eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(0.08); } }
.pcard.frozen .c-body { fill: #cfcbe0; }
.pcard.frozen .c-moon { fill: #dedbea; }

/* ---------- hero: words centred, then the slab ---------- */
.hero2 { display: grid; justify-items: center; text-align: center; padding-top: clamp(44px, 7vw, 88px); }
.hero2 h1 { max-width: 12em; }
.hero2 .lede { margin-top: 20px; max-width: 34em; }
.hero2 .ctas { margin-top: 28px; justify-content: center; }
.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.promises li { display: flex; align-items: center; gap: 8px; }
.promises li::before { content: ""; width: 6px; height: 10px; border-radius: 50%; background: var(--ink); }

.slab { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--ink); color: #f3f0fa; border-radius: var(--r-lg); padding: clamp(24px, 4.5vw, 56px); }
.slab-card { display: grid; place-items: center; }
.slab-card .pcard { transform: rotate(-5deg); max-width: 440px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.calc { background: #261f40; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r); padding: 22px; }
.calc-title { font: 800 22px var(--font-display); letter-spacing: -0.03em; margin-bottom: 14px; }
.calc .label { color: #b3acce; }
.calc-field { display: grid; gap: 6px; }
.calc-amount { display: flex; align-items: baseline; gap: 6px; border-bottom: 2px solid rgba(255, 255, 255, 0.22); }
.calc-amount:focus-within { border-color: var(--card); }
.calc-dollar { font: 800 40px var(--font-display); color: #b3acce; }
.calc-input { border: 0; background: none; color: #fff; font: 800 44px/1.1 var(--font-display); letter-spacing: -0.04em; padding: 4px 0; width: 100%; height: auto; box-shadow: none; }
.calc-input:focus { outline: none; box-shadow: none; }
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.calc-presets .chip { cursor: pointer; }
.calc .chip { background: transparent; color: #e3defa; border-color: rgba(255, 255, 255, 0.2); }
.calc .chip:hover { border-color: var(--card); }
.calc-rows { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; margin-top: 16px; font-size: 14px; color: #c9c3e3; }
.calc-rows dd { text-align: right; color: #fff; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.calc-total b { font-size: 24px; color: var(--card); }
.calc-note, .calc-warn { margin-top: 10px; font-size: 12.5px; color: #a39cc0; }
.calc-warn { color: #ffd479; font-size: 14px; }

/* ---------- what you get ---------- */
.section-head { display: grid; justify-content: start; align-items: start; gap: 0; }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { grid-column: span 5; background: var(--surface); border: var(--border); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; align-content: start; }
.tile-load, .tile-rows { grid-column: span 7; }
.tile h3 { margin-top: 8px; }
.scene { height: 190px; border-radius: var(--r); background: var(--bg-2); display: flex; align-items: center; justify-content: center; gap: 18px; overflow: hidden; padding: 16px; }
.scene .pcard { max-width: 230px; filter: drop-shadow(0 12px 14px rgba(27, 21, 48, 0.22)); }
.scene-load > .mono { font-size: 26px; font-weight: 500; }
.scene-arrow { font-size: 24px; color: var(--accent); }
.scene-freeze .pcard { transform: rotate(4deg); }
.ask { background: var(--surface); border: var(--border); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.ask b { font: 800 22px var(--font-display); letter-spacing: -0.03em; }
.ask .muted { font-size: 13px; }
.scene-rows { flex-direction: column; align-items: stretch; gap: 8px; }
.mini-row { display: flex; justify-content: space-between; background: var(--surface); border: var(--border); border-radius: var(--r-sm); padding: 9px 12px; font-size: 14px; }
.scene-rows .fine { text-align: center; }

/* ---------- how: a numbered path ---------- */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.path li { padding: 22px 26px 6px 0; display: grid; gap: 8px; align-content: start; position: relative; }
.path li + li { padding-left: 26px; border-left: var(--border); }
.path-n { font-size: 13px; color: var(--accent); }

/* ---------- fees: a band of its own ---------- */
.fees { margin-top: clamp(56px, 8vw, 104px); padding: clamp(48px, 7vw, 88px) 0; background: var(--card); color: var(--card-ink); }
.fees .kicker { color: var(--card-ink); }
.fees .kicker-dot { background: var(--card-ink); }
.plans { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; align-items: stretch; }
.plan { border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; align-content: start; }
.plan.open { background: var(--surface); box-shadow: var(--shadow); }
.plan.later { background: transparent; border: 1.5px dashed rgba(27, 21, 48, 0.4); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { font: 800 28px var(--font-display); letter-spacing: -0.03em; }
.plan-lines { display: grid; grid-template-columns: 1fr auto; gap: 0; font-size: 15px; }
.plan-lines dt, .plan-lines dd { padding: 11px 0; border-bottom: var(--border); }
.plan-lines dd { text-align: right; font-weight: 500; }
.plan-list { display: grid; gap: 10px; padding-left: 18px; list-style: disc; }
.plan.later .fine { color: var(--card-ink); opacity: 0.75; }
.plan.later .chip { background: transparent; border-color: rgba(27, 21, 48, 0.4); color: var(--card-ink); }

/* ---------- coin, closer ---------- */
.coin-band { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: var(--surface); border: var(--border); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); }
.coin-band h2 { margin-bottom: 10px; }
.coin-band .ca { margin-top: 0; }
.closer { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.closer .pcard { width: 320px; transform: rotate(-4deg); }
.closer > div { display: grid; gap: 10px; justify-items: start; }
.closer .btn { margin-top: 10px; }

/* ---------- your card ---------- */
.card-page { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); padding-top: clamp(32px, 5vw, 64px); align-items: start; }
.card-col { position: sticky; top: calc(var(--top-h) + 48px); }
.card-stage { display: grid; gap: 18px; justify-items: start; }
.card-stage .pcard { max-width: 440px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.secret { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 22px; width: 100%; max-width: 440px; background: var(--surface); border: var(--border); border-radius: var(--r); padding: 14px 16px; }
.secret > div { display: grid; gap: 2px; }
.secret .link { display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.secret .fine { grid-column: 1 / -1; }
.card-side { display: grid; gap: 16px; }
.panel { background: var(--surface); border: var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; justify-items: start; box-shadow: var(--shadow); }
.panel h1 { font-size: clamp(30px, 3.6vw, 44px); }
.panel > * { max-width: 100%; }
.amount-form { display: grid; gap: 10px; width: 100%; }
.amount-form .costs { margin-top: 2px; }
.amount-form .prefix .input { font-family: var(--font-mono); font-size: 18px; }
.amount-form .chip { cursor: pointer; }
.balance { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; width: 100%; padding-bottom: 14px; border-bottom: var(--border); }
.balance .label { flex-basis: 100%; }
.balance-num { font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -0.03em; }
.feed { width: 100%; }
.act-row { display: grid; grid-template-columns: 1fr auto auto 92px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: var(--border); font-size: 14px; }
.act-row:last-child { border-bottom: 0; }
.act-time { font-size: 12.5px; }
.act-amt { text-align: right; }
.act-row .tx { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- phones ---------- */
@media (max-width: 980px) {
  .slab, .plans, .coin-band, .card-page { grid-template-columns: 1fr; }
  .card-col { position: static; }
  .tile, .tile-load, .tile-rows { grid-column: span 12; }
  .path { grid-template-columns: 1fr; }
  .path li + li { padding-left: 0; border-left: 0; border-top: var(--border); }
  .closer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .closer > div { justify-items: center; }
}
@media (max-width: 560px) {
  .promises { flex-direction: column; align-items: center; }
  .calc-input { font-size: 36px; }
  .secret { grid-template-columns: 1fr 1fr; }
  .secret > div:first-child { grid-column: 1 / -1; }
  .act-row { grid-template-columns: 1fr auto; }
  .act-row .tx, .act-time { display: none; }
  .closer .pcard { width: 260px; }
  .tabbar a { font-size: 12px; }
}
