/* ===== Tabb comparison pages — builds on blog.css design system ===== */

/* hero: dual app cards + vs badge */
.cmp-head{padding:48px 0 14px}
.cmp-kicker{display:inline-flex;align-items:center;gap:9px;padding:7px 15px;border-radius:100px;border:1px solid var(--line-2);
  background:rgba(255,255,255,.03);font-size:13px;font-weight:600;color:var(--txt-dim);margin-bottom:22px}
.cmp-kicker .dot{width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 3px rgba(46,201,189,.2)}
.cmp-head h1{font-size:clamp(34px,5.4vw,58px);line-height:1.06;margin-bottom:18px;max-width:18ch}
.cmp-head .dek{font-size:clamp(17px,2vw,20px);color:var(--txt-dim);max-width:60ch;margin-bottom:14px}
.cmp-meta{display:flex;align-items:center;gap:14px;color:var(--txt-faint);font-size:14px;font-weight:500}
.cmp-meta .sep{width:4px;height:4px;border-radius:50%;background:var(--txt-faint)}

.versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;margin:40px 0 8px}
.vs-card{display:flex;flex-direction:column;align-items:center;gap:13px;padding:30px 22px;border-radius:var(--r-lg);
  border:1px solid var(--line);background:linear-gradient(180deg,var(--panel),var(--ink-2));text-align:center}
.vs-card.is-tabb{border-color:rgba(255,107,107,.4);
  background:radial-gradient(120% 130% at 50% 0%,rgba(255,107,107,.14),transparent 60%),linear-gradient(180deg,var(--panel),var(--ink-2))}
.vs-card img{width:76px;height:76px;border-radius:18px;box-shadow:0 12px 30px rgba(0,0,0,.5)}
.vs-card .nm{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:21px;letter-spacing:-.01em}
.vs-card .role{font-size:13.5px;color:var(--txt-faint);line-height:1.4;max-width:24ch}
.vs-badge{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-family:"Bricolage Grotesque",sans-serif;
  font-weight:800;font-size:17px;color:var(--ink);background:linear-gradient(135deg,var(--coral),var(--teal));box-shadow:0 10px 26px rgba(0,0,0,.45)}

/* verdict: who should pick what */
.verdict{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:14px 0 8px}
.verdict-card{padding:24px 24px 26px;border-radius:var(--r-md);border:1px solid var(--line-2);background:linear-gradient(180deg,var(--panel),var(--ink-2))}
.verdict-card.is-tabb{background:linear-gradient(180deg,rgba(255,107,107,.10),var(--ink-2))}
.verdict-card .vh{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:15px;letter-spacing:.02em;margin-bottom:10px;display:flex;align-items:center;gap:9px}
.verdict-card .vh .pin{font-size:18px}
.verdict-card p{font-size:15.5px;color:var(--txt-dim);margin:0}
.verdict-lede{border-left:3px solid var(--teal);padding:8px 0 8px 22px;margin:30px 0 8px;font-size:19px;color:var(--txt);font-style:italic}

/* comparison table */
.cmp-table-wrap{margin:30px 0;border-radius:var(--r-md);border:1px solid var(--line);overflow:hidden}
.cmp-table{width:100%;border-collapse:collapse;font-size:15.5px}
.cmp-table th,.cmp-table td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.cmp-table thead th{background:rgba(255,255,255,.03);font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:15px;color:var(--txt)}
.cmp-table thead th.col-tabb{color:var(--coral)}
.cmp-table tbody tr:last-child td{border-bottom:none}
.cmp-table td.feat{color:var(--txt-dim);font-weight:600;width:34%}
.cmp-table td.col-tabb{background:rgba(255,107,107,.05);color:var(--txt);font-weight:600}
.cmp-table td.col-comp{color:var(--txt-dim)}
.cmp-table .ck{color:var(--teal);font-weight:700;margin-right:6px}
.cmp-table .xk{color:var(--txt-faint);margin-right:6px}

