css
/* =========================================================
   ACCOUNT DELETION PAGE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #f5f7f9;
    color: #17202a;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   PAGE
   ========================================================= */

.page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 48px 20px;
}


/* =========================================================
   CARD
   ========================================================= */

.deletion-card {
    width: 100%;
    max-width: 680px;

    background: #ffffff;

    border: 1px solid #e4e8ec;
    border-radius: 20px;

    padding: 42px;

    box-shadow:
        0 20px 60px rgba(20, 30, 40, 0.08);
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 42px;
}

.brand-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #17202a;
    color: #ffffff;

    border-radius: 12px;
}

.brand-icon svg {
    width: 23px;
    height: 23px;
}

.brand-name {
    display: block;

    font-size: 15px;
    font-weight: 750;

    letter-spacing: -0.01em;
}

.brand-subtitle {
    display: block;

    margin-top: 2px;

    font-size: 12px;
    color: #7b8794;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    margin-bottom: 30px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.12em;

    color: #687481;
}

.intro h1 {
    margin: 0 0 12px;

    font-size: clamp(28px, 5vw, 38px);
    line-height: 1.12;

    letter-spacing: -0.035em;
}

.intro p {
    max-width: 560px;

    margin: 0;

    color: #687481;

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.message {
    display: flex;
    align-items: flex-start;

    margin-bottom: 24px;
    padding: 14px 16px;

    border-radius: 10px;

    font-size: 14px;
    line-height: 1.5;
}

.message.success {
    background: #edf9f2;
    border: 1px solid #c9ead6;
    color: #17663a;
}

.message.error {
    background: #fff2f2;
    border: 1px solid #f1cccc;
    color: #a12828;
}


/* =========================================================
   FORM
   ========================================================= */

.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 700;

    color: #26323d;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #d7dde3;
    border-radius: 10px;

    background: #ffffff;

    color: #17202a;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.form-group input {
    height: 50px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 140px;

    padding: 13px 14px;

    resize: vertical;

    line-height: 1.55;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a9b2;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #b8c1ca;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #596875;

    box-shadow:
        0 0 0 3px rgba(89, 104, 117, 0.10);
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #d95353;

    background: #fffafa;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus {
    box-shadow:
        0 0 0 3px rgba(217, 83, 83, 0.10);
}


/* =========================================================
   FIELD ERRORS
   ========================================================= */

.field-error {
    display: block;

    min-height: 0;

    margin-top: 6px;

    color: #c33737;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   TEXTAREA FOOTER
   ========================================================= */

.textarea-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 10px;
}

.textarea-footer .field-error {
    flex: 1;
}

#characterCount {
    flex-shrink: 0;

    margin-top: 6px;

    color: #8a949e;

    font-size: 11px;
}


/* =========================================================
   PRIVACY NOTE
   ========================================================= */

.privacy-note {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin: 4px 0 24px;

    padding: 15px;

    background: #f7f9fa;

    border: 1px solid #e8ecef;
    border-radius: 10px;
}

.privacy-icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #596875;

    background: #ffffff;

    border: 1px solid #e0e5e9;
    border-radius: 8px;
}

.privacy-icon svg {
    width: 19px;
    height: 19px;
}

.privacy-note strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}

.privacy-note p {
    margin: 0;

    color: #75818c;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.submit-button {
    position: relative;

    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    background: #17202a;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.submit-button:hover {
    background: #26333f;

    box-shadow:
        0 8px 20px rgba(23, 32, 42, 0.14);
}

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

.submit-button:focus-visible {
    outline: 3px solid rgba(23, 32, 42, 0.20);
    outline-offset: 3px;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;

    box-shadow: none;
}


/* =========================================================
   SPINNER
   ========================================================= */

.spinner {
    width: 18px;
    height: 18px;

    margin-left: 10px;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;

    border-radius: 50%;

    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid #edf0f2;
}

.footer p {
    margin: 0;

    color: #89939d;

    font-size: 11px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .page {
        align-items: flex-start;

        padding: 20px 12px;
    }

    .deletion-card {
        padding: 28px 20px;

        border-radius: 16px;
    }

    .brand {
        margin-bottom: 32px;
    }

    .form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .intro h1 {
        font-size: 29px;
    }

    .intro p {
        font-size: 14px;
    }
}


@media (max-width: 380px) {

    .deletion-card {
        padding: 24px 16px;
    }

    .privacy-note {
        padding: 12px;
    }
}

