/* LoopToSong · FL Studio stock plugins guide
   Every plugin is a rack unit: an LCD with its interface, a face plate, and panels that open. */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(1000px 640px at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(1000px 640px at 50% 0%, #000 0%, transparent 75%); }
:root { --pad: linear-gradient(180deg, #3A3C3A 0%, #323432 100%); --pad-line: #464946; --lcd-line: rgba(244, 243, 236, 0.2); --scan: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px); }

/* category accents: calm colours only (sage, lilac, clay, sand, slate, bone); orange is kept for the main action */
.cat-eq { --acc: #E4E5E0; }
.cat-limiter { --acc: #C4B3D8; }
.cat-compressor { --acc: #D9BBAE; }
.cat-saturation { --acc: #E2C27D; }
.cat-reverb { --acc: #B3BECA; }
.cat-delay { --acc: #C9AE92; }
.cat-imaging { --acc: #E4E0D4; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 40; top: -80px; left: 16px; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; background: var(--t500); color: var(--on-teal); border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.nav .brand, .footer .brand { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links .btn-inv { height: 44px; }

/* ---------- hero ---------- */
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr); align-items: center; gap: 44px; padding: 58px 0 52px; border-bottom: 1px solid var(--line); }
.guide-hero .eyebrow { margin-bottom: 20px; }
.guide-hero h1 { max-width: 900px; font-size: clamp(38px, 5vw, 64px); }
.guide-hero .lead { margin-top: 24px; max-width: 65ch; color: var(--text); }
.guide-note { max-width: 70ch; margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.hero-unit { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 8px; background: linear-gradient(180deg, #323432, #2E302E); border: 1px solid var(--pad-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--device-shadow); }
.hero-unit__head { display: flex; align-items: center; gap: 8px; padding: 0 4px; font: 700 12px "JetBrains Mono", monospace; letter-spacing: .08em; color: var(--accent); }
.hero-unit__head span:last-child { margin-left: auto; color: var(--muted); font-size: 11px; }
.hero-screen { position: relative; overflow: hidden; padding: 18px; border-radius: 6px; background: var(--screen); border: 1px solid var(--lcd-line); color: #F4F3EC; box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.55); }
.hero-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--scan); }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 4px; background: rgba(0, 0, 0, 0.22); }
.hero-stats dt { font: 700 10px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--t300); }
.hero-stats dd { margin: 0; font: 800 30px/1.1 "JetBrains Mono", monospace; color: #ECEDE8; text-shadow: none; }
.hero-meter { display: flex; align-items: flex-end; gap: 3px; height: 46px; }
.hero-meter i { flex: 1 1 0; height: 100%; border-radius: 2px; background: linear-gradient(180deg, var(--t300), var(--t700)); box-shadow: none; transform-origin: bottom; transform: scaleY(.35); }
.hero-meter i:nth-child(3n) { transform: scaleY(.7); }
.hero-meter i:nth-child(4n+1) { transform: scaleY(.5); }
.hero-meter i:nth-child(5n+2) { transform: scaleY(.9); }

/* ---------- contents, dock and rack ---------- */
.guide-contents { padding: 42px 0 18px; }
.guide-contents h2 { font-size: 28px; margin-bottom: 20px; }
.js .guide-contents h2 { margin-bottom: 0; }
.js .category-links { display: none; }
.category-links { display: flex; flex-wrap: wrap; gap: 10px; }
.category-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); text-decoration: none; font-weight: 650; }
.category-links span { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 12px; }

.filter-dock { position: sticky; top: 10px; z-index: 30; display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px; border-radius: 6px; background: rgba(36, 38, 42, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border: 1px solid var(--pad-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.35); }
.filter-dock.is-away { visibility: hidden; opacity: 0; pointer-events: none; }
.chip-row { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 1px; }
.chip-row::-webkit-scrollbar { display: none; }
.cat-chip[data-cat="all"] { --acc: var(--t500); }
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 0 10px; border-radius: 4px; border: 1px solid var(--pad-line); background: var(--pad); color: var(--text); font: 650 14px Archivo, sans-serif; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 2px 0 rgba(0, 0, 0, 0.25); }
.cat-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); opacity: .55; }
.cat-chip span { color: var(--muted); font: 700 11px "JetBrains Mono", monospace; }
.cat-chip[aria-pressed="true"] { color: #fff; border-color: var(--acc); background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 26%, #242624), color-mix(in srgb, var(--acc) 12%, #1E1F1E)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.cat-chip[aria-pressed="true"]::before { opacity: 1; box-shadow: none; }
.cat-chip[aria-pressed="true"] span { color: #F4F3EC; }
.dock-search { position: relative; flex: 0 1 240px; min-width: 0; }
.dock-search svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--t400); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.dock-search input { width: 100%; min-height: 44px; padding: 8px 64px 8px 40px; border-radius: 4px; border: 1px solid var(--border); background: #1E1F1E; color: var(--text); font: inherit; font-size: 15px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45); }
.dock-search input::placeholder { color: var(--muted); }
.dock-search input:focus { border-color: var(--t500); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(244, 243, 236, 0.2); outline: none; }
.dock-search input:focus-visible { outline: 2px solid var(--t500); outline-offset: 1px; }
.dock-count { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--t300); font-size: 12px; font-weight: 700; pointer-events: none; }

.plugin-rack { padding: 0 0 30px; }
.plugin-rack > p { margin: 0 0 12px; color: var(--muted); }
.plugin-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.rack-tile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 10px; align-items: center; min-height: 72px; padding: 12px 14px 12px 16px; border-radius: 4px; border: 1px solid var(--pad-line); background: var(--pad); color: var(--text); text-decoration: none; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 16px rgba(0, 0, 0, 0.18); }
.rack-tile::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--acc); box-shadow: none; }
.rt-num { font: 800 12px "JetBrains Mono", monospace; color: var(--acc); }
.rt-cat { justify-self: end; font: 700 10px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rt-name { grid-column: 1 / -1; grid-row: 2; font: 700 15px/1.25 Archivo, sans-serif; }
.no-results { margin: 0 0 40px; padding: 28px; border: 1px dashed var(--border); border-radius: 6px; color: var(--muted); text-align: center; }
.plugin-card[hidden], .category[hidden], .plugin-links li[hidden], .filter-dock[hidden], .no-results[hidden] { display: none !important; }

/* ---------- categories ---------- */
.category { scroll-margin-top: calc(var(--dock-h, 0px) + 28px); padding: 12px 0 30px; }
.category-heading { display: flex; align-items: center; gap: 14px; padding: 12px 0 20px; }
.category-heading .mono { order: 2; flex: none; color: var(--acc); font-size: 13px; font-weight: 700; }
.category-heading h2 { order: 1; display: inline-flex; align-items: center; gap: 12px; font-size: 30px; }
.category-heading h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); box-shadow: none; }
.category-heading::after { content: ""; order: 3; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 55%, transparent), transparent); }

/* ---------- the device card ---------- */
.plugin-card { position: relative; scroll-margin-top: calc(var(--dock-h, 0px) + 28px); margin: 0 0 26px; padding: 24px; border-radius: 24px; background: radial-gradient(70% 50% at 100% 0%, color-mix(in srgb, var(--acc) 9%, transparent), transparent 70%), linear-gradient(180deg, #323432, #282A28); border: 1px solid var(--pad-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.3); }
.plugin-card::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 3px; border-radius: 0 0 3px 3px; background: var(--acc); box-shadow: none; }
.plugin-card::after { content: ""; position: absolute; inset: 9px; pointer-events: none; background: radial-gradient(circle, #5E625E 0 1.6px, #222322 2.2px 3.2px, transparent 3.6px) 0 0 / 8px 8px no-repeat, radial-gradient(circle, #5E625E 0 1.6px, #222322 2.2px 3.2px, transparent 3.6px) 100% 0 / 8px 8px no-repeat, radial-gradient(circle, #5E625E 0 1.6px, #222322 2.2px 3.2px, transparent 3.6px) 0 100% / 8px 8px no-repeat, radial-gradient(circle, #5E625E 0 1.6px, #222322 2.2px 3.2px, transparent 3.6px) 100% 100% / 8px 8px no-repeat; }
.plugin-device { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-bottom: 22px; }
.device-screen { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 250px; padding: 10px 14px 12px; border-radius: 6px; background: var(--screen); border: 1px solid var(--lcd-line); box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.55), 0 14px 36px rgba(0, 0, 0, 0.3); }
.device-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 38%), var(--scan); }
.screen-bar { display: flex; align-items: center; gap: 10px; font: 700 11px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--t300); }
.screen-bar span:last-child { margin-left: auto; color: var(--acc); }
.screen-led { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: none; }
.plugin-image { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 0; }
.plugin-image img { display: block; width: auto; max-width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 12px 30px rgba(0, 0, 0, 0.5); }
.plugin-image figcaption { align-self: stretch; color: var(--t300); font-size: 11px; }
.plugin-image--empty span { font: 800 22px Archivo, sans-serif; color: #ECEDE8; text-shadow: none; }
.device-info { display: flex; flex-direction: column; min-width: 0; padding: 6px 0 2px; }
.plugin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: 12px; }
.plugin-number { color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.plugin-category { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 13%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); color: var(--acc); font: 800 10.5px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.plugin-level { display: inline-flex; align-items: center; gap: 8px; color: #D8E0DA; font: 600 12px "JetBrains Mono", monospace; }
.level-meter { display: inline-flex; gap: 3px; }
.level-meter i { width: 5px; height: 12px; border-radius: 2px; background: #4B4E4B; transform: skewX(-12deg); }
.level-meter i.on { background: var(--acc); box-shadow: none; }
.plugin-card h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.08; }
.plugin-card h2 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.plugin-card h3 { margin: 22px 0 9px; font-size: 19px; }
.plugin-card h4 { margin: 16px 0 5px; font-size: 16px; }
.plugin-card p { margin: 0 0 14px; line-height: 1.65; }
.plugin-tagline { max-width: 60ch; margin: 10px 0 18px !important; color: #DCE3DD; font-size: 17px; line-height: 1.55 !important; }
.use-for { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.plugin-card .use-label { margin: 0 0 10px; font: 700 11px "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.use-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.use-chips li { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--pad-line); color: #D8E0DA; font-size: 12.5px; line-height: 1.35; }
.use-chips li::first-letter { text-transform: uppercase; }
.plugin-overview { max-width: 82ch; padding: 0 4px 10px; }
.plugin-overview h3:first-child { margin-top: 0; }
.plugin-overview p { color: #D8E0DA; }

/* ---------- panels ---------- */
.plugin-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-section { min-width: 0; align-self: start; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #1F201F; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.guide-section summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 9px 14px 9px 10px; list-style: none; cursor: pointer; font-weight: 700; }
.guide-section summary::-webkit-details-marker { display: none; }
.guide-section summary:focus-visible { outline-offset: -3px; border-radius: 4px; }
.gs-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4px; background: var(--screen); border: 1px solid var(--lcd-line); }
.gs-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--t300); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gs-label { flex: 1 1 auto; min-width: 0; }
.gs-count { flex: none; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); font: 700 11px "JetBrains Mono", monospace; }
.gs-plus { position: relative; flex: none; width: 22px; height: 22px; }
.gs-plus::before, .gs-plus::after { content: ""; position: absolute; left: 5px; top: 10px; width: 12px; height: 2px; border-radius: 1px; background: var(--acc); }
.gs-plus::after { transform: rotate(90deg); }
.guide-section[open]:not(.closing) .gs-plus::after { transform: rotate(0deg); }
.guide-section[open] { border-color: color-mix(in srgb, var(--acc) 38%, var(--line)); }
.guide-section[open] summary { border-bottom: 1px solid var(--line); }
.guide-section[open] .gs-icon { border-color: color-mix(in srgb, var(--acc) 50%, transparent); box-shadow: none; }
.guide-section[open] .gs-icon svg { stroke: #ECEDE8; filter: none; }
.guide-section__body { padding: 4px 18px 18px; color: var(--muted); overflow-wrap: anywhere; }
.guide-section__body h3, .guide-section__body h4, .controls dt, .availability dt { color: var(--text); }
.guide-section__body ul, .guide-section__body ol { padding-left: 22px; margin: 8px 0 18px; }
.guide-section__body li { padding-left: 3px; margin: 0 0 9px; line-height: 1.6; }
.guide-section__body li::marker { color: var(--acc); }
.controls { margin: 0 0 22px; }
.control { position: relative; padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); }
.control::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--acc); }
.control dt, .availability dt { font-weight: 700; }
.control dd, .availability dd { margin: 4px 0 0; line-height: 1.6; }
.analogy { padding: 12px 14px; border-left: 3px solid var(--acc); background: color-mix(in srgb, var(--acc) 7%, #2E302E); border-radius: 0 10px 10px 0; color: #D8E0DA; }
.analogy strong { color: var(--t300); }
.tip-list { list-style: none; padding-left: 0 !important; }
.tip-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.tip-level { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--acc) 13%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); color: var(--acc); font: 700 11px "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.availability { margin: 12px 0 18px; }
.availability > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--accent); font-size: 14px; text-decoration: none; }

.app-strip { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 24px 0 64px; padding: 30px; border-radius: 8px; background: var(--screen); border: 1px solid var(--t800); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.app-strip::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--scan); }
.app-strip > * { position: relative; z-index: 1; }
.app-strip .mono { color: var(--t300); font-size: 12px; letter-spacing: .08em; }
.app-strip h2 { margin: 6px 0; font-size: 30px; }
.app-strip p { margin: 0; color: var(--t300); }
.app-strip .btn { min-height: 54px; height: auto; text-align: center; }
.footer a:not(.brand) { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- motion (only when welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cat-chip, .rack-tile, .guide-section, .guide-section summary, .gs-icon, .back-link, .category-links a { transition: transform .1s ease, background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
  .gs-plus::after { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
  .cat-chip:active, .rack-tile:active { transform: translateY(1px) scale(.97); }
  .hero-meter i { animation: l2s-eq 1.3s ease-in-out infinite; }
  .hero-meter i:nth-child(2n) { animation-duration: .9s; }
  .hero-meter i:nth-child(3n) { animation-duration: 1.6s; animation-delay: -.4s; }
  .hero-meter i:nth-child(5n) { animation-duration: 1.1s; animation-delay: -.7s; }
  .hero-meter i:nth-child(7n) { animation-delay: -1s; }
  @keyframes l2s-eq { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
  .hero-stats dd { animation: l2s-flicker .9s .2s both; }
  @keyframes l2s-flicker { 0% { opacity: 0; } 20% { opacity: 1; } 30% { opacity: .3; } 45%, 100% { opacity: 1; } }
  .is-filtered .plugin-card:not([hidden]), .is-filtered .plugin-links li:not([hidden]) { animation: l2s-rise .4s cubic-bezier(.2, .75, .2, 1) both; }
  @keyframes l2s-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @media (hover: hover) {
    .cat-chip:hover, .category-links a:hover { border-color: var(--acc, var(--accent)); }
    .rack-tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--acc) 55%, var(--pad-line)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px color-mix(in srgb, var(--acc) 20%, transparent), 0 14px 28px rgba(0, 0, 0, 0.3); }
    .guide-section summary:hover { background: rgba(255, 255, 255, 0.03); }
    .guide-section summary:hover .gs-icon { border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
    .plugin-card h2 a:hover { color: var(--acc); opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- layout ---------- */
@media (max-width: 1000px) {
  .guide-hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-unit { max-width: 520px; }
  .plugin-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .plugin-device { grid-template-columns: 1fr; gap: 18px; }
  .device-screen { min-height: 0; }
  .plugin-details { grid-template-columns: 1fr; }
  .filter-dock { flex-direction: column; align-items: stretch; }
  .dock-search { flex: none; }
}
@media (max-width: 640px) {
  .guide-hero { padding: 34px 0 38px; }
  .guide-hero h1 { font-size: 38px; }
  .hero-stats dd { font-size: 26px; }
  .guide-contents { padding: 32px 0 14px; }
  .js .guide-contents h2 { font-size: 24px; }
  .filter-dock { top: 6px; gap: 6px; padding: 6px; margin-left: -6px; margin-right: -6px; border-radius: 6px; }
  .chip-row { flex-wrap: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
  .plugin-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rack-tile { min-height: 64px; padding: 10px 10px 10px 14px; }
  .rt-name { font-size: 14px; }
  .category { padding-top: 6px; }
  .category-heading h2 { font-size: 26px; }
  .plugin-card { padding: 16px; border-radius: 6px; }
  .plugin-card::after { inset: 6px; }
  .device-screen { padding: 9px 10px 10px; }
  .plugin-image img { max-height: 210px; }
  .plugin-tagline { font-size: 16px; }
  .guide-section summary { gap: 10px; padding: 8px 10px 8px 8px; }
  .guide-section__body { padding: 4px 14px 14px; }
  .app-strip { padding: 22px; }
  .app-strip .btn { width: 100%; }
}
@media (max-width: 380px) {
  .gs-count { display: none; }
}

/* full plugin catalogue */
.catalogue { margin: 56px 0 24px; scroll-margin-top: 16px; }
.catalogue-head h2 { margin: 6px 0 8px; font-size: clamp(26px, 4vw, 36px); }
.catalogue-head p { color: var(--muted); max-width: 46em; line-height: 1.6; }
.catalogue-tools { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; background: rgba(27, 28, 32, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.legacy-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--muted); cursor: pointer; }
.legacy-toggle input { width: 20px; height: 20px; accent-color: var(--t500); }
.catalogue-list { display: grid; gap: 18px; margin-top: 10px; }
.cat-group h3 { margin: 0 0 8px; font-size: 18px; }
.cat-group h3 span { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted); font-weight: 500; }
.cat-group ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); overflow: hidden; }
.cat-item { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.2fr) auto; gap: 6px 16px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.cat-item:first-child { border-top: 0; }
.ci-name { font-weight: 700; }
.ci-name a { color: var(--text); text-decoration: none; }
.ci-name a:hover, .ci-name a:focus-visible { color: var(--accent); text-decoration: underline; }
.cat-deep { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 5px; background: var(--sel); color: var(--on-teal); font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; }
.ci-purpose { color: var(--muted); font-size: 14px; line-height: 1.45; }
.ci-meta { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.ci-meta span { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted); white-space: nowrap; }
.ci-meta .ci-ed { border-color: var(--t700); color: var(--t300); }
.ci-meta .ci-ed.unknown { border-style: dashed; border-color: var(--line); color: var(--muted); }
.ci-meta .ci-legacy { border-color: #8a6a3a; color: #e0b878; }
@media (max-width: 720px) {
  .cat-item { grid-template-columns: 1fr; }
  .ci-meta { justify-content: flex-start; }
}

/* ---------- design pass 2026-11-05: one column hero, no decorative numbers, no slats or glows ---------- */
:root { --screen: #1E1F1E; --scan: none; }
.guide-hero { display: block; padding: 44px 0 36px; }
.guide-hero .lead { margin-top: 18px; }
.rt-num, .category-heading > .mono, .plugin-number { display: none; }

/* Minimal pass (Codex review 39, 2026-11-10): every plugin entry is the same flat card; no corner dots,
   no category-coloured top rule, no tint; the chosen category chip is flat orange */
.plugin-card { background: #323432; border: 1px solid #464946; box-shadow: none; border-radius: 8px; }
.plugin-card::before, .plugin-card::after { display: none; }
.cat-chip[aria-pressed="true"] { background: #F06A3B; border-color: #F06A3B; color: #1F201F; box-shadow: none; }
.cat-chip[aria-pressed="true"] span { color: #1F201F; }
.cat-chip[aria-pressed="true"]::before { background: #1F201F; }
