:root {
  /* brand */
  --accent: #FF4C00;
  --accent-hover: #E64400;
  --accent-soft: rgba(255, 76, 0, .14);
  /* neutrals */
  --bg: #070707;
  --card: #0E0E0E;
  --card-2: #141414;
  --surface: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .07);
  --border-2: rgba(255, 255, 255, .16);
  --btn-border: rgba(255, 255, 255, .06);
  --text: #F5F5F5;
  --text-2: #C8C8CC;
  --muted: #9A9AA0;
  --dim: #66666C;
  --ink: #111111;
  /* feedback (form errors only) */
  --danger: #FF5A5A;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html.smooth-scroll { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--muted);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(100% - 72px, var(--container)); margin-inline: auto; }

/* halftone dot decorations (hero, featured card, footer) */
.halftone {
  position: absolute; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(255, 76, 0, .85) 1.3px, transparent 1.8px);
  background-size: 9px 9px;
}
.ascii {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
}
.halftone-f { left: 0; right: 0; bottom: 0; height: 360px; background: var(--ht-foot) center bottom / 100% 100% no-repeat; opacity: .28; }



/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn-ghost { border: 1px solid var(--btn-border); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.btn-ghost:hover svg { transform: translateX(2px); }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 8px 28px -8px rgba(255, 76, 0, .75); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 12px 36px -6px rgba(255, 76, 0, .95); }

