/* GoForge — purchase clarification. Automatic checkout and manual handoff are separate product states. */
.gf-purchase-help[hidden]{display:none}
.gf-purchase-help{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;font-family:var(--font-body);color:var(--ink)}
.gf-purchase-help__backdrop{position:absolute;inset:0;background:rgba(28,25,23,.58);backdrop-filter:blur(3px)}
.gf-purchase-help__dialog{position:relative;width:min(620px,100%);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--line);border-radius:24px;background:var(--white);box-shadow:0 32px 90px rgba(28,25,23,.34)}
.gf-purchase-help__close{position:absolute;right:18px;top:18px;z-index:2;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--ink);font:600 14px/1 var(--font-body);cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease}
.gf-purchase-help__close:hover,.gf-purchase-help__close:focus-visible{border-color:var(--accent);background:var(--tint);color:var(--accent-deep);outline:none}
.gf-purchase-help__head{padding:30px 74px 22px 32px;border-bottom:1px solid var(--line)}
.gf-purchase-help__kicker{margin:0 0 10px;color:var(--accent-deep)}
.gf-purchase-help__title{margin:0;font-family:var(--font-display);font-size:clamp(25px,3vw,32px);font-weight:650;line-height:1.12;letter-spacing:-.025em;color:var(--ink)}
.gf-purchase-help__lead{max-width:52ch;margin:12px 0 0;font-size:15px;line-height:1.62;color:var(--muted)}
.gf-purchase-help__selection{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.gf-purchase-help__product,.gf-purchase-help__license{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid var(--line-warm);border-radius:999px;background:var(--bg);font-size:12.5px;line-height:1.35;color:var(--ink)}
.gf-purchase-help__license:empty{display:none}
.gf-purchase-help__license{border-color:rgba(179,58,30,.2);background:var(--tint);color:var(--accent-deep);font-weight:650}
.gf-purchase-help__body{padding:26px 32px 30px}
.gf-purchase-help__body--form .lead-form{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.gf-purchase-help__body--form .lead-form__edge,.gf-purchase-help__body--form .gf-form__kick,.gf-purchase-help__body--form .h2--form,.gf-purchase-help__body--form .lead-form__lead{display:none}
.gf-purchase-help__body--form .lead-form__fields{margin-top:0}
.gf-purchase-help__body--form .gf-form__submit{width:100%}
.gf-purchase-help__body--contacts .adk-noform{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;gap:0}
.gf-purchase-help__body--contacts .adk-noform::before{display:none}
.gf-purchase-help__body--contacts .adk-noform__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.gf-purchase-help__body--contacts .adk-noform__action{min-height:52px;padding:0 16px;border:1.5px solid var(--line-warm);border-radius:12px;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:14px;font-weight:650;justify-content:center;text-align:center}
.gf-purchase-help__body--contacts .adk-noform__action::after{display:none}
.gf-purchase-help__body--contacts .adk-noform__action:hover,.gf-purchase-help__body--contacts .adk-noform__action:focus-visible{border-color:var(--accent-deep);background:var(--tint);color:var(--accent-deep);outline:none;transform:none}
.gf-purchase-help__body--contacts .adk-noform__action--telegram{border-color:var(--accent-on-light);background:var(--accent-on-light);color:#fff}
.gf-purchase-help__body--contacts .adk-noform__action--telegram:hover,.gf-purchase-help__body--contacts .adk-noform__action--telegram:focus-visible{border-color:var(--accent-deep);background:var(--accent-deep);color:#fff}
.gf-purchase-help__contact-page{width:100%;justify-content:center}
html.gf-purchase-help-open{overflow:hidden}

.gf-manual-buy{display:grid;gap:16px}
.gf-manual-buy__licenses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gf-manual-buy__license{display:grid;gap:5px;padding:14px 16px;border:1.5px solid var(--line-warm);border-radius:12px;background:var(--bg)}
.gf-manual-buy__name{font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.gf-manual-buy__price{font-family:var(--font-display);font-size:18px;font-weight:650;color:var(--ink)}
.gf-manual-buy__note{font-size:12.5px;line-height:1.5;color:var(--muted)}
.gf-manual-buy__notice{margin:0;font-size:13.5px;line-height:1.55;color:var(--muted)}
.gf-manual-buy__actions{display:flex;gap:12px}
.gf-manual-buy__actions>.btn{flex:1 1 0;min-width:0;justify-content:center;text-align:center}

@media(max-width:579px){
  .gf-purchase-help{align-items:end;padding:0}
  .gf-purchase-help__dialog{width:100%;max-height:94dvh;border-radius:22px 22px 0 0;border-bottom:0}
  .gf-purchase-help__head{padding:26px 64px 20px 22px}
  .gf-purchase-help__body{padding:22px}
  .gf-purchase-help__body--contacts .adk-noform__links{grid-template-columns:1fr}
  .gf-purchase-help__body--contacts .adk-noform__action{width:100%}
  .gf-manual-buy__licenses{grid-template-columns:1fr}
  .gf-manual-buy__actions{flex-direction:column}
}
