/* The "bring your own Claude key" screen (static/js/people/keyguide.js): big type, one idea per step. */
.kg { display: flex; flex-direction: column; gap: 14px; }
.kg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.kg-langs { display: flex; gap: 6px; }
.kg-langs .btn[aria-pressed="true"] { border-color: var(--accent); font-weight: 700; }
.kg-intro { font-size: 18px; margin: 0; }
.kg-why { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 12px 14px; font-size: 16px; }
.kg-why strong { display: block; margin-bottom: 2px; }
.kg-steps { list-style: none; counter-reset: kg; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kg-step { counter-increment: kg; position: relative; border: 1px solid var(--line); background: var(--panel); border-radius: 14px;
  padding: 14px 14px 14px 62px; display: flex; flex-direction: column; gap: 8px; }
.kg-step::before { content: counter(kg); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.kg-step h3 { margin: 0; font-size: 19px; line-height: 1.25; padding-top: 5px; }
.kg-step p { margin: 0; font-size: 16px; }
.kg-step .btn { width: fit-content; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.kg-paste { width: 100%; min-height: 112px; resize: vertical; border: 2px solid var(--line); border-radius: 12px; background: var(--bg);
  color: var(--ink); padding: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; line-height: 1.35;
  word-break: break-all; -webkit-text-security: disc; }
.kg-paste:focus { outline: none; border-color: var(--accent); }
.kg-count { font-size: 14px; margin: 0; min-height: 18px; color: var(--muted); }
.kg-count.ok { color: var(--ok-ink); }
.kg-count.warn { color: var(--err); }
.kg-result { border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.kg-result[hidden] { display: none; }
.kg-result.good { background: var(--ok-bg); color: var(--ok-ink); }
.kg-result.bad { background: var(--bad-bg); color: var(--bad-ink); }
.kg-result strong { font-size: 18px; }
.kg-result .btn { width: fit-content; text-decoration: none; }
.kg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kg .btn.big { width: 100%; }
.kg-problem { border-radius: 14px; padding: 12px 14px; background: var(--bad-bg); color: var(--bad-ink); display: flex; flex-direction: column; gap: 8px; }
.kg-problem .btn { width: fit-content; text-decoration: none; }
.keyset { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.keyset h4 { margin: 0; }
.keyset p { margin: 0; }
.keyset .row { display: flex; flex-wrap: wrap; gap: 8px; }

/* the animated phone drawing on the Link WhatsApp step (static/js/people/phonemock.js): six scenes,
   each shown for 3 s of an 18 s loop, with its caption underneath; nothing here needs JavaScript */
.pm { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 14px 0 4px; }
.pm-phone { position: relative; width: 190px; height: 340px; border-radius: 30px; border: 7px solid #1d2125;
  background: #1d2125; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.pm-android .pm-phone { border-radius: 20px; }
.pm-screen { position: absolute; inset: 0; background: #fff; color: #1b1f23; display: flex; flex-direction: column;
  font-size: 11px; opacity: 0; animation: pm-show 18s infinite; }
.pm-screen.pm-dark { background: #20262b; color: #fff; }
.pm-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px 8px; background: #f2f2f2; position: relative; }
.pm-dark .pm-top { background: #20262b; }
.pm-title { font-weight: 700; font-size: 14px; }
.pm-dots { font-weight: 700; font-size: 16px; position: relative; padding: 0 6px; }
.pm-body { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 9px; }
.pm-center { align-items: center; justify-content: center; text-align: center; gap: 12px; }
.pm-row { display: block; height: 28px; border-radius: 8px; background: #ececec; }
.pm-row.short { height: 12px; width: 60%; }
.pm-item { display: block; padding: 9px 10px; border-radius: 8px; background: #ececec; font-weight: 600; position: relative; }
.pm-item.dim { background: transparent; font-weight: 400; color: #5d646b; }
.pm-tabs { display: flex; gap: 2px; padding: 8px 2px 10px; background: #f2f2f2; border-top: 1px solid #ddd; }
.pm-tab { flex: 1; text-align: center; font-size: 8px; position: relative; padding: 3px 0; border-radius: 6px; }
.pm-popup { position: absolute; top: 34px; right: 8px; width: 120px; background: #fff; border-radius: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.25); padding: 4px; display: flex; flex-direction: column; gap: 2px; }
.pm-art { width: 70px; height: 70px; border-radius: 50%; background: #d9f5d0; }
.pm-btn { display: block; background: #0f7b5f; color: #fff; padding: 9px 14px; border-radius: 20px; font-weight: 700; position: relative; }
.pm-scan { width: 110px; height: 110px; border-radius: 12px; border: 3px dashed #7d8a93; }
.pm-link { color: #6fe0b4; font-weight: 700; position: relative; padding: 4px; }
.pm-code { display: flex; gap: 4px; }
.pm-box { display: block; width: 14px; height: 22px; border-bottom: 2px solid #0f7b5f; background: #f4f1ea; }
/* the tap: a ring that pulses on what to touch */
.pm-hit { position: relative; outline: 2px solid #f59e0b; outline-offset: 1px; }
.pm-tap { position: absolute; right: 4px; bottom: -8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(245,158,11,.55);
  animation: pm-pulse 1s ease-in-out infinite; pointer-events: none; }
.pm-caps { position: relative; width: 100%; max-width: 320px; min-height: 3.2em; text-align: center; }
.pm-cap { position: absolute; inset: 0; margin: 0; opacity: 0; font-weight: 600; animation: pm-show 18s infinite; }
/* each scene (and its caption) takes its own 3 s turn; no inline styles, the page's policy forbids them */
.pm-s0 { animation-delay: -18s; }
.pm-s1 { animation-delay: -15s; }
.pm-s2 { animation-delay: -12s; }
.pm-s3 { animation-delay: -9s; }
.pm-s4 { animation-delay: -6s; }
.pm-s5 { animation-delay: -3s; }
.pm-paused .pm-screen, .pm-paused .pm-cap { animation-play-state: paused; }
.pm-paused .pm-tap { animation-play-state: paused; }
@keyframes pm-show { 0% { opacity: 0; } 2% { opacity: 1; } 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes pm-pulse { 0%, 100% { transform: scale(.7); } 50% { transform: scale(1.15); } }
/* no motion asked for: the scenes sit in a row, each with its words, nothing moves */
@media (prefers-reduced-motion: reduce) {
  .pm-screen, .pm-cap, .pm-tap { animation: none; }
  .pm-screen { opacity: 0; } .pm-screen:first-child { opacity: 1; }
  .pm-cap { opacity: 0; } .pm-cap:first-child { opacity: 1; }
  .pm-toggle { display: none; }
}