.round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--btn-border); color: var(--text); transition: .25s var(--ease); }
.round svg { width: 16px; height: 16px; }
.round:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.round:disabled { opacity: .3; cursor: default; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; border-bottom: 1px solid transparent; transition: background .3s, backdrop-filter .3s, padding .3s, border-color .3s; }
.site-header.scrolled { padding: 10px 0; background: rgba(7, 7, 7, .75); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; transition: filter .3s; }
.logo:hover img { filter: drop-shadow(0 0 14px rgba(255, 76, 0, .45)); }
.nav { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav a { padding: 8px 14px; font-size: 14px; color: var(--text-2); border-radius: 999px; transition: color .25s, background .25s; }
.nav a:hover { color: #fff; background: var(--surface); }
.nav a { position: relative; }
.nav a[aria-current="page"], .nav a[aria-current="page"]:hover { color: var(--accent); font-weight: 500; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 8px rgba(255, 76, 0, .8); }
.link-btn[aria-current="page"] { color: var(--accent); }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: .25s var(--ease); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { color: #fff; background: var(--surface); }
.icon-btn .count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #fff; background: var(--accent); }
.icon-btn .count[hidden] { display: none; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; transition: top .2s; }
.skip:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-actions-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.link-btn { font-size: 14px; color: var(--text-2); transition: color .25s; }
.link-btn:hover { color: #fff; }
.vr { width: 1px; height: 30px; background: var(--border-2); }
.join { padding: 11px 28px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--btn-border); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 104px 0 22px; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; z-index: -1; left: 50%; top: -280px; width: 900px; height: 460px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255, 76, 0, .16), transparent 68%); filter: blur(30px); animation: pulse 9s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text); background: rgba(255, 255, 255, .07); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 76, 0, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255, 76, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 76, 0, 0); } }
.hero h1 { margin-top: 14px; font-size: clamp(32px, 4.6vw, 50px); font-weight: 600; letter-spacing: -.03em; }
.home-hero h1 { font-weight: 700; }
.grad { color: var(--accent); white-space: nowrap; }
/* homepage hero: typed word + caret */
.hero-caret { display: inline-block; width: 3px; height: .82em; margin-left: 4px; vertical-align: -.06em; border-radius: 2px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* homepage hero: small brand logo rail under the search */
.logo-rail { width: min(100%, 760px); margin-top: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.logo-rail-track { display: flex; width: max-content; animation: rail 48s linear infinite; }
.logo-rail:hover .logo-rail-track, .logo-rail:focus-within .logo-rail-track { animation-play-state: paused; }
.logo-rail-group { display: flex; gap: 8px; padding-right: 8px; }
.rail-item { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border-radius: 999px; font-size: 11.5px; color: var(--muted); border: 1px solid var(--btn-border); white-space: nowrap; transition: color .25s, border-color .25s; }
.rail-item .avatar { width: 20px; height: 20px; font-size: 9px; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.rail-item:hover { color: #fff; border-color: rgba(255, 76, 0, .45); }
.rail-item:hover .avatar { filter: none; opacity: 1; }
@keyframes rail { to { transform: translateX(-50%); } }
.lead { margin-top: 14px; max-width: 640px; font-size: clamp(14px, 1.4vw, 16px); color: var(--text-2); text-wrap: balance; }
@media (min-width: 900px) { .lead.one-line { white-space: nowrap; max-width: none; } }

.search-wrap { position: relative; width: min(100%, 760px); margin-top: 22px; z-index: 5; }
.search-holder { width: 100%; display: flex; justify-content: center; position: relative; z-index: 5; }
.search { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 28px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 30px 70px -30px rgba(255, 76, 0, .35); transition: box-shadow .3s; }
.search:focus-within { box-shadow: 0 0 0 6px rgba(255, 76, 0, .22), 0 30px 70px -26px rgba(255, 76, 0, .55); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; color: var(--ink); padding: 12px 0; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search .btn { padding: 14px 28px; }
.search-clear { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-right: -4px; border-radius: 50%; color: #8a8a8a; background: #f1f1f1; transition: background .2s, color .2s; }
.search-clear:hover { color: var(--ink); background: #e4e4e4; }
.search-clear[hidden] { display: none; }
.search-clear svg { width: 14px; height: 14px; stroke-width: 2.2; }
.search-kbd { flex: none; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 7px; font: 500 12px/1 ui-monospace, Consolas, monospace; color: #8a8a8a; background: #f4f4f4; box-shadow: inset 0 -1px 0 #dcdcdc, inset 0 0 0 1px #e6e6e6; }
.search:has(input:not(:placeholder-shown)) .search-kbd, .search:focus-within .search-kbd { display: none; }

/* While suggestions are open the hero lets them overflow downwards; its glow stays clipped at the top and sides. */
.hero.search-open { overflow: visible; clip-path: inset(0 0 -100vh 0); z-index: 30; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 12px); max-height: min(560px, 68vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; text-align: left; padding: 8px; border-radius: 22px; background: #0d0d0e; border: 1px solid var(--border-2); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4); animation: pop .25s var(--ease); }
.search-results[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.99); } }
.sr-note { margin: 0; padding: 10px 12px 2px; font-size: 12.5px; color: var(--muted); }
.sr-group + .sr-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--border); }
.sr-label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.sr-label span { padding: 1px 7px; border-radius: 999px; font-size: 10.5px; letter-spacing: 0; color: var(--muted); background: var(--surface); }
.sr-clear-recent { margin-left: auto; font: inherit; font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted); transition: color .2s; }
.sr-clear-recent:hover { color: var(--accent); }
.result { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; transition: background .2s; }
.result:hover, .result.active { background: var(--surface); }
.result.active { box-shadow: inset 0 0 0 1px var(--border-2); }
.result .meta { min-width: 0; flex: 1; }
.result b { display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 500; font-size: 14.5px; }
.result b .mcp-mark, .result b .aff-mark { width: 13px; height: 13px; }
.result b .mcp-mark + .aff-mark { margin-left: -2px; }
.result b > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result mark { background: none; color: var(--accent); }
.result > svg { flex: none; width: 15px; height: 15px; color: var(--accent); }
.sr-glyph { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .25); }
.sr-glyph svg { width: 16px; height: 16px; }
.sr-tags { flex: none; display: flex; gap: 6px; }
.sr-tags span { padding: 3px 9px; border-radius: 999px; font-size: 11px; color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 12px 12px; }
.sr-chips.center { justify-content: center; padding-bottom: 16px; }
.sr-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); border: 1px solid var(--btn-border); transition: border-color .2s, background .2s, color .2s; }
.sr-chip svg { width: 14px; height: 14px; color: var(--dim); transition: color .2s; }
.sr-chip:hover, .sr-chip.active { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.sr-chip:hover svg, .sr-chip.active svg { color: var(--accent); }
.sr-foot { display: flex; justify-content: flex-end; gap: 16px; margin-top: 6px; padding: 10px 12px 4px; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--dim); }
.sr-foot span { display: inline-flex; align-items: center; gap: 4px; }
.sr-foot kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 5px; font: 500 10.5px/1 ui-monospace, Consolas, monospace; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-2); }
@media (hover: none) { .search-kbd, .sr-foot { display: none; } }
@media (max-width: 640px) { .sr-tags { display: none; } }
.no-results { display: grid; gap: 6px; padding: 22px 22px 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.no-results b { font-size: 15px; font-weight: 500; color: var(--text); }

.chips { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { padding: 6px 16px; font-size: 12.5px; color: var(--text); border-radius: 999px; border: 1px solid var(--btn-border); background: transparent; transition: .25s var(--ease); }
.chip:hover { border-color: var(--accent); background: var(--accent-soft); color: #fff; transform: translateY(-2px); }

/* sections */
.section { position: relative; padding: 46px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; }
.head-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 480px) {
  .section-head { flex-wrap: wrap; gap: 12px 16px; }
  .section-head .btn { padding: 11px 20px; font-size: 13px; }
}
.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* tool cards */
.card, .res {
  position: relative; border-radius: var(--radius); isolation: isolate; overflow: hidden;
  background: var(--card); transition: background .35s;
}
.card:hover, .res:hover { background: var(--card-2); }
.grid.tall .card { padding: 24px 24px 22px; gap: 12px; min-height: 196px; }
.grid.tall .card-foot { margin-top: auto; }
.grid.tall .res { padding: 22px 22px 20px; gap: 16px; min-height: 204px; }
.res .res-tags { margin-top: auto; }
.card-link { color: inherit; transition: color .25s; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.card:hover .card-link, .res:hover .card-link { color: #fff; }
.card-foot, .stack, .res-tags { position: relative; z-index: 1; }
.card-ascii { position: absolute; z-index: -1; top: 0; left: 0; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.card-ascii.on { opacity: 1; }

.card { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.card-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.card h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcp-mark { flex: none; width: 15px; height: 15px; color: var(--text); opacity: .35; stroke-width: 12; }
.aff-mark { flex: none; width: 15px; height: 15px; color: var(--text); opacity: .35; stroke-width: 1.8; }
.mcp-mark + .aff-mark { margin-left: -4px; }
.card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em; }
/* tool card: larger logo, thin orange top edge that brightens on hover */
.tool-card, .grid.tall .tool-card { padding: 22px 22px 20px; }
.tool-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 76, 0, .55), transparent); opacity: .5; transition: opacity .35s; pointer-events: none; }
.tool-card:hover::before { opacity: 1; }
.tool-card h3 { font-size: 16px; }
.tool-card .card-foot { margin-top: auto; padding-top: 4px; }
.avatar.md { width: 42px; height: 42px; font-size: 16px; }
/* featured tool card: name fading into orange, a faded divider above the footer,
   and on hover a hairline border whose bright spot follows the cursor (--mx/--my set in site.js) */
.tool-card.is-featured::before {
  left: 0; right: 0; top: 0; bottom: 0; height: auto; padding: 1px; border-radius: inherit; opacity: 0;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 76, 0, .95), rgba(255, 76, 0, .22) 60%, rgba(255, 76, 0, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.tool-card.is-featured:hover::before, .tool-card.is-featured:focus-within::before { opacity: 1; }
.feat-divider { display: block; height: 1px; margin-top: -3px; background: linear-gradient(90deg, rgba(255, 76, 0, .5), transparent 80%); opacity: .7; transition: opacity .35s; }
.tool-card.is-featured:hover .feat-divider { opacity: 1; }
.tool-card.is-featured, .grid.tall .tool-card.is-featured { min-height: 0; }
.tool-card.is-featured .card-foot { margin-top: 0; padding-top: 0; }
.feat-tag { margin-left: auto; margin-right: -4px; font: 500 10.5px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; transition: color .35s; }
.feat-tag::before { content: "✦"; margin-right: 6px; color: var(--accent); }
.tool-card.is-featured:hover .feat-tag { color: var(--text-2); }
.tool-card.is-featured .card-link { background: linear-gradient(90deg, #fff 35%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.card-foot { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.open-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px; font-size: 13.5px; color: var(--text); border: 1px solid var(--btn-border); transition: .25s var(--ease); }
.open-btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.open-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: #fff; }
.open-btn:hover svg { transform: translate(2px, -2px); }
.save { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: .25s var(--ease); }
.save svg { width: 18px; height: 18px; transition: .25s var(--ease); }
.save:hover { color: #fff; background: var(--surface); }
.save[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }
.save[aria-pressed="true"] svg { fill: currentColor; transform: scale(1.1); }
.save[aria-pressed="true"] svg .bm-line { stroke: #fff; }

.avatar {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: var(--text);
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px var(--border-2);
}
.avatar.lg { width: 34px; height: 34px; font-size: 13px; }
.avatar.xl { width: 80px; height: 80px; font-size: 30px; }
/* real brand logos: full circle, no white background, border or ring */
.avatar.has-logo { overflow: hidden; border-radius: 50%; background: none; box-shadow: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.js .avatar img[loading="lazy"] { opacity: 1; }


/* categories */
.cat-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px 4px 16px; margin: -12px -4px -16px; }
.cat-track::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 calc((100% - 5 * 14px) / 6); min-width: 150px; scroll-snap-align: start; padding: 16px 8px; display: grid; justify-items: center; align-content: start; gap: 3px; text-align: center; }
.cat-icon { position: relative; overflow: hidden; isolation: isolate; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; color: var(--text); background: var(--card-2); transition: color .4s var(--ease), transform .4s var(--ease); }
.cat:hover .cat-icon, .cat:focus-visible .cat-icon { color: var(--accent); }
.cat:hover .cat-icon { transform: translateY(-3px); }
.cat-icon svg { position: relative; z-index: 1; width: 30px; height: 30px; stroke-width: 1.4; }
.cat-ascii { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.cat-ascii.on { opacity: 1; }
.cat small { font-size: 11.5px; color: var(--dim); }
.cat h3 { font-size: 13.5px; font-weight: 500; line-height: 1.35; max-width: 14ch; }

/* banner */
.banner-section { padding: 30px 0; }
.banner { position: relative; height: clamp(240px, 42vw, 500px); border-radius: 22px; overflow: hidden; background: var(--card); }
.banner img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.banner:hover img { transform: scale(1.1); }
.banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(7, 7, 7, .5), transparent 60%); pointer-events: none; }

/* resources */
.res { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 14px; }
.stack { display: flex; align-items: center; }
.stack .avatar { width: 32px; height: 32px; margin-left: -9px; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px rgba(255, 255, 255, .06); }
.stack .avatar:first-child { margin-left: 0; }
.stack .more-count { margin-left: -8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; color: var(--text-2); background: var(--card-2); box-shadow: 0 0 0 2px var(--card); }
.res h3 { font-size: 15.5px; line-height: 1.4; font-weight: 500; min-height: 2.8em; }
.res-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid var(--border); }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 11.5px; color: var(--text-2); border: 1px solid var(--border-2); white-space: nowrap; }
.tag.plain { border-color: transparent; color: var(--muted); padding-inline: 4px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { font-size: clamp(24px, 3vw, 32px); max-width: 12ch; }
.faq-intro p { margin-top: 12px; max-width: 360px; font-size: 13.5px; }
.faq { display: grid; }
.qa { border-bottom: 1px solid var(--border); border-radius: 14px; border: 1px solid transparent; border-bottom-color: var(--border); transition: border-color .3s, background .3s, box-shadow .3s; }
.qa.open { border-color: rgba(255, 76, 0, .8); background: linear-gradient(180deg, rgba(255, 76, 0, .06), transparent); box-shadow: 0 20px 50px -34px rgba(255, 76, 0, .8); }
.qa + .qa { margin-top: 0; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 16px 18px; font-size: 14px; font-weight: 500; color: var(--text); }
.qa .ico { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--btn-border); transition: .35s var(--ease); }
.qa .ico svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.qa.open .ico { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px rgba(255, 76, 0, .18); }
.qa.open .ico svg { transform: rotate(180deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 18px 18px; max-width: 58ch; font-size: 13px; color: var(--muted); }
.qa .ans a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 76, 0, .6); text-underline-offset: 3px; transition: color .2s; }
.qa .ans a:hover { color: var(--accent); }
/* Numbered FAQ (home, categories): hairline rows, number + title turn orange when open, thin orange rule on the answer */
.faq-numbered .qa, .faq-numbered .qa.open { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; }
.faq-numbered .qa:first-child { border-top: 1px solid var(--border); }
.faq-numbered .qa button { padding: 22px 4px; gap: 18px; font-size: 15px; }
.faq-numbered .qa-num { flex: none; width: 26px; font: 500 12px/1 ui-monospace, Consolas, monospace; color: var(--dim); transition: color .3s; }
.faq-numbered .qa-q { flex: 1; transition: color .3s; }
.faq-numbered .qa:hover .qa-q { color: #fff; }
.faq-numbered .qa.open .qa-num, .faq-numbered .qa.open .qa-q { color: var(--accent); }
.faq-numbered .ico, .faq-numbered .qa.open .ico { width: 26px; height: 26px; border: 0; background: none; box-shadow: none; color: var(--muted); }
.faq-numbered .qa.open .ico { color: var(--accent); }
.faq-numbered .ans p { position: relative; max-width: none; margin: 0 0 24px 48px; padding: 2px 0 2px 18px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.faq-numbered .ans p::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--accent); }
@media (max-width: 760px) { .faq-numbered .ans p { margin-left: 0; } }

/* insights */
.posts { gap: 16px; }
.post { display: grid; gap: 12px; }
.post-img { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--card); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-img img { transform: scale(1.07); }
.post-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 7, 7, .35), transparent 50%); pointer-events: none; }
.post-meta { font-size: 11.5px; color: var(--dim); }
.post h3 { font-size: 14.5px; font-weight: 600; line-height: 1.4; max-width: 30ch; transition: color .25s; }
.post:hover h3 { color: var(--accent); }

