.agency-product {
  --ap-page: var(--page, #faf9f9);
  --ap-ink: var(--ink, #1c1917);
  --ap-muted: var(--muted, #777169);
  --ap-border: var(--border, #eae8e5);
  --ap-paper: var(--surface, #fff);
  --ap-panel: #f3f1ef;
  color: var(--ap-ink);
  background: var(--ap-page);
}

.agency-product [hidden] { display: none; }

.agency-product .ap-section { border-top: 1px solid var(--ap-border); }

.agency-product .ap-frame {
  width: var(--rail-width);
  margin-inline: auto;
  border-inline: 1px solid var(--ap-border);
}

.agency-product .ap-intro {
  padding: 49px 40px 63px;
}

.agency-product .ap-index {
  margin: 0 0 112px;
  color: #928b82;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 26px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.agency-product .ap-index span { margin-right: 6px; }

.agency-product .ap-intro h2 {
  max-width: 1100px;
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 4.15vw, 54px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.11;
}

.agency-product .ap-display {
  font-family: var(--queep-display);
  font-weight: 650;
}

.agency-product .ap-description {
  max-width: 860px;
  margin: 24px 0 0;
  color: var(--ap-muted);
  font-size: 21px;
  line-height: 1.5;
}

.agency-product .ap-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  margin-top: 32px;
  padding: 0 19px;
  color: var(--ap-ink);
  border: 1px solid #dfddda;
  border-radius: 999px;
  background: var(--ap-paper);
  box-shadow: 0 2px 2px #241d1406;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.agency-product .ap-pill:hover { background: #f7f6f5; border-color: #c8c5c1; }

.agency-product .ap-rule { height: 1px; background: var(--ap-border); }

.agency-product .ap-rule .ap-frame {
  position: relative;
  height: 1px;
}

.agency-product .ap-rule .ap-frame::before,
.agency-product .ap-rule .ap-frame::after {
  position: absolute;
  z-index: 1;
  top: -1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #44413d;
  box-shadow: 0 0 0 6px var(--ap-page);
  content: '';
}

.agency-product .ap-rule .ap-frame::before { left: -2px; }
.agency-product .ap-rule .ap-frame::after { right: -2px; }

.agency-product .ap-platform,
.agency-product .ap-agent {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 69fr);
  gap: 12px;
  padding: 12px 11px;
}

.agency-product .ap-feature-list,
.agency-product .ap-agent-suggestions { display: grid; gap: 12px; }

.agency-product .ap-feature,
.agency-product .ap-agent-option {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 17px;
  background: var(--ap-panel);
  color: var(--ap-muted);
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease;
}

.agency-product .ap-agent-suggestions {
  align-self: start;
  align-content: start;
  grid-auto-rows: max-content;
}

.agency-product .ap-feature:has([aria-expanded="true"]),
.agency-product .ap-agent-option[aria-pressed="true"] {
  border-color: #dfddda;
  background: var(--ap-paper);
  color: var(--ap-ink);
  box-shadow: 0 2px 2px #241d1406;
}

.agency-product .ap-feature-button,
.agency-product .ap-agent-option {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 83px;
  padding: 0 23px;
  color: inherit;
  font: inherit;
  font-weight: 450;
  text-align: left;
  cursor: pointer;
}

.agency-product .ap-feature-button { border: 0; background: transparent; }
.agency-product .ap-feature-button[aria-expanded="true"] { min-height: 50px; }

.agency-product .ap-feature-button:hover,
.agency-product .ap-agent-option:hover { color: var(--ap-ink); }

.agency-product .ap-feature > p {
  margin: 0;
  padding: 0 22px 19px 54px;
  color: var(--ap-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.agency-product .ap-icon {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: .63;
}

.agency-product .ap-feature-button[aria-expanded="true"] .ap-icon { opacity: .95; }

.agency-product .ap-feature-stage,
.agency-product .ap-agent-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 6% 20%, #f4d8df, transparent 47%),
    radial-gradient(ellipse at 93% 40%, #f3e4e9, transparent 55%),
    radial-gradient(ellipse at 64% 98%, #f5dadf, transparent 45%),
    #f3f1ef;
}

.agency-product .ap-feature-stage { min-height: 715px; padding: clamp(20px, 4.5vw, 64px); }

.agency-product .ap-feature-stage[data-palette="1"],
.agency-product .ap-feature-stage[data-palette="4"] {
  background: radial-gradient(ellipse at 7% 15%, #dfdbfa, transparent 55%), radial-gradient(ellipse at 95% 90%, #f3e2e9, transparent 55%), #f0edf8;
}

.agency-product .ap-feature-stage[data-palette="2"],
.agency-product .ap-feature-stage[data-palette="5"] {
  background: radial-gradient(ellipse at 7% 15%, #dce7ff, transparent 56%), radial-gradient(ellipse at 95% 95%, #e9e5f3, transparent 55%), #f0f2f7;
}

.agency-product .ap-feature-stage[data-palette="3"],
.agency-product .ap-feature-stage[data-palette="6"] {
  background: radial-gradient(ellipse at 7% 15%, #e5efc7, transparent 55%), radial-gradient(ellipse at 95% 95%, #ece5f5, transparent 55%), #f2f2ea;
}

.agency-product .ap-feature-stage::before,
.agency-product .ap-agent-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle at 16% 31%, #534e5366 .3px, transparent .65px),
    radial-gradient(circle at 71% 74%, #534e5355 .4px, transparent .68px),
    radial-gradient(circle at 51% 81%, #fff8 .3px, transparent .84px);
  background-size: 5px 3.5px, 7px 5px, 3px 5px;
  opacity: .55;
  pointer-events: none;
  content: '';
}

.agency-product .ap-stage-image,
.agency-product .ap-app {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #1c191719;
  border-radius: 14px;
  background: #fafafa;
  box-shadow: 0 26px 62px #30212c25;
  color: #302f2f;
  animation: ap-stage-in 220ms ease both;
}

.agency-product .ap-stage-image {
  aspect-ratio: 1.53;
  object-fit: contain;
}
.agency-product .ap-feature-embed { width: 100%; height: 565px; border: 1px solid #1c191719; border-radius: 14px; background: #fff; box-shadow: 0 26px 62px #30212c25; }

@keyframes ap-stage-in {
  from { opacity: .25; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.agency-product .ap-app {
  display: flex;
  flex-direction: column;
  align-self: center;
  aspect-ratio: 1.46;
  overflow: hidden;
  font-size: clamp(7px, .8vw, 12px);
}

.agency-product .ap-app-top {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.1em;
  padding: 1em 1.2em;
  border-bottom: 1px solid #e9e8e6;
  background: #fff;
}

.agency-product .ap-app-logo { display: flex; align-items: center; gap: .42em; font-size: 1.38em; font-weight: 750; letter-spacing: -.04em; }
.agency-product .ap-app-logo img { width: 1.25em; height: 1.25em; }
.agency-product .ap-app-current { padding: .44em .72em; border-radius: .55em; background: #edecea; font-weight: 600; }
.agency-product .ap-app-search { display: flex; flex: 1; align-items: center; gap: .5em; min-width: 0; padding: .48em .7em; border-radius: .6em; background: #f4f4f3; color: #7c7a76; white-space: nowrap; }
.agency-product .ap-app-search .ap-icon { width: 1em; height: 1em; }
.agency-product .ap-app-add { margin-left: auto; padding: .48em .78em; border-radius: .6em; background: #eef1eb; color: #353930; white-space: nowrap; font-weight: 600; }
.agency-product .ap-app-content { flex: 1; min-height: 0; padding: 1.7em 1.8em; }
.agency-product .ap-app-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.35em; }
.agency-product .ap-app-title strong { font-size: 2em; font-weight: 680; letter-spacing: -.065em; }
.agency-product .ap-app-title p { margin: .3em 0 0; color: #777570; }
.agency-product .ap-app-title > span { padding: .45em .8em; border: 1px solid #ecebea; border-radius: 99px; color: #777570; }
.agency-product .ap-app-brands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.agency-product .ap-app-card { overflow: hidden; border: 1px solid #e9e8e6; border-radius: .85em; background: #fff; }
.agency-product .ap-app-cover { position: relative; display: grid; place-items: center; aspect-ratio: 2.1; overflow: hidden; background: var(--brand-bg); color: var(--brand-fg); }
.agency-product .ap-app-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.agency-product .ap-app-cover img + strong { text-shadow: 0 2px 12px #0008; }
.agency-product .ap-app-cover.ap-bio img { object-position: center 37%; }
.agency-product .ap-app-cover.ap-bio img + strong { color: #fff; }
.agency-product .ap-app-cover strong { position: relative; z-index: 1; font-size: 1.43em; font-weight: 740; letter-spacing: -.05em; }
.agency-product .ap-app-card-meta { display: flex; align-items: center; gap: .46em; padding: .57em; }
.agency-product .ap-app-card-meta > div { flex: 1; min-width: 0; }
.agency-product .ap-app-card-meta strong,
.agency-product .ap-app-card-meta small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agency-product .ap-app-card-meta small { color: #777570; font-size: .72em; }
.agency-product .ap-brand-mark { display: inline-grid; flex: 0 0 auto; place-items: center; width: 2em; height: 2em; border-radius: .52em; background: var(--brand-bg); color: var(--brand-fg); font-size: .9em; font-weight: 740; letter-spacing: -.05em; }
.agency-product .ap-truffle { --brand-bg: #ec623e; --brand-fg: #221819; --art-glow: #f9b16e; }
.agency-product .ap-bio { --brand-bg: #dce866; --brand-fg: #263624; --art-glow: #f9efbd; }
.agency-product .ap-talk { --brand-bg: #c9ebe4; --brand-fg: #075458; --art-glow: #e7f5f0; }
.agency-product .ap-app-cover .talk-mark { --talk-width: 6.1em; }
.agency-product .ap-rise { --brand-bg: #141b35; --brand-fg: #fff; --art-glow: #2358f3; }
.agency-product .ap-forno { --brand-bg: #c97145; --brand-fg: #fff2dd; --art-glow: #febf8e; }
.agency-product .ap-lumi { --brand-bg: #ded4f9; --brand-fg: #391d4a; --art-glow: #f5edfa; }

.agency-product .ap-app-table { overflow: hidden; border: 1px solid #e8e7e4; border-radius: .8em; background: #fff; }
.agency-product .ap-app-table-head,
.agency-product .ap-app-table-row { display: grid; grid-template-columns: 1.2fr 1fr 1.15fr; align-items: center; gap: 1em; padding: 1.1em; border-bottom: 1px solid #efeeeb; }
.agency-product .ap-app-table-head { background: #f4f4f2; color: #6f6c68; font-weight: 550; }
.agency-product .ap-app-table-row:last-child { border-bottom: 0; }
.agency-product .ap-app-table-row > span:first-child { display: flex; align-items: center; gap: .7em; }
.agency-product .ap-app-table-row b { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: #e7e4f4; color: #51476a; }
.agency-product .ap-app-table-row small { display: block; margin-top: .16em; color: #777570; }

.agency-product .ap-gallery {
  width: var(--rail-width);
  margin-inline: auto;
  padding: 12px 11px;
  border-inline: 1px solid var(--ap-border);
}

.agency-product .ap-gallery .ap-frame {
  width: 100%;
  border: 0;
  background: var(--ap-panel);
}

.agency-product .ap-gallery-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 20px 100px 19px;
  border-radius: 16px 16px 0 0;
}

.agency-product .ap-categories {
  display: flex;
  gap: 3px;
  overflow: auto hidden;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: #eae7e4;
  scrollbar-width: none;
}

.agency-product .ap-chip {
  flex: 0 0 auto;
  min-height: 39px;
  padding: 0 clamp(13px, 1.8vw, 27px);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ap-muted);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.agency-product .ap-chip[aria-pressed="true"] {
  border-color: #dbd8d5;
  background: var(--ap-paper);
  color: var(--ap-ink);
  box-shadow: 0 1px 2px #241d1413;
}

.agency-product .ap-chip:hover { color: var(--ap-ink); }

.agency-product .ap-gallery-arrows { position: absolute; right: 19px; display: flex; gap: 6px; }

.agency-product .ap-gallery-arrows button,
.agency-product .ap-dialog-close {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 1px solid #dedbd8;
  border-radius: 50%;
  background: var(--ap-paper);
  color: var(--ap-ink);
  font: inherit;
  cursor: pointer;
}

.agency-product .ap-gallery-arrows button:hover,
.agency-product .ap-dialog-close:hover { background: #eae7e4; }

.agency-product .ap-gallery-track {
  display: flex;
  align-items: start;
  gap: clamp(15px, 2.7vw, 39px);
  min-height: 533px;
  padding: 36px 28px 29px;
  overflow: auto hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 28px;
  scrollbar-width: none;
  border-radius: 0 0 16px 16px;
}
.agency-product .ap-gallery-embed {
  display: block;
  width: 100%;
  height: clamp(415px, 48vw, 650px);
  margin-top: 16px;
  border: 1px solid #e6e2de;
  border-radius: 16px;
  background: #fff;
}

.agency-product .ap-gallery-track::-webkit-scrollbar,
.agency-product .ap-categories::-webkit-scrollbar { display: none; }

.agency-product .ap-asset {
  flex: 0 0 clamp(162px, 16.2vw, 232px);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ap-ink);
  text-align: left;
  font: inherit;
  font-size: 13px;
  scroll-snap-align: start;
  cursor: zoom-in;
}

.agency-product .ap-asset > span { display: block; margin-top: 11px; color: var(--ap-muted); }
.agency-product .ap-asset-tile { overflow: hidden; box-shadow: 0 4px 14px #24211b1c; transition: transform 180ms ease, box-shadow 180ms ease; }
.agency-product .ap-asset:hover .ap-asset-tile { transform: translateY(-3px); box-shadow: 0 9px 22px #24211b2a; }

.agency-product .ap-art {
  position: relative;
  isolation: isolate;
  display: flex;
  aspect-ratio: 0.51;
  overflow: hidden;
  background: var(--brand-bg);
  color: var(--brand-fg);
}

.agency-product .ap-art-image,
.agency-product .ap-art-paper {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agency-product .ap-art-image { opacity: .92; }

.agency-product .ap-art-paper {
  background:
    radial-gradient(ellipse at 92% 10%, var(--art-glow), transparent 50%),
    repeating-linear-gradient(21deg, transparent 0 10px, color-mix(in srgb, var(--brand-fg), transparent 94%) 11px 12px),
    var(--brand-bg);
}

.agency-product .ap-art-image + .ap-art-paper {
  background: linear-gradient(180deg, #1116, transparent 22%, transparent 38%, color-mix(in srgb, var(--brand-bg), transparent 24%) 71%, var(--brand-bg) 91%);
}

.agency-product .ap-art-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 18px;
  font-family: Inter, system-ui, sans-serif;
}

.agency-product .ap-art-wordmark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.065em;
}

.agency-product .ap-art-center {
  display: grid;
  gap: 13px;
  margin-top: auto;
}

.agency-product .ap-art-center strong {
  font-size: clamp(24px, 2.45vw, 37px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.079em;
  overflow-wrap: anywhere;
}

.agency-product .ap-art-center > span { max-width: 15ch; font-size: 11px; line-height: 1.35; }
.agency-product .ap-art-content > small { margin-top: 6px; font-family: ui-monospace, monospace; font-size: 8px; letter-spacing: .11em; }
.agency-product .ap-art-guide .ap-art-center { margin-top: 0; }
.agency-product .ap-art-swatches { display: block; width: 55%; height: 12px; background: linear-gradient(90deg, var(--brand-fg) 33.333%, var(--swatch) 33.333% 66.666%, var(--art-glow) 66.666%); }

.agency-product .ap-art.ap-truffle .ap-art-paper {
  background:
    radial-gradient(ellipse at 72% 23%, transparent 0 16%, #231a19 17% 28%, transparent 29%),
    radial-gradient(ellipse at 49% 35%, transparent 0 15%, #231a19 16% 28%, transparent 29%),
    radial-gradient(ellipse at 27% 45%, transparent 0 15%, #231a19 16% 27%, transparent 28%),
    #eb6645;
}

.agency-product .ap-art.ap-bio .ap-art-paper {
  background:
    radial-gradient(circle at 72% 40%, #e6a94a 0 15%, transparent 15.5%),
    radial-gradient(ellipse at 25% 26%, #72965e 0 20%, transparent 20.5%),
    radial-gradient(ellipse at 54% 30%, #aec269 0 24%, transparent 25%),
    linear-gradient(160deg, #e6ecb9, #d6e175);
}

.agency-product .ap-art.ap-bio .ap-art-image {
  height: 66%;
  object-position: center 41%;
}

.agency-product .ap-art.ap-bio .ap-art-image + .ap-art-paper {
  background: linear-gradient(180deg, #e6ecb95c, transparent 21% 48%, #d6e175 67%);
}

.agency-product .ap-art.ap-bio .ap-art-center strong,
.agency-product .ap-art.ap-forno .ap-art-center strong {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.07em;
}

.agency-product .ap-art.ap-talk { --brand-fg: #043e43; --brand-bg: #8fdbd1; }
.agency-product .ap-art-wordmark .talk-mark { --talk-width: clamp(69px, 8vw, 105px); }

.agency-product .ap-art.ap-talk .ap-art-paper {
  background:
    radial-gradient(ellipse at 64% 27%, #effaf2 0 13%, transparent 14%),
    radial-gradient(ellipse at 35% 42%, #b7eee1 0 16%, transparent 17%),
    linear-gradient(160deg, #d5f7ed, #72c7c3 80%);
}

.agency-product .ap-art-post .ap-art-center { margin: auto 0; }
.agency-product .ap-art-post .ap-art-center strong { font-size: clamp(25px, 2.7vw, 44px); }
.agency-product .ap-art.ap-rise .ap-art-center strong { font-size: clamp(23px, 2.15vw, 32px); }
.agency-product .ap-art-campaign .ap-art-content { padding-left: 21px; padding-right: 21px; }
.agency-product .ap-art-print .ap-art-content { margin: 12px; padding: 13px; border: 1px solid currentColor; }
.agency-product .ap-art-guide .ap-art-content { border-left: 7px solid color-mix(in srgb, var(--brand-fg), transparent 40%); }

.agency-product .ap-gallery-dialog {
  width: min(360px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #e4e1dc;
  border-radius: 14px;
  background: var(--ap-paper);
  color: var(--ap-ink);
  box-shadow: 0 20px 80px #1114;
}

.agency-product .ap-gallery-dialog::backdrop { background: #18161199; backdrop-filter: blur(2px); }
.agency-product .ap-dialog-inner { position: relative; }
.agency-product .ap-dialog-inner .ap-art { aspect-ratio: .72; }
.agency-product .ap-dialog-inner h3 { margin: 0; padding: 16px 22px; font-size: 16px; font-weight: 600; }
.agency-product .ap-dialog-close { position: absolute; z-index: 2; top: 12px; right: 12px; font-size: 21px; }

.agency-product .ap-provider { display: inline-flex; align-items: baseline; gap: .15em; white-space: nowrap; }
.agency-product .ap-provider b {
  display: inline-grid;
  place-items: center;
  width: .8em;
  height: .8em;
  margin-right: -.08em;
  font-family: system-ui, sans-serif;
  font-size: .75em;
  line-height: .8;
  vertical-align: .08em;
}
.agency-product .ap-claude-icon { color: #d46e51; }
.agency-product .ap-gpt-icon { color: #151515; }
.agency-product .ap-provider .ap-inline-icon { align-self: center; border: 1px solid #b6d1bf; border-radius: .22em; background: linear-gradient(#edf9f1, #bed8c5); font-size: 1em; }
.agency-product .ap-provider .ap-inline-purple { border-color: #cecae6; background: linear-gradient(#f6f4ff, #d8d2ee); }
.agency-product .ap-provider .ap-inline-icon .ap-icon { width: .45em; height: .45em; }

.agency-product .ap-agent {
  grid-template-columns: minmax(0, 41.25fr) minmax(0, 57.75fr);
  padding-bottom: 12px;
}

.agency-product .ap-agent-option {
  min-height: 77px;
  padding: 13px 27px;
  color: #726c64;
  background: var(--ap-panel);
  line-height: 1.4;
}

.agency-product .ap-agent-stage {
  min-height: 701px;
  padding: clamp(25px, 4vw, 60px);
  background:
    radial-gradient(ellipse at 6% 12%, #fae5e1, transparent 52%),
    radial-gradient(ellipse at 94% 37%, #f8edca, transparent 43%),
    radial-gradient(ellipse at 61% 100%, #f9e5dc, transparent 53%),
    #f5f6fc;
}

.agency-product .ap-agent-chat {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: min(100%, 532px);
  margin-inline: auto;
  color: #201c1c;
  font-size: 13.5px;
}

.agency-product .ap-agent-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #706a62;
  font-size: 11px;
}

.agency-product .ap-agent-status { display: flex; align-items: center; gap: 6px; color: #262321; font-size: 14px; font-weight: 680; }
.agency-product .ap-agent-status img { width: 14px; height: 14px; }
.agency-product .ap-agent-messages { display: flex; flex-direction: column; gap: 20px; }
.agency-product .ap-user-message { align-self: end; max-width: 88%; margin: 0; padding: 12px 16px; border: 1px solid #cfdcff; border-radius: 16px 16px 6px 16px; background: #e9f0ff; color: #1b3265; box-shadow: 0 10px 30px #231c1710; line-height: 1.5; overflow-wrap: anywhere; animation: ap-stage-in 220ms ease both; }
.agency-product .ap-user-message p { margin: 3px 0 0; }
.agency-product .ap-user-message > small { display: block; margin-top: 6px; text-align: right; color: #51658b; font-size: 11px; }
.agency-product .ap-user-message.is-sending { opacity: .85; }
.agency-product .ap-chat-author { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.agency-product [data-agent-reply]:empty { display: none; }
.agency-product .ap-chat-typing { width: fit-content; margin-left: 49px; padding: 10px 13px; border: 1px solid #ede8e5; border-radius: 14px; background: #fff; color: #66615d; font-size: 12px; animation: ap-stage-in 220ms ease both; }
.agency-product .ap-chat-typing span { display: inline-block; margin-left: 3px; letter-spacing: .15em; animation: ap-typing 650ms ease-in-out infinite alternate; }
@keyframes ap-typing { from { opacity: .35; } to { opacity: 1; } }
.agency-product .ap-assistant-message { display: grid; grid-template-columns: 37px minmax(0, 1fr); align-items: start; gap: 12px; animation: ap-stage-in 220ms ease both; }
.agency-product .ap-chat-queep { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #eee6e6; border-radius: 50%; background: radial-gradient(circle at 75% 28%, #f2dc9c, transparent 55%), radial-gradient(circle at 5% 5%, #f9c9bb, transparent 58%), #f7f7fb; }
.agency-product .ap-chat-queep img { width: 14px; height: 14px; opacity: .72; }
.agency-product .ap-assistant-message > div { border: 1px solid #eee8e6; border-radius: 16px; background: #fff; padding: 18px; box-shadow: 0 20px 50px #24201b19; }
.agency-product .ap-assistant-message p { margin: 0 0 13px; line-height: 1.5; }
.agency-product .ap-attachment { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px; border: 1px solid #eae8e5; border-radius: 9px; }
.agency-product .ap-attachment > span:nth-child(2) { flex: 1; min-width: 0; }
.agency-product .ap-attachment strong,
.agency-product .ap-attachment small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agency-product .ap-attachment strong { font-size: 12px; font-weight: 630; }
.agency-product .ap-attachment small { margin-top: 3px; color: #736c64; font-size: 10px; }
.agency-product .ap-attachment > .ap-icon { width: 15px; height: 15px; }
.agency-product .ap-carousel { --carousel-ease: cubic-bezier(.23, 1, .32, 1); min-width: 0; }
.agency-product .ap-carousel-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.agency-product .ap-carousel-heading strong { font-size: 12px; }
.agency-product .ap-carousel-heading > span { color: #7d756e; font-size: 10px; }
.agency-product .ap-carousel-preview { display: grid; position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: 10px; background: #0b1020; cursor: zoom-in; }
.agency-product .ap-carousel-preview > img { width: 100%; height: 100%; object-fit: contain; }
.agency-product .ap-carousel-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 25px; color: #aabbdc; font-size: 12px; text-align: center; background: radial-gradient(ellipse at 80% 20%, #19397b, transparent 60%); animation: ap-typing 850ms ease-in-out infinite alternate; }
.agency-product .ap-carousel-feedback { display: flex; justify-content: space-between; gap: 10px; margin-block: 10px; color: #7d756e; font-size: 10px; font-variant-numeric: tabular-nums; }
.agency-product .ap-carousel-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.agency-product .ap-carousel-thumb { position: relative; min-width: 0; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: 6px; padding: 0; background: #eaeef5; color: #8a94a5; cursor: pointer; transition: border-color 160ms ease; }
.agency-product .ap-carousel-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; animation: ap-carousel-reveal 240ms var(--carousel-ease) both; }
.agency-product .ap-carousel-thumb > span { position: absolute; right: 3px; bottom: 2px; font-size: 8px; line-height: 1.5; }
.agency-product .ap-carousel-thumb:has(img) > span { display: none; }
.agency-product .ap-carousel-thumb[aria-pressed="true"] { border-color: #2e6bff; }
.agency-product .ap-carousel-controls { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.agency-product .ap-carousel-controls > button,
.agency-product .ap-carousel-dialog-controls > button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e5e1df; border-radius: 50%; background: #fff; color: #383330; cursor: pointer; }
.agency-product .ap-carousel-download,
.agency-product [data-preview-download] { margin-left: auto; color: #2452da; font-size: 11px; text-decoration: none; }
.agency-product .ap-carousel-download[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.agency-product .ap-carousel button:disabled { cursor: default; }
.agency-product .ap-carousel-controls > button:disabled { opacity: .4; }
.agency-product .ap-carousel button:focus-visible { outline: 2px solid #2e6bff; outline-offset: 3px; }
.agency-product .ap-carousel-dialog { width: min(650px, calc(100vw - 30px)); max-height: calc(100dvh - 30px); overflow: auto; padding: 16px; border: 1px solid #e5e1df; border-radius: 18px; background: #fff; color: #282828; box-shadow: 0 24px 80px #0003; }
.agency-product .ap-carousel-dialog::backdrop { background: #171c25aa; }
.agency-product .ap-carousel-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; font-size: 13px; }
.agency-product [data-carousel-close] { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f3f1ef; color: #383330; font-size: 22px; cursor: pointer; }
.agency-product .ap-carousel-large-image { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; }
.agency-product .ap-carousel-dialog-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; }
@keyframes ap-carousel-reveal { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.agency-product .ap-agent-form { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 6px 6px 12px; border: 1px solid #e5e1df; border-radius: 13px; background: #fff; }
.agency-product .ap-agent-form input { flex: 1; width: 100%; min-width: 0; padding: 6px 0; border: 0; background: none; color: #201c1c; font: inherit; font-size: 12px; }
.agency-product .ap-agent-form input:focus { outline: none; }
.agency-product .ap-agent-form:focus-within { outline: 2px solid var(--blue, #2259f5); }
.agency-product .ap-agent-form button { flex: 0 0 auto; width: 30px; height: 30px; border: 0; border-radius: 8px; background: #1c1917; color: #fff; font: inherit; font-size: 16px; cursor: pointer; }
.agency-product .ap-agent-form button:hover { background: #383330; }

.agency-product .ap-section:last-child::after {
  display: block;
  box-sizing: border-box;
  width: var(--rail-width);
  height: 192px;
  margin-inline: auto;
  border-inline: 1px solid var(--ap-border);
  content: '';
}

@media (max-width: 1090px) {
  .agency-product .ap-intro { padding-inline: 34px; }
  .agency-product .ap-index { margin-bottom: 82px; }
  .agency-product .ap-feature-stage { min-height: 625px; }
  .agency-product .ap-feature-button { min-height: 70px; padding-inline: 16px; }
  .agency-product .ap-feature > p { padding-left: 47px; }
  .agency-product .ap-agent-option { padding-inline: 20px; }
}

@media (max-width: 740px) {
  .agency-product .ap-frame,
  .agency-product .ap-gallery,
  .agency-product .ap-section:last-child::after { width: calc(100% - 24px); }
  .agency-product .ap-frame,
  .agency-product .ap-gallery,
  .agency-product .ap-section:last-child::after { border-inline: 0; }
  .agency-product .ap-intro { padding: 31px 12px 38px; }
  .agency-product .ap-index { margin-bottom: 47px; font-size: 11px; }
  .agency-product .ap-intro h2 { font-size: clamp(31px, 7.2vw, 43px); letter-spacing: -.046em; text-wrap: balance; }
  .agency-product #conectores h2 { text-wrap: wrap; }
  .agency-product .ap-description { margin-top: 19px; font-size: 17px; }
  .agency-product .ap-pill { min-height: 42px; margin-top: 23px; font-size: 14px; }
  .agency-product .ap-platform,
  .agency-product .ap-agent { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .agency-product .ap-feature-list,
  .agency-product .ap-agent-suggestions { gap: 11px; }
  .agency-product .ap-feature,
  .agency-product .ap-agent-option { border-radius: 16px; }
  .agency-product .ap-feature-button,
  .agency-product .ap-agent-option { min-height: 54px; padding-inline: 20px; gap: 11px; font-size: 15px; }
  .agency-product .ap-agent-option { padding-block: 17px; }
  .agency-product .ap-feature > p { padding-left: 47px; }
  .agency-product .ap-icon { width: 15px; height: 15px; }
  .agency-product .ap-feature-stage { grid-row: 1; min-height: clamp(260px, 92vw, 420px); padding: 20px; }
  .agency-product .ap-app { font-size: clamp(6px, 1.3vw, 10px); }
  .agency-product .ap-gallery { padding: 12px; }
  .agency-product .ap-gallery-nav { min-height: 60px; padding: 9px 10px 5px; justify-content: flex-start; }
  .agency-product .ap-gallery-arrows { display: none; }
  .agency-product .ap-chip { min-height: 37px; padding-inline: 14px; font-size: 13px; }
  .agency-product .ap-gallery-track { min-height: 0; padding: 18px 14px; scroll-padding-inline: 14px; }
  .agency-product .ap-asset { flex-basis: clamp(104px, 29.5vw, 164px); }
  .agency-product .ap-asset > span { margin-top: 7px; font-size: 11px; }
  .agency-product .ap-asset .ap-art { aspect-ratio: .43; }
  .agency-product .ap-art-content { padding: 14px; }
  .agency-product .ap-art-center strong,
  .agency-product .ap-art-post .ap-art-center strong,
  .agency-product .ap-art.ap-rise .ap-art-center strong { font-size: clamp(16px, 4.4vw, 22px); }
  .agency-product .ap-art-wordmark { font-size: 10px; }
  .agency-product .ap-agent-stage { grid-row: 1; min-height: 440px; padding: 18px 13px; }
  .agency-product .ap-agent-chat { gap: 12px; }
  .agency-product .ap-agent-messages { gap: 12px; }
  .agency-product .ap-chat-typing { margin-left: 34px; }
  .agency-product .ap-assistant-message { grid-template-columns: 27px minmax(0, 1fr); gap: 7px; }
  .agency-product .ap-chat-queep { width: 27px; height: 27px; }
  .agency-product .ap-assistant-message > div { padding: 13px; }
  .agency-product .ap-carousel-heading { display: grid; }
  .agency-product .ap-feature-embed { height: 430px; }
  .agency-product .ap-section:last-child::after { height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .agency-product *,
  .agency-product *::before,
  .agency-product *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.agency-product .demo-wordmark { display: block; width: 112px; height: 40px; object-fit: contain; object-position: left center; }
.agency-product .ap-art-wordmark .demo-wordmark { width: clamp(72px, 10vw, 140px); }
.agency-product .ap-art-rise .demo-wordmark { filter: brightness(0) invert(1); }

/* A chat viewport keeps its title and composer in place as output arrives. */
.agency-product .ap-agent-stage { height: clamp(700px, calc(100svh - 150px), 780px); min-height: 0; padding: clamp(24px, 3vw, 40px); }
.agency-product .ap-agent-chat { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.agency-product .ap-agent-messages { min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; overflow-anchor: none; scrollbar-width: thin; scrollbar-color: #b9b4b0 transparent; padding: 4px 6px 18px 2px; }
.agency-product .ap-agent-messages > * { flex-shrink: 0; }
.agency-product .ap-agent-top, .agency-product .ap-agent-form { position: relative; z-index: 1; }
.agency-product .ap-carousel-preview { max-width: 320px; margin-inline: auto; }
@media (max-width: 680px) {
  .agency-product .ap-agent-stage { height: clamp(560px, calc(100svh - 120px), 720px); padding: 22px 14px; }
  .agency-product .ap-agent-top { font-size: 10px; }
  .agency-product .ap-agent-chat { gap: 14px; }
}
.agency-product .ap-agent-stage { grid-template-rows: minmax(0, 1fr); align-content: stretch; }
.agency-product .ap-feature-stage { padding: clamp(16px, 2.5vw, 36px); }
/* Short conversations sit beside the composer; overflowing history remains scrollable. */
.agency-product .ap-agent-messages > :first-child { margin-top: auto; }
.agency-product .ap-agent-messages { padding-bottom: 6px; }
.agency-product .ap-agent-chat { row-gap: 12px; }
