/* AthroughZ — layout concept: a reference index. The A–Z thumb-tab strip is the spine,
   listings are index cards with catalog codes, and light pages alternate with ink bands. */
:root {
  --bg: #F3F5F9;
  --surface: #FFFFFF;
  --sunk: #E8ECF3;
  --ink: #0C1124;
  --muted: #535B75;
  --line: #DBE0EA;
  --brand: #2836E6;
  --brand-soft: #E5E8FF;
  --on-brand: #FFFFFF;
  --mark: #FFD84A;
  --on-mark: #0C1124;
  --band: #0C1124;
  --on-band: #F1F3FA;
  --band-muted: #A6AECA;
  --band-line: #262E4D;
  --free: #17703F;
  --free-bg: #DFF2E7;
  --freemium: #2531C9;
  --freemium-bg: #E5E8FF;
  --paid: #4A5270;
  --paid-bg: #E8ECF3;
  --shadow: 0 10px 28px -16px rgba(12, 17, 36, .45);

  --display: "Outfit", "Inter Display", ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 6px;
  --head-h: 68px;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090D1B; --surface: #10162B; --sunk: #171E37; --ink: #ECEFF8; --muted: #9EA6C1; --line: #242B47;
    --brand: #8792FF; --brand-soft: #1C2252; --on-brand: #0A0E1F; --mark: #FFD84A; --on-mark: #0C1124;
    --band: #131A38; --on-band: #EEF1FA; --band-muted: #AAB2D0; --band-line: #2A3462;
    --free: #74D9A0; --free-bg: #11301F; --freemium: #AEB5FF; --freemium-bg: #1C2252; --paid: #B9C0D8; --paid-bg: #1B2238;
    --shadow: 0 10px 28px -16px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090D1B; --surface: #10162B; --sunk: #171E37; --ink: #ECEFF8; --muted: #9EA6C1; --line: #242B47;
  --brand: #8792FF; --brand-soft: #1C2252; --on-brand: #0A0E1F; --mark: #FFD84A; --on-mark: #0C1124;
  --band: #131A38; --on-band: #EEF1FA; --band-muted: #AAB2D0; --band-line: #2A3462;
  --free: #74D9A0; --free-bg: #11301F; --freemium: #AEB5FF; --freemium-bg: #1C2252; --paid: #B9C0D8; --paid-bg: #1B2238;
  --shadow: 0 10px 28px -16px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.18; }
