.plugin-page { overflow: hidden; }
.plugin-hero { padding-block: 76px 72px; }
.plugin-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 76px); }
.plugin-hero-copy { min-width: 0; }
.plugin-hero-copy .eyebrow { margin-bottom: 18px; }
.plugin-hero-copy h1 { max-width: 650px; margin-bottom: 20px; font-size: var(--public-hero-title-size); line-height: 1.08; letter-spacing: -2px; text-wrap: balance; }
.plugin-hero-copy h1 span { color: #2458e6; }
.plugin-lead { max-width: 560px; margin-bottom: 0; color: #526078; font-size: var(--public-hero-lead-size); line-height: 1.65; }
.plugin-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.plugin-hero-actions .text-link { color: #17233b; }
.plugin-hero-actions .text-link:hover { color: #2458e6; }
.plugin-install-button { white-space: nowrap; font-size: var(--public-hero-action-size); }
.plugin-install-button:focus-visible { outline-offset: 4px; }
.plugin-hero-art { margin: 0; overflow: hidden; border: 1px solid #e2eaf8; border-radius: 24px; background: #edf4ff; box-shadow: 0 18px 44px #17233b0b; }
.plugin-hero-art img { display: block; width: 100%; height: auto; }
.plugin-example { padding-block: 60px 48px; background: #fff; }
.plugin-example-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 76px); }
.plugin-example .section-heading { max-width: none; margin: 0; text-align: left; }
.plugin-example .section-heading .eyebrow { display: block; text-align: left; }
.plugin-example .section-heading > p { margin-inline: 0; }
.plugin-example .section-heading h2 .rotating-word { display: inline-grid; grid-template-columns: max-content; color: #17233b; vertical-align: baseline; }
.plugin-example .section-heading h2 .rotating-word > span { grid-area: 1 / 1; }
.plugin-example .section-heading h2 .word-conversa { animation: plugin-conversa-cycle 5s ease-in-out infinite; }
.plugin-example .section-heading h2 .word-palavra { animation: plugin-palavra-cycle 5s ease-in-out infinite; }
.plugin-example .section-heading h2 .example-highlight { color: #2458e6; }
@keyframes plugin-conversa-cycle {
  0%, 38%, 100% { opacity: 1; transform: translateY(0); }
  43%, 95% { opacity: 0; transform: translateY(-.22em); }
}
@keyframes plugin-palavra-cycle {
  0%, 43%, 90%, 100% { opacity: 0; transform: translateY(.22em); }
  48%, 85% { opacity: 1; transform: translateY(0); }
}
.chatgpt-demo { min-width: 0; padding: 18px; border: 1px solid #e3e8f1; border-radius: 24px; background: #fff; box-shadow: 0 12px 32px #17233b08; }
.chatgpt-demo-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: #17233b; font-size: 14px; }
.chatgpt-demo-header span { color: #77839a; font-size: 11px; }
.chatgpt-transcript { display: flex; min-height: 208px; flex-direction: column; gap: 14px; justify-content: flex-end; padding: 14px 2px; }
.chatgpt-welcome { max-width: 260px; margin: auto; text-align: center; font-size: 14px; line-height: 1.6; }
.chatgpt-demo.is-sent .chatgpt-welcome { display: none; }
.chatgpt-user-message { max-width: 94%; align-self: flex-end; padding: 12px 15px; border-radius: 18px; background: #f4f4f4; color: #17233b; font-size: 13px; line-height: 1.55; opacity: 0; transform: translateY(8px); }
.chatgpt-demo.is-sent .chatgpt-user-message { animation: chat-message-in .3s ease-out forwards; }
.chatgpt-typing { display: none; width: max-content; align-items: center; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #f4f4f4; }
.chatgpt-demo.is-sent .chatgpt-typing { display: flex; }
.chatgpt-demo.has-response .chatgpt-typing { display: none; }
.chatgpt-typing i { width: 6px; height: 6px; border-radius: 50%; background: #7d8797; animation: chat-dot-bounce .8s ease-in-out infinite alternate; }
.chatgpt-typing i:nth-child(2) { animation-delay: .15s; }
.chatgpt-typing i:nth-child(3) { animation-delay: .3s; }
.chatgpt-answer { display: none; width: 100%; max-width: 100%; align-self: flex-start; flex-direction: column; gap: 10px; padding: 4px 8px 2px; color: #33425d; font-size: 14px; line-height: 1.7; opacity: 0; transform: translateY(8px); }
.chatgpt-demo.has-response .chatgpt-answer { display: flex; animation: chat-message-in .35s ease-out forwards; }
.chatgpt-answer p { margin: 0; }
.chatgpt-answer strong { color: #17233b; font-size: inherit; font-weight: 700; }
.chatgpt-answer .chatgpt-example-label { margin: 1px 0 -5px; color: #526078; font-size: 12px; font-weight: 650; }
.chatgpt-answer .chatgpt-followup { margin-top: 1px; color: #526078; }
.chatgpt-answer blockquote { margin: 0; padding: 11px 14px; border-left: 3px solid #2458e6; border-radius: 0 10px 10px 0; background: #f5f7fb; color: #17233b; font-style: italic; }
.chatgpt-composer { display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 10px 15px; border: 1px solid #dfe3ea; border-radius: 22px; background: #fff; box-shadow: 0 2px 8px #17233b0a; }
.chatgpt-composer textarea { display: block; width: 100%; min-width: 0; min-height: 58px; max-height: 110px; resize: none; border: 0; outline: 0; background: transparent; color: #33425d; font: inherit; font-size: 13px; line-height: 1.5; }
.chatgpt-composer textarea::placeholder { color: #8a94a4; }
.chatgpt-send { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 0; border-radius: 50%; background: #17233b; color: #fff; font-size: 23px; line-height: 1; transition: background .18s, transform .18s; }
.chatgpt-send:hover:not(:disabled) { transform: scale(1.05); background: #2458e6; }
.chatgpt-send:disabled { cursor: wait; opacity: .65; }
.chatgpt-demo.has-response .chatgpt-send { cursor: pointer; }
.chatgpt-demo-caption { margin: 9px 4px 0; color: #77839a; font-size: 11px; line-height: 1.45; }
@keyframes chat-message-in { to { opacity: 1; transform: translateY(0); } }
@keyframes chat-dot-bounce { to { opacity: .35; transform: translateY(-3px); } }
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.install-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 10px; background: #e9efff; color: #2458e6; font-size: 13px; font-weight: 750; }
.install-steps h3 { margin: 0 0 9px; color: #17233b; font-size: 17px; line-height: 1.35; }
.install-steps p { margin: 0; font-size: 14px; line-height: 1.65; }
.plugin-install-guide { padding-block: 48px 60px; background: #fff; }
.plugin-install-guide .section-heading { max-width: 720px; margin-bottom: 32px; }
.install-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.install-steps li { display: flex; gap: 16px; min-width: 0; padding: 22px; border: 1px solid #e3e8f1; border-radius: 16px; background: #fff; }
.install-steps li > span { flex: 0 0 36px; margin: 0; }
.plugin-install-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; padding: 28px 32px; border-radius: 20px; background: #2458e6; color: #fff; }
.plugin-install-cta h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.4px; }
.plugin-install-cta p { margin: 0; color: #e2eaff; font-size: 14px; }
.plugin-install-cta .plugin-install-button { flex: 0 0 auto; background: #fff; color: #2458e6; }
.plugin-install-cta .plugin-install-button { background: #fff; color: #2458e6; }
.plugin-install-cta .plugin-install-button:hover { background: #e9efff; }

@media (max-width: 1000px) {
  .plugin-hero { padding-block: 56px; }
  .plugin-hero-inner { gap: 32px; }
  .plugin-example { padding-block: 48px 40px; }
  .plugin-install-guide { padding-block: 40px 52px; }
}
@media (max-width: 900px) {
  .plugin-hero-inner { grid-template-columns: 1fr; max-width: 720px; }
  .plugin-hero-art { width: min(100%, 640px); margin-inline: auto; }
}
@media (max-width: 800px) {
  .plugin-example-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plugin-example .section-heading, .chatgpt-demo { width: 100%; max-width: 720px; margin-inline: auto; }
  .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .plugin-hero { padding-block: 42px 52px; }
  .plugin-example { padding-block: 36px 28px; }
  .plugin-install-guide { padding-block: 28px 40px; }
  .plugin-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .plugin-hero-copy { text-align: center; }
  .plugin-hero-copy .eyebrow { display: inline-block; text-align: center; }
  .plugin-hero-copy h1 { margin-inline: auto; font-size: var(--public-hero-title-size-mobile); letter-spacing: -1.5px; text-wrap: balance; }
  .plugin-lead { margin-inline: auto; font-size: var(--public-hero-lead-size-mobile); }
  .plugin-hero-actions { align-items: center; justify-content: center; flex-direction: column; gap: 8px; margin-top: 22px; }
  .plugin-hero-actions .plugin-install-button { min-width: 180px; }
  .plugin-hero-actions .text-link { justify-content: center; }
  .plugin-hero-art { width: min(100%, 520px); margin-inline: auto; border-radius: 18px; }
  .plugin-install-guide .section-heading { margin-bottom: 26px; }
  .chatgpt-demo { padding: 16px; border-radius: 20px; }
  .chatgpt-demo-header { margin-bottom: 8px; }
  .chatgpt-transcript { min-height: 170px; gap: 12px; padding-block: 12px; }
  .chatgpt-user-message { max-width: 100%; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
  .chatgpt-answer { font-size: 14px; line-height: 1.7; gap: 9px; padding-inline: 2px; }
  .chatgpt-answer blockquote { padding: 10px 12px; overflow-wrap: anywhere; }
  .chatgpt-composer { align-items: center; gap: 8px; padding: 9px; }
  .chatgpt-composer textarea { min-height: 52px; font-size: 14px; }
  .chatgpt-send { width: 44px; height: 44px; flex-basis: 44px; }
  .chatgpt-demo-caption { font-size: 12px; }
  .install-steps li { gap: 12px; padding: 18px; }
  .install-steps h3 { font-size: 16px; }
  .install-steps p { font-size: 14px; line-height: 1.55; }
  .plugin-install-cta { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 26px; padding: 24px; }
  .plugin-install-cta h3 { font-size: 19px; }
  .plugin-install-cta .plugin-install-button { width: 100%; }
}
@media (max-width: 520px) {
  .install-steps { grid-template-columns: 1fr; gap: 12px; }
  .plugin-example-layout { gap: 22px; }
  .chatgpt-demo { padding: 14px; }
  .chatgpt-transcript { min-height: 150px; }
  .chatgpt-composer { border-radius: 18px; }
  .install-steps li { padding: 16px; }
}
@media (max-width: 360px) {
  .plugin-hero-inner { width: calc(100% - 32px); }
  .plugin-hero-copy h1 { font-size: 33px; }
  .plugin-example .container, .plugin-install-guide .container { width: calc(100% - 32px); }
  .prompt-card blockquote { font-size: 14px; }
  .chatgpt-demo-header span { font-size: 10px; }
  .chatgpt-user-message { padding: 11px 12px; }
  .chatgpt-composer textarea { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .plugin-example .section-heading h2 .rotating-word > span { animation: none; transform: none; }
  .plugin-example .section-heading h2 .rotating-word .word-palavra { display: none; }
  .chatgpt-user-message, .chatgpt-answer { animation: none !important; transform: none; }
  .chatgpt-demo.is-sent .chatgpt-user-message, .chatgpt-demo.has-response .chatgpt-answer { opacity: 1; }
  .chatgpt-typing i { animation: none; }
}
