/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin-bottom: 1em;
    line-height: 1.6;
}


body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-color: #fff;
}

strong {
    color: #1A1A1A;
}

a.btn {
    border: none;
    appearance: none;
}


/* Layout */
.container {
    width: 100%;
}

.container--light {
    background-color: white;
}

.container--offset {
    background-color: #f5f5f5;
}

.container--highlight {
    background-color: #E3F2FD;
}

.container--news {
    background-color: #fdf3e3;
}

.content-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.35rem .75rem;
}

/* first content-wrapper after the banner */
.container.container--light>.content-wrapper:first-of-type {
    padding-top: 0rem;
}


.card {
    width: 100%;
}

.divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 16px 0;
}

/* Banner */
.banner {
    padding: 12px 12px;
    text-align: center;
}

.banner--highlight {
    background-color: #00BFA5;
    color: white;
}

.banner__tag {
    background-color: #fff126;
    color: #1A1A1A;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.banner__text {
    margin: 0;
}

.banner__link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 767px) {
    .banner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .banner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

/* Typography */
.heading {
    font-size: 2rem;
    color: #1A1A1A;
    margin-bottom: 16px;
    line-height: 1.3;
    margin-top: 1.2rem;
}

.heading--center {
    text-align: center;
}


.sub-heading {
    font-size: 1.4rem;
    color: #1A1A1A;
    margin-bottom: 16px;
    line-height: 1.2;
}

.heading--dark {
    color: #1A1A1A;
}

.text {
    color: #1A1A1A;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 16px;
}

.text--large {
    margin-bottom: 32px;
}

.text--dark {
    color: #1A1A1A;
}

.text--news {
    color: #dc2626;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.text--attention {
    color: #0077be;
}

.text--note {
    text-decoration: underline;
    font-style: italic;
    font-weight: 600;
    padding-right: .25rem;
}

/* Media */
.media {
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
}

.media--teal {
    background-color: #00BFA5;
}

.media__img {
    width: 100%;
    height: auto;
    display: block;
}

.media__img-sm {
    width: 50px;
    height: auto;
    display: block;
    flex-shrink: 0;
}


/* Lists */
.list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.list__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.list__item-stack {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}


.hero-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 500px) {

    .list__item-stack {
        flex-direction: column;
        text-align: left;
    }

    .heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-card {
        padding: 0.75rem;
        margin-bottom: 0;
    }

    .media__img {
        width: 100%;
    }

    .list__title {
        font-size: 1rem;
    }

}

.list__icon {
    font-size: 1.3rem;
    line-height: 1.5;
    display: inline-block;

}

.list__content {
    flex: 1;
}

.list__title {
    font-size: 1.3rem;
    margin-bottom: .3rem;
    line-height: 1.3;
}

.list__text {
    color: #222222;
    font-weight: 500;
    font-size: 1rem;
}

.title-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;


}

@media (max-width: 500px) {

    .list__icon {
        font-size: 0.7rem;
    }

}

/* Call outs */


.callout {
    background-color: #e6f6ff;
    border: 2px solid #007abf;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}


.callout__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.callout__text {
    color: #0D090A;
    line-height: 1.4;
    margin: 0;
}


/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist--green .checklist__item::before {
    background-color: #4caf50 !important;
}

.checklist__item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.checklist__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-color: #00BFA5;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* number checklist*/

.numbered-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

/* Each list item increments the counter */
.numbered-checklist li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 32px;
    /* Space so the circle doesn’t overlap the text */
    counter-increment: step;
    color: #1A1A1A;
}

/* Circle with the step number inside */
.numbered-checklist li::before {
    content: counter(step);
    /* Insert the current counter value (1,2,3...) */
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-color: #00BFA5;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Steps */
.steps {
    list-style: none;
    padding: 0;
}

.steps__item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 24px;
    color: #1A1A1A;
}

.steps__number {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976D2;
    font-weight: 600;
    font-size: 1rem;
}

