/* =============================================================================
   Hamcodes Labs theme, matched to thefilter.hamcodes.com: dark, flat, one mint
   green brand, IBM Plex Sans and Mono. Categories are told apart by colour
   (each card carries its own --cc), not by icons.
   ========================================================================== */
:root {
  --bg: #05060d;
  --bg-2: #070812;
  /* glass: translucent so the night sky and its stars show through */
  --surface: rgba(12, 15, 25, 0.5);
  --surface-2: rgba(19, 24, 38, 0.46);
  --surface-3: rgba(30, 36, 56, 0.55);
  --glass-blur: saturate(1.2) blur(14px);
  --line: #1f2434;
  --line-soft: #161a27;
  --text: #eef1f7;
  --read: #aeb6c6;
  --muted: #7f889b;

  --brand: #3ddba3;
  --brand-hi: #5fe5b5;
  --brand-lo: #2cc08c;
  --on-accent: #06130e;
  --safe: #4ade8a;
  --threat: #ff5a72;
  --amber: #e8b33c;
  --violet: #a98bff;

  --cc: var(--brand);            /* per-card category colour, set inline */

  --radius: 13px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow: 0 16px 40px -30px rgba(0,0,0,.85);
  --shadow-soft: 0 10px 28px -24px rgba(0,0,0,.7);
  --maxw: 1140px;
  --gutter: 20px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: var(--sans);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--read);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--text); line-height: 1.14; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hi); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* the night sky, borrowed from thefilter.hamcodes.com (stars.js) */
#bgCanvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
/* every panel is frosted glass, so the sky and its stars show through it */
.cat-card, .ex, .feature, .stat, .panel, .faq-item, .track-row, .disclaimer,
.searchbar input, .showcase .frame, .inside-shot, .demo-form input, .demo-form textarea {
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.section { padding: clamp(46px, 7vw, 92px) 0; }
.section-tight { padding: clamp(30px, 5vw, 54px) 0; }
.center { text-align: center; }
.lead { font-size: 1.16rem; color: var(--read); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brand);
  font-weight: 500; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.center .eyebrow { justify-content: center; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--mono); font-weight: 500; font-size: .92rem; letter-spacing: .02em; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius-pill); border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--on-accent); font-weight: 600; }
.btn-primary:hover { background: var(--brand-hi); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 16px 26px; font-size: .98rem; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }

/* chips, tags, badges */
.tag {
  display: inline-flex; align-items: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .03em;
  color: var(--read); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .06em; padding: 4px 9px; border-radius: var(--radius-pill); text-transform: uppercase; }
