.bentega-checklist {
  --bentega-navy: #18233b;
  --bentega-body: #303f59;
  --bentega-orange: #ff7001;
  --bentega-orange-hover: #ff9002;
  --bentega-light-grey: #f7f9fc;
  --bentega-white: #ffffff;
  --bentega-border: #dfe5ee;

  box-sizing: border-box;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--bentega-body);
}

.bentega-checklist *,
.bentega-checklist *::before,
.bentega-checklist *::after {
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   Background
--------------------------------------------------------- */

.bentega-checklist--light {
  background: var(--bentega-light-grey);
}

.bentega-checklist--white {
  background: var(--bentega-white);
}

/* ---------------------------------------------------------
   Canonical section spacing

   "spacious" is retained as a legacy editor option but is
   normalised to the canonical normal-module spacing.
--------------------------------------------------------- */

.bentega-checklist--spacing-standard,
.bentega-checklist--spacing-spacious {
  padding-block: 64px;
}

.bentega-checklist--spacing-compact {
  padding-block: 32px;
}

/* ---------------------------------------------------------
   Canonical 1100 px container
--------------------------------------------------------- */

.bentega-checklist__container {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------------------------------------------------------
   Section header
--------------------------------------------------------- */

.bentega-checklist__header {
  width: 100%;
  max-width: none;
  margin: 0 0 32px;
}

.bentega-checklist__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--bentega-navy);
}

.bentega-checklist__eyebrow::before {
  content: "";
  display: block;
  width: 16px;
  height: 3px;
  flex: 0 0 16px;
  border-radius: 999px;
  background: var(--bentega-orange-hover);
}

.bentega-checklist__heading {
  width: 100%;
  max-width: none;
  margin: 0;
  font-family: inherit;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--bentega-navy);
}

.bentega-checklist__intro {
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  font-family: inherit;
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  color: var(--bentega-body);
}

.bentega-checklist__intro > :first-child {
  margin-top: 0;
}

.bentega-checklist__intro > :last-child {
  margin-bottom: 0;
}

