/* Gistmo site v2. The Gistmo Cash page (/cash): the chat Cash card, the sheets, the tier card,
   the ledger, the fees table and the notes. Loads after features.css (phone and chat mockups). */

/* ---------- Section rhythm: label, large headline, a few lines, one picture ---------- */
.cs .head h2{font-size:clamp(36px,5.4vw,72px);line-height:1.04;letter-spacing:-.03em;max-width:16ch}
.cs .head .lead{max-width:58ch}
.cs .head .ctas{margin-top:20px}
.cs-media{display:flex;justify-content:center;align-items:flex-start;margin-top:var(--s-10)}
.cs-media .phone{--phone-w:min(300px,80vw)}
.cs-media--pair{flex-wrap:wrap;gap:24px}
@media (max-width:734px){.cs-media{margin-top:var(--s-8)}}
sup{font-size:.6em;line-height:0;vertical-align:super}
sup a{color:var(--accent-ink);font-weight:600;padding:0 .15em}
sup a:hover{text-decoration:underline}

/* ---------- Hero ---------- */
.cs-hero{overflow-x:clip}
.cs-hero .display{margin-inline:auto}
.cs-hero .lead{max-width:46ch}
.cs-hero .callout{max-width:44ch;margin-inline:auto}
.cs-hero__media{display:flex;justify-content:center;margin-top:var(--s-10);padding:32px 0}
.cs-hero__media.wash::before{inset:-30% -12%;border-radius:50%;background:radial-gradient(closest-side,var(--fc,var(--accent)),transparent);opacity:.16}
.cc.cc--hero{--s:1.6}
@media (max-width:734px){.cs-hero__media{margin-top:var(--s-9);padding:16px 0}.cc.cc--hero{--s:1.3}}

/* ---------- The Cash card, as it is in the app (components/messages/CashCard.tsx) ----------
   Apple's own Cash card in iMessage: one solid near-black card in both themes, no gradient,
   no sheen, no edge. The Gistmo mark and the word "Cash" top-left; the amount once, large and
   centred in tabular figures, the naira sign at full size and weight; under it one small
   centred word (Sent, Received, Pending), and the note if there is one. No time, no pill.
   --s scales the whole card; the dark theme adds a faint ring only because the site's dark
   background is pure black, where the card would otherwise vanish. */
