/*
 * FXRepo — framework-free, performance-first front-end.
 */
:root {
  --av-bg: #181818;
  --av-surface: #212121;
  --av-surface-2: #272727;
  --av-text: #f4f4f4;
  --av-muted: #949aa1;
  --av-accent: #0d8bff;
  --av-accent-2: #55a7ff;
  --av-border: #323438;
  --av-danger: #ff6b78;
  --av-warning: #ffca5c;
  --av-max-width: 1240px;
  --av-radius: 14px;
  --av-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --av-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--av-bg);
  color: var(--av-text);
  font-family: var(--av-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 75% -20%, color-mix(in srgb, var(--av-accent-2) 10%, transparent), transparent 34%);
  pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--av-accent); text-decoration: none; }
a:hover { color: color-mix(in srgb, var(--av-accent) 76%, white); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
input, select, textarea {
  border: 1px solid var(--av-border);
  border-radius: calc(var(--av-radius) * .65);
  background: var(--av-surface-2);
  color: var(--av-text);
  min-height: 46px;
  padding: 10px 13px;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--av-muted) 75%, transparent); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--av-accent);
  outline-offset: 2px;
}
button { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; line-height: 1.17; letter-spacing: -.028em; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.2em; }
hr { border: 0; border-top: 1px solid var(--av-border); margin: 2rem 0; }
.container { width: min(calc(100% - 40px), var(--av-max-width)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: white; color: #111; clip: auto !important; clip-path: none; display: block; height: auto;
  left: 8px; padding: 12px 18px; top: 8px; width: auto; z-index: 100000;
}
.av-icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: -.22em; }
.eyebrow {
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--av-accent);
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow > span { width: 23px; height: 2px; background: var(--av-accent); box-shadow: 0 0 10px var(--av-accent); }

/* Buttons */
.button, button.button {
  align-items: center; justify-content: center; gap: 8px; display: inline-flex; min-height: 46px;
  border: 1px solid transparent; border-radius: calc(var(--av-radius) * .7); padding: 10px 18px;
  font-weight: 750; line-height: 1.2; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--av-accent); color: #052219; box-shadow: 0 8px 25px color-mix(in srgb, var(--av-accent) 22%, transparent); }
.button--primary:hover { background: color-mix(in srgb, var(--av-accent) 88%, white); color: #052219; }
.button--secondary { background: var(--av-surface-2); border-color: var(--av-border); color: var(--av-text); }
.button--secondary:hover { border-color: var(--av-accent); color: var(--av-text); }
.button--block { width: 100%; }
.button--large { min-height: 56px; padding: 15px 20px; }
.button--disabled { background: var(--av-surface-2); color: var(--av-muted); cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; white-space: nowrap; }
.text-link .av-icon { width: 17px; transition: transform .18s ease; }
.text-link:hover .av-icon { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; padding: 8px 0 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--av-border) 55%, transparent);
  background: color-mix(in srgb, var(--av-bg) 90%, transparent); backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.site-header__shell {
  overflow: visible; border: 1px solid color-mix(in srgb, var(--av-border) 88%, white);
  border-radius: calc(var(--av-radius) * .85); background: color-mix(in srgb, var(--av-surface) 94%, transparent);
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
}
.site-header__inner { min-height: 62px; display: flex; align-items: center; gap: 30px; padding: 0 14px; }
.site-branding { margin-right: auto; min-width: 140px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 48px; width: auto; }
.brand-mark { display: inline-flex; align-items: center; gap: 11px; color: var(--av-text); }
.brand-mark:hover { color: var(--av-text); }
.brand-mark__icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--av-accent) 42%, var(--av-border));
  border-radius: 11px; background: linear-gradient(145deg, color-mix(in srgb, var(--av-accent) 20%, var(--av-surface-2)), var(--av-surface)); color: var(--av-accent);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 0 26px color-mix(in srgb, var(--av-accent) 10%, transparent);
}
.brand-mark__icon .av-icon { width: 23px; height: 23px; }
.brand-mark__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-mark__text strong { color: var(--av-text); font-size: 1.12rem; letter-spacing: -.025em; }
.brand-mark__text small { color: var(--av-muted); margin-top: 4px; font-size: .68rem; letter-spacing: .04em; }
.site-nav__list, .site-nav .menu { list-style: none; display: flex; gap: 6px; align-items: center; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { display: block; border-radius: 8px; color: var(--av-muted); padding: 10px 12px; font-size: .92rem; font-weight: 650; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { background: var(--av-surface); color: var(--av-text); }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; padding: 8px; list-style: none; background: var(--av-surface); border: 1px solid var(--av-border); border-radius: 10px; box-shadow: var(--av-shadow); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 15px; border-radius: 9px; background: var(--av-accent); color: #052219; font-size: .86rem; font-weight: 800; }
.header-cta:hover { color: #052219; background: color-mix(in srgb, var(--av-accent) 85%, white); }
.header-cta .av-icon { width: 17px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--av-border); border-radius: 9px; background: var(--av-surface); }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* Homepage hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--av-border); padding: clamp(74px, 9vw, 126px) 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--av-surface) 30%, var(--av-bg)), var(--av-bg)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .19; background-image: linear-gradient(var(--av-border) 1px, transparent 1px), linear-gradient(90deg, var(--av-border) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .12; pointer-events: none; }
.hero__glow--one { width: 420px; height: 420px; background: var(--av-accent); left: -180px; top: 20px; }
.hero__glow--two { width: 520px; height: 520px; background: var(--av-accent-2); right: -200px; top: -100px; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: clamp(40px, 7vw, 100px); }
.hero__content { padding-bottom: 68px; }
.hero h1 { max-width: 790px; font-size: clamp(2.75rem, 5.5vw, 4.7rem); }
.hero__lead { max-width: 680px; color: var(--av-muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hero__actions .button { min-width: 178px; }
.directory-search { display: flex; align-items: center; width: min(100%, 680px); margin-top: 30px; padding: 6px; border: 1px solid color-mix(in srgb, var(--av-border) 88%, white); border-radius: calc(var(--av-radius) * .9); background: color-mix(in srgb, var(--av-surface) 93%, transparent); box-shadow: 0 18px 50px rgba(0,0,0,.26); }
.directory-search > .av-icon { margin-left: 12px; color: var(--av-muted); }
.directory-search input { flex: 1; min-width: 80px; min-height: 48px; border: 0; background: transparent; box-shadow: none; }
.directory-search input:focus { outline: 0; }
.directory-search button { align-self: stretch; border: 0; border-radius: calc(var(--av-radius) * .55); background: var(--av-accent); color: #052219; padding: 8px 22px; font-weight: 800; }
.hero__quick-links { display: flex; flex-wrap: wrap; gap: 9px 15px; margin-top: 15px; color: var(--av-muted); font-size: .82rem; }
.hero__quick-links a { color: color-mix(in srgb, var(--av-text) 82%, var(--av-muted)); border-bottom: 1px dashed var(--av-border); }
.hero__visual { position: relative; min-width: 0; padding-bottom: 68px; }
.terminal-card { position: relative; overflow: hidden; transform: perspective(900px) rotateY(-4deg) rotateX(1deg); border: 1px solid color-mix(in srgb, var(--av-border) 86%, white); border-radius: calc(var(--av-radius) * 1.15); background: #0c121c; box-shadow: 0 35px 80px rgba(0,0,0,.42), 0 0 70px color-mix(in srgb, var(--av-accent-2) 8%, transparent); }
.terminal-card__top { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--av-border); background: var(--av-surface); }
.terminal-card__top > span { width: 8px; height: 8px; border-radius: 50%; background: var(--av-border); }
.terminal-card__top > span:first-child { background: var(--av-danger); }
.terminal-card__top > span:nth-child(2) { background: var(--av-warning); }
.terminal-card__top > span:nth-child(3) { background: var(--av-accent); }
.terminal-card__top small { margin-left: auto; color: var(--av-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .66rem; }
.terminal-card__chart { position: relative; height: 305px; padding: 20px; }
.chart-grid { position: absolute; inset: 0; opacity: .48; background-image: linear-gradient(var(--av-border) 1px, transparent 1px), linear-gradient(90deg, var(--av-border) 1px, transparent 1px); background-size: 52px 52px; }
.terminal-card__chart svg { position: absolute; inset: 12% 0 2%; width: 100%; height: 84%; overflow: visible; }
.chart-area { fill: url(#av-chart-fill); stroke: none; }
.chart-line { fill: none; stroke: var(--av-accent); stroke-width: 3; filter: drop-shadow(0 0 7px color-mix(in srgb, var(--av-accent) 70%, transparent)); vector-effect: non-scaling-stroke; }
.terminal-signal { position: absolute; right: 15%; top: 25%; border: 1px solid color-mix(in srgb, var(--av-accent) 70%, white); border-radius: 5px; background: color-mix(in srgb, var(--av-accent) 18%, #07120e); color: var(--av-accent); padding: 3px 8px; font: 800 .65rem ui-monospace, monospace; box-shadow: 0 0 20px color-mix(in srgb, var(--av-accent) 20%, transparent); }
.terminal-card__metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--av-border); }
.terminal-card__metrics span { display: flex; flex-direction: column; padding: 14px 17px; border-right: 1px solid var(--av-border); }
.terminal-card__metrics span:last-child { border: 0; }
.terminal-card__metrics small { color: var(--av-muted); font-size: .65rem; }
.terminal-card__metrics strong { margin-top: 3px; font: 700 .8rem ui-monospace, monospace; }
.terminal-card__metrics .positive { color: var(--av-accent); }
.floating-chip { position: absolute; display: flex; align-items: center; gap: 9px; min-width: 150px; border: 1px solid var(--av-border); border-radius: 10px; background: color-mix(in srgb, var(--av-surface) 94%, transparent); padding: 10px 13px; box-shadow: var(--av-shadow); backdrop-filter: blur(8px); }
.floating-chip > .av-icon { color: var(--av-accent); }
.floating-chip span { display: flex; flex-direction: column; line-height: 1.25; }
.floating-chip small { color: var(--av-muted); font-size: .62rem; }
.floating-chip strong { font-size: .75rem; }
.floating-chip--one { top: 10%; right: -4%; }
.floating-chip--two { bottom: 12%; left: -7%; }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--av-border); border-bottom: 0; border-radius: var(--av-radius) var(--av-radius) 0 0; background: color-mix(in srgb, var(--av-surface) 88%, transparent); }
.hero-stats > div { display: flex; flex-direction: column; align-items: center; padding: 23px 20px; border-right: 1px solid var(--av-border); }
.hero-stats > div:last-child { border: 0; }
.hero-stats strong { color: var(--av-text); font-size: 1.45rem; line-height: 1.2; }
.hero-stats span { margin-top: 3px; color: var(--av-muted); font-size: .75rem; }

/* Sections */
.section { padding: clamp(68px, 9vw, 112px) 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { max-width: 720px; margin-bottom: 0; }
.section--types { background: color-mix(in srgb, var(--av-surface) 28%, var(--av-bg)); border-bottom: 1px solid var(--av-border); }
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.type-card { display: flex; align-items: center; gap: 13px; min-height: 94px; border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-surface); color: var(--av-text); padding: 17px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.type-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--av-accent) 60%, var(--av-border)); background: var(--av-surface-2); color: var(--av-text); }
.type-card__icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 11px; background: color-mix(in srgb, var(--av-accent) 12%, var(--av-surface-2)); color: var(--av-accent); }
.type-card span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.type-card strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.type-card small { color: var(--av-muted); font-size: .72rem; }
.type-card__arrow { width: 17px; margin-left: auto; color: var(--av-muted); }
.section--featured { background: var(--av-bg); }
.section--steps { padding-top: 0; }
.steps-panel { position: relative; overflow: hidden; border: 1px solid var(--av-border); border-radius: calc(var(--av-radius) * 1.25); background: linear-gradient(135deg, var(--av-surface), color-mix(in srgb, var(--av-surface-2) 60%, var(--av-bg))); padding: clamp(30px, 5vw, 58px); }
.steps-panel::after { content: ""; position: absolute; width: 320px; height: 320px; right: -150px; bottom: -180px; border-radius: 50%; background: var(--av-accent); opacity: .08; filter: blur(40px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--av-border); }
.step { position: relative; background: var(--av-surface); padding: 31px; }
.step > span { position: absolute; right: 22px; top: 20px; color: color-mix(in srgb, var(--av-muted) 42%, transparent); font: 800 2rem ui-monospace, monospace; }
.step > .av-icon { width: 30px; height: 30px; color: var(--av-accent); margin-bottom: 22px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--av-muted); font-size: .9rem; }