.bentega-checklist__intro p {
  margin-top: 0;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   Rich-text links
--------------------------------------------------------- */

.bentega-checklist__intro a,
.bentega-checklist__item-description a {
  color: var(--bentega-navy);
  font-family: inherit;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-color: var(--bentega-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition:
    color 150ms ease,
    text-decoration-color 150ms ease;
}

.bentega-checklist__intro a:hover,
.bentega-checklist__intro a:focus-visible,
.bentega-checklist__item-description a:hover,
.bentega-checklist__item-description a:focus-visible {
  color: var(--bentega-navy);
  font-weight: 600;
  text-decoration-color: var(--bentega-orange-hover);
}

.bentega-checklist__intro a:focus-visible,
.bentega-checklist__item-description a:focus-visible {
  outline: 3px solid rgba(255, 112, 1, 0.25);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   Checklist grid
--------------------------------------------------------- */

.bentega-checklist__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.bentega-checklist--layout-single_column .bentega-checklist__list {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------------------------------------------------------
   Checklist card
--------------------------------------------------------- */

.bentega-checklist__item {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 24px;

  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 16px;
  align-content: start;

  background: var(--bentega-white);
  border: 1px solid var(--bentega-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(24, 35, 59, 0.08);
}

/*
  In two-column mode each pair of cards shares two parent
  row tracks: heading and description.

  This makes descriptions begin at the same vertical level
  even where headings wrap to different numbers of lines.
*/

.bentega-checklist--layout-two_column .bentega-checklist__item {
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 8px;
}

.bentega-checklist--layout-single_column .bentega-checklist__item {
  grid-template-rows: auto auto;
  row-gap: 8px;
  grid-row: auto;
}

.bentega-checklist__badge {
  grid-column: 1;
  grid-row: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;

  width: 32px;
  height: 32px;
  padding: 0;

  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--bentega-navy);

  background: var(--bentega-light-grey);
  border: 1px solid var(--bentega-border);
  border-radius: 999px;
}

.bentega-checklist__check-icon {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--bentega-orange);
}

.bentega-checklist__item-heading {
  grid-column: 2;
  grid-row: 1;
  align-self: start;

  min-width: 0;
  margin: 0;

  font-family: inherit;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: var(--bentega-navy);
}

.bentega-checklist__item-description {
  grid-column: 2;
  grid-row: 2;

  min-width: 0;
  margin: 0;

  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--bentega-body);
}

.bentega-checklist__item-description > :first-child {
  margin-top: 0;
}

.bentega-checklist__item-description > :last-child {
  margin-bottom: 0;
}

.bentega-checklist__item-description p {
  margin-top: 0;
  margin-bottom: 16px;
}

.bentega-checklist__item-description ul,
.bentega-checklist__item-description ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 24px;
}

/* ---------------------------------------------------------
   Subgrid fallback

   Current checklist headings are designed as compact card
   headings. Older browsers without subgrid receive a
   two-line shared title region rather than JS measurement.
--------------------------------------------------------- */

@supports not (grid-template-rows: subgrid) {
  .bentega-checklist--layout-two_column .bentega-checklist__item {
    grid-row: auto;
    grid-template-rows: auto auto;
  }

  .bentega-checklist--layout-two_column .bentega-checklist__item-heading {
    min-height: 56px;
  }
}

/* ---------------------------------------------------------
   CTA group
--------------------------------------------------------- */

.bentega-checklist__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ---------------------------------------------------------
   Canonical primary button
--------------------------------------------------------- */

.bentega-checklist .bentega-checklist__button,
.bentega-checklist .bentega-checklist__button:visited,
.bentega-checklist .bentega-checklist__button:hover,
.bentega-checklist .bentega-checklist__button:focus,
.bentega-checklist .bentega-checklist__button:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 44px;
  padding: 10px 20px;

  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;

  border-width: 1px;
  border-style: solid;
  border-radius: 8px;

  text-decoration: none;
  cursor: pointer;

  transform: none;
  box-shadow: none;

  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.bentega-checklist .bentega-checklist__button,
.bentega-checklist .bentega-checklist__button:visited {
  background: var(--bentega-orange);
  border-color: var(--bentega-orange);
  color: var(--bentega-white);
}

.bentega-checklist .bentega-checklist__button:hover,
.bentega-checklist .bentega-checklist__button:focus {
  background: var(--bentega-orange-hover);
  border-color: var(--bentega-orange-hover);
  color: var(--bentega-white);
}

.bentega-checklist__button-label {
  display: inline-block;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  transform: none;
}

.bentega-checklist__button-arrow {
  display: inline-block;
  flex: 0 0 auto;

  color: inherit;
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;

  transform: translateX(0);
  transition: transform 150ms ease;
}

.bentega-checklist .bentega-checklist__button:hover .bentega-checklist__button-arrow,
.bentega-checklist .bentega-checklist__button:focus-visible .bentega-checklist__button-arrow {
  transform: translateX(3px);
}

.bentega-checklist .bentega-checklist__button:focus-visible {
  outline: 3px solid rgba(255, 112, 1, 0.25);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   Canonical secondary text link

   The label typography is explicitly locked in every state.
   Only underline colour and arrow position change.
--------------------------------------------------------- */

.bentega-checklist .bentega-checklist__text-link,
.bentega-checklist .bentega-checklist__text-link:visited,
.bentega-checklist .bentega-checklist__text-link:hover,
.bentega-checklist .bentega-checklist__text-link:focus,
.bentega-checklist .bentega-checklist__text-link:active {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  min-height: 44px;

  color: var(--bentega-navy);

  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;

  padding: 0;
  margin: 0;

  text-decoration: none;
  transform: none;

  transition: color 150ms ease;
}

.bentega-checklist__text-link-label {
  display: inline;

  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
  text-transform: inherit;

  text-decoration-line: underline;
  text-decoration-color: var(--bentega-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;

  transform: none;

  transition:
    color 150ms ease,
    text-decoration-color 150ms ease;
}

.bentega-checklist .bentega-checklist__text-link:hover .bentega-checklist__text-link-label,
.bentega-checklist .bentega-checklist__text-link:focus-visible .bentega-checklist__text-link-label {
  color: var(--bentega-navy);
  font-weight: 600;
  text-decoration-color: var(--bentega-orange-hover);
  transform: none;
}

.bentega-checklist__text-link-arrow {
  display: inline-block;
  flex: 0 0 auto;

  color: var(--bentega-orange);

  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;

  text-decoration: none;

  transform: translateX(0);
  transition: transform 150ms ease;
}

.bentega-checklist .bentega-checklist__text-link:hover .bentega-checklist__text-link-arrow,
.bentega-checklist .bentega-checklist__text-link:focus-visible .bentega-checklist__text-link-arrow {
  color: var(--bentega-orange);
  transform: translateX(3px);
}

.bentega-checklist .bentega-checklist__text-link:focus-visible {
  outline: 3px solid rgba(255, 112, 1, 0.25);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   Tablet: 768–1023 px
--------------------------------------------------------- */

@media (max-width: 1023px) {
  .bentega-checklist--spacing-standard,
  .bentega-checklist--spacing-spacious {
    padding-block: 48px;
  }

  .bentega-checklist--spacing-compact {
    padding-block: 32px;
  }
}

/* ---------------------------------------------------------
   Mobile: <= 767 px
--------------------------------------------------------- */

@media (max-width: 767px) {
  .bentega-checklist--spacing-standard,
  .bentega-checklist--spacing-spacious {
    padding-block: 40px;
  }

  .bentega-checklist--spacing-compact {
    padding-block: 24px;
  }

  .bentega-checklist__container {
    width: calc(100% - 32px);
  }

  .bentega-checklist__heading {
    font-size: 30px;
    line-height: 38px;
  }

  .bentega-checklist__list,
  .bentega-checklist--layout-two_column .bentega-checklist__list,
  .bentega-checklist--layout-single_column .bentega-checklist__list {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 16px;
  }

  .bentega-checklist--layout-two_column .bentega-checklist__item,
  .bentega-checklist--layout-single_column .bentega-checklist__item {
    grid-row: auto;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }

  .bentega-checklist--layout-two_column .bentega-checklist__item-heading {
    min-height: 0;
  }
}

/* ---------------------------------------------------------
   Reduced motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .bentega-checklist__button,
  .bentega-checklist__button-arrow,
  .bentega-checklist__text-link,
  .bentega-checklist__text-link-label,
  .bentega-checklist__text-link-arrow,
  .bentega-checklist__intro a,
  .bentega-checklist__item-description a {
    transition: none;
  }

  .bentega-checklist .bentega-checklist__button:hover .bentega-checklist__button-arrow,
  .bentega-checklist .bentega-checklist__button:focus-visible .bentega-checklist__button-arrow,
  .bentega-checklist .bentega-checklist__text-link:hover .bentega-checklist__text-link-arrow,
  .bentega-checklist .bentega-checklist__text-link:focus-visible .bentega-checklist__text-link-arrow {
    transform: none;
  }
}