.steps__text {
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.btn--primary {
    background-color: #4caf50;
    color: #fff;
    outline: none;
    border: none;
}

.btn--primary:hover {
    background-color: #4caf50;
}

.btn--full {
    display: block;
    width: 100%;
}

.btn--secondary {
    background-color: #D3D3D3;
    color: #1A1A1A;
}

.btn--secondary:hover {
    background-color: #C0C0C0;
}

.btn--option {
    display: flex;
    align-items: center;
    min-height: 60px;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #3b3b3b;
    background-color: #FFFBFC;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
}

.btn--option::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.btn--option:hover {
    background-color: #00BFA5;
    color: #fff;
}

.btn--option.btn--selected {
    background-color: #00BFA5;
    color: #fff;
    border-color: #00BFA5;
}

.btn--option:hover::before {
    background-color: #006354;
}

.btn--option.btn--selected::before {
    background-color: #006354;
}

/* mobile hover / focus states */

.btn--option {

    -webkit-tap-highlight-color: transparent;
}

.btn--option:focus,
.btn--option:active {
    outline: none;
    box-shadow: none;
}


@media (hover: hover) and (pointer: fine) {
    .btn--option:hover {
        background-color: #00BFA5;
        color: #fff;
    }

    .btn--option:hover::before {
        background-color: #006354;
    }
}

/* Stack Layout */
.stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card Variations */
.card--shadow {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card--highlight {
    background-color: #e6f6ff;
}

.card--quiz {
    border-top: 2rem solid;
    border-top-color: #e6f6ff;
}

/* Testimonial */
.testimonial {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial__header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial__name {
    font-weight: 600;
    color: #1A1A1A;
}

.testimonial__content {
    color: #4A4A4A;
}

/* Avatar */
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    width: 1.25rem;
    height: 1.25rem;
    color: #00BFA5;
}

.badge__icon {
    font-size: 0.75rem;
}

.badge__text {
    font-weight: 500;
}

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.sticky-nav__text {
    text-align: center;
    padding-left: .5rem;
    font-size: .8rem;
    font-weight: 500;

}

.sticky-nav .content-wrapper {
    padding: 20px 20px;
}

@media (min-width: 768px) {
    .sticky-nav .content-wrapper {
        padding: 14px;
    }

    .sticky-nav .btn {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Quiz Progress */

.progress-bar {
    width: 100%;
    height: 10px;
    /* thickness of bar */
    background-color: #f0f0f0;
    border-radius: 5px;
    /* round corners */
    margin-bottom: 16px;
    /* spacing below bar */
    overflow: hidden;
    /* ensures fill is clipped to radius */
}

.progress-bar__fill {
    height: 100%;
    width: 0%;
    /* start empty */
    background-color: #00BFA5;
    transition: width 0.3s ease;
}


/* Quiz Container */

.quiz-container {
    margin-top: 20px;
}

.quiz-question {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.45rem;
    color: #1A1A1A;
}

.quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.quiz-error {
    color: red;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: none;
}

.quiz-controls {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.quiz-subtitle {
    background-color: #fff;
    border: 2px solid #00BFA5;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: .9rem;
    color: #4A4A4A;
    font-weight: 500;
    line-height: 1.4;
}

/* Form */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4d4d4d;
    margin-bottom: 4px;
}

.form-group input[type='text'],
.form-group input[type='email'] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input[type='text']:focus,
.form-group input[type='email']:focus {
    outline: 2px solid #1976D2;
}

/* Error highlighting */
.form-group.error input {
    border: 2px solid red;
}

.form-group.error .error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Disclaimer */
.form-disclaimer {
    font-size: 0.875rem;
    margin-top: 12px;
    color: #555;
    line-height: 1.4;
}

/* Footer */

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer img {
    height: 60px;
    width: auto;
    display: block;
}

.footer p,
.footer a {
    margin: 0.25rem 0;
    font-weight: 600;
    font-size: 0.7rem;
    color: #333;
    text-align: center;
    text-decoration: none;
}

.footer a {
    color: #0077be;
}