/* footer */
.footer {
  position: relative; overflow: hidden; margin-top: 50px; padding-top: 50px; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025) 0%, rgba(0, 0, 0, .55) 100%), var(--bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 90% at 50% 100%, transparent 30%, rgba(0, 0, 0, .45) 100%), linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 45%);
}
.footer-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-desc { max-width: 440px; font-size: 13.5px; color: var(--text-2); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 30px; }
.footer-nav a, .footer-nav button { position: relative; font-size: 13px; color: var(--text-2); transition: color .25s; }
.footer-nav a::after, .footer-nav button::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.footer-nav a:hover, .footer-nav button:hover { color: #fff; }
.footer-nav a:hover::after, .footer-nav button:hover::after { transform: scaleX(1); }
.footer-end { position: relative; z-index: 1; margin-top: 54px; }
.footer-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom b { font-weight: 500; color: var(--accent); }
.watermark {
  text-align: center; white-space: nowrap; overflow: hidden; user-select: none;
  font-size: 11.6vw; font-weight: 700; letter-spacing: -.04em; line-height: .86; height: .8em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .025) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 15, 16, .85); border: 1px solid var(--btn-border); backdrop-filter: blur(10px); color: #fff; opacity: 0; transform: translateY(14px); pointer-events: none; transition: .35s var(--ease); }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); border-color: var(--accent); }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; font-size: 13px; color: var(--text); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03); outline: 0; font-size: 14px; color: #fff; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(255, 76, 0, .7); box-shadow: 0 0 0 4px rgba(255, 76, 0, .12); }
.field input[type="file"] { padding: 10px 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--btn-border); background: transparent; color: #fff; font: inherit; cursor: pointer; }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 90, 90, .12); }
.hint { font-size: 12px; color: var(--dim); }
.side-request { margin-top: 14px; text-align: center; }
.side-request a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.side-request a:hover { color: var(--accent); }
.form-note { min-height: 22px; margin-top: 12px; font-size: 13.5px; text-align: center; color: var(--accent); }
.form-note.error { color: var(--danger); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* minimal motion + speed */
.js img[loading="lazy"] { opacity: 0; transition: opacity .5s var(--ease), transform 1s var(--ease); }
.js img[loading="lazy"].loaded { opacity: 1; }
.card, .res, .hit-card { transition: background .35s, transform .35s var(--ease); }
.card:hover, .res:hover, .hit-card:hover { transform: translateY(-3px); }
main > .section ~ .section { content-visibility: auto; contain-intrinsic-size: auto 640px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }
.site-header { view-transition-name: site-header; }
.read-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .read-progress { animation: read-progress linear both; animation-timeline: scroll(root); }
  @keyframes read-progress { to { transform: scaleX(1); } }
}
@supports not (animation-timeline: scroll()) { .read-progress { display: none; } }

/* responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat { flex-basis: calc((100% - 3 * 14px) / 4); }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .nav a { padding: 8px 10px; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .header-actions { display: none; }
  .nav { position: fixed; inset: 0; left: 0; transform: translateY(-12px); z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 90px 24px 40px; background: rgba(7, 7, 7, .97); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: .35s var(--ease); }
  .nav a:not(.btn) { font-size: 24px; padding: 10px 24px; color: #fff; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--accent); }
  .nav-actions-mobile .btn { margin-top: 6px; padding: 14px 34px; font-size: 16px; }
  .nav-actions-mobile { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 14px; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header, .nav-open .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
  .nav { overflow-y: auto; }
  .nav-open { overflow: hidden; }
  .header-inner { position: relative; z-index: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--container)); }
  .hero { padding: 104px 0 30px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  .search { padding-left: 20px; }
  .search .btn { padding: 13px 20px; }
  .search .btn svg { display: none; }
  .cat { flex-basis: 44%; min-width: 0; }
  .footer-inner { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js img[loading="lazy"] { opacity: 1; }
  .card:hover, .res:hover, .hit-card:hover, .guide:hover { transform: none; }
  .logo-rail { overflow-x: auto; scrollbar-width: none; }
  @view-transition { navigation: none; }
}


/* =========================================================
   Inner pages
   ========================================================= */

.container.narrow { width: min(100% - 72px, 860px); }

/* page hero */
.page-hero { padding: 116px 0 40px; }
.page-hero.compact h1 { font-size: clamp(30px, 4vw, 44px); }
.page-hero.small { padding: 96px 0 14px; }
.page-hero.small .crumbs { margin-bottom: 10px; }
.page-hero.small h1 { font-size: clamp(26px, 3.2vw, 36px); }
.page-hero.small .lead { margin-top: 8px; font-size: 14.5px; }
.listing-section { padding-top: 26px; }
.page-hero .lead { max-width: 680px; }
.crumbs { margin-bottom: 18px; font-size: 12.5px; color: var(--dim); }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--dim); }
.crumbs a { color: var(--muted); transition: color .25s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--text-2); max-width: min(46ch, 62vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.badge { transition: border-color .25s, background .25s; }
a.badge:hover { border-color: var(--accent); background: var(--accent-soft); }

/* detail hero (tool, deal) */
.detail-hero { padding-bottom: 30px; }
.detail-hero .crumbs ol, .post-hero .crumbs ol { justify-content: flex-start; }
.detail-head { display: flex; align-items: center; gap: 22px; }
.detail-title h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; font-size: clamp(28px, 3.6vw, 42px); }
.detail-title h1 .mcp-mark, .detail-title h1 .aff-mark { width: 22px; height: 22px; }
.detail-title h1 .mcp-mark + .aff-mark { margin-left: -4px; }
.detail-title p { margin-top: 8px; max-width: 640px; color: var(--text-2); }
.detail-title .detail-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.detail-main .panel h3 { margin-top: 18px; }
.detail-main .panel h3:first-of-type { margin-top: 4px; }

