Midnight System Decision Modal
Midnight System kit
A real <button> carrying .btn-midnight-cta — the preview is the stylesheet, not a picture of it.
.btn-midnight-cta {
display: inline-block;
padding: 14px 32px;
border: none;
border-radius: 12px;
background: linear-gradient(135deg, #0ea5e9, #6366f1);
color: #ffffff;
font-family: inherit;
font-size: 15px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 8px 28px rgba(78, 118, 240, 0.45);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-midnight-cta:hover {
transform: translateY(-2px);
box-shadow: 0 12px 36px rgba(78, 118, 240, 0.6);
}
.btn-midnight-cta:active {
transform: translateY(0);
box-shadow: 0 4px 14px rgba(78, 118, 240, 0.45);
}
.btn-midnight-cta:focus-visible {
outline: 2px solid #0ea5e9;
outline-offset: 3px;
}
Implementation notes
Midnight CTA uses controlled contrast and elevation tuned for dark product surfaces. Its rounded corners balance product-friendly softness with a clear boundary. It is built around a two-stop linear gradient anchored on #0ea5e9 with a 200ms hover lift. The interaction stays intentionally restrained.
Usage
<button class="btn-midnight-cta">Get Started</button>Pair it with the CSS tab above — the class is self-contained.
:focus-visible state. If you retain motion, include a prefers-reduced-motion override.We matched its palette, surface, geometry and motion to a complete UI system — like composing an outfit, not browsing unrelated parts.
Midnight System kit
Midnight System kit
Midnight System kit
Midnight System kit
Midnight System kit
Midnight System kit
Two optional extras load only if you allow them. Every button, preview and line of code works exactly the same either way. What each one does