/* ============================================================
   TestDriven — testdrivenwebsites.com
   Palette translated from DESIGN.md (Wise: deep moss + lime voltage)
   into a dark reading of its own "near-black forest floor" brief.
   Prefix: w4vn
   ============================================================ */

:root {
  --w4vn-bg: #0a1200;                       /* forest floor */
  --w4vn-c1: #9fe870;                       /* lime voltage — primary accent */
  --w4vn-c2: #e34a52;                       /* alarm red, lifted for dark */
  --w4vn-c3: #e8c25a;                       /* gold — credits and rewards */
  --w4vn-ct: #163300;                       /* forest ink — text on accent fills */
  --w4vn-tx: #dfe9d8;                       /* paper, green-tinted */
  --w4vn-cd: #163300;                       /* forest ink — card surface */
  --w4vn-br: rgba(159, 232, 112, .22);
  --w4vn-r: 10px;

  /* support tokens */
  --w4vn-pill: 9999px;                      /* DESIGN.md: pills are the default shape */
  --w4vn-sh: 0 10px 32px rgba(0, 0, 0, .35);
  --w4vn-sb-w: 220px;
  --w4vn-hdr-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--w4vn-bg);
  color: var(--w4vn-tx);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "calt";
}

img { max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }

/* Display type: DESIGN.md substitutes Wise Sans with Inter Black, tight tracking */
h1, h2, h3 { font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }

::selection { background: var(--w4vn-c1); color: var(--w4vn-ct); }

:focus-visible { outline: 2px solid var(--w4vn-c1); outline-offset: 2px; }

/* ============================================================
   BUTTONS — pill by default, per DESIGN.md shape language
   ============================================================ */