/* side-by-side screenshots */
.shots{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:30px 0}
.shots .col{padding:22px;border-radius:var(--r-lg);border:1px solid var(--line);background:linear-gradient(180deg,var(--panel),var(--ink-2))}
.shots .col.is-tabb{border-color:rgba(255,107,107,.32)}
.shots .col h4{font-family:"Bricolage Grotesque",sans-serif;font-size:16px;font-weight:700;margin-bottom:16px;display:flex;align-items:center;gap:10px}
.shots .col h4 img{width:30px;height:30px;border-radius:8px}
.shots .row{display:flex;gap:11px;overflow:hidden}
.shots .row img{width:100%;border-radius:13px;border:1px solid var(--line-2);box-shadow:0 12px 30px rgba(0,0,0,.4)}
.shots .iconwrap{display:grid;place-items:center;padding:30px 0}
.shots .iconwrap img{width:96px;height:96px;border-radius:22px;box-shadow:0 16px 38px rgba(0,0,0,.5)}
.shots .note{font-size:13px;color:var(--txt-faint);margin-top:14px;text-align:center}

/* pricing cards */
.pricing{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0}
.price-card{padding:26px 24px;border-radius:var(--r-md);border:1px solid var(--line-2);background:linear-gradient(180deg,var(--panel),var(--ink-2))}
.price-card.is-tabb{background:radial-gradient(120% 130% at 50% 0%,rgba(255,107,107,.12),transparent 60%),linear-gradient(180deg,var(--panel),var(--ink-2))}
.price-card .pname{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:18px;display:flex;align-items:center;gap:10px;margin-bottom:14px}
.price-card .pname img{width:30px;height:30px;border-radius:8px}
.price-card .ptier{font-size:14px;color:var(--txt-faint);margin-bottom:4px}
.price-card .pamt{font-family:"Bricolage Grotesque",sans-serif;font-size:24px;font-weight:700;color:var(--txt);margin-bottom:14px}
.price-card ul{list-style:none;display:flex;flex-direction:column;gap:8px;font-size:14.5px;color:var(--txt-dim)}
.price-card li{display:flex;gap:9px;align-items:flex-start}
.price-card li::before{content:"";flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:var(--teal);margin-top:8px}

