
:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-dark: #081123;
    --text: #122033;
    --muted: #627181;
    --line: #dbe4ee;
    --primary: #0f766e;
    --primary-dark: #0b5d57;
    --primary-soft: #d8f2ef;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    --radius: 24px;
    --success-bg: #ecfdf3;
    --success-text: #166534;
    --danger-bg: #fff1f2;
    --danger-text: #be123c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #eef2f8;
    color: var(--text);
}
body, input, textarea, button, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.page-wrap { padding: 16px 0 40px; }
h1, h2, h3, p { margin-top: 0; }
h2 {
    margin: 12px 0 10px;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}
p { color: var(--muted); line-height: 1.7; }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-soft {
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-dark);
}
.btn-outline-light,
.btn-outline-dark {
    border-color: var(--line);
    background: transparent;
}
.btn-outline-dark {
    color: #fff;
    border-color: rgba(255,255,255,0.28);
}
.btn-block { width: 100%; }

.stack-section { padding: 0; }
.visual-stack {
    display: grid;
    gap: 0;
}
.visual-frame {
    margin: 0;
    background: #fff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: 0;
}
.visual-frame img {
    width: 100%;
    border-radius: 0;
}

.inline-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 18px 16px;
    background: #08060c;
}

.inline-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 76px;
    padding: 18px 26px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ff180d 0%, #f3170d 100%);
    color: #ffffff;
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(196, 19, 10, 0.28);
}

.inline-cta-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ff2417 0%, #e9140a 100%);
}

.thank-you-join {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 18px;
    background: #060608;
}

.thank-you-join-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 78px;
    padding: 18px 36px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2dcc45 0%, #20b339 100%);
    color: #ffffff;
    font-size: clamp(1.2rem, 2.5vw, 1.85rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
    box-shadow: 0 16px 30px rgba(22, 120, 40, 0.34);
}

.thank-you-join-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #33d84c 0%, #22bc3c 100%);
}

.thank-you-support {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 18px 26px;
    background: #060608;
}

.thank-you-support-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 12px 28px;
    border-radius: 6px;
    background: linear-gradient(180deg, #2dcc45 0%, #20b339 100%);
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-align: center;
    box-shadow: 0 14px 26px rgba(22, 120, 40, 0.28);
}

.thank-you-support-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #33d84c 0%, #22bc3c 100%);
}

.form-card {
    padding: 72px 56px 84px;
    background: #ffffff;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}
.form-card > * {
    width: min(100%, 820px);
    margin-left: auto;
    margin-right: auto;
}
.form-intro {
    margin-bottom: 56px;
    text-align: center;
}
.form-intro h2 {
    margin: 0 0 26px;
    color: #1f2858;
    font-size: clamp(4.2rem, 10vw, 6.8rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.08em;
}
.form-intro p {
    max-width: 760px;
    margin: 0 auto;
    color: #26366b;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.02em;
}
.form-group { margin-bottom: 24px; }
input, textarea, select {
    width: 100%;
    border: 1px solid #d6e0ef;
    border-radius: 4px;
    padding: 28px 26px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 1.32rem;
    font-weight: 500;
    color: #1d2853;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
input::placeholder,
textarea::placeholder {
    color: #9aa8c2;
}
input:focus, textarea:focus, select:focus {
    border-color: #7ea3ff;
    box-shadow: 0 0 0 5px rgba(74, 124, 242, 0.12);
    transform: translateY(-1px);
}

.alert {
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 28px;
    font-size: 1rem;
}
.alert ul { margin: 10px 0 0 18px; }
.alert-success {
    background: var(--success-bg);
    color: var(--success-text);
}
.alert-error {
    background: var(--danger-bg);
    color: var(--danger-text);
}
.honeypot { display: none; }
.btn-submit {
    display: flex;
    width: min(100%, 470px);
    margin: 38px auto 0;
    padding: 24px 30px;
    border-radius: 999px;
    background: linear-gradient(180deg, #5b88f7 0%, #4676eb 100%);
    box-shadow: 0 18px 34px rgba(74, 124, 242, 0.28);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
}
.btn-submit:hover {
    background: linear-gradient(180deg, #527ff1 0%, #3d6fe6 100%);
}

@media (max-width: 900px) {
    .page-wrap {
        padding: 0 0 28px;
    }

    .form-card {
        padding: 52px 28px 62px;
    }

    .form-intro h2 {
        font-size: clamp(3.4rem, 12vw, 5rem);
    }

    .form-intro p {
        font-size: clamp(1.22rem, 4.5vw, 1.6rem);
    }
}

@media (max-width: 680px) {
    .container {
        width: 100%;
    }

    .form-card {
        padding: 46px 18px 52px;
        border-radius: 0;
    }

    .form-intro {
        margin-bottom: 38px;
    }

    .form-intro h2 {
        margin-bottom: 16px;
        font-size: clamp(3.2rem, 13vw, 4.2rem);
        line-height: 0.95;
    }

    .form-intro p {
        font-size: 1.22rem;
        line-height: 1.55;
    }

    input, textarea, select {
        padding: 22px 18px;
        font-size: 1.12rem;
    }

    .btn-submit {
        width: 100%;
        margin-top: 30px;
        padding: 21px 24px;
        font-size: 1.08rem;
    }

    .thank-you-join {
        padding: 16px;
    }

    .thank-you-join-btn {
        width: 100%;
        min-height: 68px;
        padding: 16px 20px;
        font-size: 1.04rem;
    }

    .thank-you-support {
        padding: 12px 16px 22px;
    }

    .thank-you-support-btn {
        width: 100%;
        min-height: 50px;
        padding: 12px 18px;
        font-size: 0.92rem;
    }

    .inline-cta {
        padding: 14px 16px;
    }

    .inline-cta-btn {
        width: 100%;
        min-height: 66px;
        padding: 16px 18px;
        font-size: 1.02rem;
    }
}