.w4vn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .6rem 1.35rem; border-radius: var(--w4vn-pill);
  font: 700 .82rem/1 inherit; letter-spacing: .01em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; background: none; color: var(--w4vn-tx);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.w4vn-btn-cta {
  background: var(--w4vn-c1); color: var(--w4vn-ct); border-color: var(--w4vn-c1);
  font-weight: 800;
}
.w4vn-btn-cta:hover { background: #b4f087; border-color: #b4f087; }
.w4vn-btn-ol { border-color: var(--w4vn-br); color: var(--w4vn-tx); }
.w4vn-btn-ol:hover { border-color: var(--w4vn-c1); color: var(--w4vn-c1); }
.w4vn-btn-lg { padding: .95rem 2rem; font-size: .92rem; }

/* ============================================================
   HEADER
   ============================================================ */

.w4vn-hdr {
  position: fixed; top: 0; left: 0; right: 0; height: var(--w4vn-hdr-h); z-index: 100;
  background: var(--w4vn-bg); border-bottom: 1px solid var(--w4vn-br);
}
.w4vn-hdr-in { display: flex; align-items: center; gap: 1rem; padding: 0 1.5rem; height: 100%; }

.w4vn-lg {
  display: flex; align-items: center; gap: .55rem; text-decoration: none;
  font-weight: 900; font-size: 1.05rem; letter-spacing: -.035em; color: var(--w4vn-tx);
  flex-shrink: 0;
}
.w4vn-lg svg { display: block; flex-shrink: 0; }
.w4vn-lg b { color: var(--w4vn-c1); font-weight: 900; }

.w4vn-nav { display: flex; gap: .25rem; margin-left: auto; }
.w4vn-nl {
  padding: .45rem .8rem; border-radius: var(--w4vn-pill);
  font-size: .82rem; font-weight: 600; text-decoration: none;
  color: var(--w4vn-tx); opacity: .72; transition: background-color .2s, opacity .2s, color .2s;
}
.w4vn-nl:hover { opacity: 1; background: rgba(159, 232, 112, .1); }
.w4vn-nl.active { opacity: 1; background: var(--w4vn-c1); color: var(--w4vn-ct); font-weight: 700; }

.w4vn-act { display: flex; gap: .5rem; align-items: center; }
.w4vn-au { font-size: .82rem; font-weight: 600; }
.w4vn-au span { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Economy pill */
.w4vn-eco {
  display: flex; align-items: center; gap: .5rem; text-decoration: none;
  padding: .3rem .75rem .3rem .35rem; border-radius: var(--w4vn-pill);
  border: 1px solid var(--w4vn-br); background: var(--w4vn-cd);
  transition: border-color .2s;
}
.w4vn-eco:hover { border-color: var(--w4vn-c1); }
.w4vn-eco-lvl {
  font-size: .6rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: var(--w4vn-pill); color: var(--w4vn-c1);
  background: color-mix(in srgb, var(--w4vn-c1) 14%, transparent);
}
.w4vn-eco-cr { font-size: .74rem; color: var(--w4vn-tx); opacity: .75; white-space: nowrap; }
.w4vn-eco-cr b { color: var(--w4vn-c3); font-weight: 900; font-variant-numeric: tabular-nums; opacity: 1; }

/* HBG-D — bordered 40x40 button, rotates 90deg on open, lines morph to X.
   Radius is pilled to stay inside the reference's shape language. */
.w4vn-hbg {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; cursor: pointer;
  border: 1px solid var(--w4vn-br); border-radius: var(--w4vn-pill); background: none;
  transition: transform .3s, border-color .3s;
}
.w4vn-hbg span {
  display: block; width: 22px; height: 2px; background: var(--w4vn-tx); border-radius: 2px;
  transition: transform .3s, opacity .2s, width .3s;
}
.w4vn-hbg.open { transform: rotate(90deg); border-color: var(--w4vn-c1); }
.w4vn-hbg.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.w4vn-hbg.open span:nth-child(2) { opacity: 0; }
.w4vn-hbg.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SIDEBAR — SIDEBAR-E, left, grouped labels
   ============================================================ */

.w4vn-sb {
  position: fixed; top: var(--w4vn-hdr-h); left: 0; width: var(--w4vn-sb-w);
  height: calc(100vh - var(--w4vn-hdr-h)); background: var(--w4vn-cd);
  border-right: 1px solid var(--w4vn-br);
  overflow-y: auto; z-index: 90; display: flex; flex-direction: column;
  transition: transform .3s, width .3s;
}
.w4vn-sb-nav { padding: .75rem 0; }
.w4vn-sb-grp {
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; opacity: .5;
  font-weight: 800; padding: .9rem 1.25rem .4rem;
}
.w4vn-sbl {
  display: flex; align-items: center; gap: .75rem; padding: .65rem 1.25rem;
  color: var(--w4vn-tx); font-weight: 600; font-size: .88rem;
  text-decoration: none; border-left: 3px solid transparent; transition: all .2s;
}
.w4vn-sbl:hover, .w4vn-sbl.active { color: var(--w4vn-c1); background: rgba(159, 232, 112, .07); }
.w4vn-sbl.active { border-left-color: var(--w4vn-c1); }

.w4vn-sbf {
  margin-top: auto; padding: 1rem; border-top: 1px solid var(--w4vn-br);
  display: flex; flex-direction: column; gap: .4rem;
}
.w4vn-sbf a { font-size: .75rem; color: var(--w4vn-tx); opacity: .6; text-decoration: none; }
.w4vn-sbf a:hover { opacity: 1; color: var(--w4vn-c1); }

.w4vn-sbo { position: fixed; inset: 0; top: var(--w4vn-hdr-h); background: rgba(0, 0, 0, .6); z-index: 140; display: none; }
.w4vn-sbo.show { display: block; }

.w4vn-sb-auth {
  display: none; padding: .75rem 1rem; border-top: 1px solid var(--w4vn-br);
  gap: .5rem; flex-direction: column;
}
.w4vn-sb-auth > div { display: flex; flex-direction: column; gap: .5rem; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */

.w4vn-mn {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--w4vn-cd); border-top: 1px solid var(--w4vn-br); z-index: 160;
}
.w4vn-mni {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font: 700 .72rem/1 inherit; color: var(--w4vn-tx); opacity: .75;
  background: none; border: none; cursor: pointer; text-decoration: none; height: 100%;
}
.w4vn-mni:hover { opacity: 1; color: var(--w4vn-c1); }

/* ============================================================
   LAYOUT
   ============================================================ */

.w4vn-main { margin-left: var(--w4vn-sb-w); padding-top: var(--w4vn-hdr-h); min-height: 100vh; }
.w4vn-sec { padding: 4.5rem 2rem; max-width: 1200px; margin: 0 auto; }
.w4vn-sec-h { margin-bottom: 1.75rem; }
.w4vn-sec-h h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.w4vn-sec-h p { margin-top: .6rem; font-size: .9rem; opacity: .65; max-width: 620px; line-height: 1.7; }
.w4vn-sec-h a { color: var(--w4vn-c1); font-weight: 700; }

.w4vn-eyebrow {
  font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: var(--w4vn-c1); margin-bottom: .7rem;
}

/* Notice bar */
.w4vn-nb {
  background: color-mix(in srgb, var(--w4vn-c2) 12%, var(--w4vn-bg));
  border-bottom: 1px solid color-mix(in srgb, var(--w4vn-c2) 35%, transparent);
  padding: .6rem 1.5rem; text-align: center;
  font-size: .74rem; font-weight: 600; letter-spacing: .01em; opacity: .9;
}

/* ============================================================
   HERO — HERO-E, minimal typographic
   ============================================================ */

.w4vn-hero { padding: clamp(3.5rem, 9vw, 7rem) 2rem clamp(2.5rem, 5vw, 4rem); max-width: 1200px; margin: 0 auto; }
.w4vn-hero-h {
  font-size: clamp(4rem, 10vw, 9rem); font-weight: 900;
  line-height: .85; letter-spacing: -.04em; text-transform: uppercase;
  max-width: 14ch;
}
.w4vn-hero-h em { font-style: normal; color: var(--w4vn-c1); }
.w4vn-hero-p {
  margin-top: 1.75rem; max-width: 46ch; font-size: 1.08rem; line-height: 1.6;
  opacity: .74; letter-spacing: -.008em;
}
.w4vn-hero-p b { color: var(--w4vn-c3); font-weight: 800; opacity: 1; }
.w4vn-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.w4vn-hero-note { margin-top: 1.35rem; font-size: .7rem; opacity: .4; }

/* ============================================================
   CAROUSEL — CAROUSEL-B, featured first
   ============================================================ */

.w4vn-cr-wrap { position: relative; }
.w4vn-cr-vp { overflow: hidden; }
.w4vn-cr {
  display: flex; align-items: flex-start; gap: 1rem;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1); will-change: transform;
}
.w4vn-cr .w4vn-gc { width: 160px; flex-shrink: 0; }
.w4vn-cr .w4vn-gc:first-child { width: 300px; }

.w4vn-crb {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border-radius: var(--w4vn-pill);
  border: 1px solid var(--w4vn-br); background: var(--w4vn-cd); color: var(--w4vn-tx);
  font-size: 1rem; cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s, color .2s;
}
.w4vn-crb:hover { border-color: var(--w4vn-c1); color: var(--w4vn-c1); }
.w4vn-crb.is-prev { left: -14px; }
.w4vn-crb.is-next { right: -14px; }

/* ============================================================
   GAME CARD — CARD-D, transparent border → lime on hover
   ============================================================ */

.w4vn-gg { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }

.w4vn-gc {
  background: var(--w4vn-cd); border: 1px solid transparent; border-radius: var(--w4vn-r);
  overflow: hidden; cursor: pointer;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.w4vn-gc:hover, .w4vn-gc:focus-visible {
  border-color: var(--w4vn-c1); transform: translateY(-4px); box-shadow: var(--w4vn-sh);
}
.w4vn-gct { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--w4vn-bg); }
.w4vn-gct img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w4vn-gco {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10, 18, 0, .74); opacity: 0; transition: opacity .3s;
}
.w4vn-gc:hover .w4vn-gco, .w4vn-gc:focus-visible .w4vn-gco { opacity: 1; }
.w4vn-gcp {
  padding: .5rem 1rem; border-radius: var(--w4vn-pill); border: none;
  background: var(--w4vn-c1); color: var(--w4vn-ct);
  font: 800 .68rem/1 inherit; letter-spacing: .05em; cursor: pointer;
}
.w4vn-gci { padding: .65rem .75rem .8rem; }

