/* Подписка — design/Site Blog.dc.html, секция «Subscribe» */
.sub { position: relative; overflow: hidden; padding: 1px; border-radius: 18px; background: var(--line); }
.sub-in { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 32px; align-items: center; padding: 26px 28px; border-radius: 17px; background: #fff; }
.sub-in > :not(.spot-glow) { position: relative; }
.sub-head { display: flex; gap: 16px; align-items: flex-start; }
.sub-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; }
.sub-title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.sub-text { margin-top: 6px; color: var(--ink-3); font-size: 15px; line-height: 1.5; }
.sub-form-col { display: flex; flex-direction: column; gap: 10px; }
.sub-form { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; transition: border-color .2s; }
.sub-form:focus-within { border-color: var(--accent); }
.sub-form.is-bad { border-color: var(--danger); }
.sub-form[hidden] { display: none; }
.sub-input { flex: 1; min-width: 0; padding: 6px 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.sub-btn { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.sub-btn:hover { background: var(--accent); }
.sub-err { font-size: 13px; color: var(--danger); }
.sub-done { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: oklch(0.55 0.15 150 / .12); color: var(--ok); font-size: 14.5px; animation: rw-in .4s both; }
.sub-done[hidden], .sub-err[hidden] { display: none; }
@media (max-width: 720px) {
  .sub-head { flex-direction: column; gap: 14px; }
  .sub-form { flex-wrap: wrap; padding: 10px; border-radius: 18px; }
  .sub-input { flex: 1 1 100%; padding: 10px 12px; }
  .sub-btn { flex: 1 1 100%; justify-content: center; }
}
/* вариант главной — design/Site Home.dc.html: заголовок 17px, серый текст, чипсы тем, иконка в поле, стрелка и блик на кнопке */
.sub-home .sub-title { font-size: 17px; letter-spacing: -.01em; }
.sub-home .sub-text { margin-top: 4px; font-size: 14px; color: var(--muted); }
.sub-chips { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.sub-chips span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--ink-3); }
.sub-home .sub-form { gap: 6px; }
.sub-field-ico { flex: none; color: var(--muted); }
.sub-home .sub-input { padding: 8px 6px; font-size: 14.5px; }
.sub-home .sub-btn { position: relative; overflow: hidden; font-size: 14px; }
.sub-sheen { position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, #fff0, oklch(1 0 0 / .3), #fff0); animation: rw-sheen 3.6s ease-in-out 2s infinite; pointer-events: none; }
.sub-small { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 11.5px; color: var(--muted); }
.sub-small span[aria-hidden] { color: oklch(0.8 0.008 80); }
@media (prefers-reduced-motion: reduce) { .sub-sheen { animation: none; display: none; } }
@media (max-width: 720px) { .sub-field-ico { display: none; } .sub-home .sub-input { padding: 10px 12px; } }
