/**
 * Homepage (2026 homepage upgrade).
 *
 * Loaded by index.php only, after aic-suite.css, so nothing here can reach a
 * product page. Colours are the suite tokens from aic-suite.css; the few
 * values added below (the neutral alternate background, body slate, hairline)
 * are the brand's fallback values for roles that had no token yet.
 *
 * Layout principles, so the next change keeps them:
 *  - One container (Bootstrap .container, 1320px at xxl) for every section.
 *  - Sections alternate white and --hp-bg-alt, separated by hairlines, not
 *    shadows. Shadows are kept for the drawn product views, which sit "above"
 *    the page.
 *  - Cards are used for things that are cards in the product (vouchers,
 *    panels, the help links). Lists of facts use rules and columns instead.
 */

.aic-home {
  --hp-ink: var(--aic-ink-strong);
  --hp-body: #52627b;
  --hp-muted: #5f6e85;
  --hp-emerald: var(--aic-brand-700);
  --hp-emerald-strong: var(--aic-brand-800);
  --hp-emerald-deep: var(--aic-brand-900);
  --hp-mint: var(--aic-mint-100);
  --hp-mint-soft: #ebf8f2;
  --hp-bg-alt: #f5f9f8;
  --hp-line: #dde8e4;
  --hp-line-soft: #ebf2ef;
  --hp-line-strong: #c9dbd4;
  --hp-dot: #7fcfb2;
  --hp-amber-bg: #fdf2dc;
  --hp-amber: #7f5200;
  --hp-radius: 14px;
  --hp-shadow: 0 1px 2px rgba(16, 30, 59, 0.05), 0 10px 28px rgba(16, 30, 59, 0.07);
  --hp-shadow-lg: 0 2px 4px rgba(16, 30, 59, 0.05), 0 22px 48px rgba(16, 30, 59, 0.11);
  --hp-space: clamp(72px, 8.5vw, 120px);
}

/* Icons from includes/ui/icons.php are stroked outlines. */
.aic-home main svg[viewBox="0 0 24 24"] {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.aic-home main {
  color: var(--hp-body);
}

body.aic-home main h2,
body.aic-home main h3,
body.aic-home main h4 {
  color: var(--hp-ink);
}

body.aic-home main h3,
body.aic-home main h4 {
  letter-spacing: -0.015em;
  line-height: 1.3;
  font-weight: 700;
}

body.aic-home main p {
  margin-bottom: 0;
}

/* Links inside the page are emerald rather than the site-wide blue. */
body.aic-home main a:not(.btn) {
  color: var(--hp-emerald);
}

body.aic-home main a:not(.btn):hover {
  color: var(--hp-emerald-strong);
}

.hp-eyebrow,
.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--hp-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hp-eyebrow::before,
.hp-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hp-illus-tag {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hp-muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.5;
}

.hp-illus-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hp-dot);
}

.hp-arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.hp-arrowlink svg {
  font-size: 1.05rem;
  transition: transform 160ms ease;
}

.hp-arrowlink:hover svg {
  transform: translateX(3px);
}

body.aic-home main a.hp-arrowlink:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================================
   Sections
   ========================================================================= */

.hp-section {
  padding-block: var(--hp-space);
}

.hp-section--alt {
  background: var(--hp-bg-alt);
  border-block: 1px solid var(--hp-line);
}

.hp-section--alt + .hp-section--alt {
  border-top: 0;
}

