:root {
  color-scheme: dark;
  --bg: #080710;
  --bg-soft: #12091f;
  --panel: #11111c;
  --panel-2: #171424;
  --panel-3: #1e1730;
  --text: #fbf8ff;
  --muted: #bdb6ca;
  --muted-2: #8f849d;
  --line: #342842;
  --line-soft: #241b31;
  --pink: #ff4fbc;
  --pink-soft: #3a1431;
  --violet: #9d62ff;
  --violet-soft: #2b1748;
  --gold: #efc96f;
  --gold-soft: #392a12;
  --cyan: #73c8ff;
  --green: #74d79b;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: auto;
  scrollbar-color: #d84eb8 #180d24;
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 13px; height: 13px; }
html::-webkit-scrollbar-track { background: linear-gradient(180deg, #170b23, #24102f); }
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff58bf 0%, #a65dff 55%, #d44aa7 100%);
  border: 3px solid #180d24;
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff75cc 0%, #b777ff 55%, #e85ab8 100%);
}
body {
  margin: 0;
  min-width: 320px;
  background: #0b0913;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0b0913;
}
.ambient-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  object-position: center center;
}
.ambient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 17, .48) 0%, rgba(10, 8, 17, .58) 48%, rgba(9, 7, 15, .66) 100%);
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { color: inherit; }
p, h1, h2, h3 { margin-top: 0; }

