/* Написание книги с помощью ИИ. Шапка, шаги, вопросы и призыв — components.css */

.ghost-audience{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-6);margin-top:44px}
.ghost-audience__card{display:flex;flex-direction:column;align-items:start;padding:0 0 var(--space-6);border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--white);overflow:hidden}
.ghost-audience__card>:not(img){margin-left:var(--space-6);margin-right:var(--space-6)}
.ghost-audience__card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;margin:0 0 var(--space-5);padding:var(--space-4) var(--space-4) 0;box-sizing:border-box;background:var(--white)}
.ghost-audience__card h3{font-size:24px;font-weight:500;letter-spacing:-.03em;margin-bottom:var(--space-2)}
.ghost-audience__card p{font-family:var(--body-font);font-size:16px;line-height:1.65;color:var(--text-soft);margin-bottom:var(--space-5)}
.ghost-audience__card .text-link{margin-top:auto}

.ghost-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6);margin-top:44px}
.ghost-skill{display:flex;flex-direction:column;align-items:start;padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--white)}
.ghost-skill__icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:var(--space-4);border-radius:50%;background:var(--brand-tint);color:var(--brand)}
.ghost-skill__icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ghost-skill h3{font-size:22px;font-weight:500;letter-spacing:-.02em;line-height:1.25;margin-bottom:var(--space-2)}
.ghost-skill p{font-family:var(--body-font);font-size:16px;line-height:1.65;color:var(--text-soft);margin:0}

.ghost-why{background:linear-gradient(rgba(255,255,255,.78),rgba(255,255,255,.78)),url(/img/services-ghost/bg.jpg) center/cover no-repeat}
.ghost-why__list{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px}
.ghost-why__list li{border-top:1px dotted var(--line-strong);padding:22px 0 24px}
.ghost-why__list h5{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:baseline;margin:0;font-size:19px;font-weight:400;line-height:1.55;color:#222}
.ghost-why__num{font-size:34px;font-weight:500;line-height:1;color:var(--brand)}

.ghost-start{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:64px;align-items:center}
.ghost-start h2{margin-bottom:26px}
.ghost-start p{font-family:var(--body-font);font-size:18px;line-height:1.8;color:var(--text)}
.ghost-start img{width:100%;max-width:440px;height:auto;justify-self:center}

.steps-list h5{display:flex;align-items:baseline;gap:10px;margin:0 0 12px;font-size:20px;font-weight:500;line-height:1.3}
.steps-list__num{font-size:38px;font-weight:500;line-height:1;color:var(--brand)}
.steps-list p{font-family:var(--body-font);font-size:15px;line-height:1.7;color:var(--text-soft)}
.steps-list{margin-top:30px;border-bottom:1px solid var(--line)}
.steps-list>div{border-top:1px solid var(--line);padding:20px 0}


.extra-services{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.extra-services a{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:14px;height:100%;padding:18px 16px 22px;border:1px solid var(--line);background:#fff;transition:border-color .2s}
.extra-services a:hover{border-color:var(--brand)}
.extra-services img{width:100%;max-width:150px;height:auto;aspect-ratio:1;object-fit:contain}
.extra-services p{margin:0;font:500 15px/1.4 var(--reading-font);text-align:center;color:var(--ink)}
.extra-services a:hover p{color:var(--brand)}

.faq details p b{color:var(--ink)}

@media(max-width:1000px){
 .ghost-audience,.ghost-skills{grid-template-columns:repeat(2,minmax(0,1fr))}
 .extra-services{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){
 .ghost-why__list{grid-template-columns:1fr}
 .ghost-start{grid-template-columns:1fr;gap:32px}}
@media(max-width:767px){#ghost-steps{display:none}}
@media(min-width:768px){#ghost-steps-mob{display:none}}
@media(max-width:560px){
 .ghost-audience,.ghost-skills{grid-template-columns:1fr;gap:var(--space-4)}
 .ghost-skill{padding:var(--space-5)}
 .ghost-audience__card img{aspect-ratio:2/1}
 .ghost-why__list h5{grid-template-columns:40px minmax(0,1fr);font-size:17px}
 .ghost-why__num{font-size:28px}
 .ghost-start p{font-size:17px}
 .extra-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .extra-services a{padding:14px 10px 16px}
 .extra-services img{max-width:110px}
 .extra-services p{font-size:14px}}
