/* Shared hero for the homepage and BitrixGPT. No global page styles. */
[data-dp-hero] {
    --orange: #e8502a;
    --paper: #fbfaf7;
    --dark: #0e1014;
}
[data-dp-hero] * { box-sizing: border-box; }
[data-dp-hero] button, [data-dp-hero] a { -webkit-tap-highlight-color: transparent; }
[data-dp-hero] button { font: inherit; cursor: pointer; border: 0; }
[data-dp-hero] a { color: inherit; text-decoration: none; }
[data-dp-hero] button:focus-visible, [data-dp-hero] a:focus-visible { outline: 3px solid #ef8a63; outline-offset: 4px; }
[data-dp-hero] .hero-inner { width: min(1376px, calc(100% - 112px)); margin-inline: auto; }
[data-dp-hero] { background: var(--dark); color: #fff; overflow: clip; position: relative; }
[data-dp-hero] .hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr); gap: 36px; align-items: center; width: min(1660px, calc(100% - 80px)); padding-block: 28px 44px; }
[data-dp-hero] .copy { z-index: 2; min-width: 0; }
[data-dp-hero] .badge { margin: 0 0 25px; font-size: 13px; line-height: 1.5; color: #d4d4d8; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid #ffffff30; border-radius: 30px; }
[data-dp-hero] .badge > span { width: 7px; height: 7px; flex: none; background: var(--orange); border-radius: 50%; box-shadow: 0 0 12px #e8502a80; }
[data-dp-hero] h1 { font-size: clamp(43px, 4.6vw, 67px); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; margin: 0 0 25px; }
[data-dp-hero] h1 > span { color: var(--orange); }
[data-dp-hero] .lead { font-size: 20px; line-height: 1.6; color: #c2c3ca; max-width: 560px; margin: 0 0 28px; }
[data-dp-hero] .lead a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
[data-dp-hero] .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
[data-dp-hero] .primary, [data-dp-hero] .secondary { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 52px; border-radius: 9px; padding: 14px 18px; font-size: 16px; line-height: 1.4; font-weight: 600; color: #fff; }
[data-dp-hero] .primary { background: var(--orange); }
[data-dp-hero] .secondary { background: #ffffff09; border: 1px solid #ffffff35; }
[data-dp-hero] .primary:hover { background: #d84520; }
[data-dp-hero] .secondary:hover { background: #ffffff14; }
[data-dp-hero] .trust { display: flex; gap: 10px 20px; flex-wrap: wrap; color: #bfc1ca; font-size: 14px; line-height: 1.6; margin-top: 24px; }
[data-dp-hero] .trust span::first-letter { color: var(--orange); }
[data-dp-hero] .audit { display: flex; align-items: center; gap: 9px; color: #e7d6cb; background: #e8502a12; border: 1px solid #e8502a65; border-radius: 30px; font-size: 14px; line-height: 1.5; min-height: 44px; padding: 10px 15px; margin-top: 18px; text-align: left; }
[data-dp-hero] .audit > span { color: #ff946c; }
[data-dp-hero] .task-picker { margin-top: 29px; }
[data-dp-hero] .task-picker > p { color: #b7bbc5; font-size: 15px; line-height: 1.5; margin: 0 0 13px; }
[data-dp-hero] .tasks { display: flex; gap: 8px; flex-wrap: wrap; }
[data-dp-hero] .tasks button { color: #d1d3dc; background: transparent; border: 1px solid #ffffff35; border-radius: 30px; font-size: 14px; line-height: 1.4; padding: 11px 14px; min-height: 44px; }
[data-dp-hero] .tasks button[aria-pressed=true] { background: #fff; color: #202226; border-color: #fff; }
[data-dp-hero] .stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, 1.1fr); gap: 20px 24px; align-items: center; min-width: 0; isolation: isolate; }
[data-dp-hero] .backlight { position: absolute; inset: -15px -30px 15px; background: radial-gradient(ellipse at 50% 40%, #e8502a36, #e8502a0a 48%, transparent 70%); z-index: -1; }
[data-dp-hero] .orbit { position: absolute; left: 3%; top: 60px; width: 92%; height: 510px; border: 1px solid #d38e5626; border-radius: 50%; transform: rotate(-20deg); z-index: -1; }
[data-dp-hero] .character-parallax { position: relative; width: 100%; min-width: 0; height: 700px; overflow: clip; isolation: isolate; }
[data-dp-hero] .character { width: 100%; height: 100%; object-fit: cover; object-position: 40% top; filter: none; }
[data-dp-hero] .character-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% top; opacity: 0; pointer-events: none; filter: none; }
[data-dp-hero] .avatar-ready .character { opacity: 0; }
[data-dp-hero] .avatar-ready .character-canvas { opacity: 1; }
[data-dp-hero] .funnel-card { position: relative; min-width: 0; width: 100%; background: linear-gradient(150deg, #242934, #171b23); border: 1px solid #ffffff35; border-radius: 18px; padding: 24px; box-shadow: 0 25px 55px #0006; }
[data-dp-hero] .funnel-heading { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 19px; }
[data-dp-hero] .b-mark { display: flex; align-items: center; justify-content: center; flex: none; font-size: 18px; font-weight: 700; border-radius: 8px; background: var(--orange); width: 34px; height: 34px; }
[data-dp-hero] .funnel-heading h2 { font-size: 21px; line-height: 1.3; margin: 0; font-weight: 600; }
[data-dp-hero] .demo-label { font-size: 12px; line-height: 1.5; color: #c3c8d2; margin-left: auto; letter-spacing: .02em; }
[data-dp-hero] .pipeline-row { display: flex; align-items: center; gap: 12px; padding: 14px 8px; border-radius: 8px; transition: background .3s; }
[data-dp-hero] .pipeline-row.active { background: #e8502a1c; }
[data-dp-hero] .pipeline-row > span { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #b5bdcc; width: 19px; flex: none; }
[data-dp-hero] .pipeline-row > div { flex: 1; min-width: 0; }
[data-dp-hero] .pipeline-row strong { font-weight: 500; font-size: 16px; line-height: 1.45; color: #f0f1f5; display: block; margin-bottom: 9px; }
[data-dp-hero] .pipeline-row > b { font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 500; color: #e6e9ef; min-width: 35px; text-align: right; }
[data-dp-hero] .bar { height: 6px; background: #ffffff14; border-radius: 6px; overflow: hidden; }
[data-dp-hero] .bar i { display: block; height: 100%; background: #c1795d; border-radius: 6px; transition: background .3s; }
[data-dp-hero] .pipeline-row.active .bar i { background: #ff9168; }
[data-dp-hero] .ai-result { margin-top: 18px; padding: 18px 16px; background: #0e1014b8; border: 1px solid #ffffff15; border-radius: 11px; min-height: 166px; }
[data-dp-hero] .ai-result > div { display: flex; gap: 9px; align-items: flex-start; color: #f1f3f7; font-size: 16px; line-height: 1.5; font-weight: 500; }
[data-dp-hero] .ai-star { font-size: 24px; line-height: 1; color: #fa956f; flex: none; margin-top: 2px; }
[data-dp-hero] .ai-result p { font-size: 15px; color: #c2c8d4; line-height: 1.6; margin: 11px 0 15px; }
[data-dp-hero] .human-check { display: block; font-size: 14px; line-height: 1.5; color: #c2d6be; }
[data-dp-hero] .funnel-footnote { font-size: 12px; line-height: 1.5; color: #b4bdcc; margin: 14px 0 0; text-align: right; }
[data-dp-hero] .stage-bottom { grid-column: 1 / -1; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 15px; }
[data-dp-hero] .stage-bottom > span { font-size: 12px; line-height: 1.5; letter-spacing: .03em; color: #aeb6c6; }
[data-dp-hero] .stage-bottom button { background: transparent; color: #bcc5d5; font-size: 13px; line-height: 1.5; min-height: 44px; max-width: 100%; padding: 8px 0; text-align: left; }
@media (max-width: 1350px) {
    [data-dp-hero] .character-parallax { height: 640px; }
}
@media (max-width: 1240px) {
    [data-dp-hero] .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    [data-dp-hero] .copy { max-width: 760px; }
    [data-dp-hero] .stage { width: 100%; max-width: 1080px; margin-inline: auto; }
}
@media (max-width: 1200px) {
    [data-dp-hero] .hero-inner { width: calc(100% - 64px); }
    [data-dp-hero] .hero-inner { gap: 24px; }
}
@media (max-width: 1080px) {
    [data-dp-hero] .hero-inner { width: calc(100% - 40px); }
    [data-dp-hero] .hero-inner { grid-template-columns: 1fr; padding-block: 38px 32px; gap: 30px; }
    [data-dp-hero] h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.08; letter-spacing: -.035em; }
    [data-dp-hero] .lead { font-size: 19px; max-width: 650px; }
    [data-dp-hero] .actions .primary { flex: 1; }
    [data-dp-hero] .tasks button { min-height: 46px; }
    [data-dp-hero] .stage { max-width: 1080px; width: 100%; margin: auto; }
    [data-dp-hero] .orbit { height: 510px; top: 30px; }
    [data-dp-hero] .stage-bottom { width: 100%; }
}
@media (max-width: 760px) {
    [data-dp-hero] .hero-inner { width: calc(100% - 40px); }
    [data-dp-hero] .stage { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 640px; }
    [data-dp-hero] .character-parallax { height: clamp(460px, 125vw, 650px); max-width: 520px; justify-self: center; }
}
@media (max-width: 600px) {
    [data-dp-hero] .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-dp-hero] .actions .primary { grid-column: 1 / -1; }
    [data-dp-hero] .primary, [data-dp-hero] .secondary { padding-inline: 12px; font-size: 15px; }
    [data-dp-hero] .badge { font-size: 12px; }
    [data-dp-hero] .lead { font-size: 18px; }
    [data-dp-hero] .funnel-card { padding: 20px 16px; }
    [data-dp-hero] .funnel-heading h2 { font-size: 20px; }
    [data-dp-hero] .funnel-heading { column-gap: 10px; }
    [data-dp-hero] .pipeline-row { gap: 10px; padding-inline: 4px; }
    [data-dp-hero] .ai-result { padding-inline: 13px; }
}
@media (max-width: 380px) {
    [data-dp-hero] .hero-inner { width: calc(100% - 32px); }
    [data-dp-hero] h1 { font-size: 34px; }
    [data-dp-hero] .badge { padding: 10px; }
    [data-dp-hero] .tasks button { padding-inline: 12px; }
    [data-dp-hero] .pipeline-row > span { width: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    [data-dp-hero] *, [data-dp-hero] *::before, [data-dp-hero] *::after { transition: none !important; animation: none !important; }
}

[data-dp-hero], #top[data-dp-hero] { padding: 0 !important; font-family: Onest, system-ui, sans-serif; }
[data-dp-hero] h1 { text-wrap: balance; }
[data-dp-hero] .scenario-source { font-size: 13px; line-height: 1.5; color: #c2c8d4; margin: 12px 0; }

[data-dp-hero="bitrixgpt"] { background: #faf9f6; color: #202226; border-bottom: 1px solid #e2ded6; }
[data-dp-hero="bitrixgpt"] h1 { font-size: clamp(40px,4vw,58px); }
[data-dp-hero="bitrixgpt"] .badge { color: #50545c; border-color: #d7d2ca; }
[data-dp-hero="bitrixgpt"] .lead { color: #5c6068; }
[data-dp-hero="bitrixgpt"] .lead a { color: #202226; }
[data-dp-hero="bitrixgpt"] .secondary { color: #25272b; border-color: #aaa9a4; background: transparent; }
[data-dp-hero="bitrixgpt"] .task-picker > p { color: #5c6068; }
[data-dp-hero="bitrixgpt"] .tasks button { color: #34383f; border-color: #c3c0b9; }
[data-dp-hero="bitrixgpt"] .tasks button[aria-pressed="true"] { color: #fff; background: #25272b; border-color: #25272b; }
[data-dp-hero="bitrixgpt"] .backlight { background: radial-gradient(ellipse at 50% 40%, #f9dfcc, #f5e7da55 52%, transparent 75%); }
[data-dp-hero="bitrixgpt"] .orbit { border-color: #c9a17d55; }
[data-dp-hero="bitrixgpt"] .stage-bottom > span, [data-dp-hero="bitrixgpt"] .stage-bottom button { color: #5c6068; }
[data-dp-hero] .example-card { min-width: 0; padding: 26px; border: 1px solid #e0dcd5; border-radius: 18px; background: #fff; color: #25272b; box-shadow: 0 18px 45px #30251c0a; }
[data-dp-hero] .example-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; line-height: 1.5; }
[data-dp-hero] .example-brand .demo-label { color: #62666f; }
[data-dp-hero] .example-card .scenario-source { color: #62666f; margin: 20px 0 14px; }
[data-dp-hero] .example-card h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 16px; }
[data-dp-hero] .example-card p[data-hero-output="body"] { font-size: 17px; line-height: 1.65; color: #555b65; margin: 0 0 20px; }
[data-dp-hero] .example-card .human-check { color: #47643f; border-top: 1px solid #e7e3dc; padding-top: 16px; }
@media (max-width: 600px) { [data-dp-hero="bitrixgpt"] h1 { font-size: 36px; } [data-dp-hero] .example-card { padding: 22px 18px; } }
@media (max-width: 380px) { [data-dp-hero="bitrixgpt"] h1 { font-size: 34px; } }

@media (max-width: 600px) { [data-dp-hero="bitrixgpt"] .actions { grid-template-columns: minmax(0, 1fr); } }

[data-dp-hero] .hero-auto {display:block;background:transparent;color:#c2c3ca;text-decoration:underline;text-underline-offset:4px;font-size:14px;min-height:44px;padding:10px 0;margin-top:6px;}

[data-dp-hero] h1 {overflow-wrap:anywhere;}