.badge-live { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }
.badge-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.badge-new { background: color-mix(in srgb, var(--violet) 16%, transparent); color: var(--violet); }
.badge-soon { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.level { font-family: var(--mono); font-size: .7rem; color: var(--muted); }

/* ------------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-weight: 600; color: var(--text); font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; }
.brand:hover { text-decoration: none; opacity: .6; }
.brand b { font-weight: 600; color: var(--brand); }
.brand-logo { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.blink-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: blink 1.6s infinite; flex: 0 0 auto; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--read); font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--brand); }
.nav a.out::after { content: " \2197"; color: var(--brand); }
.nav-toggle { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--text); }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(80% 60% at 50% -10%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%); }
.hero .wrap { padding-top: clamp(52px, 9vw, 108px); padding-bottom: clamp(40px, 6vw, 72px); text-align: center; }
.hero h1 { font-size: clamp(3rem, 8.5vw, 6rem); line-height: 1.0; letter-spacing: -.03em; margin-bottom: .3em; max-width: 15ch; margin-inline: auto; }
.hero .lead { font-size: 1.32rem; margin-inline: auto; }
/* one word picked out in green (no box), the way thefilter keeps its headings */
.hl { color: var(--brand); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.hero-trust { margin-top: 26px; color: var(--muted); font-size: .92rem; }
.hero-trust b { color: var(--text); }

/* --------------------------------------------- big live 3D showcase below hero */
.showcase { border-block: 1px solid var(--line-soft); }
.showcase .frame { max-width: 1000px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.showcase .pane-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.showcase .dotrow { display: flex; gap: 6px; }
.showcase .dotrow i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.showcase .pane-title { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-left: auto; }
.hero-embed { position: relative; aspect-ratio: 16 / 9; background: #06140E; }
.hero-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.hero-embed .facade { position: absolute; inset: 0; border: 0; padding: 24px; cursor: pointer; display: grid; place-items: center; text-align: center; color: #fff; width: 100%;
  background: radial-gradient(90% 80% at 50% 34%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 60%), linear-gradient(160deg, #0d2b22, #06140E); }
.hero-embed .facade .play-ring { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-accent); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 20%, transparent); margin: 0 auto 16px; transition: transform .15s var(--ease); }
.hero-embed .facade:hover .play-ring { transform: scale(1.06); }
.hero-embed .facade .play-ring svg { width: 30px; height: 30px; }
.hero-embed .facade b { display: block; font-family: var(--display); font-size: 1.35rem; color: #fff; }
.hero-embed .facade span { color: color-mix(in srgb, #fff 74%, transparent); font-size: .94rem; margin-top: 4px; }
.hero-embed.is-live .facade { display: none; }
.showcase .frame-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px; border-top: 1px solid var(--line); }
.showcase .frame-foot .meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* -------------------------------------------------------------- stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-family: var(--display); font-size: 2rem; color: var(--text); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-family: var(--mono); font-size: .78rem; letter-spacing: .03em; }

/* ---------------------------------------------------------------- features */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.feature .num { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--on-accent); background: var(--cc, var(--brand)); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { margin-bottom: .35em; color: var(--text); }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* -------------------------------------------------------- category cards */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; color: inherit; position: relative; overflow: hidden;
  transition: transform .18s var(--ease), border-color .2s, background .2s; }
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cc); opacity: .9; }
.cat-card:hover { text-decoration: none; transform: translateY(-3px); border-color: color-mix(in srgb, var(--cc) 50%, var(--line)); background: var(--surface-2); }
.cat-card .top { display: flex; align-items: center; gap: 13px; }
.cat-card .cat-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); flex: none; }
.cat-card .cat-ic svg { width: 24px; height: 24px; }
.cat-card .th h3 { margin: 0; font-size: 1.24rem; color: var(--text); }
.cat-card .count { font-family: var(--mono); font-size: .72rem; color: var(--cc); }
.cat-card > p { color: var(--muted); margin: 12px 0 0; font-size: .96rem; }
.cat-card .peek { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.cat-card .peek .row { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--read); }
.cat-card .peek .row::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cc); flex: none; }
.cat-card .more { margin-top: 18px; color: var(--cc); font-family: var(--mono); font-size: .82rem; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.cat-card .more .ar { transition: transform .18s var(--ease); }
.cat-card .more .ar svg { width: 15px; height: 15px; }
.cat-card:hover .more .ar { transform: translateX(3px); }

/* the Developer Track: full-width rows, the way RansomLeak lists them */
.track { display: flex; flex-direction: column; gap: 14px; }
.track-row { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; position: relative; overflow: hidden; color: inherit;
  transition: transform .16s var(--ease), border-color .2s, background .2s; }
.track-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cc); }
.track-row:hover { text-decoration: none; transform: translateX(3px); border-color: color-mix(in srgb, var(--cc) 45%, var(--line)); background: var(--surface-2); }
.track-row .cat-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); flex: none; }
.track-row .cat-ic svg { width: 26px; height: 26px; }
.track-row .tr-body { flex: 1; min-width: 0; }
.track-row .tr-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.track-row .tr-head h3 { margin: 0; font-size: 1.28rem; color: var(--text); }
.track-row .tr-head .count { font-family: var(--mono); font-size: .74rem; color: var(--cc); }
.track-row .tr-sub { color: var(--muted); font-size: .94rem; margin: 5px 0 0; }
.track-row .tr-ar { color: var(--cc); flex: none; }
.track-row .tr-ar svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .track-row { gap: 14px; padding: 18px; } .track-row .tr-ar { display: none; } }

/* RansomLeak-style category section header (icon + title + count + blurb) */
.cat-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cat-sec-head .cat-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); flex: none; }
.cat-sec-head .cat-ic svg { width: 25px; height: 25px; }
.cat-sec-head h2 { margin: 0; font-size: 1.5rem; }
.cat-sec-head h2 a { color: var(--text); }
.cat-sec-head h2 a:hover { color: var(--cc); }
.cat-sec-head .csh-body p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }
/* sub-course groupings on a category page */
.subcourse { margin-bottom: 44px; }
.sc-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sc-head h2 { margin: 0; font-size: 1.16rem; color: var(--text); }
.sc-head .sc-count { font-family: var(--mono); font-size: .72rem; color: var(--cc); }
.viewall { color: var(--cc, var(--brand)); font-family: var(--mono); font-size: .84rem; display: inline-flex; align-items: center; gap: 7px; }
.viewall:hover { color: var(--brand-hi); }
.viewall svg { width: 15px; height: 15px; }

