
      button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]), a { min-height: 2.25rem; }
      * { box-sizing: border-box; }
      :root {
        color-scheme: dark;
        --bg: #0c1210;
        --bg-soft: #111a17;
        --surface: #15201c;
        --surface-2: #1a2721;
        --ink: #edf4f0;
        --ink-2: #c3d2ca;
        --muted: #93a89c;
        --line: #2a3a33;
        --accent: #2fbf9f;
        --accent-strong: #5fd3b6;
        --accent-soft: #173b32;
        --amber: #f0b45a;
        --amber-soft: #3a2f14;
        --shadow: 0 10px 30px rgba(0,0,0,.35);
        --radius: 16px;
      }
      html { scroll-behavior: smooth; }
      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        * { animation: none !important; transition: none !important; }
      }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
        font-size: 16px;
        line-height: 1.55;
        -webkit-font-smoothing: antialiased;
      }
      .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
      :focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

      /* ---------- top nav (the mockup site's own header) ---------- */
      .site-nav {
        position: sticky; top: 0; z-index: 50;
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
      }
      .site-nav-inner {
        max-width: 1200px; margin: 0 auto; padding: 10px 20px;
        display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
      }
      .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 2.25rem; }
      .brand-logo { height: 60px; width: auto; max-width: 260px; display: block; }
      @media (max-width: 560px) { .brand-logo { height: 46px; max-width: 190px; } }
      .brand-mark {
        width: 38px; height: 38px; border-radius: 10px; flex: none;
        background: var(--accent); color: #0c1210;
        display: grid; place-items: center;
        font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 19px;
      }
      .brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; line-height: 1.1; }
      .brand-name span { color: var(--accent-strong); }
      .brand-tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
      .nav-links { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
      .nav-links a {
        display: inline-flex; align-items: center; padding: 6px 12px;
        color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; border-radius: 8px;
      }
      .nav-links a:hover { background: var(--surface); color: var(--ink); }

      .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

      /* ---------- hero ---------- */
      .hero { padding: 46px 0 6px; max-width: 820px; }
      .hero h1 {
        font-size: clamp(32px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -.02em;
        font-weight: 900; margin: 0 0 14px;
      }
      .hero h1 em { font-style: normal; color: var(--accent-strong); }
      .hero-sub { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; max-width: 36em; }
      .search-box {
        display: flex; gap: 8px; background: var(--surface); border: 1.5px solid var(--line);
        border-radius: 14px; padding: 6px; box-shadow: var(--shadow);
      }
      .search-box input {
        flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
        font: inherit; font-size: 17px; padding: 8px 10px;
      }
      .search-box input:focus { outline: none; }
      .search-box:focus-within { border-color: var(--accent); }
      .btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        background: var(--accent); color: #0c1210; border: 0; cursor: pointer;
        font: inherit; font-weight: 700; font-size: 15.5px;
        padding: 10px 20px; border-radius: 10px; text-decoration: none;
      }
      .btn:hover { background: var(--accent-strong); }
      .search-meta { margin: 10px 2px 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
      .stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 20px; }
      .stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
      .stat span { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
      .audience-line { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
      .audience-line b { color: var(--ink); }

      /* ---------- filter pills ---------- */
      .filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 32px 0 2px; }
      .filter-bar .f-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
      .pill {
        font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer;
        padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line);
        background: var(--surface); color: var(--ink-2);
      }
      .pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0c1210; }

      /* ---------- sections & popular ---------- */
      .section-head { margin: 42px 0 6px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
      .section-head h2, .section-head h3 { font-size: clamp(24px, 3vw, 31px); font-weight: 800; letter-spacing: -.015em; margin: 0; }
      .section-head p { margin: 0; color: var(--muted); font-size: 15.5px; }
      .popular-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
      .pop-card {
        text-align: left; font: inherit; cursor: pointer; color: var(--ink);
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow);
        transition: transform .15s ease, border-color .15s ease;
      }
      .pop-card:hover { border-color: var(--accent); transform: translateY(-2px); }
      .pop-card .pop-name { font-weight: 700; font-size: 16.5px; }
      .pop-card .pop-sub { font-size: 13.5px; color: var(--muted); }
      .pop-card .pop-go { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--accent-strong); }

      /* ---------- category blocks ---------- */
      .cat-block { margin-top: 34px; }
      .cat-head { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
      .cat-icon {
        width: 46px; height: 46px; border-radius: 13px; flex: none; color: #fff;
        display: grid; place-items: center;
      }
      .cat-icon svg { width: 24px; height: 24px; }
      .cat-head h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
      .cat-link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
      .cat-link:hover { color: var(--accent-strong); text-decoration: underline; }
      .cat-open { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--accent-strong); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; }
      .cat-open:hover { text-decoration: underline; }
      .cat-head .cat-count { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 600; color: var(--muted); }
      .cat-blurb { margin: 0 0 14px 60px; color: var(--ink-2); font-size: 15px; max-width: 46em; }
      .tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 0 60px; padding: 0; list-style: none; }
      .tool-item {
        display: flex; align-items: center; gap: 8px;
        background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
        padding: 9px 12px; font-size: 14.5px; font-weight: 500; line-height: 1.3; min-height: 44px;
      }
      .tool-item .t-arrow { margin-left: auto; color: var(--muted); font-size: 13px; flex: none; }
      .tool-item:hover { border-color: var(--accent); }
      .tool-item.flash { animation: flash 1.8s ease; }
      @keyframes flash { 0%, 55% { background: var(--amber-soft); border-color: var(--amber); } 100% { background: var(--surface); } }
      .no-results {
        display: none; margin: 26px 0 0; padding: 22px; text-align: center;
        background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--ink-2);
      }
      .no-results.show { display: block; }

      /* ---------- audiences ---------- */
      .aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
      .aud-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
      .aud-card h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 700; }
      .aud-card p { margin: 0; font-size: 14px; color: var(--ink-2); }

      /* ---------- footer ---------- */
      footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--bg-soft); }
      .footer-inner { max-width: 1200px; margin: 0 auto; padding: 28px 20px 36px; display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
      .footer-inner .f-brand { font-weight: 800; font-size: 17px; }
      .footer-inner p { margin: 4px 0 0; font-size: 14px; color: var(--muted); max-width: 42em; }
      .footer-links { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
      .footer-links a { padding: 6px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; }
      .footer-links a:hover { color: var(--ink); }

      /* ---------- working tool dialog ---------- */
      .tool-item { cursor: pointer; text-align: left; width: 100%; font: inherit; color: var(--ink); }
      .tool-item:hover .t-open { color: var(--accent-strong); }
      .tool-overlay {
        position: fixed; inset: 0; z-index: 100; display: none;
        background: rgba(8, 14, 12, .58); padding: 16px; overflow-y: auto;
      }
      .tool-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
      .tool-dialog {
        background: var(--surface); color: var(--ink); border-radius: 18px;
        width: 100%; max-width: 580px; margin: auto; padding: 24px;
        box-shadow: 0 24px 60px rgba(0,0,0,.3); border: 1px solid var(--line);
        display: flex; flex-direction: column; max-height: calc(100dvh - 32px);
      }
      .tool-dialog-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 4px; flex: none; }
      .tool-scroll { overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
      .tool-dialog-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
      .tool-kind { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 4px; }
      .tool-close {
        margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 10px;
        border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
        font-size: 20px; cursor: pointer; line-height: 1;
      }
      .tool-close:hover { border-color: var(--accent); }
      .tf { margin-top: 14px; }
      .tf label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 5px; }
      .tf input, .tf select, .tf textarea {
        width: 100%; font: inherit; font-size: 16px; color: var(--ink);
        background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px;
      }
      .tf textarea { min-height: 84px; resize: vertical; }
      .tf input:focus, .tf select:focus, .tf textarea:focus { outline: none; border-color: var(--accent); }
      .tf .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
      .tool-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
      .tool-inline { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
      .tool-inline .tool-result { margin-top: 14px; }
      .btn-ghost {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        background: var(--surface-2); color: var(--ink); border: 1.5px solid var(--line); cursor: pointer;
        font: inherit; font-weight: 700; font-size: 15.5px; padding: 10px 18px; border-radius: 10px;
      }
      .btn-ghost:hover { border-color: var(--accent); }
      .tool-result {
        display: none; margin-top: 18px; background: var(--accent-soft);
        border-radius: 12px; padding: 16px 18px; font-size: 16px; line-height: 1.55;
        scroll-margin: 10px 0;
      }
      .tool-result.show { display: block; animation: resultIn .3s ease; }
      @keyframes resultIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
      .tool-result .big { font-size: 24px; font-weight: 800; letter-spacing: -.01em; display: block; margin-bottom: 2px; }
      .tool-result table { border-collapse: collapse; margin-top: 8px; width: 100%; }
      .tool-result td, .tool-result th { text-align: left; padding: 4px 10px 4px 0; font-size: 15px; vertical-align: top; }
      .tool-result .note { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
      .qr-box { display: grid; place-items: center; padding: 10px; background: #fff; border-radius: 12px; margin-top: 6px; }
      .habit-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
      .habit-day {
        font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer;
        padding: 8px 10px; border-radius: 8px; border: 1.5px solid var(--line);
        background: var(--surface-2); color: var(--ink-2);
      }
      .habit-day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0c1210; }
      .timer-face { font-family: "IBM Plex Mono", monospace; font-size: 44px; font-weight: 600; text-align: center; margin: 10px 0 2px; }

      @media (max-width: 960px) {
        .popular-grid, .aud-grid { grid-template-columns: repeat(2, 1fr); }
        .tool-grid { grid-template-columns: repeat(2, 1fr); margin-left: 0; }
        .cat-blurb { margin-left: 0; }
      }
      @media (max-width: 560px) {
        .popular-grid, .aud-grid, .tool-grid { grid-template-columns: 1fr; }
        .hero { padding-top: 28px; }
        .stat-row { gap: 18px; }
        .tool-overlay { padding: 10px; }
        .tool-dialog { padding: 18px; max-height: calc(100dvh - 20px); }
      }

      /* ---------- multi-page expansion: views, hubs, ad slots, article pages ---------- */
      [hidden] { display: none !important; }
      .ad-slot {
        margin: 26px 0; border: 1.5px dashed var(--line); border-radius: 12px;
        background: var(--surface-2); color: var(--muted);
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
        text-align: center; padding: 18px 14px;
      }
      .ad-slot .ad-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
      .ad-slot .ad-size { font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
      .ad-slot .ad-note { font-size: 13px; }
      .ad-leaderboard { min-height: 110px; }
      .ad-infeed { min-height: 120px; }
      .ad-sidebar { min-height: 250px; margin: 0 0 18px; }
      .crumbs { margin: 26px 0 4px; font-size: 14px; color: var(--muted); }
      .crumbs a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
      .crumbs a:hover { text-decoration: underline; }
      .page-hero { display: flex; gap: 16px; align-items: flex-start; margin-top: 10px; }
      .page-hero h2, .toolpage-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
      .page-hero p { margin: 0; color: var(--ink-2); font-size: 16.5px; max-width: 44em; }
      .page-stats { margin-top: 8px !important; font-size: 13.5px !important; color: var(--muted) !important; font-weight: 600; }
      .hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
      .hub-card {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 15px 16px; text-decoration: none; color: var(--ink);
        display: flex; flex-direction: column; gap: 3px; box-shadow: var(--shadow);
      }
      .hub-card:hover { border-color: var(--accent); }
      .hub-dot { width: 12px; height: 12px; border-radius: 4px; margin-bottom: 4px; }
      .hub-name { font-weight: 800; font-size: 16.5px; letter-spacing: -.01em; }
      .hub-meta { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
      .hub-go { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--accent-strong); }
      .ctool-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
      .ctool {
        display: flex; align-items: center; gap: 10px; background: var(--surface);
        border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
      }
      .ctool-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
      .ctool-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
      .btn-small { padding: 7px 14px; font-size: 14px; border-radius: 8px; }
      .page-link { font-size: 13.5px; font-weight: 700; color: var(--accent-strong); text-decoration: none; white-space: nowrap; }
      .page-link:hover { text-decoration: underline; }
      .layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 14px; align-items: start; }
      .side-col { position: sticky; top: 84px; }
      .side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; }
      .side-box h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
      .side-box p { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
      .side-box a { color: var(--accent-strong); font-weight: 700; font-size: 14.5px; text-decoration: none; line-height: 2; }
      .side-box a:hover { text-decoration: underline; }
      .toolpage-lede { font-size: 17.5px; color: var(--ink-2); max-width: 40em; margin: 0 0 6px; }
      .subhead { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 8px; }
      .steps { margin: 0; padding-left: 22px; color: var(--ink-2); }
      .steps li { margin-bottom: 6px; }
      .rel-list { display: flex; flex-direction: column; gap: 2px; }
      .rel-list a { color: var(--accent-strong); font-weight: 600; text-decoration: none; padding: 7px 0; border-bottom: 1px solid var(--line); }
      .rel-list a:hover { text-decoration: underline; }
      .guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
      .guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 5px; box-shadow: var(--shadow); }
      .guide-card:hover { border-color: var(--accent); }
      .guide-card h3 { margin: 0; font-size: 17.5px; font-weight: 800; line-height: 1.3; }
      .guide-card p { margin: 0; font-size: 14px; color: var(--ink-2); }
      .guide-card .g-meta { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
      .guide-card .hub-go { margin-top: auto; padding-top: 6px; }
      .guide-article p { color: var(--ink-2); font-size: 16.5px; max-width: 42em; }
      .guide-article h3 { font-size: 20px; font-weight: 800; margin: 26px 0 6px; }
      .guide-article .formula { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; font-size: 17px; color: var(--ink); }
      .guide-table { border-collapse: collapse; margin: 10px 0 16px; width: 100%; max-width: 560px; }
      .guide-table th, .guide-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
      .guide-table th { font-weight: 700; white-space: nowrap; }
      .footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; margin-top: 18px; }
      .footer-cols h4 { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
      .footer-cols a { display: block; padding: 3px 0; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
      .footer-cols a:hover { color: var(--ink); }
      @media (max-width: 960px) {
        .hub-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
        .layout-2col { grid-template-columns: 1fr; }
        .side-col { position: static; }
        .footer-cols { grid-template-columns: repeat(2, 1fr); }
      }
      @media (max-width: 560px) {
        .hub-grid, .guide-grid, .ctool-list, .footer-cols { grid-template-columns: 1fr; }
        .page-hero { flex-direction: column; }
      }

    .faq{margin:26px 0 6px}.faq-item{margin:0 0 16px}.faq-q{font-weight:700;margin:0 0 4px;color:#edf4f0}.faq-a{margin:0;color:#c3d2ca}.noscript-wrap{max-width:860px;margin:0 auto;padding:28px 20px}.noscript-wrap h2{font-size:1.5rem;margin:0 0 12px}.noscript-wrap h3{margin:28px 0 8px}.noscript-wrap h4{margin:18px 0 4px}.noscript-wrap ul{columns:2;column-gap:28px;margin:6px 0 10px;padding-left:18px}.noscript-wrap li{margin:0 0 3px}

/* Generated pages only: category/index pages promote the page-hero h2 to h1;
   same size/weight as the .page-hero h2 rule above. */
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
