:root { --primary: #171717; --primary-foreground: #fafafa; }
html.dark { --primary: #e5e5e5; --primary-foreground: #171717; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { line-height: 1.5; }
.shell { max-width: 1100px; }
a,button,input { -webkit-tap-highlight-color: transparent; }
a:focus-visible,button:focus-visible { outline: 2px solid var(--ring); outline-offset: 5px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--primary); color: var(--primary-foreground); padding: 8px 16px; }
.skip-link:focus { top: 12px; }
.nav-link { font-size: 12px; color: var(--muted-foreground); text-decoration: none; }
.nav-link:hover,.text-link:hover { color: var(--foreground); }
.hero-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 72px; padding: 64px 0 72px; }
.hero { padding: 0; max-width: none; }
.hero h1 { font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -0.04em; }
.hero-copy { font-size: 16px; margin-top: 24px; max-width: 460px; }
.hero-actions,.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; background: var(--primary); color: var(--primary-foreground); height: 40px; padding: 0 16px; border-radius: calc(var(--radius) * .8); font-size: 14px; font-weight: 500; text-decoration: none; }
.primary-button:hover { opacity: .9; }
.text-link { font-size: 13px; color: var(--muted-foreground); text-underline-offset: 4px; }
.hero-stats { margin-top: 28px; gap: 16px; }
.featured { display: block; background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4); padding: 24px; text-decoration: none; }
.featured:hover { border-color: var(--border-strong); }
.featured-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted-foreground); }
.featured h2 { font-size: 20px; font-weight: 500; margin: 24px 0 4px; }
.featured p { margin: 0; color: var(--muted-foreground); font-size: 13px; }
.feature-flow { padding: 24px 0; }
.feature-flow>div { display: flex; align-items: center; gap: 16px; }
.flow-number { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border-strong); border-radius: calc(var(--radius) * .8); font-family: var(--font-mono); font-size: 12px; background: var(--background); }
.feature-flow strong,.feature-flow small { display: block; }
.feature-flow strong { font-size: 14px; font-weight: 500; }
.feature-flow small { color: var(--muted-foreground); font-size: 12px; margin-top: 2px; }
.flow-line { display: block; height: 18px; width: 1px; background: var(--border-strong); margin: 4px 0 4px 17px; }
.featured-foot { border-top: 1px solid var(--border); padding-top: 16px; font-size: 12px; color: var(--muted-foreground); display: flex; justify-content: space-between; }
.catalog { border-top: 1px solid var(--border); padding-top: 32px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.catalog-heading h2,.guide h2 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin: 4px 0 0; }
.catalog-heading .eyebrow { margin: 0; }
.catalog-caption { font-size: 12px; color: var(--muted-foreground); }
.search-wrap { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 16px; }
.search-box { width: 100%; max-width: 560px; }
.search-box input { min-width: 0; }
.search-meta { margin: 0; flex-shrink: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-button { border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: var(--muted-foreground); }
.filter-button[aria-pressed=true] { background: var(--muted); color: var(--foreground); border-color: var(--ring); }
.filter-button:hover { background: var(--accent); color: var(--accent-foreground); }
.grid { gap: 20px; }
.pod-card { padding: 24px; }
.card-category { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-foreground); margin-bottom: 20px; }
.pod-card h2 { font-size: 18px; font-weight: 500; }
.pod-card-desc { min-height: 44px; line-height: 1.65; }
.guide { border-top: 1px solid var(--border); margin-top: 72px; padding-top: 40px; }
.section-copy { font-size: 14px; color: var(--muted-foreground); max-width: 620px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin: 32px 0; }
.step-number { font-family: var(--font-mono); color: var(--muted-foreground); font-size: 11px; }
.steps h3 { font-size: 16px; font-weight: 500; margin: 12px 0 8px; }
.steps p { font-size: 13px; color: var(--muted-foreground); line-height: 1.7; margin: 0; }
.guide-note { font-size: 12px; color: var(--muted-foreground); max-width: 820px; line-height: 1.7; }
.detail-head h1 { font-size: 36px; }
.diagram { margin-bottom: 24px; }
.diagram-canvas { isolation: isolate; }
.empty .text-link { display: block; margin: 12px auto 0; text-decoration: underline; }
@media (max-width:900px) { .hero-layout { gap: 32px; } .hero h1 { font-size: 36px; } .featured { padding: 20px; } }
@media (max-width:640px) { .hero-layout { grid-template-columns: 1fr; padding: 40px 0; } .hero h1 { font-size: 36px; } .hero-copy { font-size: 14px; } .featured { margin-top: 8px; } .catalog-caption { display: none; } .search-wrap { align-items: stretch; flex-direction: column; gap: 8px; } .steps { grid-template-columns: 1fr; gap: 24px; } .nav-link { font-size: 11px; } .site-header-inner { gap: 12px; padding: 0 16px; } .wordmark-pod { display: none; } .pod-card { padding: 20px; } .pod-card-top { flex-wrap: wrap; gap: 8px; } .guide { margin-top: 48px; } .detail-head h1 { font-size: 30px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.usage-section { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 24px; }
.usage-section h2 { font-size: 20px; font-weight: 500; margin: 8px 0 24px; }
.usage-section h3 { font-size: 14px; font-weight: 600; margin: 24px 0 8px; }
.usage-section dt { font-size: 13px; font-weight: 600; margin-top: 16px; }
.usage-section dd { margin: 6px 0 0; font-size: 14px; line-height: 1.8; color: var(--muted-foreground); }
.usage-section ul { margin: 0; padding-left: 20px; color: var(--muted-foreground); font-size: 13px; line-height: 1.8; }
.usage-section li { margin-top: 8px; }