/* Category tabs */
.w4vn-cts { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.w4vn-ct {
  padding: .5rem 1.05rem; border-radius: var(--w4vn-pill);
  border: 1px solid var(--w4vn-br); background: none; color: var(--w4vn-tx);
  font: 700 .78rem/1 inherit; cursor: pointer; transition: all .2s;
}
.w4vn-ct:hover { border-color: var(--w4vn-c1); color: var(--w4vn-c1); }
.w4vn-ct.active { background: var(--w4vn-c1); border-color: var(--w4vn-c1); color: var(--w4vn-ct); }

/* Search */
.w4vn-search {
  width: 100%; max-width: 380px; margin-bottom: 1.25rem;
  padding: .75rem 1.1rem; border-radius: var(--w4vn-r);
  border: 1px solid var(--w4vn-br); background: var(--w4vn-cd); color: var(--w4vn-tx);
  font: 400 .88rem/1 inherit;
}
.w4vn-search::placeholder { color: var(--w4vn-tx); opacity: .4; }
.w4vn-search:focus { outline: none; border-color: var(--w4vn-c1); }

.w4vn-empty { padding: 3rem 1rem; text-align: center; opacity: .5; font-size: .88rem; }

/* ============================================================
   BANNER — BANNER-E, stats + CTA
   ============================================================ */

.w4vn-bn {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.w4vn-bn-in {
  background: var(--w4vn-cd); border: 1px solid var(--w4vn-br);
  border-radius: 28px; padding: 2.75rem 2.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.w4vn-bn-stats { display: flex; flex-wrap: wrap; gap: 2.75rem; }
.w4vn-bn-v {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; line-height: .9;
  letter-spacing: -.04em; color: var(--w4vn-c1);
}
.w4vn-bn-k {
  font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  opacity: .55; margin-top: .5rem;
}
.w4vn-bn-txt { max-width: 34ch; }
.w4vn-bn-txt h2 { font-size: 1.3rem; }
.w4vn-bn-txt p { font-size: .84rem; line-height: 1.65; opacity: .65; margin: .5rem 0 1.1rem; }

/* ============================================================
   HOW IT WORKS — WORKS-D, giant translucent number
   ============================================================ */

.w4vn-wk { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.w4vn-wk-c {
  position: relative; overflow: hidden;
  background: var(--w4vn-cd); border: 1px solid var(--w4vn-br);
  border-radius: var(--w4vn-r); padding: 2rem 1.75rem 2.25rem;
}
.w4vn-wk-n {
  position: absolute; top: -1.25rem; right: .5rem; pointer-events: none;
  font-size: 8rem; font-weight: 900; line-height: 1; letter-spacing: -.05em;
  color: var(--w4vn-tx); opacity: .08;
}
.w4vn-wk-c h3 { font-size: 1.05rem; position: relative; }
.w4vn-wk-c p { font-size: .84rem; line-height: 1.65; opacity: .65; margin-top: .55rem; position: relative; }

.w4vn-note {
  margin-top: 1.25rem; padding: 1.15rem 1.4rem; border-radius: var(--w4vn-r);
  border: 1px dashed var(--w4vn-br); font-size: .76rem; line-height: 1.65; opacity: .62;
}
.w4vn-note strong { color: var(--w4vn-tx); opacity: 1; }
.w4vn-note a { color: var(--w4vn-c1); font-weight: 700; }

/* ============================================================
   REVIEWS — REVIEWS-D, full-width bars, circular avatar
   ============================================================ */

.w4vn-rv { display: flex; flex-direction: column; gap: .75rem; }
.w4vn-rv-row {
  display: grid; grid-template-columns: auto 1fr; gap: 1.35rem; align-items: center;
  background: var(--w4vn-cd); border: 1px solid var(--w4vn-br);
  border-radius: var(--w4vn-r); padding: 1.4rem 1.6rem;
}
.w4vn-rv-av {
  width: 56px; height: 56px; border-radius: var(--w4vn-pill); flex-shrink: 0;
  display: grid; place-items: center; background: var(--w4vn-bg);
  border: 2px solid var(--w4vn-c1); color: var(--w4vn-c1);
  font-weight: 900; font-size: 1rem; letter-spacing: 0;
}
.w4vn-rv-txt { font-size: .88rem; line-height: 1.65; opacity: .8; }
.w4vn-rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .5rem; }
.w4vn-rv-who { font-size: .76rem; font-weight: 800; }
.w4vn-rv-where { font-size: .72rem; opacity: .45; }
.w4vn-rv-stars { color: var(--w4vn-c3); font-size: .72rem; letter-spacing: .12em; margin-left: auto; }

/* ============================================================
   SEO BLOCK
   ============================================================ */

.w4vn-seo { border-top: 1px solid var(--w4vn-br); }
.w4vn-seo h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.w4vn-seo p { font-size: .84rem; line-height: 1.8; opacity: .6; max-width: 78ch; margin-bottom: 1rem; }
.w4vn-seo a { color: var(--w4vn-c1); font-weight: 700; }

/* ============================================================
   PROSE PAGES
   ============================================================ */

.w4vn-doc { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 4.5rem; }
.w4vn-doc h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); margin-bottom: .75rem; }
.w4vn-doc > p:first-of-type { font-size: 1rem; line-height: 1.7; opacity: .72; }
.w4vn-doc h2 { font-size: 1.25rem; margin: 2.5rem 0 .75rem; }
.w4vn-doc h3 { font-size: .95rem; margin: 1.5rem 0 .4rem; }
.w4vn-doc p { font-size: .88rem; line-height: 1.75; opacity: .7; margin-bottom: .9rem; }
.w4vn-doc a { color: var(--w4vn-c1); font-weight: 600; }
.w4vn-doc ul { margin: 0 0 1rem 0; display: grid; gap: .5rem; }
.w4vn-doc li {
  font-size: .86rem; line-height: 1.65; opacity: .7; padding-left: 1.1rem; position: relative;
}
.w4vn-doc li::before {
  content: ''; position: absolute; left: 0; top: .6rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--w4vn-c1);
}
.w4vn-doc li b, .w4vn-doc li strong { color: var(--w4vn-tx); opacity: 1; font-weight: 700; }
.w4vn-doc-upd { font-size: .72rem; opacity: .4; margin-top: 2.5rem; }

