/* Pavalet text-alert program and public opt-in evidence */
.text-alerts-page,
.text-alerts-page * {
  box-sizing: border-box;
}

.text-alerts-page {
  background:
    radial-gradient(circle at 14% 2%, rgba(201, 168, 76, 0.16), transparent 24rem),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
  color: var(--color-fg);
}

.text-alerts-shell {
  margin-inline: auto;
  max-width: 1120px;
  padding-inline: 1.5rem;
}

.text-alerts-hero {
  border-bottom: 1px solid var(--color-border);
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem);
}

.text-alerts-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 1rem 0 0;
  max-width: 12ch;
  text-wrap: balance;
}

.text-alerts-hero__lede {
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin: 1.25rem 0 0;
  max-width: 48rem;
  text-wrap: pretty;
}

.text-alerts-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.text-alerts-facts li {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(160, 126, 33, 0.3);
  border-radius: 999px;
  color: var(--color-gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
}

html[data-theme="dark"] .text-alerts-facts li {
  border-color: rgba(201, 168, 76, 0.38);
  color: var(--color-gold-light);
}

.text-alerts-content {
  display: grid;
  gap: clamp(3rem, 8vw, 5rem);
  padding-block: clamp(3rem, 8vw, 5rem);
}

.text-alerts-section {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.text-alerts-section__heading {
  max-width: 46rem;
}

.text-alerts-section__eyebrow,
.text-alerts-example__eyebrow {
  color: var(--color-gold-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

html[data-theme="dark"] :is(.text-alerts-section__eyebrow, .text-alerts-example__eyebrow) {
  color: var(--color-gold-light);
}

.text-alerts-section__heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

.text-alerts-section__heading > p:last-child {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0.85rem 0 0;
  max-width: 70ch;
  text-wrap: pretty;
}

.text-alerts-steps {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.text-alerts-steps li {
  align-items: start;
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  padding-block: 1.25rem;
}

.text-alerts-steps li:last-child {
  border-bottom: 1px solid var(--color-border);
}

.text-alerts-step__number {
  align-items: center;
  background: var(--color-fg);
  border-radius: 50%;
  color: var(--color-bg);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 750;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.text-alerts-steps h3,
.text-alerts-example h3 {
  color: var(--color-fg);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.text-alerts-steps p {
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0.4rem 0 0;
  max-width: 70ch;
}

.text-alerts-steps a,
.text-alerts-example a,
.text-alerts-program a {
  color: var(--color-gold-dark);
  font-weight: 700;
}

html[data-theme="dark"] :is(.text-alerts-steps a, .text-alerts-example a, .text-alerts-program a) {
  color: var(--color-gold-light);
}

.text-alerts-actions,
.text-alerts-legal-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-alerts-signin-note {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: -1.5rem 0 0;
}

.text-alerts-evidence {
  border-block: 1px solid var(--color-border);
  padding-block: clamp(3rem, 8vw, 5rem);
}

.text-alerts-examples {
  display: grid;
  gap: 1.25rem;
}

.text-alerts-example {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  margin: 0;
  overflow: hidden;
}

html[data-theme="dark"] .text-alerts-example {
  background: rgba(26, 23, 20, 0.9);
}

.text-alerts-example__bar {
  align-items: center;
  background: rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding-inline: 1rem;
}

.text-alerts-example__bar span {
  background: var(--color-border);
  border-radius: 50%;
  height: 0.55rem;
  width: 0.55rem;
}

.text-alerts-example__bar strong {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 650;
  margin-inline-start: 0.35rem;
}

.text-alerts-example__body {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.text-alerts-example__fieldset {
  border: 0;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.text-alerts-example__heading {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.text-alerts-example__status {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(160, 126, 33, 0.3);
  border-radius: 999px;
  color: var(--color-gold-dark);
  font-size: 0.76rem;
  font-weight: 750;
  padding: 0.42rem 0.7rem;
}

html[data-theme="dark"] .text-alerts-example__status {
  color: var(--color-gold-light);
}

.text-alerts-example__field {
  display: grid;
  gap: 0.5rem;
}

.text-alerts-example__field label,
.text-alerts-example__consent label {
  color: var(--color-fg);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
}

.text-alerts-example__field input {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.65rem;
  color: var(--color-fg);
  font: inherit;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.text-alerts-example__field p,
.text-alerts-example__hint {
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

.text-alerts-example__consent {
  align-items: start;
  border-block: 1px solid var(--color-border);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  padding-block: 1.25rem;
}

.text-alerts-example__consent input {
  accent-color: var(--color-gold-dark);
  height: 1.25rem;
  margin: 0.15rem 0 0;
  opacity: 1;
  width: 1.25rem;
}

.text-alerts-example__hint {
  margin-top: 0.5rem;
}

.text-alerts-example :is(.primary, .secondary) {
  justify-self: start;
}

.text-alerts-example figcaption {
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  padding: 0.9rem 1.25rem 1rem;
}

.text-alerts-program__details {
  display: grid;
  gap: 0;
  margin: 0;
}

.text-alerts-program__details > div {
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 0.35rem;
  padding-block: 1.1rem;
}

.text-alerts-program__details > div:last-child {
  border-bottom: 1px solid var(--color-border);
}

.text-alerts-program__details dt {
  color: var(--color-fg);
  font-size: 0.9rem;
  font-weight: 750;
}

.text-alerts-program__details dd {
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 72ch;
}

.text-alerts-legal-links a {
  min-height: 3rem;
  padding-block: 0.75rem;
}

@media (min-width: 760px) {
  .text-alerts-examples {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .text-alerts-program__details > div {
    gap: 2rem;
    grid-template-columns: minmax(8rem, 0.25fr) minmax(0, 1fr);
  }
}
