.af-questionnaire,
.af-questionnaire * {
box-sizing: border-box;
} .af-questionnaire [hidden] {
display: none !important;
}
.af-questionnaire {
font-family: var(--af-font, inherit);
color: var(--af-text, #26211d);
background: var(--af-background, #fff7ef);
background:
radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--af-accent, #f2a65a) 16%, transparent) 0, transparent 30%),
radial-gradient(circle at 92% 90%, color-mix(in srgb, var(--af-primary, #bf5600) 12%, transparent) 0, transparent 34%),
var(--af-background, #fff7ef);
padding: clamp(16px, 4vw, 48px);
border-radius: calc(var(--af-radius, 24px) + 8px);
line-height: 1.55;
}
.af-card {
position: relative;
width: min(100%, 800px);
min-height: 560px;
margin: 0 auto;
padding: clamp(24px, 5vw, 56px);
background: var(--af-surface, #ffffff);
border: 1px solid var(--af-border, #edd7c4);
border-radius: var(--af-radius, 24px);
box-shadow: var(--af-shadow, 0 20px 55px rgba(24, 28, 48, .18));
overflow: hidden;
}
.af-card::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 5px;
background: linear-gradient(90deg, var(--af-primary, #bf5600), var(--af-accent, #f2a65a));
}
.af-logo-wrap {
margin: 0 0 24px;
text-align: center;
}
.af-logo {
max-width: min(260px, 70%);
max-height: 96px;
width: auto;
height: auto;
}
.af-intro,
.af-success {
text-align: center;
}
.af-kicker {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
padding: 7px 12px;
border-radius: 999px;
background: color-mix(in srgb, var(--af-accent, #f2a65a) 14%, transparent);
color: var(--af-primary, #bf5600);
font-size: .82rem;
font-weight: 750;
letter-spacing: .08em;
text-transform: uppercase;
}
.af-title {
margin: 0 0 18px;
color: var(--af-primary, #bf5600);
font-family: inherit;
font-size: clamp(2rem, 6vw, 3.65rem);
font-weight: 800;
line-height: 1.06;
letter-spacing: -.035em;
}
.af-lead {
max-width: 610px;
margin: 0 auto 28px;
font-size: clamp(1rem, 2vw, 1.16rem);
}
.af-lead p {
margin: 0 0 12px;
}
.af-privacy-note {
display: grid;
grid-template-columns: auto 1fr;
gap: 12px;
max-width: 620px;
margin: 26px auto 12px;
padding: 17px 18px;
text-align: left;
background: color-mix(in srgb, var(--af-success, #34715c) 9%, var(--af-surface, #ffffff));
border: 1px solid color-mix(in srgb, var(--af-success, #34715c) 24%, transparent);
border-radius: calc(var(--af-radius, 24px) * .65);
}
.af-privacy-note p {
margin: 0;
font-size: .93rem;
}
.af-privacy-note__icon {
display: grid;
place-items: center;
width: 26px;
height: 26px;
border-radius: 50%;
background: var(--af-success, #34715c);
color: white;
font-weight: 800;
}
.af-small-link {
margin: 12px 0 28px;
font-size: .9rem;
}
.af-small-link a {
color: var(--af-primary, #bf5600);
text-underline-offset: 3px;
}
.af-form[hidden],
.af-step[hidden],
.af-success[hidden],
.af-other-field[hidden] {
display: none !important;
}
.af-progress-wrap {
margin-bottom: clamp(30px, 5vw, 48px);
}
.af-progress-copy {
display: flex;
justify-content: space-between;
gap: 16px;
margin-bottom: 12px;
font-size: .88rem;
font-weight: 700;
}
.af-progress-message {
color: color-mix(in srgb, var(--af-text, #26211d) 68%, transparent);
font-weight: 500;
text-align: right;
}
.af-progress {
position: relative;
display: grid;
grid-template-columns: repeat(10, 1fr);
align-items: center;
gap: 4px;
min-height: 28px;
}
.af-progress::before,
.af-progress::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 1px;
background: var(--af-border, #edd7c4);
z-index: 0;
}
.af-progress::before { top: 9px; }
.af-progress::after { top: 18px; }
.af-progress__note {
position: relative;
z-index: 1;
display: grid;
place-items: center;
width: 24px;
height: 24px;
margin: 0 auto;
border-radius: 50%;
background: var(--af-surface, #ffffff);
color: color-mix(in srgb, var(--af-text, #26211d) 28%, transparent);
font-size: 1.05rem;
transition: transform .22s ease, color .22s ease, background .22s ease;
}
.af-progress__note.is-complete,
.af-progress__note.is-current {
background: var(--af-primary, #bf5600);
color: white;
}
.af-progress__note.is-current {
transform: translateY(-2px) scale(1.13);
box-shadow: 0 4px 12px color-mix(in srgb, var(--af-primary, #bf5600) 30%, transparent);
}
.af-step {
animation: af-step-in .24s ease both;
}
@keyframes af-step-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.af-step fieldset {
min-width: 0;
margin: 0;
padding: 0;
border: 0;
}
.af-question {
display: block;
width: 100%;
margin: 0 0 12px;
color: var(--af-primary, #bf5600);
font-size: clamp(1.45rem, 4vw, 2.25rem);
font-weight: 790;
line-height: 1.18;
letter-spacing: -.02em;
}
.af-question:focus {
outline: none;
}
.af-question-help {
margin: 0 0 22px;
color: color-mix(in srgb, var(--af-text, #26211d) 68%, transparent);
}
.af-options {
display: grid;
grid-template-columns: 1fr;
gap: 11px;
margin-top: 24px;
}
.af-options--two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.af-option {
position: relative;
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 12px;
min-height: 58px;
padding: 13px 15px;
border: 1px solid var(--af-border, #edd7c4);
border-radius: calc(var(--af-radius, 24px) * .62);
background: var(--af-surface, #ffffff);
cursor: pointer;
transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.af-option:hover {
border-color: color-mix(in srgb, var(--af-primary, #bf5600) 55%, var(--af-border, #edd7c4));
transform: translateY(-1px);
}
.af-option:has(input:focus-visible) {
outline: 3px solid color-mix(in srgb, var(--af-accent, #f2a65a) 42%, transparent);
outline-offset: 2px;
}
.af-option:has(input:checked) {
border-color: var(--af-primary, #bf5600);
background: color-mix(in srgb, var(--af-primary, #bf5600) 7%, var(--af-surface, #ffffff));
box-shadow: 0 7px 18px color-mix(in srgb, var(--af-primary, #bf5600) 10%, transparent);
}
.af-option:has(input:disabled) {
opacity: .48;
cursor: not-allowed;
transform: none;
}
.af-option input,
.af-rating input,
.af-scale__item input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
white-space: nowrap;
}
.af-option__mark {
display: grid;
place-items: center;
width: 23px;
height: 23px;
border: 2px solid color-mix(in srgb, var(--af-text, #26211d) 34%, transparent);
border-radius: 50%;
background: var(--af-surface, #ffffff);
}
.af-option--checkbox .af-option__mark {
border-radius: 7px;
}
.af-option input:checked + .af-option__mark {
border-color: var(--af-primary, #bf5600);
background: var(--af-primary, #bf5600);
}
.af-option input:checked + .af-option__mark::after {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: white;
}
.af-option--checkbox input:checked + .af-option__mark::after {
width: 9px;
height: 5px;
border: 0 solid white;
border-width: 0 0 2px 2px;
border-radius: 0;
background: transparent;
transform: rotate(-45deg) translateY(-1px);
}
.af-option__label {
font-size: .98rem;
font-weight: 620;
line-height: 1.3;
}
.af-rating-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
margin-top: 30px;
}
.af-rating {
position: relative;
display: flex;
min-height: 142px;
padding: 15px 8px;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
text-align: center;
border: 1px solid var(--af-border, #edd7c4);
border-radius: calc(var(--af-radius, 24px) * .62);
cursor: pointer;
transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.af-rating:hover {
transform: translateY(-2px);
}
.af-rating:has(input:focus-visible) {
outline: 3px solid color-mix(in srgb, var(--af-accent, #f2a65a) 42%, transparent);
outline-offset: 2px;
}
.af-rating:has(input:checked) {
border-color: var(--af-primary, #bf5600);
background: color-mix(in srgb, var(--af-primary, #bf5600) 8%, var(--af-surface, #ffffff));
transform: translateY(-3px);
}
.af-rating__emoji {
font-size: clamp(1.7rem, 4vw, 2.35rem);
line-height: 1;
}
.af-rating__value {
font-size: 1.1rem;
font-weight: 800;
color: var(--af-primary, #bf5600);
}
.af-rating__label {
font-size: .76rem;
line-height: 1.2;
}
.af-scale {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
margin-top: 30px;
}
.af-scale__item {
position: relative;
display: flex;
min-height: 118px;
padding: 14px 7px;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
text-align: center;
border: 1px solid var(--af-border, #edd7c4);
border-radius: calc(var(--af-radius, 24px) * .62);
cursor: pointer;
transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.af-scale__item:hover { transform: translateY(-2px); }
.af-scale__item:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--af-accent, #f2a65a) 42%, transparent); outline-offset: 2px; }
.af-scale__item:has(input:checked) { border-color: var(--af-primary, #bf5600); background: color-mix(in srgb, var(--af-primary, #bf5600) 8%, var(--af-surface, #ffffff)); }
.af-scale__number {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border-radius: 50%;
background: color-mix(in srgb, var(--af-primary, #bf5600) 10%, transparent);
color: var(--af-primary, #bf5600);
font-weight: 800;
}
.af-scale__item:has(input:checked) .af-scale__number {
background: var(--af-primary, #bf5600);
color: white;
}
.af-scale__label {
font-size: .78rem;
line-height: 1.2;
}
.af-other-field {
margin-top: 16px;
padding: 16px;
background: color-mix(in srgb, var(--af-accent, #f2a65a) 8%, transparent);
border-radius: calc(var(--af-radius, 24px) * .55);
}
.af-other-field label {
display: block;
margin-bottom: 7px;
font-weight: 700;
}
.af-other-field input,
.af-question-block textarea {
width: 100%;
max-width: none;
margin: 0;
padding: 13px 14px;
color: var(--af-text, #26211d);
background: white;
border: 1px solid var(--af-border, #edd7c4);
border-radius: calc(var(--af-radius, 24px) * .48);
font: inherit;
line-height: 1.5;
}
.af-question-block textarea {
min-height: 150px;
resize: vertical;
}
.af-other-field input:focus,
.af-question-block textarea:focus {
outline: 3px solid color-mix(in srgb, var(--af-accent, #f2a65a) 36%, transparent);
border-color: var(--af-primary, #bf5600);
}
.af-text-meta {
display: flex;
justify-content: space-between;
gap: 16px;
margin-top: 8px;
font-size: .8rem;
color: color-mix(in srgb, var(--af-text, #26211d) 64%, transparent);
}
.af-navigation {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 14px;
width: 100%;
min-width: 0;
margin-top: clamp(30px, 6vw, 52px);
padding-top: 22px;
border-top: 1px solid var(--af-border, #edd7c4);
}
.af-button {
appearance: none;
display: inline-flex;
min-width: 0;
max-width: 100%;
min-height: 48px;
padding: 11px 20px;
align-items: center;
justify-content: center;
gap: 9px;
font: inherit;
font-weight: 750;
line-height: 1.2;
text-align: center;
white-space: normal;
overflow-wrap: anywhere;
text-decoration: none;
border: 1px solid transparent;
border-radius: 999px;
cursor: pointer;
transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}
.af-button:hover { transform: translateY(-1px); }
.af-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--af-accent, #f2a65a) 50%, transparent); outline-offset: 3px; }
.af-button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.af-button--primary {
color: white;
background: var(--af-primary, #bf5600);
box-shadow: 0 9px 22px color-mix(in srgb, var(--af-primary, #bf5600) 24%, transparent);
}
.af-button--primary:hover { color: white; box-shadow: 0 12px 28px color-mix(in srgb, var(--af-primary, #bf5600) 32%, transparent); }
.af-button--secondary { color: var(--af-primary, #bf5600); background: color-mix(in srgb, var(--af-accent, #f2a65a) 18%, white); border-color: color-mix(in srgb, var(--af-accent, #f2a65a) 45%, transparent); }
.af-button--ghost { color: var(--af-primary, #bf5600); background: transparent; border-color: var(--af-border, #edd7c4); }
.af-error {
margin: 18px 0 0;
padding: 12px 14px;
color: #7f1d1d;
background: #fff1f1;
border: 1px solid #e7b4b4;
border-radius: 12px;
font-weight: 650;
}
.af-live {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
}
.af-honeypot {
position: absolute !important;
left: -10000px !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
}
.af-success {
animation: af-step-in .3s ease both;
}
.af-composition {
display: flex;
justify-content: center;
gap: 12px;
margin: 4px 0 18px;
color: var(--af-accent, #f2a65a);
font-size: clamp(1.8rem, 5vw, 3rem);
}
.af-composition span:nth-child(even) { transform: translateY(-7px); }
.af-google-card {
max-width: 600px;
margin: 28px auto;
padding: 22px;
background: color-mix(in srgb, var(--af-accent, #f2a65a) 9%, var(--af-surface, #ffffff));
border: 1px solid color-mix(in srgb, var(--af-accent, #f2a65a) 28%, transparent);
border-radius: calc(var(--af-radius, 24px) * .7);
}
.af-google-card h3 { margin: 0 0 8px; color: var(--af-primary, #bf5600); font-size: 1.2rem; }
.af-google-card p { margin: 0 0 18px; font-size: .93rem; }
.af-noscript { margin: 20px 0 0; padding: 12px; border: 1px solid #d99; background: #fff4f4; }
@media (max-width: 680px) {
.af-questionnaire { padding: 10px; border-radius: 0; }
.af-card { min-height: 0; padding: 28px 18px 24px; border-radius: calc(var(--af-radius, 24px) * .75); }
.af-options--two { grid-template-columns: 1fr; }
.af-progress-copy { align-items: flex-start; flex-direction: column; gap: 3px; }
.af-progress-message { text-align: left; }
.af-rating-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; overflow: visible; padding-bottom: 0; }
.af-rating { min-height: 120px; padding: 10px 4px; }
.af-rating__label { font-size: .67rem; }
.af-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.af-scale__item { min-height: 104px; padding: 10px 3px; }
.af-scale__label { font-size: .68rem; }
.af-navigation {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: stretch;
gap: 9px;
}
.af-navigation .af-button { width: 100%; padding-inline: 13px; }
.af-navigation .af-button--ghost { justify-self: start; }
.af-navigation .af-button--primary { justify-self: end; }
.af-text-meta { flex-direction: column; gap: 3px; }
}
@media (max-width: 390px) {
.af-card { padding-inline: 14px; }
.af-navigation { grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); gap: 7px; }
.af-button { min-height: 46px; padding-inline: 10px; font-size: .84rem; }
.af-progress__note { width: 21px; height: 21px; font-size: .9rem; }
}
.af-questionnaire--no-motion *,
.af-questionnaire--no-motion *::before,
.af-questionnaire--no-motion *::after {
animation-duration: 0s !important;
transition-duration: 0s !important;
}
@media (prefers-reduced-motion: reduce) {
.af-questionnaire *,
.af-questionnaire *::before,
.af-questionnaire *::after {
animation-duration: .001ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
transition-duration: .001ms !important;
}
}
.af-intro-error {
max-width: 620px;
margin: 16px auto 0;
padding: 12px 14px;
color: #7f1d1d;
background: #fff1f1;
border: 1px solid #e7b4b4;
border-radius: 12px;
font-weight: 650;
text-align: left;
}