/* insighttestbench.com home page. Tokens come from tb-site.css. */
.hm { background: #fff; }
.hm main { display: block; }
.hm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hm main h1, .hm main h2, .hm main h3 { font-family: "Poppins", sans-serif; color: var(--tb-ink); letter-spacing: -.02em; }
.hm main p { color: var(--tb-body); font-size: 16.5px; line-height: 1.65; margin: 0 0 14px; }
.hm main code { font-family: var(--tb-mono); font-size: max(12px, .88em); background: #eef0fb; color: #371d80; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.hm main a:not(.tb-btn):not(.hm-uc__card) { color: var(--tb-violet-deep); }

.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 "Poppins", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--tb-violet-deep); background: #f1ecfd; border: 1px solid #e2d8fb; padding: 8px 12px; border-radius: 999px; }
.hm-eyebrow--dark { color: #f3ebff; background: rgba(207, 181, 249, .1); border-color: rgba(207, 181, 249, .34); }
.hm-grad { background: linear-gradient(100deg, #c4b5fd 0%, #ddd6fe 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #c4b5fd; }

/* sections */
.hm-sec { padding: 96px 0; }
.hm-sec--mist { background: var(--tb-mist); border-top: 1px solid var(--tb-line); border-bottom: 1px solid var(--tb-line); }
.hm-sec--dark { background: radial-gradient(900px 420px at 92% 0%, rgba(115, 52, 201, .14), transparent 60%), radial-gradient(800px 460px at 0% 100%, rgba(67, 36, 154, .3), transparent 62%), #0b1020; }
.hm-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.hm-head h2, .hm-split__copy h2 { font-weight: 700; font-size: clamp(28px, 3.3vw, 40px); line-height: 1.16; margin: 18px 0 14px; }
.hm main .hm-head p { font-size: 18px; margin: 0; }
.hm main .hm-head--dark h2 { color: #fff; }
.hm main .hm-head--dark p { color: #c5cceb; }
.hm-center { text-align: center; margin-top: 40px; }
.hm-fine { text-align: center; font-size: 15px !important; color: var(--tb-muted) !important; margin: 30px auto 0 !important; max-width: 760px; }
.hm-more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font: 600 14.5px/1.2 "Poppins", sans-serif; color: var(--tb-violet-deep); text-decoration: none; }
.hm-more i { font-size: 12px; transition: transform .15s ease; }
a.hm-more:hover { text-decoration: underline; }
a.hm-more:hover i, .hm-uc__card:hover .hm-more i { transform: translateX(3px); }

/* hero */
.hm-hero { position: relative; padding: 40px 0 0; color: #fff; text-align: center; background: radial-gradient(1000px 520px at 85% -10%, rgba(115, 52, 201, .2), transparent 60%), radial-gradient(900px 560px at 0% 70%, rgba(67, 36, 154, .5), transparent 62%), linear-gradient(180deg, #0b1020 0%, #121738 100%); }
.hm-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 0%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%); pointer-events: none; }
.hm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: #fff; }
.hm-hero__grid { position: relative; z-index: 1; }
.hm-hero__copy { max-width: 1060px; margin: 0 auto; }
.hm main .hm-hero h1 { color: #fff; font-weight: 700; font-size: clamp(32px, 3.7vw, 50px); line-height: 1.1; margin: 16px auto 14px; max-width: 980px; }
.hm main .hm-hero__lead { color: #cfd5f2; font-size: 17.5px; line-height: 1.55; max-width: 800px; margin: 0 auto 22px; }
.hm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hm-hero .hm-hero__cta { margin-top: 0; justify-content: center; }
.hm-hero__facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.hm-hero__facts li { color: #dfe4fa; font-size: 15px; line-height: 1.4; display: flex; gap: 9px; align-items: baseline; }
.hm-hero__facts i { color: #ddd6fe; font-size: 12px; }
.hm-hero__shot { max-width: 1080px; margin: 30px auto 0; text-align: left; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 110px rgba(3, 6, 20, .6), 0 0 90px rgba(115, 52, 201, .35); }
.hm-hero__shot img { aspect-ratio: 1600 / 1000; object-fit: cover; object-position: top; }

/* framed screenshots */
.hm-frame { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #d9deef; box-shadow: 0 30px 70px rgba(11, 16, 32, .16); }
.hm-frame--dark { background: #12152b; border-color: rgba(255, 255, 255, .16); box-shadow: 0 40px 90px rgba(3, 6, 20, .55); }
.hm-frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f1f3fb; border-bottom: 1px solid #e0e4f2; }
.hm-frame--dark .hm-frame__bar { background: #1a1e3a; border-bottom-color: rgba(255, 255, 255, .1); }
.hm-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cdd2e6; }
.hm-frame--dark .hm-frame__bar i { background: #4a5080; }
.hm-frame__bar b { margin-left: 8px; font: 500 12.5px/1 "Poppins", sans-serif; color: #5b6482; }
.hm-frame--dark .hm-frame__bar b { color: #b9c0e4; }
.hm-frame img { display: block; width: 100%; height: auto; }
.hm main .hm-frame figcaption { padding: 11px 16px; font-size: 13.5px; line-height: 1.45; color: #5b6482; background: #fafbff; border-top: 1px solid #e6e9f5; }
.hm-frame--dark figcaption { background: #161a34; color: #b9c0e4; border-top-color: rgba(255, 255, 255, .1); }

/* stat band */
.hm-stats { position: relative; z-index: 2; padding-top: 56px; }
.hm-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: #fff; border: 1px solid var(--tb-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(11, 16, 32, .12); overflow: hidden; }
.hm-stats__grid > div { padding: 28px 28px 26px; border-left: 1px solid var(--tb-line); }
.hm-stats__grid > div:first-child { border-left: 0; }
.hm-stats__grid dt { font: 700 46px/1 "Poppins", sans-serif; letter-spacing: -.03em; background: var(--tb-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--tb-violet-deep); }
.hm-stats__grid dd { margin: 10px 0 0; font-size: 15px; line-height: 1.4; color: var(--tb-body); font-weight: 500; }
.hm-stats__note { text-align: center; font-size: 13.5px !important; color: var(--tb-muted) !important; margin: 14px 0 0 !important; }

/* split + harness map */
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hm-split__copy h2 { margin-top: 18px; }
.hm-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.hm-ticks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; color: var(--tb-body); }
.hm-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #ede6fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%2343249a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hm-ticks li b { color: var(--tb-ink); font-weight: 600; }
.hm-ticks--tight { gap: 8px; margin-top: 16px; }
.hm-ticks--tight li { font-size: 15.5px; }

.hm-stack { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, #f7f8ff, #eef1ff); border: 1px solid #dfe3f7; }
.hm-k { display: block; font: 600 12px/1.3 "Poppins", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #5b6482; }
.hm-d { display: block; font-size: 13.5px; line-height: 1.45; color: #4b5475; margin-top: 4px; }
.hm-stack__gov { border-radius: 16px; padding: 18px 14px; background: #0f1530; }
.hm-stack__gov .hm-k { color: #e5d7fc; }
.hm-stack__gov ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.hm-stack__gov li { font: 500 13.5px/1.2 "Poppins", sans-serif; color: #e8ebff; padding: 10px 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.hm-stack__col { display: grid; gap: 0; align-content: start; }
.hm-stack__layer { border-radius: 16px; padding: 18px 20px; background: #fff; border: 1px solid #dfe3f7; }
.hm-stack__layer b { display: block; font: 700 20px/1.25 "Poppins", sans-serif; color: var(--tb-ink); margin-top: 6px; }
.hm-stack__layer--core { background: linear-gradient(120deg, #43249a, #43249a 60%, #9b6ee0); border: 0; box-shadow: 0 16px 34px rgba(67, 36, 154, .3); }
.hm-stack__layer--core .hm-k { color: #e2e0ff; }
.hm-stack__layer--core b { color: #fff; font-size: 24px; }
.hm-stack__layer--core .hm-d { color: #ebeaff; }
.hm-stack__join { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 0; font: 500 12.5px/1 "Poppins", sans-serif; color: #5b6482; }
.hm-stack__join i { font-size: 11px; color: var(--tb-violet); }
.hm-stack__base { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hm-stack__base span { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 14px 8px; border-radius: 12px; background: #fff; border: 1px dashed #b9c0e4; font: 600 13.5px/1.25 "Poppins", sans-serif; color: var(--tb-ink-2); }
.hm-stack__base i { color: var(--tb-cyan-deep); }

/* pillars */
.hm-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hm-pillar { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tb-line); border-radius: 20px; padding: 30px 28px 24px; box-shadow: var(--tb-shadow); }
.hm-pillar__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--tb-grad); color: #fff; font-size: 18px; margin-bottom: 18px; }
.hm-pillar h3 { font-weight: 700; font-size: 21px; line-height: 1.25; margin: 0 0 10px; }
.hm main .hm-pillar > p { font-size: 15.5px; margin-bottom: 6px; }
.hm-sub { font: 600 12px/1 "Poppins", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #5b6482; margin: 18px 0 10px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hm-chips span { display: inline-flex; align-items: center; gap: 7px; font: 500 13.5px/1.2 "Poppins", sans-serif; color: #2a3154; background: #f3f5fd; border: 1px solid #e0e4f4; border-radius: 999px; padding: 7px 12px; }
.hm-chips--n span b { font-weight: 700; color: var(--tb-violet-deep); background: #ebe3fb; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 12.5px; }
.hm-pillar .hm-more { margin-top: auto; padding-top: 20px; }
.hm-gl { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.hm-gl li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f8; }
.hm-gl li:first-child { border-top: 0; }
.hm-gl b { font: 600 15px/1.3 "Poppins", sans-serif; color: var(--tb-ink); }
.hm-gl em, .hm-gov em { font: 600 12px/1.25 "Poppins", sans-serif; font-style: normal; color: #7a4a00; background: #fff3d6; border: 1px solid #f3dca0; border-radius: 999px; padding: 5px 10px; text-align: center; flex-shrink: 0; max-width: 170px; }
.hm-gl em.on, .hm-gov em.on { color: #0a5c43; background: #dff7ec; border-color: #a9e5cb; }

/* surfaces */
.hm-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 60px; align-items: center; margin-bottom: 76px; }
.hm-row--flip .hm-row__copy { order: 2; }
.hm-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
.hm-row__copy h3 { font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.22; margin: 16px 0 12px; }
.hm-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 "Poppins", sans-serif; color: var(--tb-cyan-deep); background: #f8f5fe; border: 1px solid #e8ddf9; border-radius: 999px; padding: 7px 12px; }
.hm-term { border-radius: 16px; overflow: hidden; background: #0d1128; border: 1px solid #262c52; box-shadow: 0 30px 70px rgba(11, 16, 32, .3); }
.hm-term__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #171c3a; border-bottom: 1px solid #262c52; }
.hm-term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a5080; }
.hm-term__bar b { margin-left: 8px; font: 500 12.5px/1 "Poppins", sans-serif; color: #b9c0e4; }
.hm main .hm-term pre { margin: 0; padding: 20px 22px 22px; font: 400 13.5px/1.8 var(--tb-mono); color: #e6e9ff; white-space: pre; overflow-x: auto; background: none; border: 0; }
.hm-term .c { color: #8f98c7; }
.hm-term .p { color: #ddd6fe; }
.hm-term .q { color: #c4b5fd; }
.hm-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hm-mini article { background: var(--tb-mist); border: 1px solid var(--tb-line); border-radius: 16px; padding: 22px 20px; }
.hm-mini i { font-size: 18px; color: var(--tb-violet-deep); }
.hm-mini h3 { font-weight: 600; font-size: 17px; margin: 12px 0 6px; }
.hm main .hm-mini p { font-size: 14.5px; line-height: 1.55; margin: 0; }

/* app files */
.hm-files { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: f; }
.hm-files article { position: relative; background: #fff; border: 1px solid var(--tb-line); border-radius: 16px; padding: 24px 22px; box-shadow: var(--tb-shadow); }
.hm-files__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f1ecfd; color: var(--tb-violet-deep); font: 700 14px/1 "Poppins", sans-serif; }
.hm-files h3 { font: 600 17px/1.3 var(--tb-mono); letter-spacing: 0; margin: 14px 0 8px; color: var(--tb-ink); }
.hm main .hm-files p { font-size: 14.5px; line-height: 1.55; margin: 0; }

/* goal to plan */
.hm-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hm-flow li { position: relative; background: #fff; border: 1px solid var(--tb-line); border-radius: 16px; padding: 22px 18px 20px; }
.hm-flow li + li::before { content: ""; position: absolute; left: -15px; top: 36px; width: 16px; height: 2px; background: #c9b5f0; }
.hm-flow__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tb-violet-deep); color: #fff; font: 700 14px/1 "Poppins", sans-serif; }
.hm-flow h3 { font-weight: 600; font-size: 17px; margin: 14px 0 6px; }
.hm main .hm-flow p { font-size: 14.5px; line-height: 1.55; margin: 0; }
.hm-flow li:nth-child(4) { border-color: #c9b5f0; background: #f7f3fe; }

/* govern */
.hm-gov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-gov article { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); border-radius: 16px; padding: 22px 22px 20px; }
.hm-gov header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hm main .hm-gov h3 { color: #fff; font-weight: 600; font-size: 18px; line-height: 1.3; margin: 3px 0 0; }
.hm main .hm-gov p { color: #c5cceb; font-size: 14.5px; line-height: 1.6; margin: 0; }
.hm-gov em { color: #ffe3a3; background: rgba(255, 196, 61, .12); border-color: rgba(255, 196, 61, .4); }
.hm-gov em.on { color: #9ff0cf; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .42); }
.hm-gov__note { margin: 26px auto 0 !important; max-width: 900px; color: #c5cceb !important; font-size: 15px !important; padding: 16px 20px; border-left: 3px solid #ddd6fe; background: rgba(255, 255, 255, .04); border-radius: 0 12px 12px 0; }
.hm-gov__note b { color: #fff; }
.hm main .hm-sec--dark code { background: rgba(255, 255, 255, .1); color: #f6f0ff; }
.hm-gov__shot { max-width: 1040px; margin: 52px auto 0; }

/* library */
.hm-lib { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.hm-lib__card { background: #fff; border: 1px solid var(--tb-line); border-radius: 20px; padding: 28px 26px; box-shadow: var(--tb-shadow); }
.hm-lib__card h3 { font-weight: 700; font-size: 21px; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.hm-lib__card h3 i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #f1ecfd; color: var(--tb-violet-deep); font-size: 15px; }
.hm-lib__card dl { margin: 0; }
.hm-lib__card dt { font: 600 12px/1.3 "Poppins", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #5b6482; margin: 16px 0 6px; }
.hm-lib__card dt:first-child { margin-top: 0; }
.hm-lib__card dd { margin: 0; font: 400 13.5px/1.75 var(--tb-mono); color: #2a3154; overflow-wrap: anywhere; }
.hm-lib__foot { font-size: 14.5px !important; margin: 18px 0 0 !important; color: var(--tb-muted) !important; }

/* use cases */
.hm-uc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hm-uc__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tb-line); border-radius: 18px; padding: 24px 22px 18px; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hm-uc__card:hover { transform: translateY(-3px); border-color: #c9b5f0; box-shadow: 0 18px 40px rgba(67, 36, 154, .14); }
.hm-uc__k { font: 600 12px/1 "Poppins", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--tb-cyan-deep); }
.hm-uc__card h3 { font-weight: 600; font-size: 18px; line-height: 1.3; margin: 12px 0 8px; }
.hm main .hm-uc__card p { font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; }
.hm-uc__card .hm-more { margin-top: auto; }

.hm-split--even { align-items: center; }

/* faq */
.hm-faq { max-width: 900px; }
.hm-faq__list { display: grid; gap: 12px; }
.hm-faq details { background: #fff; border: 1px solid var(--tb-line); border-radius: 14px; padding: 0 22px; }
.hm-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; font: 600 17px/1.35 "Poppins", sans-serif; color: var(--tb-ink); }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; font: 400 26px/1 "Poppins", sans-serif; color: var(--tb-violet-deep); flex-shrink: 0; transition: transform .15s ease; }
.hm-faq details[open] summary::after { transform: rotate(45deg); }
.hm main .hm-faq details p { font-size: 15.5px; margin: 0 0 20px; max-width: 760px; }

/* responsive */
@media (max-width: 1100px) {
    .hm-split { grid-template-columns: 1fr; gap: 44px; }
    .hm-pillars, .hm-lib { grid-template-columns: 1fr 1fr; }
    .hm-pillars .hm-pillar:last-child, .hm-lib .hm-lib__card:last-child { grid-column: 1 / -1; }
    .hm-uc, .hm-mini, .hm-files { grid-template-columns: 1fr 1fr; }
    .hm-gov { grid-template-columns: 1fr 1fr; }
    .hm-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-flow li + li::before { display: none; }
    .hm-row, .hm-row--flip { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
    .hm-row--flip .hm-row__copy { order: 0; }
}
@media (max-width: 760px) {
    .hm-sec { padding: 64px 0; }
    .hm-wrap { padding: 0 18px; }
    .hm-hero { padding: 48px 0 0; }
    .hm-hero::after { height: 70px; }
    .hm main .hm-hero__lead { font-size: 17px; }
    .hm-hero__shot { margin-top: 40px; }
    .hm-hero__facts { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
    .hm-stats { padding-top: 36px; }
    .hm-head { margin-bottom: 34px; }
    .hm-head p { font-size: 16.5px; }
    .hm-stats__grid { grid-template-columns: 1fr 1fr; }
    .hm-stats__grid > div { padding: 20px 18px; border-left: 0; border-top: 1px solid var(--tb-line); }
    .hm-stats__grid > div:nth-child(-n+2) { border-top: 0; }
    .hm-stats__grid > div:nth-child(even) { border-left: 1px solid var(--tb-line); }
    .hm-stats__grid dt { font-size: 38px; }
    .hm-stats__grid dd { font-size: 14px; }
    .hm-pillars, .hm-lib, .hm-gov { grid-template-columns: 1fr; }
    .hm-stack { grid-template-columns: 1fr; padding: 16px; }
    .hm-stack__gov ul { grid-template-columns: 1fr 1fr; }
    .hm-flow { grid-template-columns: 1fr; }
    .hm main .hm-term pre { font-size: 12.5px; padding: 16px; }
    .hm-hero__cta .tb-btn { flex: 1 1 100%; }
}
@media (max-width: 520px) {
    .hm-uc, .hm-mini, .hm-files { grid-template-columns: 1fr; }
    .hm-stack__base { grid-template-columns: 1fr; }
    .hm-gl li { flex-direction: column; align-items: flex-start; gap: 6px; }
    .hm-gov header { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tb-btn, .hm-uc__card { transition: none; } }

/* ---------- about and contact ---------- */
.hm-phero { padding: 76px 0 70px; text-align: center; color: #fff; background: radial-gradient(900px 380px at 88% -10%, rgba(115, 52, 201, .22), transparent 60%), radial-gradient(760px 420px at 4% 110%, rgba(67, 36, 154, .42), transparent 62%), linear-gradient(180deg, #0b1020 0%, #141a3c 100%); }
.hm main .hm-phero h1 { color: #fff; font-weight: 700; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; margin: 22px auto 16px; max-width: 880px; }
.hm main .hm-phero p { color: #cfd5f2; font-size: 18.5px; max-width: 740px; margin: 0 auto; }
.hm-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hm-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-cards article { background: #fff; border: 1px solid var(--tb-line); border-radius: 18px; padding: 26px 22px; box-shadow: var(--tb-shadow); }
.hm-cards article > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #f1ecfd; color: var(--tb-violet-deep); font-size: 16px; }
.hm-cards h3 { font-weight: 600; font-size: 18px; line-height: 1.3; margin: 16px 0 8px; }
.hm main .hm-cards p { font-size: 15px; line-height: 1.6; margin: 0; }
.hm-family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-family a { display: block; background: #fff; border: 1px solid var(--tb-line); border-radius: 16px; padding: 20px 22px; text-decoration: none !important; transition: border-color .15s ease, box-shadow .15s ease; }
.hm-family a:hover { border-color: #c9b5f0; box-shadow: 0 14px 32px rgba(67, 36, 154, .12); }
.hm-family b { display: block; font: 600 17px/1.3 "Poppins", sans-serif; color: var(--tb-ink); }
.hm-family span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--tb-body); }
.hm-places { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.hm-places div { border: 1px solid var(--tb-line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.hm-places b { display: block; font: 600 16px/1.3 "Poppins", sans-serif; color: var(--tb-ink); }
.hm-places span { font-size: 14.5px; color: var(--tb-muted); }

.hm-contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px; align-items: start; }
.hm-form { background: #fff; border: 1px solid var(--tb-line); border-radius: 20px; padding: 32px 30px; box-shadow: var(--tb-shadow); }
.hm-form h2 { font-weight: 700; font-size: 26px; margin: 0 0 6px; }
.hm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-field { margin-top: 18px; display: block; }
.hm-field label { display: block; font: 600 14px/1.3 "Poppins", sans-serif; color: var(--tb-ink); margin-bottom: 7px; }
.hm-field input, .hm-field select, .hm-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #c6cce2; border-radius: 12px; background: #fff; color: var(--tb-ink); font: 400 16px/1.4 "Poppins", sans-serif; appearance: auto; }
.hm-field textarea { min-height: 130px; resize: vertical; }
.hm-field input:focus, .hm-field select:focus, .hm-field textarea:focus { outline: none; border-color: var(--tb-violet); box-shadow: 0 0 0 3px rgba(115, 52, 201, .2); }
.hm-form .nice-select { display: none !important; }
.hm-form select { display: block !important; }
.hm-form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.hm main .hm-form__note { font-size: 13.5px; color: var(--tb-muted); margin: 14px 0 0; }
#cf-status { font: 500 14.5px/1.4 "Poppins", sans-serif; }
.hm-side { display: grid; gap: 16px; }
.hm-side article { background: var(--tb-mist); border: 1px solid var(--tb-line); border-radius: 18px; padding: 24px 22px; }
.hm-side h3 { font-weight: 600; font-size: 17px; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.hm-side h3 i { color: var(--tb-violet-deep); font-size: 15px; }
.hm main .hm-side p { font-size: 15px; line-height: 1.6; margin: 0; }
.hm-side ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.65; color: var(--tb-body); }
@media (max-width: 1100px) { .hm-cards { grid-template-columns: 1fr 1fr; } .hm-family { grid-template-columns: 1fr 1fr; } .hm-contact { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hm-phero { padding: 52px 0 48px; } .hm-cards--3 { grid-template-columns: 1fr; } .hm-form { padding: 24px 18px; } .hm-form__row { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 520px) { .hm-cards, .hm-family, .hm-places { grid-template-columns: 1fr; } }
.hm-side ol { list-style: decimal; }
.hm-side ol li { list-style: decimal; }

/* restored sections: domain skills, audiences, deploy modes, sovereignty */
.hm-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-cards .hm-chips { margin-top: 16px; }
.hm main .hm-cards p.hm-eg { margin-top: 12px; font-size: 13.5px; color: var(--tb-muted); }
.hm-gov { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-gov header { flex-direction: column; gap: 8px; }
.hm-gl em { max-width: 150px; }
@media (max-width: 1100px) { .hm-gov { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .hm-gov, .hm-cards--2 { grid-template-columns: 1fr; } }

.hm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.hm-facts div { border: 1px solid var(--tb-line); border-radius: 14px; padding: 16px 14px; background: #fff; }
.hm-facts dt { font: 700 24px/1.1 "Poppins", sans-serif; color: var(--tb-violet-deep); letter-spacing: -.02em; }
.hm-facts dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--tb-body); }
@media (max-width: 620px) { .hm-facts { grid-template-columns: 1fr 1fr; } }

/* accent cards: the three pillars and the three deploy modes (violet, cyan, slate; one hue per position) */
.hm-acc { border-top: 4px solid var(--acc) !important; }
.hm-acc--a1 { --acc: #43249a; } .hm-acc--a2 { --acc: #7334c9; } .hm-acc--a3 { --acc: #475569; }
.hm-acc__label { display: block; font: 700 12px/1 "Poppins", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); margin-bottom: 12px; }
.hm-cards .hm-acc h3 { margin-top: 0; }
.hm-hero__cta .tb-btn { border-radius: 999px; }

/* ---------- InsightTestBench additions ---------- */
/* stage colours: one hue per stage, reused on the home page and the agents page */
:root { --st-1: #43249a; --st-2: #7334c9; --st-3: #475569; --st-4: #b45309; }
.tb-ag { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tb-ag__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tb-line); border-top: 4px solid var(--c, var(--st-1)); border-radius: 16px; padding: 22px 20px 20px; box-shadow: var(--tb-shadow); }
.tb-ag__card[data-s="2"] { --c: var(--st-2); } .tb-ag__card[data-s="3"] { --c: var(--st-3); } .tb-ag__card[data-s="4"] { --c: var(--st-4); }
.tb-ag__k { font: 700 12px/1.2 "Poppins", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--c, var(--st-1)); }
.hm main .tb-ag__card h3 { font-weight: 700; font-size: 19px; line-height: 1.25; margin: 8px 0 12px; }
.tb-ag__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.tb-ag__list li { font-size: 14.5px; line-height: 1.5; color: var(--tb-body); }
.tb-ag__list b { display: block; font: 600 15px/1.3 "Poppins", sans-serif; color: var(--tb-ink); }
.tb-ag__gate { margin-top: auto; font-size: 14px; line-height: 1.5; color: #2a3154; background: #f6f4fb; border-radius: 10px; padding: 10px 12px; }
.tb-ag__gate b { color: var(--c, var(--st-1)); font-weight: 700; }
.tb-charge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tb-charge article { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); border-left: 3px solid #c4b5fd; border-radius: 14px; padding: 20px 20px 18px; }
.hm main .tb-charge h3 { color: #fff; font-weight: 600; font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.hm main .tb-charge p { color: #c5cceb; font-size: 14.5px; line-height: 1.6; margin: 0; }
.tb-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tb-vs article { border-radius: 18px; padding: 26px 26px 22px; border: 1px solid var(--tb-line); background: #fff; box-shadow: var(--tb-shadow); }
.tb-vs article.is-old { background: #fbfafc; box-shadow: none; }
.tb-vs h3 { font-weight: 700; font-size: 19px; line-height: 1.3; margin: 8px 0 14px; }
.tb-vs ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.tb-vs li { font-size: 15px; line-height: 1.55; color: var(--tb-body); }
.tb-vs .k-old { color: #9a3412; } .tb-vs .k-new { color: var(--tb-violet-deep); }
.tb-vs .k-old, .tb-vs .k-new { font: 700 12px/1.2 "Poppins", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.tb-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tb-roles article { background: #fff; border: 1px solid var(--tb-line); border-radius: 16px; padding: 22px 20px; }
.tb-roles i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #f1ecfd; color: var(--tb-violet-deep); font-size: 16px; }
.hm main .tb-roles h3 { font-weight: 600; font-size: 17px; margin: 14px 0 6px; }
.hm main .tb-roles p { font-size: 14.5px; line-height: 1.6; margin: 0; }
.tb-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--tb-line); border-radius: 18px; overflow: hidden; }
.tb-feat article { padding: 24px 24px 22px; border-right: 1px solid var(--tb-line); border-bottom: 1px solid var(--tb-line); }
.tb-feat article:nth-child(3n) { border-right: 0; }
.tb-feat article:nth-last-child(-n+3) { border-bottom: 0; }
.tb-feat h3 { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.tb-feat h3 i { color: var(--tb-violet-deep); font-size: 15px; }
.hm main .tb-feat p { font-size: 14.5px; line-height: 1.6; margin: 0; }
.tb-term pre { font-size: 13px !important; }
.tb-bundles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tb-bundles li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--tb-line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; color: var(--tb-body); }
.tb-bundles li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f1ecfd; color: var(--tb-violet-deep); font: 700 13px/1 "Poppins", sans-serif; }
.tb-bundles code { white-space: normal !important; }
@media (max-width: 1100px) { .tb-ag, .tb-charge, .tb-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tb-feat { grid-template-columns: 1fr 1fr; } .tb-feat article { border-right: 1px solid var(--tb-line) !important; border-bottom: 1px solid var(--tb-line) !important; } }
@media (max-width: 760px) { .tb-ag, .tb-charge, .tb-roles, .tb-vs, .tb-feat { grid-template-columns: 1fr; } .tb-feat article { border-right: 0 !important; } }

/* agents page catalogue */
.tb-stage { background: #fff; border: 1px solid var(--tb-line); border-left: 4px solid var(--c, var(--st-1)); border-radius: 16px; padding: 26px 28px 10px; margin-bottom: 22px; }
.tb-stage[data-s="2"] { --c: var(--st-2); } .tb-stage[data-s="3"] { --c: var(--st-3); } .tb-stage[data-s="4"] { --c: var(--st-4); }
.tb-stage > header .tb-ag__k { display: block; }
.hm main .tb-stage > header h2 { font-size: 24px; margin: 6px 0 4px; }
.hm main .tb-stage > header p { font-size: 15.5px; margin: 0 0 6px; }
.tb-stage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.tb-agent { padding: 18px 0; border-top: 1px solid #edf0f8; }
.hm main .tb-agent h3 { font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.tb-agent code { font-size: 12.5px !important; }
.hm main .tb-agent p { font-size: 14.5px; line-height: 1.6; margin: 6px 0 0; }
.tb-agent .lbl { font: 700 12px/1 "Poppins", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--st-1)); margin-right: 6px; }
@media (max-width: 860px) { .tb-stage__grid { grid-template-columns: 1fr; } .tb-stage { padding: 22px 20px 8px; } }
/* wide screenshots sit under their copy, full width, so they stay legible */
.tb-row--wide { margin-bottom: 76px; }
.tb-row--wide .hm-row__copy h3, .tb-wide-copy h3 { font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.22; margin: 16px 0 0; }
.tb-wide-copy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px 56px; align-items: start; margin-bottom: 26px; }
.tb-ag__list li + li { margin-top: 4px; }
.tb-wide-copy .hm-ticks { margin-top: 12px; }
@media (max-width: 860px) { .tb-wide-copy { grid-template-columns: 1fr; } }
.tb-row--wide:last-child, .hm-row:last-child { margin-bottom: 0; }
.hm-hero__shot picture, .hm-hero__shot picture img { display: block; width: 100%; } @media (max-width: 600px) { .hm-hero__shot img { aspect-ratio: 720 / 405 !important; } }
