/* Extend the existing KeepNest type, color and spacing tokens. */
.lang-btn { text-decoration: none; }
.seo-intro { padding-top: 64px; padding-bottom: 36px; max-width: 900px; }
.seo-intro h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.15; letter-spacing: -.035em; margin: 14px 0 20px; }
.seo-intro .sec-sub { text-align: left; max-width: 760px; }
.seo-byline { color: var(--Color-text-tertiary); font-size: 12px; margin-top: 18px; }
.seo-layout { padding-top: 12px; padding-bottom: 72px; max-width: 900px; }
.seo-layout .legal-body { max-width: 760px; }
.seo-layout ul { padding-left: 22px; color: var(--Color-text-secondary); font-size: 15.5px; line-height: 1.75; }
.seo-layout li + li { margin-top: 7px; }
.seo-layout a:not(.btn), .seo-cards a { color: var(--Color-text-primary); text-underline-offset: 4px; }
.seo-table-wrap { overflow-x: auto; border: 1px solid var(--Color-border); border-radius: 14px; }
.seo-facts { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.6; }
.seo-facts th, .seo-facts td { text-align: left; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--Color-border); }
.seo-facts th { width: 32%; font-weight: 600; }
.seo-facts tr:last-child th, .seo-facts tr:last-child td { border-bottom: 0; }
.seo-facts td { overflow-wrap: anywhere; color: var(--Color-text-secondary); }
.seo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 72px; }
.seo-cards .note-card { display: flex; flex-direction: column; gap: 16px; }
.seo-cards h2 { font-size: 23px; line-height: 1.3; }
.seo-cards p { color: var(--Color-text-secondary); line-height: 1.7; }
@media (max-width: 640px) { .seo-intro { padding-top: 36px; } .seo-cards { grid-template-columns: 1fr; gap: 16px; } .seo-facts th, .seo-facts td { padding: 10px; } }

.seo-code { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.65 var(--font-mono); padding: 20px; background: var(--Color-bg-subtle); border: 1px solid var(--Color-border); border-radius: 12px; max-width: 100%; }
.seo-figure { margin: 24px 0; }
.seo-figure img { width: 100%; height: auto; border: 1px solid var(--Color-border); border-radius: 12px; }
.seo-figure figcaption, .seo-sources { color: var(--Color-text-secondary); font-size: 12px; line-height: 1.6; margin-top: 8px; }
.footer-cols { grid-template-columns: repeat(3,minmax(0,1fr)); }
.footer-col a { overflow-wrap: anywhere; }
@media (max-width: 640px) { .footer-cols { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.seo-home-reference { padding-block: 48px; }
.seo-home-reference > p { max-width: 900px; line-height: 1.75; color: var(--Color-text-secondary); }
.seo-home-reference h2 { font-size: 30px; letter-spacing: -.025em; }
.seo-home-cases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 28px 0; }
.seo-home-cases h3 { font-size: 19px; }
.seo-home-cases p { color: var(--Color-text-secondary); line-height: 1.7; }
.seo-home-reference a { text-decoration: underline; text-underline-offset: 4px; }
@media(max-width: 700px) { .seo-home-cases { grid-template-columns: 1fr; gap: 12px; } }
