.components-main { width: 100%; max-width: 1100px; }
.components-hero { padding: 40px 0 32px; max-width: 820px; }
.eyebrow, .component-number { color: var(--color-text-accent); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.components-hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.12; letter-spacing: -.04em; margin: 18px 0 24px; }
.components-hero h1 span { color: var(--color-text-accent); }
.components-hero > p:last-child { color: #b5cbd7; font-size: 1.1rem; line-height: 1.8; max-width: 700px; }
.component-index { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0 38px; }
.component-index a { color: #dcebf3; text-decoration: none; border: 1px solid var(--color-divider); padding: 10px 15px; border-radius: 24px; font-size: .88rem; }
.component-index a:hover { background: #12333e; border-color: var(--color-text-accent); }
.section-heading { font-size: 1.5rem; margin-bottom: 24px; }
.component-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.component-card { background: var(--color-panel-bg); border: 1px solid var(--color-divider); border-radius: 16px; padding: 28px; scroll-margin-top: 24px; }
.component-card:target { border-color: var(--color-text-accent); }
.component-card h3 { font-size: 1.4rem; margin: 13px 0 16px; }
.component-card > p:not(.component-number), .components-example > p:not(.eyebrow) { color: #b5cbd7; line-height: 1.75; }
.component-card .component-detail { margin-top: 20px; border-top: 1px solid var(--color-divider); padding-top: 18px; font-size: .92rem; }
.component-detail strong { color: #edf6fa; }
.components-example { background: linear-gradient(120deg, #102c39, #0d141b); border: 1px solid var(--color-divider); border-radius: 16px; padding: 32px; margin: 32px 0 24px; }
.components-example h2 { margin: 12px 0 18px; font-size: 1.6rem; }
.components-example p + p { margin-top: 16px; }
.back-top { color: var(--color-text-accent); text-underline-offset: 5px; }
.component-read-more { display: inline-block; margin-top: 22px; color: var(--color-text-accent); font-weight: 600; text-decoration: none; }
.component-read-more:hover { text-decoration: underline; text-underline-offset: 5px; }
.component-article { max-width: 820px; }
.component-breadcrumb { color: #b5cbd7; font-size: .9rem; line-height: 1.8; }
.component-breadcrumb a { color: var(--color-text-accent); text-underline-offset: 4px; }
.components-footer { color: #a0b9c7; text-align: center; margin-top: 60px; font-size: .85rem; }
a:focus-visible { outline: 2px solid var(--color-text-accent); outline-offset: 5px; }
.nav-links a[aria-current="page"] { color: var(--color-text-accent); }
@media (max-width: 640px) {
    .header { gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
    .nav-links { gap: 14px; flex-wrap: wrap; }
    .nav-links > a { letter-spacing: 0; }
    .components-hero { padding-top: 24px; }
    .component-grid { grid-template-columns: 1fr; }
    .component-card, .components-example { padding: 22px; }
}
