/* Product visuals: device frames around real screenshots, and small illustrations built from HTML with made-up data. All decorative. */
.vis { font-family: var(--font); color: var(--text); }
.vis-caption { margin: 18px 0 0; font-size: .8rem; color: var(--text-3); }
.center .vis-caption, .vis-caption--center { text-align: center; }

/* Browser window */
.browser { position: relative; overflow: hidden; border-radius: 14px; background: #0a1328; border: 1px solid rgba(148, 172, 224, .2); box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .45); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: linear-gradient(180deg, #121e3b, #0d172f); border-bottom: 1px solid rgba(148, 172, 224, .12); }
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #34446b; flex: none; }
.browser-url { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 0 1 46%; margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: rgba(5, 10, 23, .55); font: 500 .7rem/1.4 var(--font-mono); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url::before { content: ""; width: 8px; height: 9px; flex: none; border: 1.5px solid currentColor; border-radius: 2px; border-top-width: 4px; opacity: .7; }
.browser-bar::after { content: ""; width: 44px; flex: none; }
.browser > img, .browser-shot { display: block; width: 100%; height: auto; }
.browser--sm .browser-bar { height: 28px; padding: 0 10px; gap: 5px; }
.browser--sm .browser-bar .dot { width: 7px; height: 7px; }
.browser--sm .browser-url { font-size: .6rem; padding: 2px 10px; }
.browser--sm .browser-bar::after { width: 26px; }

/* Phone */
.phone { position: relative; width: 100%; padding: 8px; border-radius: 38px; background: linear-gradient(155deg, #3a4a70, #141d36 40%, #0b1226); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -35px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .55); }
.phone-screen { position: relative; overflow: hidden; border-radius: 31px; background: #000; padding-top: 30px; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 30%; height: 16px; transform: translateX(-50%); border-radius: 999px; background: #05080f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .04); }
.phone-screen img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.phone--light .phone-screen { background: #f4f2ec; }

/* Home hero: storefront, phone and back office together */
.stage { position: relative; max-width: 70rem; margin: clamp(56px, 7vw, 92px) auto 0; padding: 0 0 clamp(40px, 6vw, 80px); }
.stage::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 12%; bottom: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 200, 255, .32), rgba(61, 139, 255, .14) 55%, transparent); filter: blur(30px); }
.stage-main { position: relative; z-index: 2; width: 80%; margin-inline: auto; }
.stage-phone { position: absolute; z-index: 3; left: 1%; bottom: 4%; width: 19%; }
.stage-bo { position: absolute; z-index: 3; right: 0; bottom: 0; width: 41%; }
.stage-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; border-radius: 16px; text-align: left; background: rgba(12, 22, 46, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); font-size: .78rem; line-height: 1.35; color: var(--text-2); }
.stage-chip b { display: block; color: var(--text); font: 650 .86rem/1.3 var(--font-display); }
.stage-chip code { font-size: .74rem; color: var(--cyan-hi); }
.stage-chip .ico-tile { width: 34px; height: 34px; border-radius: 10px; }
.stage-chip .ico { width: 18px; height: 18px; }
.stage-chip--a { top: 9%; left: -1%; }
.stage-chip--b { top: 2%; right: 1%; }
@media (prefers-reduced-motion: no-preference) {
  .stage-chip--a { animation: float 7s ease-in-out infinite; }
  .stage-chip--b { animation: float 8s ease-in-out -3s infinite; }
}
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 47.99rem) {
  .stage-main { width: 100%; }
  .stage-phone { left: auto; right: 2%; bottom: -2%; width: 30%; }
  .stage-bo, .stage-chip { display: none; }
}

/* A storefront with its phone view, for feature rows and template pages */
.duo { position: relative; padding: 0 0 8% 0; }
.duo .browser { width: 88%; }
.duo-phone { position: absolute; right: 0; bottom: 0; width: 26%; z-index: 2; }
.duo--left .browser { margin-left: auto; }
.duo--left .duo-phone { right: auto; left: 0; }

/* A phone on its own, centred in a soft glow */
.solo-phone { position: relative; width: min(300px, 70%); margin-inline: auto; }
.solo-phone::before { content: ""; position: absolute; z-index: -1; inset: 10% -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 200, 255, .25), transparent); filter: blur(20px); }
.bento .solo-phone { width: min(250px, 78%); margin-bottom: -18%; }