.hp-head {
  max-width: 50rem;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.hp-head h2,
.hp-ai__copy h2,
.hp-faq__intro h2 {
  margin: 1rem 0 0;
  max-width: 21ch;
  font-size: clamp(1.9rem, 1.25rem + 1.75vw, 2.85rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.hp-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px 64px;
  align-items: end;
}

.hp-head--split > p {
  max-width: 34em;
  font-size: 1.06rem;
  line-height: 1.65;
}

/* =========================================================================
   A. Hero
   ========================================================================= */

.hp-hero {
  position: relative;
  padding-block: clamp(32px, 3.6vw, 56px) clamp(56px, 6.5vw, 100px);
  background: linear-gradient(180deg, #fff 0%, #fff 58%, var(--hp-bg-alt) 100%);
  border-bottom: 1px solid var(--hp-line);
  overflow: hidden;
}

body.aic-home main .hp-hero__title {
  margin: 1.1rem 0 0;
  color: var(--hp-ink);
  font-size: clamp(2.3rem, 1.1rem + 3.55vw, 4.15rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.aic-suite-page .hp-hero__title .hp-line {
  display: block;
}

.hp-hero__title em {
  font-style: normal;
  color: var(--hp-emerald);
}

.hp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.5vw, 72px);
  margin-top: clamp(28px, 3.2vw, 48px);
  align-items: start;
}

.hp-hero__lede {
  max-width: 34em;
  color: var(--hp-body);
  font-size: clamp(1.06rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.62;
}

.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.hp-hero__note {
  margin-top: 1.2rem !important;
  color: var(--hp-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hp-offer {
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hp-line);
}

.hp-offer__title {
  margin: 0 0 0.5rem !important;
  color: var(--hp-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-offer ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-offer li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--hp-line);
  font-size: 0.97rem;
}

.hp-offer__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--hp-mint-soft);
  color: var(--hp-emerald);
  font-size: 1rem;
}

.hp-offer__label {
  color: var(--hp-ink);
  font-weight: 600;
}

body.aic-home main .hp-offer a {
  font-weight: 650;
}

/* Hero product view ------------------------------------------------------ */

.hp-hx {
  position: relative;
  margin: 0;
  padding: 54px clamp(16px, 2.2vw, 30px) clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  background-color: #f3faf7;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(8, 116, 91, 0.11) 1px, transparent 1.4px),
    linear-gradient(165deg, #eefaf5 0%, #f5f9f8 55%, #fbfdfc 100%);
  background-size: 20px 20px, 100% 100%;
}

.hp-hx__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 18px;
}

.hp-hx__voucher {
  grid-column: 1 / -1;
}

.hp-hx figcaption,
.hp-hx > figcaption {
  margin-top: 16px;
  color: var(--hp-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.hp-hx__meta {
  display: grid;
  grid-template-columns: 1.2fr 1.25fr 1fr 1fr;
  gap: 10px 16px;
  margin: 0 0 14px;
}

.hp-hx__meta dt {
  color: var(--hp-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.hp-hx__meta dd {
  margin: 1px 0 0;
  color: var(--hp-ink);
  font-size: 0.86rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hp-hx__totals {
  display: grid;
  justify-content: end;
  gap: 4px;
  margin: 12px 0 0;
  font-variant-numeric: tabular-nums;
}

.hp-hx__totals div {
  display: grid;
  grid-template-columns: auto 8.5rem;
  gap: 18px;
  text-align: right;
  font-size: 0.82rem;
}

.hp-hx__totals dt {
  color: var(--hp-muted);
  font-weight: 500;
}

.hp-hx__totals dd {
  margin: 0;
  color: var(--hp-ink);
}

.hp-hx__totals .hp-hx__grand {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--hp-line);
  font-size: 0.95rem;
}

.hp-hx__totals .hp-hx__grand dt,
.hp-hx__totals .hp-hx__grand dd {
  color: var(--hp-ink);
  font-weight: 750;
}

.hp-hx__stock,
.hp-hx__due {
  position: relative;
}

/* The connector from the voucher to each supporting card, and its label. */
.hp-hx__link {
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hp-hx__link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dotted var(--hp-dot);
}

.hp-hx__link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: calc(50% - 4px);
  border: 5px solid transparent;
  border-top: 6px solid var(--hp-dot);
  border-bottom: 0;
}

.hp-hx__link > span {
  position: relative;
  padding: 0.18rem 0.6rem;
  border: 1px solid #c4e9da;
  border-radius: 999px;
  background: #fff;
  color: var(--hp-emerald-deep);
  font-size: 0.72rem;
  font-weight: 650;
  white-space: nowrap;
}

/* Shared pieces of the drawn interfaces ---------------------------------- */

.hp-card {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  background: #fff;
  box-shadow: var(--hp-shadow);
  color: var(--hp-body);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hp-card--inset {
  box-shadow: none;
}

.hp-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hp-line);
}

.hp-card__bar--sm {
  margin-bottom: 8px;
  padding-bottom: 10px;
}

.hp-card__label {
  margin: 0 0 8px !important;
  color: var(--hp-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-card__foot {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px solid var(--hp-line);
  color: var(--hp-muted);
  font-size: 0.78rem;
}

.hp-card__foot svg {
  margin-top: 1px;
  color: var(--hp-emerald);
  font-size: 0.95rem;
}

.hp-card__foot--total {
  justify-content: space-between;
  color: var(--hp-ink);
  font-size: 0.84rem;
}

.hp-card__foot--total strong {
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.hp-app {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.hp-app__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--hp-emerald);
  color: #fff;
  font-size: 0.92rem;
}

.hp-app__name {
  color: var(--hp-ink);
  font-size: 0.87rem;
  font-weight: 700;
  white-space: nowrap;
}

.hp-app__screen {
  min-width: 0;
  overflow: hidden;
  color: var(--hp-muted);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-app__screen::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--hp-line-strong);
}

.hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.16rem 0.55rem;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  background: var(--hp-bg-alt);
  color: var(--hp-ink);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}

.hp-chip--ok {
  border-color: transparent;
  background: var(--hp-mint);
  color: var(--hp-emerald-deep);
}

.hp-chip--warn {
  border-color: transparent;
  background: var(--hp-amber-bg);
  color: var(--hp-amber);
}

.hp-text-warn {
  color: var(--hp-amber) !important;
}

.hp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

.hp-table th {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--hp-line);
  background: var(--hp-bg-alt);
  color: var(--hp-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.hp-table td {
  padding: 0.55rem;
  border-bottom: 1px solid var(--hp-line-soft);
  color: var(--hp-ink);
}

.hp-table th:not(:first-child),
.hp-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.hp-table tr.is-focus td {
  background: #f1fbf6;
  font-weight: 650;
}

.hp-table tfoot td {
  border-top: 1.5px solid var(--hp-line-strong);
  border-bottom: 0;
  font-weight: 750;
}

.hp-rows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hp-line-soft);
  color: var(--hp-ink);
}

.hp-rows li:last-child {
  border-bottom: 0;
}

.hp-rows li > span {
  min-width: 0;
}

.hp-rows small {
  display: block;
  margin-top: 1px;
  color: var(--hp-muted);
  font-size: 0.74rem;
}

.hp-rows strong {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.hp-rows li.is-total {
  margin-top: 2px;
  border-top: 1.5px solid var(--hp-line-strong);
  font-weight: 750;
}

.hp-rows li.is-total strong {
  font-weight: 750;
}

.hp-rows--tight li {
  padding: 6px 0;
}

.hp-fake-link {
  color: var(--hp-emerald);
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

/* =========================================================================
   B. Benefits
   ========================================================================= */

.hp-benefits {
  border-bottom: 1px solid var(--hp-line);
  background: #fff;
}

.hp-benefits__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-benefits__list li {
  padding: clamp(28px, 3vw, 42px) clamp(18px, 2vw, 32px);
  border-left: 1px solid var(--hp-line);
}

.hp-benefits__list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hp-benefits__icon {
  display: inline-grid;
  place-items: center;
  color: var(--hp-emerald);
  font-size: 1.6rem;
}

body.aic-home main .hp-benefits h3 {
  margin: 0.8rem 0 0;
  font-size: 1.06rem;
}

.hp-benefits p {
  margin-top: 0.45rem !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================================
   C. Product explorer
   ========================================================================= */

.hp-explorer {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

/* Without JavaScript: no tabs, every area listed in turn. */
.hp-explorer:not(.is-ready) {
  display: block;
}

.hp-explorer:not(.is-ready) .hp-explorer__tabs {
  display: none;
}

.hp-explorer:not(.is-ready) .hp-area + .hp-area {
  margin-top: 24px;
}

.hp-explorer__tabs {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-tab {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--hp-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.hp-tab:hover {
  background: var(--hp-bg-alt);
}

.hp-tab[aria-selected="true"] {
  border-color: var(--hp-line);
  background: #fff;
  box-shadow: var(--hp-shadow);
}

.hp-tab__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--hp-mint-soft);
  color: var(--hp-emerald);
  font-size: 1.15rem;
  transition: background-color 150ms ease, color 150ms ease;
}

.hp-tab[aria-selected="true"] .hp-tab__icon {
  background: var(--hp-emerald);
  color: #fff;
}

.hp-tab__text {
  min-width: 0;
}

.hp-tab__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
}

.hp-tab__count {
  display: block;
  margin-top: 2px;
  color: var(--hp-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hp-tab--all {
  position: relative;
  margin-top: 14px;
}

.hp-tab--all::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 12px;
  right: 12px;
  border-top: 1px solid var(--hp-line);
}

.hp-area {
  min-width: 0;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--hp-line);
  border-radius: 20px;
  background: #fff;
}

body.aic-home main .hp-area__head h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.55rem);
  letter-spacing: -0.02em;
}

.hp-area__head p {
  max-width: 46em;
  margin-top: 0.5rem !important;
  font-size: 1rem;
  line-height: 1.6;
}

.hp-area__featured {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hp-line);
}

.hp-area__featured li {
  border-bottom: 1px solid var(--hp-line);
}

.hp-prod {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  padding: 18px 6px 18px 0;
  text-decoration: none;
}

body.aic-home main a.hp-prod {
  color: inherit;
}

.hp-prod__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--hp-mint-soft);
  color: var(--hp-emerald);
  font-size: 1.35rem;
}

.hp-prod__name {
  display: block;
  color: var(--hp-ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.hp-prod__job {
  display: block;
  margin-top: 3px;
  color: var(--hp-body);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hp-prod__go {
  color: var(--hp-emerald);
  font-size: 1.2rem;
  transition: transform 160ms ease;
}

.hp-prod:hover .hp-prod__name {
  color: var(--hp-emerald);
}

.hp-prod:hover .hp-prod__go {
  transform: translateX(3px);
}

.hp-area__more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hp-area__more li {
  font-size: 0.93rem;
  line-height: 1.55;
}

body.aic-home main .hp-area__more a {
  display: inline-block;
  margin-bottom: 2px;
  color: var(--hp-ink);
  font-weight: 700;
}

body.aic-home main .hp-area__more a:hover {
  color: var(--hp-emerald);
}

.hp-area__more span {
  display: block;
}

.hp-area__soon {
  margin-top: 24px;
  padding: 18px 20px 20px;
  border-radius: 14px;
  background: var(--hp-bg-alt);
}

body.aic-home main .hp-area__soon h4 {
  margin: 0 0 0.75rem;
  color: var(--hp-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-area__soon ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-area__soon li {
  font-size: 0.88rem;
  line-height: 1.5;
}

body.aic-home main .hp-area__soon a {
  color: var(--hp-ink);
  font-weight: 650;
}

body.aic-home main .hp-area__soon a:hover {
  color: var(--hp-emerald);
}

.hp-area__soon span {
  display: block;
  color: var(--hp-muted);
}

.hp-az {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  columns: 3 210px;
  column-gap: 36px;
}

.hp-az li {
  padding: 9px 0;
  border-bottom: 1px solid var(--hp-line-soft);
  break-inside: avoid;
}

body.aic-home main .hp-az a {
  color: var(--hp-ink);
  font-weight: 650;
}

body.aic-home main .hp-az a:hover {
  color: var(--hp-emerald);
}

.hp-az__meta {
  display: block;
  color: var(--hp-muted);
  font-size: 0.8rem;
}

.hp-az__meta em {
  color: var(--hp-ink);
  font-style: normal;
  font-weight: 600;
}

/* =========================================================================
   D. Connected workflow
   ========================================================================= */

.hp-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-flow__step {
  position: relative;
  padding: 26px 26px 24px;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
  background: #fff;
}

.hp-flow__step + .hp-flow__step::before {
  content: "";
  position: absolute;
  top: 43px;
  left: -23px;
  width: 22px;
  border-top: 2px dotted var(--hp-dot);
}

.hp-flow__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-flow__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hp-emerald);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.aic-home main .hp-flow__top h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hp-flow__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px !important;
}

.hp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem 0.28rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--hp-mint-soft);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 150ms ease, background-color 150ms ease;
}

body.aic-home main a.hp-tag {
  color: var(--hp-emerald-deep);
}

body.aic-home main a.hp-tag:hover {
  border-color: var(--hp-emerald);
  background: #fff;
}

.hp-tag svg {
  font-size: 0.95rem;
}

.hp-flow__detail {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.hp-flow__detail > div + div {
  padding-top: 14px;
  border-top: 1px dashed var(--hp-line);
}

.hp-flow__detail dt {
  color: var(--hp-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp-flow__detail dd {
  margin: 5px 0 0;
  color: var(--hp-body);
  font-size: 0.97rem;
  line-height: 1.6;
}

.hp-flow__detail > div:first-child dd {
  color: var(--hp-ink);
}

.hp-flow__why {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--hp-emerald-deep);
  color: #fff;
}

body.aic-home main .hp-flow__why h3 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
}

.hp-flow__why ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-flow__why li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  font-size: 0.97rem;
  line-height: 1.5;
}

.hp-flow__why svg {
  margin-top: 1px;
  color: #8fe2c3;
  font-size: 1.3rem;
}

.hp-note {
  display: flex;
  gap: 10px;
  max-width: 62em;
  margin-top: 18px !important;
  color: var(--hp-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hp-note svg {
  margin-top: 2px;
  color: var(--hp-muted);
  font-size: 1.05rem;
}

.hp-links {
  margin-top: clamp(40px, 5vw, 60px);
}

body.aic-home main .hp-links h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.hp-links ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-links li {
  padding-top: 14px;
  border-top: 2px solid var(--hp-line-strong);
}

.hp-links__pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.hp-links__arrow {
  display: inline-grid;
  color: var(--hp-muted);
  font-size: 0.95rem;
}

.hp-links li > p:last-child {
  margin-top: 6px !important;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =========================================================================
   E. Product spotlights
   ========================================================================= */

.hp-spot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(44px, 5.5vw, 76px);
  border-top: 1px solid var(--hp-line);
}

.hp-head + .hp-spot {
  padding-top: 0;
  border-top: 0;
}

/* Two: picture first. */
.hp-spot--2 {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.hp-spot--2 .hp-spot__copy {
  order: 2;
}

/* Three: a tinted panel, because it is two products working together. */
.hp-spot--3 {
  margin-block: clamp(8px, 2vw, 24px);
  padding: clamp(28px, 4.5vw, 60px);
  border: 0;
  border-radius: 26px;
  background: var(--hp-mint-soft);
}

.hp-spot--3 + .hp-spot {
  border-top: 0;
}

/* Four: even split, a narrower picture. */
.hp-spot--4 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hp-spot--4 .hp-spot__copy {
  order: 2;
}

.hp-spot--4 .hp-spot__visual {
  max-width: 560px;
}

.hp-spot__product {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  color: var(--hp-ink);
  font-size: 1rem;
  font-weight: 700;
}

.hp-spot__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--hp-emerald);
  color: #fff;
  font-size: 1.1rem;
}

.hp-spot__plus {
  color: var(--hp-muted);
  font-weight: 600;
}

body.aic-home main .hp-spot h3 {
  max-width: 20ch;
  margin: 1.1rem 0 0;
  font-size: clamp(1.55rem, 1.1rem + 1.25vw, 2.2rem);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.hp-spot__body {
  max-width: 36em;
  margin-top: 1rem !important;
  font-size: 1.04rem;
  line-height: 1.65;
}

.hp-checks {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hp-checks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.65rem;
  color: var(--hp-ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.hp-checks svg {
  margin-top: 2px;
  color: var(--hp-emerald);
  font-size: 1.2rem;
  stroke-width: 2.4 !important;
}

.hp-spot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 1.75rem !important;
}

/* Spotlight illustrations ------------------------------------------------ */

.hp-vis {
  position: relative;
  margin: 0;
  padding: 52px clamp(14px, 2.2vw, 28px) clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  background-color: var(--hp-bg-alt);
  background-image: radial-gradient(circle at 1px 1px, rgba(8, 116, 91, 0.09) 1px, transparent 1.4px);
  background-size: 20px 20px;
}

.hp-spot--3 .hp-vis {
  border-color: #cfeadf;
  background-color: #f7fcfa;
}

.hp-vis__stage {
  display: grid;
  gap: 14px;
}

.hp-vis__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.hp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.hp-stats > div {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--hp-bg-alt);
}

.hp-stats span {
  display: block;
  color: var(--hp-muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.hp-stats strong {
  display: block;
  color: var(--hp-ink);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.hp-issues {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-issues li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #f0e2c2;
  border-radius: 10px;
  background: #fffaf0;
}

.hp-issues__icon {
  display: inline-grid;
  color: var(--hp-amber);
  font-size: 1.15rem;
}

.hp-issues strong {
  display: block;
  color: var(--hp-ink);
  font-size: 0.86rem;
}

.hp-issues small {
  display: block;
  color: var(--hp-muted);
  font-size: 0.76rem;
}

.hp-vis--payroll .hp-vis__stage {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.hp-phone {
  justify-self: center;
  width: 100%;
  max-width: 250px;
  padding: 14px 16px 18px;
  border: 1px solid var(--hp-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--hp-shadow-lg);
  color: var(--hp-body);
  font-size: 0.84rem;
}

.hp-phone::before {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 5px;
  background: #e2ebe8;
}

.hp-phone__bar {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hp-line);
}

.hp-phone__big {
  margin: 2px 0 12px !important;
  color: var(--hp-ink);
  font-size: 1.75rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hp-phone__big small {
  display: block;
  color: var(--hp-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
}

.hp-fake-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem;
  border-radius: 10px;
  background: var(--hp-emerald);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 650;
}

.hp-phone__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hp-line-soft);
  font-size: 0.8rem;
}

.hp-phone__row strong {
  color: var(--hp-ink);
}

.hp-chat__calls {
  display: inline-flex;
  gap: 10px;
  color: var(--hp-emerald);
  font-size: 1.15rem;
}

.hp-chat__stream {
  display: grid;
  gap: 10px;
}

.hp-msg {
  justify-self: start;
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 14px 14px 14px 4px;
  background: var(--hp-bg-alt);
  color: var(--hp-ink);
  font-size: 0.87rem;
  line-height: 1.5;
}

.hp-msg--me {
  justify-self: end;
  border-radius: 14px 14px 4px 14px;
  background: var(--hp-mint);
}

.hp-msg__who {
  display: block;
  margin-bottom: 2px;
  color: var(--hp-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.hp-msg--file {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hp-line);
  background: #fff;
}

.hp-msg--file strong {
  display: block;
  font-size: 0.84rem;
}

.hp-msg--file small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--hp-emerald);
  font-size: 0.76rem;
  font-weight: 650;
}

.hp-msg__file {
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--hp-mint-soft);
  color: var(--hp-emerald);
  font-size: 1.1rem;
}

/* =========================================================================
   F. AI
   ========================================================================= */

.hp-ai {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}

.hp-ai__intro {
  max-width: 36em;
  margin-top: 1rem !important;
  font-size: 1.06rem;
  line-height: 1.65;
}

body.aic-home main .hp-ai__name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0 0;
  font-size: 1.2rem;
}

.hp-ai__name > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--hp-emerald);
  color: #fff;
  font-size: 1.1rem;
}

.hp-ai__facts {
  margin: 1rem 0 0;
  border-top: 1px solid var(--hp-line-strong);
}

.hp-ai__facts > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hp-line);
}