/* pros / cons */
.proscons{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0}
.pc-card{padding:22px 24px;border-radius:var(--r-md);border:1px solid var(--line);background:linear-gradient(180deg,var(--panel),var(--ink-2))}
.pc-card h4{font-family:"Bricolage Grotesque",sans-serif;font-size:16px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:9px}
.pc-card ul{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14.5px;color:var(--txt-dim)}
.pc-card li{display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.pc-card .pro::before{content:"+";color:var(--teal);font-weight:800;flex:0 0 auto}
.pc-card .con::before{content:"\2013";color:var(--coral);font-weight:800;flex:0 0 auto}

/* FAQ (rendered by builder) */
.cmp-faq{margin:38px 0 0;max-width:760px}
.cmp-faq h2{font-family:"Bricolage Grotesque",sans-serif;font-size:27px;font-weight:700;margin-bottom:6px}
.faq-item{border-bottom:1px solid var(--line);padding:20px 0}
.faq-item:last-child{border-bottom:none}
.faq-item h3{font-family:"Bricolage Grotesque",sans-serif;font-size:18px;font-weight:600;margin-bottom:9px;color:var(--txt)}
.faq-item p{font-size:15.5px;color:var(--txt-dim);margin:0}

/* section headings inside compare prose */
.cmp-body{max-width:840px}
.cmp-body h2{font-family:"Bricolage Grotesque",sans-serif;color:var(--txt);font-size:28px;font-weight:700;letter-spacing:-.01em;margin:46px 0 14px;line-height:1.18}
.cmp-body h3{font-family:"Bricolage Grotesque",sans-serif;color:var(--txt);font-size:20px;font-weight:600;margin:30px 0 10px}
.cmp-body p{font-size:17px;color:#d8d8e2;margin-bottom:18px;line-height:1.7}
.cmp-body ul{margin:0 0 20px 22px;display:flex;flex-direction:column;gap:9px;color:#d8d8e2;font-size:17px}
.cmp-body strong{color:var(--txt);font-weight:700}
.cmp-body a{color:var(--coral);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,107,107,.4)}
.cmp-body a:hover{text-decoration-color:var(--coral)}

/* compare index grid */
.cmp-index{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;padding:40px 0 100px}
.cmp-tile{display:flex;align-items:center;gap:18px;padding:24px;border-radius:var(--r-lg);border:1px solid var(--line);
  background:linear-gradient(180deg,var(--panel),var(--ink-2));transition:transform .35s var(--ease),border-color .35s}
.cmp-tile:hover{transform:translateY(-4px);border-color:var(--line-2)}
.cmp-tile .icons{display:flex;align-items:center;flex:0 0 auto}
.cmp-tile .icons img{width:50px;height:50px;min-width:50px;max-width:50px;flex:none;object-fit:cover;border-radius:13px;box-shadow:0 8px 20px rgba(0,0,0,.45)}
.cmp-tile .icons img:last-child{margin-left:-14px}
.cmp-tile .ct{min-width:0;flex:1}
.cmp-tile .ct h2{font-family:"Bricolage Grotesque",sans-serif;font-size:19px;font-weight:700;letter-spacing:-.01em;margin-bottom:5px}
.cmp-tile .ct p{font-size:14px;color:var(--txt-dim)}

@media(max-width:760px){
  .versus{grid-template-columns:1fr;gap:12px}
  .vs-badge{margin:0 auto;width:46px;height:46px}
  .verdict,.shots,.pricing,.proscons,.cmp-index{grid-template-columns:1fr}
  .cmp-table td.feat{width:42%}
}

/* glance heading (was inline) + sibling cross-links */
.cmp-glance-h{font-size:28px;margin:46px 0 14px}
.cmp-siblings{margin:38px 0 0;max-width:840px}
.cmp-siblings h2{font-family:"Bricolage Grotesque",sans-serif;font-size:20px;font-weight:700;margin-bottom:16px}
.sib-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.sib-tile{display:flex;align-items:center;gap:11px;padding:13px 15px;border-radius:14px;border:1px solid var(--line);
  background:linear-gradient(180deg,var(--panel),var(--ink-2));font-size:14.5px;font-weight:600;color:var(--txt-dim);
  transition:border-color .3s,transform .3s,color .3s}
.sib-tile:hover{border-color:var(--line-2);transform:translateY(-2px);color:var(--txt)}
.sib-tile img{width:34px;height:34px;border-radius:9px;flex:0 0 auto}
@media(max-width:760px){.sib-grid{grid-template-columns:1fr}}

/* ===== sticky download bar (ported from homepage) ===== */
.dlbar{position:fixed;left:0;right:0;bottom:0;z-index:60;transform:translateY(130%);transition:transform .5s var(--ease);
  background:rgba(13,13,20,.78);backdrop-filter:saturate(160%) blur(18px);border-top:1px solid var(--line-2);box-shadow:0 -10px 40px rgba(0,0,0,.4)}
.dlbar.show{transform:none}
.dlbar .dl-in{max-width:var(--maxw);margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.dlbar .dl-l{display:flex;align-items:center;gap:14px;min-width:0}
.dlbar .dl-l img{width:46px;height:46px;border-radius:12px;flex:0 0 auto;box-shadow:0 4px 14px rgba(0,0,0,.5)}
.dlbar .dl-t{min-width:0;line-height:1.25}
.dlbar .dl-t b{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:16.5px;letter-spacing:-.01em;display:block}
.dlbar .dl-t span{font-size:13px;color:var(--txt-dim)}
.dlbar .dl-t span .free{color:var(--teal);font-weight:700}
.dlbar .appstore{padding:11px 18px 11px 16px;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.dlbar .appstore svg{width:26px;height:26px}
.dlbar .appstore .as-txt strong{font-size:17px}
@media(max-width:600px){
  .dlbar .dl-in{padding:10px 16px;gap:12px}
  .dlbar .dl-l img{width:42px;height:42px}
  .dlbar .dl-t b{font-size:15px}
  .dlbar .dl-t span{font-size:12px}
  .dlbar .appstore{padding:10px 15px 10px 14px}
  .dlbar .appstore .as-txt small{display:none}
  .dlbar .appstore .as-txt strong{font-size:15px}
}
@media(max-width:380px){ .dlbar .dl-t span{display:none} }
