:root {
  color-scheme: light;
  --page: #f5f5f7;
  --paper: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #dedee3;
  --blue: #0066cc;
  --blue-dark: #004b99;
  --blue-soft: #eaf3ff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: #cfe6ff; color: #102f56; }
:focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 64px, 1200px); margin-inline: auto; }
[hidden] { display: none !important; }

/* A quiet navigation bar keeps the catalog in view. */
.site-header { position: sticky; top: 0; z-index: 20; height: 60px; border-bottom: 1px solid rgba(29, 29, 31, .08); background: rgba(250, 250, 252, .84); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; color: var(--ink); font-size: 17px; font-weight: 680; letter-spacing: -.035em; white-space: nowrap; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav > a { display: inline-flex; align-items: center; min-height: 36px; color: #505056; font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .18s ease; }
.header-nav > a:hover { color: var(--blue); }
.saved-toggle { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 34px; padding: 0 12px; border: 1px solid #e4e4e9; border-radius: 999px; background: #f8f8fa; color: #505056; font-size: 12px; font-weight: 600; white-space: nowrap; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.saved-toggle:hover { border-color: #c9dff6; background: #f0f7ff; color: var(--blue); }
.saved-toggle.is-active { border-color: #c9dff6; background: var(--blue-soft); color: var(--blue); }
.saved-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #e9e9ed; color: #505056; font-size: 11px; font-weight: 600; }
.saved-toggle.is-active .saved-count { background: #d8eaff; color: var(--blue); }

/* A small, real Skill preview gives the opening section some depth. */
.hero { padding: 32px 0 27px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); align-items: center; gap: clamp(28px, 4vw, 58px); }
.hero-copy { min-width: 0; }
.eyebrow, .aside-kicker { display: block; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.hero-copy h1 { margin: 11px 0 13px; font-size: clamp(54px, 5.4vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -.075em; }
.hero-copy h1 .hero-secondary { color: #86868b; }
.hero-copy > p { max-width: 570px; margin: 0; color: #57575d; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.5; letter-spacing: -.015em; }
.hero-copy > p strong { color: var(--ink); font-weight: 680; }
.hero-copy > .eyebrow { animation: hero-enter .58s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-copy h1 { animation: hero-enter .62s .08s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-copy > p { animation: hero-enter .62s .18s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-jump { display: inline-flex; align-items: center; gap: 9px; min-height: 31px; margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 650; animation: hero-enter .64s .28s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-jump span { display: inline-block; font-size: 17px; transition: transform .22s ease; }
.hero-jump:hover span, .hero-jump:focus-visible span { transform: translate(3px, 3px); }
.catalog-search { display: flex; align-items: center; gap: 0; flex: 1; min-width: 0; height: 48px; padding: 4px 5px 4px 15px; border: 1px solid #e3e3e8; border-radius: 13px; background: #fafafd; transition: border-color .18s ease, box-shadow .18s ease; }
.catalog-search:focus-within { border-color: #79b7f2; box-shadow: 0 0 0 4px rgba(0, 113, 227, .12), 0 5px 20px rgba(29, 29, 31, .04); }
.catalog-search svg { flex: none; width: 19px; height: 19px; color: #73737a; }
.catalog-search input { flex: 1; min-width: 0; height: 100%; padding: 0 11px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.catalog-search input::placeholder { color: #76767d; opacity: 1; }
.catalog-search button { flex: none; min-width: 70px; height: 38px; padding: 0 15px; border: 0; border-radius: 9px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; transition: background .18s ease; }
.catalog-search button:hover { background: var(--blue-dark); }

.hero-showcase { position: relative; isolation: isolate; min-width: 0; min-height: 232px; }
.hero-showcase::before { content: ""; position: absolute; z-index: -1; inset: 6% -3% 2%; border-radius: 50%; background: radial-gradient(ellipse at 52% 49%, rgba(93, 146, 236, .23) 0%, rgba(171, 163, 232, .19) 32%, rgba(251, 211, 192, .12) 51%, rgba(245, 245, 247, 0) 73%); filter: blur(17px); pointer-events: none; }
.showcase-card { position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; width: 87%; min-height: 69px; padding: 10px 14px; border: 1px solid rgba(225, 227, 234, .9); border-radius: 18px; background: linear-gradient(130deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .91)); box-shadow: 0 15px 32px rgba(39, 54, 92, .105), 0 2px 6px rgba(39, 54, 92, .035); color: var(--ink); text-align: left; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease; }
.showcase-card-1 { top: 1px; left: 2%; z-index: 3; animation: showcase-enter .68s .23s cubic-bezier(.2, .8, .2, 1) backwards; }
.showcase-card-2 { top: 78px; left: 11%; z-index: 2; animation: showcase-enter .68s .34s cubic-bezier(.2, .8, .2, 1) backwards; }
.showcase-card-3 { top: 155px; left: 4%; z-index: 1; animation: showcase-enter .68s .45s cubic-bezier(.2, .8, .2, 1) backwards; }
.showcase-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: #eaf2ff; color: #326bbb; font-size: 15px; font-weight: 750; letter-spacing: -.04em; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.showcase-card-2 .showcase-icon { background: #f1ebfb; color: #7653af; }
.showcase-card-3 .showcase-icon { background: #fff0e9; color: #af6245; }
.showcase-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; }
.showcase-copy small { overflow: hidden; max-width: 100%; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.showcase-copy strong { overflow: hidden; max-width: 100%; margin-top: 3px; font-size: 16px; font-weight: 700; line-height: 1.15; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.showcase-copy span { overflow: hidden; max-width: 100%; margin-top: 3px; color: #74747b; font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.showcase-arrow { display: grid; place-items: center; flex: none; width: 25px; height: 25px; border-radius: 50%; background: #f3f5f9; color: #606873; font-size: 15px; line-height: 1; transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .3s ease, color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .showcase-card:hover { z-index: 4; transform: translateY(-7px); border-color: rgba(202, 213, 233, .95); box-shadow: 0 28px 52px rgba(39, 54, 92, .16), 0 5px 11px rgba(39, 54, 92, .05); }
  .showcase-card:hover .showcase-icon { transform: scale(1.07); }
  .showcase-card:hover .showcase-arrow { transform: translateX(4px); background: var(--blue-soft); color: var(--blue); }
}
.showcase-card:focus-visible { z-index: 5; transform: translateY(-5px); }
.showcase-card:focus-visible .showcase-arrow { transform: translateX(4px); background: var(--blue-soft); color: var(--blue); }

@keyframes hero-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes showcase-enter { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Browse controls and cards. */
.page-content { padding-bottom: 78px; }
.catalog-section, .install-section { scroll-margin-top: 84px; }
.catalog-section { margin-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 38px); line-height: 1.12; font-weight: 700; letter-spacing: -.055em; }
.section-heading p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.result-counter { flex: none; color: var(--muted); font-size: 13px; white-space: nowrap; }
.result-counter strong { color: var(--ink); font-size: 15px; font-weight: 650; }
.catalog-toolbox { display: grid; gap: 15px; padding: 18px 20px; border: 1px solid #e9e9ed; border-radius: 19px; background: #fff; box-shadow: 0 4px 18px rgba(29, 29, 31, .025); }
.catalog-search-row { display: flex; align-items: center; min-width: 0; }
.catalog-search-row .catalog-search { width: 100%; }
.catalog-category-row, .task-group-row { display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.task-group-row { padding-top: 13px; border-top: 1px solid #eeeef1; }
.task-group-row[hidden] { display: none; }
.filter-label { flex: none; width: 57px; padding-top: 9px; color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.category-filters { display: flex; flex: 1; flex-wrap: wrap; gap: 7px; min-width: 0; }
.category-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: #e8e8ed; color: #45454a; font-size: 12px; font-weight: 570; white-space: nowrap; transition: background .18s ease, color .18s ease; }
.category-chip:hover { background: #dedee4; }
.category-chip.is-active, .category-chip[aria-pressed="true"] { background: #1d1d1f; color: #fff; }
.category-count { color: inherit; font-size: 11px; font-variant-numeric: tabular-nums; opacity: .62; }
.category-chip.is-active .category-count, .category-chip[aria-pressed="true"] .category-count { opacity: .8; }
.task-group-filters { display: flex; flex: 1; flex-wrap: wrap; gap: 7px; min-width: 0; }
.task-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border: 1px solid #e4e4e9; border-radius: 999px; background: #fff; color: #56565c; font-size: 12px; font-weight: 570; white-space: nowrap; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.task-chip:hover { border-color: #bdd6f2; background: #f5f9ff; }
.task-chip.is-active, .task-chip[aria-pressed="true"] { border-color: #b9d7f7; background: var(--blue-soft); color: var(--blue); }
.task-count { color: inherit; font-size: 11px; font-variant-numeric: tabular-nums; opacity: .62; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; margin: 20px 0 12px; }
.results-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; min-width: 0; }
.results-heading h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 680; letter-spacing: -.04em; }
.results-actions { display: flex; align-items: center; gap: 13px; }
.sort-control { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 38px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sort-control select { min-height: 38px; padding: 0 29px 0 11px; border: 1px solid #dedee3; border-radius: 10px; background: #fff; color: #424248; font-size: 16px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 13px; }
.active-filters:empty { display: none; }
.active-chip { min-height: 30px; padding: 4px 10px; border: 1px solid #c9dff6; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; }
.active-chip:hover { background: #dbeaff; }
.clear-filters { min-height: 30px; padding: 4px 6px; border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 600; }
.clear-filters:hover { text-decoration: underline; text-underline-offset: 3px; }

.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; scroll-margin-top: 78px; }
.skill-card { display: flex; flex-direction: column; min-width: 0; min-height: 245px; padding: 21px; border: 1px solid #e9e9ed; border-radius: 21px; background: var(--paper); box-shadow: 0 4px 18px rgba(29, 29, 31, .025); cursor: pointer; transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .28s ease; }
@media (hover: hover) and (pointer: fine) {
  .skill-card:hover { transform: translateY(-5px); border-color: #dcdce2; box-shadow: 0 19px 39px rgba(29, 29, 31, .085); }
  .skill-card:hover .skill-monogram { transform: scale(1.065); }
}
.skill-card:focus-within { transform: translateY(-5px); border-color: #dcdce2; box-shadow: 0 19px 39px rgba(29, 29, 31, .085); }
.skill-card:focus-within .skill-monogram { transform: scale(1.065); }
.motion-ready .skill-card.reveal-pending,
.motion-ready .skill-card.is-visible { transition: opacity .52s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms), transform .52s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms), box-shadow .28s ease, border-color .28s ease; }
.motion-ready .skill-card.reveal-pending:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.motion-ready .skill-card.is-visible { opacity: 1; transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .motion-ready .skill-card.is-visible:hover { transform: translateY(-5px); transition-delay: 0ms; }
}
.motion-ready .skill-card.is-visible:focus-within { transform: translateY(-5px); transition-delay: 0ms; }
.skill-card[data-tone="0"] { --tone-bg: #eaf1ff; --tone-fg: #3461ae; }
.skill-card[data-tone="1"] { --tone-bg: #f1eafb; --tone-fg: #7952af; }
.skill-card[data-tone="2"] { --tone-bg: #fff0e9; --tone-fg: #b56947; }
.skill-card[data-tone="3"] { --tone-bg: #e7f4ef; --tone-fg: #3b8065; }
.skill-card[data-tone="4"] { --tone-bg: #fff4db; --tone-fg: #996a13; }
.skill-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.skill-category { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35; }
.save-button { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid #e7e7eb; border-radius: 50%; background: #fff; color: #77777c; font-size: 20px; line-height: 1; transition: color .18s ease, background .18s ease; }
.save-button:hover { background: #f5f5f7; color: #4a4a50; }
.save-button.is-saved { border-color: #d8e8fa; background: var(--blue-soft); color: var(--blue); }
.skill-card-heading { display: flex; align-items: center; gap: 13px; min-width: 0; margin-top: 15px; }
.skill-monogram { display: grid; place-items: center; flex: none; width: 49px; height: 49px; border-radius: 14px; background: var(--tone-bg, #eaf1ff); color: var(--tone-fg, #3461ae); font-size: 16px; font-weight: 750; letter-spacing: -.04em; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.skill-heading-copy { min-width: 0; }
.skill-heading-copy h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.2; font-weight: 680; letter-spacing: -.04em; }
.skill-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 13px 0 0; color: #55555b; font-size: 13px; line-height: 1.55; }
.skill-setup { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 9px 0 0; color: #676773; font-size: 11px; line-height: 1.5; }
.setup-label { margin-right: 6px; color: #525c70; font-weight: 700; }
.skill-card-footer { display: flex; align-items: center; justify-content: flex-start; margin-top: auto; padding-top: 14px; }
.open-button { padding: 5px 0; border: 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 600; }
.open-button::after { content: " ›"; font-size: 19px; font-weight: 400; line-height: 0; }
.open-button:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.empty-state { grid-column: 1 / -1; display: grid; justify-items: center; padding: 64px 24px; border: 1px solid #e9e9ed; border-radius: 24px; background: #fff; text-align: center; }
.empty-state h3 { margin: 9px 0 7px; font-size: 20px; font-weight: 650; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }
.reset-button { min-height: 39px; margin-top: 22px; padding: 0 17px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; }
.reset-button:hover { background: var(--blue-dark); }

/* Install paths stay below the catalog. */
.install-section { margin-top: 64px; }
.install-section .section-heading { margin-bottom: 17px; }
.install-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.install-overview-card { display: flex; align-items: flex-start; gap: 15px; min-height: 116px; padding: 20px; border: 1px solid #e9e9ed; border-radius: 20px; background: #fff; }
.motion-ready .install-overview-card.reveal-pending,
.motion-ready .install-overview-card.is-visible { transition: opacity .52s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms), transform .52s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms); }
.motion-ready .install-overview-card.reveal-pending:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.motion-ready .install-overview-card.is-visible { opacity: 1; transform: translateY(0); }
.channel-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; font-size: 17px; font-weight: 700; }
.codex-icon { background: #ebedf1; color: #353940; }
.workbuddy-icon { background: #e7f0ff; color: #225eaf; }
.install-overview-card h3 { margin: 1px 0 6px; font-size: 18px; line-height: 1.25; font-weight: 680; letter-spacing: -.035em; }
.install-overview-card p { max-width: 430px; margin: 0; color: #5f5f65; font-size: 13px; line-height: 1.55; }
.site-footer { border-top: 1px solid #e0e0e5; }
.footer-inner { display: flex; align-items: center; gap: 22px; min-height: 85px; color: var(--muted); font-size: 12px; }
.footer-inner strong { color: var(--ink); font-size: 13px; font-weight: 650; white-space: nowrap; }
.footer-inner a { margin-left: auto; color: var(--blue); font-weight: 600; white-space: nowrap; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* The detail view borrows the App Store's clear product-page hierarchy. */
.detail-dialog { width: min(980px, calc(100vw - 40px)); max-width: none; height: min(900px, calc(100dvh - 40px)); max-height: none; padding: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #dedee3; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 90px rgba(13, 17, 29, .26); }
.detail-dialog::backdrop { background: rgba(16, 20, 30, .44); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.detail-dialog[open] { animation: dialog-enter .3s cubic-bezier(.2, .8, .2, 1) both; }
.detail-dialog[open]::backdrop { animation: backdrop-enter .3s ease both; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
#detailContent, .detail-shell { min-height: 100%; }
.detail-shell { background: #fff; }
.detail-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px 28px; border-bottom: 1px solid rgba(29, 29, 31, .08); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.detail-header-label { overflow: hidden; color: #6e6e73; font-size: 13px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.detail-header-actions { display: flex; align-items: center; gap: 9px; flex: none; }
.detail-header-actions .save-button { width: 44px; height: 44px; border-color: transparent; background: #f5f5f7; }
.detail-header-actions .save-button:hover { background: #ececf0; }
.detail-header-actions .save-button.is-saved { border-color: #d8e8fa; background: var(--blue-soft); }
.detail-header-actions .save-button.is-saved:hover { background: #dcecff; }
.detail-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f5f5f7; color: #525258; font-size: 27px; font-weight: 300; line-height: 1; transition: background .2s ease, color .2s ease; }
.detail-close:hover { background: #e8e8ed; color: var(--ink); }
.detail-hero, .detail-get, .detail-usage, .detail-facts, .detail-body { width: min(calc(100% - 96px), 840px); margin-inline: auto; }
.detail-hero { display: flex; align-items: flex-start; gap: 30px; min-width: 0; padding: 48px 0 39px; }
.detail-app-icon { display: grid; place-items: center; flex: none; width: 148px; height: 148px; border: 1px solid rgba(28, 64, 120, .08); border-radius: 32px; background: linear-gradient(145deg, #edf4ff, #c3dafb); box-shadow: inset 0 1px rgba(255, 255, 255, .8), 0 14px 28px rgba(40, 64, 103, .12), 0 3px 8px rgba(40, 64, 103, .05); color: #285fa8; font-size: 48px; font-weight: 750; letter-spacing: -.065em; line-height: 1; user-select: none; }
.detail-app-icon[data-tone="1"] { background: linear-gradient(145deg, #f6efff, #dec7f3); color: #7651a6; }
.detail-app-icon[data-tone="2"] { background: linear-gradient(145deg, #fff4ee, #f6d3bf); color: #a85e3f; }
.detail-app-icon[data-tone="3"] { background: linear-gradient(145deg, #edf9f2, #c4e8d6); color: #34785e; }
.detail-app-icon[data-tone="4"] { background: linear-gradient(145deg, #fff9e8, #f5dfaa); color: #91680e; }
.detail-hero-copy { min-width: 0; padding-top: 4px; overflow-wrap: anywhere; }
.detail-category { display: block; color: #73737a; font-size: 13px; font-weight: 600; line-height: 1.45; }
.detail-title { margin: 7px 0 9px; font-size: clamp(36px, 4.5vw, 48px); line-height: 1.12; font-weight: 730; letter-spacing: -.055em; }
.detail-tagline { max-width: 620px; margin: 0; color: #525258; font-size: 17px; line-height: 1.5; letter-spacing: -.015em; }
.detail-publisher { margin: 11px 0 0; color: #76767d; font-size: 14px; font-weight: 550; line-height: 1.45; }
.detail-requirement { display: inline-block; max-width: 100%; margin: 14px 0 0; padding: 7px 10px; border-radius: 8px; background: #f5f5f7; color: #66666d; font-size: 12px; line-height: 1.5; }
.detail-get { padding: 31px 0 0; border-top: 1px solid #e8e8ed; }
.detail-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.detail-section-heading h3 { margin: 0; font-size: 25px; line-height: 1.22; font-weight: 700; letter-spacing: -.045em; }
.detail-section-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.detail-download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.download-card { min-width: 0; padding: 20px; border: 1px solid #e8e8ed; border-radius: 19px; background: #f8f8fa; }
.download-card-top { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; }
.download-card-top .channel-icon { width: 46px; height: 46px; border-radius: 12px; font-size: 20px; }
.download-card-name { min-width: 0; }
.download-card-name strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.download-card-name small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.download-button { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 74px; min-height: 44px; padding: 0 17px; border-radius: 999px; background: #0071e3; color: #fff; font-size: 14px; font-weight: 680; line-height: 1; text-align: center; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.download-button:hover { background: #0062c4; box-shadow: 0 4px 12px rgba(0, 113, 227, .2); }
.download-button:active { transform: scale(.97); }
.download-note { margin: 18px 0 0; color: #5f5f66; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.detail-portable { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; min-width: 0; margin-top: 7px; padding-inline: 2px; }
.portable-download { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 0 2px; color: var(--blue); font-size: 13px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.portable-download:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.portable-note { flex: 1 1 250px; margin: 0; color: #7b7b82; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.download-unavailable { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border-radius: 999px; background: #e8e8ed; color: var(--muted); font-size: 12px; white-space: nowrap; }
.detail-usage { margin-top: 35px; padding-top: 34px; border-top: 1px solid #e8e8ed; }
.usage-code { padding: 2px 5px; border: 1px solid #dce6f2; border-radius: 5px; background: #edf4fc; color: #195999; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .95em; }
.usage-flow { margin-top: 18px; }
.usage-stage { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 17px; padding: 18px 0; border-bottom: 1px solid #eeeeF1; }
.usage-stage:last-child { border-bottom: 0; }
.usage-stage-number { padding-top: 2px; color: #0071e3; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.usage-stage-copy { min-width: 0; }
.usage-stage-copy h4 { margin: 0 0 7px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.usage-stage-copy p { margin: 0; color: #55555c; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.usage-entry-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 10px 0 15px; }
.usage-entry-inline p { min-width: 0; padding: 11px 13px; border-radius: 10px; background: #f8f8fa; color: #55555c; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.usage-entry-inline strong { color: #26262b; }
.usage-steps { display: grid; gap: 7px; margin: 0; padding-left: 20px; color: #55555c; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.usage-steps li::marker { color: #7a7a81; font-variant-numeric: tabular-nums; }
.usage-commands { margin-top: 15px; }
.usage-commands-label { display: block; margin-bottom: 7px; color: #73737a; font-size: 12px; font-weight: 700; }
.usage-commands pre { margin: 0; padding: 12px 14px; overflow-x: auto; border: 1px solid #e8e8ed; border-radius: 10px; background: #f7f7f9; color: #33343a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.7; }
.usage-stage-copy .usage-command-note { margin-top: 7px; color: #77777e; font-size: 12px; }
.usage-behind { border-top: 1px solid #eeeeF1; }
.usage-behind summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; color: #626268; font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; }
.usage-behind summary::-webkit-details-marker { display: none; }
.usage-behind summary::after { content: "+"; color: #888891; font-size: 20px; font-weight: 400; }
.usage-behind[open] summary::after { content: "−"; }
.usage-behind-list { display: grid; gap: 7px; margin: 0 0 16px; padding-left: 20px; color: #626268; font-size: 13px; line-height: 1.7; }
.detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 39px; padding: 22px 0; border-top: 1px solid #e8e8ed; border-bottom: 1px solid #e8e8ed; }
.detail-fact { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; min-width: 0; min-height: 65px; padding: 1px 13px; text-align: center; }
.detail-fact:not(:last-child) { border-right: 1px solid #e8e8ed; }
.detail-fact > span { color: #86868b; font-size: 11px; font-weight: 600; line-height: 1.35; }
.detail-fact-value { max-width: 100%; color: #44444a; font-size: clamp(16px, 1.9vw, 20px); font-weight: 700; line-height: 1.28; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.detail-fact a.detail-fact-value { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.detail-fact a.detail-fact-value:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.detail-body { padding-bottom: 60px; }
.detail-section { min-width: 0; padding: 36px 0; border-bottom: 1px solid #e8e8ed; }
.detail-section:last-child { border-bottom: 0; }
.detail-section h3 { margin: 0 0 17px; font-size: 25px; line-height: 1.24; font-weight: 700; letter-spacing: -.04em; }
.detail-section > p { margin: 0; color: #4f4f56; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.detail-list { display: grid; gap: 9px; margin: 0; padding-left: 22px; color: #4f4f56; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.detail-list li::marker { color: #9a9aa1; }
.detail-issues { padding-bottom: 29px; }
.detail-issues-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.detail-issues-heading-copy { min-width: 0; }
.detail-issues-heading h3 { margin-bottom: 0; }
.issue-selection-note { margin: 8px 0 17px; color: #86868b; font-size: 12px; line-height: 1.5; }
.issue-checked { padding-top: 8px; color: #86868b; font-size: 12px; white-space: nowrap; }
.issue-list { display: grid; gap: 11px; }
.issue-card { min-width: 0; padding: 19px 21px; border: 1px solid #e8e8ed; border-radius: 18px; background: #fafafb; }
.issue-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; color: #85858b; font-size: 11px; line-height: 1.5; }
.issue-number { color: #64646b; font-weight: 700; }
.issue-status { padding: 2px 8px; border-radius: 999px; background: #eaf3ff; color: #1c68b7; font-weight: 650; }
.issue-status.is-closed { background: #ececf0; color: #77777e; }
.issue-engagement { color: #64646b; font-variant-numeric: tabular-nums; }
.issue-updated { margin-left: auto; }
.issue-link { color: #25252a; font-size: 16px; font-weight: 680; line-height: 1.5; overflow-wrap: anywhere; }
.issue-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.issue-summary { margin: 8px 0 0; color: #626269; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.detail-section > .issue-empty { margin: 0; padding: 20px 21px; border: 1px solid #e8e8ed; border-radius: 18px; background: #fafafb; color: #696970; font-size: 13px; line-height: 1.65; }
.issue-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 8px; }
.issue-footer-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 13px; font-weight: 650; }
.issue-footer-link:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1050px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(305px, .86fr); gap: 27px; }
  .hero-copy h1 { font-size: clamp(51px, 6vw, 65px); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 1200px); }
  .hero { padding: 27px 0 22px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy h1 { font-size: clamp(50px, 8vw, 61px); }
  .hero-showcase { display: none; }
  .catalog-toolbox { gap: 13px; padding: 16px; }
  .catalog-category-row, .task-group-row { gap: 12px; }
  .install-section { margin-top: 54px; }
  .install-overview { grid-template-columns: 1fr; }
  .install-overview-card { min-height: 0; }
  .detail-dialog { width: calc(100vw - 18px); height: calc(100dvh - 18px); border-radius: 20px; }
  .detail-hero, .detail-get, .detail-usage, .detail-facts, .detail-body { width: calc(100% - 72px); }
  .detail-hero { gap: 23px; padding: 39px 0 34px; }
  .detail-app-icon { width: 124px; height: 124px; border-radius: 28px; font-size: 41px; }
  .detail-title { font-size: 38px; }
  .detail-tagline { font-size: 15px; }
  .detail-download-grid { gap: 11px; }
  .download-card { padding: 16px; }
  .download-card-top { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; }
  .download-card-top .channel-icon { width: 40px; height: 40px; }
  .download-card-name strong { font-size: 15px; }
  .download-card-name small { font-size: 10px; }
  .download-button { min-width: 66px; padding-inline: 12px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 65px; }
  .container { width: min(100% - 32px, 1200px); }
  .site-header { height: 56px; }
  .brand { font-size: 16px; }
  .header-nav { gap: 0; }
  .header-nav > a { display: none; }
  .header-nav > a:first-child { display: inline-flex; font-size: 12px; }
  .hero { padding: 21px 0 19px; }
  .eyebrow { font-size: 12px; }
  .hero-copy h1 { margin: 8px 0 10px; font-size: clamp(30px, 9vw, 42px); line-height: 1.1; letter-spacing: -.07em; }
  .hero-copy > p { font-size: 14px; line-height: 1.48; }
  .hero-jump { min-height: 24px; margin-top: 10px; font-size: 13px; }
  .section-heading { align-items: end; gap: 12px; margin-bottom: 11px; }
  .section-heading h2 { font-size: 30px; }
  .result-counter { font-size: 12px; }
  .result-counter strong { font-size: 13px; }
  .catalog-toolbox { gap: 13px; padding: 11px; border-radius: 16px; }
  .catalog-search { height: 44px; padding: 4px 4px 4px 11px; border-radius: 11px; }
  .catalog-search svg { width: 17px; height: 17px; }
  .catalog-search input { padding-inline: 9px; font-size: 16px; }
  .catalog-search button { min-width: 60px; height: 34px; padding-inline: 10px; font-size: 12px; }
  .catalog-category-row, .task-group-row { display: block; }
  .filter-label { display: block; width: auto; padding: 0; margin: 0 0 8px; font-size: 11px; }
  .task-group-row { padding-top: 11px; }
  .category-filters { gap: 6px; overflow: visible; padding: 0; }
  .category-chip { flex: none; min-height: 34px; padding-inline: 10px; font-size: 11px; }
  .category-count { font-size: 10px; }
  .task-group-filters { gap: 6px; }
  .task-chip { min-height: 32px; padding-inline: 9px; font-size: 11px; }
  .task-count { font-size: 10px; }
  .results-bar { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 17px; }
  .results-heading h3 { font-size: 19px; }
  .results-actions { justify-content: space-between; width: 100%; }
  .sort-control { min-height: 34px; margin: 0; font-size: 11px; }
  .sort-control select { min-height: 34px; padding-left: 9px; font-size: 16px; }
  .saved-toggle { min-height: 34px; padding-inline: 10px; font-size: 11px; }
  .skill-grid { grid-template-columns: 1fr; gap: 11px; scroll-margin-top: 66px; }
  .skill-card { min-height: 220px; padding: 18px; border-radius: 18px; }
  .skill-card-heading { margin-top: 13px; }
  .skill-heading-copy h3 { font-size: 19px; }
  .page-content { padding-bottom: 61px; }
  .install-section { margin-top: 50px; }
  .install-overview { gap: 11px; }
  .install-overview-card { gap: 13px; padding: 17px; border-radius: 18px; }
  .install-overview-card h3 { font-size: 17px; }
  .install-overview-card p { font-size: 12px; }
  .footer-inner { flex-wrap: wrap; gap: 8px 14px; padding-block: 19px; }
  .footer-inner span { flex-basis: 100%; order: 3; }
  .footer-inner a { margin-left: auto; }
  .detail-dialog { width: calc(100vw - 10px); height: calc(100dvh - 10px); border-radius: 15px; }
  .detail-header { min-height: 58px; padding: 7px 15px; }
  .detail-hero, .detail-get, .detail-usage, .detail-facts, .detail-body { width: calc(100% - 44px); }
  .detail-hero { gap: 18px; padding: 32px 0 30px; }
  .detail-app-icon { width: 96px; height: 96px; border-radius: 22px; font-size: 31px; }
  .detail-hero-copy { padding-top: 0; }
  .detail-category { font-size: 11px; }
  .detail-title { margin: 5px 0 7px; font-size: clamp(27px, 7.8vw, 35px); }
  .detail-tagline { font-size: 13px; line-height: 1.5; }
  .detail-publisher { margin-top: 7px; font-size: 12px; }
  .detail-requirement { margin-top: 9px; font-size: 11px; }
  .detail-get { padding-top: 26px; }
  .detail-section-heading { display: block; }
  .detail-section-heading h3 { font-size: 23px; }
  .detail-section-heading p { margin-top: 5px; font-size: 12px; }
  .detail-download-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .download-card { padding: 18px; }
  .download-card-top { grid-template-columns: 43px minmax(0, 1fr) auto; gap: 11px; }
  .download-card-top .channel-icon { width: 43px; height: 43px; }
  .download-card-name strong { font-size: 16px; }
  .download-card-name small { font-size: 11px; }
  .download-note { margin-top: 14px; font-size: 12px; }
  .detail-portable { display: block; margin-top: 6px; }
  .detail-usage { margin-top: 28px; padding-top: 26px; }
  .usage-entry-inline { grid-template-columns: 1fr; gap: 8px; }
  .usage-stage { grid-template-columns: 30px minmax(0, 1fr); gap: 11px; padding: 16px 0; }
  .usage-stage-copy p, .usage-steps { font-size: 13px; }
  .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; padding: 0; }
  .detail-fact { min-height: 78px; padding: 13px 9px; }
  .detail-fact:not(:last-child) { border-right: 0; }
  .detail-fact:nth-child(2n + 1) { border-right: 1px solid #e8e8ed; }
  .detail-fact:nth-child(n + 3) { border-top: 1px solid #e8e8ed; }
  .detail-fact-value { font-size: 17px; }
  .detail-body { padding-bottom: 32px; }
  .detail-section { padding: 29px 0; }
  .detail-section h3 { margin-bottom: 13px; font-size: 21px; }
  .detail-section > p { font-size: 14px; line-height: 1.72; }
  .detail-list { font-size: 13px; }
  .detail-issues-heading { display: block; }
  .issue-selection-note { margin-bottom: 5px; }
  .issue-checked { display: block; margin-bottom: 14px; padding-top: 0; }
  .issue-card { padding: 17px; }
  .issue-updated { flex-basis: 100%; margin-left: 0; }
  .issue-link { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .motion-ready .skill-card.reveal-pending,
  .motion-ready .install-overview-card.reveal-pending { opacity: 1 !important; transform: none !important; }
  .hero-copy > *, .hero-jump span, .showcase-card, .showcase-icon, .showcase-arrow, .skill-card, .skill-monogram, .install-overview-card, .detail-dialog[open] { transform: none !important; }
}
