.hero {
      text-align: center;
      padding: 56px 20px 44px;
      max-width: 720px;
      margin: 0 auto;
    }

    .hero .eyebrow { margin-bottom: 12px; }

    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(32px, 5.5vw, 56px);
      font-weight: 400;
      color: var(--text);
      line-height: 1.1;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }

    .hero h1 em {
      font-style: normal;
      color: var(--accent);
      font-weight: 700;
    }

    .hero-sub {
      font-size: 16px;
      color: var(--text2);
      line-height: 1.65;
      max-width: 560px;
      margin: 0 auto 28px;
      font-weight: 300;
    }

    /* pill badges */
    .hero-pills {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-bottom: 0;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: var(--white);
      border: 1px solid var(--border);
      color: var(--text2);
      font-size: 12px;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 20px;
      letter-spacing: 0.02em;
    }

    .pill svg { flex-shrink: 0; }

    /* ── Stat strip ──────────────────────────────── */
    .stat-strip {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      max-width: 700px;
      margin: 32px auto 0;
    }

    .strip-item {
      flex: 1;
      min-width: 120px;
      padding: 18px 20px;
      text-align: center;
      border-right: 1px solid var(--border-light);
    }
    .strip-item:last-child { border-right: none; }

    .strip-num {
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 700;
      color: var(--accent-dark);
      line-height: 1;
    }

    .strip-lbl {
      font-size: 11px;
      font-weight: 600;
      color: var(--text3);
      text-transform: uppercase;
      letter-spacing: 0.09em;
      margin-top: 4px;
    }

    /* ── Category filter bar ─────────────────────── */
    .category-bar {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 28px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border-light);
    }

    .cat-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 16px;
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 40px;
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 600;
      color: var(--text2);
      cursor: pointer;
      transition: all 0.18s;
      white-space: nowrap;
    }

    .cat-btn:hover {
      border-color: var(--accent-mid);
      color: var(--accent-dark);
      background: var(--accent-xlight);
    }

    .cat-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
      box-shadow: 0 2px 10px rgba(74,124,63,0.3);
    }

    /* ── Section heading ─────────────────────────── */
    .section-heading {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 20px;
    }

    .section-heading h2 {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 700;
      color: var(--text);
    }

    .section-heading .count-badge {
      font-size: 11px;
      font-weight: 700;
      background: var(--accent-light);
      color: var(--accent-dark);
      padding: 3px 9px;
      border-radius: 20px;
      letter-spacing: 0.05em;
    }

    /* ── Tool grid ───────────────────────────────── */
    .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
      margin-bottom: 44px;
    }

    @media (max-width: 480px) {
      .tools-grid { grid-template-columns: 1fr; }
    }

    /* ── Tool card ───────────────────────────────── */
    .tool-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      padding: 20px;
      text-decoration: none;
      border-bottom: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
      position: relative;
      overflow: hidden;
    }

    .tool-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent) 0%, var(--accent-mid) 100%);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.22s ease;
    }

    .tool-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: var(--accent-mid);
    }

    .tool-card:hover::before { transform: scaleX(1); }

    .tool-icon-wrap {
      width: 42px; height: 42px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .tool-card-top {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .tool-card-meta { flex: 1; }

    .tool-name {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      color: var(--link);
      line-height: 1.25;
      margin-bottom: 3px;
    }

    .tool-cat-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--text3);
    }

    .tool-desc {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.55;
      flex: 1;
    }

    .tool-arrow {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-top: auto;
      transition: gap 0.18s;
    }

    .tool-card:hover .tool-arrow { gap: 8px; }

    /* icon background colours per category */
    .icon-bg-finance  { background: #e8f5e1; }
    .icon-bg-health   { background: #e1f0f5; }
    .icon-bg-math     { background: #f0e8f5; }
    .icon-bg-general  { background: #f5f0e8; }

    /* "Popular" badge on card */
    .popular-badge {
      position: absolute;
      top: 12px; right: 12px;
      background: var(--result-border);
      color: #5a4200;
      font-size: 9px;
      font-weight: 800;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      padding: 3px 7px;
      border-radius: 20px;
    }

    /* ── How-it-works strip ──────────────────────── */
    .how-strip {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      margin-bottom: 44px;
    }

    .how-strip::before {
      content: '';
      display: block;
      height: 4px;
      background: linear-gradient(90deg, var(--accent) 0%, var(--accent-mid) 100%);
    }

    .how-inner {
      padding: 28px 30px;
    }

    .how-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 24px;
      margin-top: 20px;
    }

    .how-item { text-align: center; }

    .how-num {
      width: 36px; height: 36px;
      border-radius: 50%;
      background: var(--accent-light);
      border: 2px solid var(--accent-mid);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 10px;
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      color: var(--accent-dark);
    }

    .how-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 5px;
    }

    .how-desc {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.55;
    }

    /* ── FAQ ─────────────────────────────────────── */
    .faq-list { display: flex; flex-direction: column; gap: 12px; }

    .faq-item {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
    }

    .faq-q {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      cursor: pointer;
      user-select: none;
      gap: 12px;
    }

    .faq-q-text {
      font-size: 15px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.4;
    }

    .faq-chevron {
      flex-shrink: 0;
      width: 20px; height: 20px;
      color: var(--text3);
      transition: transform 0.22s;
    }

    .faq-item.open .faq-chevron { transform: rotate(180deg); }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.22s;
    }

    .faq-item.open .faq-a { max-height: 300px; }

    .faq-a-inner {
      padding: 0 20px 18px;
      font-size: 14px;
      color: var(--text2);
      line-height: 1.65;
      border-top: 1px solid var(--border-light);
      padding-top: 14px;
    }

    /* ── Newsletter / CTA strip ──────────────────── */
    .cta-strip {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
      border-radius: var(--radius);
      padding: 36px 30px;
      text-align: center;
      margin-bottom: 44px;
      box-shadow: 0 4px 20px rgba(74,124,63,0.3);
    }

    .cta-strip h2 {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    .cta-strip p {
      font-size: 14px;
      color: rgba(255,255,255,0.82);
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .cta-form {
      display: flex;
      gap: 8px;
      max-width: 420px;
      margin: 0 auto;
      flex-wrap: wrap;
      justify-content: center;
    }

    .cta-form input[type="email"] {
      flex: 1;
      min-width: 200px;
      background: rgba(255,255,255,0.15);
      border: 1.5px solid rgba(255,255,255,0.35);
      border-radius: var(--radius-sm);
      color: #fff;
      padding: 10px 16px;
      font-family: var(--font-body);
      font-size: 14px;
      outline: none;
    }
    .cta-form input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
    .cta-form input[type="email"]:focus { border-color: rgba(255,255,255,0.7); }

    .cta-form button {
      padding: 10px 22px;
      background: #fff;
      border: none;
      border-radius: var(--radius-sm);
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 700;
      color: var(--accent-dark);
      cursor: pointer;
      transition: opacity 0.18s;
    }
    .cta-form button:hover { opacity: 0.92; }

    /* ── Full-width page wrapper override ────────── */
    .page-wide {
      position: relative;
      z-index: 1;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px 70px;
    }

    /* ── No-result message ───────────────────────── */
    .no-results {
      text-align: center;
      padding: 40px 20px;
      color: var(--text3);
      font-size: 15px;
      display: none;
    }

    /* ── Breadcrumb ──────────────────────────────── */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12.5px;
      color: var(--text3);
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    .breadcrumb a {
      color: var(--text3);
      text-decoration: none;
      border-bottom: none;
    }
    .breadcrumb a:hover { color: var(--accent-dark); }
    .breadcrumb-sep { color: var(--border); }