/*
 * Hero - Plain: a centred title with a gradient accent, a tagline and up to two
 * buttons, on the soft floating glow.
 */

.hero-plain {
    position: relative;
    margin-bottom: var(--section-gap);
    overflow: hidden;
}

.hero-plain__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-plain__blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
}

.hero-plain__blob--a {
    left: -6%;
    top: -40px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(123, 108, 246, 0.42), transparent 68%);
    animation: hero-plain-blob-a 18s ease-in-out infinite;
}

.hero-plain__blob--b {
    right: -4%;
    top: 20px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(242, 160, 184, 0.4), transparent 68%);
    animation: hero-plain-blob-b 22s ease-in-out infinite;
}

@keyframes hero-plain-blob-a {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(24px, -30px, 0) scale(1.06); }
}

@keyframes hero-plain-blob-b {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-28px, 24px, 0) scale(0.94); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-plain__blob { animation: none; }
}

.hero-plain__inner {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.hero-plain__title {
    max-width: 820px;
    margin: 0 auto;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

/* The words the editor highlighted take the gradient. */
.hero-plain__title mark {
    background: linear-gradient(100deg, #6b5ef0, #c17be0 55%, #f2a0b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-plain__tagline {
    max-width: 580px;
    margin: 22px auto 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.hero-plain__buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-plain__button {
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
}

.hero-plain__button--primary {
    background: linear-gradient(135deg, #6b5ef0, #8f63e8);
    color: #fff;
}

.hero-plain__button--primary:hover {
    color: #fff;
    filter: brightness(1.06);
}

.hero-plain__button--secondary {
    border: 1px solid rgba(22, 21, 28, 0.13);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
}

.hero-plain__button--secondary:hover {
    color: var(--ink);
    border-color: rgba(22, 21, 28, 0.28);
}

@media (max-width: 900px) {
    .hero-plain__inner {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero-plain__title { font-size: 44px; }
    .hero-plain__tagline { font-size: 17px; }
}

@media (max-width: 480px) {
    .hero-plain__title { font-size: 36px; }
}
