/* MCP (site/render.mjs mcpPage; Figma "Create" 6192:4948, its pane 6192:4950): the Subscription page's shell (site.css
   .sub-main) — the eyebrow and the big title, one pill per app, and the card that says how to add ACE Music to the one
   picked. Behind it a sonar on a dot grid (public/mcp-page.js), dimmed toward the edges */
.mcp-main { align-self: stretch; justify-content: flex-start; gap: 30px; min-height: calc(100dvh - 20px); padding: 100px 40px; }

.mcp-sonar { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none;
  -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(75% 80% at 50% 50%, #000 40%, transparent 100%); }

.mcp-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mcp-eyebrow { margin: 0; display: flex; gap: 10px; align-items: center; font-size: 24px; line-height: 30px; }
.mcp-eyebrow b { font-weight: 700; }
.mcp-eyebrow span { font-weight: 400; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(90deg, #88ff1f, #fff); }
.mcp-head h1 { margin: 0; font-size: 80px; line-height: 100px; font-weight: 700; }

/* Back (as Open Source's .os-back): on a phone only — beside the side bar it is the way to the other pages */
.mcp-back { position: absolute; left: 20px; top: 20px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100px; height: 34px;
  border-radius: 20px; background: #fff; color: #000; font-size: 12px; text-decoration: none; transition: background-color .15s; }
.mcp-back img { rotate: 90deg; filter: invert(1); }
@media (hover: hover) { .mcp-back:hover { background: var(--hover-light); } }
.mcp-back:focus-visible { outline: 2px solid var(--main-light); outline-offset: 3px; }
@media (min-width: 701px) and (min-height: 480px), (min-width: 701px) and (pointer: fine) { .side-nav ~ .mcp-main .mcp-back { display: none; } }
@media (max-width: 700px), (max-height: 479px) and (pointer: coarse) { .mcp-main { padding-top: 74px !important; } }

/* the pills: as a filter chip — the picked one white with black words */
.mcp-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 100%; }
.mcp-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 20px; border: 1px solid var(--bg-bright); border-radius: 999px;
  background: var(--bg); color: #fff; font: 300 12px/15px var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .2s cubic-bezier(.2, .8, .2, 1); }
.mcp-pill img { display: block; flex: none; }
.mcp-pill img[src$="chatgpt.svg"], .mcp-pill img[src$="cursor.svg"], .mcp-pill img[src$="grok.svg"] { filter: invert(1); } /* (drawn black: white on the dark pill) */
.mcp-pill[aria-selected=true] { background: #fff; border-color: #fff; color: #000; }
.mcp-pill[aria-selected=true] img[src$="chatgpt.svg"], .mcp-pill[aria-selected=true] img[src$="cursor.svg"], .mcp-pill[aria-selected=true] img[src$="grok.svg"] { filter: none; }
@media (hover: hover) {
  .mcp-pill:not([aria-selected=true]):hover { background: var(--bg-lite); transform: translateY(-2px); }
  .mcp-pill[aria-selected=true]:hover { background: var(--hover-light); }
}
.mcp-pill:focus-visible { outline: 2px solid var(--main-light); outline-offset: 3px; }

/* the card (Figma 6193:6151, 6275:4927): which app, then 3 steps one under another — step 2 with what to paste under it, in a
   black box: the name and the address to copy, or the prompt and a Copy prompt button */
.mcp-card { width: min(800px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 30px; padding: 30px; border: 1px solid var(--bg-bright); border-radius: 30px;
  background: var(--bg-lite); animation: mcp-swap .35s cubic-bezier(.2, .8, .2, 1) backwards; }
.mcp-card[hidden] { display: none; }
@keyframes mcp-swap { from { opacity: 0; transform: translateY(8px); } }
.mcp-to { margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 400; }
.mcp-to > span:first-child { font-size: 12px; line-height: 15px; }
.mcp-app { display: flex; align-items: center; gap: 10px; font-size: 32px; line-height: 40px; }
.mcp-app img { display: block; flex: none; width: 32px; height: 32px; object-fit: contain; }
.mcp-app img[src$="chatgpt.svg"], .mcp-app img[src$="cursor.svg"], .mcp-app img[src$="grok.svg"] { filter: invert(1); }
.mcp-step { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 100%; }
.mcp-step h3 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 700; }
.mcp-step p { margin: 0; font-size: 12px; line-height: 1.5; font-weight: 300; }
.mcp-step b { font-weight: 700; }

.mcp-paste { display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: 100%; padding: 20px; border-radius: 20px; background: var(--bg); }
.mcp-label { font-size: 12px; line-height: 15px; opacity: .5; }
.mcp-value { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid var(--bg-bright); border-radius: 20px; background: var(--bg); }
.mcp-value code { min-width: 0; overflow-wrap: anywhere; font: 400 12px/18px var(--font); }
.mcp-copy { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin: -4px; padding: 0; border: 0; border-radius: 8px; background: none; color: #fff; opacity: .5; cursor: pointer;
  transition: opacity .18s ease, background-color .18s ease; }
.mcp-copy svg { display: block; }
@media (hover: hover) { .mcp-copy:hover { opacity: 1; background: var(--bg-bright); } }
.mcp-copy:focus-visible { opacity: 1; outline: 2px solid var(--main-light); outline-offset: 2px; }
.mcp-copy.done { opacity: 1; color: var(--check); }
/* a prompt: its first lines (the whole of it copied by the button) */
.mcp-prompt { height: 68px; padding: 10px; border: 1px solid var(--bg-bright); border-radius: 10px; overflow: hidden; }
.mcp-prompt code { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font: 400 12px/15px var(--font); opacity: .5; }
.mcp-copy-prompt { display: flex; align-items: center; justify-content: center; padding: 10px 20px; border: 0; border-radius: 20px; background: #fff; color: #000;
  font: 300 12px/15px var(--font); cursor: pointer; transition: background-color .18s ease; }
@media (hover: hover) { .mcp-copy-prompt:hover { background: var(--hover-light); } }
.mcp-copy-prompt:focus-visible { outline: 2px solid var(--main-light); outline-offset: 3px; }

.mcp-toast { position: fixed; left: 50%; bottom: 30px; z-index: 40; margin: 0; padding: 10px 16px; border-radius: 16px; background: rgba(36, 36, 38, .86); backdrop-filter: blur(18px);
  font-size: 12px; line-height: 15px; opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .2s ease, transform .2s cubic-bezier(.2, .8, .2, 1); }
.mcp-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* in one after another (as Onboarding's .obx-in) */
.mcp-in { animation: mcp-rise .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes mcp-rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.mcp-in:has(.mcp-card) { width: 100%; display: flex; justify-content: center; }

@media (prefers-reduced-motion: reduce) { .mcp-in, .mcp-card { animation: none; } .mcp-pill, .mcp-toast { transition: none; } }

@media (max-width: 900px) {
  .mcp-main { padding: 60px 20px; }
  .mcp-head h1 { font-size: 48px; line-height: 60px; }
  .mcp-eyebrow { font-size: 20px; line-height: 25px; }
}
@media (max-width: 520px) {
  .mcp-main { padding: 40px 16px; min-height: calc(100dvh - 92px); }
  .mcp-head h1 { font-size: 32px; line-height: 40px; }
  .mcp-pills { gap: 8px; }
  .mcp-pill { height: 34px; padding: 0 14px; font-size: 12px; line-height: 15px; gap: 8px; }
  .mcp-card { padding: 20px; border-radius: 20px; }
  .mcp-app { font-size: 24px; line-height: 30px; }
  .mcp-step h3 { font-size: 20px; line-height: 25px; }
  .mcp-paste { width: 100%; padding: 14px; }
}
