.col-list-hero, .article-head { padding: 56px 0 32px; }
.col-list-hero h1 { font-size: clamp(32px, 6vw, 48px); }

.col-cards { list-style: none; padding: 0; margin: 0 0 72px; display: grid; gap: 16px; }
.col-card a {
  display: block; padding: 24px; text-decoration: none; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.col-card a:hover { border-color: var(--yolk); transform: translateY(-2px); }
.col-card a:focus-visible { outline: 3px solid var(--yolk-deep); outline-offset: 2px; }
.col-card h2 { font-size: 20px; margin: 4px 0 8px; }
.col-card p { color: var(--muted); font-size: 14px; margin: 0; }
.col-meta { font-size: 13px; color: var(--muted); }
.col-tag {
  display: inline-block; font-size: 12px; font-weight: 800; padding: 1px 10px; margin-right: 8px;
  border-radius: 999px; color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--yolk) 50%, transparent);
}

.article { max-width: 720px; margin: 0 auto 80px; }
.article-head h1 { font-size: clamp(26px, 5vw, 38px); line-height: 1.45; }
.article-head .lead { margin-bottom: 16px; }
.article-body { font-size: 17px; line-height: 1.95; }
.article-body h2 {
  font-size: clamp(21px, 3.4vw, 25px); margin: 56px 0 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body h3 { font-size: 18px; margin: 32px 0 10px; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.2em; }
.article-body li { margin-bottom: 0.4em; }
.article-body strong { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--yolk) 40%, transparent) 62%); }
.article-body code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.88em;
  padding: 2px 6px; border-radius: 6px; background: var(--surface-2);
}

.callout {
  padding: 18px 22px; margin: 24px 0; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--yolk);
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-title { font-weight: 800; margin-bottom: 6px; }
.callout.is-warn { border-left-color: var(--warn); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 48px; margin-bottom: 18px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--yolk); color: #2b1a00; font-weight: 800; font-size: 15px;
}

.prompt-box { margin: 20px 0 28px; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.prompt-box-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--muted);
}
.prompt-box pre {
  margin: 0; padding: 18px; overflow-x: auto; background: var(--surface);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.75;
  white-space: pre-wrap; word-break: break-word;
}

.compare { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare th { font-size: 13px; color: var(--muted); }
.compare td:first-child { font-weight: 700; white-space: nowrap; }

.article-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.article-foot .btn { margin-top: 8px; }
.article-foot ul { padding-left: 1.2em; margin: 0 0 1em; }
.article-foot li { margin-bottom: 6px; word-break: break-word; }

@media (max-width: 720px) {
  .col-list-hero, .article-head { padding: 36px 0 24px; }
  .article-body { font-size: 16px; }
  .compare td:first-child { white-space: normal; }
  .compare th, .compare td { padding: 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .col-card a { transition: none; }
}
