.mp-demo-page { position: relative; overflow: hidden; padding: 64px 24px 96px; background: radial-gradient(ellipse at 0 20%, rgb(79 70 229 / .13), transparent 50%), radial-gradient(ellipse at 100% 90%, rgb(14 165 233 / .09), transparent 45%), hsl(var(--background)); }
.mp-demo-page::before { content: ''; position: absolute; inset: 0; opacity: .2; pointer-events: none; background-image: radial-gradient(hsl(var(--muted-foreground) / .35) .6px, transparent .6px); background-size: 24px 24px; mask-image: linear-gradient(to right, #000, transparent 65%); }
.mp-demo-layout { position: relative; max-width: 1200px; margin: auto; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(32px,6vw,88px); align-items: start; }
.mp-demo-story { padding-top: 4px; }
.mp-demo-back { display: inline-block; margin-bottom: 52px; color: hsl(var(--muted-foreground)); font-size: 13px; }
.mp-demo-back:hover { color: hsl(var(--foreground)); }
.mp-demo-eyebrow { display: flex; align-items: center; gap: 10px; color: #6366f1; font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.mp-demo-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgb(99 102 241 / .1); }
.mp-demo-story h1 { max-width: 520px; margin: 24px 0; font-size: clamp(36px,4.4vw,58px); font-weight: 650; line-height: 1.07; letter-spacing: -.045em; color: hsl(var(--foreground)); text-wrap: balance; }
.mp-demo-intro { font-size: 17px; line-height: 1.8; color: hsl(var(--muted-foreground)); max-width: 460px; }
.mp-demo-steps { list-style: none; padding: 0; margin: 44px 0 36px; }
.mp-demo-steps li { display: flex; gap: 18px; position: relative; padding-bottom: 30px; }
.mp-demo-steps li:last-child { padding-bottom: 0; }
.mp-demo-steps li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 20px; top: 45px; bottom: 5px; width: 1px; background: hsl(var(--border)); }
.mp-demo-steps li > span { flex: 0 0 42px; height: 42px; border: 1px solid hsl(var(--border)); border-radius: 14px; display: grid; place-items: center; font-size: 12px; color: #818cf8; background: hsl(var(--card)); }
.mp-demo-steps h2 { font-size: 15px; line-height: 1.5; font-weight: 650; color: hsl(var(--foreground)); margin: 0 0 5px; }
.mp-demo-steps p { font-size: 13px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0; }
.mp-demo-safe { display: flex; align-items: center; gap: 10px; border-top: 1px solid hsl(var(--border)); padding-top: 24px; font-size: 12px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.mp-demo-safe svg { width: 18px; height: 18px; flex-shrink: 0; color: #818cf8; }
.mp-demo-card { border: 1px solid hsl(var(--border)); border-radius: 28px; padding: clamp(24px,3vw,40px); background: hsl(var(--card)); box-shadow: 0 28px 70px -40px rgb(15 23 42 / .35); }
.mp-demo-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: hsl(var(--foreground)); font-size: 14px; font-weight: 700; }
.mp-demo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: white; background: #4f46e5; }
.mp-demo-mark svg { width: 18px; height: 18px; }
.mp-demo-card h2 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; font-weight: 650; }
.mp-demo-card-intro { margin: 10px 0 12px; font-size: 14px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.mp-demo-required { font-size: 11px; color: hsl(var(--muted-foreground)); margin-bottom: 24px; }
.mp-demo-fields,.mp-demo-solutions { border: 0; padding: 0; margin: 0; min-width: 0; }
.mp-demo-input-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; margin-bottom: 24px; }
.mp-demo-field { display: block; min-width: 0; }
.mp-demo-field > span,.mp-demo-solutions legend { display: block; font-size: 12px; line-height: 1.5; font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 8px; }
.mp-demo-field small { color: hsl(var(--muted-foreground)); font-weight: 400; font-size: 10px; }
.mp-demo-field b,.mp-demo-solutions b { color: #818cf8; }
.mp-demo-field input,.mp-demo-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid hsl(var(--border)); background: hsl(var(--background)); color: hsl(var(--foreground)); border-radius: 11px; padding: 12px 14px; font: inherit; font-size: 14px; outline: none; transition: border-color .2s,box-shadow .2s; }
.mp-demo-field input { min-height: 46px; }
.mp-demo-field textarea { resize: vertical; min-height: 98px; max-height: 300px; line-height: 1.6; }
.mp-demo-field textarea::placeholder { font-size: 12px; color: hsl(var(--muted-foreground)); }
.mp-demo-field input:focus,.mp-demo-field textarea:focus { border-color: #818cf8; box-shadow: 0 0 0 3px rgb(99 102 241 / .12); }
.mp-demo-solutions { margin-bottom: 24px; }
.mp-demo-solutions > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.mp-demo-solutions label { position: relative; min-width: 0; cursor: pointer; }
.mp-demo-solutions input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mp-demo-solutions label > span { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-height: 80px; height: 100%; padding: 12px; border: 1px solid hsl(var(--border)); border-radius: 12px; font-size: 11px; line-height: 1.4; background: hsl(var(--background)); color: hsl(var(--muted-foreground)); }
.mp-demo-solutions svg { width: 19px; height: 19px; color: #818cf8; }
.mp-demo-solutions input:checked + span { border-color: #818cf8; background: rgb(99 102 241 / .1); color: hsl(var(--foreground)); box-shadow: inset 0 0 0 1px #818cf8; }
.mp-demo-solutions input:focus-visible + span { outline: 2px solid #818cf8; outline-offset: 3px; }
.mp-demo-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; cursor: pointer; color: hsl(var(--muted-foreground)); font-size: 12px; line-height: 1.6; }
.mp-demo-consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: #4f46e5; }
.mp-demo-consent input:focus-visible { outline: 3px solid #4f46e5; outline-offset: 4px; }
.dark .mp-demo-consent input:focus-visible { outline-color: #c7d2fe; }
.mp-demo-disclosure { margin-top: 20px; padding: 16px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--background)); }
.mp-demo-disclosure .mp-demo-privacy { margin: 0 0 8px; font-size: 12px; line-height: 1.7; color: hsl(var(--foreground)); }
.mp-demo-privacy-link { display: inline-block; padding-block: 6px; color: #4338ca; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.dark .mp-demo-privacy-link { color: #c7d2fe; }
.mp-demo-privacy-link:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.mp-demo-submit { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; border: 0; border-radius: 12px; background: #4f46e5; color: white; font-size: 14px; font-weight: 650; cursor: pointer; transition: background .2s,transform .2s; }
.mp-demo-submit:hover { background: #4338ca; transform: translateY(-1px); }
.mp-demo-submit:focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }
.mp-demo-fields:disabled { opacity: .55; }
.mp-demo-fields:disabled .mp-demo-submit { cursor: wait; transform: none; }
.mp-demo-privacy { margin-top: 14px; font-size: 10px; line-height: 1.65; color: hsl(var(--muted-foreground)); }
.mp-demo-honey { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mp-demo-status { margin-top: 20px; padding: 18px; border: 1px solid hsl(var(--border)); border-radius: 14px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.mp-demo-status.is-success { border-color: rgb(16 185 129 / .4); background: rgb(16 185 129 / .08); color: hsl(var(--foreground)); }
.mp-demo-status.is-error { border-color: rgb(239 68 68 / .4); background: rgb(239 68 68 / .06); color: hsl(var(--foreground)); }
.mp-demo-status strong { display: block; font-size: 17px; margin-bottom: 6px; }
.mp-demo-reset { margin-top: 16px; border: 0; background: transparent; color: #818cf8; font-size: 13px; text-decoration: underline; cursor: pointer; }
@media (max-width:1000px) { .mp-demo-layout { grid-template-columns: 1fr; max-width: 680px; gap: 36px; } .mp-demo-back { margin-bottom: 32px; } .mp-demo-story h1 { max-width: 600px; } .mp-demo-steps { display: none; } .mp-demo-safe { margin-top: 24px; } }
@media (max-width:480px) { .mp-demo-page { padding: 32px 16px 64px; } .mp-demo-card { padding: 22px; border-radius: 22px; } .mp-demo-story h1 { font-size: 38px; } .mp-demo-intro { font-size: 15px; } .mp-demo-input-grid { grid-template-columns: 1fr; gap: 16px; } .mp-demo-solutions > div { grid-template-columns: repeat(2,minmax(0,1fr)); } .mp-demo-card h2 { font-size: 27px; } }
@media (prefers-reduced-motion:reduce) { .mp-demo-page *, .mp-demo-page *::before { transition: none!important; } }
