/* All Features hub — from static-all-features.html */

.page-all-features {
  --page: #f4f5f8;
  --card: #ffffff;
  --ink: #161f2b;
  --ink-soft: #2b3543;
  --muted: #697384;
  --muted-2: #9aa2b1;
  --border: #e8eaef;
  --border-2: #eef0f4;
  --teal: #4F46E5;
  --teal-h: #4338CA;
  --teal-soft: #ECEAFB;
  --navy: #16202c;
  --navy-h: #0e1620;
  --serif: system-ui, "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 3px 9px rgba(22, 31, 43, .06), 0 1px 2px rgba(22, 31, 43, .04);
  --shadow-md: 0 10px 26px rgba(22, 31, 43, .09), 0 2px 6px rgba(22, 31, 43, .05);
  --shadow-lg: 0 16px 40px rgba(21, 31, 43, .12), 0 4px 10px rgba(21, 31, 43, .06);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.page-all-features,
.page-all-features * {
  box-sizing: border-box;
}

.page-all-features .hub,
.page-all-features .hub-wrap,
.page-all-features .hub-layout,
.page-all-features .hub-main,
.page-all-features .h-side,
.page-all-features .group,
.page-all-features .cards,
.page-all-features .tcard,
.page-all-features .toolbar,
.page-all-features .chips {
  min-width: 0;
  max-width: 100%;
}

.page-all-features .ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-all-features .serif {
  font-family: var(--serif);
}

.page-all-features .hub-wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.page-all-features .hub .hub-crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 26px 0 0;
}

.page-all-features .hub .hub-crumb a {
  color: var(--muted);
}

.page-all-features .hub .hub-crumb a:hover {
  color: var(--teal);
}

.page-all-features .hub .hub-crumb .sep {
  color: var(--muted-2);
}

.page-all-features .hub .hub-crumb .cur {
  color: var(--ink-soft);
  font-weight: 700;
}

.page-all-features .hub .hub-intro {
  padding: 20px 0 28px;
}

.page-all-features .hub .hub-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(79, 70, 229, .18);
  border-radius: 999px;
  padding: 7px 13px;
  margin-bottom: 16px;
}

.page-all-features .hub .hub-intro h1 {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -.022em;
  font-weight: 800;
  color: #1b2440;
  margin: 0 0 14px;
}

.page-all-features .hub .hub-intro .lead {
  font-size: 16px;
  color: #556276;
  line-height: 1.62;
  max-width: 600px;
  margin: 0 0 22px;
}

.page-all-features .hub .hub-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-all-features .hub .hub-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 15px;
  box-shadow: var(--shadow-sm);
}

.page-all-features .hub .hub-stat b {
  font-family: var(--serif);
  font-weight: 800;
  color: var(--teal-h);
  font-size: 15px;
}

/* ad placeholders (brand) */
.page-all-features .hub .adslot {
  position: relative;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #fbfcfe, #f3f6fa);
  border-radius: 16px;
  overflow: hidden;
}

.page-all-features .hub .adslot .ad-label {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.page-all-features .hub .adslot .ad-fill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 100%;
}

.page-all-features .hub .adslot .ad-fill span {
  font-size: 14px;
  font-weight: 700;
  color: #8a93a3;
}

.page-all-features .hub .adslot .ad-fill small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-2);
}

.page-all-features .hub .adslot-lead {
  height: 104px;
  margin: 8px 0 0;
}

.page-all-features .hub .adslot-mid {
  height: 152px;
  margin: 6px 0 10px;
}

.page-all-features .hub .adslot-bottom {
  height: 104px;
  margin: 30px 0 0;
}

.page-all-features .hub .adslot-side .ad-fill {
  padding: 30px 0;
}

/* toolbar */
.page-all-features .hub .toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin: 22px 0 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 84px;
  z-index: 25;
}

.page-all-features .hub .tb-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.page-all-features .hub .t-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  height: 46px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--page);
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.page-all-features .hub .t-field:focus-within {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .10);
}

.page-all-features .hub .t-field .ico {
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  flex: none;
}

.page-all-features .hub .t-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.page-all-features .hub .t-field.hub-search-trigger {
  cursor: pointer;
  user-select: none;
}

.page-all-features .hub .t-field.hub-search-trigger input {
  cursor: pointer;
  pointer-events: none;
}

.page-all-features .hub .t-field .search-kbd {
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  flex: none;
  line-height: 1.2;
}

.page-all-features .hub .t-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}

.page-all-features .hub .t-select:hover {
  border-color: #cdd5e0;
  color: var(--teal-h);
}

.page-all-features .hub .t-select .ico {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
}

.page-all-features .hub .chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.page-all-features .hub .fchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #475367;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, transform .05s;
}