/* Product cards */
.product-grid { display: grid; gap: 22px; }
.product-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--av-accent) 45%, var(--av-border)); box-shadow: var(--av-shadow); }
.product-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--av-border); background: #0c121c; color: var(--av-accent); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card__media img { transform: scale(1.025); }
.product-card__placeholder { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--av-accent) 14%, transparent), transparent 36%), linear-gradient(135deg, #0b111b, var(--av-surface-2)); color: var(--av-accent); }
.product-card__placeholder-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(var(--av-border) 1px, transparent 1px), linear-gradient(90deg, var(--av-border) 1px, transparent 1px); background-size: 34px 34px; }
.product-card__placeholder .av-icon { position: relative; width: 60px; height: 60px; filter: drop-shadow(0 0 15px color-mix(in srgb, var(--av-accent) 25%, transparent)); }
.product-card__platform, .product-card__featured { position: absolute; top: 12px; z-index: 2; border: 1px solid var(--av-border); border-radius: 5px; background: rgba(7, 12, 20, .82); color: var(--av-text); padding: 3px 7px; font: 800 .62rem ui-monospace, monospace; backdrop-filter: blur(5px); }
.product-card__platform { left: 12px; }
.product-card__featured { right: 12px; color: var(--av-warning); border-color: color-mix(in srgb, var(--av-warning) 40%, var(--av-border)); }
.product-card__body { padding: 19px; }
.product-card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 12px; }
.badge { display: inline-flex; align-items: center; min-height: 22px; border: 1px solid var(--av-border); border-radius: 999px; padding: 2px 8px; font-size: .65rem; font-weight: 800; letter-spacing: .03em; }
.badge--category { color: color-mix(in srgb, var(--av-accent-2) 80%, white); background: color-mix(in srgb, var(--av-accent-2) 10%, transparent); border-color: color-mix(in srgb, var(--av-accent-2) 28%, var(--av-border)); }
.badge--platform { border-radius: 5px; color: var(--av-text); background: var(--av-surface-2); }
.product-card__title { margin-bottom: 9px; font-size: 1.14rem; line-height: 1.32; letter-spacing: -.02em; }
.product-card__title a { color: var(--av-text); }
.product-card__title a:hover { color: var(--av-accent); }
.product-card__excerpt { min-height: 3.15em; margin: 0; color: var(--av-muted); font-size: .84rem; line-height: 1.55; }
.product-card__developer { min-height: 1.4em; margin: 10px 0 0; color: var(--av-muted); font-size: .72rem; }
.product-card__developer strong { color: color-mix(in srgb, var(--av-text) 85%, var(--av-muted)); }
.product-card__footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--av-border); color: var(--av-muted); font-size: .69rem; }
.product-card__footer > span { display: inline-flex; align-items: center; gap: 5px; }
.product-card__footer .av-icon { width: 14px; height: 14px; }
.product-card__footer > a { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-weight: 750; }
.product-card__footer > a .av-icon { transition: transform .18s ease; }
.product-card__footer > a:hover .av-icon { transform: translateX(3px); }
.product-grid--4 .product-card__body { padding: 15px; }
.product-grid--4 .product-card__excerpt { font-size: .78rem; }
.av-compact-cards .product-card__excerpt, .av-compact-cards .product-card__developer { display: none; }
.av-compact-cards .product-card__body { padding-bottom: 13px; }

/* Directory */
.directory-header { padding: 42px 0 46px; border-bottom: 1px solid var(--av-border); background: linear-gradient(150deg, color-mix(in srgb, var(--av-surface) 62%, var(--av-bg)), var(--av-bg)); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; color: var(--av-muted); font-size: .72rem; }
.breadcrumbs a { color: var(--av-muted); }
.breadcrumbs a:hover { color: var(--av-accent); }
.directory-header__row { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.directory-header h1 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.3rem); }
.directory-header p:last-child { margin: 0; color: var(--av-muted); }
.directory-search--compact { flex: 0 1 490px; margin: 0; }
.directory-search--compact input { min-height: 42px; }
.directory-search--compact button { padding-inline: 18px; }
.directory-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 34px; align-items: start; padding-top: 46px; padding-bottom: 90px; }
.filter-panel { position: sticky; top: 104px; border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-surface); padding: 19px; }
.admin-bar .filter-panel { top: 136px; }
.filter-panel__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filter-panel__heading strong { font-size: .92rem; }
.filter-close { display: none; border: 0; background: transparent; padding: 4px; }
.filter-panel form { display: flex; flex-direction: column; gap: 19px; }
.filter-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-group > label, .filter-group legend { display: block; margin-bottom: 7px; color: var(--av-muted); font-size: .69rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.filter-group select { width: 100%; min-height: 43px; font-size: .78rem; }
.filter-radios { display: flex; flex-direction: column; gap: 7px; }
.filter-radios > label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--av-text); font-size: .82rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.filter-radios input { min-height: 0; accent-color: var(--av-accent); }
.filter-reset { align-self: center; color: var(--av-muted); font-size: .76rem; text-decoration: underline; text-underline-offset: 3px; }
.filter-tip { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--av-border); color: var(--av-muted); }
.filter-tip .av-icon { width: 18px; color: var(--av-accent); }
.filter-tip p { margin: 0; font-size: .69rem; line-height: 1.55; }
.filter-tip strong { color: var(--av-text); }
.results-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.results-toolbar > div { display: flex; align-items: center; gap: 12px; }
.results-toolbar p { margin: 0; color: var(--av-muted); font-size: .79rem; }
.filter-toggle { display: none; }
.sort-form { display: flex; align-items: center; gap: 9px; }
.sort-form label { color: var(--av-muted); font-size: .74rem; }
.sort-form select { min-height: 40px; padding-block: 6px; font-size: .77rem; }
.pagination { margin-top: 42px; }
.pagination .page-numbers { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; min-height: 40px; border: 1px solid var(--av-border); border-radius: 8px; background: var(--av-surface); color: var(--av-muted); padding: 7px 10px; font-size: .78rem; }
.pagination a:hover, .pagination .current { border-color: var(--av-accent); color: var(--av-text); }
.pagination .current { background: color-mix(in srgb, var(--av-accent) 13%, var(--av-surface)); }
.empty-state { display: flex; align-items: center; gap: 24px; border: 1px dashed var(--av-border); border-radius: var(--av-radius); background: var(--av-surface); padding: clamp(28px, 6vw, 60px); }
.empty-state__icon, .empty-state--soft > .av-icon { display: grid; place-items: center; flex: 0 0 auto; width: 70px; height: 70px; border-radius: 50%; background: var(--av-surface-2); color: var(--av-accent); }
.empty-state__icon .av-icon { width: 30px; height: 30px; }
.empty-state h2, .empty-state h3 { margin-bottom: 7px; }
.empty-state p { color: var(--av-muted); }
.empty-state--soft { justify-content: center; }