::selection { background: rgba(243, 91, 189, .28); color: #fff; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.site-header { border-bottom: 1px solid rgba(238, 140, 213, .55); background: linear-gradient(100deg, rgba(47, 11, 73, .92) 0%, rgba(84, 22, 109, .94) 34%, rgba(110, 31, 116, .93) 62%, rgba(41, 19, 62, .94) 100%); box-shadow: 0 14px 36px rgba(22, 4, 38, .28); }
.header-row { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.site-header .brand { padding: 10px 14px; border: 1px solid rgba(248, 173, 229, .32); border-radius: 16px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.site-header .brand-copy strong { text-shadow: 0 1px 8px rgba(0,0,0,.18); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; width: 20px; height: 20px; }
.brand-mark i:nth-child(1) { background: var(--pink); }
.brand-mark i:nth-child(2) { background: var(--gold); }
.brand-mark i:nth-child(3) { background: var(--violet); }
.brand-mark i:nth-child(4) { background: var(--cyan); }
.brand-copy { display: grid; line-height: 1.1; gap: 4px; }
.brand-copy strong { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.brand-copy small { color: var(--muted-2); font-size: 11px; letter-spacing: .06em; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 13px; border: 1px solid transparent; border-radius: 12px; color: #d2c7dc; font-size: 14px; font-weight: 650; }
.nav-link:hover, .nav-link:focus-visible { color: #fff; border-color: #9a5aa5; background: rgba(255,255,255,.06); }
.nav-link.is-active { color: #fff; border-color: #df69bb; background: linear-gradient(135deg, rgba(255,79,188,.22), rgba(157,98,255,.18)); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-button, .mobile-menu summary { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid #8b5ba0; border-radius: 12px; background: rgba(10,8,18,.44); color: #f5effa; cursor: pointer; }
.search-button:hover, .search-button:focus-visible, .mobile-menu summary:hover { border-color: #ff78cd; color: #fff; background: #26122f; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; width: 42px; padding: 0; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel { position: absolute; right: 0; top: 48px; z-index: 20; width: min(270px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #0e1018; }
.mobile-menu-panel .nav-link { width: 100%; justify-content: flex-start; }

main { min-height: 60vh; background: transparent; }
.section { padding-block: 76px; }
.section + .section { border-top: 1px solid #2c1c39; }
.eyebrow, .hero-kicker, .topic-kicker { display: inline-block; color: #ff7bd0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.section-head > div { display: block; width: min(100%, 760px); max-width: 760px; }
.section-head .eyebrow { display: block; margin-bottom: 8px; }
.section-head h2 { display: block; width: 100%; margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.section-head p { max-width: 700px; margin: 12px 0 0; color: var(--muted); }
.section-head > .text-link { flex: 0 0 auto; }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 7px; color: #ddd8e8; font-weight: 700; font-size: 14px; }
.text-link:hover, .text-link:focus-visible, .card-link:hover, .card-link:focus-visible { color: var(--pink); }
.text-link .icon, .card-link .icon { width: 16px; height: 16px; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 19px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-weight: 800; font-size: 14px; letter-spacing: .005em; }
.button.primary { border-color: #ff72cd; background: linear-gradient(135deg, #c92f91 0%, #8d46e9 100%); color: #fff; box-shadow: 0 10px 24px rgba(182, 47, 150, .22); }
.button.primary:hover, .button.primary:focus-visible { border-color: #ffc0e7; background: linear-gradient(135deg, #df3ea4 0%, #a85dff 100%); }
.button.secondary { border-color: #8e66b8; background: linear-gradient(135deg, #181322, #241735); color: #f8f3ff; }
.button.secondary:hover, .button.secondary:focus-visible { border-color: #d39fff; background: #2a1940; }
.button.small { min-height: 42px; padding-inline: 16px; }

.home-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: 22px; align-items: stretch; padding-top: 46px; padding-bottom: 48px; }
.home-hero-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 46px; border: 1px solid transparent; border-radius: var(--radius-xl); background: linear-gradient(145deg, #17111f, #12101a 72%) padding-box, linear-gradient(130deg, #ff58be, #985eff 52%, #efc96f) border-box; overflow: hidden; }
.home-hero h1 { max-width: 720px; margin: 12px 0 18px; font-size: clamp(46px, 6vw, 78px); line-height: .98; letter-spacing: -.058em; }
.home-hero-copy > p { max-width: 690px; margin: 0; color: #b3b1bf; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.scenic-copy::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/media/scenic-dawn.jpg") center center / cover no-repeat; opacity: .96; }
.scenic-copy::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10, 7, 16, .92) 0%, rgba(18, 9, 28, .84) 36%, rgba(43, 15, 55, .68) 100%); }
.scenic-copy h1, .scenic-copy p { text-shadow: 0 2px 10px rgba(5, 2, 10, .32); }
.hero-feature { min-width: 0; display: grid; grid-template-rows: 1fr auto; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-xl); background: linear-gradient(145deg, #17131f, #11131d) padding-box, linear-gradient(135deg, #8e5aff, #ff5cb9 55%, #f0c46f) border-box; box-shadow: 0 18px 46px rgba(20, 4, 32, .28); }
.hero-feature > img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; aspect-ratio: 16 / 9; }
.hero-feature-copy { padding: 25px 27px 28px; border-top: 1px solid #6c3f73; background: linear-gradient(135deg, #1a1122, #15121f 55%, #171625); }
.hero-feature-copy h2 { margin: 10px 0 10px; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.12; letter-spacing: -.03em; }
.hero-feature-copy p { margin: 0 0 16px; color: var(--muted); }
.hero-feature-copy a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 800; }

.page-hero { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr); overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-xl); background: linear-gradient(135deg, #1b1028, #11131c 58%, #170f20) padding-box, linear-gradient(125deg, #ff5abb, #925cff 58%, #eac66f) border-box; box-shadow: 0 18px 44px rgba(16, 4, 27, .22); }
.page-hero-copy { display: flex; flex-direction: column; justify-content: center; min-height: 390px; padding: 56px; background: linear-gradient(120deg, rgba(126,44,155,.10), transparent 58%); }
.page-hero h1 { margin: 10px 0 18px; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.052em; }
.page-hero p { max-width: 680px; margin: 0; color: #b7b4c1; font-size: 18px; }
.page-hero-art { min-height: 360px; border-left: 1px solid #3d3348; }
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.accent-pink { background: linear-gradient(135deg, #21102b, #11131c 58%, #1c0e1d) padding-box, linear-gradient(125deg, #ff4fb8, #bd5dff 58%, #efc96f) border-box; }
.page-hero.accent-pink .eyebrow { color: #ff7bc9; }
.page-hero.accent-violet { background: linear-gradient(135deg, #1a112b, #11131c 58%, #160f21) padding-box, linear-gradient(125deg, #9c67ff, #ff66bd 62%, #6fd7ff) border-box; }
.page-hero.accent-violet .eyebrow { color: #ac8bff; }
.page-hero.accent-gold { background: linear-gradient(135deg, #1c1520, #11131c 58%, #17121a) padding-box, linear-gradient(125deg, #efc96f, #b45fff 56%, #ff5cb9) border-box; }
.page-hero.accent-gold .eyebrow { color: var(--gold); }

.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-card { position: relative; min-height: 168px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(19,19,31,.97), rgba(16,17,26,.97)) padding-box, linear-gradient(135deg, #5a2f65, #3b3159) border-box; }
.topic-card:nth-child(3n + 1) { background: linear-gradient(145deg, #15121f, #10111a) padding-box, linear-gradient(135deg, #a43d84, #663e92) border-box; }
.topic-card:nth-child(3n + 2) { background: linear-gradient(145deg, #13121f, #10111a) padding-box, linear-gradient(135deg, #704fc3, #423b75) border-box; }
.topic-card:nth-child(3n) { background: linear-gradient(145deg, #15131c, #10111a) padding-box, linear-gradient(135deg, #8d7341, #5e457c) border-box; }
.topic-card:hover, .topic-card:focus-visible { background: linear-gradient(145deg, #21152b, #151522) padding-box, linear-gradient(135deg, #ff69c5, #a477ff) border-box; }
.topic-card strong { margin-top: 10px; font-size: 21px; line-height: 1.2; }
.topic-card small { max-width: 240px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.topic-arrow { margin-top: auto; padding-top: 16px; color: var(--muted-2); }
.topic-grid-large .topic-card { min-height: 190px; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(145deg, #13131d, #10111a) padding-box, linear-gradient(135deg, #563052, #34304b) border-box; }
.news-card:nth-child(3n + 1) { background: linear-gradient(145deg, #15121d, #10111a) padding-box, linear-gradient(135deg, #8e3a76, #563466) border-box; }
.news-card:nth-child(3n + 2) { background: linear-gradient(145deg, #13131e, #10111a) padding-box, linear-gradient(135deg, #6844a0, #3a395c) border-box; }
.news-card:nth-child(3n) { background: linear-gradient(145deg, #15131b, #10111a) padding-box, linear-gradient(135deg, #80683a, #583c70) border-box; }
.news-image { display: block; overflow: hidden; border-bottom: 1px solid #3f2948; background: linear-gradient(135deg, #231231, #10131e); }
.news-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: linear-gradient(135deg, #291333, #111827); }
.news-body { min-height: 270px; display: flex; flex-direction: column; padding: 22px; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 27px; color: var(--muted-2); font-size: 12px; }
.chip { display: inline-flex; min-height: 27px; align-items: center; padding: 0 10px; border: 1px solid #8b3b78; border-radius: 999px; background: linear-gradient(135deg, #2a1327, #21122d); color: #ff9bd7; font-size: 11px; font-weight: 850; letter-spacing: .04em; }
.chip-gold { border-color: #5b4d2d; background: #1e1a10; color: #e3c97d; }
.news-card h3 { margin: 14px 0 10px; font-size: 20px; line-height: 1.24; letter-spacing: -.025em; }
.news-card h3 a:hover, .news-card h3 a:focus-visible { color: #f5a9d8; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; }
.news-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; color: var(--muted-2); font-size: 12px; }
.news-foot > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-foot a { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: #d8d4df; font-weight: 700; }
.news-foot a:hover { color: var(--pink); }
.news-foot .icon { width: 14px; height: 14px; }
.news-grid-compact .news-body { min-height: 250px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(145deg, #13131d, #10111a) padding-box, linear-gradient(135deg, #5d3d78, #4f4930) border-box; }
.product-card:nth-child(3n + 1) { background: linear-gradient(145deg, #15121e, #10111a) padding-box, linear-gradient(135deg, #883e78, #55406d) border-box; }
.product-card:nth-child(3n + 2) { background: linear-gradient(145deg, #15131c, #10111a) padding-box, linear-gradient(135deg, #8a7442, #68407f) border-box; }
.product-card:nth-child(3n) { background: linear-gradient(145deg, #12141e, #10111a) padding-box, linear-gradient(135deg, #3b6b86, #624491) border-box; }
.product-art { border-bottom: 1px solid var(--line); background: #0c0d13; }
.product-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.product-body { min-height: 290px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; }
.product-body h3 { margin: 8px 0 10px; font-size: 22px; line-height: 1.2; }
.product-body p { margin: 0; color: var(--muted); font-size: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.tag-row span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: #aeadb8; font-size: 11px; }
.product-body .card-link { margin-top: auto; }

.split-feature { display: grid; grid-template-columns: 1fr .9fr; align-items: stretch; gap: 0; margin-bottom: 76px; padding-block: 0; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-xl); background: linear-gradient(145deg, #15131d, #10111a) padding-box, linear-gradient(135deg, #efc96f, #9b5fff 55%, #ff5eba) border-box; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px; }
.feature-copy .eyebrow { color: var(--gold); }
.feature-copy h2 { margin: 8px 0 14px; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.04em; }
.feature-copy p { max-width: 620px; margin: 0 0 24px; color: var(--muted); }
.feature-art { min-height: 340px; border-left: 1px solid #4f4130; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }

.filter-bar { display: grid; grid-template-columns: auto repeat(3, minmax(150px, 1fr)) auto auto; align-items: end; gap: 10px; margin-bottom: 24px; padding: 16px; border: 1px solid #5e386c; border-radius: var(--radius-lg); background: linear-gradient(135deg, #17111f, #10121a); }
.compact-filter { grid-template-columns: auto repeat(2, minmax(170px, 1fr)) auto auto; }
.filter-label { display: grid; align-content: center; min-width: 90px; min-height: 42px; }
.filter-label span { font-weight: 800; }
.filter-label small { color: var(--muted-2); }
.filter-bar label { display: grid; gap: 6px; color: var(--muted-2); font-size: 11px; font-weight: 700; }
.filter-bar select { width: 100%; min-height: 42px; padding: 0 34px 0 11px; border: 1px solid #353745; border-radius: 10px; outline: none; background: #0c0e15; color: #e7e4ec; }
.filter-bar select:focus { border-color: var(--violet); }
.clear-link { min-height: 42px; display: inline-flex; align-items: center; padding-inline: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.clear-link:hover { color: var(--pink); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.pagination a, .pagination span, .pagination strong { min-height: 40px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid #5f3d70; border-radius: 10px; background: linear-gradient(135deg, #15111d, #10121a); font-size: 13px; }
.pagination span { opacity: .45; }
.pagination a:hover { border-color: #60425c; color: var(--pink); }

.license-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.license-card { min-width: 0; display: flex; flex-direction: column; align-items: stretch; min-height: 350px; padding: 24px; border: 1px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(145deg, #15131d, #10111a) padding-box, linear-gradient(135deg, #9a7841, #714598) border-box; }
.license-card:nth-child(2n) { background: linear-gradient(145deg, #15121f, #10111a) padding-box, linear-gradient(135deg, #754a9a, #9a7441) border-box; }
.license-top { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted-2); font-size: 12px; }
.license-card h3 { margin: 16px 0 18px; font-size: 23px; line-height: 1.18; }
.license-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.license-facts span { min-width: 0; display: grid; gap: 2px; padding: 11px; border: 1px solid var(--line-soft); border-radius: 10px; background: #0d0f16; font-size: 13px; }
.license-facts small { color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.license-card ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); font-size: 14px; }
.license-card li + li { margin-top: 6px; }
.license-card .card-link { margin-top: auto; }

.source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.source-card { min-width: 0; min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; padding: 21px; border: 1px solid transparent; border-radius: 16px; background: linear-gradient(145deg, #14121d, #10111a) padding-box, linear-gradient(135deg, #6c3b74, #3d4268) border-box; }
.source-card h3 { margin: 14px 0 5px; font-size: 17px; line-height: 1.2; }
.source-card p { margin: 0; color: var(--muted-2); font-size: 13px; }
.source-card .card-link { margin-top: auto; padding-top: 18px; font-size: 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #777786; }
.status-dot.online { background: var(--green); }
.status-dot.degraded { background: var(--gold); }

.three-up, .about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { min-width: 0; min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(145deg, #15121f, #10111a) padding-box, linear-gradient(135deg, #7d3c73, #554284) border-box; }
.info-card:nth-child(1) { background: linear-gradient(145deg, #15121f, #10111a) padding-box, linear-gradient(135deg, #a13f83, #62427d) border-box; }
.info-card:nth-child(2) { background: linear-gradient(145deg, #14121f, #10111a) padding-box, linear-gradient(135deg, #7551b8, #4d477a) border-box; }
.info-card:nth-child(3) { background: linear-gradient(145deg, #15131c, #10111a) padding-box, linear-gradient(135deg, #9a7a44, #684b82) border-box; }
.info-card h2, .info-card h3 { margin: 10px 0 12px; font-size: 25px; line-height: 1.15; }
.info-card p { margin: 0; color: var(--muted); }
.info-card .card-link { margin-top: auto; padding-top: 20px; }

.article-page { padding-top: 28px; }
.article-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-xl); background: linear-gradient(145deg, #17121f, #10111a) padding-box, linear-gradient(135deg, #ff5ebf, #8f61ff 60%, #efc96f) border-box; }
.article-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.article-copy h1 { margin: 16px 0 18px; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.052em; }
.article-deck { margin: 0; color: #b5b2be; font-size: 18px; }
.article-source { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-art { min-height: 430px; border-left: 1px solid #493349; }
.article-art img { width: 100%; height: 100%; object-fit: cover; }
.article-note { display: flex; align-items: flex-start; gap: 12px; max-width: 780px; margin: 18px auto 0; padding: 15px 18px; border: 1px solid #51472e; border-radius: 12px; background: #15130e; color: #bbb29b; font-size: 13px; }
.article-note .icon { color: var(--gold); margin-top: 1px; }
.article-note p { margin: 0; }

.search-hero { padding-top: 28px; padding-bottom: 34px; }
.search-hero h1 { margin: 10px 0 26px; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; }
.search-form { max-width: 820px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid #8a4c92; border-radius: 16px; background: linear-gradient(135deg, #17121f, #10111a); }
.search-form .icon { color: var(--muted-2); }
.search-form input { min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: #fff; }
.search-form input::placeholder { color: #777684; }
.search-results { padding-top: 30px; }
.search-group + .search-group { margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--line-soft); }
.search-welcome { max-width: 700px; padding: 32px; border: 1px solid transparent; border-radius: var(--radius-lg); background: linear-gradient(145deg, #15121f, #10111a) padding-box, linear-gradient(135deg, #8c467d, #5e4b91) border-box; }
.search-welcome h2 { margin-bottom: 8px; }
.search-welcome p { margin: 0; color: var(--muted); }
.empty-state { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; border: 1px dashed #3b3d48; border-radius: var(--radius-lg); color: var(--muted); text-align: center; }
.empty-state .icon { width: 28px; height: 28px; color: var(--gold); }
.empty-state strong { color: #eeeaf2; font-size: 19px; }
.empty-state p { max-width: 520px; margin: 0; }
.not-found { min-height: 62vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { max-width: 760px; margin: 10px 0 14px; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.05em; }
.not-found p { margin: 0 0 24px; color: var(--muted); }

.site-footer { margin-top: 64px; border-top: 1px solid #60336a; background: linear-gradient(120deg, #0b0912, #160b20 48%, #0a0b13); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-block: 48px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div:first-child p { max-width: 520px; margin: 12px 0 0; color: var(--muted-2); font-size: 13px; }
.footer-grid > div > strong { margin-bottom: 4px; font-size: 13px; }
.footer-grid > div > a:not(.brand) { color: var(--muted); font-size: 13px; }
.footer-grid > div > a:hover { color: var(--pink); }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line-soft); color: #6f6f7a; font-size: 11px; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-menu { display: block; }
  .home-hero { grid-template-columns: 1fr; gap: 24px; }
  .home-hero-copy { padding: 38px; }
  .hero-feature { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .hero-feature-copy { border-top: 0; border-left: 1px solid #433045; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid, .product-grid, .license-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero { grid-template-columns: 1fr .65fr; }
  .page-hero-copy { padding: 42px; }
  .filter-bar, .compact-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-label { grid-column: 1 / -1; }
  .article-head { grid-template-columns: 1fr; }
  .article-art { min-height: 320px; border-left: 0; border-top: 1px solid #493349; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-row { min-height: 68px; gap: 12px; }
  .brand-copy small { display: none; }
  .search-button span { display: none; }
  .search-button { width: 42px; padding: 0; }
  .section { padding-block: 56px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
  .section-head > div { width: 100%; }
  .home-hero { padding-top: 28px; }
  .home-hero-copy { padding: 30px 28px; }
  .home-hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .home-hero-copy > p, .page-hero p, .article-deck { font-size: 16px; }
  .hero-feature { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .hero-feature-copy { border-left: 0; border-top: 1px solid #433045; }
  .hero-feature > img { min-height: 0; }
  .page-hero { margin-top: 20px; grid-template-columns: 1fr; }
  .page-hero-copy { min-height: 0; padding: 34px 28px; }
  .page-hero h1 { font-size: clamp(38px, 12vw, 56px); }
  .page-hero-art { min-height: 250px; border-left: 0; border-top: 1px solid #3d3348; }
  .topic-grid, .news-grid, .product-grid, .license-grid, .source-grid, .three-up, .about-grid { grid-template-columns: 1fr; }
  .news-body, .news-grid-compact .news-body { min-height: 0; }
  .product-body { min-height: 0; }
  .license-card { min-height: 0; }
  .filter-bar, .compact-filter { grid-template-columns: 1fr; padding: 14px; }
  .filter-label { grid-column: auto; }
  .split-feature { grid-template-columns: 1fr; margin-bottom: 56px; }
  .feature-copy { padding: 32px 28px; }
  .feature-art { min-height: 240px; border-left: 0; border-top: 1px solid #4f4130; }
  .article-page { padding-top: 18px; }
  .article-copy { padding: 30px 26px; }
  .article-copy h1 { font-size: clamp(36px, 11vw, 52px); }
  .article-art { min-height: 250px; }
  .article-source { align-items: flex-start; flex-direction: column; }
  .search-hero { padding-top: 20px; }
  .search-form { grid-template-columns: auto 1fr; }
  .search-form .button { grid-column: 1 / -1; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { padding-block: 18px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .shell { width: min(calc(100% - 22px), var(--shell)); }
  .brand-copy strong { font-size: 13px; }
  .home-hero h1 { font-size: 41px; }
  .hero-actions .button { width: 100%; }
  .topic-card, .news-body, .product-body, .license-card, .info-card { padding: 20px; }
  .news-foot { align-items: flex-start; flex-direction: column; }
  .license-facts { grid-template-columns: 1fr; }
  .pagination { gap: 7px; }
  .pagination a, .pagination span, .pagination strong { padding-inline: 9px; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}