/* Draw proof */
.proof { position: relative; display: grid; gap: 12px; width: 100%; max-width: 34rem; margin-inline: auto; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(22, 36, 68, .92), rgba(10, 19, 40, .95)); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.proof-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.proof-title { font: 650 1.02rem var(--font-display); }
.proof-chip, .chip-ok { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font: 500 .68rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); background: rgba(62, 224, 180, .1); border: 1px solid rgba(62, 224, 180, .35); }
.proof-chip::before, .chip-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(62, 224, 180, .2); }
.proof-step { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(5, 10, 23, .5); border: 1px solid var(--line); }
.proof-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 500 .74rem var(--font-mono); color: var(--cyan-hi); background: rgba(34, 200, 255, .08); box-shadow: inset 0 0 0 1px rgba(34, 200, 255, .4); }
.proof-step small { display: block; color: var(--text-3); font-size: .74rem; line-height: 1.4; }
.hash-label { font: 600 .84rem/1.4 var(--font-display); margin-top: 3px; }
.proof code { display: block; margin-top: 5px; font: 500 .78rem/1.4 var(--font-mono); color: var(--cyan-hi); overflow-wrap: anywhere; }
.proof-check { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; font: 600 .86rem/1.4 var(--font-display); color: var(--mint); background: rgba(62, 224, 180, .07); border: 1px solid rgba(62, 224, 180, .25); }
.proof-check svg { width: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.proof-win { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px 0; }
.proof-win small { color: var(--text-3); font: 500 .74rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.proof-win b { font: 750 1.9rem/1 var(--font-display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hash strip (Home bento) */
.hashflow { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .hashflow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; } }
.hashflow-step { padding: 14px 16px; border-radius: 14px; background: rgba(5, 10, 23, .55); border: 1px solid var(--line); min-width: 0; }
.hashflow-step small { display: block; font: 500 .66rem/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.hashflow-step code { display: block; margin-top: 6px; font: 500 .8rem/1.4 var(--font-mono); color: var(--cyan-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hashflow-step--ok { background: rgba(62, 224, 180, .07); border-color: rgba(62, 224, 180, .3); }
.hashflow-step--ok code { color: var(--mint); font-family: var(--font-display); font-weight: 650; white-space: normal; }
.hashflow-arrow { display: none; align-self: center; width: 22px; height: 1px; background: var(--line-3); position: relative; }
.hashflow-arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--line-3); border-right: 1px solid var(--line-3); transform: rotate(45deg); }
@media (min-width: 40rem) { .hashflow-arrow { display: block; } }

/* Spend limit (player protection) */
.limits { display: grid; gap: 12px; padding: 20px; border-radius: var(--r); background: rgba(5, 10, 23, .55); border: 1px solid var(--line); }
.limits-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .84rem; color: var(--text-2); }
.limits-row b { font: 700 1.05rem var(--font-display); color: var(--text); }
.meter { height: 8px; border-radius: 999px; background: rgba(148, 172, 224, .12); overflow: hidden; }
.meter span { display: block; height: 100%; width: 53%; border-radius: inherit; background: var(--grad); }
.limits-note { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .8rem; color: var(--text-2); background: rgba(255, 190, 85, .07); border: 1px solid rgba(255, 190, 85, .25); }
.limits-note .ico { width: 16px; height: 16px; color: var(--amber); }
.limits-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.limits-chips span { padding: 4px 10px; border-radius: 999px; font: 500 .7rem var(--font-mono); color: var(--text-2); border: 1px solid var(--line-2); }

/* Front end or ours: two front ends into one platform */
.fe-diagram { display: grid; gap: 12px; }
.fe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fe-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font: 600 .84rem/1.3 var(--font-display); background: rgba(5, 10, 23, .55); border: 1px solid var(--line-2); }
.fe-box .ico { width: 18px; height: 18px; color: var(--cyan-hi); }
.fe-join { height: 22px; position: relative; }
.fe-join::before { content: ""; position: absolute; left: 25%; right: 25%; top: 0; height: 11px; border: 1px solid var(--line-3); border-top: 0; border-radius: 0 0 12px 12px; }
.fe-join::after { content: ""; position: absolute; left: 50%; top: 11px; height: 11px; width: 1px; background: var(--line-3); }
.fe-core { padding: 14px 16px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, rgba(34, 200, 255, .14), rgba(61, 139, 255, .06)); border: 1px solid rgba(34, 200, 255, .35); }
.fe-core b { display: block; font: 700 .92rem var(--font-display); }
.fe-core span { font-size: .78rem; color: var(--text-2); }

/* Code window */
.code-win { overflow: hidden; border-radius: var(--r-lg); background: #060c1c; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.code-win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(148, 172, 224, .05); border-bottom: 1px solid var(--line); }
.code-win-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #34446b; }
.code-win-title { margin-left: 10px; font: 500 .72rem var(--font-mono); color: var(--text-3); letter-spacing: .04em; }
.code-win pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 500 .8rem/1.8 var(--font-mono); color: var(--text-2); tab-size: 2; }
.code-win pre + pre { border-top: 1px dashed var(--line-2); }
.c-m { color: var(--mint); } .c-p { color: var(--text); } .c-h { color: #8ab4ff; } .c-s { color: var(--cyan-hi); } .c-n { color: var(--amber); } .c-d { color: var(--text-3); }
.code-win .mono-list { list-style: none; margin: 0; padding: 18px 22px; display: grid; gap: 2px; font: 500 .84rem/1.9 var(--font-mono); color: var(--cyan-hi); }
.code-win .mono-list li::before { content: "\2192"; margin-right: 12px; color: var(--text-3); }
.code-win-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-2); }
.code-win-foot p { margin: 0; }

