:root {
  --ink: #15251f;
  --ink-2: #234137;
  --ink-3: #49665c;
  --paper: #f5f2e9;
  --paper-2: #ebe7dc;
  --white: #fffdf7;
  --coral: #f36f45;
  --coral-dark: #d95531;
  --mint: #72c6aa;
  --mint-dark: #16816b;
  --blue: #75a7d5;
  --purple: #a58bd3;
  --line: rgba(21, 37, 31, .13);
  --shadow: 0 24px 70px rgba(21, 37, 31, .10);
  --radius: 22px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; background: var(--paper); }
body { overflow-x: hidden; margin: 0; color: var(--ink); background: var(--paper); font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(243, 111, 69, .55); outline-offset: 3px; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(21, 37, 31, .94); backdrop-filter: blur(18px); color: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 12px; }
.brand img { box-shadow: 0 8px 24px rgba(0,0,0,.16); border-radius: 13px; }
.brand-copy { display: grid; line-height: 1.1; gap: 5px; }
.brand-copy strong { font-size: 19px; letter-spacing: .02em; }
.brand-copy small { font-size: 10px; color: #91aa9f; text-transform: uppercase; letter-spacing: .16em; }
.brand-copy .brand-domain { display: flex; align-items: center; justify-content: space-between; width: 100%; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { position: relative; padding: 10px 13px; color: #cbd8d2; font-size: 14px; border-radius: 10px; transition: color .2s, background .2s; }
.site-nav a:hover, .site-nav a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.site-nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-trigger, .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.search-trigger svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-toggle { display: none; gap: 4px; padding: 10px; }
.nav-toggle > span:not(.sr-only) { width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); padding: 88px 0 98px; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -130px; top: -270px; border-radius: 50%; background: radial-gradient(circle, rgba(114,198,170,.22), transparent 68%); }
.hero::after { content: ""; position: absolute; left: -120px; bottom: -300px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(243,111,69,.12), transparent 70%); }
.hero-pattern { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, transparent, #000 30%, #000); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); align-items: center; gap: 74px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #a8c0b6; font-weight: 700; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow i { width: 22px; height: 2px; background: var(--coral); }
.eyebrow--dark { color: var(--mint-dark); }
.hero h1 { margin: 0 0 26px; font-size: clamp(50px, 5.7vw, 74px); line-height: 1.06; letter-spacing: -.032em; font-weight: 780; }
.hero h1 em { display: inline-block; margin-top: 7px; color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 620px; margin-bottom: 30px; color: #b9cac3; font-size: 18px; line-height: 1.85; }
.hero-search { display: flex; align-items: center; width: min(100%, 630px); padding: 7px 7px 7px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.08); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.hero-search svg { width: 21px; flex: none; fill: none; stroke: #aebfb8; stroke-width: 1.8; }
.hero-search input { min-width: 0; flex: 1; padding: 13px 12px; color: #fff; border: 0; outline: 0; background: transparent; }
.hero-search input::placeholder { color: #8fa39a; }
.hero-search button { flex: none; padding: 13px 22px; color: #fff; border: 0; border-radius: 12px; background: var(--coral); font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.hero-search button:hover { background: var(--coral-dark); transform: translateY(-1px); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 23px; color: #8fa49b; font-size: 12px; }
.hero-trust b { color: var(--mint); margin-right: 3px; }
.hero-panel { position: relative; }
.code-window { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: #0d1915; box-shadow: 0 32px 90px rgba(0,0,0,.35); transform: rotate(1.5deg); }
.window-top { position: relative; display: flex; align-items: center; gap: 7px; height: 47px; padding: 0 17px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.window-top > span { width: 9px; height: 9px; border-radius: 50%; background: #f36f45; }
.window-top > span:nth-child(2) { background: #e8b74c; }
.window-top > span:nth-child(3) { background: #72c6aa; }
.window-top small { position: absolute; left: 50%; color: #6f887d; font-family: ui-monospace, monospace; font-size: 10px; transform: translateX(-50%); }
.window-content { padding: 34px 28px 38px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 2.35; }
.window-content p { margin: 0; white-space: nowrap; }
.window-content i { display: inline-block; width: 34px; color: #42584f; font-style: normal; user-select: none; }
.code-purple { color: #bc9de6; }.code-green { color: #8dd7b9; }.code-orange { color: #f4926f; }.code-blue { color: #7cb7e7; }
.hero-stat-row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); width: calc(100% - 34px); margin: -9px auto 0; border: 1px solid rgba(21,37,31,.10); border-radius: 16px; color: var(--ink); background: var(--white); box-shadow: 0 18px 46px rgba(0,0,0,.22); }
.hero-stat-row > div { display: grid; justify-items: center; padding: 17px 8px; border-right: 1px solid var(--line); }
.hero-stat-row > div:last-child { border: 0; }
.hero-stat-row strong { font-size: 18px; line-height: 1; }.hero-stat-row span { margin-top: 7px; color: #75867e; font-size: 10px; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--mint-dark); box-shadow: 0 0 0 4px rgba(22,129,107,.13); }

.section { padding: 86px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p { max-width: 460px; margin: 0 0 4px; color: var(--ink-3); }
.text-link { flex: none; margin-bottom: 6px; color: var(--mint-dark); font-weight: 700; font-size: 14px; }

.category-section { background: var(--white); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.category-card { position: relative; overflow: hidden; min-height: 230px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .25s, box-shadow .25s, border-color .25s; }
.category-card::after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 130px; height: 130px; border-radius: 50%; background: var(--accent, var(--mint)); opacity: .11; transition: transform .3s; }
.category-card:hover { transform: translateY(-5px); border-color: rgba(21,37,31,.22); box-shadow: var(--shadow); }
.category-card:hover::after { transform: scale(1.25); }
.category-card--code { --accent: var(--coral); }.category-card--game { --accent: #8c7bd1; }.category-card--template { --accent: #d6a13b; }.category-card--soft { --accent: #64a4da; }.category-card--ai { --accent: var(--mint-dark); }
.category-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 30px; border-radius: 14px; color: var(--ink); background: color-mix(in srgb, var(--accent) 20%, #fff); font-family: ui-monospace, monospace; font-weight: 800; font-size: 20px; }
.category-card strong { font-size: 19px; }.category-card p { height: 48px; margin: 8px 0 20px; color: var(--ink-3); font-size: 13px; line-height: 1.75; }
.category-count { color: var(--ink-3); font-size: 11px; font-weight: 700; }.category-card > i { position: absolute; right: 19px; bottom: 17px; font-style: normal; font-size: 19px; }

.latest-section { background: var(--paper); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.resource-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.resource-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 5px 22px rgba(21,37,31,.035); transition: transform .25s, box-shadow .25s, border-color .25s; }
.resource-card:hover { transform: translateY(-6px); border-color: rgba(21,37,31,.21); box-shadow: 0 25px 54px rgba(21,37,31,.11); }
.resource-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.resource-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,25,20,.28), transparent 48%); opacity: .7; }
.resource-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.resource-card:hover .resource-cover img { transform: scale(1.035); }
.cover-category { position: absolute; z-index: 2; left: 15px; bottom: 14px; padding: 6px 10px; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: rgba(21,37,31,.72); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; }
.resource-body { padding: 20px 20px 18px; }
.resource-kicker { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; color: #7b8b84; font-size: 10px; }
.resource-kicker span { color: var(--mint-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.resource-kicker time { margin-left: auto; text-align: right; }
.resource-card h3 { min-height: 54px; margin: 0 0 10px; font-size: 18px; line-height: 1.5; letter-spacing: -.015em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.resource-card h3 a:hover { color: var(--coral-dark); }
.resource-card p { min-height: 48px; margin-bottom: 18px; color: var(--ink-3); font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.resource-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); color: #788980; font-size: 11px; }
.resource-footer a { color: var(--ink); font-weight: 800; }.resource-footer a span { color: var(--coral); }
.empty-state { display: grid; justify-items: center; padding: 78px 25px; border: 1px dashed rgba(21,37,31,.22); border-radius: 26px; text-align: center; background: rgba(255,255,255,.45); }
.empty-state > span { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 20px; border-radius: 20px; color: var(--coral); background: var(--ink); font-family: ui-monospace, monospace; font-size: 23px; }
.empty-state h3 { margin-bottom: 8px; font-size: 22px; }.empty-state p { max-width: 520px; margin: 0; color: var(--ink-3); }

.tag-section { padding-top: 20px; background: var(--paper); }
.tag-panel { display: grid; grid-template-columns: 270px 1fr; align-items: center; gap: 50px; padding: 36px 42px; border-radius: 26px; color: #fff; background: var(--ink); }
.tag-panel .eyebrow { margin-bottom: 5px; color: var(--mint); }.tag-panel h2 { margin: 0; font-size: 28px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }.tag-cloud a { padding: 9px 13px; color: #d6e1dc; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.05); font-size: 12px; transition: background .2s; }.tag-cloud a:hover { background: rgba(255,255,255,.11); }.tag-cloud small { margin-left: 6px; color: #7f9c90; }

.page-hero { position: relative; overflow: hidden; padding: 72px 0; color: #fff; background: var(--ink); }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(120deg, transparent 60%, rgba(114,198,170,.08)), radial-gradient(circle at 78% 0, rgba(243,111,69,.16), transparent 28%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero--compact { padding: 55px 0 68px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 27px; color: #71847b; font-size: 12px; }
.breadcrumbs a:hover { color: var(--coral); }.breadcrumbs--light { color: #90a69c; }
.page-title-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.page-title-row .eyebrow { margin-bottom: 8px; }.page-title-row h1 { margin: 0 0 12px; font-size: clamp(42px, 5vw, 62px); line-height: 1; letter-spacing: -.05em; }.page-title-row p { max-width: 620px; margin: 0; color: #abc0b7; font-size: 16px; }
.collection-total { display: grid; justify-items: end; font-size: 42px; line-height: 1; }.collection-total small { margin-top: 10px; color: #8ba096; font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.listing-section { min-height: 500px; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; color: var(--ink-3); font-size: 12px; }
.listing-toolbar form { display: flex; gap: 7px; }.listing-toolbar input { width: 220px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); outline: 0; }.listing-toolbar button { padding: 9px 14px; color: #fff; border: 0; border-radius: 10px; background: var(--ink); cursor: pointer; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 46px; }
.pagination a, .pagination > span { display: grid; place-items: center; min-width: 39px; height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); font-size: 12px; font-weight: 700; }
.pagination a:hover, .pagination a.is-current { color: #fff; border-color: var(--ink); background: var(--ink); }.pagination > span { border: 0; background: transparent; }

.page-hero--search { padding: 76px 0 80px; text-align: center; }
.search-page-head .eyebrow { margin-bottom: 12px; }.search-page-head h1 { margin-bottom: 25px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.045em; }
.page-search { display: flex; width: min(100%, 680px); margin: 0 auto; padding: 7px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.2); }.page-search input { min-width: 0; flex: 1; padding: 12px 15px; border: 0; outline: 0; }.page-search button { padding: 12px 28px; color: #fff; border: 0; border-radius: 11px; background: var(--coral); font-weight: 700; cursor: pointer; }.search-page-head > p { margin: 18px 0 0; color: #9db2a9; font-size: 12px; }

.article-hero { position: relative; overflow: hidden; padding: 50px 0 72px; color: #fff; background: var(--ink); }
.article-hero::after { content: ""; position: absolute; right: -110px; top: -170px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; box-shadow: inset 0 0 0 70px rgba(114,198,170,.025), inset 0 0 0 140px rgba(243,111,69,.02); }
.article-hero .container { position: relative; z-index: 1; }
.article-heading { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 60px; }
.article-heading-main { min-width: 0; max-width: 900px; }.article-labels { display: flex; gap: 8px; margin-bottom: 17px; }.article-labels span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; color: #a9beb5; background: rgba(255,255,255,.05); font-size: 10px; font-weight: 700; }
.article-heading h1 { overflow-wrap: anywhere; word-break: break-word; margin-bottom: 18px; font-size: clamp(36px, 4.7vw, 61px); line-height: 1.18; letter-spacing: -.045em; }.article-heading p { max-width: 820px; margin-bottom: 19px; color: #b7c9c1; font-size: 17px; line-height: 1.8; }
.article-dates { display: flex; align-items: center; gap: 11px; color: #829b90; font-size: 11px; }.article-dates i { width: 3px; height: 3px; border-radius: 50%; background: var(--coral); }
.article-mark { display: grid; place-items: center; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.13); border-radius: 42px; color: var(--coral); background: rgba(255,255,255,.035); font-family: ui-monospace, monospace; font-size: 37px; font-weight: 800; transform: rotate(4deg); }
.article-section-wrap { padding-top: 54px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 34px; }
.article-main { min-width: 0; padding: 26px 34px 46px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); }
.article-cover { overflow: hidden; margin: 0 -8px 28px; border-radius: 18px; background: var(--paper-2); }.article-cover img { width: 100%; max-height: 570px; object-fit: cover; }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 38px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.fact-strip > div { min-width: 0; padding: 16px 14px; border-right: 1px solid var(--line); }.fact-strip > div:last-child { border: 0; }.fact-strip small { display: block; margin-bottom: 5px; color: #829087; font-size: 9px; letter-spacing: .09em; }.fact-strip strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.prose { color: #263b33; font-size: 16px; line-height: 1.95; }
.prose .article-section { margin: 0 0 36px; }.prose .article-section:last-child { margin-bottom: 0; }.prose h2 { position: relative; margin: 0 0 18px; padding-left: 17px; color: var(--ink); font-size: 25px; line-height: 1.4; letter-spacing: -.025em; }.prose h2::before { content: ""; position: absolute; left: 0; top: .25em; width: 5px; height: 1em; border-radius: 5px; background: var(--coral); }.prose p { margin-bottom: 16px; }.prose ul { margin: 18px 0; padding: 0; list-style: none; display: grid; gap: 10px; }.prose li { position: relative; padding: 11px 14px 11px 35px; border-radius: 11px; background: var(--paper); }.prose li::before { content: "✓"; position: absolute; left: 13px; top: 11px; color: var(--mint-dark); font-weight: 900; }
.editor-note { display: grid; grid-template-columns: 92px 1fr; gap: 20px; margin-top: 38px; padding: 22px; border: 1px solid rgba(214,161,59,.28); border-radius: 17px; background: #fff8e8; }.editor-note > span { align-self: start; padding: 6px 8px; color: #7b5817; border-radius: 8px; background: #f1d997; text-align: center; font-size: 10px; font-weight: 800; }.editor-note p { margin: 0 0 8px; color: #705b30; font-size: 13px; }.editor-note p:last-child { margin: 0; }
.gallery-section { margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--line); }.content-heading span { color: var(--mint-dark); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.content-heading h2 { margin: 6px 0 20px; font-size: 28px; }.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }.gallery-grid button { overflow: hidden; padding: 0; border: 0; border-radius: 13px; background: var(--paper); cursor: zoom-in; }.gallery-grid img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s; }.gallery-grid button:hover img { transform: scale(1.025); }
.download-sidebar { position: sticky; top: 98px; display: grid; gap: 16px; }
.download-card { min-width: 0; overflow: hidden; padding: 28px; border-radius: 24px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }.download-kicker { color: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: .16em; }.download-card h2 { margin: 9px 0 12px; font-size: 27px; line-height: 1.25; }.download-card > p { color: #a8bcb3; font-size: 13px; line-height: 1.8; }.download-button { display: flex; justify-content: space-between; align-items: center; margin: 23px 0; padding: 15px 17px; border-radius: 12px; background: var(--coral); font-weight: 800; transition: background .2s, transform .2s; }.download-button:hover { background: var(--coral-dark); transform: translateY(-2px); }.download-button.is-disabled { background: #53665e; color: #aebbb6; }.download-card ul { margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.1); list-style: none; }.download-card li { display: flex; align-items: center; gap: 9px; margin: 9px 0; color: #8fa69b; font-size: 11px; }.download-card li i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.side-meta { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }.side-meta span, .side-meta small { display: block; color: #7d8c84; font-size: 10px; }.side-meta strong { display: block; margin: 6px 0; font-size: 16px; }
.side-tags { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }.side-tags > span { margin-bottom: 9px; color: #65776f; font-weight: 700; letter-spacing: .08em; }.side-tag-list { display: flex; flex-wrap: wrap; gap: 7px; }.side-tag-list a { max-width: 100%; overflow: hidden; padding: 6px 9px; color: #355b4d; border: 1px solid rgba(22,129,107,.13); border-radius: 8px; background: #edf5f0; font-size: 10px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }.side-tag-list a:hover { color: #fff; border-color: var(--mint-dark); background: var(--mint-dark); }
.related-section { padding-top: 10px; }
.lightbox { width: min(94vw, 1100px); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #101a16; box-shadow: 0 30px 100px rgba(0,0,0,.55); }.lightbox::backdrop { background: rgba(7,15,12,.82); backdrop-filter: blur(8px); }.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }.lightbox button { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.55); font-size: 24px; cursor: pointer; }

.static-title { max-width: 760px; }.static-title .eyebrow { margin-bottom: 7px; }.static-title h1 { margin-bottom: 13px; font-size: clamp(40px, 5vw, 60px); letter-spacing: -.045em; }.static-title p { margin: 0; color: #b0c3ba; font-size: 17px; }
.narrow-content { max-width: 860px; }.static-card { padding: 18px 46px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: 0 20px 50px rgba(21,37,31,.06); }.static-card section { padding: 30px 0; border-bottom: 1px solid var(--line); }.static-card section:last-child { border: 0; }.static-card h2 { margin-bottom: 12px; font-size: 24px; }.static-card p { margin: 0; color: var(--ink-3); line-height: 1.95; }
.not-found { display: grid; min-height: 68vh; place-content: center; justify-items: center; padding: 60px 20px; text-align: center; }.not-found-code { display: flex; align-items: center; gap: 13px; color: var(--ink); font-size: clamp(82px, 12vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -.08em; }.not-found-code span { display: grid; place-items: center; width: .8em; height: .8em; border-radius: .2em; color: var(--coral); background: var(--ink); font-family: ui-monospace, monospace; font-size: .27em; letter-spacing: 0; }.not-found h1 { margin: 30px 0 8px; font-size: 31px; }.not-found p { color: var(--ink-3); }.not-found > div:last-child { display: flex; gap: 10px; margin-top: 18px; }.button-primary, .button-secondary { padding: 12px 19px; border-radius: 11px; font-size: 13px; font-weight: 700; }.button-primary { color: #fff; background: var(--ink); }.button-secondary { border: 1px solid var(--line); background: var(--white); }

.site-footer { padding: 65px 0 20px; color: #a6bbb2; background: #0f1c17; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; padding-bottom: 46px; }.brand--footer { color: #fff; }.footer-brand > p { max-width: 390px; margin: 20px 0 0; color: #718a7e; font-size: 13px; }.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }.footer-links > div { display: grid; align-content: start; gap: 9px; }.footer-links strong { margin-bottom: 7px; color: #e4ece8; font-size: 12px; }.footer-links a { color: #789187; font-size: 12px; }.footer-links a:hover { color: var(--coral); }.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #5f786d; font-size: 10px; }.status-dot { display: flex; align-items: center; gap: 7px; }.status-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(114,198,170,.08); }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 420px; gap: 40px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card { min-height: 210px; }
  .resource-grid, .resource-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .article-main { padding-inline: 25px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }.fact-strip > div:nth-child(2) { border-right: 0; }.fact-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: grid; }
  .site-nav { position: fixed; z-index: 99; inset: 68px 0 auto; display: grid; gap: 3px; max-height: 0; overflow: hidden; margin: 0; padding: 0 20px; background: var(--ink); transition: max-height .3s, padding .3s; }
  .site-nav.is-open { max-height: calc(100vh - 68px); padding-block: 16px 25px; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav a { padding: 13px 16px; }.site-nav a.is-active::after { left: 7px; bottom: 50%; transform: translateY(50%); }
  .hero { padding: 66px 0 75px; }.hero-grid { grid-template-columns: 1fr; }.hero-panel { max-width: 560px; }
  .hero h1 { font-size: clamp(48px, 11vw, 68px); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }.section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .tag-panel { grid-template-columns: 1fr; gap: 24px; }
  .article-heading { grid-template-columns: 1fr; }.article-mark { display: none; }
  .article-layout { grid-template-columns: 1fr; }.download-sidebar { position: static; grid-row: 1; }.side-meta { display: none; }
  .download-card { display: grid; grid-template-columns: 1fr auto; column-gap: 25px; align-items: center; }.download-card h2, .download-card > p, .download-card ul, .download-kicker { grid-column: 1; }.download-button { grid-column: 2; grid-row: 1 / span 4; min-width: 180px; margin: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-copy small { display: none; }.brand-copy strong { font-size: 17px; }.brand img { width: 38px; height: 38px; }
  .hero { padding-top: 51px; }.hero-copy > p { font-size: 16px; }.hero-search { width: 100%; align-items: stretch; overflow: hidden; }.hero-search svg { display: none; }.hero-search input { width: 0; min-width: 0; padding-left: 8px; font-size: 13px; }.hero-search button { display: block; padding-inline: 14px; font-size: 12px; }.hero-trust { gap: 12px; }
  .hero-panel { display: none; }
  .category-grid { grid-template-columns: 1fr; }.category-card { min-height: auto; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 15px; padding: 18px; }.category-icon { width: 44px; height: 44px; margin: 0; }.category-card p { height: auto; margin: 4px 0 0; }.category-count { align-self: end; grid-column: 3; grid-row: 1; }.category-card > i { display: none; }
  .resource-grid, .resource-grid--four { grid-template-columns: 1fr; }.resource-card h3 { min-height: 0; }.resource-card p { min-height: 0; }
  .section { padding: 54px 0; }.section-heading h2 { font-size: 31px; }.tag-panel { padding: 28px 23px; }
  .page-title-row { align-items: start; flex-direction: column; }.collection-total { justify-items: start; }.listing-toolbar { align-items: stretch; flex-direction: column; }.listing-toolbar form input { width: 100%; }.listing-toolbar form { display: grid; grid-template-columns: 1fr auto; }
  .page-search button { padding-inline: 16px; }.search-page-head h1 { font-size: 34px; }
  .article-hero { padding: 36px 0 52px; }.article-heading h1 { font-size: 32px; line-height: 1.22; }.article-heading p { font-size: 15px; }.article-dates { align-items: flex-start; flex-direction: column; gap: 4px; }.article-dates i { display: none; }
  .article-main { padding: 16px 16px 32px; border-radius: 20px; }.article-cover { margin: 0 0 20px; }.prose { font-size: 15px; }.prose h2 { font-size: 22px; }.fact-strip { grid-template-columns: 1fr 1fr; }.fact-strip strong { font-size: 11px; }
  .download-card { display: block; padding: 24px; }.download-button { margin: 20px 0; }.gallery-grid { grid-template-columns: 1fr; }.gallery-grid img { height: auto; max-height: 390px; }.editor-note { grid-template-columns: 1fr; }
  .static-card { padding: 8px 23px; }.footer-links { grid-template-columns: repeat(2, 1fr); }.footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
