/* Standwell's own promo badges (CHANGELOG 124). Marketing pages, the Desk and Put my site online only;
   never on owner shops. Real text, every claim checked against the code and the Privacy Policy. */
.sw-badge {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  max-width: 100%;
  margin: 0;
  padding: 0.7rem 1.1rem;
  color: #ffffff;
  font: 400 0.9rem/1.3 "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.sw-badge strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.sw-badge span { display: block; }
.sw-badge a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Shapes */
.sw-badge--rect { border-radius: 6px; border-left: 6px solid rgba(255, 255, 255, 0.55); }
.sw-badge--oval {
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  text-align: center;
  align-items: center;
  /* A stitched edge and no shadow, so an oval reads as a sticker, not a button. */
  box-shadow: none;
  outline: 2px dashed rgba(255, 255, 255, 0.6);
  outline-offset: -5px;
}
.sw-badge--round {
  width: 8.75rem;
  height: 8.75rem;
  padding: 0.75rem;
  border-radius: 50%;
  align-items: center;
  text-align: center;
  gap: 0.1rem;
  outline: 2px dashed rgba(255, 255, 255, 0.6);
  outline-offset: -8px;
}
.sw-badge--round small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sw-badge--round strong { font-size: 1.3rem; }
.sw-badge--round span { font-size: 0.8rem; line-height: 1.15; }

/* Colors (white text is 5.5:1 or better on each; gold uses dark text) */
.sw-badge--teal { background: #0f5f63; }
.sw-badge--navy { background: #052141; }
.sw-badge--green { background: #1f5132; }
.sw-badge--gold { background: #f2b544; color: #1c2421; }
.sw-badge--gold.sw-badge--rect { border-color: rgba(28, 36, 33, 0.35); }
.sw-badge--gold.sw-badge--oval, .sw-badge--gold.sw-badge--round { outline-color: rgba(28, 36, 33, 0.45); }
.sw-badge--slate { background: #334155; }
.sw-badge--plum { background: #5b2a6e; }
.sw-badge--maroon { background: #7a1f2b; }
.sw-badge--indigo { background: #33388f; }

/* Placements */
.sw-badge-home { margin-top: 1.1rem; }
.sw-badge-packages { margin-top: 1rem; }
.sw-badge-form { margin-top: 1.25rem; max-width: 28rem; }
.sw-badge-row { display: flex; justify-content: flex-start; }
.sw-badge-go { display: flex; justify-content: center; margin: 2.75rem 0 0.5rem; }
.sw-badge-privacy { float: right; margin: 0 0 1rem 1.25rem; }

/* Home: the one-year price list under the teal badge (CHANGELOG 125). */
.sw-badge-yearly { display: flex; width: 22rem; margin-top: 0.75rem; gap: 0.35rem; }
.sw-badge-yearly ul { list-style: none; margin: 0.15rem 0 0; padding: 0; display: grid; gap: 0.2rem; }
.sw-badge-yearly li { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; padding: 0.15rem 0; border-bottom: 1px dotted rgba(255, 255, 255, 0.4); }
.sw-badge-yearly li[hidden] { display: none; }
.sw-badge-yearly li:last-child { border-bottom: 0; }
.sw-badge-yearly li span { display: inline; }
.sw-badge-yearly li b { white-space: nowrap; font-weight: 700; }
.sw-badge-yearly .sw-yearly-note { font-size: 0.8rem; opacity: 0.92; }

/* The Desk: at the foot of the Templates rail on wide screens; under everything on phones. */
.sw-badge-desk { margin-top: 0.75rem; align-self: center; font-size: 0.82rem; padding: 0.5rem 1.1rem; }
.sw-badge-desk strong { font-size: 0.92rem; }
.sw-badge-desk-phone { display: none; }
@media (max-width: 700px) {
  #templates-rail .sw-badge-desk { display: none; }
  .sw-badge-desk-phone { display: flex; justify-content: center; padding: 0.5rem 0.75rem 1.25rem; }
  .sw-badge-desk-phone .sw-badge-desk { display: inline-flex; margin: 0; }
}

@media (max-width: 600px) {
  .sw-badge { font-size: 0.86rem; }
  .sw-badge strong { font-size: 1rem; }
  .sw-badge-privacy { float: none; display: flex; margin: 0 auto 1rem; }
  .sw-badge--round { width: 7.75rem; height: 7.75rem; }
  .sw-badge--round strong { font-size: 1.15rem; }
}