p { margin: 0; }
ul, ol { margin: 0; }
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.band { background: var(--band); color: var(--on-band); }
.band .eyebrow, .band .lede { color: var(--band-muted); }
.band-brand { background: var(--brand); color: var(--on-brand); }
.band-brand .eyebrow, .band-brand .lede { color: var(--on-brand); opacity: .82; }
.eyebrow {
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.accent { color: var(--brand); }
.thin { font-weight: 300; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head > div { display: grid; gap: 12px; min-width: 0; }
.more { font-weight: 600; text-decoration: none; color: var(--brand); white-space: nowrap; }
.more:hover { text-decoration: underline; }
.band .more { color: var(--on-band); }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: 0; border-radius: var(--r);
  background: var(--brand); color: var(--on-brand);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: .94rem; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ink { background: var(--band); color: var(--on-band); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 11px 14px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .85; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.head-row { position: relative; display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { width: 32px; height: 32px; display: block; }
.wordmark { font-size: 1.42rem; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 900; }
.wordmark span { font-weight: 300; }
.nav-panel { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.nav-panel nav { display: flex; gap: 2px; }
.nav-panel nav a { padding: 8px 11px; border-radius: var(--r); text-decoration: none; font-weight: 500; font-size: .97rem; white-space: nowrap; }
.nav-panel nav a:hover, .nav-panel nav a[aria-current="page"] { background: var(--sunk); }
.head-search { margin-left: auto; flex: 0 1 250px; }
.head-search input { padding: 8px 12px; font-size: .94rem; background: var(--surface); }
.nav-toggle {
  display: none; font: inherit; font-weight: 600; font-size: .94rem;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 8px 12px; cursor: pointer;
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .head-row > .btn { margin-left: auto; }
  .nav-panel {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    box-shadow: var(--shadow);
  }
  .nav-panel.open { display: flex; }
  .nav-panel nav { flex-direction: column; }
  .nav-panel nav a { padding: 12px 10px; font-size: 1.05rem; }
  .head-search { margin-left: 0; flex: none; }
  .head-search input { padding: 11px 14px; font-size: 1rem; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 1.22rem; }
  .logo img { width: 28px; height: 28px; }
  .head-row { gap: 10px; }
  .head-row > .btn { padding: 8px 11px; font-size: .88rem; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 4.5vw, 60px) clamp(44px, 6vw, 80px); }
.hero h1 { max-width: 16ch; margin-top: 16px; font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.hero .lede { margin-top: 18px; }
.big-search {
  display: flex; gap: 6px; margin-top: 26px; max-width: 660px;
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: calc(var(--r) + 2px); padding: 6px;
}
.big-search input { border: 0; font-size: 1.12rem; padding: 12px 14px; min-width: 0; }
.big-search input:focus { box-shadow: none; }
.big-search:focus-within { box-shadow: 0 0 0 4px var(--brand-soft); border-color: var(--brand); }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.quick span { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin-right: 4px; }
.quick a {
  font-size: .9rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; background: var(--surface);
}
.quick a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- A–Z thumb tabs ---------- */
.thumbs-label { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; margin-bottom: 12px; flex-wrap: wrap; }
.thumbs { display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); gap: 4px; }
.thumb {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 12px 0 9px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r) var(--r) 2px 2px; text-decoration: none;
  transition: transform .16s ease, background .16s, color .16s, border-color .16s;
}
.t-l { font-weight: 800; font-size: 1.32rem; line-height: 1; letter-spacing: -0.02em; }
.t-n { font-family: var(--mono); font-size: .68rem; color: var(--muted); line-height: 1; font-variant-numeric: tabular-nums; }
.thumb:hover, .thumb.is-active, .thumb:focus-visible { background: var(--brand); color: var(--on-brand); border-color: var(--brand); transform: translateY(-4px); }
.thumb:hover .t-n, .thumb.is-active .t-n, .thumb:focus-visible .t-n { color: inherit; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .hero .thumb { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 18ms); }
  @keyframes rise { from { transform: translateY(10px); } to { transform: translateY(0); } }
}
@media (max-width: 900px) { .thumbs { grid-template-columns: repeat(13, minmax(0, 1fr)); } }
@media (max-width: 520px) { .thumbs { grid-template-columns: repeat(9, minmax(0, 1fr)); } .t-l { font-size: 1.15rem; } }

.peek {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 28px; align-items: start;
  margin-top: 4px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 2px 2px var(--r) var(--r);
}
.peek-letter { font-weight: 900; font-size: 4.6rem; line-height: .8; letter-spacing: -0.06em; color: var(--brand); min-width: 1ch; }
.peek-body { display: grid; gap: 12px; min-width: 0; }
.peek-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.peek-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.peek-list a {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: var(--sunk); text-decoration: none; font-weight: 600; font-size: .96rem;
}
.peek-list a small { font-family: var(--mono); font-size: .68rem; font-weight: 400; color: var(--muted); }
.peek-list a:hover { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 560px) { .peek { grid-template-columns: 1fr; } .peek-letter { font-size: 3.2rem; } }

/* ---------- category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat {
  display: grid; grid-template-areas: "code count" "name name" "short short"; grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr; gap: 6px 12px; padding: 20px; min-height: 200px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cat-code { grid-area: code; font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.045em; }
.cat-count { grid-area: count; font-family: var(--mono); font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-name { grid-area: name; margin-top: 22px; font-weight: 700; font-size: 1.06rem; line-height: 1.2; letter-spacing: -0.015em; }
.cat-short { grid-area: short; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.cat:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat:hover .cat-code { color: var(--brand); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; gap: 8px; }
  .cat { grid-template-areas: "code name count" "code short short"; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto auto; min-height: 0; padding: 16px; gap: 2px 14px; align-items: center; }
  .cat-code { font-size: 2.1rem; align-self: center; }
  .cat-name { margin-top: 0; }
}

/* ---------- editor's picks (band) ---------- */
.picks { list-style: none; padding: 0; border-top: 1px solid var(--band-line); }
.picks a {
  display: grid; grid-template-columns: 48px minmax(150px, 220px) minmax(130px, 180px) minmax(0, 1fr) 24px;
  grid-template-areas: "code cat tool why go"; gap: 20px; align-items: baseline;
  padding: 18px 4px; border-bottom: 1px solid var(--band-line); text-decoration: none; color: var(--on-band);
}
.pk-code { grid-area: code; font-family: var(--mono); font-size: .8rem; color: var(--band-muted); }
.pk-cat { grid-area: cat; font-size: .95rem; color: var(--band-muted); }
.pk-tool { grid-area: tool; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.15; }
.pk-why { grid-area: why; font-size: .98rem; color: var(--band-muted); }
.pk-go { grid-area: go; justify-self: end; transition: transform .15s; }
.picks a:hover .pk-tool { color: var(--mark); }
.picks a:hover .pk-go { transform: translateX(4px); }
@media (max-width: 860px) {
  .picks a { grid-template-columns: 40px minmax(0, 1fr) 20px; grid-template-areas: "code tool go" "code cat go" "code why go"; gap: 2px 14px; }
  .pk-why { margin-top: 6px; }
}

/* ---------- tool cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-top { display: flex; align-items: flex-start; gap: 14px; }
.mono-tile {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 4px;
  background: var(--brand-soft); color: var(--brand); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1;
}
.card-id { flex: 1; min-width: 0; }
.card-name { font-size: 1.2rem; }
.card-name a { text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card-meta { margin-top: 5px; font-family: var(--mono); font-size: .73rem; color: var(--muted); }
.card-meta a { position: relative; z-index: 1; text-decoration: none; }
.card-meta a:hover { color: var(--brand); text-decoration: underline; }
.pick, .spons {
  flex: none; font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 3px; line-height: 1.2; white-space: nowrap;
}
.pick { background: var(--mark); color: var(--on-mark); }
.spons { background: var(--sunk); color: var(--muted); }
.card-verdict { font-size: 1rem; line-height: 1.5; }
.card-best { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.card-best b { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.card-visit { position: relative; z-index: 1; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--brand); }
.card-visit:hover { text-decoration: underline; }
.chip { font-family: var(--mono); font-size: .72rem; font-weight: 500; padding: 4px 8px; border-radius: 3px; line-height: 1.2; }
.chip-free { background: var(--free-bg); color: var(--free); }
.chip-freemium { background: var(--freemium-bg); color: var(--freemium); }
.chip-paid { background: var(--paid-bg); color: var(--paid); }

/* ---------- directory filters ---------- */
.filters { display: grid; grid-template-columns: minmax(0, 1fr) 260px 190px; gap: 10px; margin-top: 30px; }
.filters label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fchip {
  font: inherit; font-size: .9rem; font-weight: 500; padding: 7px 14px; cursor: pointer;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
}
.fchip:hover { border-color: var(--brand); }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.result-count { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin: 26px 0 14px; font-variant-numeric: tabular-nums; }
.empty { padding: 40px 24px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); display: grid; gap: 10px; justify-items: center; }
@media (max-width: 760px) { .filters { grid-template-columns: 1fr; } }

/* ---------- page heads, crumbs ---------- */
.page-head { padding-block: clamp(36px, 6vw, 76px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); margin-top: 14px; }
.page-head .lede { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: .76rem; color: var(--muted); list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.stats b { color: var(--ink); font-weight: 500; }

/* ---------- category page ---------- */
.cat-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 22px; }
.code-tile {
  position: relative; width: 124px; height: 124px; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); border-radius: var(--r);
  font-weight: 900; font-size: 3.7rem; letter-spacing: -0.05em; line-height: 1;
}
.code-tile small { position: absolute; top: 9px; right: 10px; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: 0; }
.cat-hero h1 { margin-top: 0; }
.answer { margin-top: 26px; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.6; max-width: 66ch; }
.choose { margin-top: 26px; padding: 20px 24px; background: var(--sunk); border-radius: var(--r); max-width: 74ch; display: grid; gap: 8px; }
.choose h2 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
.choose p { color: var(--muted); }
@media (max-width: 560px) { .cat-hero { grid-template-columns: 1fr; gap: 18px; } .code-tile { width: 92px; height: 92px; font-size: 2.8rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; max-width: 80ch; margin-top: 8px; }
.faq-item { padding-block: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.band .faq-item { border-color: var(--band-line); }
.faq-item h3 { font-size: 1.18rem; }
.faq-item p { color: var(--muted); }
.band .faq-item p { color: var(--band-muted); }
.faq-item a { color: inherit; }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--surface); font-weight: 500; }
.related a small { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.related a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- tool page ---------- */
.tool-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 22px; }
.tool-hero h1 { margin-top: 6px; }
.tool-hero .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.hero-visit { display: none; margin-top: 20px; }
.mono-xl { width: 108px; height: 108px; font-size: 3.8rem; border-radius: var(--r); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.tool-main { display: grid; gap: 40px; min-width: 0; }
.tool-main h2 { font-size: 1.5rem; letter-spacing: -0.025em; }
.verdict { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; }
.verdict-label { display: inline-block; margin-bottom: 12px; }
.feat-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 14px; }
.feat-list li { display: flex; gap: 12px; align-items: baseline; }
.feat-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--brand); border-radius: 1px; transform: translateY(-2px); }
.tool-main p + p { margin-top: 10px; }
.facts { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h) + 24px); padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 16px; }
.facts dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 18px; margin: 0; }
.facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.facts dd a { color: var(--brand); text-decoration: none; }
.facts dd a:hover { text-decoration: underline; }
.facts .btn { width: 100%; }
.facts-note { font-size: .84rem; color: var(--muted); }
.facts-note a { color: inherit; }
@media (max-width: 920px) { .tool-layout { grid-template-columns: 1fr; gap: 36px; } .facts { position: static; } .hero-visit { display: inline-flex; } }
@media (max-width: 560px) { .tool-hero { gap: 16px; } .mono-xl { width: 76px; height: 76px; font-size: 2.6rem; } }

