@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=PT+Serif:wght@400;700&display=swap');

.renew-masthead,
.ai-showcase {
    padding: 0 !important;
}

.renew-masthead {
    position: relative;
    z-index: 4;
    background: #fff;
    border-bottom: 1px solid #e8ebee;
}

.renew-masthead__inner {
    width: min(1180px, 100%);
    min-height: 76px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.renew-masthead__logo,
.renew-masthead__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(311px, 48vw);
}

.renew-masthead__right {
    min-width: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.renew-masthead__id2 { min-width: 0; max-width: 260px; }
.renew-masthead__id2:empty { display: none; }
.renew-masthead__id2 > * { max-width: 100%; }
.renew-masthead__phone { text-align: right; }
.renew-masthead__phone a { color: #202931; font-size: 20px; line-height: 1.15; font-weight: 700; text-decoration: none; }
.renew-masthead__phone p { margin: 3px 0 0; color: #7a858e; font-size: 12px; }

.ai-showcase {
    --ai-accent: #ef5b3f;
    --ai-accent-soft: #fff0eb;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f8f7 0, #fff 42%, #f5f6f5 100%);
    color: #191818;
    font-family: LabGrotesque, Arial, Helvetica, sans-serif;
}

.ai-showcase *,
.ai-showcase *::before,
.ai-showcase *::after {
    box-sizing: border-box;
}

.ai-showcase__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 68px 28px 76px;
}

.ai-showcase__intro {
    max-width: 1040px;
    margin: 0 auto 34px;
    text-align: center;
}

.ai-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 17px;
    padding: 8px 14px;
    border: 1px solid #dedfdf;
    border-radius: 999px;
    background: #fff;
    color: #4b5053;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
}

.ai-showcase__eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 2px;
    background: var(--ai-accent);
    transform: rotate(45deg);
}

.ai-showcase__intro h1 {
    margin: 0;
    color: #172028;
    font-family: LabGrotesque, Arial, Helvetica, sans-serif;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 700;
}

.ai-showcase__intro h1 span {
    display: inline-block;
    color: var(--ai-accent);
}

.ai-showcase__subtitle {
    margin: 18px 0 0;
    color: #5f686e;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.45;
}

.ai-showcase__stage {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
    min-height: 760px;
    overflow: hidden;
    border: 1px solid #dfe2e2;
    border-radius: 20px;
    background: #3e484e;
    box-shadow: 0 30px 80px rgba(27, 35, 40, .18), 0 8px 24px rgba(27, 35, 40, .08);
}

.ai-showcase__article-page {
    min-width: 0;
    padding: 39px 48px 46px;
    background: #fff;
    color: #000;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
}

.ai-showcase__article-header {
    padding-bottom: 18px;
    border-bottom: 1px solid #dfe2e3;
}

.ai-showcase__publication {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.ai-showcase__journal-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(215px, 66%);
    max-height: 98px;
}

.ai-showcase__issue {
    flex: 0 0 auto;
    min-width: 100px;
    padding-top: 2px;
    text-align: right;
}

.ai-showcase__issue strong,
.ai-showcase__issue span {
    display: block;
}

.ai-showcase__issue strong {
    color: #000;
    font-size: 31px;
    line-height: 1;
    font-weight: 700;
}

.ai-showcase__issue span {
    margin-top: 7px;
    color: #6f7477;
    font-size: 11px;
    line-height: 1.25;
}

.ai-showcase__article-tools {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 17px;
    margin-top: 14px;
    color: #73797d;
    font-size: 11px;
    line-height: 1.2;
}

.ai-showcase__article-tools span {
    white-space: nowrap;
}

.ai-showcase__rubrics {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 13px;
    margin: 28px 0 7px;
    color: var(--ai-accent);
    font-size: 16px;
    line-height: 1.35;
}

.ai-showcase__rubrics span + span::before {
    content: '•';
    margin-right: 13px;
    color: #a4a8aa;
}

.ai-showcase__article-page h2 {
    max-width: 760px;
    margin: 0;
    color: #000;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    font-size: clamp(31px, 3.2vw, 40px);
    line-height: 1.1;
    letter-spacing: -.018em;
    font-weight: 700;
}

