:root {
    color: #172033;
    background: #f4f7fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(73, 116, 255, 0.12), transparent 32rem),
        radial-gradient(circle at 92% 18%, rgba(24, 181, 146, 0.10), transparent 28rem),
        #f4f7fb;
}

button,
input,
textarea {
    font: inherit;
}

.privacy-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 68px 0 88px;
}

.hero {
    max-width: 760px;
    margin-bottom: 38px;
}

.eyebrow,
.card-kicker {
    margin: 0 0 12px;
    color: #3159d9;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: #121a2b;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.hero-copy {
    margin: 22px 0 0;
    color: #5b6578;
    font-size: 18px;
    line-height: 1.8;
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 24px;
    align-items: start;
}

.info-column {
    display: grid;
    gap: 18px;
}

.info-card,
.security-card,
.form-card,
.success-card {
    border: 1px solid rgba(180, 192, 214, 0.55);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(23, 32, 51, 0.07);
    backdrop-filter: blur(10px);
}

.info-card,
.security-card {
    padding: 28px 30px;
}

.info-card h2,
.security-card h2,
.form-card h2,
.success-card h2 {
    margin: 0 0 16px;
    color: #172033;
    font-size: 22px;
}

.info-card p,
.security-card p {
    margin: 0;
    color: #606b7e;
    line-height: 1.75;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
}

.contact-list div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
}

.contact-list dt {
    color: #8790a0;
}

.contact-list dd {
    margin: 0;
    color: #25314a;
    font-weight: 680;
}

.process-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    color: #556076;
    line-height: 1.55;
}

.process-list span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #3159d9;
    font-weight: 760;
    border-radius: 50%;
    background: #edf2ff;
}

.security-card {
    border-color: rgba(47, 158, 125, 0.24);
    background: rgba(239, 251, 247, 0.9);
    box-shadow: none;
}

.security-card h2 {
    color: #166b55;
}

.security-card p {
    color: #397866;
}

.form-card {
    padding: 34px 36px 38px;
}

.form-card form {
    display: grid;
    gap: 22px;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

legend,
.field > span {
    display: block;
    margin-bottom: 10px;
    color: #283349;
    font-size: 14px;
    font-weight: 700;
}

.type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.type-option {
    position: relative;
    cursor: pointer;
}

.type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.type-option span {
    display: block;
    padding: 14px 16px;
    color: #3e4a61;
    text-align: center;
    border: 1px solid #dce2ec;
    border-radius: 12px;
    transition: 160ms ease;
}

.type-option input:checked + span {
    color: #254bc6;
    border-color: #6f8dee;
    background: #edf2ff;
    box-shadow: 0 0 0 3px rgba(79, 113, 222, 0.10);
}

.type-option-danger input:checked + span {
    color: #b33f49;
    border-color: #e4878e;
    background: #fff1f2;
    box-shadow: 0 0 0 3px rgba(211, 76, 87, 0.08);
}

.field input,
.field textarea {
    width: 100%;
    color: #1f2a3e;
    border: 1px solid #d9e0ea;
    border-radius: 12px;
    outline: 0;
    background: #fbfcfe;
    transition: 160ms ease;
}

.field input {
    height: 48px;
    padding: 0 14px;
}

.field textarea {
    min-height: 128px;
    padding: 13px 14px;
    line-height: 1.6;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: #6483e3;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(78, 111, 215, 0.10);
}

.field small {
    display: block;
    margin-top: 8px;
    color: #7b8596;
    line-height: 1.5;
}

.confirmation {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    color: #59657a;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}

.confirmation input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: #3159d9;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    font-weight: 720;
    text-decoration: none;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
}

.primary-button {
    color: #fff;
    background: #3159d9;
    box-shadow: 0 10px 24px rgba(49, 89, 217, 0.24);
}

.primary-button:hover {
    background: #284fc7;
}

.secondary-button {
    color: #3159d9;
    border: 1px solid #cfd9f6;
    background: #f1f4ff;
}

.form-notice {
    margin: -8px 0 0;
    color: #8a93a2;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.form-error {
    margin-bottom: 20px;
    padding: 13px 15px;
    color: #a83d47;
    line-height: 1.55;
    border: 1px solid #f0c5c8;
    border-radius: 12px;
    background: #fff4f5;
}

.website-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.success-card {
    max-width: 720px;
    padding: 58px 54px;
    text-align: center;
}

.success-mark {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    place-items: center;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    border-radius: 50%;
    background: #249872;
    box-shadow: 0 12px 28px rgba(36, 152, 114, 0.24);
}

.success-card > p {
    color: #687287;
    line-height: 1.75;
}

.ticket-number {
    display: grid;
    gap: 8px;
    margin: 28px 0 18px;
    padding: 20px;
    border: 1px dashed #aebee8;
    border-radius: 14px;
    background: #f4f7ff;
}

.ticket-number span {
    color: #7c879d;
    font-size: 13px;
}

.ticket-number strong {
    color: #243d8c;
    font-size: clamp(18px, 4vw, 25px);
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.success-email {
    margin-bottom: 28px;
}

@media (max-width: 860px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        grid-row: 1;
    }
}

@media (max-width: 580px) {
    .privacy-shell {
        width: min(100% - 24px, 1120px);
        padding: 38px 0 52px;
    }

    .hero {
        margin-bottom: 26px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .form-card,
    .info-card,
    .security-card,
    .success-card {
        padding: 24px 20px;
        border-radius: 17px;
    }

    .type-options {
        grid-template-columns: 1fr;
    }

    .contact-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