/* toolbar + filters */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.result-count { font-size: 13px; color: var(--muted); }
.select { position: relative; display: inline-flex; }
.select select { appearance: none; -webkit-appearance: none; padding: 9px 38px 9px 16px; border-radius: 999px; border: 1px solid var(--btn-border); background: rgba(255, 255, 255, .02); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; outline: 0; transition: border-color .25s; }
.select select:hover, .select select:focus { border-color: var(--accent); }
.select select option { background: var(--card-2); color: #fff; }
.select svg { position: absolute; right: 13px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select.block { display: flex; }
.select.block select { width: 100%; border-radius: 14px; padding: 12px 40px 12px 16px; font-size: 14px; background: rgba(255, 255, 255, .03); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.seg button { padding: 6px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: .25s var(--ease); }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .55); }
.chips-filter .chip { font: inherit; font-size: 12.5px; cursor: pointer; }
.chip[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-cloud .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 13px; }
.chip-cloud .chip svg { width: 15px; height: 15px; color: var(--accent); }
.chip-cloud .chip span { color: var(--dim); font-size: 12px; }

/* listing with sidebar */
.listing.with-side { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.listing-main { min-width: 0; }
.listing-title { margin-bottom: 18px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; }
/* category sidebar (grouped, collapsible) */
.side { position: sticky; top: 96px; }
.side-all { display: inline-block; margin-bottom: 14px; font-size: 15px; font-weight: 500; color: var(--text); transition: color .25s; }
.side-all:hover, .side-all[aria-current="true"] { color: var(--accent); }
.side-scroll { max-height: calc(100vh - 170px); overflow-y: auto; padding-right: 16px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--accent) rgba(255, 255, 255, .06); }
.side-scroll::-webkit-scrollbar { width: 2px; }
.side-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); border-radius: 2px; }
.side-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.side-group-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14.5px; text-align: left; color: var(--text); transition: color .25s; }
.side-group-btn svg { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform .3s var(--ease), color .25s; }
.side-group-btn:hover { color: #fff; }
.side-group-btn:hover svg { color: var(--text); }
.side-group-btn[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--accent); }
.side-group-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.side-group.open .side-group-body { grid-template-rows: 1fr; }
.side-group-body > .side-sub { overflow: hidden; }
.side-sub { min-height: 0; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border-2); }
.side-group.open .side-sub { margin: 2px 0 10px; }
.side-sub a { display: block; padding: 7px 0 7px 14px; font-size: 13px; color: var(--text-2); transition: color .25s; }
.side-sub a:hover { color: #fff; }
.side-sub a[aria-current="true"] { color: var(--accent); }
.side-title { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.listing.with-side .grid-3 { grid-template-columns: repeat(3, 1fr); }

.empty { display: grid; justify-items: center; gap: 14px; padding: 60px 20px; border-radius: var(--radius); background: var(--card); text-align: center; }
.empty[hidden] { display: none; }
.empty > svg { width: 30px; height: 30px; color: var(--accent); }
.empty p { max-width: 42ch; color: var(--text-2); }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.pager[hidden] { display: none; }
.pager .page-gap { color: var(--muted); padding: 0 2px; user-select: none; }
.page-num { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 50%; display: grid; place-items: center; font-size: 13.5px; color: var(--text-2); border: 1px solid var(--btn-border); transition: .25s var(--ease); }
.page-num:hover { border-color: var(--accent); color: #fff; }
.page-num[aria-current="page"] { color: #fff; background: var(--accent); border-color: var(--accent); }

/* best AI tools: guide cards */
.guide { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); transition: background .35s, transform .35s var(--ease); }
.guide:hover { background: var(--card-2); transform: translateY(-3px); }
.guide-cover { position: relative; height: 150px; display: grid; place-items: center; background: var(--card-2); overflow: hidden; }
.guide-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 76, 0, .55) 1px, transparent 1.5px); background-size: 9px 9px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%); opacity: .35; transition: opacity .4s; }
.guide:hover .guide-cover::before { opacity: .6; }
.guide-logos { position: relative; display: flex; align-items: center; }
.guide-logos .avatar.cover { width: 54px; height: 54px; font-size: 20px; margin-left: -14px; box-shadow: 0 0 0 3px var(--card-2), 0 10px 24px -10px #000; transition: transform .4s var(--ease); }
.guide-logos .avatar.cover:first-child { margin-left: 0; }
.guide:hover .guide-logos .avatar.cover:nth-child(1) { transform: translateX(-4px) rotate(-4deg); }
.guide:hover .guide-logos .avatar.cover:nth-child(3) { transform: translateX(4px) rotate(4deg); }
.guide-count { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; font-size: 11px; color: var(--text-2); background: rgba(0, 0, 0, .45); border: 1px solid var(--btn-border); }
.guide-body { position: relative; display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 18px; }
.guide-cat { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.guide h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.guide p { font-size: 13.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--dim); white-space: nowrap; }
.guide-more { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 12.5px; font-weight: 500; }
.guide-more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.guide:hover .guide-more { color: var(--accent); }
.guide:hover .guide-more svg { transform: translateX(3px); }

/* best AI tools: guide article */
.guide-hero .lead { margin-top: 12px; text-align: left; }
.prose a.qp-tool { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.prose a.qp-tool:hover { color: var(--accent); }
.prose td:first-child { color: var(--accent); font-weight: 600; width: 1%; }
.pick { margin-top: 28px; padding: 26px 26px 24px; border-radius: var(--radius); background: var(--card); scroll-margin-top: 100px; }
.pick > * + * { margin-top: 16px; }
.pick-head { display: flex; align-items: center; gap: 14px; }
.pick-rank { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); }
.avatar.pick-logo { width: 48px; height: 48px; font-size: 18px; }
.pick-title { display: grid; gap: 4px; min-width: 0; }
.prose .pick-title h2 { margin: 0; font-size: 22px; }
.pick-label { justify-self: start; padding: 2px 10px; border-radius: 999px; font-size: 12px; color: var(--accent); background: var(--accent-soft); }
.pick > p { color: var(--text-2); }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.prose .pick-grid h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pick-grid ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.7; }
.pick-facts { display: grid; gap: 8px; margin: 0; font-size: 14px; line-height: 1.5; }
.pick-facts div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; }
.pick-facts dt { color: var(--dim); }
.pick-facts dd { margin: 0; color: var(--text-2); }
.pick-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.prose .pick-actions a { text-decoration: none; }
.prose .pick-actions .btn-primary { color: #fff; }
.prose .pick-actions .btn-ghost { color: var(--text); }

/* resources: cards */
.rtype-chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; color: var(--text-2); background: rgba(0, 0, 0, .45); border: 1px solid var(--btn-border); }
.rtype-chip svg { width: 12px; height: 12px; }
.rcover-icon { position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--accent); background: rgba(255, 76, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .25); transition: transform .4s var(--ease); }
.rcover-icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.guide:hover .rcover-icon { transform: translateY(-3px) rotate(-3deg); }
.rcover-tools { position: absolute; right: 12px; bottom: 12px; display: flex; }
.rcover-tools .avatar { width: 26px; height: 26px; margin-left: -7px; box-shadow: 0 0 0 2px var(--card-2); }
.rcover-tools .avatar:first-child { margin-left: 0; }