/* "what is inside": the real game sneak-peek */
.inside-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: center; }
.inside-shot { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.inside-shot img { width: 100%; height: auto; display: block; }
.inside-shot .shot-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: rgba(5,6,13,.72); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.inside-shot .shot-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.inside-shot .shot-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--on-accent); background: var(--brand); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 18%, transparent); transition: transform .16s var(--ease); }
.inside-shot .shot-play svg { width: 30px; height: 30px; }
.inside-shot:hover .shot-play { transform: scale(1.07); }
.inside-list { display: flex; flex-direction: column; gap: 18px; }
.il-row b { display: block; color: var(--text); font-size: 1.02rem; margin-bottom: 3px; }
.il-row span { color: var(--muted); font-size: .95rem; }

/* compliance mapping band */
.compliance { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.cmp { font-family: var(--mono); font-size: .78rem; color: var(--read); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-family: var(--display); font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); margin: 0 0 16px; font-size: .96rem; }
@media (max-width: 760px) { .inside-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- exercise tiles */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ex { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative;
  transition: transform .16s var(--ease), border-color .2s, background .2s; }
.ex::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; background: var(--cc); opacity: .55; border-radius: 0 0 2px 2px; }
.ex:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--cc) 45%, var(--line)); background: var(--surface-2); }
.ex .ex-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; min-height: 40px; }
.ex .ex-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); flex: none; }
.ex .ex-ic svg { width: 21px; height: 21px; }
.play.muted { color: var(--muted); }
.ex h4 { font-family: var(--display); font-size: 1.04rem; margin: 0 0 .4em; color: var(--text); font-weight: 600; }
.ex .blurb { color: var(--muted); font-size: .9rem; margin: 0 0 14px; flex: 1; }
.ex .ex-tags { margin-bottom: 14px; }
.ex .ex-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.ex .play { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-weight: 500; font-size: .8rem; color: var(--brand); }
.ex .play .ic { width: 15px; height: 15px; }
.ex .meta { font-family: var(--mono); font-size: .7rem; color: var(--muted); }

/* --------------------------------------------------------------- search */
.searchbar { position: relative; max-width: 580px; margin: 0 auto; }
.searchbar .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.searchbar input { width: 100%; font-family: var(--mono); font-size: .95rem; padding: 15px 18px 15px 46px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.searchbar input::placeholder { color: var(--muted); }
.searchbar input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.chip { font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--read); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-on { background: var(--brand); color: var(--on-accent); border-color: var(--brand); font-weight: 600; }
.no-results { text-align: center; color: var(--muted); padding: 40px 0; display: none; }

/* ------------------------------------------------------------- panels/CTA */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 52px); position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); pointer-events: none; }
.panel h2 { position: relative; }
.panel p { color: var(--read); position: relative; max-width: 56ch; }
.panel .hero-cta { position: relative; justify-content: flex-start; }

/* breadcrumb + category hero */
.crumbs { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .5; }
.cat-hero { padding: 30px 0 8px; position: relative; }
.cat-hero .kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cc); margin-bottom: 14px; }
.cat-hero .kicker::before { content: ""; width: 26px; height: 2px; background: var(--cc); border-radius: 2px; }
.cat-hero h1 { margin: 0; }
.cat-hero .count { font-family: var(--mono); color: var(--muted); font-size: .8rem; margin-top: 10px; display: block; }
.cat-hero .lead { margin-top: 16px; }
.cat-frameworks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.disclaimer { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 18px 20px; font-size: .94rem; color: var(--read); }
.disclaimer b { color: var(--text); }

/* --------------------------------------------------------------- footer */
.site-footer { background: color-mix(in srgb, var(--bg-2) 55%, transparent); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-top: 1px solid var(--line); margin-top: 20px; }
.site-footer a { color: var(--read); }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 54px 0 30px; }
.footer-brand .brand { color: var(--text); }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 34ch; color: var(--muted); }
.footer-col h4 { color: var(--text); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--mono); font-weight: 500; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: .92rem; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--read); }
.footer-social a:hover { border-color: var(--brand); color: var(--brand); }
.footer-social svg { width: 17px; height: 17px; }
.note { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .grid-3, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ex-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .nav.is-open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px; }
  .nav-toggle { display: inline-flex; }
  .grid-3, .grid-2, .cat-grid, .ex-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .panel .hero-cta { justify-content: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } .btn, .cat-card, .ex { transition: none; } }