.ai-showcase__authors {
    margin: 23px 0 0;
    padding-top: 17px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 22px;
    border-top: 1px solid #eceeef;
    font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
}

.ai-showcase__authors p {
    margin: 0;
    color: #51575a;
    font-size: 12px;
    line-height: 1.42;
}

.ai-showcase__authors strong {
    color: #111;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
}

.ai-showcase__lead {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--ai-accent);
    border-radius: 0 8px 8px 0;
    background: var(--ai-accent-soft);
    color: #181818;
    font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.55;
}

.ai-showcase__ask {
    margin-top: 18px;
    padding: 12px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--ai-accent);
    color: #fff;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 7px 17px rgba(0, 0, 0, .13);
}

.ai-showcase__ask span {
    margin-right: 5px;
}

.ai-showcase__article-excerpt {
    margin: 27px 0 0;
    color: #252525;
    font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.62;
}

.ai-showcase__assistant-shell {
    min-width: 0;
    padding: 34px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 74% 8%, rgba(255, 255, 255, .09), transparent 34%), #3e484e;
}

.ai-showcase__assistant-window {
    width: 100%;
    height: 680px;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    background: #f8f4f0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
    font-family: LabGrotesque, Arial, Helvetica, sans-serif;
}

.ai-showcase__assistant-head {
    min-height: 66px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #dfdbd6;
    background: #f8f4f0;
}

