/* SEO pages (sprint 1+): readable measure + component styles.
   Brandbook v1.0 tokens: indigo #7051EC / #5941C7, surface #FAF9FF..#F2EFFC,
   ink #17132F, DM Serif headings, DM Sans body. */

/* ---------- layout: читаемая колонка ---------- */
#gc-content .seo-page,
#gc-content .seo-article {
    max-width: 47rem;
    margin: 0 auto;
    padding: 3.25rem 1.25rem 3.5rem;
}
#gc-content .seo-wide { max-width: 64rem; }

/* ---------- hero ---------- */
.seo-hero {
    position: relative;
    background: linear-gradient(115deg, #4A36A8 0%, #5941C7 45%, #7051EC 75%, #9480F3 100%);
    color: #fff;
    padding: 4.25rem 1.25rem 4.75rem;
    overflow: hidden;
}
.seo-hero::after {
    content: "";
    position: absolute;
    right: -8rem; top: -10rem;
    width: 26rem; height: 26rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}
.seo-hero-inner { position: relative; z-index: 1; max-width: 47rem; margin: 0 auto; }
.seo-eyebrow {
    font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.82); margin-bottom: .75rem; font-weight: 600;
}
.seo-hero h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.16; margin: 0 0 1rem; color: #fff;
}
.seo-hero-lead { font-size: 1.1rem; line-height: 1.65; color: rgba(255,255,255,.9); max-width: 44rem; margin: 0 0 1.75rem; }
.seo-hero .btn-seo {
    display: inline-block; background: #fff; color: #4A36A8;
    font-weight: 600; padding: .9rem 2rem; border-radius: .85rem;
    box-shadow: 0 10px 30px rgba(46,33,114,.25); transition: transform .15s, box-shadow .15s;
}
.seo-hero .btn-seo:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(46,33,114,.3); }
.seo-hero-note { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: .7rem; }

