/* Homepage layout refinements shared with the interaction style of For Creators. */
.hp-preview .hp-tabs { display: flex; width: 100%; gap: 4px; margin: 0 0 17px; padding: 5px; border: 1px solid #d6e3d7; border-radius: 14px; background: #ffffffc7; box-shadow: 0 8px 23px #204a2c0b; }
.hp-preview .hp-tabs button { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 43px; border-radius: 10px; color: #5a6d60; background: transparent; font-size: .86rem; font-weight: 580; }
.hp-preview .hp-tabs button[aria-selected="true"] { color: #1c6039; background: #fff; box-shadow: 0 3px 12px #204b301c; }
.hp-preview .hp-workspace { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hp-preview .hp-stage { height: 420px; background: transparent; }
.hp-preview .hp-inbox { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 16px; align-items: start; }
.hp-preview .hp-queue { height: 365px; margin-top: 20px; overflow: hidden; border: 1px solid #d9e6dc; border-radius: 18px; background: #fff; box-shadow: 0 17px 40px #1d4b2a17; }
.hp-preview .hp-thread { height: 416px; overflow: hidden; border: 1px solid #d6e3d9; border-radius: 18px; background: #fff; box-shadow: 0 25px 55px #1c482b20; }
.hp-preview .hp-queue-title { padding-top: 18px; }
.hp-preview .hp-queue-sub { margin-bottom: 7px; }
.hp-preview .hp-queue-list { position: relative; min-height: 0; }
.hp-preview .hp-queue-list .hp-queue-item { margin-bottom: 2px; padding: 5px 7px; }
.hp-preview .hp-queue-list .hp-channel-icon { width: 27px; height: 27px; font-size: .86rem; }
.hp-preview .hp-channel-ms { color: #416dca; background: #e6edff; }
.hp-preview .hp-channel-web { color: #247a80; background: #dcf1f1; }
.hp-preview .hp-channel-tt { color: #39404f; background: #ecedf0; }
.hp-preview .hp-queue-bottom { padding-top: 7px; padding-bottom: 7px; }
.hp-preview .hp-thread-messages { padding: 18px; }
.hp-preview .hp-window-status { min-height: 0; padding: 13px 3px 0; border: 0; background: transparent; font-size: .68rem; }
.hp-preview .hp-window-status span:first-child { color: #237749; }
.hp-preview .hp-scene-crm,.hp-preview .hp-scene-studio { padding: 5px 3px; }
.hp-preview .hp-crm-stats > div,.hp-preview .hp-pipeline-column,.hp-preview .hp-studio-feature,.hp-preview .hp-calendar { box-shadow: 0 12px 30px #1e4a2c13; }
.hp-preview .hp-pipeline-column { background: #fff; }
.hp-preview .hp-preview-foot { margin-top: 15px; }

/* Project examples remain visible without the masked scrolling rail. */
.agents .ag-panel { background: radial-gradient(circle at 85% 15%,#172927 0,transparent 40%),linear-gradient(145deg,#111c1b,#101318); }
.agents .ag-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(35px,5vw,78px); align-items: center; }
.agents .ag-rail-clip { height: auto; overflow: visible; border-radius: 0; -webkit-mask-image: none; mask-image: none; }
.agents .ag-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; will-change: auto; transform: none !important; animation: none !important; }
.agents .ag-card { min-width: 0; min-height: 207px; margin: 0; padding: 14px; border: 1px solid #ffffff1c; border-radius: 15px; background: #ffffff0d; box-shadow: inset 0 1px #ffffff0c; transition: transform .25s,border-color .25s,background .25s; }
.agents .ag-card:hover { transform: translateY(-4px); border-color: #9dc5b05e; background: #ffffff14; }
.agents .ag-card:nth-child(3n + 2) { border-top-color: #94a9dc7d; }
.agents .ag-card:nth-child(3n + 3) { border-top-color: #c6a6c87d; }
.agents .ags { height: 103px; margin-bottom: 11px; padding: 9px 11px; }
.agents .ags .q,.agents .ags .a,.agents .ags .src,.agents .ags .n,.agents .ags .d-out span,.agents .ags .d-out b,.agents .ags .row i { opacity: 1; animation: none; }
.agents .ags .bars i,.agents .ags path { animation: none; }
.agents .ag-card h3 { margin: 0 0 5px; color: #f2f7f1; font-size: .93rem; font-weight: 610; }
.agents .ag-card-sub { margin: 0; color: #adc3b4; font-size: .74rem; font-weight: 400; line-height: 1.43; }
.agents .ag-card-sub span { color: #90cba5; }
.agents .ag-features { margin: 34px 0 39px; gap: 22px 24px; }
.agents .ag-feat p { color: #b3c1ba; }

/* Homepage FAQ follows the open, two-column layout of the product stories. */
.faq-sec { background: #f5f7f3; border-top: 1px solid #e0e8df; }
.faq-sec .faq-wrap { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(42px,7vw,108px); align-items: start; max-width: 1220px; }
.faq-sec .hp-faq-intro { max-width: none; margin: 0; text-align: left; }
.faq-sec .hp-faq-intro .eyebrow { margin-bottom: 19px; color: #236f43; font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: none; }
.faq-sec .hp-faq-intro .h2 { font-size: clamp(2.5rem,4.4vw,4.1rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 540; }
.faq-sec .hp-faq-intro .h2 em { color: #23784a; font-family: var(--font-serif); font-weight: 400; }
.faq-sec .hp-faq-intro > p:not(.eyebrow) { max-width: 360px; margin-top: 24px; color: #61736a; font-size: .97rem; line-height: 1.6; }
.faq-sec .hp-faq-intro > a { display: inline-block; margin-top: 17px; color: #1d7544; font-size: .9rem; font-weight: 570; text-decoration: underline; text-underline-offset: 4px; }
.faq-sec .hp-faq-list { display: block; }
.faq-sec .hp-faq-list details { padding: 21px 0; border: 0; border-bottom: 1px solid #d5e0d7; border-radius: 0; background: transparent; }
.faq-sec .hp-faq-list details:first-child { border-top: 1px solid #d5e0d7; }
.faq-sec .hp-faq-list summary { align-items: center; color: #243c2c; font-size: 1rem; font-weight: 530; line-height: 1.4; }
.faq-sec .hp-faq-list summary::after { flex: none; margin-left: 14px; color: #427c54; font-size: 1.45rem; font-weight: 400; }
.faq-sec .hp-faq-list details[open] summary::after { content: "−"; }
.faq-sec .hp-faq-list details p { margin-top: 0; padding-top: 14px; color: #63746a; font-size: .92rem; line-height: 1.65; }

@media (max-width: 1080px) {
  .agents .ag-grid { grid-template-columns: minmax(0,1fr); }
  .agents .ag-copy { min-width: 0; max-width: 700px; }
}
@media (max-width: 760px) {
  .faq-sec .faq-wrap { grid-template-columns: 1fr; gap: 29px; }
  .faq-sec .hp-faq-intro .h2 { font-size: clamp(2.65rem,8vw,3.7rem); }
  .agents .ag-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .hp-preview .hp-tabs { margin-bottom: 12px; }
  .hp-preview .hp-tabs button { min-height: 40px; font-size: .77rem; }
  .hp-preview .hp-stage { height: 480px; }
  .hp-preview .hp-stage[data-active="crm"] { height: 405px; }
  .hp-preview .hp-stage[data-active="studio"] { height: 575px; }
  .hp-preview .hp-inbox { grid-template-columns: 1fr; grid-template-rows: 118px minmax(0,1fr); gap: 10px; }
  .hp-preview .hp-queue { height: 118px; margin: 0; border-radius: 15px; }
  .hp-preview .hp-queue-title { padding-top: 8px; }
  .hp-preview .hp-queue-sub { margin-bottom: 2px; }
  .hp-preview .hp-queue-sub::after { content: ' Swipe →'; color: #2b7750; }
  .hp-preview .hp-queue-list { display: flex; gap: 7px; overflow-x: auto; overflow-y: hidden; padding: 0 7px 7px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hp-preview .hp-queue-list::-webkit-scrollbar { display: none; }
  .hp-preview .hp-queue-list .hp-queue-item { flex: 0 0 48%; width: 48%; margin: 0; scroll-snap-align: start; }
  .hp-preview .hp-thread { height: 352px; border-radius: 15px; }
  .hp-preview .hp-thread-messages { padding: 12px; }
  .hp-preview .hp-window-status { padding-top: 10px; }
  .hp-preview .hp-preview-foot { margin-top: 12px; }
  .agents .ag-panel { padding: 30px 22px; }
  .agents .ag-features { grid-template-columns: 1fr; gap: 17px; }
  .agents .ag-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 12px; scrollbar-width: thin; }
  .agents .ag-card { flex: 0 0 min(82%,290px); min-height: 207px; scroll-snap-align: start; }
  .faq-sec .hp-faq-intro > p:not(.eyebrow) { margin-top: 16px; }
  .faq-sec .hp-faq-list details { padding: 18px 0; }
  .faq-sec .hp-faq-list summary { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) { .agents .ag-card { transition: none; } }
/* Indonesian page: CSS-generated hint */
@media (max-width: 900px) { html[lang="id"] .hp-preview .hp-queue-sub::after { content: ' Geser →'; } }
