:root {
    --green: #2f80ed;
    --green-dark: #1f5fae;
    --green-deep: #0b2e59;
    --green-pale: #eaf4ff;
    --sage: #f3f8fd;
    --white: #ffffff;
    --ink: #18261f;
    --muted: #65746b;
    --line: #d7e6f5;
    --shadow: 0 18px 50px rgba(11, 46, 89, 0.10);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fbff 0%, #edf5fd 100%);
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-section {
    padding: 28px 0 0;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(47, 128, 237, 0.18);
    border-radius: 28px;
    background: #f5f9ff;
    box-shadow: var(--shadow);
}

.hero-poster-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-mobile-stack {
    display: none;
}

.hero-start-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: var(--green-deep);
    box-shadow: 0 12px 26px rgba(11, 46, 89, 0.22);
    color: var(--white);
    font-size: clamp(11px, 1.35vw, 17px);
    font-weight: 800;
    letter-spacing: 0.015em;
    text-decoration: none;
    cursor: pointer;
}

.hero-start-desktop {
    left: 64%;
    top: 84%;
    width: 25%;
    height: 7.5%;
}

.hero-start-button:hover {
    background: var(--green-dark);
}

.hero-start-button:focus-visible {
    outline: 4px solid #ffffff;
    outline-offset: 3px;
    box-shadow: 0 0 0 7px rgba(47, 128, 237, 0.55);
}

.hero-facts span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--green-deep);
    font-size: 12px;
    font-weight: 700;
}

.survey-section {
    padding: 30px 0 52px;
}

.survey-container {
    max-width: 900px;
}

.survey-card {
    scroll-margin-top: 20px;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.survey-topline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

.survey-topline strong {
    color: var(--green-dark);
}

.progress-track {
    width: 100%;
    height: 8px;
    margin-bottom: 34px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--green-pale);
}

.progress-fill {
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    transition: width 0.35s ease;
}

.question-area {
    max-width: 700px;
    margin: 0 auto 28px;
    text-align: center;
}

.question-area h2 {
    margin: 10px 0 12px;
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.question-area p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.answer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}

.answer-button {
    min-height: 70px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.answer-button:hover,
.answer-button.is-selected {
    transform: translateY(-2px);
    border-color: var(--green);
    background: #f8fbff;
    box-shadow: 0 10px 25px rgba(47, 128, 237, 0.14);
}

.answer-button:focus-visible,
.back-button:focus-visible {
    outline: 3px solid rgba(47, 128, 237, 0.28);
    outline-offset: 3px;
}

.answer-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--green-pale);
    color: var(--green-dark);
    font-size: 15px;
    font-weight: 800;
}

.answer-arrow {
    color: var(--green-dark);
    font-size: 19px;
}

.survey-actions {
    margin-top: 28px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.back-button {
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--green-pale);
    color: var(--green-dark);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.back-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.survey-actions p {
    max-width: 540px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
}

.testimonial-section {
    padding: 58px 0 68px;
    background: var(--white);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.035em;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.testimonial-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--sage);
}

.reviewer-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.reviewer-row img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border: 3px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 16px rgba(11, 46, 89, 0.13);
}

.reviewer-row h3 {
    color: var(--green-dark);
    font-size: 15px;
    line-height: 1.3;
}

.reviewer-row h3 span {
    display: block;
    margin-top: 2px;
    color: #8a6a2e;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.reviewer-row small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.testimonial-card > p {
    color: #5d6962;
    font-size: 14px;
    line-height: 1.7;
}

.footer-section {
    margin-top: auto;
    padding: 28px 0;
    background: var(--green-deep);
}

.footer-inner,
.footer-inner nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-inner nav {
    flex-wrap: wrap;
}

.footer-inner a,
.footer-inner p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 820px) {
    .hero-card {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero-poster-desktop,
    .hero-start-desktop {
        display: none;
    }

    .hero-mobile-stack {
        display: block;
    }

    .hero-mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero-mobile-panel {
        position: relative;
        margin-top: 8px;
    }

    .hero-start-mobile {
        left: 13%;
        top: 83%;
        width: 74%;
        height: 8%;
        font-size: clamp(12px, 3.8vw, 18px);
    }

    .answer-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 20px, 1120px);
    }

    .hero-section {
        padding-top: 12px;
    }

    .hero-start-button {
        border-radius: 6px;
    }

    .survey-section {
        padding: 18px 0 34px;
    }

    .survey-card {
        padding: 24px 16px;
        border-radius: 18px;
    }

    .survey-actions,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .survey-actions p {
        text-align: left;
    }

}
