/* ==========================================================
   XZLENZ — BROWSE ALL FRAMEWORKS
   Final Refined Directory
   ========================================================== */

:root {
  --fw-ink: #061b45;
  --fw-muted: #687d9c;
  --fw-blue: #2f7cff;
  --fw-blue-2: #169fe9;
  --fw-cyan: #1fc8e8;
  --fw-purple: #735cff;
  --fw-green: #20c792;
  --fw-orange: #ffac42;
  --fw-red: #ff5c6a;
  --fw-border: #dbe7f5;
  --fw-border-strong: #c8d9ef;
  --fw-soft: #f7fbff;
  --fw-soft-blue: #f1f7ff;
  --fw-navy: #03172f;
  --fw-navy-2: #062853;
  --fw-card-navy: #0b3b73;
}

.fw-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--fw-ink);
  background: #fff;
  font-family:
    "Poppins",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.fw-page *,
.fw-page *::before,
.fw-page *::after {
  box-sizing: border-box;
}

.fw-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fw-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.fw-eyebrow {
  display: inline-block;
  color: #347cff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.fw-eyebrow-light {
  color: #55dcf7;
}


/* ==========================================================
   HERO
   ========================================================== */

.fw-hero {
  position: relative;
  min-height: clamp(650px, 72vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #03172f;
}

.fw-hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fw-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(2, 17, 40, .98) 0%,
      rgba(2, 17, 40, .91) 28%,
      rgba(2, 17, 40, .58) 46%,
      rgba(2, 17, 40, .12) 67%,
      rgba(2, 17, 40, .02) 100%
    );
}

.fw-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(2, 17, 40, .18) 50%,
      rgba(2, 17, 40, .48) 100%
    );
}

.fw-hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.fw-hero-copy {
  width: min(700px, 54%);
}

.fw-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.fw-live-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #20c792;
  box-shadow: 0 0 0 8px rgba(32,199,146,.10);
}

.fw-hero h1 {
  max-width: 740px;
  margin: 22px 0 22px;
  color: #fff;
  font-size: clamp(48px, 4vw, 82px);
  letter-spacing: -.058em;
}

.fw-hero h1 span {
  display: block;
  margin-top: -11px;
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #18c8ec 0%,
      #2e82ff 52%,
      #795fff 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.fw-hero p {
  max-width: 620px;
  margin: 0;
  color: #d9e5f2;
  font-size: 16px;
  line-height: 1.75;
}

.fw-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.fw-hero-pills span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(118,177,243,.27);
  border-radius: 999px;
  color: #c8dcef;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 650;
}


/* ==========================================================
   FEATURED FRAMEWORKS
   ========================================================== */

.fw-featured {
  position: relative;
  padding: 70px 0 78px;
  background:
    radial-gradient(
      circle at 85% 0,
      rgba(47,124,255,.055),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 72%,
      #fbfdff 88%,
      #f5f9ff 100%
    );
}

.fw-featured-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.fw-featured-head h2 {
  margin: 8px 0 9px;
  color: var(--fw-ink);
  font-size: clamp(30px, 2.8vw, 43px);
  line-height: 1.08;
  letter-spacing: -.043em;
}

.fw-featured-head p {
  max-width: 760px;
  margin: 0;
  color: var(--fw-muted);
  font-size: 14px;
  line-height: 1.7;
}

.fw-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fw-featured-card {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(93,161,243,.26);
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(
      circle at 11% 25%,
      rgba(47,124,255,.18),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #072c5b 0%,
      #0a3a70 100%
    );
  box-shadow:
    0 18px 42px rgba(5, 33, 73, .13);
  text-decoration: none;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.fw-featured-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -88px;
  bottom: -90px;
  border: 1px solid rgba(75,157,255,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(75,157,255,.025);
}

.fw-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(85,177,255,.58);
  box-shadow:
    0 25px 52px rgba(5,33,73,.20);
}

