/* Content Hub · local design system. Change these tokens to adjust the visual style. */
:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --surface: #fff;
  --surface-soft: #f8f9fb;
  --surface-hover: #f0f4fa;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #73737b;
  --line: #e8e8ed;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: #e8f2ff;
  --header: rgb(251 251 253 / 82%);
  --shadow: 0 8px 32px rgb(25 40 65 / 4%);
  --shadow-hover: 0 14px 36px rgb(25 40 65 / 9%);
  --focus: #0071e3;
  --radius: 22px;
  --ease: cubic-bezier(.2,.75,.25,1);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
html[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #121214;
  --surface: #1d1d20;
  --surface-soft: #242427;
  --surface-hover: #2a2b31;
  --ink: #f5f5f7;
  --muted: #a1a1a8;
  --subtle: #96969f;
  --line: #333338;
  --blue: #4ca4ff;
  --blue-hover: #70b6ff;
  --blue-soft: #1b2c41;
  --header: rgb(20 20 22 / 83%);
  --shadow: 0 8px 32px rgb(0 0 0 / 10%);
  --shadow-hover: 0 14px 38px rgb(0 0 0 / 23%);
  --focus: #70b6ff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
svg { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
button svg, a svg { pointer-events: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #a8d4ff; color: #102e4d; }
[hidden] { display: none !important; }
h1,h2,h3,h4,p { margin: 0; }
.page-width { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 20px; padding: 12px 20px; background: var(--ink); color: var(--surface); border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; height: 76px; z-index: 30; background: var(--header); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); }
.header-inner { display: flex; align-items: center; gap: 35px; width: min(1328px, calc(100% - 80px)); height: 100%; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-5deg); }
.brand-mark i { background: var(--ink); border-radius: 4px; }
.brand-mark i:nth-child(2) { background: #0071e3; }
.brand-mark i:nth-child(3) { opacity: .55; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -.7px; }
.brand-org { font-size: 11px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); letter-spacing: 1px; }
.header-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.header-nav a, .header-nav button { font-size: 14px; color: var(--muted); padding: 10px 0; background: none; transition: color .2s; white-space: nowrap; }
.header-nav a:hover, .header-nav button:hover, .header-nav .active { color: var(--ink); }
.header-nav .active { font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-trigger { display: flex; align-items: center; gap: 10px; background: var(--surface-soft); color: var(--muted); padding: 8px 10px; min-height: 36px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; }
.search-trigger svg { width: 15px; height: 15px; }
kbd { font-family: var(--font); font-size: 11px; color: var(--subtle); white-space: nowrap; }
.search-trigger kbd { border-left: 1px solid var(--line); margin-left: 3px; padding-left: 8px; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; background: transparent; color: var(--muted); transition: color .2s, background .2s; }
.icon-button:hover { color: var(--ink); background: var(--line); }
.icon-button svg { width: 19px; height: 19px; }
.mobile-guide { display: none; }
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; padding-top: 81px; padding-bottom: 84px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: 1.2px; margin-bottom: 24px; }
.eyebrow-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.hero h1 { font-size: clamp(44px,4.65vw,64px); font-weight: 740; letter-spacing: -3.2px; line-height: 1.2; }
.hero h1 > span { display: inline-block; background: linear-gradient(110deg, #0071e3 8%, #38a0f1 95%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme='dark'] .hero h1 > span { background-image: linear-gradient(110deg, #5aa9ff, #a4ceff); }
.hero-description { font-size: 17px; color: var(--muted); line-height: 1.9; margin-top: 24px; letter-spacing: -.3px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 31px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 21px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .1px; transition: background .2s, box-shadow .2s, transform .2s var(--ease); white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 16px; height: 16px; }
.primary { background: #0071e3; color: #fff; box-shadow: 0 5px 15px rgb(0 113 227 / 12%); }
.primary:hover { background: #0077ed; box-shadow: 0 8px 22px rgb(0 113 227 / 22%); }
.secondary { background: var(--surface); color: var(--blue); border: 1px solid var(--line); }
.secondary:hover { background: var(--surface-hover); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--blue); white-space: nowrap; }
.text-link svg { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover svg { transform: translate(2px, -1px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link.subtle { color: var(--muted); font-size: 12px; }
.workflow-visual { position: relative; display: grid; align-items: center; min-height: 350px; isolation: isolate; }
.visual-orbit { position: absolute; pointer-events: none; z-index: -1; border-radius: 50%; }
.orbit-one { width: 320px; height: 320px; right: -24px; top: -17px; background: radial-gradient(circle at 38% 38%, #dceeff 5%, #e8edff 58%, #edf0f6 100%); opacity: .8; }
.orbit-two { width: 190px; height: 190px; left: 20px; bottom: -10px; background: #e7f0fa; filter: blur(35px); opacity: .7; }
.workflow-panel { position: relative; padding: 30px 28px 0; border-radius: 27px; background: rgb(255 255 255 / 77%); border: 1px solid rgb(255 255 255 / 90%); box-shadow: 0 22px 60px rgb(30 66 112 / 8%), 0 2px 6px rgb(30 66 112 / 3%); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transform: rotate(-1.2deg); }
.workflow-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tiny-label { font-size: 11px; font-weight: 650; color: #8c9bad; letter-spacing: 1.8px; }
.mini-logo { color: #95b8e2; }
.mini-logo svg { width: 18px; height: 18px; }
.workflow-panel h2 { font-size: 22px; font-weight: 650; letter-spacing: -.8px; }
.workflow-panel > p { color: var(--muted); margin-top: 7px; font-size: 14px; }
.workflow-steps { display: flex; align-items: center; padding: 28px 0 27px; }
.workflow-steps > a { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 6px; border-radius: 10px; text-align: center; min-width: 0; transition: transform .2s var(--ease); }
.workflow-steps > a:hover { transform: translateY(-4px); }
.step-icon { display: inline-grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: #e8f2ff; color: #2681e3; box-shadow: inset 0 0 0 1px rgb(0 113 227 / 4%); margin-bottom: 5px; }
.step-icon svg { width: 20px; height: 20px; stroke-width: 1.6; }
.workflow-steps > a:nth-of-type(2) .step-icon { color: #8970bd; background: #f0ecf9; }
.workflow-steps > a:nth-of-type(3) .step-icon { color: #449582; background: #e8f4ef; }
.workflow-steps > a:nth-of-type(4) .step-icon { color: #cf9a42; background: #fcf3e5; }
.workflow-steps b { font-size: 12px; font-weight: 600; }
.workflow-steps small { color: var(--muted); font-size: 11px; white-space: normal; line-height: 1.55; max-width: 100%; }
.step-connector { display: block; width: 16px; height: 1px; background: #d5dce6; position: relative; flex-shrink: 0; align-self: flex-start; margin-top: 22px; }
.step-connector::after { content: ''; display: block; width: 4px; height: 4px; position: absolute; right: 0; top: -1.5px; transform: rotate(-45deg); border-right: 1px solid #d5dce6; border-bottom: 1px solid #d5dce6; }
.workflow-bottom { display: flex; gap: 6px; align-items: center; border-top: 1px solid rgb(121 143 169 / 12%); padding: 14px 0; font-size: 11px; color: #8492a4; }
.workflow-bottom > svg, .workflow-bottom > span[data-icon] { margin-left: auto; }
.workflow-bottom svg { width: 13px; height: 13px; }
.workflow-dot { width: 4px; height: 4px; border-radius: 50%; background: #61ae9b; }
.floating-tag { position: absolute; right: -14px; bottom: -7px; display: flex; align-items: center; gap: 9px; background: var(--surface); box-shadow: 0 8px 28px rgb(30 66 112 / 8%); border: 1px solid var(--line); color: var(--muted); padding: 12px 18px; border-radius: 13px; font-size: 11px; transform: rotate(2deg); }
.floating-tag svg { color: #7196bb; width: 16px; height: 16px; }
html[data-theme='dark'] .orbit-one { background: radial-gradient(circle at 35% 35%, #123759, #26273e 66%, #181b24); opacity: .8; }
html[data-theme='dark'] .orbit-two { background: #163148; }
html[data-theme='dark'] .workflow-panel { background: rgb(35 37 43 / 83%); border-color: rgb(255 255 255 / 8%); box-shadow: 0 22px 60px rgb(0 0 0 / 18%); }
html[data-theme='dark'] .step-icon { background: #1c3857; color: #83baff; }
html[data-theme='dark'] .workflow-steps > a:nth-of-type(2) .step-icon { background: #39304e; color: #b8a2df; }
html[data-theme='dark'] .workflow-steps > a:nth-of-type(3) .step-icon { background: #213d36; color: #87c6b6; }
html[data-theme='dark'] .workflow-steps > a:nth-of-type(4) .step-icon { background: #443822; color: #d3b17a; }
html[data-theme='dark'] .step-connector { background: #464b56; }
html[data-theme='dark'] .step-connector::after { border-color: #464b56; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.overline { font-size: 11px; font-weight: 650; letter-spacing: 2px; color: var(--subtle); line-height: 1.5; margin-bottom: 10px; }
.section-heading h2 { font-size: 27px; font-weight: 650; line-height: 1.4; letter-spacing: -1.1px; }
.quick-section { padding-bottom: 67px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quick-card { padding: 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; min-width: 0; transition: transform .25s var(--ease), box-shadow .25s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.quick-card-top { display: flex; justify-content: space-between; align-items: center; }
.card-icon, .resource-icon { display: inline-grid; place-items: center; color: #367fd4; background: #edf4fe; width: 44px; height: 44px; border-radius: 13px; }
.card-icon svg { width: 22px; height: 22px; stroke-width: 1.65; }
.star-button { display: inline-grid; place-items: center; background: transparent; border-radius: 50%; width: 32px; height: 32px; margin-right: -5px; color: #b7bbc3; flex-shrink: 0; transition: color .2s, background .2s; position: relative; z-index: 2; }
.star-button svg { width: 16px; height: 16px; stroke-width: 1.5; }
.star-button:hover { background: var(--canvas); color: var(--blue); }
.star-button.is-saved { color: #cc9a31; }
.star-button.is-saved svg { fill: currentColor; stroke-width: 1.25; }
.quick-card-link { display: block; margin-top: 24px; }
.quick-card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.quick-kicker { display: block; color: var(--subtle); font-size: 11px; letter-spacing: .5px; margin-bottom: 6px; }
.quick-card h3 { font-size: 19px; font-weight: 650; letter-spacing: -.5px; line-height: 1.5; }
.quick-card p { color: var(--muted); font-size: 14px; line-height: 1.8; min-height: 43px; margin-top: 8px; }
.quick-card-action { display: flex; align-items: center; gap: 5px; margin-top: 21px; font-size: 12px; color: var(--blue); }
.quick-card-action svg { width: 13px; height: 13px; }
.quick-accent-1 .card-icon { color: #8368b5; background: #f2eef9; }
.quick-accent-2 .card-icon { color: #468e80; background: #eaf4f0; }
.quick-accent-3 .card-icon { color: #be8b3f; background: #fcf4e8; }
html[data-theme='dark'] .card-icon, html[data-theme='dark'] .resource-icon { color: #88baff; background: #263750; }
html[data-theme='dark'] .quick-accent-1 .card-icon { color: #bda9e1; background: #383044; }
html[data-theme='dark'] .quick-accent-2 .card-icon { color: #88c3b5; background: #263c36; }
html[data-theme='dark'] .quick-accent-3 .card-icon { color: #d9b174; background: #443a2c; }
.directory-section { padding-top: 43px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.directory-heading { margin-bottom: 34px; }
.section-description { color: var(--muted); font-size: 14px; padding-bottom: 3px; }
.directory-layout { display: grid; grid-template-columns: 206px minmax(0, 1fr); gap: 38px; }
.category-rail { position: sticky; top: 108px; align-self: start; }
.rail-label { font-size: 11px; color: var(--subtle); letter-spacing: 1.5px; padding: 0 14px; margin: 8px 0 16px; }
.category-list { display: grid; gap: 4px; }
.category-button { display: flex; align-items: center; gap: 10px; min-height: 46px; text-align: left; padding: 11px 14px; border-radius: 11px; background: transparent; color: var(--muted); transition: background .2s, color .2s; font-size: 14px; width: 100%; }
.category-button > svg, .category-button > span[data-icon] > svg { width: 17px; height: 17px; }
.category-button:hover { color: var(--ink); background: var(--line); }
.category-button[aria-current='true'] { background: var(--surface); color: var(--blue); box-shadow: 0 2px 8px rgb(0 0 0 / 2%); font-weight: 600; }
.category-count { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--subtle); min-width: 18px; text-align: center; }
.category-button[aria-current='true'] .category-count { color: var(--blue); }
.rail-note { margin: 27px 14px 0; padding-top: 23px; border-top: 1px solid var(--line); display: flex; align-items: flex-start; gap: 8px; }
.rail-note svg { width: 13px; height: 13px; color: var(--subtle); margin-top: 3px; }
.rail-note p { font-size: 11px; color: var(--muted); line-height: 1.9; }
.rail-note p > span { color: var(--subtle); font-size: 11px; }
.directory-main { min-width: 0; }
.directory-toolbar { display: flex; align-items: center; gap: 12px; }
.search-field { flex: 1; min-width: 0; position: relative; display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 15px; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb,var(--blue) 10%,transparent); }
.search-field > span { color: var(--subtle); display: inline-flex; }
.search-field svg { width: 17px; height: 17px; }
.search-field input { width: 100%; min-width: 0; color: var(--ink); padding: 11px 0; background: transparent; border: 0; outline: none; font-size: 14px; appearance: none; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: var(--subtle); opacity: 1; }
.search-field input::-webkit-search-cancel-button { appearance: none; }
.clear-search { display: inline-grid; place-items: center; background: transparent; color: var(--muted); border-radius: 50%; width: 24px; height: 24px; padding: 0; flex-shrink: 0; }
.clear-search:hover { background: var(--canvas); }
.clear-search svg { width: 13px; height: 13px; }
.favorite-filter { display: flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 12px; border: 1px solid var(--line); min-height: 46px; background: transparent; white-space: nowrap; font-size: 12px; color: var(--muted); }
.favorite-filter svg { width: 15px; height: 15px; }
.favorite-filter:hover { background: var(--surface); }
.favorite-filter[aria-pressed='true'] { color: var(--blue); background: var(--blue-soft); border-color: transparent; }
.favorite-filter[aria-pressed='true'] svg { fill: currentColor; }
.favorite-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 5px; font-size: 11px; color: var(--subtle); background: var(--line); }
.favorite-filter[aria-pressed='true'] .favorite-count { background: var(--surface); color: var(--blue); }
.results-summary { margin-top: 17px; margin-bottom: 25px; color: var(--subtle); font-size: 11px; line-height: 1.5; min-height: 15px; }
.directory-group { margin-bottom: 38px; scroll-margin-top: 105px; }
.directory-group:last-child { margin-bottom: 0; }
.group-heading { display: flex; justify-content: space-between; align-items: center; column-gap: 10px; margin-bottom: 18px; }
.group-heading > div { flex: 1; min-width: 0; }
.group-heading h3 { font-size: 19px; font-weight: 650; letter-spacing: -.5px; line-height: 1.5; }
.group-heading p { flex-basis: 100%; margin-top: 5px; color: var(--muted); font-size: 14px; }
.group-count { color: var(--subtle); font-size: 11px; font-weight: 400; white-space: nowrap; }
.subgroup-heading { margin: 25px 0 12px; }
.subgroup-heading h4 { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .2px; }
.subgroup-heading p { font-size: 14px; color: var(--subtle); margin-top: 4px; }
.resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.resource-card { position: relative; display: flex; flex-direction: column; background: var(--surface); padding: 19px 21px 16px; border-radius: 17px; border: 1px solid transparent; min-width: 0; transition: transform .23s var(--ease), box-shadow .23s, border-color .23s; }
.resource-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--blue) 12%, transparent); }
.resource-top { display: flex; gap: 10px; align-items: center; margin-bottom: 17px; }
.resource-icon { width: 33px; height: 33px; border-radius: 10px; flex-shrink: 0; }
.resource-icon svg { width: 17px; height: 17px; stroke-width: 1.6; }
.resource-meta { display: flex; align-items: center; gap: 7px; min-width: 0; }
.kind-label { font-size: 11px; color: var(--subtle); }
.status-label, .source-status { font-size: 11px; color: var(--subtle); line-height: 1.5; border-radius: 4px; padding: 2px 5px; background: var(--canvas); }
.source-status { color: #8d7e62; background: #f6f2e9; }
html[data-theme='dark'] .source-status { color: #bea881; background: #393327; }
.resource-top > .star-button { margin-left: auto; }
.resource-card h4 { font-size: 16px; font-weight: 600; line-height: 1.55; letter-spacing: -.2px; overflow-wrap: anywhere; }
.resource-link { display: block; }
.resource-link::after { content: ''; position: absolute; inset: 0; border-radius: 17px; }
.resource-link:hover { color: var(--blue); }
.resource-description { font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 7px; margin-bottom: 21px; overflow-wrap: anywhere; }
.resource-bottom { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--subtle); }
.resource-section { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-open { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--blue); font-size: 12px; }
.resource-open svg { width: 12px; height: 12px; }
.resource-card.is-pending { background: transparent; border: 1px dashed var(--line); }
.resource-card.is-pending:hover { transform: none; box-shadow: none; border-color: var(--line); }
.resource-card.is-pending .resource-icon { color: var(--subtle); background: var(--line); }
.resource-card.is-pending h4 { color: var(--muted); }
.resource-card.is-pending .resource-open { color: var(--subtle); }
.directory-group[data-section='production'] .resource-icon { color: #8970b6; background: #f0edf7; }
.directory-group[data-section='review'] .resource-icon { color: #418e80; background: #eaf4ef; }
.directory-group[data-section='standards'] .resource-icon { color: #b58a47; background: #fbf4e8; }
.directory-group[data-section='references'] .resource-icon { color: #7489a6; background: #edf1f7; }
.directory-group[data-section='assets'] .resource-icon { color: #8d839e; background: #f1edf4; }
html[data-theme='dark'] .directory-group[data-section='production'] .resource-icon { color: #baa3dc; background: #363044; }
html[data-theme='dark'] .directory-group[data-section='review'] .resource-icon { color: #87bdac; background: #283b35; }
html[data-theme='dark'] .directory-group[data-section='standards'] .resource-icon { color: #d6b382; background: #42392b; }
html[data-theme='dark'] .directory-group[data-section='references'] .resource-icon { color: #a5b6d0; background: #2d3440; }
html[data-theme='dark'] .directory-group[data-section='assets'] .resource-icon { color: #c0accf; background: #3c3142; }
.loading-note { padding: 35px 20px; color: var(--muted); font-size: 12px; }
.load-error { background: var(--surface); padding: 35px; border-radius: var(--radius); }
.load-error h3 { font-size: 20px; font-weight: 600; }
.load-error p { color: var(--muted); font-size: 14px; margin: 12px 0 24px; line-height: 1.9; }
.empty-state { text-align: center; padding: 60px 20px 72px; }
.empty-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; margin: 0 auto 20px; color: var(--subtle); }
.empty-icon svg { width: 23px; height: 23px; }
.empty-state h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 14px; margin-bottom: 23px; }
.empty-state .button { min-height: 40px; font-size: 12px; }
.guide-strip { display: flex; align-items: center; gap: 24px; padding: 33px 37px; background: var(--surface); border-radius: 22px; margin-bottom: 55px; }
.guide-strip-icon { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 17px; color: #9684b4; background: #f2eef7; flex-shrink: 0; }
.guide-strip-icon svg { width: 27px; height: 27px; stroke-width: 1.4; }
.guide-strip .overline { font-size: 11px; letter-spacing: 1.8px; margin-bottom: 6px; }
.guide-strip h2 { font-size: 20px; font-weight: 600; letter-spacing: -.5px; }
.guide-strip p:not(.overline) { color: var(--muted); font-size: 14px; margin-top: 6px; }
.guide-strip .button { margin-left: auto; min-height: 42px; font-size: 12px; }
html[data-theme='dark'] .guide-strip-icon { background: #383044; color: #c0aadf; }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 35px; border-top: 1px solid var(--line); gap: 24px; }
.footer-brand { font-weight: 650; font-size: 13px; letter-spacing: -.3px; }
.footer-brand > span { font-size: 11px; font-weight: 400; color: var(--subtle); margin-left: 13px; letter-spacing: 1px; }
.site-footer p { margin-top: 7px; font-size: 11px; color: var(--subtle); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.footer-meta a { color: var(--muted); font-size: 11px; display: inline-flex; align-items: center; gap: 4px; }
.footer-meta a:hover { color: var(--blue); }
.footer-meta svg { width: 11px; height: 11px; }
.footer-meta > span { color: var(--subtle); font-size: 11px; }
.toast { position: fixed; bottom: 32px; left: 50%; transform: translate(-50%, 15px); z-index: 100; color: var(--surface); background: var(--ink); box-shadow: var(--shadow-hover); padding: 12px 22px; border-radius: 99px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.is-visible, .toast.show { opacity: 1; transform: translate(-50%,0); }
.guide-dialog { color: var(--ink); background: var(--surface); width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border: 1px solid var(--line); padding: 42px; border-radius: 25px; box-shadow: 0 28px 100px rgb(0 0 0 / 22%); }
.guide-dialog::backdrop { background: rgb(16 20 30 / 35%); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 16px; right: 16px; }
.guide-dialog > h2 { font-size: 27px; font-weight: 650; letter-spacing: -.8px; line-height: 1.5; }
.guide-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 30px; margin-top: 32px; }
.guide-items > div > span[data-icon] { display: inline-grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 10px; width: 35px; height: 35px; margin-bottom: 11px; }
.guide-items svg { width: 18px; height: 18px; }
.guide-items h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.guide-items p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.guide-footnote { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; font-size: 11px; color: var(--subtle); line-height: 1.8; }
.noscript-note { position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 100; background: var(--ink); color: var(--surface); border-radius: 14px; padding: 20px; text-align: center; }
.noscript-note a { text-decoration: underline; }
@media (min-width: 1500px) { .hero { padding-top: 92px; padding-bottom: 95px; } }
@media (max-width: 1180px) {
  .header-inner { width: calc(100% - 56px); gap: 26px; }
  .header-nav { gap: 22px; }
  .brand-org { display: none; }
  .page-width { width: calc(100% - 72px); }
  .hero { gap: 30px; }
  .hero h1 { font-size: 52px; letter-spacing: -2.5px; }
  .hero-description { font-size: 15px; }
  .workflow-panel { padding: 25px 23px 0; }
  .workflow-panel h2 { font-size: 20px; }
  .workflow-steps small { font-size: 11px; }
  .step-connector { width: 10px; }
  .quick-card { padding: 20px; }
  .quick-card h3 { font-size: 18px; }
  .directory-layout { grid-template-columns: 180px minmax(0,1fr); gap: 25px; }
  .resource-card { padding: 18px; }
}
@media (max-width: 1000px) {
  .header-inner { gap: 24px; }
  .header-nav { margin-left: auto; gap: 22px; }
  .search-trigger > span:not([data-icon]), .search-trigger > kbd { display: none; }
  .search-trigger { width: 36px; justify-content: center; padding: 0; background: transparent; border: 0; }
  .header-actions { gap: 3px; }
  .hero { padding-top: 64px; padding-bottom: 66px; }
  .hero h1 { font-size: 46px; letter-spacing: -2px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { padding-inline: 18px; font-size: 12px; }
  .hero-actions .text-link { font-size: 12px; }
  .workflow-visual { min-height: 320px; }
  .workflow-panel { padding-inline: 20px; }
  .workflow-steps { padding-block: 24px; }
  .workflow-steps small { font-size: 11px; }
  .workflow-steps b { font-size: 11px; }
  .step-icon { width: 36px; height: 36px; border-radius: 11px; }
  .step-connector { width: 8px; margin-top: 18px; }
  .floating-tag { right: -5px; padding: 10px 14px; font-size: 11px; }
  .orbit-one { width: 280px; height: 280px; }
  .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .quick-card { padding: 22px; }
  .quick-card-link { margin-top: 18px; }
  .quick-card p { min-height: auto; }
  .quick-card-action { margin-top: 16px; }
  .directory-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .directory-layout { grid-template-columns: 162px minmax(0,1fr); gap: 22px; }
  .category-button { padding-inline: 10px; gap: 8px; font-size: 14px; }
  .rail-label { padding-inline: 10px; }
  .rail-note { margin-inline: 10px; }
  .rail-note p { font-size: 11px; }
  .rail-note p > span { font-size: 11px; }
  .directory-toolbar { gap: 8px; }
  .favorite-filter { padding-inline: 10px; gap: 5px; }
  .favorite-filter > span:not([data-icon]):not(.favorite-count) { font-size: 12px; }
  .search-field { padding-inline: 12px; gap: 8px; }
  .search-field kbd { display: none; }
  .resource-grid { gap: 10px; }
  .resource-card { padding: 16px; }
  .resource-card h4 { font-size: 16px; }
  .resource-description { font-size: 14px; }
  .resource-meta { gap: 4px; flex-wrap: wrap; }
  .status-label { font-size: 11px; }
  .resource-top { gap: 8px; }
  .resource-bottom { font-size: 11px; gap: 5px; }
  .guide-strip { gap: 20px; padding: 29px; }
  .guide-strip h2 { font-size: 18px; }
  .guide-strip .button { padding-inline: 16px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .site-header { height: 66px; }
  .header-inner { width: calc(100% - 40px); gap: 16px; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 25px; height: 25px; }
  .header-nav { display: none; }
  .mobile-guide { display: inline-grid; }
  .header-actions { margin-left: auto; gap: 5px; }
  .header-actions button { width: 36px; height: 36px; }
  .page-width { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 59px; gap: 39px; }
  .eyebrow { font-size: 11px; margin-bottom: 21px; }
  .hero h1 { font-size: clamp(40px,7.5vw,57px); line-height: 1.22; letter-spacing: -2px; }
  .hero-description { font-size: 14px; margin-top: 21px; line-height: 1.9; }
  .hero-actions { margin-top: 25px; gap: 22px; }
  .hero-actions .button { min-height: 44px; font-size: 12px; }
  .hero-actions .text-link { font-size: 12px; }
  .workflow-visual { min-height: 282px; width: 100%; max-width: 480px; margin: 0 auto; }
  .workflow-panel { padding: 25px 26px 0; transform: rotate(-.8deg); }
  .workflow-panel h2 { font-size: 21px; }
  .workflow-panel > p { font-size: 14px; }
  .workflow-steps { padding: 26px 0; }
  .workflow-steps small { font-size: 11px; }
  .workflow-steps b { font-size: 12px; }
  .step-icon { width: 41px; height: 41px; border-radius: 13px; }
  .step-connector { width: 15px; margin-top: 21px; }
  .floating-tag { bottom: -15px; right: 4px; }
  .orbit-one { width: 250px; height: 250px; right: -5px; top: -11px; }
  .orbit-two { width: 160px; height: 160px; }
  .section-heading { gap: 14px; margin-bottom: 21px; }
  .section-heading h2 { font-size: 24px; letter-spacing: -.9px; }
  .overline { font-size: 11px; letter-spacing: 1.8px; margin-bottom: 8px; }
  .section-heading > .text-link { font-size: 12px; }
  .quick-section { padding-bottom: 43px; }
  .quick-grid { gap: 12px; }
  .quick-card { padding: 20px; border-radius: 18px; }
  .star-button { width: 44px; height: 44px; margin-block: -6px; margin-right: -10px; }
  .card-icon { width: 40px; height: 40px; border-radius: 12px; }
  .card-icon svg { width: 20px; height: 20px; }
  .quick-kicker { font-size: 11px; }
  .quick-card h3 { font-size: 17px; }
  .quick-card p { font-size: 14px; }
  .quick-card-action { font-size: 12px; }
  .directory-section { padding-top: 34px; padding-bottom: 39px; }
  .directory-heading { margin-bottom: 24px; gap: 9px; }
  .section-description { font-size: 14px; }
  .directory-layout { display: block; }
  .category-rail { position: relative; top: auto; margin-bottom: 22px; }
  .rail-label, .rail-note { display: none; }
  .category-list { display: flex; overflow-x: auto; gap: 6px; padding: 3px 0 10px; margin-inline: -1px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .category-button { white-space: nowrap; min-height: 39px; width: auto; padding: 9px 13px; border-radius: 99px; gap: 6px; border: 1px solid transparent; flex-shrink: 0; font-size: 14px; }
  .category-button[aria-current='true'] { border-color: var(--line); }
  .category-button > svg, .category-button > span[data-icon] > svg { width: 14px; height: 14px; }
  .category-count { font-size: 11px; margin-left: 2px; min-width: 12px; }
  .directory-toolbar { gap: 8px; }
  .search-field { min-height: 44px; }
  .favorite-filter { min-height: 44px; }
  .favorite-filter > span:not([data-icon]):not(.favorite-count) { font-size: 12px; }
  .results-summary { margin-top: 15px; margin-bottom: 22px; font-size: 11px; }
  .group-heading h3 { font-size: 18px; }
  .group-heading p { font-size: 14px; }
  .resource-card { padding: 18px; }
  .resource-card h4 { font-size: 16px; }
  .resource-description { font-size: 14px; }
  .resource-top { margin-bottom: 15px; }
  .resource-bottom { font-size: 11px; }
  .resource-meta { gap: 5px; }
  .kind-label { font-size: 11px; }
  .guide-strip { flex-wrap: wrap; padding: 25px; gap: 17px; margin-bottom: 35px; }
  .guide-strip-icon { width: 46px; height: 46px; border-radius: 14px; }
  .guide-strip-icon svg { width: 24px; height: 24px; }
  .guide-strip h2 { font-size: 17px; }
  .guide-strip p:not(.overline) { font-size: 14px; }
  .guide-strip .button { margin-left: 63px; min-height: 38px; padding: 9px 16px; font-size: 12px; }
  .site-footer { padding-block: 25px 29px; align-items: flex-start; }
  .site-footer p { max-width: 195px; font-size: 11px; }
  .footer-brand { font-size: 12px; }
  .footer-brand > span { margin-left: 10px; font-size: 11px; }
  .footer-meta a { font-size: 11px; }
  .footer-meta > span { font-size: 11px; }
  .guide-dialog { padding: 35px 27px 28px; border-radius: 21px; }
  .guide-dialog > h2 { font-size: 24px; }
  .guide-items { gap: 25px 23px; margin-top: 26px; }
}
@media (max-width: 480px) {
  .page-width { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 36px); }
  .brand { gap: 9px; }
  .brand-name { font-size: 16px; }
  .hero { padding-top: 41px; gap: 37px; }
  .hero h1 { font-size: 43px; letter-spacing: -2px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 20px; }
  .hero-actions .text-link { font-size: 12px; }
  .workflow-panel { padding: 23px 20px 0; border-radius: 23px; }
  .tiny-label { font-size: 11px; letter-spacing: 1.4px; }
  .workflow-panel h2 { font-size: 20px; }
  .workflow-panel > p { font-size: 14px; }
  .step-connector { width: 10px; }
  .workflow-steps small { font-size: 11px; }
  .workflow-steps b { font-size: 11px; }
  .step-icon { width: 38px; height: 38px; border-radius: 12px; }
  .step-icon svg { width: 18px; height: 18px; }
  .workflow-bottom { font-size: 11px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading > .text-link { font-size: 12px; gap: 3px; }
  .section-heading > .text-link svg { width: 12px; height: 12px; }
  .quick-grid { grid-template-columns: 1fr; gap: 11px; }
  .quick-card { min-height: 180px; padding: 21px 22px; }
  .quick-card-top { position: static; }
  .quick-card-top .star-button { position: absolute; right: 18px; top: 16px; }
  .quick-card-link { margin-top: 15px; }
  .quick-card h3 { font-size: 19px; }
  .quick-card p { margin-top: 6px; padding-right: 45px; }
  .quick-card-action { margin-top: 14px; }
  .directory-toolbar { flex-wrap: wrap; }
  .search-field { flex: 1 1 190px; }
  .favorite-filter { padding-inline: 11px; }
  .favorite-filter > span:not([data-icon]):not(.favorite-count) { display: none; }
  .favorite-count { font-size: 11px; min-width: 15px; height: 15px; }
  .resource-grid { grid-template-columns: 1fr; gap: 11px; }
  .resource-card { padding: 19px 21px 17px; border-radius: 17px; }
  .resource-top { margin-bottom: 13px; }
  .resource-card h4 { font-size: 16px; }
  .resource-description { font-size: 14px; margin-bottom: 17px; }
  .resource-meta { gap: 7px; }
  .status-label { font-size: 11px; }
  .resource-bottom { font-size: 11px; }
  .group-heading p { line-height: 1.8; }
  .directory-group { margin-bottom: 32px; }
  .guide-strip { gap: 16px; padding: 24px; }
  .guide-strip > div:not(.guide-strip-icon) { width: calc(100% - 62px); }
  .guide-strip h2 { font-size: 16px; line-height: 1.6; }
  .guide-strip p:not(.overline) { font-size: 14px; line-height: 1.8; }
  .guide-strip .overline { font-size: 11px; letter-spacing: 1px; }
  .guide-strip .button { margin-left: 62px; }
  .site-footer { flex-direction: column; gap: 20px; }
  .site-footer p { max-width: none; }
  .footer-meta { align-items: flex-start; }
  .footer-meta a { font-size: 11px; }
  .guide-dialog { padding: 34px 24px 25px; }
  .guide-dialog > h2 { font-size: 22px; }
  .guide-items { grid-template-columns: 1fr; gap: 23px; }
  .guide-items > div { position: relative; padding-left: 48px; }
  .guide-items > div > span[data-icon] { position: absolute; top: 1px; left: 0; width: 32px; height: 32px; border-radius: 9px; }
  .guide-items h3 { font-size: 13px; }
  .guide-items p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
