/* Legacy content uses the shared light design system; typography stays readable in both directions. */
.legacy-content { padding-block: 32px 72px; }
.legacy-body { width: min(70ch, calc(100% - 32px)); margin-inline: auto; line-height: 1.8; overflow-wrap: anywhere; }
.legacy-body h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin-block: 24px; }
.legacy-body h2 { font-size: 1.6rem; margin-block: 32px 16px; }
.legacy-body h3 { margin-block: 24px 12px; }
.legacy-body p, .legacy-body ul, .legacy-body ol { margin-block: 16px; }
.legacy-body ul, .legacy-body ol { padding-inline-start: 24px; }
.legacy-body a { color: var(--teal-text); text-decoration: underline; text-underline-offset: 3px; }
.legacy-body img { max-width: 100%; height: auto; border-radius: 16px; }
.legacy-body table { border-collapse: collapse; width: 100%; }
.legacy-body th, .legacy-body td { text-align: start; padding: 12px; border: 1px solid var(--line); }
.legacy-body section, .legacy-body aside { margin-block: 24px; }
.legacy-body .insight-grid { display: grid; gap: 24px; }
.legacy-body .insight-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; }
.legacy-body .insight-card-art img { width: 100%; }
.legacy-body .insight-card time { display: block; margin-block: 12px; }
.legacy-body .insight-byline, .legacy-body .insight-kicker { color: var(--muted-text); }
.legacy-body .card, .legacy-body .hero-card, .legacy-body .notice { padding: 20px; border: 1px solid var(--line); border-radius: 16px; margin-block: 20px; }
.legacy-body .token-logo img { width: 64px; }
.legacy-body .facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 10px; }
.legacy-body button { padding: 8px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.legacy-body code { overflow-wrap: anywhere; }
/* Insights index: full-width responsive card grid (the 70ch measure is for reading pages only). */
.legacy-body:has(.insight-grid) { width: min(1200px, calc(100% - 32px)); }
.legacy-body .insight-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: stretch; }
.legacy-body .insight-card { display: flex; flex-direction: column; height: 100%; background: #fff; transition: border-color .2s; }
.legacy-body .insight-card:hover { border-color: var(--teal-text); }
.legacy-body .insight-card .readmore { margin-block-start: auto; }
@media (prefers-reduced-motion: reduce) { .legacy-body .insight-card { transition: none; } }

.legacy-body .insight-card:hover{box-shadow:var(--shadow)}
.legacy-body code{font-family:inherit}
