/* Buttons and the last see-through panels on the dark site, from brand guide 4.1 chapters 4.1 and 4.2 (Tamás, meeting of 2026-11-19).
 * Primary: tonal lilac 135deg, night values. Accent: tonal teal, at most one accent next to one lilac per view.
 * Every button is a pill with a white label of weight 600 and a light top edge. The ?arculat=4-1 preview keeps its own rules. */
:root:not(.arculat-41){
  --cf-grad:linear-gradient(135deg,#6c4f99,#8463c6);
  --cf-grad-tl:linear-gradient(135deg,#136f81,#217f92);
}
:root:not(.arculat-41) :is(.btn-main,.nav-cta,.actions .primary,.mobile-menu-cta,.mobile-cta-btn,.plan.hot .plan-btn,.btn-pk,.btn-white){
  border-radius:999px;font-weight:600;animation:none;
}
/* Lilac with a very faint pink glow */
:root:not(.arculat-41) :is(.btn-main,.nav-cta,.actions .primary,.mobile-menu-cta,.mobile-cta-btn,.plan.hot .plan-btn){
  background:var(--cf-grad);color:#fff;border:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 6px 24px rgba(236,72,153,.16);
}
:root:not(.arculat-41) :is(.btn-main,.nav-cta,.actions .primary,.mobile-menu-cta,.mobile-cta-btn,.plan.hot .plan-btn):hover{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 8px 28px rgba(236,72,153,.22);filter:brightness(1.06);
}
/* Teal accent: fainter glow than the lilac one */
:root:not(.arculat-41) .btn-pk{
  background:var(--cf-grad-tl);color:#fff;border:0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 4px 16px rgba(30,150,174,.12);
}
:root:not(.arculat-41) .btn-pk:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 6px 20px rgba(30,150,174,.18);filter:brightness(1.06);}
/* Secondary: glass, white 6 %, 1 px white 14 % line, cream label */
:root:not(.arculat-41) :is(.btn-sec,.actions .secondary,.plan-btn:not(.plan.hot .plan-btn)){
  border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:#F7F6F2;font-weight:600;
}
:root:not(.arculat-41) :is(.btn-sec,.actions .secondary,.plan-btn:not(.plan.hot .plan-btn)):hover{background:rgba(255,255,255,.1);border-color:#9A7FD0;color:#fff;}

/* Panels that still let the dot layer show through: the same glass as the cards and the footer (60 % fill, no blur) */
:root:not([data-theme="light"]):not(.arculat-41) :is(body.home,body.page-template-page-mi-a-shophub) :is(.logo-slide,.tool-choice,.tool-detail){
  background:rgba(20,10,35,.60);border-color:rgba(255,255,255,.06);
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
:root:not([data-theme="light"]):not(.arculat-41) :is(body.home,body.page-template-page-mi-a-shophub) .tool-choice[aria-pressed=true]{
  background:linear-gradient(rgba(154,127,208,.16),rgba(154,127,208,.16)),rgba(20,10,35,.60);border-color:#9a7fd0;
}

/* Agent portraits are cropped at the waist: they fade out at the bottom instead of ending on a hard line (Tamás, 2026-11-19).
 * The round gallery faces (.team-portrait) are cut by their circle, so they keep their full image. */
:is(.avatar-player,.tool-character) img{
  -webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);
}

/* ═══ Unification, round 1 (audit of 2026-11-19) ═══ */
/* One glass for every card on every page, the same as the footer: 60 % fill, no blur, 1 px white 6 % line. */
:root:not([data-theme="light"]):not(.arculat-41) :is(.logo-slide,.shc-vft-band){
  background:rgba(20,10,35,.60);border:1px solid rgba(255,255,255,.06);
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
/* The eight feature cards slide over each other while scrolling, so they get the footer glass flattened onto the page colour, without the see-through. */
:root:not([data-theme="light"]):not(.arculat-41) :is(body.home,body.page-template-page-mi-a-shophub) .stack-card{background:#170d28;border-color:rgba(255,255,255,.06);}
/* Hover keeps the fill; only the line gets lighter, so a card never looks different from its neighbours. */
:root:not([data-theme="light"]):not(.arculat-41) :is(.gc,.faq-item,.team-card,.tc,.plan,.prob-card,.fw-card,.expert-card,.cta-wrap,.logo-slide,.shc-vft-band,:is(body.home,body.page-template-page-mi-a-shophub) .tool-choice):hover{
  background-color:rgba(20,10,35,.60);border-color:rgba(255,255,255,.24);
}
:root:not([data-theme="light"]):not(.arculat-41) :is(body.home,body.page-template-page-mi-a-shophub) .stack-card:hover{background:#170d28;border-color:rgba(255,255,255,.24);}

/* Heading scale: section titles 46/800 like .sec-h2, titles inside a card 28/800. */
:root:not(.arculat-41) .showcase-section h2{font-size:clamp(30px,3.5vw,46px);font-weight:800;letter-spacing:-.04em;line-height:1.08;}
:root:not(.arculat-41) :is(.wave-h2,.op-h,.contact-form-h,.cta-wrap h2,.gc h2:not(.sec-h2)){font-size:clamp(22px,2.4vw,28px);font-weight:800;}

/* Card text at least 15 px, as on the home page cards. */
:root:not(.arculat-41) :is(.step-p,.shc-names,.proof-motors){font-size:15px;}

/* ═══ Unification, round 2 ═══ */
/* Split cards (Egy szint, Mi történik): the right half is part of the same glass, not a lighter teal panel. */
:root:not([data-theme="light"]):not(.arculat-41) .wave-right{background:none;}
/* Closing call-to-action cards fill the column like the other blocks. */
:root:not(.arculat-41) .op-zaro{max-width:none;}
/* Label floor: nothing visible below 12 px (owner's card on minimum font sizes). */
body :is(.hero-tag>span,.hero-badges>span,.dash-url-mobile,.dash-pelda,.dm-ttl,.kpi-l,.kpi-d,.speech p strong,.speech p span,.pelda-tag,.sz-bub b,.pkg-badge,.ft-face.shc-mono,.shc-face-xs.shc-mono,.ft-col h4,.team-badge,.shc-chip-becsult,.nav-free,.ds-expert-btn,.tool-chips>span,.bento-beta,.shc-pelda-tag,[data-dashboard-demo] button.ds-item,.tick-logo,.act-ttl,.fi-badge,.cf-hint,.dash-beta){font-size:12px!important;}
/* Body floor: sentences at least 15 px (same card). Tags, kickers, names and roles stay on the 12 px label floor. */
body :is(.hero-copy .micro,.two-path-desc-guide,.two-path-effort,.logo-slide-desc,.cta-guarantee-sub,.wave-fine,.notus-fine,.example-note,.wave-security-row,.speech p,.wb-doboz,.wb-ajandek,.wb-minta-szoveg,.cf-checkbox>span,.agent-chain-step,.wb-figyeli>span:not(.shc-faces)){font-size:15px!important;}
@media (min-width:561px){.sh-wbar{font-size:15px;}}
