.migration-guide { padding-block: clamp(2rem, 6vw, 5rem) 4rem; }
.guide-opening, .guide-details { display: grid; align-items: start; gap: clamp(1.6rem, 5vw, 4.5rem); }
.guide-opening { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
.guide-opening h1 { font-size: clamp(2.45rem, 4.5vw, 4.5rem); line-height: 1.03; max-width: 19ch; }

.feed-comparison { min-width: 0; border: 1px solid #b4c7bb; border-radius: .4rem; background: #e8f0ea; color: #20382c; padding: clamp(.85rem, 2.4vw, 1.55rem); }
.feed-comparison h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
.feed-comparison table { width: 100%; table-layout: fixed; margin-top: .85rem; border-collapse: collapse; font-size: .84rem; }
.feed-comparison th, .feed-comparison td { text-align: left; vertical-align: top; padding: .55rem .3rem; border-bottom: 1px solid #b4c7bb; overflow-wrap: anywhere; }
.feed-comparison th:first-child { width: 37%; padding-left: 0; }
.feed-comparison tbody th { font-weight: 600; }
.feed-comparison thead { color: #385446; }
.feed-comparison code, .migration-steps code { font-size: .94em; }
.feed-comparison code { font-weight: 700; }
.changed-id { color: #6e3924; background: #f3e1d1; padding: .05rem .23rem; border-radius: .2rem; }
.feed-comparison small { display: block; color: #385446; font-size: .78rem; }
.sample-downloads { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .8rem; }
.sample-downloads a { font-size: .82rem; font-weight: 675; text-underline-offset: .18em; }
.sample-note { margin-top: .5rem; color: #385446; font-size: .78rem; }

.guide-details { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); margin-top: clamp(2.25rem, 6vw, 4.5rem); padding-top: clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.migration-steps ol { margin: 1.25rem 0 0; padding-left: 1.55rem; }
.migration-steps li { padding-left: .18rem; }
.migration-steps li + li { margin-top: 1.45rem; }
.migration-steps li::marker { color: var(--plum); font-size: .95rem; font-weight: 700; }
.migration-steps h3 { margin: 0 0 .35rem; color: var(--ink); font-size: 1rem; }
.migration-steps p { max-width: 63ch; color: var(--muted); }
.migration-steps code { overflow-wrap: anywhere; }
.guide-tool-heading { display: flex; align-items: center; gap: .7rem; }
.guide-tool-heading .product-icon { width: 2.65rem; }
.guide-tool-heading h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.guide-tool-heading a { text-decoration-thickness: .05em; text-underline-offset: .16em; }
.guide-tool p:not(.purchase-note) { margin-top: .8rem; font-size: .92rem; }
.guide-tool .buy-link { margin-top: 1rem; }
.guide-sources { color: var(--muted); margin-top: clamp(2rem, 5vw, 3.4rem); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.guide-sources h2 { font: 650 .94rem/1.4 Inter, Arial, sans-serif; letter-spacing: 0; }
.guide-sources ul { margin: .5rem 0 0; padding-left: 1.15rem; font-size: .85rem; }
.guide-sources a { text-underline-offset: .18em; }

@media (max-width: 820px) {
  .guide-opening, .guide-details { grid-template-columns: minmax(0, 1fr); }
  .guide-opening h1 { font-size: clamp(2.15rem, 7.7vw, 3.8rem); max-width: 20ch; }
}
