@font-face {
    font-family: "Octobre Script";
    src: url("fonts/DancingScript-Variable.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Octobre Sans";
    src: url("fonts/RobotoCondensed-Variable.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;
    --rose-700: #e31b72;
    --rose-600: #e92a7c;
    --rose-500: #f06aa4;
    --rose-300: #f7a7c8;
    --rose-200: #ffd8e8;
    --rose-100: #fdeaf3;
    --rose-text: #c1155f;
    --paper: #fff7fb;
    --white: #ffffff;
    --ink: #0b3353;
    --muted-ink: #466178;
    --danger: #b42345;
    --shadow: 0 18px 44px rgb(118 14 65 / 16%);
    --sans: "Octobre Sans", "Arial Narrow", Arial, sans-serif;
    --script: "Octobre Script", "Segoe Script", cursive;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--paper);
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 15%, rgb(255 255 255 / 85%) 0 13%, transparent 31%),
        linear-gradient(135deg, #fffafd 0%, #fff3f9 55%, #ffe9f3 100%);
    font-family: var(--sans);
    line-height: 1.25;
}

button,
input {
    font: inherit;
}

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

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.honeypot {
    position: fixed;
    inset-inline-start: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.app-shell {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

.site-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(76px, 10vw, 124px);
    padding: clamp(10px, 1.5vw, 22px) clamp(22px, 5vw, 84px);
    border-bottom: 1px solid rgb(227 27 114 / 8%);
}

.brand {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 24px);
}

.brand-ribbon {
    width: clamp(46px, 5.5vw, 76px);
    height: auto;
    filter: drop-shadow(0 5px 8px rgb(174 21 88 / 14%));
}

.brand-copy,
.brand-title,
.brand-subtitle,
.header-message p,
.header-message small {
    margin: 0;
}

.install-button {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px 14px;
    gap: 8px;
    color: var(--rose-text);
    border: 2px solid rgb(193 21 95 / 24%);
    border-radius: 999px;
    background: rgb(255 255 255 / 86%);
    box-shadow: 0 7px 18px rgb(118 14 65 / 10%);
    font-size: .93rem;
    font-weight: 700;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.install-button:hover {
    border-color: var(--rose-500);
    box-shadow: 0 9px 21px rgb(118 14 65 / 17%);
    transform: translate(-50%, calc(-50% - 1px));
}

.install-button:focus-visible,
.dialog-close:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.install-button svg,
.install-dialog-icon svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.install-dialog {
    width: min(90vw, 520px);
    padding: clamp(22px, 4vw, 34px);
    color: var(--ink);
    border: 1px solid rgb(227 27 114 / 18%);
    border-radius: 26px;
    background: var(--paper);
    box-shadow: 0 24px 70px rgb(65 8 34 / 30%);
    font-family: var(--sans);
}

.install-dialog::backdrop {
    background: rgb(40 12 27 / 47%);
    backdrop-filter: blur(5px);
}

.install-dialog.is-open-fallback {
    position: fixed;
    z-index: 20;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
}

.install-dialog-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.install-dialog-icon {
    display: grid;
    width: 52px;
    height: 52px;
    color: var(--white);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rose-700), #d9186c);
    place-items: center;
}

.dialog-kicker,
.install-dialog h2,
.install-dialog > p {
    margin: 0;
}

.dialog-kicker {
    color: var(--rose-text);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.install-dialog h2 {
    margin-top: 2px;
    color: var(--rose-700);
    font-size: clamp(1.55rem, 4vw, 2rem);
    line-height: 1;
}

.dialog-close {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0 0 3px;
    color: var(--ink);
    border: 0;
    border-radius: 50%;
    background: var(--rose-100);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    place-items: center;
}

.install-dialog > p {
    margin-top: 20px;
    color: var(--muted-ink);
    font-size: 1.08rem;
}

.install-steps {
    display: grid;
    padding: 0;
    margin: 22px 0;
    gap: 13px;
    list-style: none;
}

.install-steps li {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    min-height: 50px;
    padding: 8px 10px;
    gap: 12px;
    border-radius: 14px;
    background: rgb(253 234 243 / 68%);
}

.install-step-number {
    display: grid;
    width: 34px;
    height: 34px;
    color: var(--white);
    border-radius: 50%;
    background: var(--rose-700);
    font-weight: 800;
    place-items: center;
}

.install-understood {
    width: 100%;
}

.brand-title {
    color: var(--rose-700);
    font-family: var(--script);
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    font-weight: 600;
    line-height: .8;
    letter-spacing: -.045em;
}

.brand-subtitle {
    margin-top: .4rem;
    color: var(--rose-700);
    font-size: clamp(.9rem, 1.45vw, 1.45rem);
    letter-spacing: .01em;
}

.header-message {
    display: grid;
    justify-items: center;
    min-width: 32vw;
    color: var(--rose-700);
}

.header-message p {
    font-family: var(--script);
    font-size: clamp(1.8rem, 3.2vw, 3.35rem);
    font-weight: 600;
    line-height: 1;
    transform: rotate(-2deg);
}

.header-message p span {
    display: inline-block;
    margin-inline-start: .4em;
    font-family: var(--sans);
    font-size: .8em;
    transform: rotate(7deg);
}

.header-underline {
    width: 72%;
    height: 12px;
    margin-block: 1px 3px;
    border-top: 3px solid var(--rose-700);
    border-radius: 50%;
    transform: rotate(-2deg);
}

.header-message small {
    color: #9e164f;
    font-size: clamp(.58rem, 1vw, .96rem);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.survey-main {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 0;
    place-items: center;
    padding: clamp(8px, 1.5vw, 18px) 16px;
}

.survey-card {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(94vw, 720px);
    min-height: min(690px, calc(100svh - 238px));
    overflow: hidden;
    border: 1px solid rgb(227 27 114 / 12%);
    border-radius: clamp(20px, 3vw, 32px);
    background: rgb(255 255 255 / 78%);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.survey-card::before,
.survey-card::after {
    position: absolute;
    z-index: -1;
    inset-inline: -15%;
    bottom: -9%;
    height: 25%;
    content: "";
    border-radius: 50% 48% 0 0 / 54% 58% 0 0;
    background: var(--rose-100);
    transform: rotate(2deg);
}

.survey-card::after {
    inset-inline-start: -5%;
    inset-inline-end: -24%;
    bottom: -13%;
    background: rgb(255 216 232 / 65%);
    transform: rotate(-3deg);
}

.survey-topbar {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    min-height: 66px;
    padding: 12px clamp(16px, 3vw, 28px) 2px;
}

.icon-button {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--rose-700);
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    place-items: center;
}

.icon-button svg {
    width: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.icon-button:hover {
    background: var(--rose-100);
}

.progress {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(48px, 1fr));
    width: min(100%, 390px);
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.progress li {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
}

.progress li:not(:first-child)::before {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 50%;
    width: 100%;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--rose-300), var(--rose-200));
    transform: translateY(-50%);
}

.progress span {
    display: grid;
    width: clamp(36px, 5vw, 42px);
    height: clamp(36px, 5vw, 42px);
    color: var(--rose-text);
    border-radius: 50%;
    background: var(--rose-100);
    font-size: 1.12rem;
    font-weight: 700;
    place-items: center;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.progress .is-current span {
    color: var(--white);
    background: var(--rose-700);
    box-shadow: 0 5px 15px rgb(227 27 114 / 25%);
    transform: scale(1.07);
}

.progress .is-complete span {
    color: var(--rose-text);
    background: var(--rose-200);
}

.survey-step {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 0;
    padding: clamp(8px, 1.5vw, 16px) clamp(22px, 5vw, 52px) clamp(20px, 3vw, 34px);
    animation: step-in .26s ease both;
}

@keyframes step-in {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-illustration {
    display: grid;
    width: clamp(98px, 15vw, 132px);
    height: clamp(98px, 15vw, 132px);
    margin: 2px auto clamp(10px, 1.8vw, 18px);
    border-radius: 50%;
    background: radial-gradient(circle at 42% 30%, #fff7fb, var(--rose-100));
    place-items: center;
}

.line-icon {
    width: 68%;
    height: 68%;
    overflow: visible;
    fill: none;
    stroke: var(--rose-700);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.5;
}

.line-icon .filled-heart,
.face .face-fill,
.face .smile-fill,
.home-fill {
    fill: currentColor;
    stroke: none;
}

.question-fieldset {
    display: grid;
    align-content: start;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.question-title {
    display: block;
    width: 100%;
    max-width: 590px;
    padding: 0;
    margin: 0 auto clamp(20px, 3vh, 32px);
    color: var(--ink);
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.question-title strong {
    color: var(--rose-700);
    font-weight: 800;
}

.binary-options {
    display: grid;
    gap: 12px;
}

.choice-row {
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 9px 22px;
    gap: 18px;
    border: 2px solid rgb(227 27 114 / 13%);
    border-radius: 15px;
    background: rgb(255 255 255 / 45%);
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.choice-row:hover {
    border-color: rgb(227 27 114 / 36%);
    background: rgb(255 255 255 / 76%);
}

.choice-row input,
.rating-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.radio-control {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 2px solid #bb6290;
    border-radius: 50%;
    background: var(--white);
}

.radio-control::after {
    position: absolute;
    inset: 6px;
    content: "";
    border-radius: 50%;
    background: var(--rose-700);
    opacity: 0;
    transform: scale(.45);
    transition: opacity .18s ease, transform .18s ease;
}

.choice-row:has(input:checked) {
    border-color: var(--rose-500);
    background: var(--rose-100);
    box-shadow: 0 5px 16px rgb(227 27 114 / 9%);
}

.choice-row input:checked + .radio-control::after {
    opacity: 1;
    transform: scale(1);
}

.choice-row input:focus-visible + .radio-control {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.choice-row:has(input:focus-visible),
.rating-choice:has(input:focus-visible),
.button:focus-visible,
.icon-button:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.step-actions {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 14px;
    align-self: end;
    padding-top: clamp(18px, 3vh, 30px);
}

.step-actions-single {
    grid-template-columns: 1fr;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 10px clamp(15px, 3vw, 30px);
    gap: 11px;
    border: 0;
    border-radius: 14px;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
    transition: box-shadow .18s ease, opacity .18s ease, transform .18s ease;
}

.button svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--rose-700), #d9186c);
    box-shadow: 0 9px 20px rgb(227 27 114 / 21%);
}

.button-secondary {
    color: var(--rose-text);
    background: var(--rose-100);
}

.button:hover:not(:disabled) {
    box-shadow: 0 11px 24px rgb(227 27 114 / 26%);
    transform: translateY(-1px);
}

.button:active:not(:disabled) {
    transform: translateY(1px);
}

.button:disabled {
    opacity: .46;
    box-shadow: none;
    cursor: not-allowed;
}

.rating-step {
    grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.rating-fieldset {
    align-content: center;
}

.rating-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    align-items: start;
    gap: clamp(5px, 1.4vw, 14px);
    margin-inline: auto;
}

.rating-choice {
    --face-color: var(--rose-700);
    display: grid;
    min-width: 0;
    color: var(--ink);
    font-size: clamp(.72rem, 1.5vw, .93rem);
    line-height: 1.05;
    text-align: center;
    cursor: pointer;
    place-items: center;
}

.rating-1 { --face-color: #e52652; }
.rating-2 { --face-color: #e23683; }
.rating-3 { --face-color: #dc684e; }
.rating-4 { --face-color: #e32178; }
.rating-5 { --face-color: #df1972; }

.face {
    display: grid;
    width: clamp(56px, 9vw, 76px);
    height: clamp(56px, 9vw, 76px);
    margin-bottom: 8px;
    color: var(--face-color);
    border-radius: 50%;
    background: rgb(255 255 255 / 58%);
    place-items: center;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.face svg {
    width: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.rating-choice:hover .face,
.rating-choice:has(input:checked) .face {
    background: var(--rose-100);
    box-shadow: 0 6px 16px rgb(227 27 114 / 17%);
    transform: translateY(-3px) scale(1.05);
}

.rating-choice input:checked + .face {
    background: var(--rose-100);
    box-shadow: 0 6px 16px rgb(227 27 114 / 17%);
    transform: translateY(-3px) scale(1.05);
}

.rating-choice:has(input:checked) .face {
    outline: 3px solid var(--face-color);
    outline-offset: 3px;
}

.rating-choice input:checked + .face {
    outline: 3px solid var(--face-color);
    outline-offset: 3px;
}

.rating-choice input:focus-visible + .face {
    box-shadow: 0 0 0 3px var(--ink), 0 6px 16px rgb(227 27 114 / 17%);
}

.submit-error {
    padding: 8px 12px;
    margin: 6px 0 -8px;
    color: var(--danger);
    border-radius: 10px;
    background: #fff0f3;
    font-weight: 700;
    text-align: center;
}

.thank-step {
    grid-template-rows: auto auto 1fr auto;
    justify-items: center;
    text-align: center;
}

.thank-illustration {
    width: clamp(126px, 20vw, 174px);
    margin: 0 auto 4px;
}

.thank-illustration svg {
    display: block;
    width: 100%;
    overflow: visible;
}

.heart-shape {
    fill: var(--rose-500);
}

.heart-shine {
    fill: rgb(255 255 255 / 20%);
}

.ribbon-shape {
    fill: #fff8fb;
    filter: drop-shadow(0 2px 2px rgb(137 20 71 / 14%));
}

.thank-copy h2 {
    margin: 0;
    color: var(--rose-700);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.05;
}

.thank-copy > p:not(.script-message) {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

.script-message {
    margin: 10px 0 0;
    color: var(--rose-700);
    font-family: var(--script);
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 600;
    line-height: .95;
    transform: rotate(-4deg);
}

.script-message span {
    font-family: var(--sans);
}

.reset-notice {
    align-self: end;
    margin: 8px 0 0;
    color: var(--muted-ink);
    font-size: .92rem;
}

.site-footer {
    position: relative;
    z-index: 1;
    min-height: clamp(74px, 10vw, 126px);
    overflow: hidden;
    color: #a31555;
}

.footer-waves,
.footer-waves::before,
.footer-waves::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.footer-waves {
    inset: 12% -8% -75%;
    border-radius: 50% 48% 0 0 / 55% 62% 0 0;
    background: linear-gradient(110deg, var(--rose-200), #f9a9cd 70%, var(--rose-700));
    transform: rotate(-1deg);
}

.footer-waves::before {
    inset: 8% 31% 43% -5%;
    border-radius: 50%;
    background: rgb(255 255 255 / 42%);
    transform: rotate(5deg);
}

.footer-waves::after {
    inset: 27% -8% 8% 52%;
    border-radius: 50%;
    background: rgb(227 27 114 / 18%);
    transform: rotate(-7deg);
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(190px, .8fr) 1.4fr minmax(180px, .7fr);
    align-items: center;
    min-height: inherit;
    padding: 15px clamp(24px, 5vw, 76px) 8px;
    gap: 24px;
}

.footer-care,
.footer-together {
    font-family: var(--script);
    font-size: clamp(1.45rem, 2.5vw, 2.55rem);
    font-weight: 600;
    line-height: .9;
}

.footer-care {
    display: grid;
}

.footer-care small {
    margin-top: 8px;
    font-family: var(--sans);
    font-size: clamp(.62rem, 1vw, .88rem);
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-values {
    display: flex;
    align-items: end;
    justify-content: space-evenly;
    gap: 20px;
}

.footer-values > span {
    display: grid;
    justify-items: center;
    font-size: clamp(.8rem, 1.4vw, 1.05rem);
    gap: 3px;
}

.footer-values b {
    font-family: Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 400;
    line-height: .7;
}

.footer-values svg {
    width: 35px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.footer-together {
    justify-self: end;
    color: var(--white);
    transform: rotate(-4deg);
}

.footer-together span {
    font-family: Arial, sans-serif;
}

@media (max-width: 850px) {
    .site-header {
        justify-content: center;
        min-height: 82px;
        padding-block: 10px 6px;
    }

    .header-message {
        display: none;
    }

    .install-button {
        right: max(14px, env(safe-area-inset-right));
        left: auto;
        width: 48px;
        padding: 0;
        transform: translateY(-50%);
    }

    .install-button:hover {
        transform: translateY(calc(-50% - 1px));
    }

    .install-button span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .brand-ribbon {
        width: 50px;
    }

    .brand-title {
        font-size: clamp(2.55rem, 8vw, 3.6rem);
    }

    .brand-subtitle {
        font-size: clamp(.82rem, 2.8vw, 1.1rem);
    }

    .survey-card {
        width: min(94vw, 670px);
        min-height: min(720px, calc(100svh - 190px));
    }

    .site-footer {
        min-height: 78px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 78px;
        padding-block: 14px 4px;
    }

    .footer-values,
    .footer-together {
        display: none;
    }

    .footer-care {
        text-align: center;
    }
}

@media (display-mode: standalone), (display-mode: fullscreen) {
    .install-button {
        display: none !important;
    }

    .app-shell {
        min-height: 100dvh;
    }
}

@media (max-width: 600px) {
    .survey-main {
        padding-inline: 8px;
    }

    .survey-card {
        width: 100%;
        border-radius: 20px;
    }

    .survey-step {
        padding-inline: 16px;
    }

    .step-actions {
        gap: 9px;
    }

    .button {
        padding-inline: 12px;
    }

    .rating-options {
        grid-template-columns: repeat(5, minmax(54px, 1fr));
    }

    .rating-choice {
        font-size: .69rem;
    }
}

@media (orientation: landscape) and (max-height: 850px) {
    .site-header {
        min-height: 66px;
        padding-block: 7px;
    }

    .brand-ribbon {
        width: 42px;
    }

    .brand-title {
        font-size: 2.65rem;
    }

    .brand-subtitle {
        margin-top: 2px;
        font-size: .88rem;
    }

    .header-message p {
        font-size: 2rem;
    }

    .header-message small {
        font-size: .61rem;
    }

    .survey-main {
        padding-block: 6px;
    }

    .survey-card {
        width: min(78vw, 780px);
        min-height: 0;
        height: calc(100svh - 140px);
        max-height: 620px;
        border-radius: 22px;
    }

    .survey-topbar {
        min-height: 51px;
        padding-top: 4px;
    }

    .progress span {
        width: 34px;
        height: 34px;
        font-size: .95rem;
    }

    .survey-step {
        padding: 2px 34px 14px;
    }

    .step-illustration {
        width: 82px;
        height: 82px;
        margin-bottom: 5px;
    }

    .question-title {
        margin-bottom: 12px;
        font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    }

    .binary-options {
        gap: 8px;
    }

    .choice-row {
        min-height: 50px;
        padding-block: 5px;
    }

    .radio-control {
        width: 29px;
        height: 29px;
    }

    .step-actions {
        padding-top: 10px;
    }

    .button {
        min-height: 51px;
    }

    .rating-step .step-illustration {
        width: 74px;
        height: 74px;
    }

    .rating-step .question-title {
        margin-bottom: 8px;
    }

    .face {
        width: 57px;
        height: 57px;
        margin-bottom: 5px;
    }

    .thank-illustration {
        width: 115px;
    }

    .thank-copy h2 {
        font-size: 2rem;
    }

    .thank-copy > p:not(.script-message) {
        margin-top: 6px;
        font-size: 1rem;
    }

    .script-message {
        margin-top: 5px;
        font-size: 1.8rem;
    }

    .site-footer,
    .footer-content {
        min-height: 62px;
    }

    .footer-content {
        padding-block: 8px 2px;
    }

    .footer-care {
        font-size: 1.4rem;
    }

    .footer-care small {
        margin-top: 5px;
        font-size: .58rem;
    }
}

@media (orientation: landscape) and (min-width: 851px) and (max-height: 850px) {
    .footer-content {
        grid-template-columns: .8fr 1.25fr .7fr;
    }

    .footer-care,
    .footer-together {
        font-size: clamp(1.3rem, 2vw, 1.75rem);
    }

    .footer-values > span {
        font-size: .78rem;
    }

    .footer-values b {
        font-size: 1.7rem;
    }

    .footer-values svg {
        width: 28px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
