/* The SUBSCRIBE element. One hairline carries BOTH the email field and its
 * quiet submit: the field is chromeless, the shared row underline IS the
 * affordance, and focus raises the hairline to full ink. */
.sk-el-subscribe {
  display: flex;
  flex-direction: column;
  gap: var(--kit-space-2);
  /* Wide enough that a placeholder + SUBSCRIBE pair never crushes; the
   * zone's own wrap handles narrow bands. */
  min-width: min(26ch, 100%);
}
.sk-el-subscribe-row {
  display: flex;
  align-items: baseline;
  gap: var(--kit-space-3);
  padding-bottom: 0.55em;
  border-bottom: var(--sk-border-width-min) solid var(--sk-stroke);
  transition: border-color 140ms ease;
}
.sk-el-subscribe-row:focus-within {
  border-color: var(--sk-ink);
}
.sk-el-subscribe-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: var(--sk-text-nav-size);
  color: var(--sk-ink);
}
.sk-el-subscribe-input::placeholder {
  color: var(--sk-ink-muted);
}
/* focus-ring-exempt: the row underline is the field's focus paint. */
.sk-el-subscribe-input:focus-visible {
  --sk-focus-ring-width: 0;
}
.sk-el-subscribe-btn {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  /* The eyebrow detail voice — the register sitemap headings speak. */
  font-family: inherit;
  font-size: var(--sk-text-detail-size);
  font-weight: var(--kit-weight-eyebrow);
  letter-spacing: calc(var(--kit-track-eyebrow) * 1em);
  text-transform: uppercase;
  color: var(--sk-ink-muted);
  transition: color 140ms ease;
}
.sk-el-subscribe-btn:hover {
  color: var(--sk-ink);
}

.sk-el-subscribe-status {
  margin: 0;
  /* Footer lanes size to content, so a long error would push the band wider.
     * width:0 zeroes its intrinsic contribution; min-width:100% then fills the
     * width the row decided, so the message wraps under it. */
  width: 0;
  min-width: 100%;
  font-size: var(--sk-text-detail-size);
  color: var(--sk-ink-muted);
}

/* The outcome's POSTURES for the subscribe element: the form part paints and arranges the row,
 * and this scopes the text box and the `above` layout to this form. */
.sk-el-subscribe .sk-form-success-text {
  margin: 0;
  max-width: var(--sk-measure);
}
.sk-el-subscribe .sk-form-success[data-layout="above"] {
  flex-direction: column;
  gap: var(--kit-space-1);
  padding: var(--kit-space-3) 1rem;
}
.sk-el-subscribe .sk-form-success[data-layout="above"] .sk-form-success-icon {
  width: calc(var(--sk-icon-size) * 1.8);
  height: calc(var(--sk-icon-size) * 1.8);
  margin-top: 0;
}
.sk-el-subscribe .sk-form-error-text {
  margin: 0;
  max-width: var(--sk-measure);
}
.sk-el-subscribe .sk-form-error[data-layout="above"] {
  flex-direction: column;
  gap: var(--kit-space-1);
  padding: var(--kit-space-3) 1rem;
}
.sk-el-subscribe .sk-form-error[data-layout="above"] .sk-form-error-icon {
  width: calc(var(--sk-icon-size) * 1.8);
  height: calc(var(--sk-icon-size) * 1.8);
  margin-top: 0;
}
