.cr-why-grid.cp-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cp-why .cr-why-card { padding: 3.4rem 2.8rem 3.2rem; }
.cp-why .cr-why-name { margin-top: 2.8rem; }

.cp-types {
  grid-column: 3 / span 14;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}

.cp-type {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4.4rem 4rem 4rem;
  border: var(--hair) solid var(--cr-line);
  border-radius: 2.4rem;
  background: var(--cr-sheet);
  isolation: isolate;
  transition: border-color .5s var(--ease);
}
.cp-type::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(0deg, rgba(217, 179, 120, .12), rgba(217, 179, 120, 0) 70%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
@media (hover: hover) {
  .cp-type:hover { border-color: rgba(217, 179, 120, .45); }
  .cp-type:hover::before { opacity: 1; }
}
.cp-type.is-chosen { border-color: rgba(217, 179, 120, .6); }
.cp-type.is-chosen::before { opacity: 1; }

.cp-type-tag {
  margin: 0;
  padding: .7rem 1.6rem;
  border: var(--hair) solid rgba(217, 179, 120, .4);
  border-radius: 99px;
  font-size: clamp(10.5px, 1.15rem, 12.5px);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cr-gold);
}

.cp-type-name {
  margin: 2.8rem 0 1.4rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(24px, 3.2rem, 36px);
  line-height: 1.2;
  color: var(--paper);
}
.cp-type-name em { font-style: normal; color: var(--cr-gold); }

.cp-type-text {
  margin: 0;
  font-size: clamp(14px, 1.65rem, 18.5px);
  line-height: 1.6;
  color: var(--cr-text);
}

.cp-type-points {
  display: grid;
  gap: 1.2rem;
  width: 100%;
  margin: 2.8rem 0 0;
  padding: 2.8rem 0 0;
  border-top: var(--hair) solid var(--cr-line);
  list-style: none;
}
.cp-type-points li {
  position: relative;
  padding-left: 2.4rem;
  font-size: clamp(13.5px, 1.55rem, 17px);
  line-height: 1.5;
  color: var(--paper);
}
.cp-type-points li::before {
  content: '';
  position: absolute;
  left: .2rem;
  top: .62em;
  width: .7rem;
  height: .7rem;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f6e1ad, #c9a063 55%, #8a5f15);
}

.cp-type-points { flex: 1 0 auto; align-content: start; }
.cp-type-btn { margin-top: 3.6rem; }
.cp-type-btn .btn-dot svg { transition: transform .45s var(--ease); }
.cp-type-btn[aria-expanded="true"] .btn-dot svg { transform: rotate(90deg); }

.cp-panel { margin-top: 6.4rem; scroll-margin-top: 12rem; }
html.cp-run .cp-panel:not(.is-open) { display: none; }
html.cp-run .cp-panel.is-open { animation: cp-rise .7s var(--ease-out) both; }
@keyframes cp-rise {
  from { opacity: 0; transform: translateY(3rem); }
  to   { opacity: 1; transform: none; }
}

.cp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.8rem;
}
.cp-panel-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(22px, 2.8rem, 32px);
  line-height: 1.25;
  color: var(--paper);
}
.cp-panel-title em { font-style: normal; color: var(--cr-gold); }

.cp-close {
  position: relative;
  flex: none;
  width: 4.8rem;
  height: 4.8rem;
  border: var(--hair) solid rgba(217, 179, 120, .4);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
html:not(.cp-run) .cp-close { display: none; }
.cp-close i::before,
.cp-close i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.6rem;
  height: 1px;
  margin-left: -.8rem;
  background: var(--cr-gold);
  transform: rotate(45deg);
}
.cp-close i::after { transform: rotate(-45deg); }
@media (hover: hover) {
  .cp-close:hover { border-color: var(--cr-gold); background: rgba(217, 179, 120, .08); }
}
.cp-close:focus-visible { outline: .2rem solid var(--cr-gold); outline-offset: .3rem; }

.cp-step {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: var(--hair) solid rgba(217, 179, 120, .22);
}
.cp-step:not(:first-child) { margin-top: 2.4rem; }
.cp-step-num {
  font-family: var(--font-year);
  font-size: clamp(18px, 2.2rem, 24px);
  line-height: 1;
  color: var(--cr-gold);
}
.cp-step-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(17px, 2rem, 22px);
  color: var(--paper);
}
.cp-step-note {
  flex-basis: 100%;
  margin: 0;
  font-size: clamp(12.5px, 1.35rem, 14.5px);
  color: rgba(251, 250, 247, .5);
}

.cp-checks { margin: 0; padding: 0; border: 0; min-width: 0; }
.cp-checks legend { padding: 0; }
.cp-step + .cp-checks legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.cp-checks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 3.2rem;
}
.cp-checks .cr-check { color: var(--paper); }
.cp-checks.is-bad .cr-box { border-color: var(--cr-bad); }

.cp-declare { margin-top: 1.6rem; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .cp-step-num {
    background-image: var(--gold-metal);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@media (max-width: 1200px) {
  .cr-why-grid.cp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .cp-types { grid-column: content; }
}

@media (max-width: 767px) {
  .cr-why-grid.cp-why { grid-template-columns: minmax(0, 1fr); }
  .cp-why .cr-why-card { padding: 2.8rem 2.4rem; }
  .cp-why .cr-why-name { margin-top: 2rem; }

  .cp-types { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .cp-type { padding: 3rem 2.4rem 2.8rem; border-radius: 1.8rem; }
  .cp-type-name { margin: 2rem 0 1rem; font-size: clamp(21px, 2.4rem, 26px); }
  .cp-type-text { font-size: clamp(13.5px, 1.45rem, 15.5px); line-height: 1.5; }
  .cp-type-points { margin-top: 2rem; padding-top: 2rem; }
  .cp-type-btn { margin-top: 2.8rem; }

  .cp-panel { margin-top: 4.8rem; }
  .cp-panel-head { margin-bottom: 2rem; }
  .cp-panel-title { font-size: clamp(19px, 2.2rem, 24px); }
  .cp-close { width: 4.4rem; height: 4.4rem; }
  .cp-checks-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .cp-step:not(:first-child) { margin-top: 1.6rem; }

  .cp-page .cr-hero-lede br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.cp-run .cp-panel.is-open { animation: none; }
}
