@layer storybee-context {
  .storybee-context {
    padding-block: clamp(4rem, 8vw, 7rem);
    background:
      radial-gradient(circle at 15% 10%, rgb(58 159 202 / 12%), transparent 24rem),
      #f7fbfd;
    border-block-end: 1px solid var(--line);
  }

  .storybee-context__inner {
    display: grid;
    max-width: 62rem;
    justify-items: center;
    text-align: center;
  }

  .storybee-context__eyebrow {
    color: var(--orange);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .storybee-context h2 {
    margin-block-start: 0.5rem;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
  }

  .storybee-context__lead {
    max-width: 51rem;
    margin-block-start: 1.25rem;
    color: #283b48;
    font-size: clamp(1.03rem, 1.8vw, 1.24rem);
    line-height: 1.65;
    text-wrap: pretty;
  }

  .storybee-context__details {
    display: grid;
    max-width: 58rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin-block-start: 2rem;
    text-align: start;
  }

  .storybee-context__details p {
    padding: clamp(1.25rem, 3vw, 1.8rem);
    color: var(--muted);
    background: rgb(255 255 255 / 86%);
    border: 1px solid rgb(58 159 202 / 20%);
    border-radius: 1rem;
    line-height: 1.7;
  }

  .storybee-context__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-block-start: 2rem;
  }

  .storybee-context__actions a {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.15rem;
    color: var(--white);
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
  }

  .storybee-context__actions a:last-child {
    color: var(--ink);
    background: var(--white);
  }

  .storybee-context__actions a:hover {
    color: var(--white);
    background: var(--orange);
    border-color: var(--orange);
  }

  @media (max-width: 44rem) {
    .storybee-context__details {
      grid-template-columns: 1fr;
      text-align: start;
    }

    .storybee-context__actions {
      width: 100%;
      flex-direction: column;
    }

    .storybee-context__actions a {
      width: 100%;
    }
  }
}