.w4vn-callout {
  border: 1px solid var(--w4vn-c1); border-radius: var(--w4vn-r);
  background: color-mix(in srgb, var(--w4vn-c1) 6%, transparent);
  padding: 1.4rem 1.6rem; margin: 1.5rem 0;
}
.w4vn-callout h2, .w4vn-callout h3 { margin-top: 0; }
.w4vn-callout p:last-child { margin-bottom: 0; }

.w4vn-card-plain {
  background: var(--w4vn-cd); border: 1px solid var(--w4vn-br);
  border-radius: var(--w4vn-r); padding: 1.4rem 1.6rem; margin: 1.25rem 0;
}
.w4vn-card-plain p:last-child { margin-bottom: 0; }

/* FAQ */
.w4vn-faq details { border-bottom: 1px solid var(--w4vn-br); }
.w4vn-faq summary {
  cursor: pointer; padding: 1rem 0; font-weight: 800; font-size: .88rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.w4vn-faq summary::-webkit-details-marker { display: none; }
.w4vn-faq summary::after { content: '+'; color: var(--w4vn-c1); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.w4vn-faq details[open] summary::after { content: '\2212'; }
.w4vn-faq p { padding: 0 0 1.1rem; font-size: .84rem; line-height: 1.7; opacity: .65; margin: 0; }

/* Forms */
.w4vn-form { display: flex; flex-direction: column; gap: .85rem; max-width: 520px; }
.w4vn-form label { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.w4vn-form input, .w4vn-form select, .w4vn-form textarea {
  width: 100%; padding: .8rem 1.05rem; border-radius: var(--w4vn-r);
  border: 1px solid var(--w4vn-br); background: var(--w4vn-cd); color: var(--w4vn-tx);
  font: 400 .9rem/1.4 inherit;
}
.w4vn-form textarea { resize: vertical; min-height: 140px; }
.w4vn-form input:focus, .w4vn-form select:focus, .w4vn-form textarea:focus {
  outline: none; border-color: var(--w4vn-c1);
}
.w4vn-form .w4vn-btn { align-self: flex-start; }
.w4vn-ok {
  display: none; margin-top: 1rem; padding: .9rem 1.15rem; border-radius: var(--w4vn-r);
  background: color-mix(in srgb, var(--w4vn-c1) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--w4vn-c1) 40%, transparent);
  color: var(--w4vn-c1); font-size: .84rem; font-weight: 700;
}

/* ============================================================
   FOOTER — FOOTER-B, three columns
   ============================================================ */

/* Footer sits outside <main>, so it needs main's sidebar offset of its own —
   the sidebar is fixed and would otherwise cover the brand column. */
.w4vn-ftr { border-top: 1px solid var(--w4vn-br); background: var(--w4vn-cd);
            margin-top: 4rem; margin-left: var(--w4vn-sb-w); }
.w4vn-ftr-in {
  max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 2rem;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem;
}
.w4vn-ftr-brand p { font-size: .78rem; line-height: 1.7; opacity: .5; margin-top: .85rem; max-width: 30ch; }
.w4vn-ftr-col h4 {
  font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  opacity: .45; margin-bottom: .9rem;
}
.w4vn-ftr-col a {
  display: block; font-size: .8rem; opacity: .7; text-decoration: none;
  padding: .28rem 0; transition: color .2s, opacity .2s;
}
.w4vn-ftr-col a:hover { opacity: 1; color: var(--w4vn-c1); }
.w4vn-ftr-dis {
  max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem 2.5rem;
  border-top: 1px solid var(--w4vn-br);
  font-size: .7rem; line-height: 1.7; opacity: .42;
}
.w4vn-ftr-dis strong { font-weight: 800; opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1280px) {
  .w4vn-sec { padding: 3.5rem 1.5rem; }
  .w4vn-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .w4vn-bn { padding: 0 1.5rem; }
  .w4vn-ftr-in { padding: 3rem 1.5rem 2rem; }
}

@media (max-width: 1024px) {
  .w4vn-sb { transform: translateX(-100%); top: var(--w4vn-hdr-h) !important;
             height: calc(100vh - var(--w4vn-hdr-h)) !important; z-index: 150; }
  .w4vn-sb.open { transform: translateX(0); }
  .w4vn-sb-auth { display: flex; }
  .w4vn-main { margin-left: 0 !important; margin-right: 0 !important; }
  .w4vn-ftr { margin-left: 0; }   /* sidebar is off-canvas below 1024px */
  .w4vn-mn { display: flex; align-items: center; justify-content: space-around; }
  body { padding-bottom: 60px; }
  .w4vn-ftr-in { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .w4vn-crb.is-prev { left: 4px; }
  .w4vn-crb.is-next { right: 4px; }
}

@media (max-width: 768px) {
  .w4vn-hdr-in { justify-content: space-between; }
  .w4vn-hbg { display: flex; }
  .w4vn-nav { display: none; }
  .w4vn-act { display: none; }
  .w4vn-bn-in { padding: 2rem 1.5rem; }
  .w4vn-bn-stats { gap: 1.75rem; }
  .w4vn-rv-row { grid-template-columns: 1fr; gap: .9rem; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .w4vn-sec { padding: 2.5rem 1rem; }
  .w4vn-hero { padding: 3rem 1rem 2rem; }
  .w4vn-gg { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .w4vn-cr .w4vn-gc { width: 80vw; }
  .w4vn-cr .w4vn-gc:first-child { width: 80vw; }
  .w4vn-form input, .w4vn-form select, .w4vn-form textarea, .w4vn-search { min-height: 48px; }
  .w4vn-btn { min-height: 44px; }
  .w4vn-ftr-in { grid-template-columns: 1fr; }
  .w4vn-doc { padding: 2rem 1rem 3rem; }
}

@media (max-width: 375px) {
  .w4vn-hdr-in { padding: 0 .75rem; }
  .w4vn-gg { gap: .5rem; }
}

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