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

.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: #f05a35;
    --ai-accent-soft: #fff0eb;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 8% 12%, rgba(240,90,53,.08), transparent 28%), linear-gradient(180deg, #f8fafb 0, #fff 42%, #f5f7f8 100%);
    color: #202931;
}

.ai-showcase *, .ai-showcase *::before, .ai-showcase *::after { box-sizing: border-box; }
.ai-showcase__inner { width: min(1180px, 100%); margin: 0 auto; padding: 70px 28px 76px; }
.ai-showcase__intro { max-width: 930px; margin: 0 auto 34px; text-align: center; }

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

.ai-showcase__eyebrow span { color: var(--ai-accent); font-size: 15px; }
.ai-showcase__intro h1 { margin: 0; color: #202931; font-family: inherit; font-size: clamp(32px, 4.7vw, 56px); line-height: 1.06; letter-spacing: -.035em; font-weight: 750; }
.ai-showcase__intro h1 span { display: inline-block; color: var(--ai-accent); }
.ai-showcase__subtitle { margin: 18px 0 0; color: #65717a; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; }

.ai-showcase__demo {
    overflow: hidden;
    border: 1px solid #dfe4e7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(32,41,49,.15), 0 8px 24px rgba(32,41,49,.07);
}

.ai-showcase__windowbar {
    min-height: 48px;
    padding: 9px 16px;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e4e8eb;
    background: #f4f6f7;
    color: #7a858e;
    font-size: 12px;
}

.ai-showcase__dots { display: flex; gap: 6px; }
.ai-showcase__dots i { width: 9px; height: 9px; border-radius: 50%; background: #ccd3d8; }
.ai-showcase__address { width: min(390px, 100%); margin: 0 auto; padding: 7px 14px; overflow: hidden; border: 1px solid #e0e5e8; border-radius: 8px; background: #fff; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.ai-showcase__status { display: flex; align-items: center; gap: 7px; color: #56636c; font-weight: 600; white-space: nowrap; }
.ai-showcase__status span, .ai-showcase__caption span { width: 8px; height: 8px; border-radius: 50%; background: #20b26b; box-shadow: 0 0 0 4px rgba(32,178,107,.13); }

.ai-showcase__workspace { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(330px, .82fr); min-height: 590px; }
.ai-showcase__article { min-width: 0; padding: 30px 38px 38px; background: #fff; }
.ai-showcase__publication { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid #edf0f2; }
.ai-showcase__publication > span { color: #7b858d; font-size: 12px; white-space: nowrap; }

.ai-showcase__journal-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(330px, 65%);
    max-height: 74px;
    object-fit: contain;
    object-position: left center;
}

.ai-showcase__journal-logo--srou { max-width: min(230px, 62%); }
.ai-showcase__article-tools { display: flex; justify-content: flex-end; gap: 15px; margin-top: 15px; color: #74818a; font-size: 11px; }
.ai-showcase__rubric { margin: 28px 0 5px; color: var(--ai-accent); font-size: 14px; line-height: 1.25; font-weight: 700; }
.ai-showcase__article h2 { max-width: 720px; margin: 0; color: #172028; font-family: inherit; font-size: clamp(23px, 2.8vw, 34px); line-height: 1.16; letter-spacing: -.025em; }
.ai-showcase__author { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.ai-showcase__avatar { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: #26333d; color: #fff; font-size: 12px; font-weight: 700; }
.ai-showcase__author p { margin: 0; color: #707c84; font-size: 12px; line-height: 1.45; }
.ai-showcase__author b { color: #34414a; font-size: 13px; }
.ai-showcase__lead { margin: 20px 0 0; padding: 16px 18px; border-left: 3px solid var(--ai-accent); border-radius: 0 10px 10px 0; background: var(--ai-accent-soft); color: #46525b; font-size: 14px; line-height: 1.58; }

.ai-showcase__ask {
    margin-top: 18px;
    padding: 11px 17px;
    border: 0;
    border-radius: 9px;
    background: var(--ai-accent);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(32,41,49,.15);
}

.ai-showcase__ask span { margin-right: 5px; }
.ai-showcase__assistant { min-width: 0; padding: 42px 25px 24px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 70% 8%, rgba(255,255,255,.1), transparent 34%), #202b34; }

.ai-showcase__assistant-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(0,0,0,.32);
    transform: none;
    opacity: 1;
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}

.ai-showcase.is-visible .ai-showcase__assistant-card { transform: none; opacity: 1; }
.ai-showcase__assistant-head { min-height: 67px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #edf0f2; }
.ai-showcase__assistant-mark { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ai-accent); color: #fff; font-size: 17px; box-shadow: 0 7px 18px rgba(32,41,49,.16); }
.ai-showcase__assistant-head > div:nth-child(2) { min-width: 0; flex: 1; }
.ai-showcase__assistant-head b, .ai-showcase__assistant-head span { display: block; }
.ai-showcase__assistant-head b { color: #222c33; font-size: 14px; }
.ai-showcase__assistant-head span { margin-top: 2px; color: #8a949b; font-size: 11px; }
.ai-showcase__assistant-head i { color: #9aa3aa; font-size: 19px; font-style: normal; }
.ai-showcase__conversation {
    height: 300px;
    min-height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 16px 15px;
    background: #fbfbfb;
    scrollbar-width: thin;
    scrollbar-color: var(--ai-accent) #edf0f2;
}
.ai-showcase__conversation::-webkit-scrollbar { width: 7px; }
.ai-showcase__conversation::-webkit-scrollbar-track { background: #edf0f2; }
.ai-showcase__conversation::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--ai-accent); }
.ai-showcase__question { max-width: 91%; margin: 0 0 16px auto; padding: 11px 13px; border-radius: 13px 13px 3px 13px; background: #eceff1; color: #3c4850; font-size: 12.5px; line-height: 1.5; }

.ai-showcase__answer {
    position: relative;
    min-height: 118px;
    padding: 14px 15px 14px 42px;
    border: 1px solid #edf0f2;
    border-radius: 13px 13px 13px 3px;
    background: #fff;
    color: #354149;
    font-size: 13px;
    line-height: 1.62;
    white-space: pre-line;
}

.ai-showcase__answer::before { content: '✦'; position: absolute; top: 13px; left: 15px; color: var(--ai-accent); font-size: 16px; }
.ai-showcase__answer span.is-typing::after { content: ''; display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; background: var(--ai-accent); vertical-align: -.15em; animation: ai-showcase-caret .75s steps(1) infinite; }
.ai-showcase__input { margin: 0 14px 10px; padding: 11px 11px 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #e1e6e9; border-radius: 10px; color: #9aa3aa; font-size: 11.5px; }
.ai-showcase__input b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--ai-accent); color: #fff; font-size: 15px; }
.ai-showcase__disclaimer { margin: 0 15px 13px; color: #9aa3aa; font-size: 10px; text-align: center; }
.ai-showcase__caption { margin: 17px 0 0; display: flex; align-items: center; justify-content: center; gap: 9px; color: #d3dae0; font-size: 12px; }

.ai-showcase__skills { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ai-showcase__skills article { min-width: 0; padding: 22px; border: 1px solid #e2e7ea; border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: 0 8px 24px rgba(32,41,49,.05); transform: none; opacity: 1; transition: opacity .5s ease, transform .5s ease; }
.ai-showcase.is-visible .ai-showcase__skills article { transform: none; opacity: 1; }
.ai-showcase.is-visible .ai-showcase__skills article:nth-child(2) { transition-delay: .1s; }
.ai-showcase.is-visible .ai-showcase__skills article:nth-child(3) { transition-delay: .2s; }
.ai-showcase__skills article > span { color: var(--ai-accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ai-showcase__skills h3 { margin: 10px 0 7px; color: #263139; font-family: inherit; font-size: 17px; line-height: 1.25; }
.ai-showcase__skills p { margin: 0; color: #6f7b83; 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: 860px) {
    .ai-showcase__workspace { grid-template-columns: 1fr; }
    .ai-showcase__assistant { min-height: 510px; }
    .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, 38px); }
    .ai-showcase__subtitle { margin-top: 14px; font-size: 16px; }
    .ai-showcase__demo { border-radius: 17px; }
    .ai-showcase__windowbar { min-height: 42px; grid-template-columns: auto 1fr; padding: 8px 11px; }
    .ai-showcase__address { padding: 6px 9px; font-size: 10px; }
    .ai-showcase__status { display: none; }
    .ai-showcase__article { padding: 22px 17px 27px; }
    .ai-showcase__publication { align-items: flex-start; gap: 10px; }
    .ai-showcase__journal-logo { max-width: 68%; max-height: 62px; }
    .ai-showcase__publication > span { font-size: 10px; }
    .ai-showcase__article-tools { gap: 10px; font-size: 9.5px; }
    .ai-showcase__rubric { margin-top: 22px; }
    .ai-showcase__article h2 { font-size: 25px; }
    .ai-showcase__lead { padding: 14px; font-size: 13px; }
    .ai-showcase__assistant { min-height: 485px; padding: 25px 12px 20px; }
    .ai-showcase__conversation { height: 285px; min-height: 285px; padding: 14px 12px; }
    .ai-showcase__skills { gap: 12px; margin-top: 14px; }
    .ai-showcase__skills article { padding: 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 { padding-inline: 14px; }
    .ai-showcase__article-tools span:last-child { display: none; }
    .ai-showcase__assistant { padding-inline: 8px; }
    .ai-showcase__answer { padding-left: 37px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-showcase__assistant-card, .ai-showcase__skills article { transition: none; }
}