.page-all-features .hub .fchip:hover {
  border-color: #cdd5e0;
  color: var(--teal-h);
}

.page-all-features .hub .fchip:active {
  transform: translateY(1px);
}

.page-all-features .hub .fchip .c {
  font-size: 11.5px;
  color: var(--muted-2);
  font-weight: 700;
}

.page-all-features .hub .fchip.on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 8px 18px rgba(23, 35, 55, .16);
}

.page-all-features .hub .fchip.on .c {
  color: rgba(255, 255, 255, .6);
}

/* layout */
.page-all-features .hub .hub-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 28px;
  padding: 26px 0 0;
  align-items: start;
}

.page-all-features .hub .h-side {
  position: sticky;
  top: 212px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-all-features .hub .h-sidecard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.page-all-features .hub .h-sidecard h4 {
  margin: 0 0 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.page-all-features .hub .h-sidelinks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-all-features .hub .h-sidelinks li {
  margin: 1px 0;
}

.page-all-features .hub .h-sidelinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .14s, color .14s;
}

.page-all-features .hub .h-sidelinks a:hover {
  background: var(--page);
  color: var(--teal-h);
}

.page-all-features .hub .h-sidelinks a.on {
  background: var(--teal-soft);
  color: var(--teal-h);
  font-weight: 800;
}

.page-all-features .hub .h-sidelinks .n {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
}

.page-all-features .hub .h-sidelinks a.on .n {
  color: var(--teal);
}

/* groups + cards */
.page-all-features .hub .hub-main {
  min-width: 0;
}

.page-all-features .hub .group {
  margin-bottom: 34px;
}

.page-all-features .hub .group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.page-all-features .hub .group-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-all-features .hub .group-head h2 small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
  margin-left: 9px;
}

.page-all-features .hub .group-head .viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--teal);
  white-space: nowrap;
  cursor: pointer;
}

.page-all-features .hub .group-head .viewall:hover {
  color: var(--teal-h);
}

.page-all-features .hub .group-head .viewall .ico {
  width: 14px;
  height: 14px;
}

.page-all-features .hub .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-all-features .hub .tcard {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 17px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.page-all-features .hub .tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d3dae4;
}

.page-all-features .hub .tcard .badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--teal-h);
  background: var(--teal-soft);
}

.page-all-features .hub .tcard .badge .ico {
  width: 22px;
  height: 22px;
}

.page-all-features .hub .tc-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-all-features .hub .tc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.25;
}

.page-all-features .hub .tcard:hover .tc-title {
  color: var(--teal-h);
}

.page-all-features .hub .tc-desc {
  font-size: 12.5px;
  color: #5f6a7b;
  line-height: 1.46;
  margin-bottom: 11px;
}

.page-all-features .hub .tcat {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 8px;
}

.page-all-features .hub .star {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-h);
  background: var(--teal-soft);
  border-radius: 6px;
  padding: 3px 7px;
}

/* category accents */
.page-all-features .hub .c-blue .badge {
  background: rgba(40, 100, 230, .10);
  color: #2452c4;
}

.page-all-features .hub .c-purple .badge {
  background: rgba(123, 53, 240, .10);
  color: #6b27d4;
}

.page-all-features .hub .c-orange .badge {
  background: rgba(243, 154, 18, .13);
  color: #b9690a;
}

.page-all-features .hub .c-teal .badge {
  background: var(--teal-soft);
  color: var(--teal-h);
}

.page-all-features .hub .c-blue .tcat {
  color: #2452c4;
  background: rgba(40, 100, 230, .08);
  border-color: rgba(40, 100, 230, .18);
}

.page-all-features .hub .c-purple .tcat {
  color: #6b27d4;
  background: rgba(123, 53, 240, .08);
  border-color: rgba(123, 53, 240, .18);
}

.page-all-features .hub .c-orange .tcat {
  color: #b9690a;
  background: rgba(243, 154, 18, .10);
  border-color: rgba(243, 154, 18, .22);
}

.page-all-features .hub .c-teal .tcat {
  color: var(--teal-h);
  background: var(--teal-soft);
  border-color: rgba(79, 70, 229, .18);
}

/* featured group */
.page-all-features .hub .feat .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-all-features .hub .feat .tcard {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 17px;
}