.ai-showcase__assistant-menu {
    width: 19px;
    flex: 0 0 19px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-showcase__assistant-menu i {
    width: 19px;
    height: 1.5px;
    display: block;
    border-radius: 999px;
    background: #555351;
}

.ai-showcase__assistant-head strong {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: #191818;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-showcase__assistant-close {
    flex: 0 0 auto;
    color: #5e5b58;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    line-height: 1;
    font-weight: 300;
}

.ai-showcase__conversation {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 21px 22px 18px;
    background: #eeeae6;
    scrollbar-width: thin;
    scrollbar-color: #9e9a95 #dfdbd6;
}

.ai-showcase__conversation::-webkit-scrollbar { width: 7px; }
.ai-showcase__conversation::-webkit-scrollbar-track { background: #dfdbd6; }
.ai-showcase__conversation::-webkit-scrollbar-thumb { border-radius: 999px; background: #9e9a95; }

.ai-showcase__question {
    max-width: 88%;
    margin: 0 0 24px auto;
    padding: 13px 15px;
    border-radius: 16px 16px 4px 16px;
    background: #dedad5;
    color: #191818;
    font-size: 14px;
    line-height: 1.5;
}

.ai-showcase__answer {
    position: relative;
    margin: 0;
    color: #191818;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-line;
}

.ai-showcase__answer span.is-typing::after {
    content: '';
    width: 2px;
    height: 1.05em;
    margin-left: 3px;
    display: inline-block;
    background: var(--ai-accent);
    vertical-align: -.12em;
    animation: ai-showcase-caret .75s steps(1) infinite;
}

.ai-showcase__disclaimer {
    margin: 9px 22px 8px;
    color: #77726e;
    font-size: 10px;
    line-height: 1.2;
}

.ai-showcase__input {
    min-height: 74px;
    margin: 0 14px 14px;
    padding: 14px 13px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #d9d4ce;
    border-radius: 18px;
    background: #fff;
    color: #96918c;
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(30, 28, 26, .04);
}

.ai-showcase__input b {
    width: 30px;
    height: 30px;
    align-self: flex-end;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #e8e4df;
    color: #aaa59f;
    font-size: 16px;
}

.ai-showcase__skills {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ai-showcase__skills article {
    position: relative;
    min-width: 0;
    padding: 24px 22px 22px;
    overflow: hidden;
    border: 1px solid #e0e3e3;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(31, 39, 43, .05);
}

.ai-showcase__skills article::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--ai-accent);
}

.ai-showcase__skills h3 {
    margin: 0 0 7px;
    color: #202629;
    font-family: LabGrotesque, Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.25;
}

.ai-showcase__skills p {
    margin: 0;
    color: #667076;
    font-size: 13.5px;
    line-height: 1.5;
}

.products.products--base {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #f5f7f8;
}

.products.products--base > .container { padding-top: 54px !important; }
.products.products--base .price { margin-top: 12px; }

@keyframes ai-showcase-caret {
    50% { opacity: 0; }
}

@media (max-width: 980px) {
    .ai-showcase__stage {
        grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr);
    }

    .ai-showcase__article-page { padding-inline: 32px; }
    .ai-showcase__article-page h2 { font-size: 32px; }
    .ai-showcase__authors { grid-template-columns: 1fr; }
    .ai-showcase__assistant-shell { padding-inline: 18px; }
}

@media (max-width: 860px) {
    .ai-showcase__stage {
        grid-template-columns: 1fr;
    }

    .ai-showcase__article-page { min-height: 650px; }
    .ai-showcase__assistant-shell { min-height: 610px; padding: 24px; }
    .ai-showcase__assistant-window { height: 560px; }
    .ai-showcase__skills { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .renew-masthead__inner {
        min-height: 66px;
        padding: 11px 16px;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .renew-masthead__right {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
        gap: 12px;
    }

    .renew-masthead__id2 { max-width: 55vw; }
    .renew-masthead__phone a { font-size: 16px; }
    .renew-masthead__phone p { display: none; }

    .ai-showcase__inner { padding: 48px 12px 54px; }
    .ai-showcase__intro { margin-bottom: 24px; }
    .ai-showcase__eyebrow { margin-bottom: 14px; font-size: 11px; }
    .ai-showcase__intro h1 { font-size: clamp(29px, 9.2vw, 39px); }
    .ai-showcase__subtitle { margin-top: 14px; font-size: 16px; }
    .ai-showcase__stage { border-radius: 16px; }

    .ai-showcase__article-page { min-height: 0; padding: 24px 17px 30px; }
    .ai-showcase__publication { gap: 12px; }
    .ai-showcase__journal-logo { max-width: min(180px, 66%); max-height: 82px; }
    .ai-showcase__issue { min-width: 76px; }
    .ai-showcase__issue strong { font-size: 26px; }
    .ai-showcase__issue span { font-size: 9.5px; }
    .ai-showcase__article-tools { gap: 7px 11px; font-size: 9.5px; }
    .ai-showcase__rubrics { margin-top: 22px; font-size: 14px; }
    .ai-showcase__article-page h2 { font-size: 27px; line-height: 1.12; }
    .ai-showcase__authors { grid-template-columns: 1fr; gap: 10px; }
    .ai-showcase__authors p { font-size: 11px; }
    .ai-showcase__lead { padding: 14px; font-size: 15px; }
    .ai-showcase__article-excerpt { font-size: 15px; }

    .ai-showcase__assistant-shell { min-height: 586px; padding: 18px 12px; }
    .ai-showcase__assistant-window { height: 550px; border-radius: 24px; }
    .ai-showcase__assistant-head { min-height: 59px; padding-inline: 16px; }
    .ai-showcase__assistant-head strong { font-size: 13px; }
    .ai-showcase__conversation { padding: 17px 16px 15px; }
    .ai-showcase__question { max-width: 93%; font-size: 13px; }
    .ai-showcase__answer { font-size: 13.5px; }
    .ai-showcase__disclaimer { margin-inline: 17px; }
    .ai-showcase__input { min-height: 68px; margin-inline: 10px; }
    .ai-showcase__skills { gap: 12px; margin-top: 14px; }
    .ai-showcase__skills article { padding: 21px 18px 19px; }
    .products.products--base > .container { padding-top: 38px !important; }
}

@media (max-width: 350px) {
    .renew-masthead__inner { padding-inline: 12px; }
    .renew-masthead__phone a { font-size: 14px; }
    .ai-showcase__inner { padding-inline: 8px; }
    .ai-showcase__article-page { padding-inline: 14px; }
    .ai-showcase__journal-logo { max-width: 62%; }
    .ai-showcase__article-tools span:last-child { display: none; }
    .ai-showcase__article-page h2 { font-size: 24px; }
    .ai-showcase__lead,
    .ai-showcase__article-excerpt { font-size: 14px; }
    .ai-showcase__assistant-shell { padding-inline: 8px; }
    .ai-showcase__assistant-head { padding-inline: 13px; }
    .ai-showcase__conversation { padding-inline: 13px; }
}
