/* 04.12.2026 (v596, дизайнер; Эрик: «меньше текста… только основные фишки и в конце — и другие тулзы») — the «Free / PRO» block on the djgo.pro home page:
   price, one sub-line, four headline features as a "tracklist" (name left, mono tag right), buttons.
   Colours and type are the page's own: lilac #cbbcff (headings, primary pill), lime #e4f222 (PRO),
   green #2fe0a0 (free / live dot), Inter Tight for big type, JetBrains Mono for labels, the deck's diagonal hatch.
   The numbers repeat work/pro-legal/build.py FACTS (monthly, yearly, trial_days) — change them together. */
.pb{margin-top:clamp(64px,9vh,120px);scroll-margin-top:90px}
.pb-head{max-width:820px}
.pb-head .eyebrow{margin-bottom:22px}
.pb-head h2{text-wrap:balance}
.pb-head h2 span{color:#cbbcff}

.pb-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:36px;align-items:stretch}

/* the card: same glass as the download cards (.dl-card), a little roomier */
.pb-card{--acc:#2fe0a0;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;padding:30px 32px 30px;border-radius:26px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));box-shadow:inset 0 1px 0 #ffffff0d}
.pb-card.pro{--acc:#e4f222;border-color:rgba(228,242,34,.4);background:linear-gradient(160deg,rgba(228,242,34,.085),rgba(255,255,255,.02) 58%)}
/* the deck's hatching, in the plan's colour, fading out from the top right corner */
.pb-card::before{content:"";position:absolute;z-index:-1;top:0;right:0;width:62%;height:240px;background:repeating-linear-gradient(-58deg,var(--acc) 0 1.4px,transparent 1.4px 8px);opacity:.13;-webkit-mask-image:radial-gradient(120% 110% at 100% 0,#000 0,transparent 68%);mask-image:radial-gradient(120% 110% at 100% 0,#000 0,transparent 68%);pointer-events:none}
.pb-card.pro::before{opacity:.26}
/* PRO: the lime glow of the highlighted download card */
.pb-card.pro::after{content:"";position:absolute;z-index:-1;inset:auto -20% -62% -20%;height:110%;background:radial-gradient(closest-side,rgba(228,242,34,.13),transparent 70%);pointer-events:none}

/* plan label: mono, like the eyebrows; Free = live green dot, PRO = the lime chip from «PRO tools» */
.pb-k{display:flex;align-items:center;gap:9px;margin:0;min-height:26px;font:500 13px/1 "JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase;color:#d5d8e2}
.pb-k i{width:7px;height:7px;border-radius:50%;background:#2fe0a0;box-shadow:0 0 10px #2fe0a0}
.pb-k b{padding:5px 10px 4px;border-radius:999px;background:#e4f222;color:#101205;font-weight:600;letter-spacing:.1em}

.pb-price{margin:20px 0 0;font-family:"Inter Tight",Arial,Helvetica,sans-serif;font-size:clamp(54px,5vw,72px);line-height:1;font-weight:500;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums}
.pb-price small{font-size:18px;letter-spacing:0;color:#acb0bf;font-weight:400;white-space:nowrap}
.pb-sub{margin:12px 0 0;font-size:16px;line-height:1.45;color:#b9bdcb}

/* one mono caption over the list — «what you get» / «everything in Free, plus» */
.pb-inc{margin:30px 0 0;padding-bottom:12px;font:500 12.5px/1.4 "JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase;color:#9da2b3}
.pb-card.pro .pb-inc{color:#e4f222}

/* the tracklist: name on the left, a short mono tag on the right, hairlines between */
.pb-list{list-style:none;margin:0;padding:0;width:100%}
.pb-list li{display:flex;align-items:center;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;min-height:54px;padding:12px 0;border-top:1px solid rgba(255,255,255,.09)}
.pb-list li:last-child{border-bottom:1px solid rgba(255,255,255,.09)}
.pb-card.pro .pb-list li{border-color:rgba(228,242,34,.14)}
.pb-n{font-family:"Inter Tight",Arial,Helvetica,sans-serif;font-size:19px;line-height:1.25;font-weight:500;letter-spacing:-.005em;color:#f5f5f7}
.pb-t{font:500 13px/1.3 "JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;color:#acb0bf;white-space:nowrap}
.pb-card.pro .pb-t{color:#e4f222}
/* «soon»: honest and quiet */
.pb-list li.pb-soon .pb-n{color:#a4a9b8}
.pb-list li.pb-soon .pb-t{padding:5px 11px 5px;border-radius:999px;border:1px solid rgba(255,255,255,.2);color:#b9bdcb;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
/* «and other tools»: the last row is a link up to the PRO tools section */
.pb-list li.pb-rest{padding:0}
.pb-rest a{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:53px;padding:10px 0;color:#cbbcff;text-decoration:none}
.pb-rest .pb-n{color:inherit}
.pb-rest svg{flex:none;width:30px;height:30px;padding:7px;border-radius:7px;background:#cbbcff12;border:1px solid #cbbcff2e;transition:transform .25s,background .25s}
.pb-rest a:hover{color:#e2d9ff}
.pb-rest a:hover svg{transform:translateY(-2px);background:#cbbcff22}
.pb-rest a:focus-visible,.pb-more:focus-visible{outline:2px solid #cbbcff;outline-offset:3px;border-radius:6px}

.pb-actions{margin-top:auto;padding-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px}
.pb-actions .pill{margin-top:0;flex:0 0 auto}
.pb-more{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:#cbbcff;text-decoration:underline;text-decoration-color:#cbbcff66;text-underline-offset:4px}
.pb-more:hover{color:#e2d9ff;text-decoration-color:currentColor}

@media (max-width:1080px){
  .pb-card{padding:26px 26px 26px}
  .pb-n{font-size:18px}
}
@media (max-width:860px){
  .pb-grid{grid-template-columns:1fr;gap:14px;margin-top:28px}
  .pb-card{padding:24px 22px 24px;border-radius:22px}
  .pb-card::before{height:200px;width:78%}
  .pb-price{margin-top:16px;font-size:54px}
  .pb-inc{margin-top:24px}
  .pb-actions{padding-top:22px}
}
@media (max-width:560px){
  .pb-card{padding:22px 20px 22px}
  .pb-list li{min-height:52px}
  .pb-actions .pill{flex:1 1 100%;justify-content:space-between}
  .pb-actions .pb-more{flex:1 1 100%;justify-content:center}
}
/* very narrow phones: a long button label (ru, de) may take two lines instead of spilling out */
@media (max-width:360px){.pb-actions .pill{white-space:normal;text-align:left;line-height:1.25}}
@media (prefers-reduced-motion:reduce){.pb-rest svg{transition:none}.pb-rest a:hover svg{transform:none}}
