/* Isolated presentation layer: typography and reading surfaces only. */
.shell.prose,
.article-section .article-body {
  box-sizing: border-box;
  width: min(900px, 100%);
  max-width: 900px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 104, 37, .055), transparent 42%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.shell.prose > :first-child,
.article-section .article-body > :first-child {
  margin-top: 0;
}

.shell.prose > :last-child,
.article-section .article-body > :last-child {
  margin-bottom: 0;
}

.shell.prose p,
.shell.prose li,
.article-section .article-body p,
.article-section .article-body li {
  max-width: none;
  color: #d2c9c1;
  font-size: 1rem;
  line-height: 1.78;
}

.shell.prose h2,
.article-section .article-body h2 {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.shell.prose h3,
.article-section .article-body h3 {
  margin-top: 32px;
  color: var(--amber);
}

.shell.prose ul,
.shell.prose ol,
.article-section .article-body ul,
.article-section .article-body ol {
  padding-left: 1.35rem;
}

.shell.prose .callout,
.article-section .article-body .callout {
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 104, 37, .08), #12100e 38%);
}

.grid .card,
.grid.two .card,
.decision .card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, .006));
}

.grid,
.grid.two,
.decision {
  gap: 16px;
  border-top: 0;
}

.grid .card p,
.grid.two .card p,
.decision .card p {
  max-width: none;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .shell.prose,
  .article-section .article-body {
    width: var(--shell);
    padding: clamp(24px, 6vw, 36px);
  }

  .grid .card,
  .grid.two .card,
  .decision .card,
  .card:not(:nth-child(3n+1)),
  .grid.two .card:nth-child(even) {
    padding: 24px;
    border: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .shell.prose,
  .article-section .article-body {
    padding: 22px 18px;
    border-radius: 4px;
  }

  .shell.prose h2,
  .article-section .article-body h2 {
    margin-top: 38px;
    padding-top: 18px;
  }

  .grid .card,
  .grid.two .card,
  .decision .card,
  .card:not(:nth-child(3n+1)),
  .grid.two .card:nth-child(even) {
    padding: 22px 18px;
  }
}
