/* Gate UI CSS (extracted by webpack to dist/gate.css or dist/gate.[hash].css) */

/* Reveal full article without page refresh after successful HubSpot submit */
.si-gated-full-content{ display:none; }
body.si-gate-unlocked .si-gated-full-content{ display:block; }
body.si-gate-unlocked .si-preview,
body.si-gate-unlocked .si-paywall{ display:none !important; }

#si-react-root { margin: 24px 0; }

.si-preview{
  position: relative;
  margin: 24px 0;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  background:#fff;
  overflow: hidden;
}
.si-preview-prose p{ margin: 0 0 12px; line-height: 1.7; color:#0f172a; }
.si-fade{
  pointer-events:none;
  position:absolute;
  left:0; right:0; bottom:0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.si-card{
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.si-title{ font-size: 18px; font-weight: 700; color:#0f172a; }
.si-subtitle{ margin-top: 4px; font-size: 13px; color:#475569; line-height: 1.4; }

.si-form{ margin-top: 14px; display:flex; flex-direction:column; gap:10px; }
.si-label{ font-size: 13px; font-weight: 600; color:#334155; }
.si-input{
  width:100%;
  border:1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.si-input:focus{ border-color:#94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.35); }
.si-hint{ font-size: 12px; color:#64748b; margin-top:-4px; }
.si-error{ color:#b91c1c; font-size:12px; }

.si-actions{ display:flex; gap:10px; justify-content:space-between; margin-top:6px; }
.si-button{
  border:0; border-radius: 12px;
  padding: 10px 14px;
  background:#0f172a; color:#fff;
  font-weight: 700;
  cursor:pointer;
  font-size: 14px;
}
.si-button:disabled{ opacity:.6; cursor:not-allowed; }
.si-button--ghost{ background:transparent; color:#0f172a; border:1px solid #cbd5e1; }

.si-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width: 640px){ .si-grid{ grid-template-columns:1fr; } }

.si-paywall{margin-top:16px;}

.si-freebox{
  margin: 24px 0;
  border: 1px dashed #cbd5e1;
  background:#f8fafc;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  color:#334155;
}

.si-country-field{ position:relative; }
.si-country-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:46px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  border-color:#d7dee8;
  border-radius:14px;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
  transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.si-country-trigger:hover{
  border-color:#aab6c5;
  background:#fbfdff;
}
.si-country-trigger:focus{
  border-color:#64748b;
  box-shadow:0 0 0 4px rgba(100,116,139,.14);
}
.si-country-selected,
.si-country-option{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.si-country-selected span:last-child,
.si-country-option span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.si-country-chevron{
  flex:0 0 auto;
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#f8fafc;
  color:#334155;
  line-height:1;
  transition:transform .15s ease, background-color .15s ease;
}
.si-country-trigger[aria-expanded="true"] .si-country-chevron{
  transform:rotate(180deg);
}
.si-country-chevron-icon{
  width:16px;
  height:16px;
  display:block;
}
.si-country-flag{
  width:24px !important;
  height:18px !important;
  border-radius:4px;
  box-shadow:0 0 0 1px rgba(15,23,42,.10);
  flex:0 0 auto;
  object-fit:cover;
}
.si-country-menu{
  position:absolute;
  z-index:9999;
  left:0;
  right:0;
  top:calc(100% + 8px);
  max-height:280px;
  overflow:hidden;
  border:1px solid #d7dee8;
  border-radius:16px;
  background:#fff;
  box-shadow:0 18px 45px rgba(15,23,42,.16);
  padding:6px;
}
.si-country-menu-inner{
  max-height:268px;
  overflow:auto;
  padding:2px;
}
.si-country-menu-inner::-webkit-scrollbar{ width:8px; }
.si-country-menu-inner::-webkit-scrollbar-thumb{ background:#cbd5e1; border-radius:999px; }
.si-country-menu-inner::-webkit-scrollbar-track{ background:transparent; }
.si-country-option{
  width:100%;
  border:0;
  background:transparent;
  padding:11px 12px;
  border-radius:12px;
  font-size:14px;
  line-height:1.25;
  text-align:left;
  cursor:pointer;
  color:#0f172a;
  transition:background-color .12s ease, color .12s ease;
}
.si-country-option:hover{
  background:#f8fafc;
}
.si-country-option[aria-selected="true"]{
  background:#e8eef6;
  color:#0f172a;
  font-weight:700;
}

/* v4.4.17 country dropdown clean reset: protect against theme/global button styles */
#si-react-root .si-country-field,
#si-react-root .si-country-field *{
  box-sizing:border-box;
}

#si-react-root .si-country-trigger{
  appearance:none !important;
  -webkit-appearance:none !important;
  background:#ffffff !important;
  color:#0f172a !important;
  border:1px solid #d7dee8 !important;
  border-radius:14px !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
}

#si-react-root .si-country-trigger:hover{
  background:#fbfdff !important;
  border-color:#aab6c5 !important;
}

#si-react-root .si-country-trigger:focus{
  background:#ffffff !important;
  border-color:#2563eb !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.10) !important;
}

#si-react-root .si-country-menu{
  background:#ffffff !important;
  border:1px solid #e2e8f0 !important;
  border-radius:16px !important;
  box-shadow:0 18px 45px rgba(15,23,42,.14) !important;
}

#si-react-root .si-country-option,
#si-react-root .si-country-option:hover,
#si-react-root .si-country-option:focus,
#si-react-root .si-country-option:active{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  min-height:42px !important;
  margin:0 !important;
  padding:10px 12px !important;
  border:0 !important;
  border-radius:12px !important;
  box-shadow:none !important;
  background:transparent !important;
  color:#0f172a !important;
  font:inherit !important;
  font-size:14px !important;
  line-height:1.25 !important;
  text-align:left !important;
  text-decoration:none !important;
  text-transform:none !important;
  cursor:pointer !important;
}

#si-react-root .si-country-option:hover,
#si-react-root .si-country-option:focus{
  background:#f8fafc !important;
  color:#0f172a !important;
  outline:none !important;
}

#si-react-root .si-country-option[aria-selected="true"]{
  background:#eef4ff !important;
  color:#0f172a !important;
  font-weight:700 !important;
}

#si-react-root .si-country-option::before,
#si-react-root .si-country-option::after,
#si-react-root .si-country-trigger::before,
#si-react-root .si-country-trigger::after{
  content:none !important;
  display:none !important;
}

/* v4.4.19 Phase 1: TechTarget-style inline content wall */
.si-inline-gate-wrap{
  position:relative;
}

.si-inline-intro{
  margin-bottom:18px;
}

.si-inline-paywall{
  margin:28px 0;
  position:relative;
  z-index:3;
  transition:opacity .28s ease, transform .28s ease, max-height .28s ease, margin .28s ease;
}

.si-paywall-unlocked{
  opacity:0;
  transform:translateY(-8px);
  max-height:0;
  margin:0 !important;
  overflow:hidden;
  pointer-events:none;
}

.si-locked-shell{
  position:relative;
  margin-top:10px;
  overflow:hidden;
}

.si-gated-locked-content{
  filter:blur(5px);
  opacity:.72;
  max-height:620px;
  overflow:hidden;
  pointer-events:none;
  user-select:none;
  transition:filter .32s ease, opacity .32s ease, max-height .45s ease;
}

.si-locked-fade{
  position:absolute;
  z-index:2;
  inset:auto 0 0 0;
  height:260px;
  pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96) 58%, #fff 100%);
  transition:opacity .28s ease;
}

.si-locked-shell.si-is-unlocked .si-locked-fade,
body.si-gate-unlocked .si-locked-fade{
  opacity:0;
}

.si-locked-shell.si-is-unlocked .si-gated-locked-content,
body.si-gate-unlocked .si-gated-locked-content,
.si-gated-locked-content.si-unlocked-content{
  filter:none;
  opacity:1;
  max-height:none;
  pointer-events:auto;
  user-select:auto;
}

/* Disable old preview/full-content behavior when old markup is present */
body.si-gate-unlocked .si-gated-full-content{ display:block; }

#si-react-root{
  max-width:680px;
  margin:0 auto;
}

#si-react-root .si-card{
  border:1px solid #e6eaf0;
  background:rgba(255,255,255,.98);
  border-radius:22px;
  padding:26px;
  box-shadow:0 24px 70px rgba(15,23,42,.12), 0 2px 8px rgba(15,23,42,.06);
}

#si-react-root .si-title{
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.02em;
}

#si-react-root .si-subtitle{
  margin-top:8px;
  font-size:14px;
  color:#64748b;
}

#si-react-root .si-form{
  margin-top:18px;
  gap:12px;
}

#si-react-root .si-input,
#si-react-root .si-country-trigger{
  min-height:50px;
  border-radius:14px !important;
  background:#fff !important;
}

#si-react-root .si-button{
  min-height:50px;
  border-radius:14px;
  background:#0f172a;
  color:#fff;
  transition:transform .15s ease, opacity .15s ease, background-color .15s ease;
}

#si-react-root .si-button:hover:not(:disabled){
  transform:translateY(-1px);
  background:#111827;
}

#si-react-root .si-button--ghost{
  background:#fff;
  color:#0f172a;
}

@media (max-width:640px){
  #si-react-root .si-card{ padding:20px; border-radius:18px; }
  .si-gated-locked-content{ max-height:520px; }
  .si-locked-fade{ height:220px; }
}

