@font-face {
    font-family: 'Anton';
    src: url('https://cumblast.life/fonts/Anton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('https://cumblast.life/fonts/Mulish-Variable.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Mulish, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Anton;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
}

.mb-big {
    margin-bottom: 10rem;
}

.mb-medium {
    margin-bottom: 5rem;
}

.bg-lightgry {
    background-color: #DFDFDF;
}

.action-button {
    display: block;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    border-radius: 999px;
    font-family: Anton;
    font-size: 1rem;
    padding: 1rem 3rem;
    text-align: center;
}

.action-button-white {
    background-color: white;
    color: black;
}

.action-button-blue {
    background-color: #1f5bff;
    color: white;
}

.action-button-green {
    background-color: #199c68;
    color: white;
}

.action-button-black {
    background-color: black;
    color: white;
}

.why-list {
    column-count: 2;
    column-gap: 3rem;
}

.why-list li {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.why-list li::marker {
    color: #1f5bff;
    font-size: 2em;
}

.home-img-customer {
    border-radius: 50%;
    box-shadow: 0 0 10px black;
}

.home-img-happy-customer {
    width: auto;
    height: auto;
    box-shadow: 0 0 10px black;
}

.home-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-img-header-background {
    display: block;
    width: 100%;
    height: auto;
}

.home-header-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.35;
    z-index: 1;
}

.home-header-text {
    width: 50%;
    position: absolute;
    z-index: 2;
    margin: 0;
    padding: 0 1rem;
    text-align: center;
}

.home-header-title {
    z-index: 2;
    color: white;
    text-align: center;
    font-family: 'Anton';
    font-size: 4rem;
    text-shadow: 0 0 15px black;
}

.home-header-tizer {
    z-index: 3;
    color: white;
    text-align: center;
    font-size: 1.5rem;
    text-shadow: 0 0 10px black;
}

.home-img-logo {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 256px;
    height: auto;
    z-index: 4;
}

.home-header-action {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 4;
    text-decoration: none;
}

.home-header-action .action-button {
    margin-right: 0;
    margin-left: 0;
}

.home-bg-gray {
    background-color: #EEEEEE;
}

.home-bg-blue {
    background-color: #1f5bff;
}

.site-footer {
    margin-top: 5rem;
    padding: 2.5rem 1.5rem;
    background-color: #111111;
    color: #d7d7d7;
    text-align: center;
}

.site-footer-copy,
.site-footer-disclaimer {
    margin-bottom: 0;
}

.site-footer-copy {
    font-size: 0.95rem;
}

.site-footer-disclaimer {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b8b8b8;
}

.questionnaire-page {
    min-height: 100vh;
    padding: 2rem 1rem;
    background: #f5f7fb;
}

.questionnaire-shell {
    width: min(100%, 680px);
    margin: 0 auto;
}

.questionnaire-logo-link {
    display: inline-block;
    margin-bottom: 2rem;
}

.questionnaire-logo {
    width: 190px;
    height: auto;
}

.questionnaire-card {
    padding: 2rem;
    border: 1px solid #dce2ea;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.questionnaire-message h1 {
    margin-bottom: 1rem;
}

.questionnaire-message p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.questionnaire-message-action {
    margin-top: 1.5rem;
    margin-left: 0;
}

.questionnaire-message-success {
    border-color: #b6e4cc;
    background: #f1fbf5;
}

.questionnaire-server-errors {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid #f2b8b5;
    border-radius: 8px;
    background: #fff4f2;
    color: #b42318;
    font-weight: 700;
}

.questionnaire-server-errors p {
    margin-bottom: 0.35rem;
}

.questionnaire-server-errors p:last-child {
    margin-bottom: 0;
}

.questionnaire-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf5;
}

.questionnaire-progress-bar {
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: #1f5bff;
    transition: width 180ms ease;
}