/* resources: detail */
.rtype-tile { flex: none; width: 80px; height: 80px; border-radius: 22px; display: grid; place-items: center; color: var(--accent); background: rgba(255, 76, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .25); }
.rtype-tile svg { width: 36px; height: 36px; stroke-width: 1.5; }
.rtype-tile.sm { width: 50px; height: 50px; border-radius: 14px; }
.rtype-tile.sm svg { width: 22px; height: 22px; }
.res-hero .detail-head { align-items: flex-start; }
.res-hero .detail-title { min-width: 0; }
.res-hero .detail-title h1 { overflow-wrap: anywhere; }
.res-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pill-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--text-2); border: 1px solid var(--btn-border); background: rgba(255, 255, 255, .03); }
.pill-badge svg { width: 12px; height: 12px; color: var(--accent); }
.pill-badge.free { color: var(--accent); border-color: rgba(255, 76, 0, .3); }
.res-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0 102px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.res-facts li { display: inline-flex; align-items: center; gap: 7px; }
.res-facts svg { width: 15px; height: 15px; color: var(--dim); }
.res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0 102px; }
.res-actions .form-note { flex-basis: 100%; margin: 0; }
.res-actions .form-note:empty { display: none; }
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn-sub { font-size: 12px; font-weight: 400; opacity: .75; }
.panel-text { color: var(--text-2); line-height: 1.75; }
.panel .tag-row { margin: 18px 0 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.seg button[aria-selected="true"] { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .55); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel .two-col .feature-list { grid-template-columns: 1fr; }
.req-col { padding-left: 28px; border-left: 1px solid var(--border); }
.req-list svg { color: var(--dim); }

/* code preview */
.code-view { position: relative; overflow: hidden; border-radius: 14px; background: #0a0a0a; border: 1px solid var(--border); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.code-head > span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.code-head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--text-2); }
.code-head small { flex: none; color: var(--dim); font-size: 11.5px; }
.code-head svg { flex: none; width: 15px; height: 15px; }
.code-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--text); background: rgba(255, 255, 255, .07); transition: background .25s, color .25s; }
.code-copy svg { width: 14px; height: 14px; }
.code-copy:hover, .code-copy.copied { color: #fff; background: var(--accent); }
.code-view pre { margin: 0; padding: 14px 16px 14px 0; font: 12.5px/1.7 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; counter-reset: ln; }
.code-view pre:focus-visible { outline-offset: -2px; }
.code-view .ln { position: relative; display: block; padding-left: 52px; counter-increment: ln; }
.code-view .ln::before { content: counter(ln); position: absolute; left: 0; width: 38px; text-align: right; color: var(--dim); opacity: .6; user-select: none; }
.code-view.is-collapsed pre { max-height: 400px; overflow: hidden; }
.code-view.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #0a0a0a 75%); pointer-events: none; }
.code-more { position: absolute; z-index: 1; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text); background: var(--card-2); border: 1px solid var(--border-2); transition: border-color .25s; }
.code-more:hover { border-color: var(--accent); }
.code-more svg { width: 14px; height: 14px; transition: transform .25s; }
.code-view:not(.is-collapsed) .code-more { position: static; transform: none; margin: 0 auto 14px; display: flex; }
.code-view:not(.is-collapsed) .code-more svg { transform: rotate(180deg); }

/* workflow diagram */
.flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.flow-node { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 18px; }
.flow-node:last-child { padding-bottom: 0; }
.flow-node:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 2px; width: 1px; background: linear-gradient(rgba(255, 76, 0, .55), rgba(255, 76, 0, .15)); }
.flow-icon { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--accent); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border-2); }
.flow-node:first-child .flow-icon { background: rgba(255, 76, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .35); }
.flow-icon svg { width: 20px; height: 20px; }
.flow-text { min-width: 0; flex: 1; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--card-2); }
.flow-text small { font-size: 11.5px; color: var(--dim); }
.flow-text b { font-weight: 500; color: var(--text); font-size: 14.5px; }
.flow-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.flow-subs span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--text-2); border: 1px dashed var(--border-2); }
.flow-subs svg { width: 12px; height: 12px; color: var(--accent); }

/* zip contents */
.file-tree { margin: 0; padding: 8px; list-style: none; border-radius: 14px; background: #0a0a0a; border: 1px solid var(--border); font: 13px/1.5 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; }
.file-tree li { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px calc(10px + var(--depth, 0) * 22px); border-radius: 8px; color: var(--text-2); }
.file-tree li:hover { background: rgba(255, 255, 255, .03); }
.file-tree li span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.file-tree li small { flex: none; color: var(--dim); font-size: 12px; }
.file-tree svg { flex: none; width: 15px; height: 15px; color: var(--dim); }
.file-tree .is-dir { color: var(--text); }
.file-tree .is-dir svg { color: var(--accent); }

.icon-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.icon-preview figure { margin: 0; display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px; border-radius: 14px; background: var(--card-2); color: var(--text); transition: color .25s; }
.icon-preview figure:hover { color: var(--accent); }
.icon-preview svg { width: 26px; height: 26px; }
.icon-preview figcaption { font-size: 11px; color: var(--muted); }

/* how to use timeline */
.steps.timeline { gap: 0; }
.steps.timeline li { padding-bottom: 20px; }
.steps.timeline li:last-child { padding-bottom: 0; }
.steps.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 1px; background: var(--border-2); }
.steps.timeline span { line-height: 1.6; }

