.hw-article-checkout .hw-article-header {
  max-width: 1050px;
}

.hw-article-checkout .hw-article-header h1 {
  max-width: 980px;
}

.hw-article-checkout .hw-navigation-mobile-toggle {
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  max-width: 46px;
}

.hw-checkout-subline {
  max-width: 820px;
  margin: 22px 0 0;
  color: #665d66;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1.45;
}

.hw-checkout-hero {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto 64px;
  overflow: hidden;
  border: 1px solid #d9cdbc;
  border-radius: 7px;
  background: #f3ecdf;
  box-shadow: 0 22px 48px rgba(42, 22, 38, 0.1);
}

.hw-checkout-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.7;
  object-fit: cover;
  object-position: center 46%;
}

.hw-article-checkout .hw-article-inline-toc a {
  align-items: flex-start;
}

.hw-article-checkout :is(h2, h3)[id] {
  scroll-margin-top: 120px;
}

.hw-checkout-figure,
.hw-checkout-infographic {
  margin: 42px 0;
}

.hw-checkout-figure img,
.hw-checkout-infographic img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9cdbc;
  border-radius: 7px;
  background: #fffdf9;
}

.hw-checkout-figure figcaption,
.hw-checkout-infographic figcaption {
  margin-top: 12px;
  color: #665d66;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
}

.hw-checkout-infographic.is-portrait {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.hw-checkout-checklist {
  columns: 2;
  column-gap: 34px;
}

.hw-checkout-checklist li {
  break-inside: avoid;
}

.hw-checkout-dialogue {
  margin: 28px 0;
  border-top: 1px solid #d9cdbc;
  border-bottom: 1px solid #d9cdbc;
}

.hw-checkout-dialogue p {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  margin: 0;
  padding: 16px 0;
}

.hw-checkout-dialogue p + p {
  border-top: 1px solid #e7ded1;
}

.hw-checkout-dialogue span,
.hw-checkout-practice-rule > strong {
  color: #c99742;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hw-checkout-practice-rule {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 3px solid #c99742;
  background: #f3ecdf;
}

.hw-checkout-practice-rule p {
  margin: 9px 0 0;
}

.hw-checkout-split-example {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
  border: 1px solid #d9cdbc;
  border-radius: 7px;
  overflow: hidden;
  background: #fffdf9;
}

.hw-checkout-split-example > div {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
}

.hw-checkout-split-example > div + div {
  border-left: 1px solid #d9cdbc;
}

.hw-checkout-split-example strong {
  color: #c99742;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hw-checkout-split-example span {
  color: #21131d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.24rem;
  line-height: 1.35;
}

.hw-checkout-phrases {
  margin: 26px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid #c99742;
}

.hw-checkout-phrases p {
  margin: 0;
  color: #2a1626;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.32rem;
  font-style: italic;
}

.hw-checkout-phrases p + p {
  margin-top: 9px;
}

.hw-checkout-flowline,
.hw-checkout-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid #d9cdbc;
  border-radius: 7px;
  background: #fffdf9;
  color: #21131d;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.hw-checkout-flowline span,
.hw-checkout-sequence span {
  color: #c99742;
}

.hw-checkout-ten-steps,
.hw-checkout-cycle,
.hw-checkout-conclusion {
  margin: 64px 0;
  padding: 44px;
  border-radius: 7px;
}

.hw-checkout-ten-steps {
  background: #2a1626;
  color: #fffdf9;
}

.hw-checkout-ten-steps .hw-article-kicker,
.hw-checkout-ten-steps > h2 {
  color: #e2c182;
}

.hw-checkout-ten-steps > h2,
.hw-checkout-cycle > h2,
.hw-checkout-conclusion > h2,
.hw-checkout-case > h2 {
  margin-top: 5px;
}

.hw-checkout-process {
  margin: 34px 0 44px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 253, 249, 0.2);
}

.hw-checkout-process li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 253, 249, 0.17);
}

.hw-checkout-process li > span {
  color: #e2c182;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
}

.hw-checkout-process h3 {
  margin: 0 0 4px;
  color: #fffdf9;
  font-size: 1.28rem;
}

.hw-checkout-process p {
  margin: 0;
  color: rgba(255, 253, 249, 0.78);
}

