body:has(> .friend-chao-page) > header { margin-bottom: 0; }
body:has(> .friend-chao-page) > header > .container { border-radius: 0; }

.friend-chao-page {
  --friend-yellow: #fcbc1b;
  --friend-teal: #05aaa4;
  --friend-orange: #ff571e;
  --friend-ink: #17130e;
  --friend-section-space: clamp(56px, 7.5vw, 112px);
  --friend-section-title: clamp(26px, 3.125vw, 44px);
}

.friend-chao-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 2400px;
  margin-inline: auto;
  border-radius: 0 0 30px 30px;
  background: var(--friend-yellow);
}

.friend-chao-page .friend-chao-hero > .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: 28px 48px;
}

.friend-chao-kicker {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
}

.friend-chao-hero h1 {
  font-size: clamp(38px, 4.65vw, 72px);
  font-weight: 900;
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}

.friend-chao-lead {
  max-width: 38ch;
  margin-top: 24px;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.35;
  text-wrap: pretty;
}

.friend-chao-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 36px;
}

.friend-chao-page .information-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.friend-chao-page .information-button:hover { background: #34312f; }
.friend-chao-page .information-button:focus-visible { border-radius: 100px; }
.friend-chao-hero a:focus-visible { outline-color: var(--friend-ink); }

.friend-chao-rules {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-underline-offset: 5px;
  text-decoration-color: #71520d;
}

.friend-chao-rules:hover { text-decoration-color: currentColor; }

.friend-chao-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.friend-chao-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% -10% 4% -5%;
  border: 4px solid #fff3cc;
  border-radius: 50%;
  transform: rotate(-15deg);
  content: '';
}

.friend-chao-visual img {
  width: min(100%, 560px);
  height: auto;
}

.friend-chao-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--friend-section-space) clamp(28px, 6vw, 96px);
  padding-block-start: var(--friend-section-space);
}

.friend-chao-page .friend-chao-body > .information-section { margin: 0; }

.friend-chao-page .information-section > h2 {
  max-width: none;
  margin: 0 0 24px;
  font-size: var(--friend-section-title);
  font-weight: 900;
  line-height: 1.03;
  text-transform: uppercase;
  text-wrap: balance;
}

.friend-chao-page .information-section-body { line-height: 1.5; }
.friend-chao-page .information-section-body p { text-wrap: pretty; }

.friend-chao-body > :is(.information-section--cards, .information-section--steps) { grid-column: 1 / -1; }

.friend-chao-page .information-section--cards .information-section-body > p {
  max-width: 56ch;
  margin-bottom: 32px;
  font-size: clamp(16px, 1.6vw, 21px);
  color: #514d47;
}

.friend-chao-page .information-section--cards ul {
  gap: 0;
  border-block: 1px solid #e5e1da;
}

.friend-chao-page .information-section--cards li {
  padding: 28px clamp(16px, 3vw, 44px) 32px;
  border-radius: 0;
  background: none;
}

.friend-chao-page .information-section--cards li:first-child { padding-inline-start: 0; }
.friend-chao-page .information-section--cards li + li { border-inline-start: 1px solid #e5e1da; }

.friend-chao-page .information-section--cards li strong {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.friend-chao-page .information-section--steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.friend-chao-page .information-section--steps > h2 { margin: 36px 0 0; }

.friend-chao-page .information-section--steps ol {
  overflow: hidden;
  gap: 0;
  border-radius: 12px;
}

.friend-chao-page .information-section--steps li {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 24px;
  background: var(--friend-yellow);
  color: var(--friend-ink);
  font-size: 16px;
}

.friend-chao-page .information-section--steps li:nth-child(2) {
  background: var(--friend-teal);
  color: #fff;
}

.friend-chao-page .information-section--steps li:nth-child(3) {
  background: var(--friend-orange);
  color: #fff;
}

.friend-chao-page .information-section--steps li a { color: inherit; }

.friend-chao-page .information-section--steps li::before {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin-bottom: 24px;
  background: none;
  font-size: 16px;
}

.friend-chao-page .information-section--steps li strong {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.08;
  text-wrap: balance;
}

.friend-chao-page .information-section--steps .information-section-body > p {
  margin-top: 24px;
}

.friend-chao-page .information-section--default {
  display: block;
  padding-top: 28px;
}

.friend-chao-page .information-section--default > h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.12;
  text-transform: none;
}

@media (max-width: 1000px) {
  .friend-chao-page .information-section--steps { grid-template-columns: minmax(0, 1fr); }
  .friend-chao-page .information-section--steps > h2 { margin-top: 0; }
}

@media (max-width: 767px) {
  .friend-chao-hero { border-radius: 0 0 24px 24px; }

  .friend-chao-page .friend-chao-hero > .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: 28px 24px;
  }

  .friend-chao-hero h1 { font-size: clamp(36px, 9.5vw, 52px); }
  .friend-chao-kicker { margin-bottom: 12px; }
  .friend-chao-lead { margin-top: 16px; }
  .friend-chao-actions { gap: 0 16px; margin-top: 20px; }
  .friend-chao-visual { width: min(100%, 420px); justify-self: center; }
  .friend-chao-visual::before { border-width: 3px; }

  .friend-chao-body { grid-template-columns: minmax(0, 1fr); }
  .friend-chao-page .information-section--cards ul { grid-template-columns: minmax(0, 1fr); }

  .friend-chao-page .information-section--cards li {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
    padding: 18px 0;
  }

  .friend-chao-page .information-section--cards li + li {
    border-inline-start: 0;
    border-top: 1px solid #e5e1da;
  }

  .friend-chao-page .information-section--cards li strong { margin-bottom: 0; }
  .friend-chao-page .information-section--steps ol { grid-template-columns: minmax(0, 1fr); }

  .friend-chao-page .information-section--steps li {
    position: relative;
    min-height: 0;
    padding: 22px 20px 22px 60px;
  }

  .friend-chao-page .information-section--steps li::before {
    position: absolute;
    top: 22px;
    left: 20px;
    margin-bottom: 0;
  }

  .friend-chao-page .information-section--steps li strong { margin-bottom: 8px; }
}