.fw-featured-logo-slot {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(153,199,255,.30);
  border-radius: 20px;
  background:
    rgba(255,255,255,.96);
  box-shadow:
    0 12px 24px rgba(0,14,39,.16);
}

.fw-featured-logo-slot img {
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.fw-logo-fallback {
  display: none;
  color: #1d60bd;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.fw-featured-logo-slot img:not([src]),
.fw-featured-logo-slot img[src=""] {
  display: none;
}

.fw-featured-logo-slot img:not([src]) + .fw-logo-fallback,
.fw-featured-logo-slot img[src=""] + .fw-logo-fallback {
  display: block;
}

.fw-featured-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.fw-card-type {
  display: block;
  margin-bottom: 5px;
  color: #7fc7ff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fw-featured-content h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.fw-featured-content p {
  min-height: 38px;
  margin: 0;
  color: #cadbef;
  font-size: 11px;
  line-height: 1.55;
}

.fw-featured-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 0 14px;
  border: 1px solid rgba(77,185,255,.22);
  border-radius: 9px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      #237af3 0%,
      #13abe5 100%
    );
  box-shadow:
    0 8px 18px rgba(20,133,235,.24);
  font-size: 9px;
  font-weight: 750;
}

.fw-featured-button b {
  font-size: 13px;
}


/* ==========================================================
   DIRECTORY
   ========================================================== */

.fw-directory {
  position: relative;
  padding: 82px 0 88px;
  background:
    radial-gradient(
      circle at 50% 8%,
      rgba(47,124,255,.055),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #f5f9ff 0%,
      #f8fbff 10%,
      #ffffff 32%,
      #ffffff 76%,
      #f8fbff 90%,
      #f2f7ff 100%
    );
  border-top: 0;
}

.fw-directory-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 24px;
}

.fw-directory-intro h2 {
  margin: 8px 0 6px;
  color: var(--fw-ink);
  font-size: clamp(38px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -.048em;
}

.fw-directory-intro h2 span {
  color: #2f7cff;
}

.fw-directory-intro p {
  max-width: 710px;
  margin: 0;
  color: var(--fw-muted);
  font-size: 14px;
  line-height: 1.65;
}

.fw-directory-summary {
  min-width: 180px;
  padding: 15px 17px;
  border: 1px solid #dce7f4;
  border-radius: 15px;
  background: rgba(255,255,255,.86);
  box-shadow:
    0 12px 28px rgba(22,63,111,.055);
  text-align: center;
}

.fw-directory-summary strong,
.fw-directory-summary span,
.fw-directory-summary small {
  display: block;
}

.fw-directory-summary strong {
  color: var(--fw-blue);
  font-size: 27px;
  line-height: 1;
}

.fw-directory-summary span {
  margin-top: 3px;
  color: var(--fw-ink);
  font-size: 8px;
  font-weight: 750;
}

.fw-directory-summary small {
  margin-top: 2px;
  color: #8b9db3;
  font-size: 6px;
}

.fw-filter-panel {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    1px
    minmax(0, .85fr);
  gap: 24px;
  align-items: center;
  padding: 19px 21px;
  border: 1px solid #dce7f4;
  border-radius: 17px;
  background:
    rgba(255,255,255,.91);
  box-shadow:
    0 15px 40px rgba(22,63,111,.055);
  backdrop-filter: blur(8px);
}

.fw-filter-block {
  min-width: 0;
}

.fw-filter-label {
  display: block;
  margin-bottom: 10px;
  color: var(--fw-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
}

.fw-filter-divider {
  width: 1px;
  height: 50px;
  background: #e4ebf4;
}

.fw-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fw-filter-chips button {
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid #d7e3f2;
  border-radius: 9px;
  color: #5f7691;
  background: #fff;
  font: inherit;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 4px 11px rgba(22,63,111,.022);
  transition:
    transform .17s ease,
    border-color .17s ease,
    color .17s ease,
    background .17s ease;
}

.fw-filter-chips button:hover {
  transform: translateY(-1px);
  border-color: #b7cfee;
  background: #f8fbff;
}

.fw-filter-chips button.active {
  color: #fff;
  border-color: #178aed;
  background:
    linear-gradient(
      90deg,
      #197eef,
      #18a6ec
    );
  box-shadow:
    0 7px 16px rgba(24,134,236,.20);
}

.fw-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 14px;
}

.fw-results-bar > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fw-results-bar span {
  color: #8598ae;
  font-size: 9px;
}

.fw-results-bar strong {
  color: var(--fw-ink);
  font-size: 10px;
}

.fw-results-bar button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d4e1f0;
  border-radius: 8px;
  color: #2f6fcb;
  background: #fff;
  font: inherit;
  font-size: 8px;
  font-weight: 750;
  cursor: pointer;
}

