:root {
    --pink: #ff2f66;
    --pink-deep: #ca3b9c;
    --pink-soft: #fff1f6;
    --text: #59595b;
    --muted: #7a7a7d;
    --line: #e6e6e8;
    --surface: #ffffff;
    --background: #f3f3f4;
    --shadow: 0 24px 65px rgba(73, 55, 68, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--background);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 9% 16%, rgba(255, 47, 102, 0.07), transparent 22%),
        radial-gradient(circle at 92% 82%, rgba(202, 59, 156, 0.07), transparent 25%),
        var(--background);
}

button,
input {
    font: inherit;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 54px 24px 24px;
    display: grid;
    place-items: center;
}

.accent {
    position: fixed;
    width: 52px;
    height: 210px;
    background: linear-gradient(180deg, var(--pink), var(--pink-deep));
    z-index: 0;
    pointer-events: none;
}

.accent-left {
    left: 0;
    top: 0;
    border-radius: 0 0 26px 0;
}

.accent-right {
    right: 0;
    bottom: 0;
    border-radius: 26px 0 0 0;
}

.dot-grid {
    position: fixed;
    width: 128px;
    height: 128px;
    opacity: .35;
    pointer-events: none;
    background-image: radial-gradient(var(--pink) 1.6px, transparent 1.6px);
    background-size: 14px 14px;
}

.dot-grid-top {
    top: 48px;
    right: 8%;
}

.dot-grid-bottom {
    bottom: 58px;
    left: 7%;
}

.hero-card {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    padding: 54px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.brand-area {
    max-width: 660px;
    margin: 0 auto 38px;
    text-align: center;
}

.brand-logo {
    display: block;
    width: min(290px, 70vw);
    height: auto;
    margin: 0 auto 24px;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 14px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 10px 10px 10px 2px;
    background: linear-gradient(90deg, var(--pink-deep), var(--pink));
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.035em;
}

.brand-area p {
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.55;
}

.signup-form {
    border-top: 1px solid var(--line);
    padding-top: 34px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.field-full {
    grid-column: 1 / -1;
}

label {
    font-size: .9rem;
    font-weight: 700;
    color: #4e4e50;
}

input {
    width: 100%;
    height: 56px;
    border: 1px solid #dedee1;
    border-radius: 14px;
    padding: 0 17px;
    color: #454547;
    background: #fbfbfc;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder {
    color: #a5a5a8;
}

input:focus {
    border-color: rgba(255, 47, 102, .8);
    box-shadow: 0 0 0 4px rgba(255, 47, 102, .10);
    background: #fff;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.form-footer p {
    margin: 0;
    max-width: 480px;
    color: var(--muted);
    line-height: 1.45;
    font-size: .9rem;
}

.submit-button {
    min-width: 220px;
    height: 56px;
    border: 0;
    border-radius: 14px 14px 14px 4px;
    padding: 0 18px 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
    background: linear-gradient(90deg, var(--pink-deep), var(--pink));
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255, 47, 102, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 47, 102, .28);
}

.submit-button:active {
    transform: translateY(0);
}

.button-arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
    font-size: 1.2rem;
}

.feedback {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    margin: 0 auto;
    max-width: 760px;
    border-radius: 18px 18px 18px 5px;
}

.feedback-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
}

.feedback h2 {
    margin-bottom: 7px;
    font-size: 1.32rem;
}

.feedback p {
    margin: 0;
    line-height: 1.5;
}

.feedback-success {
    color: #5c5360;
    background: linear-gradient(135deg, #fff5f8, #f8f2fb);
    border: 1px solid #f2d7e4;
}

.feedback-success .feedback-icon {
    background: linear-gradient(135deg, var(--pink-deep), var(--pink));
}

.feedback-warning {
    color: #665a44;
    background: #fff9ec;
    border: 1px solid #f3dfae;
}

.feedback-warning .feedback-icon {
    background: #d69b22;
}

.feedback-error {
    color: #6a4c50;
    background: #fff1f3;
    border: 1px solid #f2c6cd;
}

.feedback-error .feedback-icon {
    background: #d54a60;
}

.back-link {
    display: table;
    margin: 24px auto 0;
    color: var(--pink-deep);
    font-weight: 700;
    text-decoration: none;
}

.page-footer {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    font-size: .78rem;
    color: #8c8c8f;
    letter-spacing: .08em;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .page-shell {
        padding: 34px 16px 20px;
        align-items: start;
    }

    .accent {
        width: 28px;
        height: 135px;
    }

    .hero-card {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .brand-area {
        margin-bottom: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .field-full {
        grid-column: auto;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
