/* ===== Design tokens ===== */
:root{
  --bg:#0b0d10;
  --panel:#13161b;
  --panel-2:#1a1f26;
  --panel-3:#202631;
  --border:#262c35;
  --border-light:#384152;
  --text:#e6e9ef;
  --muted:#8a93a3;
  --muted-2:#6a7384;
  --accent:#7c5cff;
  --accent-2:#5be1c4;
  --accent-glow:rgba(124,92,255,.20);
  --warn:#ffb84d;
  --good:#3ddc97;
  --danger:#ff6b6b;
  --chip:#222833;
  --radius:10px;
  --radius-lg:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0}
img{max-width:100%;display:block}

/* ===== Top bar (shared) ===== */
header.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 28px;border-bottom:1px solid var(--border);background:var(--panel);
  position:sticky;top:0;z-index:10;
}
.topbar-left{display:flex;align-items:center;gap:32px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:-0.01em}
.brand-mark{
  width:28px;height:28px;border-radius:8px;
  background:radial-gradient(circle at 30% 30%,var(--accent) 0%,#3b1d8a 70%);
  box-shadow:0 0 0 1px rgba(255,255,255,.06) inset;
  position:relative;
}
.brand-mark::after{
  content:"";position:absolute;inset:6px;border-radius:50%;
  background:radial-gradient(circle at 40% 40%,#fff 0%,transparent 60%);
  opacity:.4;
}
.brand small{color:var(--muted);font-weight:500;margin-inline-start:6px;font-size:11px}
.topnav{display:flex;gap:22px;color:var(--muted);font-size:14px}
.topnav a{cursor:pointer;transition:color .15s}
.topnav a:hover{color:var(--text)}
.topnav a.active{color:var(--text)}
.top-actions{display:flex;gap:10px;align-items:center}

/* Hamburger button — hidden on desktop, shown ≤900px */
.hamburger{
  display:none;flex-direction:column;justify-content:center;gap:4px;
  width:34px;height:34px;background:transparent;border:1px solid var(--border);
  border-radius:8px;cursor:pointer;padding:0;
  transition:background .15s;
}
.hamburger:hover{background:var(--panel-2)}
.hamburger span{display:block;height:2px;width:16px;background:var(--text);border-radius:2px;margin:0 auto}

/* Filter toggle button (app view, mobile only) */
.filter-toggle{
  display:none;align-items:center;gap:10px;
  width:100%;padding:11px 14px;
  background:var(--panel);border:1px solid var(--border);border-radius:10px;
  font-size:13px;font-weight:600;color:var(--text);
  margin-bottom:12px;cursor:pointer;
}
.filter-toggle:hover{border-color:var(--border-light)}
.filter-toggle .icon{font-size:14px;color:var(--accent)}
.filter-toggle .label{flex:1;text-align:start}
.filter-toggle .count{
  padding:2px 9px;border-radius:999px;
  background:var(--accent-glow);color:#cbbcff;
  font-size:11px;font-weight:700;
}

/* Filter close (inside aside.filters when shown as bottom-sheet) */
.filter-close{
  display:none;position:absolute;top:14px;inset-inline-end:14px;
  width:32px;height:32px;align-items:center;justify-content:center;
  background:var(--panel-2);border:1px solid var(--border);
  border-radius:50%;color:var(--text);font-size:18px;line-height:1;
  cursor:pointer;z-index:2;
}

/* Shared dim overlay for mobile drawer + sheet */
.sheet-backdrop{
  display:none;position:fixed;inset:0;
  background:rgba(0,0,0,.55);backdrop-filter:blur(2px);
  z-index:8;
}
body.mobile-nav-open .sheet-backdrop{display:block;z-index:8}
body.filter-sheet-open .sheet-backdrop{display:block;z-index:48}

.btn{
  padding:8px 14px;border-radius:8px;font-weight:600;font-size:13px;
  background:var(--panel-2);color:var(--text);border:1px solid var(--border);
  transition:all .15s;
}
.btn:hover{background:var(--panel-3);border-color:var(--border-light)}
.btn-primary{background:var(--accent);color:white;border-color:transparent}
.btn-primary:hover{filter:brightness(1.1);background:var(--accent)}
.btn-ghost{background:transparent}
.btn-ghost:hover{background:var(--panel-2)}
.btn-lg{padding:12px 22px;font-size:14px;border-radius:10px}
.btn-block{width:100%;text-align:center}

/* Language toggle */
.lang-toggle{
  display:inline-flex;gap:2px;background:var(--panel-2);border:1px solid var(--border);
  border-radius:8px;padding:3px;
}
.lang-toggle button{
  padding:5px 10px;background:transparent;color:var(--muted);
  font-size:12px;font-weight:600;border-radius:5px;
}
.lang-toggle button.active{background:var(--panel-3);color:var(--text)}

/* ===== Page container ===== */
.page{max-width:1200px;margin:0 auto;padding:32px 28px}
.page-wide{max-width:1400px}
h1,h2,h3,h4{margin:0;letter-spacing:-0.01em}
h1{font-size:44px;line-height:1.1;font-weight:700}
h2{font-size:28px;line-height:1.2;font-weight:700}
h3{font-size:18px;line-height:1.3;font-weight:600}
.subtitle{color:var(--muted);font-size:16px;line-height:1.5}

/* ===== Layout for app view ===== */
.layout{display:grid;grid-template-columns:260px 1fr;gap:0;min-height:calc(100vh - 57px)}
aside.filters{
  border-inline-end:1px solid var(--border);background:var(--panel);padding:20px;
}
main.results{padding:24px 28px}

/* ===== Filters ===== */
.filter-group{margin-bottom:22px}
.filter-group h4{margin:0 0 10px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:0.08em}
.chip-row{display:flex;flex-wrap:wrap;gap:6px}
.chip{
  padding:5px 10px;border-radius:999px;background:var(--chip);color:var(--text);
  font-size:12px;border:1px solid transparent;cursor:pointer;user-select:none;
  transition:all .15s;
}
.chip:hover{background:var(--panel-3)}
.chip.active{background:var(--accent-glow);border-color:var(--accent);color:#cbbcff}
.range{display:flex;gap:8px;align-items:center}
.range input{
  width:100%;background:var(--panel-2);border:1px solid var(--border);color:var(--text);
  padding:7px 10px;border-radius:6px;font-size:13px;
}
.range span{color:var(--muted);font-size:12px}
.filter-input{
  width:100%;background:var(--panel-2);border:1px solid var(--border);color:var(--text);
  padding:7px 10px;border-radius:6px;font-size:13px;
}
.filter-help{font-size:11px;color:var(--muted);margin:8px 0 0;line-height:1.4}
.check-row{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:6px;color:var(--muted)}
.check-row input{accent-color:var(--accent)}

/* ===== Search bar ===== */
.search-bar{display:flex;gap:10px;align-items:center;margin-bottom:18px}
.search-bar input[type=search]{
  flex:1;background:var(--panel);border:1px solid var(--border);color:var(--text);
  padding:11px 14px;border-radius:10px;font-size:14px;
}
.search-bar input[type=search]:focus{outline:none;border-color:var(--accent)}
.sort-select{
  background:var(--panel);border:1px solid var(--border);color:var(--text);
  padding:11px 12px;border-radius:10px;font-size:13px;
}
.results-meta{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px;color:var(--muted);font-size:13px;flex-wrap:wrap;gap:8px}
.results-meta strong{color:var(--text)}

/* ===== Creator card ===== */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.card{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;
  display:flex;flex-direction:column;gap:12px;position:relative;transition:all .15s;
}
.card:hover{border-color:var(--border-light);transform:translateY(-1px)}
.card-head{display:flex;gap:12px;align-items:center}
.avatar{
  width:48px;height:48px;border-radius:50%;flex-shrink:0;overflow:hidden;
  display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:18px;
}
.avatar-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.avatar-lg{width:84px;height:84px;font-size:30px}
.a1{background:linear-gradient(135deg,#ff8a8a,#ffb84d)}
.a2{background:linear-gradient(135deg,#5be1c4,#3a7cff)}
.a3{background:linear-gradient(135deg,#c084fc,#7c5cff)}
.a4{background:linear-gradient(135deg,#fbbf24,#fb7185)}
.a5{background:linear-gradient(135deg,#34d399,#0ea5e9)}
.a6{background:linear-gradient(135deg,#f472b6,#a78bfa)}
.a7{background:linear-gradient(135deg,#60a5fa,#a78bfa)}
.a8{background:linear-gradient(135deg,#fb923c,#facc15)}
.handle{font-weight:600;font-size:15px}
.name{font-size:12px;color:var(--muted)}
.bio{font-size:13px;color:var(--muted);line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.niche-row{display:flex;flex-wrap:wrap;gap:5px}
.niche-tag{font-size:11px;padding:3px 8px;border-radius:6px;background:var(--accent-glow);color:#a892ff}
.creds-badge{
  display:inline-flex;align-items:center;gap:5px;font-size:11px;
  padding:3px 8px;border-radius:6px;background:rgba(61,220,151,.10);color:var(--good);
}
.creds-badge::before{content:"●";font-size:8px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:10px;border-top:1px solid var(--border)}
.stat-cell .label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:0.06em}
.stat-cell .value{font-size:14px;font-weight:600;margin-top:2px}
.value-good{color:var(--good)}
.card-actions{display:flex;gap:8px;margin-top:4px}
.card-actions .btn{flex:1;text-align:center;font-size:12px;padding:8px 10px}

/* ===== Empty state ===== */
.empty-state{
  text-align:center;padding:60px 20px;color:var(--muted);
  border:1px dashed var(--border);border-radius:var(--radius-lg);
}
.empty-state h3{color:var(--text);margin-bottom:6px}
.empty-state p{margin:0 0 16px;font-size:14px}

/* ===== Modal ===== */
.modal-shade{
  position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(2px);
  display:none;align-items:center;justify-content:center;z-index:50;padding:20px;
}
.modal-shade.open{display:flex}
.modal{
  width:min(640px,100%);background:var(--panel);border:1px solid var(--border);
  border-radius:16px;padding:24px;max-height:90vh;overflow:auto;
}
.modal h3{margin:0 0 4px;font-size:18px}
.modal p.sub{margin:0 0 18px;color:var(--muted);font-size:13px}
.form-row{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.form-row label{font-size:12px;color:var(--muted)}
.form-row input,.form-row textarea,.form-row select{
  background:var(--panel-2);border:1px solid var(--border);color:var(--text);
  padding:10px 12px;border-radius:8px;font-size:13px;font-family:inherit;
}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{outline:none;border-color:var(--accent)}
.form-row textarea{min-height:84px;resize:vertical}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
html[dir=rtl] .modal-actions{justify-content:flex-start}
.notice{
  font-size:12px;color:var(--muted);background:var(--panel-2);
  padding:10px 12px;border-radius:8px;border:1px dashed var(--border);margin-bottom:14px;
}

/* ===== Footer note ===== */
.footer-note{
  margin-top:28px;padding-top:18px;border-top:1px solid var(--border);
  color:var(--muted);font-size:12px;text-align:center;
}

/* ===== Landing-specific ===== */
.hero{
  text-align:center;padding:80px 24px 60px;max-width:880px;margin:0 auto;
  position:relative;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 50% 0%,var(--accent-glow) 0%,transparent 60%);
  z-index:-1;pointer-events:none;
}
.hero .eyebrow{
  display:inline-block;padding:5px 12px;border-radius:999px;
  background:var(--panel-2);border:1px solid var(--border);
  font-size:12px;color:var(--muted);margin-bottom:18px;
}
.hero .eyebrow span.dot{color:var(--good)}
.hero h1{margin-bottom:18px}
.hero .grad{background:linear-gradient(120deg,var(--accent),var(--accent-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p.lede{font-size:18px;color:var(--muted);max-width:620px;margin:0 auto 32px;line-height:1.55}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.trusted-by{padding:50px 24px 20px;text-align:center}
.trusted-by .label{font-size:11px;color:var(--muted-2);text-transform:uppercase;letter-spacing:0.12em;margin-bottom:18px}
.logos{display:flex;flex-wrap:wrap;gap:30px;justify-content:center;align-items:center;opacity:.6}
.logo-fake{font-size:18px;font-weight:700;color:var(--muted);font-family:Georgia,serif;letter-spacing:-0.02em}
.logo-fake.s{font-family:-apple-system,sans-serif;font-weight:800;letter-spacing:-0.03em}

.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;padding:60px 0}
.feature{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:24px;
}
.feature .icon{
  width:36px;height:36px;border-radius:8px;background:var(--accent-glow);
  display:flex;align-items:center;justify-content:center;color:var(--accent);
  font-size:18px;font-weight:700;margin-bottom:14px;
}
.feature h3{margin-bottom:8px}
.feature p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}

.cta-strip{
  background:linear-gradient(135deg,rgba(124,92,255,.10),rgba(91,225,196,.05));
  border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:36px;text-align:center;margin:40px 0;
}
.cta-strip h2{margin-bottom:8px}
.cta-strip p{color:var(--muted);margin:0 0 22px}

/* ===== Stats strip (agency-facing numbers) ===== */
.stats-strip{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:24px;margin:40px 0;
}
.stat-block{text-align:center;padding:6px 12px}
.stat-block .big{font-size:28px;font-weight:700;letter-spacing:-0.02em;background:linear-gradient(120deg,var(--accent),var(--accent-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.stat-block .lbl{font-size:12px;color:var(--muted);margin-top:4px}

/* ===== Quote card (testimonial mock) ===== */
.quote-card{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:32px;margin:40px 0;max-width:760px;margin-left:auto;margin-right:auto;
  position:relative;
}
.quote-card::before{
  content:"\201C";position:absolute;top:8px;inset-inline-start:18px;
  font-size:72px;color:var(--accent);opacity:.4;font-family:Georgia,serif;line-height:1;
}
.quote-card blockquote{
  margin:0 0 18px;font-size:17px;line-height:1.55;color:var(--text);
  padding-inline-start:28px;
}
.quote-card .attrib{display:flex;align-items:center;gap:12px;padding-inline-start:28px}
.quote-card .attrib .avatar{width:38px;height:38px;font-size:14px}
.quote-card .attrib .who{display:flex;flex-direction:column}
.quote-card .attrib .name-q{font-weight:600;font-size:14px}
.quote-card .attrib .role-q{font-size:12px;color:var(--muted)}

/* ===== Agency callout band ===== */
.agency-band{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:32px;margin:40px 0;
}
.agency-band h2{margin-bottom:10px}
.agency-band .agency-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:22px;
}
.agency-band .item{display:flex;gap:12px;align-items:flex-start}
.agency-band .item .num{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;
  background:var(--accent-glow);color:var(--accent);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;
}
.agency-band .item h4{font-size:14px;margin-bottom:4px}
.agency-band .item p{margin:0;font-size:13px;color:var(--muted);line-height:1.5}

/* ===== Pricing ===== */
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin:36px 0}
.plan{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:28px;display:flex;flex-direction:column;gap:18px;position:relative;
}
.plan.featured{border-color:var(--accent);background:linear-gradient(180deg,var(--accent-glow),var(--panel) 30%)}
.plan-badge{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:var(--accent);color:#fff;font-size:11px;font-weight:700;
  padding:4px 12px;border-radius:999px;letter-spacing:0.04em;text-transform:uppercase;
}
.plan h3{font-size:16px;color:var(--muted)}
.plan .price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.plan .price .nis{font-size:38px;font-weight:700;letter-spacing:-0.02em}
.plan .price .cycle{font-size:13px;color:var(--muted)}
.plan .price .strike{font-size:14px;color:var(--muted-2);text-decoration:line-through}
.plan ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.plan li{font-size:13px;color:var(--text);display:flex;gap:8px;align-items:flex-start}
.plan li::before{content:"✓";color:var(--good);font-weight:700;flex-shrink:0}
.plan li.muted{color:var(--muted)}
.plan li.muted::before{content:"–";color:var(--muted-2)}

.faq{margin-top:50px}
.faq-item{
  border-top:1px solid var(--border);padding:20px 0;
}
.faq-item h4{font-size:15px;margin-bottom:8px}
.faq-item p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}

/* ===== Creator profile page ===== */
.profile-header{
  display:flex;gap:24px;align-items:center;padding:28px;
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  margin-bottom:20px;flex-wrap:wrap;
}
.profile-header .meta-block{flex:1;min-width:240px}
.profile-header h1{font-size:24px;margin-bottom:4px}
.profile-header .name-line{color:var(--muted);font-size:14px;margin-bottom:12px}
.profile-header .actions{display:flex;gap:10px;flex-wrap:wrap}

.profile-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}
@media(max-width:900px){.profile-grid{grid-template-columns:1fr}}
.panel{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:22px;margin-bottom:20px;
}
.panel h3{margin-bottom:14px;font-size:15px}
.kv-row{display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid var(--border);font-size:13px}
.kv-row:first-of-type{border-top:0}
.kv-row .k{color:var(--muted)}
.kv-row .v{font-weight:600}

/* ER sparkline */
.sparkline{
  display:flex;align-items:flex-end;gap:3px;height:60px;margin:14px 0;
}
.sparkline .bar{
  flex:1;background:linear-gradient(180deg,var(--accent),#3b1d8a);
  border-radius:3px 3px 0 0;min-height:5px;transition:all .2s;
  position:relative;
}
.sparkline .bar:hover{filter:brightness(1.3)}

/* Audience charts */
.audience-bar{margin-bottom:12px}
.audience-bar .label-row{display:flex;justify-content:space-between;font-size:12px;margin-bottom:5px}
.audience-bar .label-row .k{color:var(--muted)}
.audience-bar .label-row .v{font-weight:600}
.audience-bar .track{height:6px;background:var(--panel-3);border-radius:3px;overflow:hidden}
.audience-bar .fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-2));border-radius:3px}

/* Post grid */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.post-thumb{
  aspect-ratio:1;border-radius:8px;background:var(--panel-2);
  position:relative;overflow:hidden;display:flex;align-items:flex-end;
  padding:8px;font-size:11px;color:#fff;
}
.post-thumb::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.7) 100%);
}
.post-thumb span{position:relative;z-index:1;display:inline-flex;gap:10px}
.pt1{background:linear-gradient(135deg,#e7c89b,#a0826d)}
.pt2{background:linear-gradient(135deg,#5fc8c6,#3c7d9c)}
.pt3{background:linear-gradient(135deg,#c084fc,#6b46c1)}
.pt4{background:linear-gradient(135deg,#fbbf24,#dc2626)}
.pt5{background:linear-gradient(135deg,#34d399,#059669)}
.pt6{background:linear-gradient(135deg,#f472b6,#be185d)}
.post-thumb-img{background-size:cover;background-position:center}

/* Worked-with row on creator cards */
.worked-with{
  position:relative;display:flex;align-items:center;gap:8px;
  font-size:11px;color:var(--muted);cursor:default;outline:none;
}
.worked-with-logos{display:inline-flex;flex-direction:row;flex-shrink:0}
[dir="rtl"] .worked-with-logos{flex-direction:row-reverse}
.worked-with-logos img{
  width:22px;height:22px;border-radius:50%;object-fit:cover;
  border:2px solid var(--panel);background:#fff;margin-inline-start:-6px;
}
.worked-with-logos img:first-child{margin-inline-start:0}
.worked-with-label{white-space:nowrap}
.worked-with-popover{
  position:absolute;bottom:calc(100% + 6px);inset-inline-start:0;
  background:var(--panel-2);border:1px solid var(--border);border-radius:10px;
  padding:10px 12px;min-width:220px;box-shadow:0 8px 24px rgba(0,0,0,.35);
  opacity:0;pointer-events:none;transform:translateY(4px);
  transition:opacity .12s, transform .12s;z-index:10;
}
.worked-with:hover .worked-with-popover,
.worked-with:focus-visible .worked-with-popover,
.worked-with:focus-within .worked-with-popover{
  opacity:1;pointer-events:auto;transform:translateY(0);
}
.worked-with-popover-title{
  font-size:10px;text-transform:uppercase;letter-spacing:.06em;
  color:var(--muted);margin-bottom:8px;
}
.worked-with-popover ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.worked-with-popover li{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--text)}
.worked-with-popover li img{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#fff;flex-shrink:0}
.worked-with-popover li b{display:block;font-weight:600;font-size:12px;line-height:1.2}
.worked-with-popover li span{display:block;font-size:11px;color:var(--muted);margin-top:1px}

/* Info tooltip — small "i" badge with hover/focus popup */
.info-tip{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:14px;height:14px;border-radius:50%;
  background:var(--panel-3);color:var(--muted);
  font-size:10px;font-weight:700;line-height:1;font-style:normal;
  margin-inline-start:5px;cursor:help;outline:none;
  border:1px solid var(--border);user-select:none;flex-shrink:0;
  transition:color .15s, background .15s;
}
.info-tip:hover,
.info-tip:focus-visible{color:var(--text);background:var(--border-light)}
.info-tip-popup{
  position:absolute;bottom:calc(100% + 6px);inset-inline-start:50%;
  transform:translateX(-50%) translateY(4px);
  background:var(--panel-2);border:1px solid var(--border);border-radius:10px;
  padding:10px 12px;width:240px;
  font-size:12px;font-weight:400;font-style:normal;
  text-transform:none;letter-spacing:normal;
  color:var(--text);line-height:1.45;text-align:start;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  opacity:0;pointer-events:none;
  transition:opacity .12s, transform .12s;z-index:20;
  white-space:normal;
}
[dir="rtl"] .info-tip-popup{transform:translateX(50%) translateY(4px)}
.info-tip:hover .info-tip-popup,
.info-tip:focus-visible .info-tip-popup,
.info-tip:focus-within .info-tip-popup{
  opacity:1;pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
[dir="rtl"] .info-tip:hover .info-tip-popup,
[dir="rtl"] .info-tip:focus-visible .info-tip-popup,
[dir="rtl"] .info-tip:focus-within .info-tip-popup{
  transform:translateX(50%) translateY(0);
}

/* Recent brand collabs */
.collabs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.collab-card{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;
  padding:14px 10px;background:var(--panel-2);border:1px solid var(--border);border-radius:10px;
}
.collab-logo{width:56px;height:56px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#fff}
.collab-meta{min-width:0;width:100%}
.collab-name{font-weight:600;font-size:13px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collab-handle{font-size:11px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:560px){
  .collabs-grid{grid-template-columns:1fr 1fr}
}

/* Credibility score donut */
.creds-circle{
  width:120px;height:120px;border-radius:50%;
  background:conic-gradient(var(--good) 0% 86%, var(--panel-3) 86% 100%);
  display:flex;align-items:center;justify-content:center;margin:0 auto 14px;
  position:relative;
}
.creds-circle::before{
  content:"";position:absolute;inset:14px;border-radius:50%;background:var(--panel);
}
.creds-circle span{position:relative;font-size:24px;font-weight:700}
.creds-circle small{position:relative;font-size:11px;color:var(--muted);display:block;margin-top:2px;text-align:center}

/* ===== Saved lists view ===== */
.list-header{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:24px;flex-wrap:wrap;gap:12px;
}
.list-tabs{display:flex;gap:6px;border-bottom:1px solid var(--border);margin-bottom:24px}
.list-tab{
  padding:10px 16px;color:var(--muted);font-size:14px;cursor:pointer;
  border-bottom:2px solid transparent;font-weight:500;
}
.list-tab.active{color:var(--text);border-color:var(--accent)}
.list-tab .count{
  display:inline-block;padding:1px 7px;border-radius:999px;background:var(--panel-2);
  color:var(--muted);font-size:11px;margin-inline-start:6px;
}

.list-table{
  background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);
  overflow:hidden;
}
.list-row{
  display:grid;grid-template-columns:2.5fr 1fr 1fr 1.5fr 1fr auto;gap:14px;
  padding:14px 18px;border-top:1px solid var(--border);align-items:center;font-size:13px;
}
.list-row.header{
  border-top:0;background:var(--panel-2);font-size:11px;color:var(--muted);
  text-transform:uppercase;letter-spacing:0.06em;font-weight:600;
}
.list-row .creator-cell{display:flex;gap:10px;align-items:center}
.list-row .creator-cell .avatar{width:32px;height:32px;font-size:13px}
.list-row .creator-cell .meta{display:flex;flex-direction:column}
.list-row .creator-cell .h{font-weight:600;font-size:13px}
.list-row .creator-cell .n{font-size:11px;color:var(--muted)}
.list-row .status-tag{
  font-size:11px;padding:3px 8px;border-radius:6px;font-weight:600;display:inline-block;
}
.tag-interested{background:rgba(124,92,255,.15);color:#a892ff}
.tag-brief{background:rgba(255,184,77,.15);color:var(--warn)}
.tag-responded{background:rgba(61,220,151,.15);color:var(--good)}
.tag-passed{background:var(--panel-3);color:var(--muted)}

/* ===== Utilities ===== */
.row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.overlap-badge{
  display:inline-flex;align-items:center;gap:5px;font-size:11px;
  padding:3px 8px;border-radius:6px;background:rgba(124,92,255,.14);color:#cbbcff;
}
.overlap-badge::before{content:"◐";font-size:10px;line-height:1}
.overlap-badge.high{background:rgba(61,220,151,.10);color:var(--good)}
.overlap-badge.high::before{content:"◉"}
.overlap-badge.low{background:rgba(255,184,77,.10);color:var(--warn)}
.overlap-target{
  display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;
  background:var(--panel-2);border:1px solid var(--border);font-size:12px;
}
.overlap-target .swatch{
  width:22px;height:22px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,#ff6b6b,#3b1d8a);
  display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff;
}
.overlap-target .meta{display:flex;flex-direction:column;line-height:1.2}
.overlap-target .meta b{font-size:12px;color:var(--text)}
.overlap-target .meta span{font-size:10px;color:var(--muted)}
.overlap-target .swap{margin-inline-start:auto;font-size:11px;color:var(--accent);cursor:pointer}

/* ===== Bulk select / agency action bar ===== */
.card-check{
  position:absolute;top:10px;width:22px;height:22px;border-radius:50%;
  border:2px solid var(--panel);background:var(--panel-2);
  box-shadow:0 0 0 1.5px var(--border-light) inset;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:12px;color:#fff;z-index:3;
  transition:background .12s, box-shadow .12s, transform .12s;
}
html:not([dir=rtl]) .card-check{left:10px}
html[dir=rtl] .card-check{right:10px}
.card:hover .card-check{transform:scale(1.08)}
.card:hover .card-check:not(.on){box-shadow:0 0 0 1.5px var(--accent) inset}
.card-check.on{background:var(--accent);box-shadow:0 0 0 2px var(--accent) inset}
.card:has(.card-check) .card-head{padding-inline-start:18px}
.card-check.on{background:var(--accent);border-color:var(--accent)}
.card-check.on::after{content:"✓";font-weight:700}
.card.selected{outline:2px solid var(--accent);outline-offset:-2px}
.bulk-bar{
  position:sticky;bottom:14px;z-index:5;margin:18px 0 8px;
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding:12px 16px;border-radius:12px;
  background:linear-gradient(180deg, rgba(124,92,255,.18), rgba(91,225,196,.10));
  border:1px solid rgba(124,92,255,.45);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  backdrop-filter:blur(6px);
}
.bulk-bar .count-badge{
  font-weight:700;font-size:13px;color:var(--text);
  background:rgba(124,92,255,.20);padding:4px 10px;border-radius:999px;
}
.bulk-bar .sep{color:var(--muted);font-size:12px}
.bulk-bar .actions{display:flex;gap:8px;margin-inline-start:auto;flex-wrap:wrap}
.bulk-bar .actions .btn{font-size:12px;padding:7px 12px}

/* ===== Team avatars stack ===== */
.team-stack{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.team-stack .avatars{display:flex}
.team-stack .avatars .avatar{
  width:24px;height:24px;font-size:10px;border:2px solid var(--panel);margin-inline-start:-6px;
}
.team-stack .avatars .avatar:first-child{margin-inline-start:0}
.row-space-between{display:flex;justify-content:space-between;align-items:center}
.mt-0{margin-top:0}
.mt-4{margin-top:16px}
.mb-0{margin-bottom:0}
.text-center{text-align:center}
.text-muted{color:var(--muted)}
.small{font-size:12px}

/* RTL adjustments */
html[dir=rtl] body{font-family:"Inter","Heebo","Segoe UI",sans-serif}
html[dir=rtl] .brand small{margin-inline-start:6px}

/* ===================================================================
   Tablet (≤ 900px): collapse sidebar nav, soften layouts
   =================================================================== */
@media (max-width:900px){
  .hamburger{display:flex}
  /* Topnav hidden by default; revealed as a drawer below the topbar */
  .topnav{display:none}
  body.mobile-nav-open .topnav{
    display:flex;flex-direction:column;
    position:fixed;top:53px;inset-inline-start:0;inset-inline-end:0;
    background:var(--panel);border-bottom:1px solid var(--border);
    padding:6px 18px 14px;gap:0;font-size:15px;
    z-index:9;
    box-shadow:0 12px 28px rgba(0,0,0,.35);
  }
  body.mobile-nav-open .topnav a{
    padding:14px 0;border-bottom:1px solid var(--border);
    color:var(--text);
  }
  body.mobile-nav-open .topnav a:last-child{border-bottom:0}
  body.mobile-nav-open .topnav a.active{color:var(--accent)}

  .profile-grid{grid-template-columns:1fr}
  .profile-header{padding:22px}
  .profile-header .avatar-lg{width:64px;height:64px;font-size:22px}
  .profile-header h1{font-size:20px}
  .page{padding:24px 20px}
}

/* ===================================================================
   Tablet portrait (≤ 760px): app view stacks, hero compresses
   =================================================================== */
@media (max-width:760px){
  .layout{grid-template-columns:1fr}

  /* "Filters" button visible at the top of results */
  .filter-toggle{display:flex}

  /* Filter sidebar becomes a slide-up bottom sheet. Hidden by default
     (off-screen); revealed when body has .filter-sheet-open. */
  aside.filters{
    position:fixed;bottom:-100%;left:0;right:0;
    background:var(--panel);
    border:0;border-top:1px solid var(--border);
    border-radius:18px 18px 0 0;
    padding:48px 18px 24px;
    max-height:85vh;overflow-y:auto;
    z-index:49;
    transition:bottom .25s ease-out;
    -webkit-overflow-scrolling:touch;
  }
  body.filter-sheet-open aside.filters{bottom:0}

  /* Sheet header label */
  aside.filters::before{
    content:"Filters";
    position:absolute;top:18px;inset-inline-start:18px;
    font-size:14px;font-weight:700;color:var(--text);
  }
  html[dir=rtl] aside.filters::before{content:"סינון"}
  .filter-close{display:flex}

  /* Restore vertical filter groups inside the sheet */
  aside.filters .filter-group{margin-bottom:18px}
  aside.filters .filter-group h4{font-size:11px;margin-bottom:10px}
  aside.filters .chip-row{flex-wrap:wrap;gap:6px}
  aside.filters .chip{font-size:12px;padding:5px 10px}
  aside.filters .check-row{font-size:13px;margin-bottom:8px}
  aside.filters .range input{font-size:13px;padding:8px 10px}

  .hero{padding:48px 20px 36px}
  .hero h1{font-size:30px;line-height:1.15}
  .hero p.lede{font-size:15px;margin-bottom:24px}
  h1{font-size:28px}
  h2{font-size:22px}

  .stats-strip{padding:18px;gap:12px;grid-template-columns:repeat(2,1fr)}
  .stat-block{padding:6px 4px}
  .stat-block .big{font-size:22px}
  .stat-block .lbl{font-size:11px;line-height:1.3}

  .agency-band{padding:24px 20px}
  .cta-strip{padding:28px 20px}
  .quote-card{padding:24px 20px 24px 24px}
  .quote-card blockquote{font-size:15px;padding-inline-start:18px}
  .quote-card .attrib{padding-inline-start:18px}
  .quote-card::before{font-size:54px;inset-inline-start:10px;top:4px}

  .features{gap:14px;padding:36px 0}
  .feature{padding:20px}

  .pricing-grid{margin:24px 0;gap:24px}
  .plan{padding:24px 22px}

  .logos{gap:18px 22px}
  .logo-fake{font-size:15px}
}

/* ===================================================================
   Phone (≤ 600px): tighten every container, hide non-essential chrome
   =================================================================== */
@media (max-width:600px){
  /* ---- Top bar ---- */
  header.topbar{padding:10px 14px;gap:8px}
  .topbar-left{gap:10px}
  .brand{gap:8px;font-size:14px}
  .brand-mark{width:24px;height:24px;border-radius:6px}
  .brand small{display:none}
  .top-actions{gap:6px}
  /* Compact action buttons but keep workspace switcher visible — it's
     the agency-identity cue on app/profile/lists pages. */
  .top-actions .btn{padding:5px 10px;font-size:11px}
  .lang-toggle{padding:2px}
  .lang-toggle button{padding:4px 8px;font-size:11px}

  /* ---- Page container ---- */
  .page{padding:20px 16px}

  /* ---- Hero ---- */
  .hero{padding:32px 16px 28px}
  .hero .eyebrow{font-size:11px;padding:4px 10px;margin-bottom:14px}
  .hero h1{font-size:26px;line-height:1.18;letter-spacing:-0.015em}
  .hero p.lede{font-size:14px;line-height:1.5;margin-bottom:20px}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%;text-align:center}
  .btn-lg{padding:11px 18px;font-size:13px}

  /* ---- Stats / trusted-by ---- */
  .stats-strip{margin:24px 0;padding:14px 12px;gap:8px}
  .stat-block .big{font-size:18px}
  .stat-block .lbl{font-size:10px}
  .trusted-by{padding:28px 16px 8px}
  .trusted-by .label{font-size:10px;margin-bottom:14px}
  .logos{gap:14px 18px}
  .logo-fake{font-size:14px}

  /* ---- Feature cards ---- */
  .features{padding:24px 0;gap:12px}
  .feature{padding:18px}
  .feature h3{font-size:16px}
  .feature p{font-size:13px}

  /* ---- Quote card ---- */
  .quote-card{padding:22px 18px;margin:24px 0}
  .quote-card blockquote{font-size:14px;padding-inline-start:14px;margin-bottom:14px}
  .quote-card::before{font-size:44px;inset-inline-start:6px;top:0}
  .quote-card .attrib{padding-inline-start:14px}

  /* ---- Agency band ---- */
  .agency-band{padding:22px 18px;margin:24px 0}
  .agency-band .agency-grid{gap:16px;margin-top:16px}
  .agency-band .item h4{font-size:13px}
  .agency-band .item p{font-size:12px}

  /* ---- CTA strip ---- */
  .cta-strip{padding:24px 18px;margin:28px 0}
  .cta-strip h2{font-size:20px;line-height:1.2}
  .cta-strip p{font-size:13px}

  /* ---- App view (discovery) ---- */
  main.results{padding:16px 14px}
  .search-bar{flex-direction:column;gap:8px;align-items:stretch;margin-bottom:14px}
  .search-bar input[type=search],.sort-select{width:100%;padding:10px 12px;font-size:13px}
  .results-meta{font-size:12px;flex-direction:column;align-items:flex-start;gap:4px}
  .grid{grid-template-columns:1fr;gap:12px}
  .card{padding:14px}
  .card-head{gap:10px}
  .avatar{width:42px;height:42px;font-size:15px}
  .handle{font-size:14px}
  .bio{font-size:12px}
  .niche-tag,.creds-badge{font-size:10px;padding:3px 7px}
  .stat-cell .value{font-size:13px}
  .stat-cell .label{font-size:9px}

  /* ---- Modal ---- */
  .modal-shade{padding:12px;align-items:flex-end}
  .modal{padding:18px;border-radius:14px 14px 0 0;max-height:88vh}
  .modal h3{font-size:16px}
  .modal p.sub{font-size:12px;margin-bottom:14px}
  .notice{font-size:11px;padding:8px 10px}
  .form-row label{font-size:11px}
  .form-row input,.form-row textarea,.form-row select{font-size:13px;padding:9px 11px}
  .modal-actions{flex-direction:column-reverse;gap:8px}
  .modal-actions .btn{width:100%;text-align:center}

  /* ---- Pricing ---- */
  .pricing-grid{margin:28px 0;gap:28px}
  .plan{padding:22px 20px}
  .plan h3{font-size:14px}
  .plan .price .nis{font-size:32px}
  .plan ul{gap:8px}
  .plan li{font-size:12px}
  .plan-badge{font-size:10px;padding:3px 10px}
  .faq-item{padding:16px 0}
  .faq-item h4{font-size:14px}
  .faq-item p{font-size:13px}

  /* ---- Profile page ---- */
  .profile-header{flex-direction:column;align-items:flex-start;gap:14px;padding:20px}
  .profile-header .avatar-lg{width:56px;height:56px;font-size:20px}
  .profile-header .actions{width:100%;flex-direction:column}
  .profile-header .actions .btn{width:100%;text-align:center}
  .panel{padding:18px;margin-bottom:14px}
  .panel h3{font-size:14px;margin-bottom:10px}
  .kv-row{font-size:12px;padding:7px 0}
  .post-grid{grid-template-columns:repeat(2,1fr);gap:6px}
  .post-thumb{font-size:10px;padding:6px}
  .creds-circle{width:100px;height:100px}
  .creds-circle::before{inset:12px}
  .creds-circle span{font-size:20px}
  .sparkline{height:50px}
  .audience-bar .label-row{font-size:11px}

  /* ---- Lists page: horizontal-scroll the table on phones ---- */
  .list-header h1{font-size:22px}
  .list-tabs{
    overflow-x:auto;flex-wrap:nowrap;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  .list-tabs::-webkit-scrollbar{display:none}
  .list-tab{white-space:nowrap;flex-shrink:0;font-size:13px;padding:8px 12px}
  .list-tab .count{font-size:10px}
  .list-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .list-row{min-width:680px;font-size:12px;padding:12px 14px;gap:10px}
  .list-row.header{font-size:10px}
  .list-row .creator-cell .avatar{width:28px;height:28px;font-size:11px}
  .list-row .creator-cell .h{font-size:12px}
  .list-row .creator-cell .n{font-size:10px}
}

/* ===================================================================
   Tiny phones (≤ 380px): final tightening
   =================================================================== */
@media (max-width:380px){
  .hero h1{font-size:23px}
  .stats-strip{grid-template-columns:1fr 1fr;padding:12px 10px}
  .logos{gap:12px 14px}
  .logo-fake{font-size:13px}
  .topbar-left{gap:8px}
  .brand span{font-size:13px}
  /* Reclaim space for lang toggle on tiny phones */
  .top-actions .btn:not(.btn-primary){display:none}
}