.fw-framework-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.fw-framework-card {
  min-height: 160px;
  display: grid;
  grid-template-columns:
    62px
    minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px;
  border: 1px solid #dce7f4;
  border-radius: 13px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fcfdff 100%
    );
  box-shadow:
    0 10px 28px rgba(21,61,109,.04);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.fw-framework-card:hover {
  transform: translateY(-3px);
  border-color: #bfd3ec;
  box-shadow:
    0 18px 36px rgba(21,61,109,.075);
}

.fw-framework-logo {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #e0e8f2;
  border-radius: 10px;
  background: #f8fbff;
}

.fw-framework-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fw-directory-logo-fallback {
  display: none;
  color: #2366c5;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.fw-framework-card-body {
  min-width: 0;
}

.fw-framework-card h3 {
  margin: 1px 0 6px;
  color: var(--fw-ink);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -.017em;
}

.fw-framework-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--fw-muted);
  font-size: 9.5px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.fw-framework-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.fw-framework-card-meta span {
  padding: 4px 7px;
  border-radius: 999px;
  color: #71869f;
  background: #f2f6fa;
  font-size: 5.5px;
  font-weight: 750;
}

.fw-empty-state {
  padding: 58px 20px;
  border: 1px dashed #cad9ec;
  border-radius: 16px;
  background: #fbfdff;
  text-align: center;
}

.fw-empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 13px;
  color: #2f7cff;
  background: #edf4ff;
  font-size: 25px;
}

.fw-empty-state h3 {
  margin: 0;
  color: var(--fw-ink);
  font-size: 20px;
}

.fw-empty-state p {
  margin: 7px 0 14px;
  color: var(--fw-muted);
  font-size: 11px;
}

.fw-empty-state button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #2f7cff;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}


/* Full library CTA after all 24 cards */
.fw-full-library-cta {
  position: relative;
  display: grid;
  grid-template-columns:
    70px
    minmax(0, 1fr)
    auto;
  gap: 21px;
  align-items: center;
  margin-top: 34px;
  padding: 25px 27px;
  overflow: hidden;
  border: 1px solid #cbdcf1;
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 80% 50%,
      rgba(50,124,255,.12),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #f4f8ff 0%,
      #edf5ff 100%
    );
  box-shadow:
    0 16px 40px rgba(22,63,111,.065);
}

.fw-full-library-cta::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  top: -130px;
  border: 1px solid rgba(47,124,255,.10);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(47,124,255,.025);
}

.fw-full-library-icon {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #2f7cff,
      #6e5cff
    );
  box-shadow:
    0 15px 28px rgba(61,97,223,.20);
}

.fw-full-library-icon svg {
  width: 31px;
  height: 31px;
}

.fw-full-library-copy {
  position: relative;
  z-index: 2;
}

.fw-full-library-copy h3 {
  margin: 6px 0 6px;
  color: var(--fw-ink);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.028em;
}

.fw-full-library-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--fw-muted);
  font-size: 11px;
  line-height: 1.65;
}

.fw-full-library-button {
  position: relative;
  z-index: 2;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 11px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      #5062ff,
      #15a9e7
    );
  box-shadow:
    0 12px 24px rgba(45,107,224,.18);
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}


