.tdf-survey {
--tdf-cream: #fffaf0;
--tdf-paper: #ffffff;
--tdf-paper-solid: #ffffff;
--tdf-ink: #141313;
--tdf-muted: #6f6a61;
--tdf-soft: rgba(20, 19, 19, .065);
--tdf-line: rgba(20, 19, 19, .11);
--tdf-line-strong: rgba(20, 19, 19, .22);
--tdf-yellow: #ffd400;
--tdf-main-rgb: 255, 212, 0;
--tdf-yellow-soft: color-mix(in srgb, var(--tdf-yellow) 18%, #ffffff 82%);
--tdf-gradient: linear-gradient(90deg, var(--tdf-yellow), color-mix(in srgb, var(--tdf-yellow) 58%, #ffffff 42%));
--tdf-gradient-soft: linear-gradient(135deg, var(--tdf-yellow), color-mix(in srgb, var(--tdf-yellow) 30%, #ffffff 70%));
--tdf-radius-xl: 34px;
--tdf-radius-lg: 24px;
--tdf-radius-md: 17px;
--tdf-shadow: 0 30px 80px rgba(20, 19, 19, .105);
--tdf-shadow-soft: 0 16px 38px rgba(20, 19, 19, .08);
--tdf-focus: 0 0 0 4px rgba(var(--tdf-main-rgb), .32), 0 0 0 7px rgba(20, 19, 19, .035);
position: relative;
color: var(--tdf-ink);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tdf-survey *,
.tdf-survey *::before,
.tdf-survey *::after { box-sizing: border-box; }
body.tdf-survey-embed-mode {
margin: 0 !important;
background: transparent !important;
}
body.tdf-survey-embed-mode header,
body.tdf-survey-embed-mode footer,
body.tdf-survey-embed-mode .site-header,
body.tdf-survey-embed-mode .site-footer,
body.tdf-survey-embed-mode .wp-site-blocks > header,
body.tdf-survey-embed-mode .wp-site-blocks > footer {
display: none !important;
}
.tdf-survey button,
.tdf-survey input,
.tdf-survey select,
.tdf-survey textarea { font: inherit; }
.tdf-survey__page {
position: relative;
width: min(1200px, calc(100% - 32px));
margin: 0 auto;
padding: 20px 0 66px;
}
.tdf-survey__page::before { display: none; }
body.tdf-survey-embed-mode .tdf-survey__page {
padding: 20px 0 34px;
width: min(1200px, calc(100% - 16px));
}
.tdf-survey__shell {
display: grid;
grid-template-columns: 405px minmax(0, 1fr);
gap: 28px;
align-items: start;
}
.tdf-survey__side-card,
.tdf-survey__form-card {
position: relative;
border: 1px solid rgba(20, 19, 19, .085);
border-radius: var(--tdf-radius-xl);
background: var(--tdf-card, #ffffff);
box-shadow: var(--tdf-shadow);
overflow: hidden;
}
.tdf-survey__side-card {
position: sticky;
top: 24px;
min-height: 680px;
background:
linear-gradient(180deg, var(--tdf-card, #ffffff) 0%, var(--tdf-card, #ffffff) 72%, rgba(var(--tdf-main-rgb), .07) 100%);
animation: tdfCardIn .5s cubic-bezier(.18, .95, .22, 1) both;
}
.tdf-survey__side-card::after {
content: "";
position: absolute;
left: -18%;
right: -18%;
bottom: -22%;
height: 220px;
pointer-events: none;
background: radial-gradient(ellipse at 50% 60%, rgba(var(--tdf-main-rgb), .09), transparent 60%);
opacity: .55;
}
.tdf-survey__form-card {
animation: tdfCardIn .58s cubic-bezier(.18, .95, .22, 1) .06s both;
}
@keyframes tdfCardIn {
from { opacity: 0; transform: translateY(18px) scale(.985); filter: saturate(.9); }
to { opacity: 1; transform: translateY(0) scale(1); filter: saturate(1); }
}
.tdf-survey__photo-panel {
position: relative;
min-height: 325px;
background: #e0d4bf;
border-bottom: 1px solid rgba(20,19,19,.10);
overflow: hidden;
}
.tdf-survey__photo-slot {
position: absolute;
inset: 0;
overflow: hidden;
background: #e0d4bf;
}
.tdf-survey__photo-slot::before { display: none; }
.tdf-survey__photo-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transform: scale(1.01);
filter: none;
animation: tdfPhotoFloat 12s ease-in-out infinite alternate;
}
@keyframes tdfPhotoFloat {
from { transform: scale(1.01) translate3d(0, 0, 0); }
to { transform: scale(1.055) translate3d(-4px, -3px, 0); }
}
.tdf-survey__side-content {
position: relative;
z-index: 1;
padding: 31px 32px 34px;
}
.tdf-survey .tdf-survey__side-content > h1,
.tdf-survey.tdf-survey .tdf-survey__side-content > h1 {
position: relative !important;
margin: 0 0 20px !important;
padding: 0 !important;
font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif !important;
font-weight: 400 !important;
font-style: normal !important;
font-size: clamp(37px, 4.05vw, 52px) !important;
line-height: .86 !important;
letter-spacing: -.022em !important;
text-transform: uppercase !important;
color: var(--tdf-ink) !important;
text-wrap: balance;
text-shadow: none !important;
}
.tdf-survey .tdf-survey__side-content > h1::after {
content: "";
display: block;
width: 94px;
height: 7px;
margin-top: 22px;
border-radius: 999px;
background: var(--tdf-yellow);
box-shadow: 0 10px 22px rgba(var(--tdf-main-rgb), .18);
}
.tdf-survey__intro-card {
display: grid;
gap: 13px;
margin: 0;
padding: 0;
border-radius: 0;
background: transparent;
border: 0;
}
.tdf-survey__intro-card p {
margin: 0;
color: var(--tdf-muted);
font-size: 15px;
line-height: 1.62;
font-weight: 640;
}
.tdf-survey__intro-card strong { color: var(--tdf-ink); }
.tdf-survey__tour-link {
position: relative;
display: block;
margin-top: 24px;
padding: 17px 18px;
border-radius: 22px;
color: var(--tdf-ink);
text-decoration: none;
background:
linear-gradient(135deg, rgba(var(--tdf-main-rgb), .18), rgba(255, 255, 255, .88));
border: 1px solid rgba(20,19,19,.11);
box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 14px 34px rgba(20,19,19,.055);
overflow: hidden;
transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tdf-survey__tour-link::after {
content: "↗";
position: absolute;
right: 17px;
top: 50%;
width: 32px;
height: 32px;
display: grid;
place-items: center;
border-radius: 999px;
background: var(--tdf-ink);
color: #fff;
font-size: 15px;
transform: translateY(-50%);
transition: transform .18s ease, background .18s ease;
}
.tdf-survey__tour-link span,
.tdf-survey__tour-link strong {
display: block;
padding-right: 44px;
}
.tdf-survey__tour-link span {
margin-bottom: 4px;
color: rgba(20,19,19,.58);
font-size: 11px;
font-weight: 930;
letter-spacing: .095em;
text-transform: uppercase;
}
.tdf-survey__tour-link strong {
color: var(--tdf-ink);
font-size: 16px;
line-height: 1.15;
font-weight: 940;
letter-spacing: -.025em;
}
.tdf-survey__tour-link:hover {
transform: translateY(-2px);
border-color: rgba(20,19,19,.18);
box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 18px 38px rgba(20,19,19,.08);
}
.tdf-survey__tour-link:hover::after {
transform: translateY(-50%) translateX(2px);
background: #000;
}
.tdf-survey__badge,
.tdf-survey__badge-dot,
.tdf-survey__progress-box,
.tdf-survey__progress-label,
.tdf-survey__progress-track,
.tdf-survey__progress-bar,
.tdf-survey__step-path,
.tdf-survey__step-marker { display: none; }
.tdf-survey__form { display: block; margin: 0; }
.tdf-survey__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tdf-survey__form-head {
position: relative;
padding: 38px 40px 29px;
border-bottom: 1px solid var(--tdf-line);
background:
linear-gradient(180deg, var(--tdf-card, #ffffff), var(--tdf-card, #ffffff)),
radial-gradient(circle at 96% 0%, rgba(var(--tdf-main-rgb), .10), transparent 14rem);
}
.tdf-survey__form-head::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
background: var(--tdf-yellow);
}
@keyframes tdfColorRun {
from { background-position: 0% 50%; }
to { background-position: 190% 50%; }
}
.tdf-survey__form-head h2 {
margin: 0 0 10px;
font-size: clamp(31px, 3.25vw, 48px);
line-height: .96;
letter-spacing: -.064em;
color: var(--tdf-ink);
text-wrap: balance;
}
.tdf-survey__form-head p {
margin: 0;
max-width: 62ch;
color: var(--tdf-muted);
font-size: 15.5px;
line-height: 1.58;
}
.tdf-survey__ride-progress {
padding: 18px 40px 4px;
background: #ffffff;
border-bottom: 1px solid rgba(20,19,19,.06);
}
.tdf-survey__ride-progress-top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
margin-bottom: 12px;
}
.tdf-survey__ride-progress-top span {
color: rgba(20,19,19,.58);
font-size: 11px;
font-weight: 930;
letter-spacing: .095em;
text-transform: uppercase;
}
.tdf-survey__ride-progress-top strong {
color: var(--tdf-ink);
font-size: 13px;
font-weight: 900;
}
.tdf-survey__ride-track {
position: relative;
height: 28px;
display: flex;
align-items: center;
padding-right: 0;
}
.tdf-survey__ride-track::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 8px;
border-radius: 999px;
background: rgba(20,19,19,.075);
transform: translateY(-50%);
box-shadow: inset 0 1px 2px rgba(20,19,19,.06);
}
.tdf-survey__ride-fill {
position: absolute;
left: 0;
top: 50%;
width: 0%;
height: 8px;
max-width: 100%;
border-radius: 999px;
background: var(--tdf-gradient);
transform: translateY(-50%);
transition: width .46s cubic-bezier(.18,.88,.2,1);
box-shadow: 0 8px 18px rgba(var(--tdf-main-rgb),.20);
}
.tdf-survey__ride-bike {
position: absolute;
left: 0%;
top: 50%;
width: 43px;
height: 36px;
display: grid;
place-items: center;
color: var(--tdf-ink);
background: transparent;
border: 0;
box-shadow: none !important;
filter: none !important;
text-shadow: none !important;
font-size: 0;
line-height: 1;
transform: translateY(-58%);
transition: left .46s cubic-bezier(.18,.88,.2,1), transform .24s ease;
z-index: 3;
pointer-events: none;
}
.tdf-survey__ride-bike::after { display: none; }
.tdf-survey__ride-bike[style] {
animation: tdfBikeWiggle .42s ease both;
}
.tdf-survey__bike-svg {
width: 42px;
height: 27px;
display: block;
overflow: visible;
filter: none !important;
box-shadow: none !important;
}
.tdf-survey__bike-svg circle,
.tdf-survey__bike-svg path {
fill: none;
stroke: currentColor;
stroke-width: 3.4;
stroke-linecap: round;
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
filter: none !important;
}
.tdf-survey__finish-line { display: none !important; }
@keyframes tdfBikeWiggle {
0% { transform: translateY(-58%) rotate(-3deg) scale(.98); }
56% { transform: translateY(-61%) rotate(2deg) scale(1.035); }
100% { transform: translateY(-58%) rotate(0) scale(1); }
}
.tdf-survey__step {
display: none;
padding: 36px 40px;
opacity: 0;
transform: translateY(12px) scale(.99);
}
.tdf-survey__step.is-active {
display: block;
animation: tdfStepIn .36s cubic-bezier(.2, .92, .2, 1) forwards;
}
@keyframes tdfStepIn {
to { opacity: 1; transform: translateY(0) scale(1); }
}
.tdf-survey__step h3 {
display: flex;
align-items: center;
gap: 13px;
margin: 0 0 26px;
font-size: 25px;
line-height: 1.08;
letter-spacing: -.045em;
color: var(--tdf-ink);
text-wrap: balance;
}
.tdf-survey__step h3 span {
flex: 0 0 auto;
width: 38px;
height: 38px;
display: grid;
place-items: center;
border-radius: 15px;
background: var(--tdf-gradient-soft);
font-size: 14px;
font-weight: 950;
box-shadow: 0 12px 24px rgba(var(--tdf-main-rgb),.18), inset 0 1px 0 rgba(255,255,255,.72);
}
.tdf-survey__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.tdf-survey__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tdf-survey__field {
display: grid;
gap: 8px;
margin-bottom: 18px;
}
.tdf-survey label,
.tdf-survey legend {
font-size: 14px;
font-weight: 880;
letter-spacing: -.01em;
color: var(--tdf-ink);
}
.tdf-survey legend em {
display: inline;
color: var(--tdf-muted);
font-style: normal;
font-size: 13px;
font-weight: 650;
}
.tdf-survey__hint {
color: var(--tdf-muted);
font-size: 13px;
line-height: 1.42;
}
.tdf-survey input[type="text"],
.tdf-survey input[type="number"],
.tdf-survey select,
.tdf-survey textarea {
width: 100%;
min-height: 53px;
border: 1px solid rgba(20,19,19,.13);
border-radius: 18px;
background: rgba(255,255,255,.78);
padding: 14px 16px;
color: var(--tdf-ink);
font-size: 15px;
outline: none;
box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.tdf-survey textarea {
min-height: 114px;
resize: vertical;
}
.tdf-survey input:focus,
.tdf-survey select:focus,
.tdf-survey textarea:focus {
border-color: rgba(20,19,19,.45);
box-shadow: var(--tdf-focus), inset 0 1px 0 rgba(255,255,255,.84);
background: white;
transform: translateY(-1px);
}
.tdf-survey fieldset {
margin: 0 0 25px;
padding: 0;
border: 0;
}
.tdf-survey__choice-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 11px;
margin-top: 12px;
}
.tdf-survey__choice-grid--1 { grid-template-columns: 1fr; }
.tdf-survey__choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tdf-survey__choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tdf-survey__choice {
position: relative;
display: flex;
align-items: center;
gap: 11px;
min-height: 57px;
padding: 14px 15px;
border: 1px solid rgba(20,19,19,.115);
border-radius: 20px;
background:
linear-gradient(135deg, rgba(255,255,255,.83), rgba(255,255,255,.56));
cursor: pointer;
transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
user-select: none;
overflow: hidden;
}
.tdf-survey__choice::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: linear-gradient(135deg, rgba(var(--tdf-main-rgb), .16), rgba(var(--tdf-main-rgb), .10));
opacity: 0;
transform: scale(.985);
transition: opacity .18s ease, transform .18s ease;
}
.tdf-survey__choice:hover {
transform: translateY(-2px);
background: white;
border-color: rgba(20,19,19,.18);
box-shadow: var(--tdf-shadow-soft);
}
.tdf-survey__choice:hover::before { opacity: 1; transform: scale(1); }
.tdf-survey__choice input {
position: relative;
z-index: 1;
width: 22px;
height: 22px;
flex: 0 0 auto;
margin: 0;
appearance: none;
-webkit-appearance: none;
display: grid;
place-items: center;
border: 2px solid rgba(20,19,19,.34);
background: #ffffff;
box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tdf-survey__choice input[type="checkbox"] { border-radius: 7px; }
.tdf-survey__choice input[type="radio"] { border-radius: 999px; }
.tdf-survey__choice input[type="checkbox"]::after {
content: "";
width: 11px;
height: 6px;
border-left: 2.4px solid var(--tdf-ink);
border-bottom: 2.4px solid var(--tdf-ink);
transform: rotate(-45deg) scale(.25);
transform-origin: 45% 60%;
clip-path: inset(0 100% 0 0);
opacity: 0;
}
.tdf-survey__choice input[type="radio"]::after {
content: "";
width: 10px;
height: 10px;
border-radius: 999px;
background: var(--tdf-ink);
transform: scale(.25);
opacity: 0;
}
.tdf-survey__choice input:checked {
background: var(--tdf-yellow);
border-color: var(--tdf-ink);
box-shadow: 0 0 0 4px rgba(var(--tdf-main-rgb),.18), inset 0 1px 0 rgba(255,255,255,.75);
transform: scale(1.04);
}
.tdf-survey__choice input[type="checkbox"]:checked::after {
opacity: 1;
animation: tdfCheckDraw .24s cubic-bezier(.2,.8,.22,1) forwards;
}
.tdf-survey__choice input[type="radio"]:checked::after {
opacity: 1;
animation: tdfRadioPop .2s cubic-bezier(.2,.8,.22,1) forwards;
}
@keyframes tdfCheckDraw {
from { clip-path: inset(0 100% 0 0); transform: rotate(-45deg) scale(.85); }
70% { clip-path: inset(0 0 0 0); transform: rotate(-45deg) scale(1.08); }
to { clip-path: inset(0 0 0 0); transform: rotate(-45deg) scale(1); }
}
@keyframes tdfRadioPop {
from { transform: scale(.25); }
70% { transform: scale(1.12); }
to { transform: scale(1); }
}
.tdf-survey__choice span {
position: relative;
z-index: 1;
font-size: 14px;
font-weight: 760;
line-height: 1.25;
}
.tdf-survey__choice:has(input:checked) {
background: linear-gradient(135deg, rgba(var(--tdf-main-rgb), .24), rgba(255,255,255,.92));
border-color: rgba(20,19,19,.35);
box-shadow: 0 0 0 4px rgba(var(--tdf-main-rgb),.14), 0 15px 30px rgba(20,19,19,.06);
}
.tdf-survey__callout {
display: flex;
gap: 14px;
padding: 16px 17px;
margin: 6px 0 23px;
border-radius: 21px;
background: linear-gradient(135deg, rgba(var(--tdf-main-rgb),.10), rgba(255,255,255,.90));
border: 1px solid rgba(20,19,19,.11);
color: var(--tdf-muted);
font-size: 14px;
line-height: 1.45;
}
.tdf-survey__callout strong { color: var(--tdf-ink); }
.tdf-survey__conditional {
display: none;
margin-top: 5px;
padding: 19px;
border-radius: 25px;
background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(var(--tdf-main-rgb), .07));
border: 1px dashed rgba(20,19,19,.23);
animation: tdfConditionalIn .26s ease-out;
}
.tdf-survey__conditional.is-visible { display: block; }
@keyframes tdfConditionalIn {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}
.tdf-survey__spending-card {
display: grid;
gap: 12px;
padding: 19px;
border: 1px solid var(--tdf-line);
border-radius: 26px;
background: linear-gradient(135deg, #ffffff, rgba(var(--tdf-main-rgb), .07));
box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.tdf-survey__spending-row {
display: grid;
grid-template-columns: 1fr 165px;
gap: 12px;
align-items: center;
}
.tdf-survey__spending-row label {
color: var(--tdf-muted);
font-weight: 810;
}
.tdf-survey__total-box {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
gap: 18px;
padding: 19px;
border-radius: 26px;
background:
radial-gradient(circle at 92% 10%, rgba(var(--tdf-main-rgb),.24), transparent 12rem),
linear-gradient(135deg, var(--tdf-ink), color-mix(in srgb, var(--tdf-ink) 88%, var(--tdf-yellow) 12%));
color: white;
margin-top: 16px;
box-shadow: 0 20px 42px rgba(20,19,19,.20);
overflow: hidden;
}
.tdf-survey__total-box::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
transform: translateX(-100%);
animation: tdfTotalSheen 5.5s ease-in-out infinite;
}
@keyframes tdfTotalSheen {
0%, 55% { transform: translateX(-100%); }
72%, 100% { transform: translateX(100%); }
}
.tdf-survey__total-box span,
.tdf-survey__total-box strong { position: relative; z-index: 1; }
.tdf-survey__total-box span {
color: rgba(255,255,255,.74);
font-size: 13px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: .08em;
}
.tdf-survey__total-box strong {
font-size: 32px;
letter-spacing: -.055em;
}
.tdf-survey__actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 25px 40px 38px;
border-top: 1px solid var(--tdf-line);
background: #ffffff;
}
.tdf-survey__actions-progress {
flex: 0 0 auto;
color: rgba(20,19,19,.56);
font-size: 12px;
font-weight: 900;
letter-spacing: .075em;
text-transform: uppercase;
white-space: nowrap;
}
.tdf-survey__actions-buttons {
display: flex;
justify-content: flex-end;
gap: 14px;
min-width: 0;
}
.tdf-survey__btn {
border: 0;
border-radius: 999px;
padding: 14px 22px;
font-size: 15px;
font-weight: 920;
cursor: pointer;
transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease, filter .16s ease;
}
.tdf-survey__btn:hover { transform: translateY(-2px); }
.tdf-survey__btn:active { transform: translateY(0); }
.tdf-survey__btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.tdf-survey__btn[hidden] { display: none !important; }
.tdf-survey__btn--secondary {
background: rgba(20,19,19,.08);
color: var(--tdf-ink);
}
.tdf-survey__btn--secondary:hover { box-shadow: 0 10px 22px rgba(20,19,19,.08); }
.tdf-survey__btn--primary {
background:
linear-gradient(135deg, var(--tdf-ink), color-mix(in srgb, var(--tdf-ink) 86%, var(--tdf-yellow) 14%));
color: white;
box-shadow: 0 14px 26px rgba(20,19,19,.20);
}
.tdf-survey__btn--submit {
background: var(--tdf-gradient-soft);
color: var(--tdf-ink);
box-shadow: 0 14px 28px rgba(var(--tdf-main-rgb), .34);
}
.tdf-survey__btn--submit:hover,
.tdf-survey__btn--primary:hover { filter: saturate(1.06); }
.tdf-survey__success {
position: relative;
display: none;
padding: 64px 40px 60px;
text-align: center;
overflow: hidden;
}
.tdf-survey__success.is-visible {
display: block;
animation: tdfSuccessIn .42s cubic-bezier(.2, .95, .2, 1) forwards;
}
@keyframes tdfSuccessIn {
from { opacity: 0; transform: translateY(14px) scale(.985); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.tdf-survey__success-burst,
.tdf-survey__success::before,
.tdf-survey__success::after {
content: "";
position: absolute;
left: 50%;
top: 108px;
width: 260px;
height: 260px;
pointer-events: none;
border-radius: 50%;
opacity: 0;
transform: translate(-50%, -50%) scale(.45);
}
.tdf-survey__success-burst {
background:
radial-gradient(circle, var(--tdf-yellow) 0 5px, transparent 6px) 28px 30px / 58px 58px,
radial-gradient(circle, #141313 0 3px, transparent 4px) 10px 12px / 76px 76px,
radial-gradient(circle, rgba(var(--tdf-main-rgb),.72) 0 4px, transparent 5px) 4px 42px / 92px 92px;
}
.tdf-survey__success::before {
border: 2px solid rgba(var(--tdf-main-rgb),.28);
}
.tdf-survey__success::after {
width: 190px;
height: 190px;
background: radial-gradient(circle, rgba(var(--tdf-main-rgb),.22), transparent 63%);
}
.tdf-survey__success.is-visible .tdf-survey__success-burst {
animation: tdfBurst .95s cubic-bezier(.16, .86, .22, 1) .08s both;
}
.tdf-survey__success.is-visible::before {
animation: tdfRing .85s ease-out .06s both;
}
.tdf-survey__success.is-visible::after {
animation: tdfGlowPop .8s ease-out .02s both;
}
@keyframes tdfBurst {
0% { opacity: 0; transform: translate(-50%, -50%) scale(.32) rotate(-12deg); }
38% { opacity: 1; }
100% { opacity: 0; transform: translate(-50%, -50%) scale(1.24) rotate(10deg); }
}
@keyframes tdfRing {
0% { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
40% { opacity: 1; }
100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}
@keyframes tdfGlowPop {
0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
42% { opacity: 1; }
100% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); }
}
.tdf-survey__success-icon {
position: relative;
z-index: 1;
width: 84px;
height: 84px;
border-radius: 31px;
margin: 0 auto 21px;
display: block;
background:
radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), transparent 55%),
linear-gradient(135deg, rgba(var(--tdf-main-rgb),.96), rgba(var(--tdf-main-rgb), .30));
color: transparent;
box-shadow: 0 20px 42px rgba(var(--tdf-main-rgb),.22), inset 0 1px 0 rgba(255,255,255,.82);
transform-origin: center;
}
.tdf-survey__success.is-visible .tdf-survey__success-icon {
animation: tdfSuccessIconPop .58s cubic-bezier(.16, 1.12, .25, 1) both;
}
.tdf-survey__success-icon svg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
overflow: visible;
}
.tdf-survey__success-check {
fill: none;
stroke: var(--tdf-ink);
stroke-width: 8;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 76;
stroke-dashoffset: 76;
}
.tdf-survey__success.is-visible .tdf-survey__success-check {
animation: tdfDrawSuccessCheck .48s cubic-bezier(.18, .88, .22, 1) .36s forwards;
}
@keyframes tdfSuccessIconPop {
0% { opacity: 0; transform: scale(.68) rotate(-8deg); }
62% { opacity: 1; transform: scale(1.08) rotate(2deg); }
100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes tdfDrawSuccessCheck {
to { stroke-dashoffset: 0; }
}
.tdf-survey__success h2 {
position: relative;
z-index: 1;
margin: 0 0 10px;
font-size: 39px;
letter-spacing: -.058em;
color: var(--tdf-ink);
}
.tdf-survey__success p {
position: relative;
z-index: 1;
margin: 0 auto 23px;
max-width: 52ch;
color: var(--tdf-muted);
line-height: 1.58;
}
.tdf-survey__success .tdf-survey__btn {
position: relative;
z-index: 1;
}
.tdf-survey.is-submitted .tdf-survey__privacy-note { display: none; }
.tdf-survey__privacy-note {
margin: 2px 40px 33px;
padding: 22px 0 0;
border-top: 1px solid rgba(20,19,19,.105);
background: transparent;
border-radius: 0;
box-shadow: none;
}
.tdf-survey__privacy-kicker {
margin-bottom: 9px;
color: rgba(20,19,19,.70);
font-size: 11px;
font-weight: 930;
letter-spacing: .09em;
text-transform: uppercase;
}
.tdf-survey__privacy-content {
max-width: 72ch;
color: var(--tdf-muted);
font-size: 12.6px;
line-height: 1.62;
}
.tdf-survey__privacy-content p { margin: 0 0 8px; }
.tdf-survey__privacy-content p:last-child { margin-bottom: 0; }
.tdf-survey__privacy-content a { color: var(--tdf-ink); font-weight: 820; }
.tdf-survey__error {
display: none;
margin: 0 40px 18px;
padding: 14px 16px;
border-radius: 18px;
background: rgba(220, 38, 38, .09);
border: 1px solid rgba(220, 38, 38, .18);
color: #991b1b;
font-weight: 750;
}
.tdf-survey__error.is-visible { display: block; }
@media (prefers-reduced-motion: reduce) {
.tdf-survey *,
.tdf-survey *::before,
.tdf-survey *::after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
}
@media (max-width: 960px) {
.tdf-survey__page { padding: 20px 0 40px; }
.tdf-survey__shell { grid-template-columns: 1fr; }
.tdf-survey__side-card {
position: relative;
top: auto;
min-height: auto;
}
.tdf-survey__photo-panel { min-height: 250px; }
}
@media (max-width: 680px) {
.tdf-survey__page { width: min(100% - 18px, 1200px); }
.tdf-survey__form-head,
.tdf-survey__ride-progress,
.tdf-survey__step,
.tdf-survey__actions { padding-left: 19px; padding-right: 19px; }
.tdf-survey__privacy-note { margin-left: 19px; margin-right: 19px; }
.tdf-survey__side-content { padding: 24px; }
.tdf-survey .tdf-survey__side-content > h1 { font-size: 41px !important; }
.tdf-survey__grid,
.tdf-survey__grid--3,
.tdf-survey__choice-grid,
.tdf-survey__choice-grid--2,
.tdf-survey__choice-grid--3,
.tdf-survey__spending-row { grid-template-columns: 1fr; }
.tdf-survey__actions {
position: sticky;
bottom: 0;
z-index: 20;
flex-wrap: wrap;
backdrop-filter: blur(14px);
}
.tdf-survey__actions-progress {
width: 100%;
order: -1;
font-size: 11px;
}
.tdf-survey__actions-buttons {
width: 100%;
}
.tdf-survey__actions-buttons .tdf-survey__btn { flex: 1; }
} .tdf-survey__people-grid .tdf-survey__field {
grid-template-rows: auto 53px auto;
align-content: start;
}
.tdf-survey__people-grid .tdf-survey__field label {
min-height: 38px;
display: flex;
align-items: flex-end;
}
.tdf-survey__people-grid .tdf-survey__hint {
min-height: 38px;
} .tdf-survey__is-invalid {
position: relative;
}
.tdf-survey__field.tdf-survey__is-invalid input,
.tdf-survey__field.tdf-survey__is-invalid textarea,
.tdf-survey__field.tdf-survey__is-invalid select,
.tdf-survey__spending-row.tdf-survey__is-invalid input {
border-color: rgba(185, 28, 28, .72);
background: #fff7f7;
box-shadow: 0 0 0 4px rgba(185, 28, 28, .08);
}
.tdf-survey fieldset.tdf-survey__is-invalid {
padding: 14px;
margin: -14px -14px 25px;
border: 1px solid rgba(185, 28, 28, .22);
border-radius: 22px;
background: rgba(185, 28, 28, .035);
}
.tdf-survey fieldset.tdf-survey__is-invalid legend {
color: #991b1b;
}
.tdf-survey__is-invalid .tdf-survey__choice {
border-color: rgba(185, 28, 28, .24);
} .bfb-form-builder input[type="email"],
.bfb-form-builder input[type="url"],
.bfb-form-builder input[type="tel"],
.bfb-form-builder input[type="date"],
.bfb-form-builder input[type="time"] {
width: 100%;
min-height: 53px;
border: 1px solid rgba(20,19,19,.13);
border-radius: 18px;
background: rgba(255,255,255,.78);
padding: 14px 16px;
color: var(--tdf-ink);
font-size: 15px;
outline: none;
box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.bfb-form-builder input[type="email"]:focus,
.bfb-form-builder input[type="url"]:focus,
.bfb-form-builder input[type="tel"]:focus,
.bfb-form-builder input[type="date"]:focus,
.bfb-form-builder input[type="time"]:focus {
border-color: rgba(20,19,19,.45);
box-shadow: var(--tdf-focus), inset 0 1px 0 rgba(255,255,255,.84);
background: white;
transform: translateY(-1px);
}
.tdf-survey__progress-glyph {
display: grid;
place-items: center;
width: 42px;
height: 34px;
font-size: 28px;
line-height: 1;
color: var(--tdf-ink);
}
.tdf-survey__ride-bike > svg:not(.tdf-survey__bike-svg) {
width: 42px;
height: 30px;
display: block;
overflow: visible;
}
.bfb-note {
display: block;
margin: 0 0 18px;
}
.bfb-money-group {
margin: 0 0 20px;
}
.bfb-form-builder .tdf-survey__conditional[data-bfb-conditions]:not(.is-visible) {
display: none;
}
.bfb-form-builder .tdf-survey__conditional[data-bfb-conditions].is-visible {
display: block;
}
.bfb-form-builder .tdf-survey__step > .tdf-survey__field:nth-of-type(2n),
.bfb-form-builder .tdf-survey__step > .tdf-survey__field:nth-of-type(2n+1) {
max-width: none;
}
.bfb-form-builder .tdf-survey__field.tdf-survey__is-invalid input[type="email"],
.bfb-form-builder .tdf-survey__field.tdf-survey__is-invalid input[type="url"],
.bfb-form-builder .tdf-survey__field.tdf-survey__is-invalid input[type="tel"],
.bfb-form-builder .tdf-survey__field.tdf-survey__is-invalid input[type="date"],
.bfb-form-builder .tdf-survey__field.tdf-survey__is-invalid input[type="time"] {
border-color: rgba(185, 28, 28, .72);
background: #fff7f7;
box-shadow: 0 0 0 4px rgba(185, 28, 28, .08);
}