/* The MCP page (mcp.html), on top of style.css's colors and type. Laid out like Alpaca's MCP page: a hero with a demo
   answer, four things it does, a band to the website, the apps it works in (each opens its setup), then questions. */
/* Glass, in one place: frosted white over the blooms behind it. --glass is the pane, --edge its thin bright rim and
   lit top, --lift its shadow. Where a browser can't blur, panes turn nearly opaque so the text stays readable. */
body.mcp { --glass: rgba(255, 255, 255, 0.56); --glass-hi: rgba(255, 255, 255, 0.72); --blur: blur(24px) saturate(170%);
  --edge: inset 0 0 0 1px rgba(255, 255, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --lift: 0 1px 2px rgba(10, 35, 102, 0.06), 0 24px 60px -24px rgba(10, 35, 102, 0.28);
  background: var(--bg); color: var(--fg); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { body.mcp { --glass: rgba(255, 255, 255, 0.93); --glass-hi: #fff; } }
.m-glass, .m-demo, .m-feats > div, .m-app, .m-links, .m-chip, .m-faq { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }

/* The blooms: the site's blues, blurred into soft light, fixed so the glass always has color to frost. A fine grain over
   them keeps the gradients from banding. */
.m-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, #F7FAFF 0%, #E9EFF8 55%, #DCE6F3 100%); }
.m-bg span { position: absolute; border-radius: 50%; filter: blur(80px); }
.m-bg .b1 { width: 46vw; height: 46vw; left: 52%; top: -14vw; background: var(--bloom-1); opacity: 0.7; }
.m-bg .b2 { width: 34vw; height: 34vw; left: 74%; top: 10vw; background: var(--bloom-3); opacity: 0.45; }
.m-bg .b3 { width: 40vw; height: 40vw; left: -12vw; top: 30vh; background: #B9D2FF; opacity: 0.8; }
.m-bg .b4 { width: 30vw; height: 30vw; left: 30%; top: 62vh; background: #C9D7FF; opacity: 0.7; }
.m-bg .b5 { width: 26vw; height: 26vw; right: -6vw; bottom: -6vw; background: var(--bloom-2); opacity: 0.3; }
.m-bg::after { content: ''; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mcp main { max-width: calc(1120px + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g) 64px; }
.mcp h2 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.mcp p a, .mcp .m-faq a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.m-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(1120px + 2 * var(--g)); margin: 0 auto; padding: 28px var(--g); }
.m-top .mark { font-size: 30px; }
.m-links { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--glass); box-shadow: var(--edge), var(--lift); }
.m-links a { white-space: nowrap; padding: 8px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 500; }
.m-links a:hover { background: rgba(26, 95, 219, 0.08); color: var(--accent); }

/* hero: the pitch at the left, the example answer at the right */
.m-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px 0 72px; }
.m-hero h1, .m-hero .m-h1 { color: var(--ink); font-size: clamp(42px, 5.6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.m-lede { margin-top: 20px; max-width: 34em; font-size: 19px; line-height: 1.55; }
.m-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.m-link { color: var(--accent); font-weight: 600; font-size: 17px; }
.m-link::after { content: ' →'; }
.m-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.m-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.m-demo { position: relative; margin: 0; padding: 26px; border-radius: 26px; background: var(--glass); box-shadow: var(--edge), 0 2px 4px rgba(10, 35, 102, 0.05), 0 40px 80px -30px rgba(10, 35, 102, 0.38); }
/* two small glass chips floating off the demo's corners */
.m-chip { position: absolute; padding: 8px 14px; border-radius: 999px; background: var(--glass-hi); box-shadow: var(--edge), var(--lift); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.m-chip.c1 { top: -18px; left: -22px; }
.m-chip.c2 { bottom: -18px; right: 28px; color: var(--accent); }
.m-ask { margin-left: auto; max-width: 86%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, var(--bloom-2), var(--bloom-4)); box-shadow: 0 10px 24px -12px rgba(11, 63, 191, 0.6); color: #fff; font-size: 15px; line-height: 1.5; }
.m-answer { margin-top: 16px; max-width: 92%; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 8px 20px -12px rgba(10, 35, 102, 0.25); font-size: 15px; line-height: 1.55; color: var(--fg); }
.m-answer b { color: var(--ink); }
.m-tool { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 2px 10px 2px 8px; border-radius: 999px; background: rgba(26, 95, 219, 0.08); color: var(--accent); font-size: 12px; font-weight: 600; }
.m-tool svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.m-demo figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; }

/* the agent pitch follows the waitlist hero */
.m-beta-hero + .m-hero { padding-top: 88px; }

/* four things it does */
.m-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.m-feats > div { padding: 26px; border-radius: 20px; background: var(--glass); box-shadow: var(--edge), var(--lift); }
.m-feats svg { box-sizing: content-box; width: 22px; height: 22px; padding: 9px; border-radius: 12px; background: linear-gradient(135deg, var(--bloom-2), var(--bloom-4)); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 8px 18px -8px rgba(11, 63, 191, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.m-feats h2 { margin-top: 14px; font-size: 18px; line-height: 1.3; }
.m-feats p { margin-top: 8px; font-size: 15px; line-height: 1.55; }

/* the way to a full backtest instead */
.m-band { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 48px; padding: 32px 36px; border-radius: 24px; color: #fff;
  background: linear-gradient(90deg, var(--bloom-4), var(--bloom-5)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 30px 60px -30px rgba(7, 42, 140, 0.6); }
/* the site's wash, on the band */
.m-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 85% 0%, rgba(125, 180, 255, 0.55), transparent 60%); }
.m-band h2 { color: #fff; font-size: 22px; }
.m-band p { margin-top: 6px; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.m-band .m-link { color: #fff; }

/* the apps: each card opens to its setup */
.m-connect { margin-top: 88px; }
.m-connect > h2, .m-faq > h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.m-sub { margin-top: 10px; color: var(--muted); font-size: 17px; }
/* the agent's setup: two numbered messages to send, in one large glass pane */
.m-agent { margin-top: 28px; padding: 28px 32px 32px; border-radius: 24px; background: var(--glass); box-shadow: var(--edge), var(--lift); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.m-agent-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.m-agent-head b { color: var(--ink); font-size: 22px; font-weight: 600; }
.m-agent-head span { color: var(--muted); font-size: 14px; }
.m-steps { list-style: none; counter-reset: step; padding: 0; margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.m-steps li { counter-increment: step; display: grid; align-content: start; gap: 10px; }
.m-steps li > p { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.5; }
.m-steps li > p::before { content: counter(step); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--bloom-2), var(--bloom-4)); color: #fff; font-size: 13px; font-weight: 700; }
.m-steps pre { margin: 0; padding: 14px 16px; overflow-x: auto; border-radius: 14px; background: rgba(10, 35, 102, 0.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.m-steps code { color: #E6EDF8; white-space: pre-wrap; } /* the messages are sentences: wrap them */
.m-also { margin-top: 48px; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.m-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; align-items: start; }
.m-any { grid-column: 1 / -1; } /* the catch-all takes the last row */
.m-app { border-radius: 20px; background: var(--glass); box-shadow: var(--edge), var(--lift); }
.m-app summary { display: grid; gap: 4px; padding: 22px 24px; cursor: pointer; list-style: none; border-radius: 16px; }
.m-app summary::-webkit-details-marker { display: none; }
.m-app > summary::after, .m-app[open] > summary::after { content: none; } /* the button says it; not the FAQ's + */
.m-app summary b { color: var(--ink); font-size: 18px; font-weight: 600; }
.m-app summary span { color: var(--muted); font-size: 14px; }
.m-app summary i { justify-self: start; margin-top: 12px; padding: 8px 14px; border-radius: 10px; background: linear-gradient(135deg, var(--bloom-2), var(--bloom-4)); box-shadow: 0 6px 14px -8px rgba(11, 63, 191, 0.7); color: #fff; font-style: normal; font-size: 14px; font-weight: 600; }
.m-app[open] summary i { background: rgba(255, 255, 255, 0.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.m-app summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-app > p { padding: 0 24px; font-size: 14px; }
.m-app pre { margin: 10px 16px 16px; padding: 14px 16px; overflow-x: auto; border-radius: 14px; background: rgba(10, 35, 102, 0.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.mcp code { font: 400 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.m-app code { color: #E6EDF8; }
.m-faq p code { padding: 1px 6px; border-radius: 6px; background: var(--panel); color: var(--ink); }

/* the paid beta's waitlist: a deep blue band in the home hero's wash (blue, violet and cyan), the pitch at the left and
   the form at the right. */
.m-beta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center;
  margin-top: 88px; padding: 56px; border-radius: 32px; color: #fff;
  background: linear-gradient(135deg, var(--bloom-4) 0%, var(--bloom-5) 60%, #051E66 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 40px 80px -40px rgba(7, 42, 140, 0.7); }
.m-beta-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.m-beta-bg span { position: absolute; border-radius: 50%; filter: blur(60px); }
.m-beta-bg .o1 { width: 60%; height: 90%; left: -10%; top: -30%; background: var(--bloom-2); opacity: 0.55; }
.m-beta-bg .o2 { width: 50%; height: 80%; right: -10%; bottom: -40%; background: var(--bloom-1); opacity: 0.45; }
.m-beta-bg .o3 { width: 34%; height: 55%; left: 48%; top: 0%; background: #8C78FF; opacity: 0.55; } /* violet */
.m-beta-bg .o1 { background: #50D2FF; opacity: 0.35; } /* cyan */
.m-beta h2, .m-beta h1 { color: #fff; font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
/* at the top of the page, the band is the hero: taller, with the page's big headline */
.m-beta-hero { margin-top: 8px; min-height: min(78vh, 760px); padding: 64px; }
.m-beta-hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.m-beta-copy .m-count { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 12px; border-radius: 999px; max-width: none;
  color: #1B2433; font-size: 15px; font-weight: 500; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(60, 70, 90, 0.35), 0 2px 4px rgba(3, 15, 60, 0.25), 0 14px 28px -14px rgba(3, 15, 60, 0.8); }
.m-count[hidden] { display: none; }
.m-count b { font-weight: 700; }
/* a small live dot by the count, pulsing unless motion is reduced */
.m-live { width: 9px; height: 9px; border-radius: 50%; background: #1FB45A; box-shadow: 0 0 0 0 rgba(91, 227, 143, 0.6); animation: m-live 2s ease-out infinite; }
@keyframes m-live { 70% { box-shadow: 0 0 0 9px rgba(91, 227, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 143, 0); } }
@media (prefers-reduced-motion: reduce) { .m-live { animation: none; } }
.m-beta-copy p { margin-top: 14px; max-width: 30em; color: rgba(255, 255, 255, 0.88); font-size: 17px; line-height: 1.55; }
/* brushed silver, in one place: the form card, the founding pill and the thank-you page's pass */
.m-form, .m-pass, .m-beta-copy .m-count, .m-confirm .btn {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0 1px, rgba(0, 0, 0, 0.035) 1px 2px, transparent 2px 3px),
    linear-gradient(160deg, #F4F6F9 0%, #C9D0D9 28%, #EEF1F5 52%, #AEB7C3 78%, #DCE1E8 100%); }
/* the form as a silver metal card: brushed steel with a sheen across it, a bevelled edge, a chip and our mark in the
   corner, fields engraved into the metal and a deep navy button */
.m-form, .m-pass { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 8px; padding: 26px 28px 28px; border-radius: 26px; color: #1B2433;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(60, 70, 90, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(3, 15, 60, 0.25), 0 40px 70px -30px rgba(3, 15, 60, 0.85); }
/* a faint grain over the brushing, so the metal doesn't read as a flat gradient */
.m-form::before, .m-pass::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.25; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9 0.06' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.m-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.m-card-top img { height: 18px; width: auto; opacity: 0.85; }
.m-form label { margin-top: 8px; color: #1B2433; font-size: 14px; font-weight: 600; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); }
.m-form label span { color: #3D4757; font-weight: 400; }
/* fields pressed into the metal */
.m-form input, .m-form select, .m-pass input { height: 46px; padding: 0 14px; border: 0; border-radius: 12px; color: #121A28; font: 400 16px var(--sans);
  background: linear-gradient(180deg, rgba(150, 160, 175, 0.35), rgba(255, 255, 255, 0.55));
  box-shadow: inset 0 2px 3px rgba(40, 50, 70, 0.28), inset 0 0 0 1px rgba(90, 100, 120, 0.25), 0 1px 0 rgba(255, 255, 255, 0.8); }
.m-form select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%228%22 viewBox=%220 0 12 8%22%3E%3Cpath d=%22M1 1.5l5 5 5-5%22 fill=%22none%22 stroke=%22%231B2433%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px, linear-gradient(180deg, rgba(150, 160, 175, 0.35), rgba(255, 255, 255, 0.55)); }
.m-form select option { color: var(--fg); }
.m-form input:focus-visible, .m-form select:focus-visible, .m-pass input:focus-visible { outline: 2px solid var(--bloom-4); outline-offset: 2px; }
.m-form .btn, .m-pass .btn { color: #fff; font-weight: 600; background: linear-gradient(180deg, #1A3D9C, var(--bloom-5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 22px -10px rgba(3, 15, 60, 0.7); }
.m-form .btn:hover, .m-pass .btn:hover { background: linear-gradient(180deg, #2149B5, #0A2E96); }
.m-form .btn:focus-visible, .m-pass .btn:focus-visible { outline: 2px solid var(--bloom-4); outline-offset: 3px; }
.m-form .btn { margin-top: 16px; justify-self: start; }
.m-form-note { color: #3D4757; font-size: 13px; }

/* the thank-you page (mcp-joined.html): one scene in the fluted glass, a silver coin with a check and its reflection,
   the line under it, then the person's place and invite link on a silver pass */
.m-done { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; gap: 0; margin-top: 8px; min-height: min(80vh, 780px);
  padding: 72px 56px; text-align: center; --coin: 168px; }
.m-done h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.m-done-lede { margin-top: 14px; color: rgba(255, 255, 255, 0.88); font-size: 18px; }
.m-coin-stage { position: relative; width: var(--coin); height: calc(var(--coin) * 1.42); animation: m-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
/* light falling on the coin from behind */
.m-coin-stage::before { content: ''; position: absolute; left: 50%; top: calc(var(--coin) / 2); width: calc(var(--coin) * 2.3); height: calc(var(--coin) * 2.3);
  transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(175, 208, 255, 0.5), rgba(175, 208, 255, 0) 62%); }
.m-coin { position: absolute; left: 0; top: 0; width: var(--coin); height: var(--coin); border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 34%),
    conic-gradient(from 210deg, #F4F6F9, #A9B2BF, #E9EDF2, #949EAD, #F1F3F6, #B3BBC6, #F4F6F9);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.4), inset 0 0 0 8px rgba(70, 80, 100, 0.28), inset 0 -12px 20px rgba(40, 50, 70, 0.38),
    inset 0 8px 14px rgba(255, 255, 255, 0.65), 0 28px 44px -18px rgba(2, 12, 50, 0.9); }
/* the check, stamped into the face: a lit lower edge and a shaded upper one */
.m-coin::before { content: ''; position: absolute; left: 36%; top: 22%; width: 22%; height: 42%; border: solid #4A5568; border-width: 0 calc(var(--coin) * 0.085) calc(var(--coin) * 0.085) 0;
  border-radius: 2px; transform: rotate(42deg); filter: drop-shadow(0 1.5px 0 rgba(255, 255, 255, 0.85)) drop-shadow(0 -1px 0 rgba(20, 28, 45, 0.45)); }
/* its reflection on the glass, fading out */
.m-coin-mirror { top: calc(var(--coin) * 1.05); transform: scaleY(-1); opacity: 0.24; box-shadow: none;
  -webkit-mask-image: linear-gradient(to top, #000 0, transparent 34%); mask-image: linear-gradient(to top, #000 0, transparent 34%); }
.m-coin-mirror::before, .m-coin-mirror::after { display: none; } /* the mark would show only as a notch at the reflection's edge */
/* the check-inbox and confirm pages: an envelope stamped into the coin instead of the check */
.m-coin-mail::before { left: 22%; top: 22%; width: 56%; height: 56%; border: 0; border-radius: 0; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%234A5568' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='11' width='36' height='26' rx='3.5'/%3E%3Cpath d='M8 14l16 12.5L40 14'/%3E%3C/svg%3E") center / contain no-repeat; }
.m-done-note { margin-top: 10px; color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.m-done-note .m-done-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.m-confirm { margin-top: 28px; }
.m-confirm[hidden] { display: none; }
.m-confirm .btn { height: 54px; padding: 0 30px; color: #0E1B3D; font-weight: 600; font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(60, 70, 90, 0.35), 0 2px 4px rgba(3, 15, 60, 0.25), 0 18px 34px -16px rgba(3, 15, 60, 0.85); }
.m-confirm .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.m-confirm .btn:disabled, .m-form .btn:disabled { opacity: 0.7; cursor: progress; }
@keyframes m-rise { from { opacity: 0; transform: translateY(18px) scale(0.94); } }
@media (prefers-reduced-motion: reduce) { .m-coin-stage { animation: none; } }
.m-pass { gap: 10px; width: min(100%, 560px); margin-top: 36px; padding: 24px 26px; border-radius: 22px; text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(60, 70, 90, 0.35), 0 2px 4px rgba(3, 15, 60, 0.25), 0 40px 70px -30px rgba(3, 15, 60, 0.85); }
.m-pass[hidden], .m-pass [hidden] { display: none; }
.m-pass p { font-size: 15px; line-height: 1.5; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
.m-pass .m-pass-place { color: #0E1B3D; font-size: 22px; font-weight: 600; }
.m-pass .m-pass-founding { color: #0E5A31; font-weight: 600; }
.m-pass-link { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.m-pass-link input { flex: 1 1 240px; min-width: 0; font-size: 15px; }
.m-pass .btn.ghost { color: #0E1B3D; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(60, 70, 90, 0.3); }
.m-pass .m-pass-say:empty { display: none; }
.m-pass .m-pass-say, .m-pass .m-pass-tip { color: #3D4757; font-size: 14px; }
/* only a bot fills this in: off screen, out of the tab order, hidden from screen readers */
.m-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* a Copy button on each setup block (mcp-copy.js wraps the block so the button stays put while the code scrolls) */
.m-code { position: relative; }
.m-app .m-code { margin: 10px 16px 16px; } .m-app .m-code pre { margin: 0; }
.m-code pre { padding-right: 92px; }
.m-copybtn { position: absolute; top: 10px; right: 10px; height: 30px; padding: 0 12px; border: 0; border-radius: 9px; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; font: 600 13px var(--sans); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.m-copybtn:hover { background: rgba(255, 255, 255, 0.24); }
.m-copybtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.m-copybtn.done { background: #1F9D5B; box-shadow: none; }

/* questions */
.m-faq { margin: 88px auto 0; max-width: none; padding: 32px 36px 20px; border-radius: 24px; background: var(--glass); box-shadow: var(--edge), var(--lift); }
.m-faq > h2 { margin-bottom: 16px; }
.m-faq details { border-top: 1px solid var(--line); }
.m-faq details:first-of-type { border-top: 0; }
.m-faq summary { gap: 16px; padding: 16px 0; color: var(--ink); font-size: 18px; font-weight: 600; } /* style.css's FAQ rows, with its blue + and − */
.m-faq summary::after { flex: none; width: 32px; height: 32px; content: ''; /* + and − drawn as bars, so they sit dead centre */
  background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 12px no-repeat, var(--ink); border-radius: 50%; }
.m-faq details[open] > summary::after { content: ''; background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--ink); }
.m-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.m-faq details p { padding-bottom: 18px; font-size: 16px; line-height: 1.6; }

.m-fine { margin-top: 48px; color: var(--muted); font-size: 13px; }
.m-foot { position: relative; display: flex; flex-wrap: wrap; gap: 8px 24px; max-width: calc(1120px + 2 * var(--g)); margin: 0 auto; padding: 24px var(--g) 48px; border-top: 1px solid var(--line); }
.m-foot a { color: var(--muted); font-size: 14px; }
.m-foot a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .m-beta { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; } .m-beta-hero { min-height: 0; }
  .m-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 16px; }
  .m-feats, .m-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* minmax(0): a long setup line scrolls in its box, not the page */
}
@media (max-width: 600px) {
  .m-faq { padding: 24px 20px 12px; }
  .m-beta { padding: 28px 18px; border-radius: 24px; } .m-form { padding: 20px; } .m-beta-hero { margin-top: 0; }
  .m-done { padding: 48px 18px; --coin: 128px; } .m-pass { padding: 20px; } .m-beta-copy .m-count { font-size: 14px; }
  .m-chip.c1 { left: 12px; } .m-chip.c2 { right: 12px; }
  .m-links a:not(:last-child) { display: none; }
  .m-feats, .m-apps { grid-template-columns: minmax(0, 1fr); }
  .m-steps { grid-template-columns: minmax(0, 1fr); } .m-agent { padding: 22px 20px 24px; }
  .m-band { padding: 24px; }
}