/* ==========================================================
   CUSTOM FRAMEWORK BUILDER
   ========================================================== */

.fw-custom {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 32%,
      rgba(47,124,255,.085),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #f2f7ff 0%,
      #f1f7ff 18%,
      #eef6ff 52%,
      #edf5ff 100%
    );
  border-top: 0;
  border-bottom: 0;
}

.fw-custom-inner {
  min-height: 405px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 58px;
  align-items: center;
  padding: 66px 0;
}

.fw-custom-copy h2 {
  margin: 10px 0 13px;
  color: var(--fw-ink);
  font-size: clamp(38px, 3.65vw, 54px);
  line-height: 1.03;
  letter-spacing: -.047em;
}

.fw-custom-copy p {
  max-width: 570px;
  margin: 0 0 24px;
  color: var(--fw-muted);
  font-size: 15px;
  line-height: 1.72;
}

.fw-builder-ui {
  overflow: hidden;
  border: 1px solid #cdddf0;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 25px 62px rgba(25,70,123,.12);
}

.fw-builder-topbar {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid #e2eaf4;
  color: #66809f;
  background: #f8fbff;
}

.fw-builder-topbar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9c9dc;
}

.fw-builder-topbar b {
  margin-left: 8px;
  font-size: 8px;
}

.fw-builder-body {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  min-height: 275px;
}

.fw-builder-body aside {
  padding: 17px 12px;
  border-right: 1px solid #e4ebf4;
  background: #f8fbff;
}

.fw-builder-body aside div {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 7px;
  border-radius: 9px;
  color: #7489a3;
  font-size: 6px;
}

.fw-builder-body aside div.active {
  color: #226ad5;
  background: #edf4ff;
  font-weight: 700;
}

.fw-builder-body aside span {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 1px solid #d5e1ef;
  border-radius: 50%;
  background: #fff;
  font-size: 6px;
}

.fw-builder-form {
  padding: 18px;
}

.fw-builder-form label {
  display: block;
  margin-bottom: 12px;
}

.fw-builder-form label > span {
  display: block;
  margin-bottom: 5px;
  color: #667e99;
  font-size: 6px;
  font-weight: 700;
}

.fw-builder-form i {
  min-height: 35px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #dce7f4;
  border-radius: 8px;
  color: #95a5b8;
  background: #fff;
  font-size: 6px;
  font-style: normal;
}

.fw-builder-form i.large {
  min-height: 57px;
  align-items: flex-start;
  padding-top: 9px;
}

.fw-builder-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 13px 0;
}

.fw-builder-stats > div {
  padding: 9px;
  border: 1px solid #e3ebf4;
  border-radius: 9px;
  background: #fbfdff;
}

.fw-builder-stats strong,
.fw-builder-stats span {
  display: block;
}

.fw-builder-stats strong {
  color: var(--fw-ink);
  font-size: 11px;
}

.fw-builder-stats span {
  margin-top: 1px;
  color: #8b9bb0;
  font-size: 5px;
}

.fw-builder-form button {
  min-height: 35px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, #5364ff, #16a9e7);
  font: inherit;
  font-size: 7px;
  font-weight: 750;
}


/* ==========================================================
   CLOSING
   ========================================================== */

.fw-closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 83% 29%, rgba(51,121,255,.24), transparent 26%),
    linear-gradient(135deg, #03162f 0%, #062753 55%, #0a3670 100%);
}

