/* /css/signup-band.css (plan 0016). New file: no existing CSS is edited.
   The sign-up band at the bottom of a template page: one sentence and one
   Sign up link. The header Sign up's family (site-bar-2.css): ink fill,
   paper words. Never the accent, never the action blue: blue on these
   pages is only the drawn submit in the example sheet (ADR 0004).
   Template pages only. */

/* Sentence and link in one wrapping row, left-aligned like the rest of
   the page (nothing is centred: memory 2026-11-13). */
.signup-band__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.signup-band__text {
  font-size: var(--text-lg);
  line-height: 1.3;
  font-weight: 700;
}

/* The band's one filled shape. Visible at rest by its fill and words.
   On phones it takes the full width under the sentence. The ink border
   matches the fill, so it adds nothing at rest; in forced-colors mode it
   becomes the visible edge once fills are removed. */
.signup-band__link {
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  justify-content: center;
  min-height: var(--target-min);
  padding-inline: var(--space-3);
  border: var(--border) solid var(--color-ink);
  border-radius: var(--radius);
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: var(--text-lg);
  font-weight: 600;
  text-decoration-line: none;
}

/* Hover and focus only add an underline (memory 2026-11-07): the shape
   already says "press me" at rest. The focus ring is the global
   :focus-visible outline in reset.css; it is not overridden. */
.signup-band__link:hover,
.signup-band__link:focus-visible {
  text-decoration-line: underline;
  text-decoration-thickness: var(--border);
}

/* From tablet up: natural width, beside the sentence when it fits. */
@media (min-width: 40rem) {
  .signup-band__link { flex: 0 0 auto; }
}
