:root {
    --max-width: 820px;
    --color-anchor: #015dc0;
    --color-anchor-hover: #004a9a;
    --color-breakline: #0000001e;
    --color-footer: #707070;
    --color-button-border: #c5d9f5;
}

html {
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding-top: 120px;
    color: #111;
}

h1 {
    font-size: 22px;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

h2 {
    font-size: 19px;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

p,
li {
    line-height: 1.6;
}

a {
    color: var(--color-anchor);
}

.legal-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.form__content-area {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 40px;
    box-sizing: border-box;
}

section {
    padding-bottom: 14px;
}

ul {
    margin: 0;
    padding-left: 22px;
}

.breakline {
    width: 100%;
    height: 1.5px;
    background-color: var(--color-breakline);
    margin-bottom: 15px;
}

.form__content-area section a {
    font-weight: 600;
    text-decoration-color: rgba(1, 93, 192, 0.35);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.form__content-area section a:hover {
    color: var(--color-anchor-hover);
    text-decoration-color: currentColor;
}

.external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    border-radius: 4px;
    background-color: #eef5ff;
    color: var(--color-anchor);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    vertical-align: middle;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.external-link:hover {
    background-color: #dae8fb;
    color: var(--color-anchor-hover);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
}

.page-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 12px 24px;
    border: 1px solid #d3e2f4;
    border-radius: 30px;
    background-color: #ffffff;
    color: #0b57b7;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.page-action:hover {
    transform: translateY(-2px);
    background-color: #f8fbff;
    border-color: #b9d1ef;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.16);
}

.page-action:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-action--primary {
    background-color: #eef5ff;
    border-color: #c8daf2;
    color: #0a5ec2;
}

.page-action--primary:hover {
    background-color: #e4effd;
    border-color: #b6cdea;
    color: #084f9f;
}

.page-action--primary:active {
    background-color: #dae8fb;
    border-color: #a9c4e6;
    color: #08478e;
}

.footer {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-breakline);
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-footer);
}

.footer__link {
    color: var(--color-footer);
    font-weight: 600;
    text-decoration-color: rgba(112, 112, 112, 0.35);
    text-underline-offset: 0.18em;
}

.footer__link:hover {
    color: #4f4f4f;
    text-decoration-color: currentColor;
}

@media screen and (max-width: 900px) {
    html {
        margin: 0 64px 0 64px;
    }

    .header__container {
        margin: 0 64px 0 64px;
    }
}

@media screen and (max-width: 600px) {
    html {
        margin: 0 32px 0 32px;
    }

    .header__container {
        margin: 0 32px 0 32px;
    }

    h1 {
        font-size: 19px;
    }

    h2 {
        font-size: 16px;
    }

    p,
    li {
        font-size: 14px;
    }
}

@media screen and (max-width: 450px) {
    html {
        margin: 0 16px 0 16px;
    }

    .header__container {
        margin: 0 16px 0 16px;
    }

    .page-actions {
        flex-direction: column;
    }

    .page-action {
        width: 100%;
    }
}
