/* Chataway site kit — the remote (a phone of tiles), the demo computer window, scan-to-try. Shared by all three pages; every class is prefixed so it never collides. */
/* ---------- the remote: a phone of tiles ---------- */
.rc-phone { width: 318px; max-width: 100%; border-radius: 48px; background: #0d0d0e; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.28), 0 0 0 1.5px #2a2a2e inset; position: relative; flex-shrink: 0; }
.rc-phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #000; }
.rc-screen { border-radius: 39px; background: var(--bg); padding: 52px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.rc-head { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.rc-head b { font-weight: 600; font-size: 15px; }
.rc-head small { color: var(--dim); font-size: 12.5px; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rc-tile { text-align: left; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); padding: 11px 11px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: transform .15s, border-color .2s, box-shadow .2s; }
.rc-tile:hover { border-color: var(--line-2); }
.rc-tile:active { transform: scale(.97); }
.rc-tile .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); }
.rc-tile .ic svg { width: 18px; height: 18px; }
.rc-tile b { font-size: 14px; font-weight: 600; line-height: 1.22; }
.rc-tile .cap { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.rc-tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; }
.rc-tile.wide .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rc-tile[aria-pressed="true"] { border: 1.5px solid transparent; background: linear-gradient(var(--raised), var(--raised)) padding-box, conic-gradient(var(--b1), var(--b3), var(--b5), var(--b7), var(--b1)) border-box; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.plain .rc-tile .cap { display: none; }
.rc-tile .cap, .rc-tile b { transition: opacity .25s; }

/* ---------- the demo computer window ---------- */
.dm { border-radius: 14px; background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.dm-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; background: var(--side); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.dm-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex-shrink: 0; }
.dm-bar i:nth-child(2) { background: #febc2e; } .dm-bar i:nth-child(3) { background: #28c840; }
.dm-bar span { margin-left: 8px; display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-body { position: relative; height: 290px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.dm-body.flush { padding: 0; }
.dm-hint { margin: auto; text-align: center; color: var(--dim); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dm-hint b { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--fg); }
.k-fade { animation: kfade .35s ease both; }
@keyframes kfade { from { opacity: 0; transform: translateY(6px) } }

.k-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: var(--green); }
.k-dot.p { background: var(--purple); }
.k-dot.w { background: conic-gradient(var(--b1), var(--b3), var(--b5), var(--b7), var(--b1)); animation: kspin 1.4s linear infinite; }
@keyframes kspin { to { transform: rotate(360deg) } }
.k-term { background: #0f1012; color: #e8e6e1; font-family: var(--font-mono); border-radius: 12px; padding: 14px 16px; font-size: 12.5px; line-height: 1.65; overflow: hidden; }
.k-term .g { color: #7fd99a; } .k-term .y { color: #ffcf6b; } .k-term .d { color: #8b8a86; } .k-term .p { color: #c9bcff; } .k-term .r { color: #ff8a80; }
.k-card { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.k-card.needs { background: var(--purple-soft); border-color: var(--purple-line); }
.k-card.needs b { color: var(--purple-ink); }
.k-card.live { border: 1.5px solid transparent; background: linear-gradient(var(--raised), var(--raised)) padding-box, conic-gradient(var(--b1), var(--b3), var(--b5), var(--b7), var(--b1)) border-box; }
.k-card.ok { background: var(--green-soft); border-color: transparent; }
.k-card.ok b { color: var(--green); }
.k-row { display: flex; align-items: center; gap: 8px; }
.k-small { font-size: 13px; color: var(--muted); }
.k-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.k-chips span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--raised); }
.k-allow { display: flex; gap: 6px; }
.k-allow span { flex: 1; text-align: center; padding: 7px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 500; font-size: 13px; background: var(--raised); }
.k-allow span.y { background: var(--ink); color: var(--ink-fg); border-color: var(--ink); }
.k-site { border-radius: 12px; overflow: hidden; flex: 1; min-height: 120px; background: radial-gradient(circle at 72% 30%, rgba(255,255,255,.75) 0 7%, transparent 8%), linear-gradient(180deg, #ece0c6 0 55%, #b6c5a2 55% 68%, #667f57 68%); position: relative; color: #2d3a2b; }
.k-site b { position: absolute; left: 16px; top: 14px; font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.k-site span { position: absolute; left: 16px; top: 46px; font-family: var(--font-display); font-size: 30px; line-height: 1; }
.k-site i { position: absolute; left: 16px; bottom: 14px; font-style: normal; font-size: 12px; font-weight: 600; background: #667f57; color: #fff; padding: 6px 12px; border-radius: 99px; }
.k-url { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--raised); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); min-width: 0; }
.k-url b { color: var(--fg); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* QR + pair code */
.k-try { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.k-try svg.qr { width: 104px; height: 104px; flex-shrink: 0; border-radius: 8px; background: #fff; padding: 6px; display: block; }
.k-try b { display: block; font-size: 15px; font-weight: 600; }
.k-try p { margin: 2px 0 8px; font-size: 13.5px; color: var(--muted); }
.k-try .link { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 500; font-size: 13.5px; }
.k-code { display: inline-flex; gap: 6px; margin: 6px 0 8px; }
.k-code span { width: 34px; height: 42px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; font-family: var(--font-mono); font-size: 19px; font-weight: 500; }
.k-code span.gap { width: 8px; border: 0; background: none; }
.k-phone { display: none; }
@media (max-width: 860px) { .k-desk { display: none !important; } .k-phone { display: flex; } }


/* brand marks and platform rows */
.lg { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: currentColor; display: inline-block; }
[data-logo] { display: inline-flex; align-items: center; gap: .42em; }
.k-os { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35em .9em; }
.k-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 13.5px; }
.k-platforms.center { justify-content: center; }
.k-platforms [data-logo] { color: var(--fg); }
.k-platforms em { font-style: normal; color: var(--dim); font-size: 12.5px; margin-left: .15em; }
.k-platforms i { width: 1px; height: 14px; background: var(--line-2); }
