.snf-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, .42);
  z-index: 999999;
}
.snf-overlay.snf-open{ display:flex; }

.snf-modal{
  width: min(520px, 100%);
  background: var(--snf-bg);
  border: 2px solid var(--snf-brand);
  border-radius: var(--snf-radius);
  box-shadow: 0 26px 60px rgba(0,0,0,.22);
  position: relative;
  padding: 18px 18px 16px;
  overflow: hidden;
}

.snf-close{
  position:absolute; right:10px; top:10px;
  width:44px; height:44px;
  border:0; background:transparent;
  border-radius: 12px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.snf-close span{ font-size: 28px; line-height: 1; color: var(--snf-brand); }
.snf-close:hover{ background: rgba(12,107,78,.08); }

.snf-head{ text-align:center; padding-top: 6px; }
.snf-head-title{
  font-weight: 800;
  color: var(--snf-brand);
  font-size: 20px;
}

.snf-divider{
  display:flex; align-items:center; gap:10px;
  margin: 12px 0 8px;
  justify-content:center;
}
.snf-line{ height:2px; background: var(--snf-brand); width: 36%; opacity: .9; }
.snf-leaf{
  width:22px; height:22px; display:inline-block;
  background: var(--snf-brand);
  -webkit-mask: radial-gradient(circle at 60% 40%, transparent 10px, #000 0) , linear-gradient(#000,#000);
  mask: radial-gradient(circle at 60% 40%, transparent 10px, #000 0) , linear-gradient(#000,#000);
  border-radius: 8px;
  transform: rotate(-12deg);
}
.snf-icon{ width:26px; height:26px; object-fit:contain; }

.snf-hero{ text-align:center; margin-top: 6px; }
.snf-badge{
  font-weight: 900;
  font-size: 34px;
  color: var(--snf-accent);
  letter-spacing: -0.5px;
}
.snf-line2{
  font-weight: 900;
  font-size: 22px;
  color: var(--snf-accent);
  margin-top: 2px;
}
.snf-line3{
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  color: var(--snf-brand);
  margin-top: 2px;
}

.snf-min{
  margin: 10px auto 0;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12,107,78,.08);
  color: var(--snf-brand);
  font-weight: 800;
  font-size: 12px;
}

.snf-desc{
  margin-top: 12px;
  color: #374151;
  text-align:center;
  font-size: 15px;
}

.snf-form{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.snf-input{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 15px;
  outline: none;
}
.snf-input:focus{
  border-color: rgba(12,107,78,.6);
  box-shadow: 0 0 0 4px rgba(12,107,78,.12);
}

.snf-privacy{
  display:flex; gap:10px; align-items:flex-start;
  font-size: 13px; color:#374151;
  user-select:none;
}
.snf-privacy input{ margin-top: 3px; }
.snf-privacy a{ color: var(--snf-brand); font-weight: 800; text-decoration: none; }
.snf-privacy a:hover{ text-decoration: underline; }

.snf-btn{
  width:100%;
  border:0;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 16px;
  cursor:pointer;
  color:#fff;
  background: var(--snf-brand);
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.snf-btn:hover{ filter: brightness(.95); }
.snf-btn.loading{ opacity:.85; cursor: wait; }
.snf-spinner{
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  display:none;
  animation: snfspin .8s linear infinite;
}
.snf-btn.loading .snf-spinner{ display:inline-block; }

@keyframes snfspin { to { transform: rotate(360deg);} }

.snf-msg{
  min-height: 18px;
  font-size: 13px;
  text-align:center;
}
.snf-msg.ok{ color: #166534; font-weight:800; }
.snf-msg.err{ color: #b91c1c; font-weight:800; }

@media (max-width: 480px){
  .snf-modal{ padding: 16px 14px 14px; }
  .snf-badge{ font-size: 30px; }
  .snf-line2, .snf-line3{ font-size: 18px; }
  .snf-desc{ font-size: 14px; }
}