.fw-closing-art {
  position: absolute;
  right: -110px;
  bottom: -250px;
  z-index: -1;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(117,182,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 95px rgba(74,137,255,.025);
}

.fw-closing-inner {
  min-height: 240px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 50px;
  align-items: center;
  padding: 58px 0;
}

.fw-closing-copy h2 {
  margin: 9px 0 13px;
  color: #fff;
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -.05em;
}

.fw-closing-copy h2 span {
  color: transparent;
  background: linear-gradient(90deg, #22c9eb, #735cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.fw-closing-copy p {
  max-width: 660px;
  margin: 0;
  color: #c9d9ea;
  font-size: 15px;
  line-height: 1.7;
}

.fw-closing-actions {
  display: flex;
  justify-content: flex-end;
}


/* ==========================================================
   REVEAL
   ========================================================== */

.fw-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.fw-reveal.is-visible {
  opacity: 1;
  transform: none;
}


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

@media (max-width: 1180px) {
  .fw-featured-grid,
  .fw-framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fw-filter-panel {
    grid-template-columns: 1fr;
  }

  .fw-filter-divider {
    width: 100%;
    height: 1px;
  }

  .fw-custom-inner {
    grid-template-columns: 1fr;
  }

  .fw-builder-ui {
    max-width: 760px;
  }

  .fw-full-library-cta {
    grid-template-columns: 65px minmax(0, 1fr);
  }

  .fw-full-library-button {
    grid-column: 2;
    justify-self: start;
  }
}


@media (max-width: 920px) {
  .fw-hero {
    min-height: 720px;
  }

  .fw-hero-background {
    object-position: 67% center;
  }

  .fw-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2,17,40,.98) 0%,
        rgba(2,17,40,.93) 43%,
        rgba(2,17,40,.52) 69%,
        rgba(2,17,40,.12) 100%
      );
  }

  .fw-hero-inner {
    min-height: 720px;
    align-items: flex-start;
    padding-top: 70px;
  }

  .fw-hero-copy {
    width: 100%;
    max-width: 650px;
  }

  .fw-directory-intro {
    align-items: flex-start;
  }

  .fw-closing-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fw-closing-actions {
    justify-content: flex-start;
  }
}


@media (max-width: 680px) {
  .fw-container {
    width: calc(100% - 30px);
  }

  .fw-hero-inner {
    width: calc(100% - 30px);
  }

  .fw-hero {
    min-height: 680px;
  }

  .fw-hero-background {
    object-position: 72% center;
  }

  .fw-hero-inner {
    min-height: 680px;
    padding-top: 54px;
  }

  .fw-hero h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .fw-hero p {
    font-size: 15px;
  }

  .fw-featured,
  .fw-directory {
    padding-top: 60px;
    padding-bottom: 65px;
  }

  .fw-featured-grid,
  .fw-framework-grid {
    grid-template-columns: 1fr;
  }

  .fw-featured-card {
    min-height: 190px;
  }

  .fw-directory-intro {
    display: block;
  }

  .fw-directory-summary {
    width: fit-content;
    margin-top: 17px;
  }

  .fw-filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .fw-filter-chips button {
    flex: 0 0 auto;
  }

  .fw-full-library-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fw-full-library-icon {
    margin: 0 auto;
  }

  .fw-full-library-button {
    grid-column: auto;
    justify-self: center;
  }

  .fw-builder-body {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .fw-custom-inner {
    padding: 58px 0;
  }
}


@media (max-width: 480px) {
  .fw-container {
    width: calc(100% - 24px);
  }

  .fw-hero-inner {
    width: calc(100% - 24px);
  }

  .fw-hero {
    min-height: 650px;
  }

  .fw-hero h1 {
    font-size: 43px;
  }

  .fw-featured-card {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 18px;
  }

  .fw-featured-logo-slot {
    width: 70px;
    height: 70px;
    border-radius: 17px;
  }

  .fw-framework-card {
    grid-template-columns: 55px minmax(0, 1fr);
    min-height: 165px;
    padding: 14px;
  }

  .fw-framework-logo {
    width: 55px;
    height: 55px;
  }

  .fw-results-bar {
    display: block;
  }

  .fw-results-bar button {
    margin-top: 9px;
  }

  .fw-builder-ui {
    overflow-x: auto;
  }

  .fw-builder-body {
    min-width: 470px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .fw-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