.hw-checkout-ten-steps figcaption {
  color: rgba(255, 253, 249, 0.72);
}

.hw-checkout-error-list {
  margin-top: 34px;
  border-top: 1px solid #d9cdbc;
}

.hw-checkout-error-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 20px;
  padding: 28px 0;
  border-bottom: 1px solid #d9cdbc;
}

.hw-checkout-error-list article > span {
  grid-row: 1 / span 3;
  color: #c99742;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
}

.hw-checkout-error-list h3,
.hw-checkout-error-list p,
.hw-checkout-error-list strong {
  grid-column: 2;
  margin: 0;
}

.hw-checkout-error-list h3 {
  font-size: 1.34rem;
}

.hw-checkout-error-list strong {
  color: #2a1626;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.65;
}

.hw-checkout-case {
  margin: 64px 0;
  padding: 40px 44px;
  border: 1px solid #d9cdbc;
  border-radius: 7px;
  background: #f3ecdf;
}

.hw-checkout-case ul {
  margin: 20px 0;
}

.hw-checkout-cycle {
  border: 1px solid #d9cdbc;
  background: #fffdf9;
}

.hw-checkout-conclusion {
  background: #202023;
  color: #fffdf9;
}

.hw-checkout-conclusion .hw-article-kicker,
.hw-checkout-conclusion > h2 {
  color: #e2c182;
}

.hw-checkout-conclusion p {
  color: rgba(255, 253, 249, 0.84);
}

.hw-checkout-conclusion .hw-article-quote {
  margin-bottom: 0;
}

.hw-checkout-planned {
  margin: 64px 0;
  padding: 40px 44px;
  border: 1px solid #d9cdbc;
  border-radius: 7px;
  background: #fffdf9;
}

.hw-checkout-planned h2 {
  margin-top: 5px;
}

.hw-checkout-planned ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9cdbc;
}

.hw-checkout-planned li {
  display: grid;
  gap: 6px;
  padding: 17px 12px 17px 0;
  border-bottom: 1px solid #d9cdbc;
}

.hw-checkout-planned li:nth-child(odd) {
  padding-right: 24px;
}

.hw-checkout-planned li:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid #d9cdbc;
}

.hw-checkout-planned span {
  color: #21131d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.3;
}

.hw-checkout-planned small {
  color: #c99742;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 820px) {
  .hw-checkout-hero {
    width: min(100% - 28px, 760px);
    margin-bottom: 44px;
  }

  .hw-checkout-ten-steps,
  .hw-checkout-cycle,
  .hw-checkout-conclusion,
  .hw-checkout-case,
  .hw-checkout-planned {
    padding: 34px;
  }
}

@media (max-width: 640px) {
  .hw-checkout-subline {
    margin-top: 17px;
    font-size: 1.18rem;
  }

  .hw-checkout-hero {
    width: calc(100% - 24px);
    margin-bottom: 34px;
  }

  .hw-checkout-hero img {
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .hw-checkout-checklist {
    columns: 1;
  }

  .hw-checkout-split-example {
    grid-template-columns: 1fr;
  }

  .hw-checkout-split-example > div + div {
    border-top: 1px solid #d9cdbc;
    border-left: 0;
  }

  .hw-checkout-ten-steps,
  .hw-checkout-cycle,
  .hw-checkout-conclusion,
  .hw-checkout-case,
  .hw-checkout-planned {
    margin: 48px 0;
    padding: 26px 20px;
  }

  .hw-checkout-process li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .hw-checkout-error-list article {
    grid-template-columns: 38px 1fr;
    gap: 7px 12px;
  }

  .hw-checkout-planned ul {
    grid-template-columns: 1fr;
  }

  .hw-checkout-planned li,
  .hw-checkout-planned li:nth-child(odd),
  .hw-checkout-planned li:nth-child(even) {
    padding: 15px 0;
    border-left: 0;
  }

  .hw-checkout-flowline,
  .hw-checkout-sequence {
    padding: 16px;
    font-size: 0.78rem;
  }
}

@media (max-width: 400px) {
  .hw-checkout-dialogue p {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hw-checkout-practice-rule {
    padding: 21px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-article-checkout * {
    scroll-behavior: auto !important;
  }
}