.hp-ai__facts dt {
  color: var(--hp-ink);
  font-size: 0.93rem;
  font-weight: 700;
}

.hp-ai__facts dd {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

.hp-ai__facts dd ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hp-ai__scope {
  margin-top: 1rem !important;
  color: var(--hp-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hp-ai__scope .hp-arrowlink {
  margin-left: 0.35rem;
  font-size: 0.92rem;
}

.hp-ai__visual {
  position: sticky;
  top: 108px;
}

.hp-pulse__ctx {
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  background: var(--hp-bg-alt);
  color: var(--hp-muted);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.hp-pulse__q {
  width: fit-content;
  margin: 0 0 12px auto;
}

.hp-pulse__a {
  padding: 12px 14px;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
}

.hp-pulse__a > p:first-child {
  margin-bottom: 10px !important;
  color: var(--hp-ink);
  font-size: 0.9rem;
  font-weight: 550;
}

.hp-pulse__src {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 10px !important;
  color: var(--hp-muted);
  font-size: 0.76rem;
}

.hp-ai__products {
  margin-top: clamp(44px, 5vw, 68px);
}

body.aic-home main .hp-ai__products h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.hp-ai__products ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-ai__products li {
  padding-top: 14px;
  border-top: 2px solid var(--hp-line-strong);
}

.hp-ai__products a {
  font-weight: 700;
}

.hp-ai__products p {
  margin-top: 6px !important;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =========================================================================
   G. Who it serves
   ========================================================================= */

.hp-fit {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hp-line-strong);
}

.hp-fit__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 14px 56px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hp-line);
}

body.aic-home main .hp-fit__who h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hp-fit__who p {
  max-width: 34em;
  margin-top: 0.4rem !important;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hp-fit__products {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
  gap: 8px 16px;
}

.hp-fit__label {
  margin-top: 6px !important;
  color: var(--hp-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hp-fit__products ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-fit__note {
  grid-column: 2;
  color: var(--hp-muted);
  font-size: 0.87rem;
}

.hp-fit__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 26px !important;
  color: var(--hp-muted);
  font-size: 0.95rem;
}

.hp-fit__more a {
  font-weight: 650;
}

/* =========================================================================
   H. Getting started
   ========================================================================= */

.hp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-steps li {
  position: relative;
  padding: 26px 28px 0 0;
  border-top: 1px solid var(--hp-line-strong);
}

.hp-steps li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hp-emerald);
  box-shadow: 0 0 0 4px var(--hp-bg-alt);
}

.hp-steps__num {
  color: var(--hp-emerald);
  font-size: 0.85rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

body.aic-home main .hp-steps h3 {
  margin: 0.4rem 0 0;
  font-size: 1.12rem;
}

.hp-steps p {
  margin: 0.45rem 0 0.8rem !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hp-steps .hp-arrowlink {
  font-size: 0.9rem;
}

.hp-help {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(40px, 5vw, 60px) 0 0;
  padding: 0;
  list-style: none;
}

.hp-help a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.aic-home main .hp-help a {
  color: var(--hp-body);
}

body.aic-home main .hp-help a:hover {
  border-color: var(--hp-emerald);
  box-shadow: var(--hp-shadow);
  color: var(--hp-body);
}

.hp-help svg {
  margin-top: 2px;
  color: var(--hp-emerald);
  font-size: 1.3rem;
}

.hp-help span {
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hp-help strong {
  display: block;
  color: var(--hp-ink);
  font-size: 0.98rem;
}

/* =========================================================================
   I. Releases, data handling, quotes
   ========================================================================= */

.hp-proof {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

body.aic-home main .hp-proof h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.hp-proof__releases ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hp-line-strong);
}

.hp-proof__releases li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hp-line);
}

.hp-proof__releases time {
  grid-row: span 2;
  padding-top: 2px;
  color: var(--hp-muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

body.aic-home main .hp-proof__releases li a {
  color: var(--hp-ink);
  font-weight: 700;
}

body.aic-home main .hp-proof__releases li a:hover {
  color: var(--hp-emerald);
}

.hp-proof__releases li p {
  grid-column: 2;
  font-size: 0.93rem;
  line-height: 1.55;
}

.hp-proof__trust {
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--hp-line);
  border-radius: 20px;
  background: var(--hp-bg-alt);
}

.hp-proof__trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-proof__trust li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.hp-proof__trust svg {
  margin-top: 2px;
  color: var(--hp-emerald);
  font-size: 1.2rem;
}

.hp-proof__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 10px !important;
  padding-top: 14px;
  border-top: 1px solid var(--hp-line);
  font-weight: 650;
}

.hp-quotes {
  margin-top: clamp(52px, 6vw, 84px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--hp-line);
}

body.aic-home main .hp-quotes__title {
  margin: 0;
  font-size: 1.1rem;
}

.hp-quotes__note {
  margin-top: 0.35rem !important;
  color: var(--hp-muted);
  font-size: 0.88rem;
}

.hp-quotes ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hp-quotes li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 20px;
  border-left: 3px solid var(--hp-mint);
}

.hp-quotes blockquote {
  margin: 0;
}

.hp-quotes blockquote p {
  color: var(--hp-ink);
  font-size: 1rem;
  line-height: 1.62;
}

.hp-quotes__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px !important;
}

