/* PropJury: one clean dark theme for every page (Inter, neutral grays, white actions, coral as a quiet accent) */
/* Self-hosted Inter (SIL OFL 1.1, see /assets/fonts/OFL.txt) with a metric-matched fallback to avoid layout shift */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }
:root {
  --bg: #0a0a0b; --bg-2: #0e0e10; --card: #111113; --card-2: #151517;
  --line: rgb(255 255 255 / .07); --line-2: rgb(255 255 255 / .13);
  --text: #f2f2f2; --text-2: #a1a1aa; --text-3: #71717a;
  --accent: #f58f7c; --accent-2: #f2c4ce; --accent-soft: #f4a596;
  --tp: #00b67a;
  --r: 16px; --r-sm: 10px;
  --wrap: 1200px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Inter, 'Inter Fallback', system-ui, -apple-system, sans-serif; letter-spacing: -.006em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgb(255 255 255 / .06); }
.hdr-row { height: 68px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand span { font-size: 21px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; color: #c8c8cc; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.hdr-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: 8px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
@media (max-width: 960px) {
  .hdr-row { height: 60px; gap: 16px; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hdr[data-open] .nav { display: flex; }
  .menu-btn { display: grid; place-items: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14.5px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; cursor: pointer; }
.btn-primary { background: #f2f2f2; color: #0a0a0a; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: rgb(255 255 255 / .12); color: #e4e4e7; background: transparent; }
.btn-ghost:hover { background: rgb(255 255 255 / .05); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.link { color: #d4d4d8; font-weight: 500; }
.link:hover { color: #fff; }

/* Type */
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.1; font-weight: 600; }
.grad { background: linear-gradient(108deg, #f2f2f2 3%, rgb(245 245 245 / .55) 81%, rgb(245 245 245 / .2) 124%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h1 { font-size: clamp(34px, 5.4vw, 64px); }
.h2 { font-size: clamp(26px, 3.4vw, 40px); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-2); line-height: 1.6; }
.lead b, .lead strong { color: var(--text); font-weight: 500; }
.muted { color: var(--text-3); }

/* Sections */
.sec { padding: 88px 0; border-top: 1px solid rgb(255 255 255 / .06); }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-h p { margin: 10px 0 0; max-width: 620px; color: var(--text-2); }
.page-h { padding-top: 56px; padding-bottom: 40px; }
.page-h .lead { margin: 18px 0 0; max-width: 720px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 9vw, 112px) 0 clamp(64px, 8vw, 104px); }
.dots { position: absolute; inset: 0 0 auto; height: 560px; pointer-events: none; background-image: radial-gradient(rgb(255 255 255 / .09) 1px, transparent 1.2px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(46% 70% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(46% 70% at 50% 30%, #000, transparent 75%); }
.hero .h1 { max-width: 960px; margin: 0 auto; font-size: clamp(36px, 5.4vw, 72px); letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.hero .lead { max-width: 640px; margin: 26px auto 0; text-wrap: pretty; }
.ctas { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* Hero demo lit from behind */
.demo { position: relative; max-width: 1100px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: left; }
.demo { container-type: inline-size; }
.demo pj-hero-demo { position: relative; z-index: 1; display: block; aspect-ratio: 1100 / 511.6; } /* reserve the demo's space before its script loads */
@container (max-width: 599.98px) { .demo pj-hero-demo { aspect-ratio: 358 / 420; } }
.demo pj-hero-demo:not(.ready) { visibility: hidden; } /* shown once the demo has picked its layout, see site.js */
.demo pj-hero-demo.ready { animation: demo-in .4s ease-out; }
@keyframes demo-in { from { opacity: 0; } to { opacity: 1; } }
.demo-glow { position: absolute; left: 50%; top: -150px; width: 96%; height: 340px; transform: translateX(-50%); pointer-events: none; filter: blur(46px); background: radial-gradient(50% 50% at 50% 72%, color-mix(in oklab, #f58f7c 90%, transparent), color-mix(in oklab, #f58f7c 30%, transparent) 55%, transparent 78%); }
.demo-core { position: absolute; left: 50%; top: -30px; width: 66%; height: 110px; transform: translateX(-50%); pointer-events: none; filter: blur(20px); background: radial-gradient(50% 50% at 50% 70%, #fff1ed, color-mix(in oklab, #f2c4ce 85%, transparent) 32%, color-mix(in oklab, #f58f7c 45%, transparent) 62%, transparent 86%); }
.demo-rim { position: absolute; left: 3.72%; right: 3.72%; top: 8%; bottom: 8%; border-radius: 12px; pointer-events: none; box-shadow: 0 0 34px 4px color-mix(in oklab, #f58f7c 55%, transparent), 0 0 90px 16px color-mix(in oklab, #f58f7c 26%, transparent), 0 30px 90px 10px color-mix(in oklab, #f58f7c 22%, transparent); }
@media (prefers-reduced-motion: no-preference) { .demo-core { animation: breathe 7s ease-in-out infinite; } }
@keyframes breathe { 50% { opacity: .75; } }
@media (max-width: 600px) {
  .demo { margin-left: -8px; margin-right: -8px; }
  .demo-glow { top: -110px; height: 240px; width: 110%; }
  .demo-core { top: -24px; height: 80px; width: 84%; }
  .demo-rim { left: 4.47%; right: 4.47%; top: 3.8%; bottom: 3.8%; box-shadow: 0 0 24px 3px color-mix(in oklab, #f58f7c 50%, transparent), 0 0 60px 10px color-mix(in oklab, #f58f7c 24%, transparent); }
}

/* Logo strip */
.strip { padding: 8px 0 72px; text-align: center; overflow: hidden; }
.strip-label { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.strip-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.strip-row { display: flex; width: max-content; gap: 56px; padding-right: 56px; animation: scroll 40s linear infinite; }
.strip-row a { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: #8a8a92; white-space: nowrap; transition: color .3s; }
.strip-row img { border-radius: 6px; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .3s, opacity .3s; }
.strip-row a:hover { color: var(--text); }
.strip-row a:hover img { filter: none; opacity: 1; }
.strip:hover .strip-row { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Logos and Trustpilot chips */
.logo { display: block; flex: none; object-fit: contain; border-radius: 10px; }
.tp { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px 0 3px; border-radius: 6px; background: rgb(0 182 122 / .12); color: #7ee2bf; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; flex: none; transition: background .2s; }
a.tp:hover { background: rgb(0 182 122 / .2); }
.tp i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; background: var(--tp); }
.tp-lg { height: 30px; padding: 0 10px 0 4px; font-size: 15px; border-radius: 8px; }
.tp-lg i { width: 22px; height: 22px; border-radius: 4px; }
.stars { display: inline-flex; gap: 3px; }
.stars i { position: relative; display: grid; place-items: center; width: 26px; height: 26px; background: #2a2a2e; border-radius: 3px; overflow: hidden; }
.stars i > span { position: absolute; inset: 0 auto 0 0; background: var(--tp); }
.stars i svg { position: relative; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: rgb(255 255 255 / .06); color: #c4c4c8; font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge-accent { background: rgb(245 143 124 / .12); color: var(--accent-soft); }
.badge-white { background: #f2f2f2; color: #0a0a0a; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
a.card:hover, .card-hover:hover { background: var(--card-2); border-color: rgb(255 255 255 / .15); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card h3 { font-size: 20px; letter-spacing: -.02em; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.card-act { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: var(--text-3); font-size: 13px; }
.card-more svg { color: var(--accent); }

/* Firm list rows */
.list { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #0f0f11; }
.row { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr) 200px; align-items: center; gap: 28px; padding: 20px 24px; border-top: 1px solid rgb(255 255 255 / .06); transition: background .2s; }
.row:first-child { border-top: 0; }
.row:not(.row-head):hover { background: rgb(255 255 255 / .025); }
.row-head { padding: 12px 24px; font-size: 12px; font-weight: 500; color: var(--text-3); background: #0c0c0e; }
.row-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row-name { font-size: 16px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-sub { margin-top: 3px; font-size: 12.5px; color: var(--text-3); }
.row-what p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.row-tags { margin-top: 9px; display: flex; gap: 6px; flex-wrap: wrap; }
.row-act { display: flex; justify-content: flex-end; gap: 8px; }
.row-price { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.row-price small { margin-left: 3px; font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.row-plan { margin-top: 3px; font-size: 12.5px; color: var(--text-3); }
.row-save { margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--accent-soft); }
.row.tools { grid-template-columns: minmax(220px, 1fr) minmax(0, 1.8fr) 170px 180px; }
.row[hidden] { display: none; }
@media (max-width: 980px) {
  .row, .row.tools { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .row-head { display: none; }
  .row-act { justify-content: stretch; }
  .row-act .btn { flex: 1; }
}

/* Filters */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; padding: 14px; border-radius: var(--r); background: #0f0f11; border: 1px solid var(--line); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.pill { height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid rgb(255 255 255 / .1); background: transparent; color: #d4d4d8; font: 500 13.5px/1 inherit; cursor: pointer; transition: background .2s, color .2s; }
.pill:hover { color: #fff; border-color: rgb(255 255 255 / .2); }
.pill[aria-pressed="true"] { background: #f2f2f2; color: #0a0a0a; border-color: #f2f2f2; }
.search { flex: 1 1 240px; max-width: 340px; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--text-3); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 400 14px/1 inherit; }
.empty { display: none; padding: 48px 24px; text-align: center; color: var(--text-3); }
.list[data-empty] .empty { display: block; }

/* Tables */
.table caption { padding: 0 0 12px; text-align: left; font-size: 14px; font-weight: 600; color: var(--text); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #0f0f11; font-size: 14.5px; }
.table th, .table td { padding: 14px 20px; text-align: left; border-top: 1px solid rgb(255 255 255 / .06); vertical-align: middle; }
.table tr:first-child th, .table tr:first-child td { border-top: 0; }
.table thead th { background: #0c0c0e; color: var(--text-3); font-size: 12px; font-weight: 500; }
.table tbody th { color: var(--text-3); font-weight: 500; width: 34%; }
.table td a:not(.tp):not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .25); }
.table-wrap { overflow-x: auto; }

/* Firm page */
.firm-h { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.firm-h .logo { width: 64px; height: 64px; border-radius: 14px; }
.firm-meta { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--text-2); font-size: 14px; }
.firm-act { margin-left: auto; display: flex; gap: 10px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.cols > * { min-width: 0; }
.aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .cols { grid-template-columns: 1fr; } .aside { position: static; } .firm-act { margin-left: 0; width: 100%; } .firm-act .btn { flex: 1; } }

/* Prose (guides, firm pages, legal) */
.prose { max-width: 720px; color: #d4d4d8; font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin: 44px 0 14px; font-size: 26px; color: var(--text); }
.prose h3 { margin: 28px 0 10px; font-size: 19px; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose .lead { font-size: 18.5px; color: var(--text); }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .3); }
.prose strong { color: var(--text); font-weight: 600; }
.prose > :first-child { margin-top: 0; }

/* Compare page */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.vs-mid { display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--text-3); }
.bar { height: 8px; border-radius: 99px; background: #222226; overflow: hidden; margin-top: 10px; }
.bar > span { display: block; height: 100%; background: var(--tp); border-radius: inherit; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } .vs-mid { padding: 4px 0; } }

/* Chips list (pairs) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 14px; color: #e4e4e7; transition: background .2s, border-color .2s; }
.chip:hover { background: var(--card-2); border-color: rgb(255 255 255 / .15); }
.chip img { border-radius: 4px; }
.chip em { font-style: normal; color: var(--text-3); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 16.5px; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 44px 22px 0; color: var(--text-2); line-height: 1.65; }

/* Note */
.note { margin-top: 18px; font-size: 12.5px; color: #5c5c63; }
.callout { padding: 20px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.callout strong { color: var(--text); }

/* Footer */
.ftr { border-top: 1px solid rgb(255 255 255 / .06); padding: 64px 0 32px; }
.ftr-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.ftr-top p { margin: 14px 0 0; max-width: 280px; font-size: 14px; color: var(--text-3); }
.ftr h2 { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--text); }
.ftr ul { margin: 0; padding: 0; list-style: none; }
.ftr li a { display: block; padding: 4px 0; font-size: 14px; color: var(--text-3); }
.ftr li a:hover { color: var(--text); }
.ftr-bot { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .06); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #5c5c63; }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-top > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ===== Comparison upgrade: type segmented control, firm and challenge tables, codes, offers, stats ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.filters { justify-content: space-between; }
.count { margin-left: auto; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #0a0a0b; border: 1px solid rgb(245 143 124 / .35); }
.seg-wrap { flex-wrap: wrap; border-radius: 14px; }
.seg-btn { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #e4e4e7; font: 600 14px/1 inherit; cursor: pointer; transition: color .2s, background .2s; }
.seg-btn:hover { color: #fff; background: rgb(255 255 255 / .05); }
.seg-btn[aria-pressed="true"] { background: linear-gradient(100deg, #f58f7c, #e98ab4); color: #fff; box-shadow: 0 6px 18px -8px #f58f7c; }
.btn-code { border: 1px dashed rgb(245 143 124 / .55); background: rgb(245 143 124 / .08); color: #f7b3a6; }
.btn-code:hover { background: rgb(245 143 124 / .16); }
.btn-code[data-revealed] { border-style: solid; color: #fff; letter-spacing: .06em; font-weight: 600; }
.btn-code svg { flex: none; }
.na { color: #4b4b52; }

/* Tables */
.tbl-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #0f0f11; }
.tbl-wrap .empty { display: none; }
.tbl-wrap[data-empty] .empty { display: block; }
.ftable, .ctable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ftable th, .ctable th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 500; color: var(--text-3); background: #0c0c0e; white-space: nowrap; }
.ftable td, .ctable td { padding: 16px; border-top: 1px solid rgb(255 255 255 / .06); vertical-align: middle; color: #e4e4e7; }
.ftable tr[hidden], .ctable tr[hidden] { display: none; }
.ftable tbody tr:hover, .ctable tbody tr:hover { background: rgb(255 255 255 / .02); }
.ctable td { white-space: normal; }
.ctable td:nth-child(3), .ctable td:nth-child(4), .cell-price, .cell-act { white-space: nowrap; }
.ctable th:nth-child(5), .ctable th:nth-child(6) { white-space: normal; }
.ctable .cell-pay { white-space: normal; min-width: 130px; font-size: 13px; color: var(--text-2); }
.cell-firm { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.firm-link { font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.firm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cell-sub { margin-top: 4px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.cell-plat { max-width: 220px; font-size: 13px; color: var(--text-2); }
.cell-price { font-weight: 600; font-size: 15px; color: var(--text); }
.cell-act { display: flex; gap: 8px; justify-content: flex-end; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; max-width: 200px; }
.ftable { min-width: 980px; }
.ctable { min-width: 1060px; }
.ctable th, .ctable td { padding-left: 12px; padding-right: 12px; }
.ctable .cell-firm { min-width: 170px; }
.ctable .cell-pay { min-width: 110px; max-width: 140px; }
.ctable.ctable-sm { min-width: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #0f0f11; }
.stats > div { padding: 24px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.03em; }
.stats span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px; }
.offer { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px 14px; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.offer-mid { min-width: 0; }
.offer-mid .firm-link { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-mid .cell-sub { overflow: hidden; }
.offer-mid .cell-sub span { overflow: hidden; text-overflow: ellipsis; }
.offer-act { grid-column: 1 / -1; display: flex; gap: 8px; }
.offer-act .btn { flex: 1; justify-content: center; }

/* Cards and firm page */
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-3); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.aside-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.firm-act .btn-code, .card-act .btn-code { justify-content: center; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 16px); max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; background: #1c1c1f; border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 18px 40px -16px #000; color: var(--text); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s cubic-bezier(.22, 1, .36, 1); }
.toast[data-show] { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 640px) { .seg { width: 100%; justify-content: space-between; } .seg-btn { flex: 1; padding: 0 8px; } .count { width: 100%; margin-left: 0; } }

/* Payouts */
.ptable { width: 100%; min-width: 1060px; border-collapse: collapse; font-size: 14px; }
.ptable th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 500; color: var(--text-3); background: #0c0c0e; white-space: nowrap; }
.ptable td { padding: 16px; border-top: 1px solid rgb(255 255 255 / .06); vertical-align: middle; color: #e4e4e7; white-space: nowrap; }
.ptable tr[hidden] { display: none; }
.ptable tbody tr:hover { background: rgb(255 255 255 / .02); }
.ptable .untracked { color: #5c5c63; font-size: 13px; }
.bar-grad { width: 140px; height: 4px; margin-top: 8px; }
.bar-grad > span { background: linear-gradient(90deg, #f58f7c, #e98ab4); }
.speed { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.speed[data-speed="instant"] { background: rgb(0 182 122 / .14); color: #7ee2bf; }
.speed[data-speed="very-fast"] { background: rgb(59 130 246 / .16); color: #93c5fd; }
.speed[data-speed="fast"] { background: rgb(245 158 11 / .14); color: #fcd34d; }
.paystats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--line); }
.paystats > div { padding: 16px; background: #0f0f11; }
.paystats b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.paystats span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.ftable { min-width: 1100px; }
@media (max-width: 1180px) {
  .hdr-row { height: 60px; gap: 16px; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hdr[data-open] .nav { display: flex; }
  .menu-btn { display: grid; place-items: center; }
}
.cell-sub { white-space: nowrap; }

/* Firm filters */
/* (Filters panel + quick sort tabs) */
.ffilter { position: relative; margin-bottom: 16px; }
.fbar { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.fbtn, .qtab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .1); background: #141416; color: #e4e4e7; font: 600 14px/1 inherit; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.fbtn:hover, .qtab:hover { background: #1a1a1d; color: #fff; }
.qtab[aria-pressed="true"] { border-color: transparent; background: linear-gradient(#141416, #141416) padding-box, linear-gradient(100deg, #f58f7c, #e98ab4) border-box; border: 1px solid transparent; color: #fff; }
.qtab[aria-pressed="true"] svg { color: #f58f7c; }
.fbtn[aria-expanded="true"] { border-color: rgb(245 143 124 / .6); }
.fcount { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: linear-gradient(100deg, #f58f7c, #e98ab4); color: #fff; font-size: 11.5px; }
.fsep { width: 1px; height: 24px; background: rgb(255 255 255 / .1); flex: none; }
.qtabs { display: flex; gap: 8px; }
.fbar2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px; border-radius: var(--r); background: #0f0f11; border: 1px solid var(--line); }
.fpanel { position: absolute; z-index: 30; top: 52px; left: 0; width: min(100%, 380px); max-height: 70vh; display: flex; flex-direction: column; border-radius: 16px; background: #121214; border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 30px 60px -20px #000; }
.fpanel[hidden] { display: none; }
.fpanel-h { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.fpanel-h > div { flex: 1; }
.fpanel-h strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.fshown { font-size: 12.5px; color: var(--text-3); }
.freset { border: 0; background: none; color: var(--text-3); font: 500 14px/1 inherit; cursor: pointer; }
.freset:hover { color: #fff; }
.fclose { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: #d4d4d8; font-size: 16px; cursor: pointer; }
.fclose:hover { background: rgb(255 255 255 / .06); }
.fpanel-b { overflow-y: auto; padding: 4px 20px 16px; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid #a1a1aa; border-bottom: 2px solid #a1a1aa; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.fgroup[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.fchip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .12); background: #0f0f11; color: #e4e4e7; font: 500 14px/1 inherit; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.fchip i { font-style: normal; color: #f58f7c; margin-right: 4px; }
.fchip:hover { border-color: rgb(255 255 255 / .25); color: #fff; }
.fchip[aria-pressed="true"] { border: 1px solid transparent; background: linear-gradient(#1a1416, #1a1416) padding-box, linear-gradient(100deg, #f58f7c, #e98ab4) border-box; color: #fff; }
@media (max-width: 640px) { .fpanel { position: fixed; inset: auto 0 0 0; top: auto; width: 100%; max-height: 80vh; border-radius: 18px 18px 0 0; } }

/* Country picker and restricted-country chips */
.csel { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--text-3); }
.csel select { background: transparent; border: 0; outline: 0; color: var(--text); font: 400 14px/1 inherit; cursor: pointer; max-width: 200px; }
.csel select option, .csel select optgroup { background: #121214; color: #e4e4e7; }
.rcs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.rc { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgb(239 68 68 / .08); border: 1px solid rgb(239 68 68 / .22); color: #fca5a5; font-size: 12.5px; }

.ftr-mail { margin-top: 12px; }
.ftr-mail a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.ftr-mail a:hover { text-decoration-color: currentColor; }