/* Single download */
.single-product { padding: 38px 0 90px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .66fr); gap: 48px; align-items: center; margin-top: 5px; padding: 34px; border: 1px solid var(--av-border); border-radius: calc(var(--av-radius) * 1.2); background: linear-gradient(135deg, var(--av-surface), color-mix(in srgb, var(--av-surface-2) 72%, var(--av-bg))); }
.product-hero__badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 17px; }
.product-hero h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.product-hero__lead { max-width: 720px; color: var(--av-muted); font-size: 1.07rem; }
.product-hero__meta { display: flex; flex-wrap: wrap; gap: 14px 23px; color: var(--av-muted); font-size: .76rem; }
.product-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.product-hero__meta strong { color: var(--av-text); }
.product-hero__meta .av-icon { width: 15px; }
.product-hero__media { overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--av-border); border-radius: var(--av-radius); background: #0b111b; box-shadow: var(--av-shadow); }
.product-hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; align-items: start; margin-top: 52px; }
.product-content { min-width: 0; }
.product-tabs { display: flex; gap: 25px; overflow-x: auto; border-bottom: 1px solid var(--av-border); margin-bottom: 34px; }
.product-tabs a { flex: 0 0 auto; border-bottom: 2px solid transparent; color: var(--av-muted); padding: 0 1px 12px; font-size: .82rem; font-weight: 750; }
.product-tabs a:first-child, .product-tabs a:hover { border-color: var(--av-accent); color: var(--av-text); }
.product-section { scroll-margin-top: 110px; padding-bottom: 38px; }
.product-section + .product-section { padding-top: 32px; border-top: 1px solid var(--av-border); }
.product-section h2 { font-size: 1.6rem; }
.entry-content { color: color-mix(in srgb, var(--av-text) 87%, var(--av-muted)); }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--av-text); margin-top: 1.5em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.5em 0; border-left: 3px solid var(--av-accent); background: var(--av-surface); padding: 16px 20px; color: var(--av-muted); }
.entry-content pre, .entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.entry-content pre { max-width: 100%; overflow: auto; border: 1px solid var(--av-border); border-radius: 8px; background: #070b11; padding: 16px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--av-border); padding: 10px; text-align: left; }
.notice-box { display: flex; gap: 13px; border: 1px solid color-mix(in srgb, var(--av-accent-2) 32%, var(--av-border)); border-radius: var(--av-radius); background: color-mix(in srgb, var(--av-accent-2) 6%, var(--av-surface)); padding: 20px; }
.notice-box > .av-icon { color: var(--av-accent-2); }
.notice-box p { margin: 0; color: var(--av-muted); }
.changelog { display: flex; gap: 15px; color: var(--av-muted); }
.changelog__dot { position: relative; width: 13px; height: 13px; margin-top: 6px; flex: 0 0 auto; border: 3px solid var(--av-bg); border-radius: 50%; background: var(--av-accent); box-shadow: 0 0 0 1px var(--av-accent), 0 0 12px color-mix(in srgb, var(--av-accent) 40%, transparent); }
.product-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid var(--av-border); color: var(--av-muted); font-size: .75rem; }
.product-tags a { border: 1px solid var(--av-border); border-radius: 999px; background: var(--av-surface); color: var(--av-muted); padding: 3px 9px; }
.download-sidebar { position: sticky; top: 106px; }
.admin-bar .download-sidebar { top: 138px; }
.download-box { border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-surface); padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.download-box__head { display: flex; align-items: center; gap: 13px; padding-bottom: 19px; border-bottom: 1px solid var(--av-border); }
.download-box__head > span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 11px; background: color-mix(in srgb, var(--av-accent) 12%, var(--av-surface-2)); color: var(--av-accent); }
.download-box__head > div { display: flex; flex-direction: column; }
.download-box__head small { color: var(--av-muted); font-size: .68rem; }
.download-box__head strong { font-size: 1.18rem; }
.product-specs { display: flex; flex-direction: column; gap: 0; margin: 13px 0 19px; }
.product-specs > div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px dashed color-mix(in srgb, var(--av-border) 75%, transparent); font-size: .73rem; }
.product-specs dt { color: var(--av-muted); }
.product-specs dd { margin: 0; color: var(--av-text); font-weight: 650; text-align: right; }
.download-box__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px 17px; margin-top: 14px; }
.download-box__links a { display: inline-flex; align-items: center; gap: 4px; color: var(--av-muted); font-size: .7rem; }
.download-box__links a:hover { color: var(--av-accent); }
.download-box__links .av-icon { width: 12px; }
.download-box__safe { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--av-border); color: var(--av-muted); font-size: .66rem; line-height: 1.45; }
.download-box__safe .av-icon { width: 16px; color: var(--av-accent); }
.related-products { padding-bottom: 0; }

/* Generic WordPress content */
.content-page { padding: 50px 0 90px; }
.content-shell { max-width: 850px; margin-inline: auto; }
.page-header, .archive-title { margin-bottom: 32px; }
.page-header h1, .archive-title h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.post-list { display: grid; gap: 20px; }
.post-summary { border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-surface); padding: 24px; }
.post-summary h2 { font-size: 1.55rem; }
.post-summary h2 a { color: var(--av-text); }
.post-summary__meta { margin-bottom: 10px; color: var(--av-muted); font-size: .76rem; }
.post-summary__excerpt { color: var(--av-muted); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: var(--av-muted); font-size: .78rem; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.sticky { border-color: var(--av-accent); }
.bypostauthor { outline: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--av-border); background: color-mix(in srgb, var(--av-surface) 50%, var(--av-bg)); padding: 58px 0 24px; }
.footer-default { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 45px; }
.footer-brand { display: flex; align-items: center; gap: 14px; max-width: 540px; }
.footer-brand strong { font-size: 1rem; }
.footer-brand p { margin: 3px 0 0; color: var(--av-muted); font-size: .74rem; }
.footer-trust { display: flex; align-items: center; gap: 9px; color: var(--av-muted); }
.footer-trust > .av-icon { color: var(--av-accent); }
.footer-trust span { display: flex; flex-direction: column; line-height: 1.35; }
.footer-trust strong { color: var(--av-text); font-size: .78rem; }
.footer-trust small { font-size: .65rem; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 45px; }
.footer-widget__title { font-size: 1rem; }
.footer-widget, .footer-widget a { color: var(--av-muted); font-size: .8rem; }
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-top: 23px; border-top: 1px solid var(--av-border); color: var(--av-muted); font-size: .68rem; }
.site-footer__bottom p { margin: 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: var(--av-muted); }
.footer-menu a:hover { color: var(--av-text); }

