/* Closing band (partials/hx-close), Oct 20. One mist band above the ink footer: centred heading, one row of three equal-height
   cards (cream trial form | lavender demo | white learn more), then a hairline and the trust strip.
   Brand: ink #110A33, gold #FFC61E, gold 300 #FFE8A5, lavender #DDD6FF, mist #F6F4FF, cream #FFF4D2, slate #5B6478. */
.hxc { --ink: #110A33; --gold: #FFC61E; --gold3: #FFE8A5; --lav: #DDD6FF; --cream: #FFF4D2; --slate: #5B6478; --ease: cubic-bezier(.23, 1, .32, 1);
  background: #F6F4FF; padding: 48px 24px 40px; color: var(--ink); font-family: Manrope, "Manrope Fallback", Arial, sans-serif; scroll-margin-top: 84px; }
.hxc *, .hxc *::before, .hxc *::after { box-sizing: border-box; }
.hxc-wrap { max-width: 1120px; margin: 0 auto; }
.hxc-h2 { margin: 0 0 24px; text-align: center; font: 700 clamp(26px, 2.6vw, 34px)/1.12 "Cabinet Grotesk", Cabinetgrotesk, "Cabinet Fallback", Arial, sans-serif; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.hxc-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.hxc-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 296px; padding: 28px; border-radius: 24px; border: 1px solid rgba(17, 10, 51, .08); overflow: hidden; }
/* Oct 26 PM (AS-S): the trial card is white (no cream info box); text on the lavender demo card is ink (slate on lavender was 4.28:1) */
.hxc-card--try { background: #fff; border-color: var(--lav); }
.hxc-card--demo { background: var(--lav); border-color: transparent; }
.hxc-card--learn { background: #fff; border-color: var(--lav); }
.hxc-card--demo .hxc-txt p, .hxc-card--demo .hxc-facts { color: var(--ink); }
.hxc-txt { position: relative; z-index: 1; }
.hxc-txt h3 { margin: 0; font: 700 clamp(22px, 2vw, 26px)/1.15 "Cabinet Grotesk", Cabinetgrotesk, "Cabinet Fallback", Arial, sans-serif; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.hxc-card:not(.hxc-card--try) .hxc-txt { padding-right: 64px; }
.hxc-txt p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.hxc-card--learn .hxc-txt p { color: var(--slate); }
.hxc-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.4; color: var(--slate); }
/* Oct 27 (PLG rec 5): "What the trial includes" list in the try card: a small bold lead line, then the plain facts */
.hxc-card--try .hxc-txt p { margin-top: 12px; font-size: 15px; font-weight: 700; }
.hxc-card--try .hxc-incl { margin-top: 8px; }
.hxc-facts b { font: 700 16px/1 "Cabinet Grotesk", Cabinetgrotesk, "Cabinet Fallback", Arial, sans-serif; color: var(--ink); margin-right: 4px; }
.hxc-art { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; object-fit: contain; }
.hxc-q { position: absolute; right: 24px; top: 24px; width: 48px; height: auto; pointer-events: none; }
.hxc-form { position: relative; margin: 0; }
.hxc-field { display: flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid rgba(17, 10, 51, .12); border-radius: 999px; transition: border-color .2s var(--ease); }
.hxc-field:focus-within { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.hxc .hxc-field input { flex: 1 1 0; width: 0; min-width: 0; height: 44px; padding: 0 8px 0 16px; border: 0 !important; border-radius: 999px; background: transparent; font: 500 16px Manrope, "Manrope Fallback", Arial, sans-serif; color: var(--ink); outline: none; box-shadow: none; }
.hxc-field input::placeholder { color: #6B7385; opacity: 1; }
.hxc-field input[aria-invalid="true"] { color: #110A33; }
.hxc-msg { margin: 8px 0 0 16px; font-size: 13px; line-height: 1.3; color: var(--ink); }
.hxc-msg:empty { display: none; }
.hxc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font: 800 16px/1.2 Manrope, "Manrope Fallback", Arial, sans-serif; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.hxc .hxc-btn--gold { background: var(--gold); color: var(--ink); }
.hxc .hxc-btn--gold:hover { background: var(--gold3); }
.hxc .hxc-btn--ink, .hxc .hxc-btn--ink:visited { align-self: flex-start; min-height: 48px; padding: 0 22px 0 8px; background: var(--ink); color: #fff; }
.hxc .hxc-btn--ink:hover { background: #1D1450; }
.hxc .hxc-btn--line, .hxc .hxc-btn--line:visited { align-self: flex-start; min-height: 48px; padding: 0 22px 0 8px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hxc .hxc-btn--line:hover { background: var(--ink); color: #fff; }
/* arrow disc on the two pill links: white disc + ink arrow on ink; ink disc + white arrow on the outline pill (hover swaps) */
.hxc-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23110A33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E"); }
.hxc .hxc-btn--line .hxc-ico { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E"); }
.hxc .hxc-btn--line:hover .hxc-ico { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23110A33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E"); }
.hxc-btn:active { transform: scale(.96); }
.hxc-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hxc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* trust strip: five marks at one optical size, one label style, centred, hairline above */
.hxc-trust { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--lav); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 16px; }
.hxc-trust li { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.hxc-trust img { display: block; height: var(--h, 52px); width: auto; max-width: 100%; object-fit: contain; }
.hxc-trust span { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--slate); text-wrap: balance; }
/* one small trust line under the badges (K-067 / K-068), slate, centred */
.hxc-note { margin: 20px auto 0; max-width: 640px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--slate); text-wrap: balance; }
.hxc-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(17, 10, 51, .35); white-space: nowrap; }
.hxc-note a:hover { text-decoration-color: var(--ink); }
.hxc-note a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
/* tablet: trial card full width (text and form left, art right), the other two side by side */
@media (max-width: 991px) {
  .hxc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hxc-card--try { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "txt art" "form art"; align-items: center; column-gap: 24px; }
  .hxc-card--try .hxc-txt { grid-area: txt; align-self: end; }
  .hxc-card--try .hxc-art { grid-area: art; max-width: 300px; }
  .hxc-card--try .hxc-form { grid-area: form; align-self: start; }
  .hxc-card:not(.hxc-card--try) { min-height: 232px; }
}
@media (max-width: 767px) {
  .hxc { padding: 40px 16px 32px; }
  .hxc-h2 { margin-bottom: 20px; }
  .hxc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hxc-card, .hxc-card:not(.hxc-card--try) { min-height: 0; padding: 24px 20px; }
  .hxc-card--try { display: flex; align-items: stretch; }
  .hxc-card--try .hxc-txt, .hxc-card--try .hxc-form { align-self: stretch; }
  .hxc-card--try .hxc-art { max-width: 220px; }
  .hxc-card:not(.hxc-card--try) { gap: 20px; }
  .hxc-q { width: 44px; right: 20px; top: 20px; }
  .hxc-card:not(.hxc-card--try) .hxc-txt { padding-right: 56px; }
  .hxc-trust { margin-top: 28px; padding-top: 24px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .hxc-trust img { height: calc(var(--h, 52px) * .66); }
  .hxc-trust span { font-size: 12px; }
}
@media (max-width: 359px) { .hxc-trust span { display: none; } .hxc-field .hxc-btn { padding: 0 12px; font-size: 14px; } .hxc .hxc-field input { padding: 0 4px 0 12px; } }  /* Oct 28 push 2: at 320 the work-email placeholder was cut off */
@media (prefers-reduced-motion: reduce) { .hxc-btn, .hxc-field { transition: none; } }
/* The footer carries the same two CTAs; under this band they would repeat at once, so the footer keeps its brand line only. */
body:has(.hxc) .hx-foot-cta { display: none; }
/* MOBILE-B (Oct 21): closing band, shorter on phones */
@media (max-width: 767px) {
  .hxc { padding: 32px 16px 24px; }
  .hxc-h2 { margin-bottom: 16px; font-size: 26px; }
  .hxc-grid { gap: 10px; }
  .hxc-card, .hxc-card:not(.hxc-card--try) { padding: 18px 16px; gap: 12px; }
  .hxc-card:not(.hxc-card--try) { gap: 12px; }
  .hxc-txt h3 { font-size: 21px; }
  .hxc-txt p { font-size: 15px; margin-top: 4px; }
  .hxc-card--try { flex-direction: column; gap: 10px; }
  .hxc-card--try .hxc-art { max-width: 150px; margin: 0 auto; }
  .hxc-card--try .hxc-txt { padding-right: 0; }
  .hxc-facts { gap: 4px; font-size: 14px; }
  .hxc-trust { margin-top: 20px; padding-top: 16px; }
  .hxc-note { margin-top: 12px; }
}
/* MOBILE-B (Oct 21): the demo and learn-more cards share a row from 360px up; their decorative Q marks are dropped there */
@media (min-width: 360px) and (max-width: 767px) {
  .hxc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hxc-card--try { grid-column: 1 / -1; }
  .hxc-card:not(.hxc-card--try) { padding: 16px 14px; gap: 10px; }
  .hxc-card:not(.hxc-card--try) .hxc-txt { padding-right: 0; }
  .hxc-card:not(.hxc-card--try) .hxc-txt h3 { font-size: 18px; }
  .hxc-card:not(.hxc-card--try) .hxc-txt p { font-size: 14px; }
  .hxc-card:not(.hxc-card--try) .hxc-q { display: none; }
  .hxc-facts { font-size: 13px; }
  .hxc .hxc-btn--ink, .hxc .hxc-btn--line { align-self: stretch; padding: 0 12px 0 6px; font-size: 14px; min-height: 44px; gap: 6px; }
  .hxc .hxc-btn--ink .hxc-ico, .hxc .hxc-btn--line .hxc-ico { width: 28px; height: 28px; }
}
@media (min-width: 360px) and (max-width: 767px) {
  .hxc .hxc-btn--ink .hxc-ico, .hxc .hxc-btn--line .hxc-ico { display: none; }
  .hxc .hxc-btn--ink, .hxc .hxc-btn--line { padding: 0 10px; justify-content: center; font-size: 14px; }
}
/* MOBILE-B (Oct 21): trial card puts its heading beside the art (one row), then the form */
@media (min-width: 360px) and (max-width: 767px) {
  .hxc-card--try { display: grid; grid-template-columns: minmax(0, 1fr) 124px; grid-template-areas: "txt art" "form form"; align-items: center; gap: 8px 12px; }
  .hxc-card--try .hxc-txt { grid-area: txt; }
  .hxc-card--try .hxc-art { grid-area: art; max-width: 124px; margin: 0; }
  .hxc-card--try .hxc-form { grid-area: form; }
  .hxc-trust { gap: 6px; }
  .hxc-trust li { gap: 6px; }
}

/* Nov 2 (AK, site-wide CTA gap): the button under the facts list sits 24px below it (20px phones), not 10px */
.hxc-facts { margin-bottom: 14px; }
@media (max-width: 599px) { .hxc-facts { margin-bottom: 10px; } }