.hp-quotes__who img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.hp-quotes__who span {
  color: var(--hp-muted);
  font-size: 0.83rem;
  line-height: 1.4;
}

.hp-quotes__who strong {
  display: block;
  color: var(--hp-ink);
  font-size: 0.93rem;
}

/* =========================================================================
   J. FAQ
   ========================================================================= */

.hp-faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}

.hp-faq__intro > p:not(.hp-kicker) {
  max-width: 30em;
  margin-top: 1rem !important;
  font-size: 1rem;
  line-height: 1.65;
}

/* Links inside running text are underlined, not told apart by colour alone. */
body.aic-home main .hp-faq__intro > p:not(.hp-kicker):not(.hp-faq__links) a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-faq__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.hp-faq__list {
  border-top: 1px solid var(--hp-line-strong);
}

.hp-faq__item {
  border-bottom: 1px solid var(--hp-line-strong);
}

.hp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  color: var(--hp-ink);
  font-size: 1.06rem;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.hp-faq__item summary::-webkit-details-marker {
  display: none;
}

.hp-faq__item summary:hover {
  color: var(--hp-emerald);
}

.hp-faq__marker {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--hp-line-strong);
  border-radius: 50%;
  background: #fff;
}

.hp-faq__marker::before,
.hp-faq__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--hp-emerald);
  transition: transform 160ms ease;
}

