/* mcp2.css — /mcp (marketing/mcp.blade.php), 2026-11 design. Sits on home.css
   (hm-). The connect walkthrough mirrors Claude's connector flow and the real
   Ranklogs sign-in / approval screens. Everything is visible at rest. */

.mc { --claude: #c96442; --claude-bg: #f6efe8; --ink-ui: #2b2a28; --line-ui: #e6e1d9; --act: #ff6a00; --act-bg: #fff1e4; }

/* shared bits */
.mc-copy { flex: none; font: 700 12.5px/1 var(--hm-fb); padding: 8px 11px; border-radius: 8px; border: 1px solid var(--hm-line); background: #fff; color: var(--hm-ink); cursor: pointer; transition: background .2s, color .2s; }
.mc-copy:hover { background: var(--hm-soft); }
.mc-copy:focus-visible { outline: 2px solid var(--hm-orange); outline-offset: 2px; }
.mc-copy.is-done { background: var(--hm-green); border-color: var(--hm-green); color: #fff; }
.mc-link { font: 700 15px/1 var(--hm-fb); color: var(--hm-orange-ink); text-decoration: none; }
.mc-link--w { color: #fff; }
.mc-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mc-cta--c { justify-content: center; position: relative; }
.mc-calls { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-calls span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: #f3f1ec; border: 1px solid var(--line-ui); font: 600 12px/1 ui-monospace, Consolas, monospace; color: #5b564d; }
.mc-calls span i { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-green); }
.mc-logo { font: 800 18px/1 var(--hm-fb); color: var(--hm-ink); letter-spacing: -.02em; }
.mc-logo span { color: var(--hm-orange); }
.mc-btn-ui { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 9px; background: var(--ink-ui); color: #fff; font: 700 13px/1 var(--hm-fb); transition: transform .15s, box-shadow .3s; }
.mc-btn-ui.ghost { background: #fff; color: var(--ink-ui); border: 1px solid var(--line-ui); }
.mc-btn-ui.is-press { transform: scale(.94); }
.mc-input { display: block; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--line-ui); background: #fff; font: 500 13px/1.3 var(--hm-f); color: var(--ink-ui); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-height: 36px; }
.mc-input--url { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.mc-modal__row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.mc-scope { display: grid; gap: 6px; padding: 10px; border-radius: 10px; border: 1px solid #e3e6ec; }
.mc-scope__l { font: 600 11.5px/1 var(--hm-fs); color: var(--hm-muted); }
.mc-radio { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--hm-ink2); }
.mc-radio i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #b8bfcc; flex: none; }
.mc-radio.on i { border: 4px solid var(--hm-orange); }

/* ================= HERO ================= */
.mc-hero { padding-bottom: 28px; }
.mc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--hm-fb); letter-spacing: 1.6px; text-transform: uppercase; color: var(--hm-orange-ink); padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hm-line); }
.mc-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-green); box-shadow: 0 0 0 4px rgba(25,182,106,.18); }
.mc-url { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px dashed #ffc08a; }
.mc-url > span { font: 700 11px/1 var(--hm-fb); letter-spacing: 1px; text-transform: uppercase; color: var(--hm-faint); }
.mc-url code { font: 600 14px/1.3 ui-monospace, Consolas, monospace; color: var(--hm-ink); overflow-wrap: anywhere; flex: 1 1 200px; min-width: 0; }
.mc-chat { margin: 0; border-radius: 24px; background: #faf8f4; border: 1px solid var(--line-ui); box-shadow: var(--hm-shadow); overflow: hidden; display: grid; }
.mc-chat__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-ui); background: #fff; }
.mc-claude { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--hm-fb); color: var(--ink-ui); }
.mc-claude i { width: 18px; height: 18px; border-radius: 6px; background: var(--claude); }
.mc-conn { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--hm-fs); color: var(--hm-green-ink); padding: 6px 9px; border-radius: 999px; background: var(--hm-green-bg); }
.mc-conn i { width: 7px; height: 7px; border-radius: 50%; background: var(--hm-green); }
.mc-chat__body { padding: 18px; display: grid; gap: 12px; }
.mc-u { justify-self: end; max-width: 88%; padding: 11px 14px; border-radius: 16px 16px 4px 16px; background: #ece6dc; font: 500 14.5px/1.45 var(--hm-fm); color: var(--ink-ui); }
.mc-a { padding: 2px 2px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-ui); }
.mc-a p { margin: 0; }
.mc-a b { color: #000; }
.mc-a__next { padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line-ui); font-weight: 600; color: var(--hm-orange-ink); justify-self: start; }
.mc-chat figcaption { padding: 10px 16px; border-top: 1px solid var(--line-ui); font-size: 12px; color: #8a847a; }
/* hero choreography (runs once JS marks it) */
.mc-chat.is-play .mc-calls span { animation: mcPop .35s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(1.6s + var(--i) * .25s); }
.mc-chat.is-play .mc-a { animation: mcIn .5s ease both; animation-delay: 2.6s; }
.mc-chat.is-play .mc-a__next { animation: mcIn .5s ease both; animation-delay: 3.4s; }
@keyframes mcPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes mcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mc-stats { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mc-stats li { padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--hm-line); font-size: 14px; color: var(--hm-muted); }
.mc-stats b { font-family: var(--hm-fb); color: var(--hm-ink); }

/* ================= WHAT IT IS ================= */
.mc-what__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mc-what__grid h2 { margin-top: 14px; }
.mc .mc-answer { margin: 16px 0 0; font: 500 18px/1.6 var(--hm-fm); color: var(--hm-ink2); }
.mc .mc-sub { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--hm-muted); }
.mc-plug { margin: 0; display: grid; justify-items: center; gap: 0; padding: 22px; border-radius: 24px; background: var(--hm-soft); border: 1px solid var(--hm-line); }
.mc-plug__node { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--hm-line); width: min(100%, 340px); }
.mc-plug__node b { font: 700 15px/1.2 var(--hm-fb); }
.mc-plug__node small { font-size: 12.5px; color: var(--hm-faint); }
.mc-plug__rl i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #ff8b1f, #ff5d00); margin-bottom: 2px; }
.mc-plug__mcp { background: var(--hm-ink); border-color: var(--hm-ink); color: #fff; }
.mc-plug__mcp b { font-family: ui-monospace, Consolas, monospace; }
.mc-plug__mcp small { color: #aab3c5; }
.mc-plug__wire { position: relative; width: 4px; height: 42px; border-radius: 2px; background: #dfe3ea; overflow: hidden; }
.mc-plug__wire span { position: absolute; left: 0; width: 4px; height: 10px; border-radius: 2px; background: var(--hm-orange); top: -12px; animation: mcFlow 1.8s linear infinite; }
.mc-plug__wire span:nth-child(2) { animation-delay: .6s; } .mc-plug__wire span:nth-child(3) { animation-delay: 1.2s; }
@keyframes mcFlow { to { top: 44px; } }
.mc-plug__apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mc-plug__apps span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--hm-line); font: 700 13.5px/1 var(--hm-fb); }
.mc-plug__apps i { width: 12px; height: 12px; border-radius: 4px; background: #9aa3b5; }
.mc-plug__apps .is-claude { border-color: #e9c3b2; background: var(--claude-bg); }
.mc-plug__apps .is-claude i { background: var(--claude); }

/* ================= CONNECT WALKTHROUGH ================= */
.mc-connect { padding-block: var(--hm-gap); background: linear-gradient(180deg, #faf7f2 0%, #f6f1ea 100%); }
.mc-walk { display: grid; grid-template-columns: .9fr 1.25fr; gap: 28px; align-items: start; }
.mc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mc-step { width: 100%; text-align: left; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-ui); background: #fff; cursor: pointer; font: inherit; color: inherit; transition: border-color .25s, box-shadow .25s; }
.mc-step:focus-visible { outline: 2px solid var(--hm-orange); outline-offset: 2px; }
.mc-step__n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #f1ede6; font: 800 14px/1 var(--hm-fb); color: var(--ink-ui); transition: background .25s, color .25s; }
.mc-step__t { display: grid; gap: 4px; min-width: 0; }
.mc-step__t b { font: 700 15.5px/1.3 var(--hm-fb); color: var(--hm-ink); }
.mc-step__t span { font-size: 13.5px; line-height: 1.5; color: var(--hm-muted); }
.mc-step__bar { grid-column: 2; display: block; height: 3px; margin-top: 10px; border-radius: 2px; background: #eeeae3; overflow: hidden; }
.mc-step__bar em { display: block; height: 100%; width: 0; background: var(--hm-orange); }
.mc-step[aria-selected="true"] { border-color: #ffb27a; box-shadow: 0 14px 30px -20px rgba(255,106,0,.6); }
.mc-step[aria-selected="true"] .mc-step__n { background: var(--hm-orange); color: #fff; }
.mc-step.is-run .mc-step__bar em { animation: mcProg var(--dur, 5s) linear forwards; }
.mc-step.is-done .mc-step__bar em { width: 100%; }
.mc-walk.is-paused .mc-step.is-run .mc-step__bar em, .mc-walk--code.is-paused .mc-step.is-run .mc-step__bar em { animation-play-state: paused; }
@keyframes mcProg { to { width: 100%; } }
.mc-step__url { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; padding: 12px 14px; border-radius: 14px; background: var(--hm-ink); color: #fff; }
.mc-step__url > span { font: 700 10.5px/1 var(--hm-fb); letter-spacing: 1px; text-transform: uppercase; color: #9aa3b5; width: 100%; }
.mc-step__url code { flex: 1 1 180px; min-width: 0; font: 600 13.5px/1.3 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }

.mc-screen { position: relative; }
.mc-win { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line-ui); box-shadow: 0 30px 60px -30px rgba(43,42,40,.45); }
.mc-win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f0ea; border-bottom: 1px solid var(--line-ui); }
.mc-win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd6cb; }
.mc-win__bar span { margin-left: 10px; padding: 5px 10px; border-radius: 7px; background: #fff; font: 500 12px/1 ui-monospace, Consolas, monospace; color: #6d675e; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mc-win__body { position: relative; display: grid; min-height: 360px; background: #faf8f4; }
.mc-scr { grid-area: 1 / 1; position: relative; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.mc-walk[data-step="0"] .mc-scr--1, .mc-walk[data-step="1"] .mc-scr--2, .mc-walk[data-step="2"] .mc-scr--3, .mc-walk[data-step="3"] .mc-scr--4 { opacity: 1; visibility: visible; transition: opacity .35s ease; }
/* screen 2 keeps screen 1 visible behind its modal */
.mc-walk[data-step="1"] .mc-scr--1 { opacity: 1; visibility: visible; }

.mc-set { display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.mc-set__nav { display: grid; gap: 2px; align-content: start; }
.mc-set__nav span { padding: 8px 10px; border-radius: 8px; font: 500 13px/1 var(--hm-fm); color: #6d675e; }
.mc-set__nav span.on { background: #ece6dc; color: var(--ink-ui); font-family: var(--hm-fs); }
.mc-set__main { display: grid; gap: 8px; align-content: start; }
.mc-set__h { font: 700 18px/1.2 var(--hm-fb); color: var(--ink-ui); }
.mc-set__main small { font-size: 12.5px; color: #8a847a; margin-bottom: 6px; }
.mc-set__row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line-ui); font: 600 13px/1 var(--hm-fs); color: var(--ink-ui); }
.mc-set__row i { width: 20px; height: 20px; border-radius: 6px; }
.mc-set__row i.g { background: linear-gradient(135deg, #34a853, #fbbc04); } .mc-set__row i.s { background: linear-gradient(135deg, #e01e5a, #36c5f0); }
.mc-set__row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--hm-green-ink); }
.mc-set__row em.off { color: #6d675e; }
.mc-set__main .mc-btn-ui { justify-self: start; margin-top: 6px; }
.mc-target.is-hot { box-shadow: 0 0 0 4px rgba(255,106,0,.25); }

.mc-dim { position: absolute; inset: 0; background: rgba(43,42,40,.35); }
.mc-modal { position: relative; z-index: 1; margin: 20px auto 0; width: min(100%, 380px); display: grid; gap: 7px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); }
.mc-modal > b { font: 700 16px/1.2 var(--hm-fb); color: var(--ink-ui); margin-bottom: 4px; }
.mc-modal label, .mc-auth__card label { font: 600 12px/1 var(--hm-fs); color: #6d675e; margin-top: 4px; }
.mc-typing::after { content: ""; display: inline-block; width: 2px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--hm-orange); animation: mcCaret .9s steps(1) infinite; }
@keyframes mcCaret { 50% { opacity: 0; } }

.mc-auth { display: grid; place-items: center; min-height: 320px; }
.mc-auth__card { grid-area: 1 / 1; width: min(100%, 330px); display: grid; gap: 7px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid #e3e6ec; box-shadow: 0 20px 40px -24px rgba(11,21,38,.35); transition: opacity .35s ease, transform .35s ease; }
.mc-auth__card > b { font: 800 18px/1.2 var(--hm-fb); color: var(--hm-ink); margin-top: 8px; }
.mc-auth__card > small { font-size: 12.5px; color: var(--hm-muted); margin-bottom: 4px; }
.mc-auth__card .mc-btn-ui { background: var(--hm-orange); margin-top: 8px; }
.mc-auth__card .mc-btn-ui.ghost { background: #fff; }
.mc-auth__login { opacity: 1; }
.mc-auth__consent { opacity: 0; transform: translateX(20px); pointer-events: none; }
.mc-walk.is-consent .mc-auth__login { opacity: 0; transform: translateX(-20px); }
.mc-walk.is-consent .mc-auth__consent { opacity: 1; transform: none; }

.mc-chat2 { display: grid; gap: 12px; }
.mc-chat2__q { justify-self: end; max-width: 86%; padding: 11px 14px; border-radius: 16px 16px 4px 16px; background: #ece6dc; font: 500 14px/1.45 var(--hm-fm); color: var(--ink-ui); }
.mc-chat2__a { display: grid; gap: 6px; font-size: 13.5px; line-height: 1.55; color: var(--ink-ui); }
.mc-chat2__a ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.mc-chat2__in { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line-ui); font-size: 13px; color: #a29b90; }
.mc-toolpill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font: 700 11.5px/1 var(--hm-fb); padding: 6px 9px; border-radius: 999px; background: var(--hm-green-bg); color: var(--hm-green-ink); }
.mc-toolpill i { width: 7px; height: 7px; border-radius: 50%; background: var(--hm-green); }
.mc-walk[data-step="3"] .mc-chat2__a { animation: mcIn .5s ease .9s both; }
.mc-walk[data-step="3"] .mc-calls span { animation: mcPop .35s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(.3s + var(--i) * .25s); }

.mc-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 24px; height: 24px; pointer-events: none; opacity: 0; transition: transform .6s cubic-bezier(.45,.05,.25,1), opacity .25s; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.mc-cursor svg { width: 24px; height: 24px; display: block; }
.mc-cursor i { position: absolute; left: 1px; top: 0; width: 30px; height: 30px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(255,106,0,.35); transform: scale(0); opacity: 0; }
.mc-cursor.is-on { opacity: 1; }
.mc-cursor.is-click i { animation: mcClick .45s ease-out; }
@keyframes mcClick { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.mc .mc-screen__cap { margin: 10px 2px 0; font-size: 12px; color: #8a847a; }

.mc-other { margin-top: 36px; }
.mc-other h3 { margin: 0 0 14px; font: 700 20px/1.3 var(--hm-fb); color: var(--hm-ink); }
.mc-other__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.mc-oc { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line-ui); min-width: 0; }
.mc-oc b { font: 700 16px/1.2 var(--hm-fb); }
.mc-oc p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--hm-muted); }
.mc-oc code { font: 600 12.5px/1.4 ui-monospace, Consolas, monospace; }
.mc-cmd { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #1d1c1a; }
.mc-cmd code { flex: 1; min-width: 0; color: #f3e7d8; overflow-x: auto; white-space: nowrap; }
.mc-cmd .mc-copy { background: #2f2d2a; border-color: #45423d; color: #fff; }

/* ================= ASK, THEN ACT ================= */
.mc-prompts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mc-prompt { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 18px; background: var(--hm-soft); border: 1px solid var(--hm-line); border-top: 4px solid var(--c); }
.mc-prompt__k { justify-self: start; font: 800 11px/1 var(--hm-fb); letter-spacing: 1px; text-transform: uppercase; color: var(--c); }
.mc-prompt > b { font: 700 16.5px/1.35 var(--hm-fb); color: var(--hm-ink); }
.mc-prompt__t { display: flex; flex-wrap: wrap; gap: 5px; }
.mc-prompt__t code, .mc-group__t code { font: 600 11.5px/1 ui-monospace, Consolas, monospace; padding: 5px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--hm-line); color: #3c4657; }
.mc-prompt__t code.act, .mc-group__t code.act { background: var(--act-bg); border-color: #ffc08a; color: #b34700; }
.mc-prompt p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hm-muted); }
.mc-prompts.is-in .mc-prompt { animation: mcIn .45s ease both; animation-delay: calc(var(--i) * .07s); }
.mc-act { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; padding: 24px; border-radius: 24px; background: var(--hm-ink); color: #fff; }
.mc-act__tag { display: inline-block; font: 800 11px/1 var(--hm-fb); letter-spacing: 1.2px; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--act); color: #fff; }
.mc-act h3 { margin: 12px 0 8px; font: 800 24px/1.25 var(--hm-fb); text-wrap: balance; }
.mc-act p { margin: 0; font-size: 15px; line-height: 1.6; color: #b8c1d4; }
.mc-act__chat { display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: #faf8f4; color: var(--ink-ui); }
.mc-act__chat span { padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.mc-act__chat .q { justify-self: end; max-width: 86%; background: #ece6dc; border-radius: 14px 14px 4px 14px; }
.mc-act__chat .a { background: #fff; border: 1px solid var(--line-ui); }
.mc-act__chat .a.ok { border-color: #ffc08a; }
.mc-act__chat code { font: 700 11.5px/1 ui-monospace, Consolas, monospace; padding: 3px 6px; border-radius: 5px; background: var(--act-bg); color: #b34700; margin-right: 4px; }
.mc-act.is-in .mc-act__chat span { animation: mcIn .45s ease both; }
.mc-act.is-in .mc-act__chat span:nth-child(2) { animation-delay: .4s; } .mc-act.is-in .mc-act__chat span:nth-child(3) { animation-delay: .9s; } .mc-act.is-in .mc-act__chat span:nth-child(4) { animation-delay: 1.4s; }

/* ================= TOOLS BOARD ================= */
.mc-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mc-group { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--hm-line); }
.mc-group__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--c); }
.mc-group__h b { font: 700 14.5px/1.25 var(--hm-fb); color: var(--hm-ink); }
.mc-group__h em { font-style: normal; font: 800 12px/1 var(--hm-fb); padding: 4px 7px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.mc-group__t { display: flex; flex-wrap: wrap; gap: 5px; }
.mc-board.is-in .mc-group { animation: mcIn .45s ease both; animation-delay: calc(var(--i) * .06s); }

/* ================= SAFETY ================= */
.mc-safe__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.mc-safe__grid h2 { margin-top: 14px; }
.mc-bul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.mc-bul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--hm-ink2); }
.mc-bul b { color: var(--hm-ink); }
.mc-consent { margin: 0; justify-self: center; width: min(100%, 380px); display: grid; gap: 8px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #e3e6ec; box-shadow: var(--hm-shadow); }
.mc-consent > b { font: 800 19px/1.2 var(--hm-fb); margin-top: 8px; }
.mc-consent > small { font-size: 13px; color: var(--hm-muted); line-height: 1.5; margin-bottom: 4px; }
.mc-consent .mc-btn-ui { background: var(--hm-orange); }
.mc-consent .mc-btn-ui.ghost { background: #fff; }
.mc-consent figcaption { font-size: 12px; color: var(--hm-faint); text-align: center; margin-top: 4px; }

/* ================= smaller screens ================= */
@media (max-width: 1100px) { .mc-board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) {
  .mc-what__grid, .mc-walk, .mc-safe__grid, .mc-act { grid-template-columns: 1fr; gap: 26px; }
  .mc-other__row, .mc-prompts { grid-template-columns: 1fr 1fr; }
  .mc-steps { order: 2; }
}
@media (max-width: 760px) {
  .mc-other__row, .mc-prompts, .mc-board { grid-template-columns: 1fr; }
  .mc-set { grid-template-columns: 1fr; }
  .mc-set__nav { display: flex; gap: 2px; overflow: hidden; }
  .mc-set__nav span { flex: none; padding: 6px 8px; font-size: 12px; }
  .mc-win__body { min-height: 340px; }
  .mc-scr { padding: 14px; }
  .mc-step__t span { display: none; }
  .mc-step[aria-selected="true"] .mc-step__t span { display: block; }
  .mc-act { padding: 18px; }
  .mc-act h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .mc *, .mc *::before, .mc *::after { animation: none !important; transition: none !important; }
  .mc-cursor { display: none; }
}

/* fixes after first render */
.mc .mc-eyebrow { justify-self: start; }
.mc .mc-act h3 { color: #fff; }
.mc-other__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.mc-cmd { min-width: 0; }
.mc-cmd code { overflow-x: auto; }
@media (max-width: 1000px) { .mc-other__row, .mc-prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mc-other__row, .mc-prompts, .mc-board { grid-template-columns: minmax(0, 1fr); } }

/* ---------- walkthrough v2: five steps over real Claude screenshots ---------- */
.mc-walk[data-step="4"] .mc-scr--5 { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.mc-walk[data-step="3"] .mc-scr--4 { opacity: 1; visibility: visible; }
.mc-walk[data-step="1"] .mc-scr--1 { opacity: 0; visibility: hidden; }
.mc-walk[data-step="3"] .mc-scr--4 ~ .mc-scr--5 { opacity: 0; }
.mc-walk:not([data-step="3"]) .mc-scr--4 { opacity: 0; visibility: hidden; }
.mc-shot { padding: 0; }
.mc-shot img, .mc-shot--perm img { display: block; width: 100%; height: auto; }
.mc-win__body { min-height: 0; }
.mc-scr--4, .mc-scr--5 { padding: 18px; }
.mc-scr--4 { display: grid; place-items: center; }
.mc-hot { position: absolute; width: 2px; height: 2px; transform: translate(-50%, -50%); }
.mc-hot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid var(--hm-orange); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.mc-hot--field::after { width: 120px; height: 40px; margin: -20px 0 0 -60px; border-radius: 10px; }
.mc-hot--dot::after { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.mc-hot.is-hot::after { opacity: 1; transform: none; box-shadow: 0 0 0 6px rgba(255,106,0,.18); }
/* step 5: the real permissions screen, then the first chat fades in over it */
.mc-scr--5 { padding: 0; }
.mc-scr--5 .mc-chat2 { position: absolute; inset: 0; padding: 18px; background: #faf8f4; opacity: 0; transition: opacity .45s ease; align-content: start; }
.mc-walk.is-chat .mc-scr--5 .mc-chat2 { opacity: 1; }
.mc-walk[data-step="4"].is-chat .mc-chat2__a { animation: mcIn .5s ease .9s both; }
.mc-walk[data-step="4"].is-chat .mc-calls span { animation: mcPop .35s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(.3s + var(--i) * .25s); }
@media (max-width: 760px) { .mc-hot--field::after { width: 80px; height: 30px; margin: -15px 0 0 -40px; } .mc-hot::after { width: 34px; height: 34px; margin: -17px 0 0 -17px; } }

/* ---------- app tabs: Claude app | Claude Code ---------- */
.mc-apptabs { display: inline-flex; gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line-ui); flex-wrap: wrap; }
.mc-apptab { display: grid; grid-template-columns: 28px auto; column-gap: 10px; align-items: center; text-align: left; padding: 9px 14px 9px 10px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; font: 700 15px/1.2 var(--hm-fb); color: var(--hm-muted); }
.mc-apptab small { grid-column: 2; font: 500 12px/1.2 var(--hm-f); color: var(--hm-faint); }
.mc-apptab__ic { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 11px/1 ui-monospace, Consolas, monospace; }
.mc-apptab__ic.is-app { background: var(--claude); }
.mc-apptab__ic.is-code { background: #1e1e1e; color: #4ec9b0; }
.mc-apptab[aria-selected="true"] { background: var(--hm-ink); color: #fff; }
.mc-apptab[aria-selected="true"] small { color: #aab3c5; }
.mc-apptab:focus-visible { outline: 2px solid var(--hm-orange); outline-offset: 2px; }
.mc-panel[hidden] { display: none; }

/* ---------- VS Code window ---------- */
.mc-vs { border-radius: 14px; overflow: hidden; background: #1e1e1e; border: 1px solid #2d2d2d; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); color: #d4d4d4; font: 12.5px/1.55 ui-monospace, "Cascadia Code", Consolas, monospace; }
.mc-vs__title { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #323233; font: 500 12px/1 var(--hm-f); color: #ccc; }
.mc-vs__title i { width: 10px; height: 10px; border-radius: 50%; background: #5a5a5a; }
.mc-vs__title i:nth-child(1) { background: #ff5f57; } .mc-vs__title i:nth-child(2) { background: #febc2e; } .mc-vs__title i:nth-child(3) { background: #28c840; }
.mc-vs__title span { flex: 1; text-align: center; margin-right: 40px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mc-vs__body { display: grid; grid-template-columns: 38px 150px minmax(0, 1fr); min-height: 420px; }
.mc-vs__act { background: #333333; display: grid; align-content: start; justify-items: center; gap: 16px; padding-top: 12px; }
.mc-vs__act i { width: 18px; height: 18px; border-radius: 4px; border: 2px solid #858585; }
.mc-vs__act i.on { border-color: #fff; }
.mc-vs__tree { background: #252526; padding: 8px 0; display: grid; align-content: start; gap: 1px; font-family: var(--hm-f); font-size: 12px; color: #ccc; }
.mc-vs__tree small { padding: 2px 12px 8px; font: 700 10px/1 var(--hm-fb); letter-spacing: 1px; color: #999; }
.mc-vs__tree span { padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-vs__tree .i1 { padding-left: 22px; } .mc-vs__tree .i2 { padding-left: 34px; }
.mc-vs__tree .on { background: #37373d; color: #fff; }
.mc-vs__main { display: grid; grid-template-rows: auto auto 1fr; min-width: 0; }
.mc-vs__tabs { display: flex; background: #252526; }
.mc-vs__tabs span { padding: 8px 14px; font: 500 12px/1 var(--hm-f); color: #969696; border-right: 1px solid #1e1e1e; }
.mc-vs__tabs .on { background: #1e1e1e; color: #fff; border-top: 2px solid #ff7a00; }
.mc-vs__code { margin: 0; padding: 10px 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); overflow: hidden; font: inherit; }
.mc-vs__code .n { text-align: right; padding-right: 12px; color: #858585; }
.mc-vs__code .t { white-space: pre; overflow: hidden; text-overflow: ellipsis; color: #9cdcfe; }
.mc-vs__code .c { color: #6a9955; }
.mc-vs__del, .mc-vs__add { transition: background .4s, opacity .4s; }
.mc-walk--code .mc-vs__add { display: none; }
.mc-walk--code[data-step="3"] .mc-vs__del { background: rgba(244,71,71,.22); text-decoration: line-through; }
.mc-walk--code[data-step="3"] .mc-vs__add { display: block; background: rgba(78,201,176,.2); animation: mcIn .5s ease 1.4s both; }
.mc-walk--code[data-step="3"] .mc-vs__code .n:nth-of-type(5) { animation: mcIn .5s ease 1.4s both; }
.mc-vs__code .n:nth-of-type(5) { display: none; }
.mc-walk--code[data-step="3"] .mc-vs__code .n:nth-of-type(5) { display: block; }
.mc-term { border-top: 1px solid #3c3c3c; display: grid; grid-template-rows: auto 1fr; min-height: 230px; }
.mc-term__tabs { display: flex; gap: 18px; padding: 6px 14px; font: 600 11px/1 var(--hm-fs); letter-spacing: .5px; color: #969696; }
.mc-term__tabs .on { color: #fff; border-bottom: 1px solid #fff; padding-bottom: 4px; }
.mc-term__body { padding: 6px 14px 12px; display: grid; align-content: start; gap: 3px; overflow: hidden; }
.mc-tl { white-space: pre-wrap; overflow-wrap: anywhere; display: none; }
.mc-tl .ps { color: #4ec9b0; }
.mc-tl.ok { color: #89d185; }
.mc-tl.cc { color: #e8e8e8; }
.mc-tl .pr { color: #ff9a4a; font-weight: 700; }
.mc-tl.box { padding: 8px 10px; margin: 2px 0; border: 1px solid #555; border-radius: 6px; color: #ccc; }
.mc-tl .sel { color: #fff; } .mc-tl .warn { color: #e5c07b; font-style: normal; } .mc-tl .dim { color: #888; }
.mc-tl.tool { color: #e8e8e8; } .mc-tl .dot { color: #ff9a4a; } .mc-tl .dot.g { color: #89d185; }
.mc-tl.res { color: #a0a0a0; }
/* show every line up to the current step; the current step's lines animate in */
.mc-walk--code[data-step="0"] .s0,
.mc-walk--code[data-step="1"] .s1,
.mc-walk--code[data-step="2"] .s2,
.mc-walk--code[data-step="3"] .s2, .mc-walk--code[data-step="3"] .s3 { display: block; }
.mc-walk--code[data-step="1"] .s0, .mc-walk--code[data-step="2"] .s0, .mc-walk--code[data-step="2"] .s1, .mc-walk--code[data-step="3"] .s1 { display: none; }
.mc-js .mc-walk--code .mc-tl.d1 { animation: mcIn .35s ease both; animation-delay: var(--d1, 1.6s); }
.mc-js .mc-walk--code .mc-tl.d2 { animation: mcIn .35s ease both; animation-delay: 2.2s; }
.mc-js .mc-walk--code .mc-tl.d3 { animation: mcIn .35s ease both; animation-delay: 2.9s; }
.mc-js .mc-walk--code .mc-tl.d4 { animation: mcIn .35s ease both; animation-delay: 3.4s; }
.mc-walk--code[data-step="1"] .mc-tl.d1 { --d1: .5s; }
.mc-walk--code[data-step="2"] .mc-tl.d1 { --d1: .8s; }
.mc-walk--code[data-step="3"] .mc-tl.d1 { --d1: .6s; }
.mc-walk--code[data-step="3"] .s2 { animation: none !important; }
.mc-walk--code[data-step="3"] .s3.d2 { animation-delay: 1.6s; }
.mc-ttype.mc-typing::after { background: #fff; }
.mc .mc-screen__cap--code { margin-top: 10px; }
@media (max-width: 760px) {
  .mc-vs__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mc-vs__act, .mc-vs__tree { display: none; }
  .mc-vs { font-size: 11px; }
  .mc-term { min-height: 260px; }
  .mc-apptab { padding: 8px 10px; font-size: 14px; }
}