/* Audit log (security) */
.log { overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(22, 36, 68, .85), rgba(10, 19, 40, .9)); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.log-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font: 650 .95rem var(--font-display); }
.log ul { list-style: none; margin: 0; padding: 6px 0; }
.log li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 20px; font-size: .84rem; color: var(--text-2); border-bottom: 1px solid rgba(148, 172, 224, .07); }
.log li:last-child { border-bottom: 0; }
.log time { font: 500 .74rem var(--font-mono); color: var(--text-3); }
.log .who { padding: 3px 9px; border-radius: 999px; font: 500 .66rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); white-space: nowrap; }
.log .who--support { color: var(--amber); border-color: rgba(255, 190, 85, .4); }

/* Launch checklist (How it works) */
.checklist { overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(22, 36, 68, .88), rgba(10, 19, 40, .92)); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.checklist-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.checklist-head b { font: 650 1rem var(--font-display); }
.checklist-bar { height: 6px; margin: 0 22px; border-radius: 999px; background: rgba(148, 172, 224, .12); overflow: hidden; }
.checklist-bar span { display: block; height: 100%; width: 50%; background: var(--grad); }
.checklist ul { list-style: none; margin: 0; padding: 12px 10px 10px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; color: var(--text); }
.cl-name { flex: 1; min-width: 0; }
.cl-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line-3); }
.cl-dot--done { border: 0; background: var(--mint); }
.cl-dot--done::after { content: ""; width: 10px; height: 10px; background: #04221c; -webkit-mask: url("../img/ui/check.svg") center / contain no-repeat; mask: url("../img/ui/check.svg") center / contain no-repeat; }
.cl-dot--doing { border-color: var(--amber); }
.cl-dot--doing::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.cl-state { font: 500 .66rem/1.4 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.cl-state--done { color: var(--mint); } .cl-state--doing { color: var(--amber); }
.checklist-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--text-2); background: rgba(5, 10, 23, .4); }
.checklist-foot .ico { width: 17px; height: 17px; color: var(--amber); }

/* Import dry run (Migration) */
.dryrun { overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(22, 36, 68, .88), rgba(10, 19, 40, .92)); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.dryrun-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.dryrun-head b { font: 650 1rem var(--font-display); }
.dryrun-head .tag { color: var(--cyan-hi); border-color: rgba(34, 200, 255, .4); }
.dryrun ul { list-style: none; margin: 0; padding: 8px 0; }
.dryrun li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 11px 22px; font-size: .88rem; color: var(--text-2); }
.dryrun li b { color: var(--text); font-weight: 600; }
.dryrun .num { font: 500 .8rem var(--font-mono); color: var(--text-2); }
.dryrun .warn { color: var(--amber); } .dryrun .ok { color: var(--mint); }
.dryrun-hashes { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 22px 16px; }
.dryrun-hashes span { padding: 4px 10px; border-radius: 999px; font: 500 .7rem var(--font-mono); color: var(--text-2); border: 1px solid var(--line-2); }
.dryrun-foot { padding: 14px 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--text-2); background: rgba(5, 10, 23, .4); }

/* Card rules (Compliance) */
.rule-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.rule { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: rgba(148, 172, 224, .04); border: 1px solid var(--line); color: var(--text-2); }
.rule p { margin: 0; }

/* Review round 1 */
.bento .solo-phone { width: min(290px, 84%); margin-bottom: -24%; }
.limits-chips { align-items: center; }
.limits-chips em { font-style: normal; font-size: .78rem; color: var(--text-3); margin-right: 4px; }
.fe-box { font-size: .8rem; padding: 11px 12px; }
.fe-join { height: 30px; }
.fe-join::before { height: 15px; }
.fe-join::after { top: 15px; height: 15px; }
@media (min-width: 48rem) { .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.limits-chips { gap: 5px; }
.limits-chips span { padding: 3px 8px; font-size: .66rem; }
.browser-url { display: block; text-align: center; }
.browser-url::before { display: inline-block; vertical-align: -1px; margin-right: 7px; }