.hp-faq__marker::after {
  transform: rotate(90deg);
}

.hp-faq__item[open] .hp-faq__marker::after {
  transform: rotate(0deg);
}

.hp-faq__item > p {
  max-width: 44em;
  margin: 0 0 22px !important;
  padding-right: 46px;
  font-size: 1rem;
  line-height: 1.68;
}

/* =========================================================================
   K. Closing
   ========================================================================= */

.hp-closing {
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 4.5vw, 56px);
  background: linear-gradient(135deg, var(--hp-emerald-deep) 0%, #07574a 100%);
  color: #fff;
}

.hp-closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 56px;
}

body.aic-home main .hp-closing h2 {
  max-width: 20ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 1.25rem + 1.7vw, 2.75rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.hp-closing__copy p {
  max-width: 40em;
  margin-top: 0.9rem !important;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  line-height: 1.6;
}

.hp-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hp-closing__contact {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

body.aic-home main .hp-closing a:not(.btn),
body.aic-home main .hp-closing a:not(.btn):hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.aic-home main .hp-closing :focus-visible {
  outline-color: #fff;
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1199.98px) {
  .hp-ai__products ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-hx__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-spot,
  .hp-spot--2,
  .hp-spot--4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* Two products side by side need the full width to stay legible. */
  .hp-spot--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-spot--3 .hp-spot__copy {
    max-width: 44rem;
  }

  .hp-flow__why {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .hp-head--split,
  .hp-hero__grid,
  .hp-explorer,
  .hp-ai,
  .hp-proof,
  .hp-faq,
  .hp-closing__inner,
  .hp-fit__row,
  .hp-spot,
  .hp-spot--2,
  .hp-spot--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-hero__copy {
    max-width: 40rem;
  }

  .hp-benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-benefits__list li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hp-benefits__list li:nth-child(n + 3) {
    border-top: 1px solid var(--hp-line);
  }

  /* Tabs become a horizontal strip that scrolls on its own. */
  .hp-explorer__tabs {
    position: static;
    flex-direction: row;
    gap: 8px;
    margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding: 2px calc(var(--bs-gutter-x, 1.5rem) * 0.5) 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    scrollbar-width: thin;
  }

  .hp-tab {
    width: auto;
    flex: 0 0 auto;
    border-color: var(--hp-line);
    background: #fff;
    scroll-snap-align: start;
  }

  .hp-tab__icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .hp-tab__count {
    display: none;
  }

  .hp-tab--all {
    margin-top: 0;
  }

  .hp-tab--all::before {
    display: none;
  }

  .hp-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hp-flow__step + .hp-flow__step::before {
    top: -19px;
    left: 42px;
    width: 0;
    height: 18px;
    border-top: 0;
    border-left: 2px dotted var(--hp-dot);
  }

  .hp-flow__why ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-spot--2 .hp-spot__copy,
  .hp-spot--4 .hp-spot__copy {
    order: 0;
  }

  .hp-spot--4 .hp-spot__visual {
    max-width: none;
  }

  .hp-ai__visual {
    position: static;
  }

  .hp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .hp-help {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-quotes ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 767.98px) {
  .hp-ai__products ul,
  .hp-links ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hp-area__more,
  .hp-area__soon ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-ai__facts > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-fit__products {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-fit__note {
    grid-column: 1;
  }

  .hp-vis--payroll .hp-vis__stage {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .hp-hero__actions .btn {
    width: 100%;
  }

  .hp-benefits__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-benefits__list li,
  .hp-benefits__list li:nth-child(odd) {
    padding: 22px 0;
    border-left: 0;
  }

  .hp-benefits__list li + li {
    border-top: 1px solid var(--hp-line);
  }

  .hp-hx {
    padding: 50px 12px 14px;
    border-radius: 18px;
  }

  .hp-hx__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hp-hx .hp-col-rate {
    display: none;
  }

  .hp-card {
    padding: 14px;
  }

  .hp-vis {
    padding: 50px 12px 14px;
    border-radius: 18px;
  }

  .hp-vis__pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-stats strong {
    font-size: 1.15rem;
  }

  .hp-issues li {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .hp-issues .hp-fake-link {
    grid-column: 2;
  }

  .hp-steps,
  .hp-help {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-proof__releases li {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-proof__releases time,
  .hp-proof__releases li p {
    grid-row: auto;
    grid-column: 1;
  }

  .hp-faq__item > p {
    padding-right: 0;
  }

  .hp-closing__actions .btn {
    width: 100%;
  }

  .hp-spot--3 {
    margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding: 28px calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aic-home *,
  .aic-home *::before,
  .aic-home *::after {
    transition: none !important;
  }
}

/* Small card headers (the hero's supporting cards, and every card on a
   phone): product name over the screen name, so neither is cut off when the
   card is narrow. */
.hp-card__bar--sm .hp-app {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 0.55rem;
  row-gap: 0;
  align-items: center;
}

.hp-card__bar--sm .hp-app__icon {
  grid-row: span 2;
}

.hp-card__bar--sm .hp-app__name {
  font-size: 0.84rem;
  line-height: 1.25;
}

.hp-card__bar--sm .hp-app__screen {
  font-size: 0.76rem;
  line-height: 1.3;
}

.hp-card__bar--sm .hp-app__screen::before {
  content: none;
}

@media (max-width: 575.98px) {
  .hp-card__bar .hp-app {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 0.55rem;
    align-items: center;
  }

  .hp-card__bar .hp-app__icon {
    grid-row: span 2;
  }

  .hp-card__bar .hp-app__name {
    line-height: 1.25;
  }

  .hp-card__bar .hp-app__screen {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .hp-card__bar .hp-app__screen::before {
    content: none;
  }
}