.page-all-features .hub .feat .tcard .badge {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.page-all-features .hub .feat .tc-title {
  font-size: 15px;
  margin-bottom: 0;
}

.page-all-features .hub .feat .tc-desc {
  font-size: 13.5px;
}

/* empty state */
.page-all-features .hub .empty {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 56px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.page-all-features .hub .empty.show {
  display: block;
}

.page-all-features .hub .empty .e-ico {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: var(--teal-soft);
  color: var(--teal-h);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.page-all-features .hub .empty .e-ico .ico {
  width: 30px;
  height: 30px;
}

.page-all-features .hub .empty h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}

.page-all-features .hub .empty p {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--muted);
}

.page-all-features .hub .empty .q {
  font-weight: 800;
  color: var(--ink-soft);
}

.page-all-features .hub .result-note {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 16px;
}

@media (max-width:1040px) {
  .page-all-features .hub-wrap {
    padding: 0 24px;
  }

  .page-all-features .hub .hub-layout {
    grid-template-columns: 1fr;
  }

  .page-all-features .hub .h-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-all-features .hub .h-sidecard,
  .page-all-features .hub .adslot-side {
    flex: 1;
    min-width: 240px;
  }

  .page-all-features .hub .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-all-features .hub .toolbar {
    position: static;
  }
}

@media (max-width:640px) {
  .page-all-features .hub-wrap {
    padding: 0 16px;
    max-width: 100%;
  }

  .page-all-features .hub .hub-intro h1 {
    font-size: 32px;
  }

  .page-all-features .hub .tb-row {
    flex-direction: column;
    align-items: stretch;
  }

  .page-all-features .hub .t-select {
    justify-content: center;
  }

  .page-all-features .hub .cards,
  .page-all-features .hub .feat .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-all-features .hub .h-side {
    flex-direction: column;
  }

  .page-all-features .hub .h-sidecard,
  .page-all-features .hub .adslot-side {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .page-all-features .hub .tcard {
    width: 100%;
    max-width: 100%;
  }
}

.page-all-features .pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 28px 0 6px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.page-all-features .pager a,
.page-all-features .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: #475367;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  transition: color .15s, border-color .15s, background .15s, transform .05s;
}

.page-all-features .pager a:hover {
  border-color: #cdd5e0;
  color: var(--teal-h);
}

.page-all-features .pager a.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 8px 18px rgba(79, 70, 229, .2);
}

.page-all-features .pager a.disabled,
.page-all-features .pager span.disabled {
  opacity: .45;
  pointer-events: none;
}

.page-all-features .hub-section-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.page-all-features .hub-section-search .t-field {
  flex: 1;
  min-width: 200px;
}

.page-all-features .hub-section-search .btn-teal {
  height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.page-all-features .hub-section-search .btn-teal:hover {
  background: var(--teal-h);
}

.page-all-features .hub-section-search .btn-ghost {
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.page-all-features .hub-jump {
  scroll-margin-top: 120px;
}

.page-all-features .hub .tcard .badge.feat-emoji {
  font-size: 24px;
  line-height: 1;
}

.page-all-features .hub .search-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}

.page-all-features .hub a.fchip.fchip-link {
  text-decoration: none;
}

.page-all-features .hub .hub-main-full {
  width: 100%;
  max-width: none;
}

/* Category-wise tools list — search + grid spacing */
.page-all-features .hub.cat-tools-list .toolbar {
  margin: 22px 0 28px;
  padding: 14px 16px;
  position: static;
  top: auto;
}

.page-all-features .hub.cat-tools-list .t-field {
  height: 48px;
  padding: 0 16px;
  background: #fff;
  border-color: #dfe4ec;
  border-radius: 13px;
}

.page-all-features .hub.cat-tools-list .t-field .ico {
  color: #9aa2b1;
  transition: color .15s;
}

.page-all-features .hub.cat-tools-list .t-field:focus-within {
  border-color: var(--teal-h);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}

.page-all-features .hub.cat-tools-list .t-field:focus-within .ico {
  color: var(--teal-h);
}

.page-all-features .hub.cat-tools-list .t-field input,
.page-all-features .hub.cat-tools-list .t-field input:focus,
.page-all-features .hub.cat-tools-list .t-field input:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.page-all-features .hub.cat-tools-list .t-field input::placeholder {
  color: #9aa2b1;
}

.page-all-features .hub.cat-tools-list .hub-main-full .group {
  margin-bottom: 20px;
}

.page-all-features .hub.cat-tools-list .hub-main-full .cards {
  margin-top: 0;
}

.page-all-features .hub.cat-tools-list .result-note {
  margin-top: 20px;
}

/* Same typography shell as page-trivia (Trivia.html) */
.page-all-features {
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-all-features,
.page-all-features * {
  box-sizing: border-box;
}

.page-all-features .hub a {
  color: inherit;
  text-decoration: none;
}

.page-all-features svg {
  display: block;
}

.page-all-features .hub .tcat {
  display: none;
}

.page-all-features .hub .tc-title {
  margin-bottom: 0;
}