/* Platform, Lumi, Credits and Trust */

/* A plain note box */
.callout { margin-top: 48px; padding: 22px 24px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); max-width: 52rem; }
.callout p { margin: 0; color: var(--mid); }
.callout b { color: var(--fg); font-weight: 600; }
.callout a { color: var(--fg); }
.callout--warm { box-shadow: inset 0 0 0 1px rgb(var(--warm) / 0.35); background: rgb(var(--warm) / 0.05); }

/* Platform services: rows the light visits */
.svc { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc li { display: grid; grid-template-columns: 160px minmax(0, 0.8fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.svc .k { font-size: 14px; color: var(--dim); }
.svc b { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.svc span:not(.k) { color: var(--mid); }
.svc em { font-style: normal; }
@media (max-width: 900px) { .svc li { grid-template-columns: 1fr; } }

/* Lumi: warm room */
body.is-warm::before { background: radial-gradient(circle calc(var(--lr) * 1.5) at var(--lx) var(--ly), rgb(var(--warm) / calc(var(--lg) * 0.12)), rgb(var(--warm) / calc(var(--lg) * 0.035)) 45%, rgb(var(--warm) / 0) 72%); }
.me-stage--hero { justify-self: center; max-width: 420px; }
@media (max-width: 760px) { .me-hero .me-stage { order: -1; max-width: 220px; justify-self: start; } }

/* Credits: in from Beacon, out to the platform */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 0.9fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.flow-in, .flow-out { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.flow .k { margin: 0; font-size: 13px; color: var(--dim); }
.flow b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.flow-in span, .flow-out span { color: var(--mid); }
.flow-chip { position: absolute; top: 26px; right: 24px; font-size: 13px; color: var(--fg) !important; opacity: 0; transform: translateY(6px); }
.flow-mid { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; text-align: center; }
.flow-spot { width: 90px; }
.flow-bal { width: 100%; height: 10px; border-radius: 10px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.flow-fill { display: block; height: 100%; width: var(--fill, 62%); background: var(--fg); border-radius: 10px; transition: width 900ms var(--ease); }
.flow-n { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; }
.flow.is-in .flow-in .flow-chip, .flow.is-out .flow-out .flow-chip { animation: chip 1400ms var(--ease) both; }
@keyframes chip { 20%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow-mid { order: -1; } }

/* Trust: the fingerprint check */
.fp { max-width: 980px; margin-top: 48px; }
.fp-st { font-weight: 500; color: var(--color-success, #4ade80); transition: color 300ms; }
.fp.is-changed .fp-st { color: var(--color-danger, #f87171); }
.fp-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.fp-l { display: block; font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.fp-rec { width: 100%; resize: vertical; font: inherit; font-size: 16px; line-height: 1.5; color: var(--fg); background: var(--bg); border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); padding: 14px 16px; }
.fp-rec:focus { outline: none; box-shadow: inset 0 0 0 1px var(--fg); }
.fp-rows { display: grid; gap: 14px; }
.fp-h { display: block; font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.02em; overflow-wrap: anywhere; padding: 12px 14px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.fp-h i { font-style: normal; transition: color 300ms; }
.fp-h i.x { color: var(--color-danger, #f87171); }
.ib { min-height: 40px; padding: 0 14px; border-radius: 6px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font-size: 14px; font-weight: 500; cursor: pointer; }
.ib:hover { box-shadow: inset 0 0 0 1px var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .flow.is-in .flow-in .flow-chip, .flow.is-out .flow-out .flow-chip { animation: none; }
  .flow-fill { transition: none; }
}

/* Security: a figure beside its points */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 48px; }
.split--flip > .figure { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > .figure { order: 0; } }