/* ---------- breadcrumbs ---------- */
.seo-crumb {
    max-width: 47rem; margin: 0 auto; padding: 1.1rem 1.25rem 0;
    font-size: .85rem; color: #65627C; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
}
.seo-crumb a { color: #5941C7; }
.seo-crumb a:hover { text-decoration: underline; }
.seo-crumb span[aria-current] { color: #17132F; font-weight: 500; }
.seo-crumb .sep { color: #B5A7F7; }

/* ---------- typography (статьи) ---------- */
.seo-article p { margin: 0 0 1.15rem; line-height: 1.78; color: #3F3C56; font-size: 1.04rem; }
.seo-article p.lead { font-size: 1.14rem; color: #514E68; }
.seo-article h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2.75rem 0 1rem; color: #17132F; line-height: 1.3; }
.seo-article h3 { font-size: 1.1rem; margin: 1.75rem 0 .6rem; color: #17132F; font-family: "DM Sans", sans-serif; font-weight: 600; }
.seo-article ul, .seo-article ol { margin: 0 0 1.35rem; padding-left: 1.3rem; }
.seo-article li { margin: .45rem 0; line-height: 1.72; color: #3F3C56; }
.seo-article ul li { list-style: disc; }
.seo-article ol li { list-style: decimal; }
.seo-article strong { color: #17132F; font-weight: 600; }
.seo-page h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.75rem 0 1rem; color: #17132F; line-height: 1.3; }
.seo-page h3 { font-size: 1.08rem; margin: 0 0 .45rem; color: #17132F; font-family: "DM Sans", sans-serif; font-weight: 600; }
.seo-page p { color: #3F3C56; line-height: 1.75; }

/* ---------- секции и карточки ---------- */
.seo-section { margin-top: 3rem; }
.seo-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.seo-card {
    background: #fff; border: 1px solid #E8E4F3; border-radius: 1.1rem;
    padding: 1.5rem; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.seo-card:hover { box-shadow: 0 12px 30px rgba(89,65,199,.1); transform: translateY(-2px); border-color: #D6CEF9; }
.seo-card p { margin: 0; color: #514E68; font-size: .97rem; line-height: 1.65; }

/* ---------- шаги ---------- */
.seo-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.seo-steps li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid #E8E4F3; border-radius: 1rem; padding: 1rem 1.15rem; margin: 0; }
.seo-steps .num {
    flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 9999px;
    background: #7051EC; color: #fff; font-weight: 700; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- таблицы ---------- */
.seo-table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid #E8E4F3; border-radius: 1rem; background: #fff; }
.seo-table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 34rem; }
.seo-table-wrap thead th {
    background: #F4F1FE; color: #17132F; font-weight: 600; text-align: left;
    padding: .85rem 1rem; border-bottom: 1px solid #E8E4F3; white-space: nowrap;
}
.seo-table-wrap td { padding: .8rem 1rem; color: #3F3C56; border-top: 1px solid #F2EFFC; vertical-align: top; line-height: 1.55; }
.seo-table-wrap tbody tr:nth-child(even) td { background: #FAF9FF; }
.seo-table-wrap tbody tr:hover td { background: #F4F1FE; }
.seo-note { font-size: .85rem; color: #65627C; margin-top: -.75rem; }

/* ---------- FAQ ---------- */
.seo-faq { display: grid; gap: .85rem; }
.seo-faq > div { background: #fff; border: 1px solid #E8E4F3; border-radius: 1rem; padding: 1.15rem 1.3rem; }
.seo-faq h3 { margin: 0 0 .4rem; font-size: 1.03rem; }
.seo-faq p { margin: 0; color: #514E68; font-size: .97rem; line-height: 1.68; }

/* ---------- CTA ---------- */
.seo-cta {
    background: linear-gradient(135deg, #F4F1FE 0%, #E9E4FC 100%);
    border: 1px solid #D6CEF9; border-radius: 1.25rem; padding: 2rem;
    margin: 3rem 0 0;
}
.seo-cta h2, .seo-cta h3 { margin-top: 0; }
.seo-cta p { color: #3F3C56; }
.btn-seo-primary {
    display: inline-block; background: #5941C7; color: #fff; font-weight: 600;
    padding: .85rem 1.9rem; border-radius: .85rem; transition: background .15s, transform .15s;
}
.btn-seo-primary:hover { background: #4A36A8; transform: translateY(-1px); }

/* ---------- чипы-ссылки ---------- */
.seo-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.seo-chips a {
    background: #fff; border: 1px solid #D6CEF9; color: #5941C7;
    padding: .5rem .95rem; border-radius: 9999px; font-size: .92rem; transition: background .15s;
}
.seo-chips a:hover { background: #F4F1FE; }
.seo-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #E8E4F3; }
.seo-related h2 { margin-top: 0; font-size: 1.35rem; }

/* ---------- блог: индекс ---------- */
.seo-blog-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.seo-blog-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid #E8E4F3;
    border-radius: 1.15rem; padding: 1.5rem; text-decoration: none; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.seo-blog-card:hover { box-shadow: 0 14px 34px rgba(89,65,199,.12); transform: translateY(-3px); border-color: #D6CEF9; }
.seo-blog-tag {
    align-self: flex-start; background: #F4F1FE; color: #5941C7; font-size: .75rem;
    font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    padding: .25rem .6rem; border-radius: 9999px; margin-bottom: .9rem;
}
.seo-blog-card h3 { margin: 0 0 .55rem; font-size: 1.15rem; line-height: 1.35; color: #17132F; font-family: "DM Serif Display", serif; font-weight: 400; }
.seo-blog-card p { margin: 0 0 1rem; color: #514E68; font-size: .95rem; line-height: 1.65; flex: 1; }
.seo-blog-more { color: #5941C7; font-weight: 600; font-size: .92rem; }

/* ---------- мета-строка статьи ---------- */
.seo-meta { font-size: .85rem; color: #65627C; margin-bottom: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.seo-meta .dot { width: .3rem; height: .3rem; border-radius: 9999px; background: #B5A7F7; display: inline-block; }

/* ---------- мобильный ---------- */
@media (max-width: 640px) {
    .seo-hero { padding: 3rem 1.1rem 3.25rem; }
    #gc-content .seo-page, #gc-content .seo-article { padding: 2.25rem 1.1rem 2.75rem; }
    .seo-cta { padding: 1.4rem; }
}

/* ---------- списки и абзацы на лендингах ---------- */
.seo-page p { margin: 0 0 1.1rem; }
.seo-page ul, .seo-page ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.seo-page li { margin: .45rem 0; line-height: 1.72; color: #3F3C56; }
.seo-page ul li { list-style: disc; }
.seo-page ol li { list-style: decimal; }
.seo-page .seo-note { margin-top: -.4rem; }
.seo-steps li span:not(.num) { color: #3F3C56; line-height: 1.6; }