.cc{--s:1;width:calc(232px * var(--s));max-width:100%;flex:none;display:flex;flex-direction:column;align-items:center;padding:calc(12px * var(--s)) calc(14px * var(--s)) calc(14px * var(--s));border-radius:calc(22px * var(--s));background:#0B0B0C;color:#fff;text-align:center}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cc{box-shadow:0 0 0 1px rgba(255,255,255,.14)}}
:root[data-theme="dark"] .cc{box-shadow:0 0 0 1px rgba(255,255,255,.14)}
.cc__wm{align-self:flex-start;display:flex;align-items:center;gap:calc(2px * var(--s));font-size:calc(13px * var(--s));font-weight:600;line-height:calc(16px * var(--s));letter-spacing:-.1px;color:#fff;text-align:left}
.cc__logo{display:block;width:calc(16px * var(--s));height:calc(16px * var(--s));flex:none;background:currentColor;-webkit-mask:url(/assets/media/symbol-mask.webp) center/contain no-repeat;mask:url(/assets/media/symbol-mask.webp) center/contain no-repeat}
.cc__amt{margin-top:calc(10px * var(--s));font-size:calc(26px * var(--s));font-weight:700;line-height:1.18;letter-spacing:-.4px;color:#fff;white-space:nowrap;max-width:100%}
.cc__status{margin-top:calc(1px * var(--s));font-size:calc(12px * var(--s));line-height:calc(16px * var(--s));font-weight:500;color:#fff;max-width:100%}
.cc__note{margin-top:calc(6px * var(--s));font-size:calc(12px * var(--s));line-height:calc(16px * var(--s));font-weight:500;color:rgba(255,255,255,.72);max-width:100%}
.scr__body .cc--out{align-self:flex-end}
/* Request and Split cards. The request: who asked, the amount, Apple's white-outlined Pay pill.
   The split: the total, how far it has got in one line, and a thin white progress line. */
.cc--wide{width:268px}
.cc__status--lead{margin-top:10px}
.cc__status--lead+.cc__amt{margin-top:0}
.cc__pay{display:inline-grid;place-items:center;min-width:92px;height:34px;margin-top:12px;padding:0 22px;border-radius:17px;border:1.5px solid #fff;color:#fff;font-size:14px;font-weight:600;line-height:1}
.cc__bar{width:100%;height:2px;margin-top:12px;border-radius:1px;background:rgba(255,255,255,.22);overflow:hidden}
.cc__bar i{display:block;height:100%;border-radius:inherit;background:#fff}
/* The Pay pill in the composer. */
.mk-input .mk-pay{flex:none;height:32px;padding:0 14px;border-radius:16px;background:var(--accent-soft);color:var(--accent-ink);font-weight:700;font-size:14px}

/* ---------- Sheets (add money, withdraw) ---------- */
.sheet{width:min(360px,100%);padding:12px 24px 24px;border-radius:var(--r-lg);background:var(--card-bg);box-shadow:var(--shadow-float);text-align:left}
.sheet__handle{width:36px;height:5px;margin:0 auto 18px;border-radius:3px;background:var(--hair)}
.sheet__title{font-size:20px;font-weight:700;letter-spacing:-.015em}
.sheet__sub{margin-top:4px;font-size:14px;color:var(--text-2)}
.sheet__rows{margin:16px 0 0}
.sheet__rows>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-top:1px solid var(--hair);font-size:15px}
.sheet__rows dt{color:var(--text-2);font-weight:500}
.sheet__rows dd{font-weight:600;font-variant-numeric:tabular-nums}
.sheet__total{border-top-width:1.5px}
.sheet__total dt,.sheet__total dd{color:var(--text);font-weight:700}
.sheet__btn{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;margin-top:16px;border-radius:var(--r-pill);background:var(--pill);color:var(--pill-ink);font-weight:600;font-size:16px}
.sheet__btn .ico{width:18px;height:18px}
.sheet__fine{margin-top:12px;font-size:var(--t-small);color:var(--text-2);text-align:center}

/* ---------- Tier card ---------- */
.tier{width:min(360px,100%);padding:20px 24px 24px;border-radius:var(--r-lg);background:var(--card-bg);box-shadow:var(--shadow-float);text-align:left}
.tier__top{display:flex;align-items:center;gap:12px}
.tier__top b{display:block;font-weight:700}
.tier__top small{display:block;font-size:14px;color:var(--text-2)}
.tier__check{margin-left:auto;width:26px;height:26px;color:var(--accent-ink)}
.tier__limit{margin-top:20px;font-size:17px;color:var(--text-2)}
.tier__limit .amount{display:block;font-size:40px;font-weight:700;line-height:1.1;letter-spacing:-.03em;color:var(--text)}
.tier__more{margin-top:14px;padding-top:12px;border-top:1px solid var(--hair);font-size:var(--t-small);font-weight:500;color:var(--text-2)}

/* ---------- Ledger: Anchor and Gistmo, matched ---------- */
.ledger{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;max-width:820px;margin:var(--s-10) auto 0}
.ledger__col{padding:24px;border-radius:var(--r-md);background:var(--card-bg);text-align:center}
.ledger__col small{display:block;font-size:var(--t-small);font-weight:500;color:var(--text-2)}
.ledger__col b{display:block;margin-top:6px;font-size:clamp(24px,3vw,32px);font-weight:700;letter-spacing:-.025em;white-space:nowrap}
.ledger__mid{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 8px;font-size:var(--t-small);font-weight:600;color:var(--accent-ink);text-align:center}
.ledger__mid .ico{width:28px;height:28px}
@media (max-width:734px){.ledger{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:var(--s-8)}.ledger__mid{padding:4px 0}}

/* ---------- Security points ---------- */
.cs-points{margin-top:var(--s-10);gap:16px}
.cs-points li{padding:24px;border-radius:var(--r-md);background:var(--card-bg)}
.cs-points .ico{width:28px;height:28px;color:var(--accent-ink)}
.cs-points b{display:block;margin-top:14px;font-weight:600}
.cs-points span{display:block;margin-top:4px;font-size:15px;color:var(--text-2)}
@media (max-width:734px){.cs-points{margin-top:var(--s-8)}}

/* ---------- Fees table ---------- */
.fees{width:100%;margin-top:var(--s-8);border-collapse:collapse;border-bottom:1px solid var(--hair)}
.fees th,.fees td{padding:14px 0;border-top:1px solid var(--hair);text-align:left;vertical-align:top;font-size:var(--t-body);line-height:1.4}
.fees thead th{font-size:var(--t-small);font-weight:600;color:var(--text-2);letter-spacing:.02em;border-top:0;padding-top:0}
.fees tbody th{font-weight:600;padding-right:16px}
.fees td{text-align:right;color:var(--text);font-variant-numeric:tabular-nums}
.fees th[scope="col"]:last-child{text-align:right}
@media (max-width:734px){.fees th,.fees td{font-size:15px;padding:12px 0}}

/* ---------- Get notified ---------- */
.cs-notify h2{max-width:14ch;margin-inline:auto}
.cs-notify__fine{max-width:50ch;margin:20px auto 0;font-size:var(--t-small);color:var(--text-2)}

/* ---------- Notes ---------- */
.cs-notes{border-top:1px solid var(--hair)}
.notes{margin:0;padding-left:1.5em;font-size:13px;line-height:1.5;color:var(--text-2)}
.notes li+li{margin-top:8px}
.notes a{color:var(--accent-ink);font-weight:600}
.notes li:target{color:var(--text)}