.questionnaire-step-label {
    margin: 1.25rem 0 0.5rem;
    color: #5f6f85;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.questionnaire-step {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.questionnaire-step.is-active {
    display: block;
}

.questionnaire-step legend {
    margin-bottom: 1.5rem;
    font-family: Anton;
    font-size: 2.75rem;
    line-height: 1.08;
}

.questionnaire-field-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.questionnaire-age-input {
    width: 100%;
    height: 58px;
    padding: 0 1rem;
    border: 1px solid #bac5d4;
    border-radius: 8px;
    font-size: 1.25rem;
}

.questionnaire-text-input {
    width: 100%;
    min-height: 54px;
    padding: 0 1rem;
    border: 1px solid #bac5d4;
    border-radius: 8px;
    font-size: 1rem;
}

.questionnaire-note {
    margin: -0.5rem 0 1.5rem;
    color: #405169;
    font-size: 1rem;
    line-height: 1.6;
}

.questionnaire-age-input:focus,
.questionnaire-text-input:focus,
.questionnaire-option:has(input:focus-visible) {
    outline: 3px solid rgba(31, 91, 255, 0.2);
    border-color: #1f5bff;
}

.questionnaire-options {
    display: grid;
    gap: 0.75rem;
}

.questionnaire-option {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.questionnaire-option:has(input:checked) {
    border-color: #1f5bff;
    background: #edf3ff;
}

.questionnaire-option input {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    accent-color: #1f5bff;
    flex: 0 0 auto;
}

.questionnaire-option span {
    font-size: 1.05rem;
    line-height: 1.4;
}

.questionnaire-option-with-field {
    margin-bottom: -0.25rem;
}

.questionnaire-consent {
    margin-top: 1.25rem;
}

.questionnaire-step .questionnaire-field-label:not(:first-of-type) {
    margin-top: 1rem;
}

.auth-title {
    margin-bottom: 1.5rem;
}

.account-page {
    min-height: 100vh;
    padding: 2rem 1rem;
    background: #f5f7fb;
}

.account-shell {
    width: min(100%, 920px);
    margin: 0 auto;
}

.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-logout {
    color: #1f5bff;
    font-weight: 800;
}

.account-panel {
    margin-bottom: 1.25rem;
    padding: 2rem;
    border: 1px solid #dce2ea;
    border-radius: 8px;
    background: white;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.account-panel h1,
.account-panel h2 {
    margin-bottom: 1rem;
}

.account-recommendations {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.account-recommendations li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.questionnaire-error {
    min-height: 1.5rem;
    margin: 0.75rem 0 0;
    color: #b42318;
    font-weight: 700;
}

.questionnaire-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.questionnaire-button {
    min-height: 52px;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 999px;
    font-family: Anton;
    font-size: 1rem;
    cursor: pointer;
}

.questionnaire-button-primary {
    margin-left: auto;
    background: #1f5bff;
    color: white;
}

.questionnaire-button-secondary {
    background: #edf1f6;
    color: #111111;
}

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

@media (max-width: 767.98px) {
    .home-header {
        align-items: flex-end;
    }

    .home-header-text {
        width: 100%;
        bottom: 1.5rem;
    }

    .home-header-title {
        font-size: 2rem;
    }
    
    .home-header-tizer {
        font-size: 1rem;
    }

    .home-img-logo {
        top: 1rem;
        left: 1rem;
        width: 160px;
    }

    .home-header-action {
        top: 1rem;
        right: 1rem;
    }

    .why-list {
        column-count: 1;
    }

    .site-footer {
        margin-top: 3rem;
        padding: 2rem 1rem;
    }

    .questionnaire-page {
        padding: 1rem;
    }

    .questionnaire-logo {
        width: 160px;
    }

    .questionnaire-card {
        padding: 1.25rem;
    }

    .questionnaire-step legend {
        font-size: 2rem;
    }

    .questionnaire-actions {
        flex-direction: column-reverse;
    }

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