/* side */
.ww-title { margin: 4px 0 10px; }
.ww-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ww { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--btn-border); font-size: 12.5px; color: var(--text-2); transition: border-color .25s, color .25s; }
span.ww { padding: 6px 12px; }
.ww .avatar { width: 22px; height: 22px; }
a.ww:hover { color: #fff; border-color: rgba(255, 76, 0, .55); }
.side-help { display: flex; align-items: center; gap: 12px; padding: 16px 18px; transition: background .25s; }
.side-help:hover { background: var(--card-2); }
.side-help > svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.side-help > svg:first-child { color: var(--accent); }
.side-help span { flex: 1; display: grid; gap: 2px; min-width: 0; }
.side-help b { font-weight: 500; font-size: 13.5px; color: var(--text); }
.side-help small { font-size: 12.5px; color: var(--muted); }
.share-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 22px 26px; border-radius: var(--radius); background: var(--card); }
.share-strip-title { font-weight: 500; color: #fff; }
.share-strip p:not(.share-strip-title) { margin-top: 4px; font-size: 13.5px; }

/* category index grid */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cat-grid .cat { min-width: 0; }

/* deals */
.deal-badge { flex: none; margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #fff; background: var(--accent); box-shadow: 0 6px 18px -6px rgba(255, 76, 0, .8); }
.deal-badge.lg { margin-left: 0; padding: 5px 14px; font-size: 14px; }
.card .deal-offer { color: var(--text); font-weight: 500; }
.text-link { font-size: 13px; color: var(--muted); transition: color .25s; }
.text-link:hover { color: #fff; }
.disclosure { display: flex; align-items: flex-start; gap: 10px; margin-top: 30px; font-size: 12.5px; color: var(--dim); }
.disclosure svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--muted); }
/* offers: coupon ticket card */
.btn.sm { padding: 11px 20px; font-size: 13px; }
.deal.ticket { padding: 20px 20px 18px; gap: 14px; }
.deal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.deal-top .card-top { align-items: center; }
.deal-name { display: grid; gap: 2px; min-width: 0; }
.deal-name small { font-size: 11.5px; color: var(--dim); }
.deal-off { flex: none; display: grid; justify-items: end; line-height: 1; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.deal-off b { margin-bottom: 3px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); }
.card.ticket .deal-offer { color: var(--text-2); font-weight: 400; }
.ticket-cut { position: relative; margin: 2px -20px; border-top: 1px dashed var(--border-2); }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.ticket-cut::before { left: -9px; }
.ticket-cut::after { right: -9px; }
.deal-code { position: relative; z-index: 1; display: grid; gap: 7px; }
.code-label { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.code-box { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 18px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .025); color: var(--text); text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.code-box code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: #fff; }
.code-act { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--text); background: rgba(255, 255, 255, .07); transition: background .25s, color .25s; }
.code-act svg { width: 14px; height: 14px; }
.code-box:hover { border-color: rgba(255, 76, 0, .55); }
.code-box:hover .code-act { color: #fff; background: var(--accent); }
.code-box.copied { border-style: solid; border-color: rgba(255, 76, 0, .55); }
.code-box.copied .code-act { color: #fff; background: var(--accent); }
.code-box.none { cursor: default; padding: 11px 18px; border-style: solid; border-color: var(--btn-border); background: var(--surface); font-size: 12.5px; color: var(--muted); }
.code-box.big { padding: 8px 8px 8px 24px; }
.code-box.big code { font-size: 20px; }
.code-box.big .code-act { padding: 10px 16px; font-size: 13.5px; }
.deal.ticket .card-foot { margin-top: 2px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; letter-spacing: .04em; color: #fff; }
.disclosure.small { margin-top: 14px; font-size: 11.5px; }

/* offers: coupon panel on the detail page */
.coupon { position: relative; display: grid; grid-template-columns: 1fr auto 240px; border-radius: var(--radius); background: var(--card); overflow: hidden; }
.coupon-main { display: grid; gap: 12px; align-content: center; padding: 26px 28px; }
.coupon-offer { font-size: 18px; font-weight: 500; line-height: 1.4; color: #fff; }
.coupon .form-note { min-height: 20px; margin: 0; text-align: left; }
.coupon-cut { position: relative; border-left: 1px dashed var(--border-2); }
.coupon-cut::before, .coupon-cut::after { content: ""; position: absolute; left: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); }
.coupon-cut::before { top: -10px; }
.coupon-cut::after { bottom: -10px; }
.coupon-side { display: grid; gap: 12px; justify-items: center; align-content: center; padding: 26px; text-align: center; background: rgba(255, 76, 0, .05); }
.coupon-off { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.coupon-side .btn { width: 100%; }
.coupon-side small { font-size: 11.5px; color: var(--dim); }

/* offers: how-to strip */
.how-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: var(--radius); background: var(--card); }
.how-title { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #fff; }
.how-title svg { width: 22px; height: 22px; color: var(--accent); }
.how-strip ol { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; counter-reset: h; }
.how-strip li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; counter-increment: h; }
.how-strip li::before { content: counter(h); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); }
.how-strip b { font-size: 13.5px; font-weight: 500; color: #fff; }
.how-strip span { font-size: 12.5px; color: var(--muted); }

.offer-box { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(255, 76, 0, .55); background: rgba(255, 76, 0, .06); color: #fff; font-size: 14px; font-weight: 500; }
.offer-box svg { flex: none; width: 20px; height: 20px; color: var(--accent); }

/* detail layout */
.detail-body { padding-top: 10px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.detail-main { display: grid; gap: 16px; min-width: 0; }
.detail-main > *, .detail-side > *, .tab-panel { min-width: 0; }
.panel { padding: 26px 28px; border-radius: var(--radius); background: var(--card); }
.panel h2 { margin-bottom: 14px; font-size: 20px; }
.panel > p { color: var(--text-2); line-height: 1.75; }
/* sub-headings inside data panels (tool page analytics, benefits & limitations) */
.panel > h3, .panel .two-col h3 { margin: 24px 0 8px; font-size: 15px; font-weight: 500; color: var(--text); }
.panel .two-col h3 { margin-top: 0; }
.panel .faq { margin-top: 4px; }
.feature-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.feature-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
/* Key features: brand-colour plus sign */
.plus-list svg { width: 16px; height: 16px; margin-top: 3px; stroke-width: 2.4; }
/* tool page: Overview text a little larger */
.panel .overview-text p { font-size: 16.5px; line-height: 1.8; color: var(--text-2); }
.panel .overview-text p + p { margin-top: 12px; }
.panel .mcp-none { margin-top: 12px; font-size: 14px; }
.panel .mcp-none .link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.panel .feature-list { grid-template-columns: repeat(2, 1fr); }
.detail-side { position: sticky; top: 96px; }
.side-card { padding: 22px; border-radius: var(--radius); background: var(--card); }
.side-card + .side-card { margin-top: 14px; }
.side-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.side-card-head .avatar { width: 50px; height: 50px; font-size: 18px; }
.side-card-head h2 { font-size: 18px; }
.side-card-head p { font-size: 12.5px; color: var(--dim); }
.meta { display: grid; gap: 0; margin: 0 0 16px; }
.meta-row { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.meta dt { color: var(--dim); }
.meta dd { display: flex; flex-wrap: wrap; gap: 4px 8px; min-width: 0; margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.meta dd a { color: var(--accent); transition: color .25s; }
.meta dd a:hover { color: #fff; }
.meta dd span:not(:last-child)::after, .meta dd a:not(:last-child)::after { content: ","; color: var(--dim); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.side-actions { display: flex; align-items: center; gap: 8px; }
.side-actions .btn { flex: 1; }
.save.big { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--btn-border); }
.save.big:hover { border-color: var(--accent); }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 2px; padding-left: 44px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .55); }
.steps b { color: var(--text); font-weight: 500; font-size: 14.5px; }
.steps span { font-size: 13.5px; }

/* articles */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; max-width: 1080px; }
.article-side { position: sticky; top: 96px; }
.post-hero .container { display: grid; justify-items: start; text-align: left; }
.post-hero h1 { margin-top: 16px; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.article-meta svg { width: 15px; height: 15px; }
.article-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.prose > .article-meta:first-child { margin: 0 0 22px; }
.post-cover-section { padding-top: 0; }
.post-cover { aspect-ratio: 16 / 8; border-radius: 22px; overflow: hidden; background: var(--card-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { min-width: 0; color: var(--text-2); font-size: 16px; line-height: 1.8; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 42px; font-size: clamp(22px, 2.4vw, 27px); scroll-margin-top: 100px; }
.prose h3 { margin-top: 30px; font-size: 19px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .faq { margin-top: 16px; }
.prose .tag-row { margin-top: 34px; }
.table-wrap { overflow-x: auto; border-radius: 16px; background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); white-space: nowrap; }
.prose thead th { color: var(--text); font-weight: 600; background: rgba(255, 255, 255, .03); }
.prose tbody th { color: var(--text); font-weight: 500; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: t; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); transition: .25s var(--ease); }
.toc a:hover { color: #fff; background: var(--surface); }
.toc a.active { color: #fff; background: var(--accent-soft); }
.mini-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mini-list a { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 14px; transition: background .25s; }
.mini-list a:hover { background: var(--surface); }
.mini-list .avatar { margin-top: 2px; }
.mini-list b { display: block; color: var(--text); font-size: 14px; font-weight: 500; }
.mini-list small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.5; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-row > span { margin-right: 6px; font-size: 14px; color: var(--text); }
.share-row .form-note { margin: 0 0 0 6px; text-align: left; }

/* forms layout */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.form-card { padding: 30px; border-radius: var(--radius); background: var(--card); }
.form-card h2 { margin: 0 0 20px; font-size: 20px; }
.form-card h2:not(:first-child) { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--border); }
.form-card > .btn { margin-top: 8px; }
.form-card .form-note { text-align: left; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-side { position: sticky; top: 96px; }
fieldset.field { margin: 0 0 16px; padding: 0; border: 0; }
fieldset.field legend { margin-bottom: 8px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--text-2); }
.checks .check { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--btn-border); transition: .25s var(--ease); }
.checks .check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: #fff; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.consent { align-items: flex-start; margin: 4px 0 16px; line-height: 1.5; }
.consent input { margin-top: 2px; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- submit tool form ---------- */
.sf-grid { grid-template-columns: minmax(0, 1fr) 360px; }
.sf-form { padding: 34px; }
.sf-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.sf-step + .sf-step { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border); }
.sf-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.sf-num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .55); }
.sf-form .sf-head h2 { margin: 0; padding: 0; border: 0; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.sf-head h2 em { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--dim); padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border-2); }
.sf-head p { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.sf-form .field { margin-bottom: 18px; }
.sf-form .field > span:first-child { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text); }
.sf-form .field > span:first-child i { font-style: normal; color: var(--accent); }
.sf-count { margin-left: auto; font-size: 11.5px; font-weight: 400; color: var(--dim); font-variant-numeric: tabular-nums; }
.sf-count.near { color: var(--accent); }
.field .err { display: none; font-size: 12px; color: var(--danger); }
.field:has([aria-invalid="true"]) .err, .sf-group[aria-invalid="true"] .err, .field .err.show { display: block; }
.field:has([aria-invalid="true"]) .hint { display: none; }
.sf-url { position: relative; display: block; }
.sf-url-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); display: grid; color: var(--dim); pointer-events: none; }
.sf-url-icon svg { width: 16px; height: 16px; }
.sf-form .sf-url input { padding-left: 42px; }
.sf-dup { display: flex; align-items: flex-start; gap: 10px; margin: -6px 0 18px; padding: 12px 14px; border-radius: 14px; font-size: 13px; color: var(--text-2); background: rgba(255, 76, 0, .06); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .3); }
.sf-review { margin-top: 18px; padding: 20px; border: 1px solid var(--accent); border-radius: 16px; background: var(--accent-soft); }
.sf-review h3 { margin: 0 0 6px; font-size: 18px; }
.sf-review .meta { margin: 14px 0; }
.sf-review .meta dd { overflow-wrap: anywhere; white-space: pre-line; }
.sf-review-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.sf-dup svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--accent); }
.sf-dup b { color: #fff; font-weight: 500; }
.sf-dup a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* chips (categories, pricing, platforms) */
.sf-chips, .sf-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip { position: relative; cursor: pointer; }
.sf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sf-chip > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 13px; color: var(--text-2); border: 1px solid var(--border-2); background: rgba(255, 255, 255, .02); transition: color .2s, border-color .2s, background .2s; user-select: none; }
.sf-chip > span svg { width: 15px; height: 15px; color: var(--muted); transition: color .2s; }
.sf-chip:hover > span { color: #fff; border-color: rgba(255, 255, 255, .3); }
.sf-chip input:checked + span { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.sf-chip input:checked + span svg { color: var(--accent); }
.sf-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sf-chip.off { cursor: not-allowed; opacity: .4; }
.sf-chip.off:hover > span { color: var(--text-2); border-color: var(--border-2); }
.sf-seg .sf-chip > span { min-width: 104px; justify-content: center; }
.sf-group[aria-invalid="true"] .sf-chip > span { border-color: rgba(255, 90, 90, .55); }

/* tags */
.sf-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 7px 10px; border-radius: 14px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03); cursor: text; transition: border-color .25s, box-shadow .25s; }
.sf-tags:focus-within { border-color: rgba(255, 76, 0, .7); box-shadow: 0 0 0 4px rgba(255, 76, 0, .12); }
.sf-tag-list { display: contents; }
.sf-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 11px; border-radius: 999px; font-size: 12.5px; color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .45); }
.sf-tag button { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 1; color: var(--text-2); }
.sf-tag button:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.sf-form .sf-tags input { flex: 1; min-width: 140px; width: auto; padding: 6px 4px; border: 0; background: none; box-shadow: none; }