/* Responsive */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr); gap: 40px; }
  .hero h1 { font-size: clamp(2.65rem, 5.7vw, 4.1rem); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 25px; }
}
@media (max-width: 900px) {
  .site-header__inner { min-height: 68px; }
  .menu-toggle { display: grid; order: 3; }
  .site-nav { display: none; position: absolute; top: 100%; left: 20px; right: 20px; padding: 10px; border: 1px solid var(--av-border); border-radius: 10px; background: var(--av-surface); box-shadow: var(--av-shadow); }
  .site-nav.is-open { display: block; }
  .site-nav__list, .site-nav .menu { display: flex; flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 11px 12px; }
  .site-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 15px; background: transparent; }
  .header-cta { margin-left: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { padding-bottom: 20px; }
  .hero__visual { width: min(100%, 650px); margin: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--av-border); }
  .product-grid--3, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-layout { display: block; }
  .filter-panel { display: none; position: fixed; z-index: 150; inset: 0 0 0 auto; width: min(360px, 92vw); border-radius: 0; padding: 23px; overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,.5); }
  .filter-panel.is-open { display: block; }
  .filter-close, .filter-toggle { display: inline-flex; }
  body.filters-open::after { content: ""; position: fixed; z-index: 140; inset: 0; background: rgba(0,0,0,.66); }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero__media { max-width: 600px; width: 100%; }
  .product-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--av-max-width)); }
  .admin-bar .site-header { top: 46px; }
  .header-cta { display: none; }
  .site-header__inner { gap: 12px; }
  .site-nav { left: 14px; right: 14px; }
  .brand-mark__text small { display: none; }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.3rem); }
  .directory-search { display: grid; grid-template-columns: auto 1fr; }
  .directory-search button { grid-column: 1 / -1; min-height: 45px; }
  .hero__visual { padding-bottom: 54px; }
  .terminal-card__chart { height: 230px; }
  .floating-chip--one { right: -1%; top: 4%; }
  .floating-chip--two { left: -1%; bottom: 7%; }
  .hero-stats { width: calc(100% - 28px); }
  .hero-stats > div { padding: 17px 10px; }
  .hero-stats strong { font-size: 1.15rem; }
  .hero-stats span { font-size: .64rem; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .type-grid, .product-grid--2, .product-grid--3, .product-grid--4 { grid-template-columns: 1fr; }
  .steps-panel { width: calc(100% - 28px); }
  .directory-header__row { align-items: stretch; flex-direction: column; }
  .directory-search--compact { flex-basis: auto; width: 100%; }
  .directory-layout { padding-top: 30px; }
  .results-toolbar { align-items: flex-start; }
  .sort-form label { display: none; }
  .sort-form select { max-width: 145px; }
  .product-hero { padding: 22px; gap: 28px; }
  .product-hero__meta { flex-direction: column; gap: 7px; }
  .product-layout { grid-template-columns: 1fr; margin-top: 35px; }
  .download-sidebar { position: static; order: -1; }
  .footer-default, .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .footer-widgets { grid-template-columns: 1fr; }
  .empty-state { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .brand-mark__icon { width: 36px; height: 36px; }
  .terminal-card__chart { height: 190px; }
  .terminal-card__metrics span { padding: 10px; }
  .floating-chip { display: none; }
  .hero-stats span { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* FXRepo multi-platform header search and external resource enhancements */
.global-search-row {
  border-top: 1px solid color-mix(in srgb, var(--av-border) 78%, transparent);
  padding: 10px 12px 12px;
}
.global-search-row__inner { display: block; }
.directory-search--header {
  width: 100%; max-width: none; min-height: 58px; margin: 0; padding: 5px;
  border-color: color-mix(in srgb, var(--av-border) 90%, white);
  background: color-mix(in srgb, var(--av-bg) 70%, var(--av-surface-2));
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 8px 24px rgba(0,0,0,.15);
}
.directory-search--header select {
  min-width: 178px; min-height: 43px; border: 0; border-left: 1px solid var(--av-border);
  border-radius: 0; background: transparent; color: var(--av-muted); padding-inline: 15px 32px;
}
.directory-search--header button { min-width: 126px; }
.directory-search--directory { flex: 0 1 490px; margin: 0; }
.directory-search--directory input { min-height: 42px; }
.directory-search--directory button { padding-inline: 18px; }
.type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card__platform { max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card__host { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.download-mirror { margin-top: 10px; font-size: .76rem; }
.download-box__external {
  display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; padding: 12px;
  border: 1px solid color-mix(in srgb, var(--av-accent-2) 25%, var(--av-border)); border-radius: 8px;
  background: color-mix(in srgb, var(--av-accent-2) 6%, var(--av-surface)); color: var(--av-muted); font-size: .66rem; line-height: 1.45;
}
.download-box__external .av-icon { width: 16px; color: var(--av-accent-2); }
.has-global-vault-search .site-header + .site-main .product-section { scroll-margin-top: 185px; }
.has-global-vault-search .filter-panel, .has-global-vault-search .download-sidebar { top: 175px; }
.admin-bar.has-global-vault-search .filter-panel, .admin-bar.has-global-vault-search .download-sidebar { top: 207px; }

@media (max-width: 900px) {
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel, .admin-bar .filter-panel, .has-global-vault-search .filter-panel, .admin-bar.has-global-vault-search .filter-panel { top: 0; }
}
@media (max-width: 700px) {
  .site-header { padding: 6px 0 8px; }
  .site-header__shell { border-radius: 11px; }
  .site-header__inner { min-height: 58px; padding: 0 10px; }
  .global-search-row { padding: 8px; }
  .directory-search--header {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0; min-height: 0;
  }
  .directory-search--header > .av-icon { grid-column: 1; grid-row: 1; align-self: center; }
  .directory-search--header input[type="search"] { grid-column: 2; grid-row: 1; }
  .directory-search--header select {
    grid-column: 1 / 2; grid-row: 2; width: 138px; min-width: 0; min-height: 42px;
    margin: 3px 0 0; border-left: 0; border-top: 1px solid var(--av-border); padding-left: 9px; font-size: .72rem;
  }
  .directory-search--header button { grid-column: 2; grid-row: 2; min-width: 0; min-height: 42px; margin-top: 3px; }
  .directory-search--directory { flex-basis: auto; width: 100%; }
  .filter-panel, .admin-bar .filter-panel, .has-global-vault-search .filter-panel, .admin-bar.has-global-vault-search .filter-panel { top: 0; }
  .download-sidebar, .admin-bar .download-sidebar, .has-global-vault-search .download-sidebar, .admin-bar.has-global-vault-search .download-sidebar { top: auto; }
  .type-grid { grid-template-columns: 1fr; }
}

/* Split resource architecture: dynamic /download/{post_id}/ landing page */
.download-landing { padding: 38px 0 92px; }
.download-landing__header {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 34px;
  margin-bottom: 32px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--av-border);
  border-radius: calc(var(--av-radius) * 1.1); background: linear-gradient(135deg, var(--av-surface), color-mix(in srgb, var(--av-surface-2) 66%, var(--av-bg)));
}
.download-landing__header > div:first-child { max-width: 820px; }
.download-landing__header h1 { margin-bottom: 12px; font-size: clamp(2rem, 4.8vw, 3.65rem); }
.download-landing__header p:last-child { max-width: 760px; margin: 0; color: var(--av-muted); }
.download-landing__badges { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.download-landing__grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 30px; }
.download-landing__main { display: grid; gap: 22px; min-width: 0; }
.landing-panel {
  overflow: hidden; border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-surface);
}
.landing-panel__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 21px; border-bottom: 1px solid var(--av-border); }
.landing-panel__heading > div { display: flex; align-items: center; gap: 11px; }
.landing-panel__heading span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: color-mix(in srgb, var(--av-accent) 12%, var(--av-surface-2)); color: var(--av-accent); font: 800 .67rem ui-monospace, monospace; }
.landing-panel__heading h2 { margin: 0; font-size: 1.08rem; }
.landing-panel__heading small { color: var(--av-muted); font-size: .69rem; }
.landing-preview__image { overflow: hidden; aspect-ratio: 16/9; background: #0b111b; }
.landing-preview__image > img { width: 100%; height: 100%; object-fit: cover; }
.landing-preview__caption { margin: 0; padding: 12px 20px; border-top: 1px solid var(--av-border); color: var(--av-muted); font-size: .69rem; }
.landing-installation { display: flex; align-items: flex-start; gap: 14px; padding: 23px; }
.landing-installation > .av-icon { width: 25px; height: 25px; color: var(--av-accent-2); }
.landing-installation p { margin: 0; color: color-mix(in srgb, var(--av-text) 82%, var(--av-muted)); }
.landing-guide-cta { display: flex; align-items: flex-start; gap: 18px; border: 1px solid color-mix(in srgb, var(--av-accent) 30%, var(--av-border)); border-radius: var(--av-radius); background: linear-gradient(135deg, color-mix(in srgb, var(--av-accent) 8%, var(--av-surface)), var(--av-surface)); padding: clamp(24px, 4vw, 34px); }
.landing-guide-cta > .av-icon { width: 33px; height: 33px; color: var(--av-accent); }
.landing-guide-cta h2 { margin-bottom: 8px; font-size: 1.35rem; }
.landing-guide-cta p { margin-bottom: 14px; color: var(--av-muted); font-size: .86rem; }
.download-landing__sidebar { position: sticky; top: 105px; }
.has-global-vault-search .download-landing__sidebar { top: 175px; }
.admin-bar .download-landing__sidebar { top: 137px; }
.admin-bar.has-global-vault-search .download-landing__sidebar { top: 207px; }
.landing-download-card { border: 1px solid color-mix(in srgb, var(--av-accent) 25%, var(--av-border)); border-radius: var(--av-radius); background: var(--av-surface); padding: 22px; box-shadow: 0 20px 55px rgba(0,0,0,.26); }
.landing-download-card__host { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--av-border); }
.landing-download-card__host > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 11px; background: color-mix(in srgb, var(--av-accent) 12%, var(--av-surface-2)); color: var(--av-accent); }
.landing-download-card__host > div { display: flex; flex-direction: column; }
.landing-download-card__host small { color: var(--av-muted); font-size: .68rem; }
.landing-download-card__host strong { font-size: 1.06rem; }
.landing-download-button { margin-top: 5px; }
.landing-docs-link { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 13px; color: var(--av-muted); font-size: .7rem; }
.landing-docs-link .av-icon { width: 13px; }

