body { margin: 0; }
button, a, input { -webkit-tap-highlight-color: transparent; }
.docs-header { height: 76px; position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 0 32px; background: var(--rf-surface); border-bottom: 1px solid var(--rf-border); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 25px; font-weight: 700; letter-spacing: -1px; color: var(--rf-text); text-decoration: none; }
.brand-ui { color: var(--rf-muted); font-weight: 400; margin-left: 3px; }
.version { font: 11px var(--rf-mono); }
.header-search { position: relative; width: min(400px, 38vw); margin-left: auto; }
.header-search > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--rf-muted); pointer-events: none; }
.header-search input { min-width: 0; padding-inline: 38px 42px; font-size: 12px; }
.header-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
kbd { font: 11px var(--rf-mono); padding: 1px 5px; border: 1px solid var(--rf-border); border-radius: 3px; color: var(--rf-muted); }
.theme-button { inline-size: 2.25rem; flex-shrink: 0; }
.header-github { color: var(--rf-text); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-github span { margin-left: 8px; }
.docs-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.docs-sidebar { position: sticky; top: 76px; height: calc(100dvh - 76px); overflow-y: auto; padding: 25px 18px 20px 24px; border-right: 1px solid var(--rf-border); background: var(--rf-surface); scrollbar-width: thin; }
.nav-label { margin: 24px 10px 7px; font: 600 10px var(--rf-mono); text-transform: uppercase; letter-spacing: 1.2px; color: var(--rf-muted); }
.nav-label:first-child { margin-top: 0; }
.docs-link { justify-content: space-between; }
.docs-link .nav-tag { font: 9px var(--rf-mono); padding: 1px 4px; }
.sidebar-footer { margin: 28px 10px 0; padding-top: 16px; border-top: 1px solid var(--rf-border); font-size: 10px; line-height: 1.9; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--rf-success); margin-right: 4px; }
#main { max-width: 1320px; width: 100%; min-width: 0; padding: 0 48px 32px; margin-inline: auto; outline: none; }
.home-hero { padding: 62px 0 36px; }
.home-hero .rf-eyebrow { font-size: 10px; margin: 0 0 20px; }
.home-hero h1 { font-size: clamp(38px, 4.8vw, 68px); font-weight: 650; letter-spacing: -3px; line-height: 1.07; margin: 0 0 22px; }
.hero-muted { color: var(--rf-muted); }
.home-intro { max-width: 510px; color: var(--rf-muted); font-size: 15px; line-height: 1.8; margin: 0 0 25px; }
.home-actions { --rf-gap: 10px; }
.home-actions .rf-button { min-height: 43px; font-size: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; font: 10px var(--rf-mono); color: var(--rf-muted); }
.hero-facts span::before { content: "✓"; color: var(--rf-primary); margin-right: 6px; }
.showcase { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; margin-top: 4px; }
.showcase-panel { padding: 23px; }
.showcase-panel--main { background: linear-gradient(160deg, var(--rf-surface), var(--rf-subtle)); }
.showcase-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 18px; }
.tiny-label { font: 10px var(--rf-mono); text-transform: uppercase; letter-spacing: 1px; color: var(--rf-muted); }
.showcase-head .rf-badge { font-size: 9px; }
.mini-workspace { padding: 18px; }
.mini-workspace h2 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.mini-workspace p { font-size: 11px; color: var(--rf-muted); margin: 0; }
.mini-project { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rf-border); }
.mini-icon { display: grid; place-items: center; width: 35px; height: 35px; background: var(--rf-subtle); color: var(--rf-primary); border-radius: 8px; }
.mini-project > div:nth-child(2) { flex: 1; }
.mini-project strong { font-size: 11px; font-weight: 600; }
.mini-project p { font-size: 10px; }
.mini-progress { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 10px; color: var(--rf-muted); }
.mini-progress progress { flex: 1; }
.showcase-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.showcase-bottom .rf-avatar { --rf-avatar-size: 28px; font-size: 8px; }
.showcase-bottom .rf-button { min-height: 30px; padding: 5px 10px; font-size: 10px; }
.showcase-right { display: grid; gap: 14px; }
.showcase-right .showcase-panel { padding: 18px 20px; }
.showcase-buttons { margin-top: 15px; }
.showcase-buttons .rf-button { min-height: 32px; font-size: 10px; padding: 6px 10px; }
.showcase-right .rf-check { font-size: 11px; }
.showcase-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.showcase-toggle .rf-muted { font-size: 10px; }
.showcase-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 32px; color: var(--rf-muted); font: 10px var(--rf-mono); }
.metrics { --rf-gap: 0; grid-template-columns: repeat(4, 1fr); padding: 22px 0; border-block: 1px solid var(--rf-border); margin-bottom: 38px; }
.metric { padding-inline: 20px; border-right: 1px solid var(--rf-border); }
.metric:first-child { padding-left: 0; } .metric:last-child { border: 0; }
.metric strong { display: block; font-size: 25px; }
.metric span { color: var(--rf-muted); font-size: 10px; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-top h2 { font-size: 20px; font-weight: 600; margin: 0; letter-spacing: -.6px; }
.section-top p { margin: 5px 0 0; color: var(--rf-muted); font-size: 12px; }
.section-top > a { white-space: nowrap; color: var(--rf-primary); font-size: 11px; text-decoration: none; }
.catalog-grid { --rf-gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-card { display: block; padding: 0; overflow: hidden; text-decoration: none; }
.catalog-item { position: relative; min-width: 0; }
.catalog-item .catalog-card { height: 100%; }
.catalog-save { position: absolute; top: 8px; right: 8px; inline-size: 2.25rem; font-size: 20px; }
.catalog-save[aria-pressed="true"] { color: var(--rf-primary); }
.collection-callout { justify-content: space-between; margin-block: 2rem; }
.collection-callout > div { flex: 1 1 18rem; }
.collection-callout .rf-eyebrow { font-size: 10px; }
.art-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 85%; }
.art-price { display: grid; justify-items: center; gap: .6rem; }
.art-price strong { font-size: 28px; color: var(--rf-primary); }
.art-price small { font-size: 11px; color: var(--rf-muted); }
.catalog-art { display: grid; place-items: center; min-height: 136px; background: var(--rf-subtle); padding: 18px; overflow: hidden; }
.catalog-art > * { pointer-events: none; }
.catalog-copy { padding: 13px 15px; }
.catalog-copy h3 { margin: 0; font-size: 12px; font-weight: 600; }
.catalog-copy p { margin: 4px 0 0; color: var(--rf-muted); font-size: 10px; line-height: 1.6; }
.catalog-title { display: flex; align-items: center; justify-content: space-between; }
.catalog-title > span { color: var(--rf-muted); font: 9px var(--rf-mono); }
.art-button { font-size: 11px; }
.art-lines { width: 75%; min-width: 100px; padding: 18px; }
.art-lines span { display: block; height: 5px; margin: 7px 0; border-radius: 3px; background: var(--rf-border); }
.art-lines span:first-child { width: 55%; height: 8px; background: var(--rf-primary); }
.art-lines span:last-child { width: 70%; }
.art-tabs { display: flex; padding: 4px; gap: 6px; border: 1px solid var(--rf-border); border-radius: 6px; background: var(--rf-surface); font-size: 9px; }
.art-tabs span { padding: 6px 10px; } .art-tabs span:first-child { background: var(--rf-subtle); border-radius: 4px; color: var(--rf-primary); }
.art-bento { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; width: 78%; }
.art-bento span { height: 42px; border: 1px solid var(--rf-border); border-radius: 6px; background: var(--rf-surface); }
.art-bento span:first-child { background: var(--rf-primary); opacity: .75; }
.art-field { width: 80%; font-size: 9px; } .art-field span { display: block; margin-bottom: 6px; color: var(--rf-muted); }
.art-field div { padding: 10px; font-size: 9px; color: var(--rf-muted); }
.art-quote { font-size: 13px; text-align: center; font-weight: 600; letter-spacing: -.3px; color: var(--rf-primary); max-width: 170px; }
.art-compare { display: flex; width: 85%; border: 1px solid var(--rf-border); border-radius: 8px; overflow: hidden; }
.art-compare span { width: 50%; padding: 30px 8px; text-align: center; font-size: 11px; background: var(--rf-surface); }
.art-compare span:last-child { background: var(--rf-primary); color: var(--rf-on-primary); }
.art-atmosphere { width: 90%; padding: 25px 10px; text-align: center; border: 1px solid var(--rf-border); border-radius: 8px; font-size: 15px; font-weight: 600; }
.art-rail { display: flex; gap: 7px; width: 90%; }
.art-rail span { flex: 1; padding: 22px 6px; border: 1px solid var(--rf-border); background: var(--rf-surface); color: var(--rf-primary); border-radius: 7px; text-align: center; font-size: 20px; }
.art-command { display: grid; gap: 8px; padding: 14px; width: 85%; font-size: 11px; }
.art-command small { font-size: 9px; color: var(--rf-muted); }
.reference-summary { margin-bottom: 24px; font-size: 13px; }
.reference-list { margin-top: 18px; }
.reference-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--rf-border); padding: 16px 0; }
.reference-row > div { flex: 1 1 260px; min-width: 0; }
.reference-row a { font-size: 12px; text-decoration: none; overflow-wrap: anywhere; }
.reference-row p { margin: 4px 0 0; color: var(--rf-muted); font-size: 10px; }
.reference-pattern { white-space: normal; }
.docs-footer { margin-top: 40px; font-size: 10px; }
.docs-footer a { color: inherit; }
.page-heading { padding: 46px 0 28px; }
.page-heading h1 { margin: 10px 0; font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -1.8px; }
.page-heading p { max-width: 640px; font-size: 14px; color: var(--rf-muted); margin: 0; }
.page-heading .rf-eyebrow { font-size: 10px; }
.category-filters { --rf-gap: 8px; margin-bottom: 24px; }
.preview-shell { padding: 0; overflow: hidden; margin-bottom: 26px; }
.preview-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 15px; border-bottom: 1px solid var(--rf-border); background: var(--rf-subtle); }
.preview-toolbar h2 { margin: 0; font: 500 10px var(--rf-mono); color: var(--rf-muted); }
.preview-toolbar button { font-size: 10px; min-height: 28px; padding: 3px 9px; }
.preview { padding: clamp(20px, 4vw, 48px); min-height: 220px; display: grid; align-items: center; }
.preview > * { min-width: 0; } .preview .rf-section { padding-block: 1rem; }
.preview .rf-container { width: 100%; }
.preview.narrow { max-width: 380px; margin-inline: auto; }
.preview.narrow .rf-hero, .preview.narrow .rf-bento { grid-template-columns: 1fr; }
.preview.narrow .rf-bento > :first-child { grid-column: auto; }
.detail-bits { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.detail-bits span { font: 10px var(--rf-mono); white-space: normal; }
.code-panel { padding: 0; overflow: hidden; margin-block: 20px; }
.code-toolbar { padding: 10px 14px; display: flex; justify-content: space-between; gap: 10px; background: var(--rf-subtle); border-bottom: 1px solid var(--rf-border); align-items: center; }
.code-toolbar strong { font: 500 10px var(--rf-mono); color: var(--rf-muted); }
.code-toolbar button { min-height: 28px; padding: 3px 9px; font-size: 10px; }
.code-panel pre { padding: 20px; margin: 0; background: var(--rf-surface); overflow-x: auto; font: 12px/1.9 var(--rf-mono); tab-size: 2; }
.code-panel code { font: inherit; color: var(--rf-text); }
.doc-section { margin-block: 32px; overflow-wrap: anywhere; } .doc-section h2 { font-size: 18px; font-weight: 600; }
.doc-section p, .doc-section li { font-size: 13px; color: var(--rf-muted); line-height: 1.85; }
.doc-section ul { padding-left: 20px; } .doc-section li + li { margin-top: 6px; }
.install-note { padding: 12px 16px; color: var(--rf-muted); font-size: 12px; }
.token-table td code { color: var(--rf-primary); }
.coverage-table td { white-space: normal; min-width: 12rem; line-height: 2; }
.art-bars { display: flex; align-items: end; gap: .6rem; height: 6rem; width: 85%; }
.art-bars i { flex: 1; height: 30%; background: var(--rf-primary); border-radius: .25rem .25rem 0 0; }
.art-bars i:nth-child(2) { height: 50%; } .art-bars i:nth-child(3) { height: 40%; } .art-bars i:nth-child(4) { height: 70%; } .art-bars i:nth-child(5) { height: 60%; } .art-bars i:nth-child(6) { height: 100%; }
.docs-mobile-menu { z-index: 60; } .mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-menu-head h2 { font-size: 18px; margin: 0; } .mobile-menu-button { display: none; }
@media (min-width: 1600px) { #main { padding-inline: 70px; } }
@media (max-width: 1100px) { #main { padding-inline: 30px; } .home-hero h1 { letter-spacing: -2px; } .showcase { grid-template-columns: 1.2fr 1fr; } .hero-facts { gap: 12px; } }
@media (max-width: 850px) { .docs-shell { grid-template-columns: 190px minmax(0, 1fr); } .docs-sidebar { padding-inline: 12px; } .docs-header { padding-inline: 20px; gap: 12px; } .version { display: none; } #main { padding-inline: 24px; } .showcase { grid-template-columns: 1fr; } .showcase-right { grid-template-columns: 1fr 1fr; } .metrics { grid-template-columns: 1fr 1fr; gap: 18px 0; } .metric:nth-child(3) { padding-left: 0; } .metric:nth-child(2) { border: 0; } .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-facts { font-size: 9px; } }
@media (max-width: 650px) { .docs-header { height: 64px; padding-inline: 16px; gap: 10px; } .brand { font-size: 21px; } .brand img { width: 28px; height: 28px; } .header-search { width: auto; flex: 1; } .header-search input { padding-inline: .85rem; font-size: 11px; } .header-search kbd, .header-search > span, .header-github { display: none; } .mobile-menu-button { display: grid; } .docs-shell { display: block; } .docs-sidebar { display: none; } #main { padding-inline: 20px; } .home-hero { padding-top: 38px; } .home-hero h1 { font-size: 40px; letter-spacing: -2px; } .home-intro { font-size: 14px; } .showcase-right { grid-template-columns: 1fr; } .metrics { margin-bottom: 28px; } .metric strong { font-size: 22px; } .catalog-art { min-height: 115px; padding: 12px; } .catalog-grid { gap: 10px; } .catalog-copy { padding: 11px; } .catalog-copy p { font-size: 10px; } .catalog-title > span { display: none; } .showcase-caption { font-size: 8px; } .page-heading { padding-top: 30px; } .preview { padding: 22px 16px; } .art-tabs span { padding-inline: 5px; } .art-lines { padding: 12px; min-width: 80px; } }
@media (max-width: 360px) { .home-hero h1 { font-size: 34px; } .catalog-grid { grid-template-columns: 1fr; } }