/* logo dropzone */
.sf-drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; border: 1px dashed var(--border-2); background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .25s, background .25s; }
.sf-drop:hover, .sf-drop.over { border-color: var(--accent); background: var(--accent-soft); }
.sf-drop:focus-within { border-color: var(--accent); }
.sf-drop.has { border-style: solid; }
.sf-drop.bad { border-color: var(--danger); }
.sf-drop-preview { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: var(--accent); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border-2); }
.sf-drop-preview svg { width: 22px; height: 22px; }
.sf-drop.has .sf-drop-preview { background: none; box-shadow: none; }
.sf-drop-preview img { width: 100%; height: 100%; object-fit: contain; }
.sf-drop-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.sf-drop-text b { font-size: 14px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.sf-drop-text u { color: var(--accent); text-underline-offset: 3px; }
.sf-drop-text small { font-size: 12px; color: var(--dim); }
.sf-drop-remove { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--btn-border); transition: color .25s, border-color .25s; }
.sf-drop-remove:hover { color: #fff; border-color: var(--danger); }
.sf-drop-remove svg { width: 14px; height: 14px; }

/* consent + actions */
.sf-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); cursor: pointer; }
.sf-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sf-box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; display: grid; place-items: center; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03); color: transparent; transition: .2s; }
.sf-box svg { width: 13px; height: 13px; stroke-width: 2.4; }
.sf-consent input:checked + .sf-box { color: #fff; background: var(--accent); border-color: var(--accent); }
.sf-consent input:focus-visible + .sf-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.sf-consent input[aria-invalid="true"] + .sf-box { border-color: var(--danger); }
.sf-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sf-consent-err { display: none; margin: 6px 0 0 32px; font-size: 12px; color: var(--danger); }
.sf-step:has(.sf-consent input[aria-invalid="true"]) .sf-consent-err { display: block; }
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.sf-actions p { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sf-actions p svg { width: 16px; height: 16px; color: var(--accent); }
.sf-draft { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 11px 14px; border-radius: 14px; font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--border); }
.sf-draft svg { flex: none; width: 16px; height: 16px; color: var(--accent); }
.sf-draft span { flex: 1; }
.sf-draft button { font-size: 12.5px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* sidebar: "what happens next" scrolls away, preview + progress follow you down the form */
.sf-grid { align-items: stretch; }
.sf-side { position: static; display: flex; flex-direction: column; gap: 14px; }
.sf-side .side-card + .side-card { margin-top: 0; }
.sf-sticky { position: sticky; top: 92px; display: grid; gap: 14px; }
.sf-side > .side-card .steps { gap: 0; }
.sf-preview .sf-card { pointer-events: none; box-shadow: inset 0 0 0 1px var(--border); }
.sf-card h3 { min-width: 0; }
.sf-pv-meta { margin-top: 12px; font-size: 12.5px; color: var(--dim); text-align: center; }
.sf-progress-head { display: flex; align-items: baseline; justify-content: space-between; }
.sf-progress-head b { font-size: 13px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.sf-bar { display: block; height: 4px; margin: 2px 0 16px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.sf-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .4s var(--ease); }
.sf-checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.sf-checklist li { display: flex; align-items: center; gap: 10px; transition: color .25s; }
.sf-checklist li i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; transition: .25s; }
.sf-checklist li.done { color: var(--text); }
.sf-checklist li.done i { border-color: var(--accent); background: var(--accent); }
.sf-checklist li.done i::after { content: ""; width: 7px; height: 4px; margin-top: -2px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }
.sf-checklist em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--dim); }

/* success */
.sf-done { padding: 44px 34px; text-align: center; outline: 0; }
.sf-done-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft), 0 16px 40px -12px rgba(255, 76, 0, .8); }
.sf-done-icon svg { width: 28px; height: 28px; stroke-width: 2.2; }
.sf-done h2, .sf-done h2:not(:first-child) { margin: 0 0 10px; padding: 0; border: 0; font-size: 24px; }
.sf-done > p { max-width: 460px; margin: 0 auto; color: var(--muted); }
.sf-done > p b { color: var(--text); font-weight: 500; }
.sf-done-card { width: min(100%, 340px); margin: 26px auto 0; text-align: left; }
.sf-done-card .tool-card { pointer-events: none; box-shadow: inset 0 0 0 1px var(--border); }
.sf-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.contact-card { display: flex; gap: 14px; }
.contact-card > svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.contact-card .side-title { margin-bottom: 4px; }
.contact-card p { font-size: 13.5px; }
.contact-card a { display: inline-block; margin-top: 8px; color: var(--accent); font-size: 14px; }
.contact-card a:hover { color: #fff; }

/* auth */
.auth-hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 60px; }
.auth-card { width: min(100%, 440px); margin-inline: auto; padding: 34px 32px; border-radius: 26px; background: rgba(14, 14, 15, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 100px -30px #000, inset 0 0 0 1px rgba(255, 255, 255, .06); }
.auth-card h1 { font-size: 26px; text-align: center; }
.auth-sub { margin: 8px 0 24px; font-size: 13.5px; text-align: center; }
.btn.google { width: 100%; padding: 14px 20px; font-weight: 400; }
.btn.google b { font-weight: 600; }
.btn.google .g { width: 18px; height: 18px; }
.btn.google:hover svg { transform: none; }
.or { display: flex; align-items: center; gap: 14px; margin: 20px 0; font-size: 12.5px; color: var(--dim); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 18px; font-size: 13px; }
.auth-row a { color: var(--accent); }
.btn.block { width: 100%; }
.auth-switch { margin-top: 18px; font-size: 13.5px; text-align: center; }
.auth-switch a { color: var(--accent); font-weight: 500; }
.auth-page .footer { margin-top: 0; }

/* dashboard */
.tabs { display: inline-flex; gap: 4px; margin-bottom: 26px; padding: 5px; border-radius: 999px; background: var(--card); }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: 13.5px; color: var(--muted); transition: .25s var(--ease); }
.tabs button svg { width: 16px; height: 16px; }
.tabs button span { min-width: 20px; padding: 0 6px; border-radius: 999px; font-size: 11px; background: rgba(255, 255, 255, .08); }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: #fff; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 76, 0, .55); }
.sub-list { display: grid; gap: 12px; }
.sub-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--card); }
.sub-item .meta-text { flex: 1; min-width: 0; }
.sub-item b { display: block; color: var(--text); font-weight: 500; }
.sub-item small { display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; color: var(--accent); background: var(--accent-soft); }
.profile { max-width: 520px; }
.profile .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }

/* search page */
.search-wrap.small { margin-top: 0; }
.search-more { margin-top: 50px; }
.search-more[hidden] { display: none; }
.hit-card { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--card); transition: background .3s; }
.result.all { justify-content: center; margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 14px 14px; }
.result.all b { font-size: 13px; color: var(--accent); }
.result .deal-badge { margin-left: 6px; vertical-align: 1px; }
.hit-card:hover { background: var(--card-2); }
.hit-card small { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hit-card b { color: var(--text); font-weight: 500; font-size: 15px; line-height: 1.4; }
.hit-card span { font-size: 13.5px; }

/* 404 */
.not-found { min-height: 78vh; display: flex; align-items: center; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .listing.with-side { grid-template-columns: 220px 1fr; }
  .listing.with-side .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .form-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-side { position: static; order: -1; }
  .toc { display: none; }
}
@media (max-width: 980px) {
  .listing.with-side { grid-template-columns: 1fr; }
  .side { position: static; }
  .side-scroll { max-height: 320px; }
  .detail-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-side, .form-side { position: static; }
  .res-detail { gap: 16px; }
  .res-detail .detail-main { display: contents; }
  .res-detail .detail-main > * { order: 2; }
  .res-detail .detail-main > :first-child { order: 0; }
  .res-detail .side-card-head { display: none; }
  .res-detail .meta-row:first-child { border-top: 0; padding-top: 0; }
  .res-detail .detail-side { order: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
  .res-detail .detail-side .side-card + .side-card { margin-top: 0; }
  .res-detail .side-actions { display: none; }
  .res-detail .side-help { align-self: start; }
  .res-detail .ww-list { margin-bottom: 0; }
}
@media (max-width: 720px) {
  .container.narrow { width: min(100% - 32px, 860px); }
  .page-hero { padding: 100px 0 28px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .listing.with-side .grid-3 { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; }
  .toolbar-right .select, .toolbar-right .select select { flex: 1; }
  .detail-head { align-items: flex-start; gap: 16px; }
  .avatar.xl { width: 56px; height: 56px; font-size: 22px; }
  .panel { padding: 22px 20px; }
  .panel .feature-list { grid-template-columns: 1fr; }
  .pick { padding: 20px 18px; }
  .coupon { grid-template-columns: 1fr; }
  .coupon-main { padding: 22px 20px; }
  .coupon-cut { border-left: 0; border-top: 1px dashed var(--border-2); }
  .coupon-cut::before, .coupon-cut::after { top: -10px; bottom: auto; }
  .coupon-cut::before { left: -10px; }
  .coupon-cut::after { left: auto; right: -10px; }
  .coupon-side { padding: 22px 20px; }
  .code-box.big code { font-size: 17px; }
  .sf-sticky { position: static; }
  .sf-form { padding: 24px 18px; }
  .sf-head { gap: 12px; }
  .sf-seg .sf-chip { flex: 1; }
  .sf-seg .sf-chip > span { min-width: 0; width: 100%; padding-inline: 10px; }
  .sf-drop { gap: 12px; padding: 12px; }
  .sf-drop-preview { width: 52px; height: 52px; }
  .sf-actions .btn { width: 100%; }
  .sf-done { padding: 34px 18px; }
  .two-col { grid-template-columns: 1fr; gap: 22px; }
  .req-col { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .share-strip { flex-direction: column; align-items: flex-start; }
  .rtype-tile { width: 56px; height: 56px; border-radius: 16px; }
  .rtype-tile svg { width: 26px; height: 26px; }
  .res-facts, .res-actions { margin-left: 0; }
  .res-facts { gap: 8px 16px; }
  .res-actions .btn-primary { flex: 1; }
  .res-actions .btn-ghost { display: none; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .panel-head .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg button { white-space: nowrap; }
  .code-view .ln { padding-left: 40px; }
  .code-view .ln::before { width: 28px; }
  .code-view pre { font-size: 12px; }
  .flow-node { gap: 10px; }
  .flow-icon { width: 38px; height: 38px; border-radius: 11px; }
  .flow-node:not(:last-child)::before { left: 18.5px; top: 38px; }
  .flow-text { padding: 10px 12px; }
  .how-strip { flex-direction: column; align-items: flex-start; }
  .how-strip ol { flex-direction: column; gap: 14px; }
  .pick-grid { grid-template-columns: 1fr; gap: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .auth-card { padding: 28px 20px; }
  .tabs { display: flex; overflow-x: auto; }
}

/* no rings around real logos in overlapping logo stacks either */
.stack .avatar.has-logo, .rcover-tools .avatar.has-logo, .guide-logos .avatar.has-logo { box-shadow: none; }

/* tool page: one card, sections divided by lines */
.detail-card { padding: 0 28px; }
.detail-card .dsec { padding: 26px 0; }
.detail-card .dsec + .dsec { border-top: 1px solid var(--border); }
.detail-card .dsec h2 { margin: 0 0 14px; font-size: 19px; }
.detail-card .dsec > p { color: var(--text-2); line-height: 1.75; }
.detail-card .feature-list { grid-template-columns: repeat(2, 1fr); }
.detail-card .mcp-none { margin-top: 6px; font-size: 14px; line-height: 1.6; }
.detail-card .faq-numbered .qa:first-child { border-top: 0; }
.detail-card .mcp-none a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; transition: color .2s; }
.detail-card .mcp-none a:hover { color: var(--text); }
/* MCP URL row with copy button */
.mcp-url { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 6px 6px 6px 20px; border-radius: 999px; background: #0a0a0a; border: 1px solid var(--border); }
.mcp-url-label { flex: none; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.mcp-url code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 13px/1.6 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; color: var(--text); }
.mcp-copy { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--text); background: rgba(255, 255, 255, .07); transition: background .25s, color .25s; }
.mcp-copy svg { width: 16px; height: 16px; }
.mcp-copy:hover, .mcp-copy.copied { color: #fff; background: var(--accent); }
.mcp-copy svg { pointer-events: none; }
.aff-facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; color: var(--muted); }
.aff-facts span { margin-right: 8px; color: var(--dim); }
.detail-card .aff-details { margin-top: 6px; }
/* How to connect: minimal dropdown, closed by default */
.mcp-guide { margin-top: 14px; }
.mcp-drop { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); transition: color .2s; }
.mcp-drop:hover { color: var(--text); }
.mcp-drop svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.mcp-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.mcp-steps { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.mcp-steps li { font-size: 14px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 760px) { .detail-card { padding: 0 20px; } .detail-card .feature-list { grid-template-columns: 1fr; } .mcp-url-label { display: none; } }

/* Tool page type scale (owner, Nov 2026): H1 40px extra bold; box titles H4 18px semibold; second titles H5 16px semibold;
   descriptions and body text 14px regular */
.detail-hero .detail-title h1 { font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.detail-hero .detail-title p { font-size: 14px; font-weight: 400; line-height: 1.7; }
.detail-card .dsec h4 { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
.detail-card h5, .detail-side h5 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--text); }
.detail-card .qa-h { margin: 0; font-size: 16px; font-weight: 600; }
.detail-card .faq-numbered .qa button { font-size: 16px; font-weight: 600; }
.detail-card .dsec > p, .detail-card .overview-text p, .detail-card .feature-list li, .detail-card .mcp-steps li, .detail-card .mcp-none, .detail-card .mcp-drop,
.detail-card .faq-numbered .ans p, .detail-side .meta-row, .detail-side .side-card-head p { font-size: 14px; font-weight: 400; line-height: 1.7; }
/* body text: plain and calm, the site's standard body colour (no bright white, no extra weight) */
.detail-hero .detail-title p, .detail-card .dsec > p, .detail-card .overview-text p, .detail-card .feature-list li, .detail-card .mcp-steps li,
.detail-card .faq-numbered .ans p { color: var(--muted); letter-spacing: 0; line-height: 1.6; }
/* one even rhythm (owner, Nov 2026): same line height everywhere and the same small gap between paragraphs and list items,
   colours as on the tool cards (titles var(--text), body var(--muted)) */
.detail-card .overview-text p + p { margin-top: 6px; }
.detail-card .feature-list { gap: 6px 24px; }
.detail-card .feature-list li { align-items: flex-start; }
.detail-card .feature-list svg { margin-top: 3px; }
.detail-card .mcp-steps { gap: 6px; }
.detail-card .dsec > p + p, .detail-card .dsec > p + .mcp-none { margin-top: 6px; }
.detail-card .dsec h4, .detail-card h5, .detail-side h5, .detail-hero .detail-title h1 { color: var(--text); }
.detail-side .meta-row dd { color: var(--muted); }
.detail-side .side-card-head p { line-height: 1.4; }
@media (max-width: 760px) { .detail-hero .detail-title h1 { font-size: 32px; } }