/* ---------- A–Z index page ---------- */
.az-jump { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h)); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-block: 10px; }
.az-jump .thumbs { gap: 3px; }
.az-jump .thumb { padding: 8px 0 6px; }
.az-jump .t-l { font-size: 1.05rem; }
@media (max-width: 900px) {
  .az-jump .thumbs { display: flex; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
  .az-jump .thumb { flex: 0 0 40px; }
}
.az-letter { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; padding-block: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 80px); }
.az-big { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h) + 96px); align-self: start; font-weight: 900; font-size: 7.4rem; line-height: .8; letter-spacing: -0.06em; color: var(--brand); }
.az-big small { display: block; margin-top: 14px; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: 0; color: var(--muted); line-height: 1.3; }
.az-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.az-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); text-decoration: none; height: 100%; }
.az-name { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.015em; }
.az-cat { font-family: var(--mono); font-size: .7rem; color: var(--muted); text-align: right; padding-top: 4px; }
.az-verdict { grid-column: 1 / -1; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.az-list a:hover .az-name { color: var(--brand); }
@media (max-width: 760px) {
  .az-letter { grid-template-columns: 1fr; gap: 12px; padding-block: 32px; }
  .az-big { position: static; font-size: 4.6rem; display: flex; align-items: baseline; gap: 14px; }
  .az-big small { margin-top: 0; }
  .az-list { grid-template-columns: 1fr; }
}

/* ---------- steps, CTA strip ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.step { display: grid; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.step-n { font-family: var(--mono); font-size: .8rem; color: var(--brand); font-weight: 500; }
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.cta-strip {
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border-radius: var(--r);
  background: var(--brand-soft); display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap;
}
.cta-strip h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-strip p { color: var(--muted); margin-top: 8px; max-width: 52ch; }
.cta-strip .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- newsletter ---------- */
.nl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.nl h2 { margin-top: 12px; }
.nl .lede { margin-top: 16px; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input { flex: 1 1 240px; border-color: transparent; }
.nl-form .btn { flex: none; }
.nl-note { font-size: .86rem; margin-top: 12px; opacity: .85; }
@media (max-width: 860px) { .nl { grid-template-columns: 1fr; } }

/* ---------- forms & tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tier { display: flex; flex-direction: column; gap: 16px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tier.hl { border: 2px solid var(--brand); }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tier h3 { font-size: 1.3rem; }
.tier-price { font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: -0.045em; }
.tier-price small { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.tier > p { color: var(--muted); }
.tier ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.tier li { display: flex; gap: 10px; align-items: baseline; font-size: .97rem; }
.tier li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 1px; background: var(--brand); transform: translateY(-2px); }
.tier .btn { margin-top: auto; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-form .full { grid-column: 1 / -1; }
.grid-form .btn { justify-self: start; }
.form-side { display: grid; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--sunk); }
.form-side p { color: var(--muted); font-size: .95rem; }
.form-msg { padding: 12px 16px; border-radius: var(--r); background: var(--mark); color: var(--on-mark); font-weight: 500; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-form { grid-template-columns: 1fr; } }

/* ---------- prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.025em; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--brand); }
.prose .updated { font-family: var(--mono); font-size: .8rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { background: var(--band); color: var(--on-band); padding-block: 64px 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand p { color: var(--band-muted); max-width: 36ch; font-size: .96rem; }
.foot-grid h2 { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--band-muted); }
.foot-grid ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--band-line); color: var(--band-muted); font-size: .86rem; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.foot-note p { max-width: 80ch; }
.foot-note a { color: inherit; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.center-page { min-height: 52vh; display: grid; align-content: center; gap: 20px; padding-block: 80px; }
.center-page h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