@media (max-width: 900px) {
  .download-landing__grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; }
}
@media (max-width: 740px) {
  .download-landing { padding-top: 28px; }
  .download-landing__header { align-items: flex-start; flex-direction: column; }
  .download-landing__badges { justify-content: flex-start; }
  .download-landing__grid { grid-template-columns: 1fr; }
  .download-landing__sidebar { position: static; order: -1; }
  .landing-guide-cta { flex-direction: column; }
}

/* 3.1 simplified navigation and editorial resource layout */
.terminal-card { transform: none; }
.product-card:hover { transform: translateY(-2px); }
.single-product .product-hero {
  display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; padding: 0;
}
.single-product .product-hero__copy { max-width: 980px; padding: clamp(26px, 5vw, 50px); }
.single-product .product-hero__media {
  width: 100%; max-width: none; aspect-ratio: 21 / 9; border: 0; border-top: 1px solid var(--av-border);
  border-radius: 0; box-shadow: none;
}
.single-product .product-hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.directory-header__row > div:first-child { max-width: 820px; }

@media (max-width: 700px) {
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions .button { width: 100%; }
  .single-product .product-hero__copy { padding: 24px 20px; }
  .single-product .product-hero__media { aspect-ratio: 16 / 10; }
}

/* 3.2 DDL-inspired library layout: flat, dense, and navigation-first */
:root { --av-shadow: 0 12px 32px rgba(0,0,0,.2); }
body { background: var(--av-bg); }
body::before { display: none; }
.container { width: min(calc(100% - 36px), var(--av-max-width)); }
.button, button.button { border-radius: 5px; }
.button--primary { color: #fff; box-shadow: none; }
.button--primary:hover { color: #fff; }
.eyebrow { color: var(--av-accent); }

.vault-sidebar { display: none; }

/* Header becomes a compact utility bar with a dominant search field. */
.site-header { border-bottom-color: var(--av-border); background: color-mix(in srgb, var(--av-bg) 96%, transparent); }
.site-header__shell { border-radius: 5px; box-shadow: none; }
.directory-search--header { min-height: 50px; border-radius: 5px; box-shadow: none; }
.directory-search--header button { background: var(--av-accent); color: #fff; border-radius: 4px; }
.header-cta { background: var(--av-accent); color: #fff; border-radius: 4px; }
.header-cta:hover { background: var(--av-accent-2); color: #fff; }

/* Compact home introduction in place of the oversized marketing hero. */
.hero { padding: 38px 0 0; background: var(--av-bg); }
.hero::before, .hero__glow { display: none; }
.hero__inner { display: block; }
.hero__content { max-width: 920px; padding-bottom: 34px; }
.hero__visual { display: none; }
.hero h1 { max-width: 860px; font-size: clamp(2.25rem, 5vw, 3.65rem); }
.hero__lead { max-width: 780px; }
.hero__actions { margin-top: 22px; }
.hero-stats { border-radius: 5px 5px 0 0; background: var(--av-surface); }
.hero-stats > div { align-items: flex-start; padding: 18px 22px; }
.hero-stats strong { font-size: 1.25rem; }
.section { padding: clamp(48px, 6vw, 76px) 0; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.section--types { background: var(--av-bg); }
.type-grid { gap: 1px; border: 1px solid var(--av-border); border-radius: 5px; overflow: hidden; background: var(--av-border); }
.type-card { min-height: 76px; border: 0; border-radius: 0; background: var(--av-surface); padding: 14px 16px; }
.type-card:hover { transform: none; background: var(--av-surface-2); }
.type-card__icon { width: 39px; height: 39px; border-radius: 5px; color: var(--av-accent); }
.steps-panel { border-radius: 5px; background: var(--av-surface); }
.step { background: var(--av-surface); }

/* Dense resource rows inspired by a software download index. */
.directory-results .product-grid,
.section--featured .product-grid,
.related-products .product-grid {
  display: block; overflow: hidden; border: 1px solid var(--av-border); border-radius: 5px; background: var(--av-surface);
}
.directory-results .product-card,
.section--featured .product-card,
.related-products .product-card {
  display: grid; grid-template-columns: 84px minmax(0,1fr); min-height: 90px;
  overflow: visible; border: 0; border-bottom: 1px solid var(--av-border); border-radius: 0; background: var(--av-surface);
}
.directory-results .product-card:last-child,
.section--featured .product-card:last-child,
.related-products .product-card:last-child { border-bottom: 0; }
.directory-results .product-card:hover,
.section--featured .product-card:hover,
.related-products .product-card:hover { transform: none; border-color: var(--av-border); background: var(--av-surface-2); box-shadow: none; }
.directory-results .product-card__media,
.section--featured .product-card__media,
.related-products .product-card__media {
  width: 58px; height: 58px; aspect-ratio: 1; align-self: center; margin: 13px;
  border: 0; border-radius: 4px; background: #161616;
}
.directory-results .product-card__placeholder .av-icon,
.section--featured .product-card__placeholder .av-icon,
.related-products .product-card__placeholder .av-icon { width: 27px; height: 27px; }
.directory-results .product-card__placeholder-grid,
.section--featured .product-card__placeholder-grid,
.related-products .product-card__placeholder-grid { background-size: 18px 18px; }
.directory-results .product-card__platform,
.section--featured .product-card__platform,
.related-products .product-card__platform { left: 4px; top: 4px; max-width: calc(100% - 8px); padding: 1px 4px; font-size: .43rem; }
.directory-results .product-card__featured,
.section--featured .product-card__featured,
.related-products .product-card__featured { display: none; }
.directory-results .product-card__body,
.section--featured .product-card__body,
.related-products .product-card__body {
  display: grid; grid-template-columns: minmax(190px,1fr) auto; grid-template-rows: auto auto;
  align-content: center; align-items: center; gap: 5px 18px; min-width: 0; padding: 12px 16px 12px 0;
}
.directory-results .product-card__title,
.section--featured .product-card__title,
.related-products .product-card__title { grid-column: 1; grid-row: 1; margin: 0; font-size: .94rem; letter-spacing: -.012em; }
.directory-results .product-card__badges,
.section--featured .product-card__badges,
.related-products .product-card__badges { grid-column: 2; grid-row: 1; justify-content: flex-end; margin: 0; }
.directory-results .product-card__excerpt,
.section--featured .product-card__excerpt,
.related-products .product-card__excerpt { display: none; }
.directory-results .product-card__developer,
.section--featured .product-card__developer,
.related-products .product-card__developer { grid-column: 1; grid-row: 2; min-height: 0; margin: 0; font-size: .68rem; }
.directory-results .product-card__footer,
.section--featured .product-card__footer,
.related-products .product-card__footer {
  grid-column: 2; grid-row: 2; justify-content: flex-end; min-width: 235px; margin: 0; padding: 0; border: 0; font-size: .66rem;
}
.badge { border-radius: 4px; }

/* A flatter directory header and horizontal desktop filters. */
.directory-header { padding: 32px 0; background: var(--av-bg); }
.directory-header h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.breadcrumbs { margin-bottom: 20px; }
.results-toolbar { min-height: 40px; margin-bottom: 14px; }
.sort-form select { border-radius: 4px; background: var(--av-surface); }
.pagination a, .pagination span { border-radius: 4px; }

/* Return the single resource image to a contained, post-friendly size. */
.single-product { padding-top: 30px; }
.single-product .product-hero {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,430px); align-items: center;
  gap: 34px; overflow: visible; padding: 28px; border-radius: 5px; background: var(--av-surface);
}
.single-product .product-hero__copy { max-width: none; padding: 0; }
.single-product .product-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.single-product .product-hero__media {
  width: 100%; max-width: 430px; aspect-ratio: 16/10; border: 1px solid var(--av-border);
  border-radius: 5px; background: #161616; box-shadow: none;
}
.product-layout { gap: 34px; }
.download-box, .landing-download-card, .landing-panel, .landing-guide-cta, .download-landing__header { border-radius: 5px; box-shadow: none; }
.product-tabs a { font-size: .76rem; }

.site-footer { background: #1b1b1b; }

@media (min-width: 901px) {
  .vault-sidebar {
    position: fixed; z-index: 120; inset: 0 auto 0 0; display: flex; flex-direction: column;
    width: 220px; overflow-y: auto; border-right: 1px solid var(--av-border); background: #1b1b1b;
  }
  .admin-bar .vault-sidebar { top: 32px; }
  .vault-sidebar__brand { display: flex; align-items: center; gap: 11px; min-height: 88px; padding: 18px 20px; border-bottom: 1px solid var(--av-border); color: var(--av-text); }
  .vault-sidebar__brand:hover { color: var(--av-text); }
  .vault-sidebar__brand > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
  .vault-sidebar__brand strong { font-size: 1.15rem; }
  .vault-sidebar__brand small { margin-top: 4px; color: var(--av-muted); font-size: .58rem; text-transform: uppercase; letter-spacing: .07em; }
  .vault-sidebar__nav { padding: 12px 0 20px; }
  .vault-sidebar__nav > p { margin: 19px 20px 7px; color: #70757b; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .vault-sidebar__nav > a { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 43px; padding: 8px 18px; border-left: 3px solid transparent; color: var(--av-muted); font-size: .78rem; }
  .vault-sidebar__nav > a:hover { border-left-color: var(--av-accent); background: #222; color: var(--av-text); }
  .vault-sidebar__nav .av-icon { width: 18px; height: 18px; color: #777d83; }
  .vault-sidebar__nav small { color: #62686e; font-size: .61rem; }
  .vault-sidebar__footer { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 18px; border-top: 1px solid var(--av-border); color: var(--av-muted); }
  .vault-sidebar__footer .av-icon { width: 18px; color: var(--av-accent); }
  .vault-sidebar__footer p { display: flex; flex-direction: column; margin: 0; line-height: 1.4; }
  .vault-sidebar__footer strong { color: var(--av-text); font-size: .72rem; }
  .vault-sidebar__footer span { font-size: .62rem; }

  .site-header, .site-main, .site-footer { margin-left: 220px; }
  .site-header { padding: 0; }
  .home-page .section--types { display: none; }
  .site-header__shell { display: grid; grid-template-columns: minmax(320px,1fr) auto; align-items: center; gap: 18px; width: 100%; max-width: none; padding: 16px 28px; border: 0; border-radius: 0; background: #1b1b1b; }
  .site-header__inner { grid-column: 2; grid-row: 1; min-height: 50px; gap: 8px; padding: 0; }
  .site-header .site-branding { display: none; }
  .global-search-row { grid-column: 1; grid-row: 1; padding: 0; border: 0; }
  .site-nav a { padding: 8px 9px; font-size: .77rem; }
  .header-cta { min-height: 46px; }

  .has-global-vault-search .site-header + .site-main .product-section { scroll-margin-top: 100px; }
  .download-sidebar, .has-global-vault-search .download-sidebar,
  .download-landing__sidebar, .has-global-vault-search .download-landing__sidebar { top: 98px; }
  .admin-bar .download-sidebar, .admin-bar.has-global-vault-search .download-sidebar,
  .admin-bar .download-landing__sidebar, .admin-bar.has-global-vault-search .download-landing__sidebar { top: 130px; }

  .directory-layout { display: block; padding-top: 26px; }
  .filter-panel { position: static; margin-bottom: 18px; padding: 14px; border-radius: 5px; }
  .filter-panel__heading { margin-bottom: 12px; }
  .filter-panel form { display: grid; grid-template-columns: repeat(2,minmax(160px,1fr)) auto auto; align-items: end; gap: 10px; }
  .filter-panel .button { min-height: 43px; white-space: nowrap; }
  .filter-reset { align-self: center; padding-inline: 8px; }
  .filter-tip { display: none; }
}

@media (min-width: 901px) and (max-width: 1400px) {
  .site-nav { display: none; }
}

@media (max-width: 900px) {
  .site-header, .site-main, .site-footer { margin-left: 0; }
  .site-header__shell { display: block; }
  .site-header .site-branding { display: block; }
  .hero { padding-top: 30px; }
  .single-product .product-hero { grid-template-columns: 1fr; }
  .single-product .product-hero__media { max-width: 560px; }
}

@media (max-width: 680px) {
  .directory-results .product-card,
  .section--featured .product-card,
  .related-products .product-card { grid-template-columns: 70px minmax(0,1fr); min-height: 86px; }
  .directory-results .product-card__media,
  .section--featured .product-card__media,
  .related-products .product-card__media { width: 50px; height: 50px; margin: 10px; }
  .directory-results .product-card__body,
  .section--featured .product-card__body,
  .related-products .product-card__body { display: block; padding: 10px 10px 10px 0; }
  .directory-results .product-card__badges,
  .section--featured .product-card__badges,
  .related-products .product-card__badges { margin-bottom: 6px; justify-content: flex-start; }
  .directory-results .product-card__developer,
  .section--featured .product-card__developer,
  .related-products .product-card__developer { display: none; }
  .directory-results .product-card__footer,
  .section--featured .product-card__footer,
  .related-products .product-card__footer { justify-content: flex-start; min-width: 0; margin-top: 7px; }
  .directory-results .product-card__footer > a,
  .section--featured .product-card__footer > a,
  .related-products .product-card__footer > a { margin-left: auto; }
  .single-product .product-hero { padding: 18px; }
  .single-product .product-hero__media { max-width: none; aspect-ratio: 16/10; }
}

.resource-list-head {
  display: grid; grid-template-columns: 84px minmax(0,1fr) 320px; min-height: 34px;
  align-items: center; border: 1px solid var(--av-border); border-bottom: 0; border-radius: 5px 5px 0 0;
  background: #1d1d1d; color: #7f858b; font-size: .6rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase;
}
.resource-list-head + .product-grid { border-radius: 0 0 5px 5px; }
.resource-list-head span:first-child { grid-column: 1 / 3; padding-left: 16px; }
.resource-list-head span:last-child { grid-column: 3; text-align: right; padding-right: 16px; }
@media (max-width: 680px) { .resource-list-head { display: none; } .resource-list-head + .product-grid { border-radius: 5px; } }

/* 3.5.0 DDLCode-inspired directory navigation and dense resource index */
:root {
  --ddl-blue: var(--av-accent);
  --ddl-sidebar: #1b1b1b;
  --ddl-row: #232323;
  --ddl-row-hover: #272727;
  --ddl-border: #303030;
}
body { background: #1b1b1b; }
body::before { display: none; }
.site-main { background: #1b1b1b; }

/* Fixed directory sidebar */
.vault-sidebar.site-nav {
  padding: 0; border: 0; border-right: 1px solid var(--ddl-border); border-radius: 0;
  background: var(--ddl-sidebar); box-shadow: none;
}
.vault-sidebar__brand { min-height: 98px; padding: 18px 16px; border-bottom: 0; }
.vault-sidebar__brand > a,
.vault-sidebar__brand .custom-logo-link {
  display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--av-text);
}
.vault-sidebar__brand .custom-logo { width: auto; max-width: 178px; max-height: 50px; }
.vault-sidebar__brand > a > span:last-child { display: flex; min-width: 0; flex-direction: column; line-height: 1.1; }
.vault-sidebar__brand strong { overflow: hidden; font-size: 1.18rem; text-overflow: ellipsis; white-space: nowrap; }
.vault-sidebar__brand small { margin-top: 4px; color: var(--av-muted); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; }
.vault-sidebar__mark {
  display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center;
  border-radius: 5px; background: var(--ddl-blue); color: #fff;
}
.vault-sidebar__mark .av-icon { width: 22px; height: 22px; }
.vault-sidebar__nav { padding: 0 0 18px; }
.vault-sidebar__nav > p {
  margin: 18px 20px 6px; color: #686b70; font-size: .58rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.vault-sidebar__nav > a {
  display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 12px;
  min-height: 47px; padding: 8px 14px 8px 19px; border-left: 3px solid transparent;
  border-radius: 0; color: #97999d; font-size: .82rem; font-weight: 700;
}
.vault-sidebar__nav > a:hover,
.vault-sidebar__nav > a:focus-visible {
  border-left-color: var(--ddl-blue); background: #222; color: #fff;
}
.vault-sidebar__nav > a .av-icon { width: 20px; height: 20px; color: #8b8e92; }
.vault-sidebar__nav > a small { color: #666a70; font-size: .62rem; }
.vault-sidebar__menu { display: block !important; margin: 0; padding: 0; list-style: none; }
.vault-sidebar__menu a {
  display: block; padding: 10px 20px 10px 54px; border-radius: 0; color: #97999d; font-size: .78rem; font-weight: 700;
}
.vault-sidebar__menu a:hover { background: #222; color: #fff; }
.vault-sidebar__menu .sub-menu { position: static; display: block; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; list-style: none; }
.vault-sidebar__menu .sub-menu a { padding-left: 67px; font-size: .7rem; }
.vault-sidebar__footer { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 18px; border-top: 1px solid var(--ddl-border); color: var(--av-muted); }
.vault-sidebar__footer .av-icon { width: 18px; color: var(--ddl-blue); }
.vault-sidebar__footer p { display: flex; flex-direction: column; margin: 0; line-height: 1.4; }
.vault-sidebar__footer strong { color: var(--av-text); font-size: .72rem; }
.vault-sidebar__footer span { font-size: .62rem; }

/* Search and account utility bar */
.site-header.ddl-topbar {
  position: relative; top: auto; z-index: 100; min-height: 108px; padding: 0;
  border: 0; background: #1b1b1b; box-shadow: none; backdrop-filter: none;
}
.admin-bar .site-header.ddl-topbar { top: auto; }
.ddl-topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 108px; padding: 20px 12px; }
.ddl-topbar__search { position: relative; flex: 1 1 auto; margin: 0; }
.ddl-topbar__search input[type="search"] {
  width: 100%; min-height: 51px; padding: 12px 58px 12px 24px;
  border: 1px solid #292b2e; border-radius: 6px; background: #222; color: var(--av-text);
  font-size: .76rem; text-transform: uppercase; box-shadow: none;
}
.ddl-topbar__search input[type="search"]::placeholder { color: #6f7277; opacity: 1; }
.ddl-topbar__search button {
  position: absolute; top: 0; right: 0; display: grid; width: 54px; height: 51px; place-items: center;
  padding: 0; border: 0; background: transparent; color: #92969b;
}
.ddl-topbar__search button:hover { color: #fff; }
.ddl-topbar__search .av-icon { width: 22px; height: 22px; }
.ddl-social-nav { flex: 0 0 auto; margin-left: auto; }
.ddl-social-menu { display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ddl-social-menu li { margin: 0; }
.ddl-social-nav .ddl-social-menu a {
  min-height: 38px; display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 13px; border: 1px solid var(--ddl-border); border-radius: 6px;
  color: #fff; font-size: .72rem; font-weight: 750;
}
.ddl-social-nav .ddl-social-menu a:hover { border-color: var(--ddl-blue); color: #fff; }
.ddl-mobile-menu,
.vault-sidebar__mobile-utility { display: none; }

/* Total Resources index */
.ddl-index-section { padding: 9px 0 72px; }
.ddl-index-section > .container,
.directory-header > .container,
.directory-page > .container { width: calc(100% - 24px); max-width: none; }
.ddl-index-heading { margin-bottom: 21px; }
.ddl-index-heading h1,
.directory-header h1 {
  margin: 0; color: #fff; font-size: clamp(1.85rem,3vw,2.15rem); font-weight: 800; letter-spacing: -.045em;
}
.ddl-index-heading h1 span,
.directory-header h1 span { color: #8d9197; font-weight: 700; }
.ddl-resource-list,
.directory-results .product-grid,
.related-products .product-grid {
  display: block; overflow: hidden; border: 1px solid var(--ddl-border); border-radius: 7px; background: var(--ddl-row);
}
.ddl-resource-row,
.directory-results .ddl-resource-row,
.related-products .ddl-resource-row {
  display: grid; grid-template-columns: 62px minmax(0,1fr); min-height: 59px;
  border: 0; border-bottom: 1px solid var(--ddl-border); border-radius: 0; background: var(--ddl-row); box-shadow: none;
}
.ddl-resource-row:last-child { border-bottom: 0; }
.ddl-resource-row:hover { transform: none; border-color: var(--ddl-border); background: var(--ddl-row-hover); box-shadow: none; }
.ddl-resource-row .product-card__media {
  align-self: center; width: 34px; height: 34px; aspect-ratio: 1; margin: 12px 12px 12px 16px;
  border: 0; border-radius: 4px; background: #171717;
}
.ddl-resource-row .product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ddl-resource-row .product-card__placeholder .av-icon { width: 20px; height: 20px; }
.ddl-resource-row .product-card__placeholder-grid { background-size: 13px 13px; }
.ddl-resource-row .product-card__body {
  display: grid; grid-template-columns: minmax(240px,1fr) 104px 118px 108px minmax(145px,180px);
  grid-template-rows: 1fr; align-items: center; gap: 14px; min-width: 0; padding: 0 15px 0 0;
}
.ddl-resource-row .product-card__title {
  grid-column: 1; grid-row: 1; min-width: 0; margin: 0; font-size: .79rem; font-weight: 750; letter-spacing: -.02em;
}
.ddl-resource-row .product-card__title a { display: block; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.ddl-resource-row .product-card__title a:hover { color: var(--ddl-blue); }
.ddl-resource-row__version,
.ddl-resource-row__date,
.ddl-resource-row__category { color: #999da2; font-size: .68rem; white-space: nowrap; }
.ddl-resource-row__version { grid-column: 2; }
.ddl-resource-row__date { grid-column: 3; }
.ddl-resource-row__category { grid-column: 4; overflow: hidden; text-overflow: ellipsis; }
.ddl-resource-row__taxonomy {
  grid-column: 5; display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 4px;
  overflow: hidden; color: #fff; font-size: .62rem; font-weight: 800; white-space: nowrap;
}
.ddl-resource-row__taxonomy a { overflow: hidden; color: #fff; text-overflow: ellipsis; }
.ddl-resource-row__taxonomy a:hover { color: var(--ddl-blue); }
.resource-list-head { display: none !important; }

/* Directory archive follows the same compact index rhythm. */
.directory-header { padding: 9px 0 3px; border: 0; background: #1b1b1b; }
.directory-header .breadcrumbs,
.directory-header .eyebrow,
.directory-header__row > div > p { display: none; }
.directory-header__row { display: block; }
.directory-layout { display: block; padding-top: 17px; }
.results-toolbar { min-height: 42px; margin-bottom: 11px; }
.results-toolbar p { color: #8f9398; font-size: .73rem; }
.filter-toggle { display: inline-flex; }
.directory-page .filter-panel {
  display: none; position: fixed; z-index: 720; top: 24px; right: 24px; width: min(370px,calc(100vw - 30px));
  max-height: calc(100vh - 48px); margin: 0; padding: 20px; overflow-y: auto;
  border: 1px solid var(--ddl-border); border-radius: 7px; background: #222; box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.directory-page .filter-panel.is-open { display: block; }
.directory-page .filter-panel form { display: block; }
.directory-page .filter-group { margin-bottom: 14px; }
.directory-page .filter-panel .button { width: 100%; }
.directory-page .filter-reset { display: block; margin-top: 12px; text-align: center; }
.directory-page .filter-tip { display: none; }
.filter-close { display: inline-grid; }
body.filters-open::after,
body.nav-open::after { content: ""; position: fixed; z-index: 690; inset: 0; background: rgba(0,0,0,.68); }
body.filters-open,
body.nav-open { overflow: hidden; }

/* Content pages retain the dense shell without a large sticky header. */
.single-product,
.download-landing { padding-top: 22px; }
.download-sidebar,
.download-landing__sidebar,
.has-global-vault-search .download-sidebar,
.has-global-vault-search .download-landing__sidebar,
.admin-bar .download-sidebar,
.admin-bar .download-landing__sidebar,
.admin-bar.has-global-vault-search .download-sidebar,
.admin-bar.has-global-vault-search .download-landing__sidebar { top: 20px; }
.site-footer { border-top-color: var(--ddl-border); background: #1b1b1b; }

@media (min-width: 901px) {
  .vault-sidebar.site-nav {
    position: fixed; z-index: 500; inset: 0 auto 0 0; display: flex !important; width: 220px;
    max-height: none; flex-direction: column; overflow-x: hidden; overflow-y: auto;
  }
  .admin-bar .vault-sidebar.site-nav { top: 32px; }
  .site-header.ddl-topbar,
  .site-main,
  .site-footer { margin-left: 220px !important; }
  .ddl-mobile-menu { display: none !important; }
}

@media (min-width: 901px) and (max-width: 1160px) {
  .ddl-resource-row .product-card__body { grid-template-columns: minmax(190px,1fr) 90px minmax(130px,170px); }
  .ddl-resource-row__version { grid-column: 2; }
  .ddl-resource-row__date,
  .ddl-resource-row__category { display: none; }
  .ddl-resource-row__taxonomy { grid-column: 3; }
}

@media (max-width: 900px) {
  .site-header.ddl-topbar { display: none; }
  .site-main,
  .site-footer { margin-left: 0 !important; }
  .vault-sidebar.site-nav {
    position: fixed; z-index: 700; inset: 0 auto 0 0; display: flex !important; width: min(290px,84vw); max-height: none;
    flex-direction: column; overflow-x: hidden; overflow-y: auto; transform: translateX(-102%);
    transition: transform .22s ease; box-shadow: 18px 0 50px rgba(0,0,0,.42);
  }
  .admin-bar .vault-sidebar.site-nav { top: 46px; }
  .vault-sidebar.site-nav.is-open { transform: translateX(0); }
  .ddl-mobile-menu {
    position: fixed; z-index: 740; left: 2px; bottom: 18px; display: grid !important; width: 58px; height: 56px;
    padding: 0; place-items: center; border: 0; border-radius: 0 17px 17px 0; background: var(--ddl-blue); color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .ddl-mobile-menu:hover { background: color-mix(in srgb, var(--ddl-blue) 85%, white); }
  .ddl-mobile-menu .av-icon { width: 24px; height: 24px; }
  body.nav-open::after { z-index: 680; }
  .ddl-index-section { padding: 17px 0 54px; }
  .ddl-index-section > .container,
  .directory-header > .container,
  .directory-page > .container { width: calc(100% - 20px); }
  .ddl-index-heading { margin-bottom: 21px; }
  .ddl-index-heading h1,
  .directory-header h1 { font-size: clamp(1.8rem,7.2vw,2.05rem); }
  .ddl-resource-list,
  .directory-results .product-grid,
  .related-products .product-grid { border-radius: 7px; }
  .ddl-resource-row,
  .directory-results .ddl-resource-row,
  .related-products .ddl-resource-row { grid-template-columns: 62px minmax(0,1fr); min-height: 59px; }
  .ddl-resource-row .product-card__media { width: 34px; height: 34px; margin: 12px 12px 12px 16px; }
  .ddl-resource-row .product-card__body {
    display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 1fr; gap: 10px;
    min-width: 0; padding: 0 16px 0 0;
  }
  .ddl-resource-row .product-card__title { grid-column: 1; grid-row: 1; font-size: .79rem; }
  .ddl-resource-row__version { grid-column: 2; grid-row: 1; color: #999da2; font-size: .67rem; }
  .ddl-resource-row__date,
  .ddl-resource-row__category,
  .ddl-resource-row__taxonomy { display: none; }
  .directory-header { padding-top: 17px; }
  .directory-layout { padding-top: 11px; }
  .directory-page .filter-panel { top: 14px; right: 14px; max-height: calc(100vh - 28px); }
  .single-product,
  .download-landing { padding-top: 18px; }
  .download-sidebar,
  .download-landing__sidebar { top: auto; }
}

@media (max-width: 480px) {
  .ddl-index-section > .container,
  .directory-header > .container,
  .directory-page > .container { width: calc(100% - 18px); }
  .ddl-resource-row,
  .directory-results .ddl-resource-row,
  .related-products .ddl-resource-row { grid-template-columns: 60px minmax(0,1fr); }
  .ddl-resource-row .product-card__media { margin-left: 16px; }
  .ddl-resource-row .product-card__body { padding-right: 15px; }
  .ddl-resource-row .product-card__title { font-size: .77rem; }
}

/* 3.6.0 mobile drawer search, social menu, and download countdown */
.landing-download-countdown {
  display: flex; align-items: center; gap: 10px; min-height: 58px; margin: 5px 0 0; padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--av-accent) 34%, var(--av-border)); border-radius: 6px;
  background: color-mix(in srgb, var(--av-accent) 9%, var(--av-surface-2)); color: var(--av-muted);
  font-size: .76rem; line-height: 1.4;
}
.landing-download-countdown .av-icon { width: 21px; height: 21px; color: var(--av-accent); }
.landing-download-countdown strong { color: var(--av-text); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.landing-download-actions[hidden],
.landing-download-countdown[hidden] { display: none !important; }

@media (max-width: 900px) {
  .vault-sidebar.site-nav {
    width: min(440px, calc(100vw - 34px)); background: #2a2a2a;
  }
  .vault-sidebar__mobile-utility {
    display: block; padding: 21px 15px 16px; border-bottom: 1px solid #333; background: #292929;
  }
  .vault-sidebar__brand { display: none; }
  .vault-sidebar__mobile-social { margin-bottom: 20px; }
  .vault-sidebar__mobile-social .ddl-social-menu { display: flex !important; flex-wrap: wrap; gap: 8px; }
  .vault-sidebar__mobile-social .ddl-social-menu a {
    min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 14px; border: 1px solid transparent; border-radius: 6px;
    color: #fff; font-size: .75rem; font-weight: 750;
  }
  .vault-sidebar__mobile-social .ddl-social-menu a:hover { border-color: var(--ddl-blue); color: #fff; }
  .vault-sidebar__search { position: relative; margin: 0; }
  .vault-sidebar__search input[type="search"] {
    width: 100%; min-height: 49px; padding: 11px 54px 11px 15px;
    border: 1px solid #303030; border-radius: 7px; background: #1b1b1b; color: #fff;
    font-size: .76rem; text-transform: uppercase; box-shadow: none;
  }
  .vault-sidebar__search input[type="search"]::placeholder { color: #777b80; opacity: 1; }
  .vault-sidebar__search button {
    position: absolute; top: 0; right: 0; display: grid; width: 50px; height: 49px; place-items: center;
    padding: 0; border: 0; background: transparent; color: #92969b;
  }
  .vault-sidebar__search button:hover { color: #fff; }
  .vault-sidebar__search .av-icon { width: 21px; height: 21px; }
  .vault-sidebar__nav { padding-top: 28px; }
  .vault-sidebar__nav > p { margin-top: 20px; }
  .vault-sidebar__nav > a {
    min-height: 50px; border-bottom: 1px solid #343434; color: #a5a7aa;
  }
  .vault-sidebar__menu a { border-bottom: 1px solid #343434; }
  .nav-open .ddl-mobile-menu { left: 10px; border-radius: 16px; }
}

@media (max-width: 480px) {
  .vault-sidebar__mobile-utility { padding-inline: 14px; }
  .vault-sidebar__mobile-social { margin-bottom: 17px; }
  .landing-download-countdown { align-items: flex-start; }
}

/* 3.7.0 built-in contact page and lightweight cookie notice */
.contact-page-main { padding: 28px 0 86px; }
.contact-page-shell { width: min(calc(100% - 36px), 1080px); }
.contact-page-header { max-width: 720px; margin-bottom: 26px; }
.contact-page-header .eyebrow { margin-bottom: 10px; }
.contact-page-header h1 { margin-bottom: 10px; font-size: clamp(2rem,4vw,3.25rem); }
.contact-page-header > p:last-child { margin: 0; color: var(--av-muted); }
.contact-page-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 20px; }
.contact-form-panel,
.contact-info-panel { border: 1px solid var(--ddl-border); border-radius: 7px; background: var(--ddl-row); }
.contact-form-panel { padding: clamp(20px,3vw,32px); }
.contact-form-panel h2 { margin-bottom: 20px; font-size: 1.28rem; }
.contact-form p { margin: 0 0 16px; }
.contact-form label { display: block; margin-bottom: 6px; color: var(--av-text); font-size: .74rem; font-weight: 750; }
.contact-form label span { color: var(--av-accent); }
.contact-form input,
.contact-form textarea { width: 100%; border-radius: 5px; background: #1b1b1b; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form__row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-form__privacy { color: var(--av-muted); font-size: .68rem; }
.contact-honeypot {
  position: absolute !important; width: 1px; height: 1px; margin: -1px !important; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.contact-notice { margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--av-border); border-radius: 5px; font-size: .76rem; }
.contact-notice--success { border-color: color-mix(in srgb, var(--av-accent) 40%, var(--av-border)); background: color-mix(in srgb, var(--av-accent) 8%, var(--av-surface)); }
.contact-notice--error { border-color: color-mix(in srgb, var(--av-danger) 48%, var(--av-border)); background: color-mix(in srgb, var(--av-danger) 7%, var(--av-surface)); }
.contact-info-panel { overflow: hidden; }
.contact-info-panel > div { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border-bottom: 1px solid var(--ddl-border); }
.contact-info-panel > div:last-child { border-bottom: 0; }
.contact-info-panel .av-icon { width: 21px; height: 21px; color: var(--av-accent); }
.contact-info-panel span { display: flex; flex-direction: column; line-height: 1.45; }
.contact-info-panel strong { font-size: .76rem; }
.contact-info-panel small { margin-top: 3px; color: var(--av-muted); font-size: .65rem; }

.cookie-notice {
  position: fixed; z-index: 1000; right: 20px; bottom: 20px; left: 240px;
  border: 1px solid #3a3d42; border-radius: 8px; background: #242424;
  box-shadow: 0 22px 65px rgba(0,0,0,.52);
}
.cookie-notice[hidden] { display: none !important; }
.cookie-notice__content { display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 15px 16px; }
.cookie-notice__icon {
  display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center;
  border-radius: 50%; background: color-mix(in srgb, var(--av-accent) 12%, transparent); color: var(--av-accent);
}
.cookie-notice__icon .av-icon { width: 20px; height: 20px; }
.cookie-notice__copy { min-width: 0; flex: 1; }
.cookie-notice__copy strong { font-size: .8rem; }
.cookie-notice__copy p { margin: 2px 0 0; color: var(--av-muted); font-size: .68rem; line-height: 1.5; }
.cookie-notice__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-notice__actions .button { min-height: 39px; padding: 8px 13px; font-size: .7rem; white-space: nowrap; }

@media (max-width: 900px) {
  .contact-page-main { padding-top: 20px; }
  .contact-page-shell { width: calc(100% - 20px); }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-info-panel { order: -1; }
  .cookie-notice { right: 10px; bottom: 84px; left: 10px; }
  .cookie-notice__content { align-items: flex-start; flex-wrap: wrap; }
  .cookie-notice__copy { width: calc(100% - 54px); }
  .cookie-notice__actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 560px) {
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-panel { padding: 19px 16px; }
  .cookie-notice__icon { display: none; }
  .cookie-notice__copy { width: 100%; }
  .cookie-notice__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-notice__actions .button { width: 100%; }
}
