/* Wallets, send and chat, banking bento, convert. */

/* Wallets */
.wallet-grid { display: grid; gap: 16px; }
.wallet {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 260px; padding: 28px; background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--r-card);
}
.wallet .zone { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: var(--zone); mask-image: var(--zone); }
.wallet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wallet.is-soon .wallet-code, .wallet.is-soon .wallet-body { opacity: 0.6; }
.soon { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--accent); color: var(--accent-text); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.cards-copy .soon { justify-self: start; }
.wallet-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.25rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.04em; }
.wallet h3 { margin-bottom: 14px; }
.wallet ul { display: grid; gap: 8px; color: var(--text-dim); font-size: 1rem; }
.wallet li { display: flex; gap: 10px; align-items: flex-start; }
.wallet li .icon { margin-top: 0.2em; color: var(--accent-text); width: 1.1em; height: 1.1em; }
.wallet-ngn { background: var(--ground-3); }
.wallet-ngn .wallet-code { font-size: clamp(4.5rem, 12vw, 9rem); }
@media (min-width: 900px) {
  .wallet-grid { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; }
  .wallet-ngn { grid-row: 1 / 3; grid-column: 1; }
  .wallet-gbp { grid-column: 2 / 4; }
}

/* Send and chat */
.send-grid { display: grid; gap: 48px; align-items: center; }
.send-copy .sec-head { margin-bottom: 2rem; }
@media (min-width: 960px) { .send-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }

.perks { display: grid; gap: 24px; }
.perks li { display: flex; gap: 16px; align-items: flex-start; }
.perks .icon { width: 1.75rem; height: 1.75rem; color: var(--accent-text); margin-top: 2px; }
.perks h3 { font-size: 1.1875rem; margin-bottom: 4px; }

.chat { background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--r-card); max-width: 460px; width: 100%; margin-inline: auto; overflow: hidden; display: grid; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; line-height: 1.2; }
.chat-head .dim { font-size: 0.875rem; }
.avatar { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink-on-accent); display: grid; place-items: center; }
.chat-log { height: 250px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; line-height: 1.4; animation: pop 260ms var(--ease-out) both; transform-origin: bottom left; }
.bubble.them { align-self: flex-start; background: var(--ground-3); border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--accent); color: var(--ink-on-accent); border-bottom-right-radius: 4px; transform-origin: bottom right; }
.txn { align-self: flex-end; width: min(82%, 260px); border: 1px solid var(--line-strong); background: var(--ground); border-radius: 14px; padding: 14px; display: grid; gap: 4px; animation: pop 300ms var(--ease-out) both; transform-origin: bottom right; }
.txn-top { display: flex; align-items: center; gap: 8px; color: var(--ok); font-size: 0.875rem; font-weight: 600; }
.txn-amt { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.02em; }
.txn .mono { color: var(--text-dim); font-size: 0.75rem; word-break: break-all; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.95); } to { opacity: 1; transform: none; } }
.chat-quick { display: flex; gap: 8px; padding: 0 20px 12px; flex-wrap: wrap; }
.chat-form { display: flex; gap: 8px; padding: 0 20px 12px; }
.chat .demo-note { padding: 0 20px 16px; }

/* Bento (banking) */
.cell {
  position: relative; overflow: hidden; isolation: isolate; padding: 28px;
  background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 8px;
}
.cell .cloth { z-index: -1; }
.cell h3 { font-size: 1.375rem; }
.cell-icon { width: 2rem; height: 2rem; color: var(--accent-text); margin-bottom: 12px; }
.cell-tint { background: var(--ground-3); }
.cell-pattern { background: var(--ground); }
.cell p { max-width: 44ch; }
.bento { display: grid; gap: 16px; }
.cell-xl { justify-content: flex-end; min-height: 380px; background: var(--ground-3); }
.cell-xl h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); max-width: 14ch; letter-spacing: -0.025em; }
.figures { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 20px; }
.figures dt { font-size: 0.875rem; color: var(--text-dim); }
.figures dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.02em; color: var(--accent-text); line-height: 1.1; }
.cell-split { display: grid; gap: 20px; align-items: end; }
.cell-split .note { color: var(--text-dim); padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 0.9375rem; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .cell-xl { grid-column: 1 / 4; grid-row: 1 / 4; }
  .cell-tint { grid-column: 4 / 7; }
  .bento > .cell:nth-child(3) { grid-column: 4 / 7; }
  .cell-pattern { grid-column: 4 / 7; }
  .cell-wide { grid-column: 1 / 7; }
  .cell-split { grid-template-columns: 1.4fr 1fr; }
}

/* Convert */
.convert-grid { display: grid; gap: 40px; }
.swap {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 16px; justify-items: center; align-items: center;
  padding: clamp(28px, 5vw, 56px); background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--r-card);
}
.swap .cloth { z-index: -1; }
.swap-side { display: grid; gap: 4px; justify-items: center; text-align: center; }
.swap-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 9vw, 7rem); line-height: 0.9; letter-spacing: -0.04em; }
.swap-arrow { width: 56px; height: 56px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink-on-accent); display: grid; place-items: center; }
.swap-arrow .icon { width: 1.5rem; height: 1.5rem; transform: rotate(90deg); }
@media (min-width: 700px) {
  .swap { grid-template-columns: 1fr auto 1fr; }
  .swap-arrow .icon { transform: none; }
}
.verbs { display: grid; gap: 28px; }
.verbs li { display: flex; gap: 16px; align-items: flex-start; }
.verbs .icon { width: 1.75rem; height: 1.75rem; color: var(--accent-text); margin-top: 2px; }
.verbs h3 { font-size: 1.1875rem; margin-bottom: 4px; }
@media (min-width: 900px) {
  .verbs { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.small { font-size: 0.9375rem; }
