Загрузка данных
/*
* Внешний вид страницы уже готов. Этот файл изменять нельзя.
* Интерактивное поведение участник реализует в styles.css.
*/
:root {
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", sans-serif;
color: #18212f;
background: #f5f7fb;
font-synthesis: none;
}
* {
box-sizing: border-box;
}
html {
min-width: 320px;
}
body {
min-width: 320px;
min-height: 100vh;
margin: 0;
background:
radial-gradient(circle at 12% 0%, rgba(91, 95, 226, 0.12), transparent 30rem),
#f5f7fb;
}
.page {
width: 100%;
padding: 64px 24px;
}
.support-card {
width: min(700px, 100%);
margin: 0 auto;
overflow: hidden;
border: 1px solid #e5e9f0;
border-radius: 22px;
background: #fff;
box-shadow: 0 18px 50px rgba(32, 43, 67, 0.1);
}
.support-card__header {
padding: 38px 40px 30px;
border-bottom: 1px solid #edf0f4;
}
.support-card__eyebrow {
margin: 0 0 10px;
color: #5b5fe2;
font-size: 12px;
font-weight: 750;
letter-spacing: 0.12em;
}
.support-card__title {
margin: 0;
font-size: clamp(28px, 5vw, 38px);
line-height: 1.1;
letter-spacing: -0.035em;
}
.support-card__description {
max-width: 520px;
margin: 13px 0 0;
color: #687386;
font-size: 16px;
line-height: 1.55;
}
.faq__item {
margin: 0;
border-bottom: 1px solid #edf0f4;
}
.faq__item:last-child {
border-bottom: 0;
}
/*
* Chromium скрывает содержимое закрытого details самостоятельно.
* Отключаем это поведение: без решения участника клики не должны
* визуально менять страницу.
*/
.faq__item::details-content {
content-visibility: visible;
}
.faq__question {
display: grid;
grid-template-columns: 38px minmax(0, 1fr) 28px;
gap: 12px;
align-items: center;
min-height: 74px;
padding: 17px 40px;
cursor: pointer;
list-style: none;
user-select: none;
}
.faq__question::-webkit-details-marker {
display: none;
}
.faq__question:hover {
background: #fafbfc;
}
.faq__question:focus-visible {
outline: 3px solid rgba(91, 95, 226, 0.25);
outline-offset: -3px;
}
.faq__number {
color: #9aa4b2;
font-size: 12px;
font-weight: 750;
letter-spacing: 0.08em;
}
.faq__question-text {
min-width: 0;
font-size: 16px;
font-weight: 650;
line-height: 1.45;
}
.faq__icon {
position: relative;
display: block;
width: 24px;
height: 24px;
justify-self: end;
border-radius: 50%;
background: #f0f2f6;
}
/*
* Ответы намеренно оставлены раскрытыми даже у закрытых details.
* Скрытие и анимация — часть решения участника.
*/
.faq__answer-clip {
display: grid;
overflow: hidden;
}
.faq__answer-inner {
min-height: 0;
overflow: hidden;
}
.faq__answer {
padding: 0 80px 26px 90px;
color: #687386;
font-size: 15px;
line-height: 1.7;
}
.faq__answer p {
margin: 0;
}
.faq__answer p + p {
margin-top: 12px;
}
.support-card__footer {
display: flex;
gap: 8px;
align-items: center;
justify-content: center;
padding: 23px 40px;
border-top: 1px solid #edf0f4;
color: #687386;
font-size: 14px;
}
.support-card__footer a {
color: #5155cf;
font-weight: 650;
text-decoration: none;
}
.support-card__footer a:hover {
text-decoration: underline;
}
@media (max-width: 560px) {
.page {
padding: 24px 12px;
}
.support-card {
border-radius: 18px;
}
.support-card__header {
padding: 30px 24px 24px;
}
.faq__question {
grid-template-columns: 32px minmax(0, 1fr) 24px;
gap: 8px;
padding: 16px 24px;
}
.faq__answer {
padding: 0 54px 24px 64px;
}
.support-card__footer {
padding: 21px 24px;
}
}