/* W&W Unsubscribe */
.ww-unsub {
  flex: 1;
  width: 100%;
  padding: clamp(28px, 4.5vw, 56px) clamp(16px, 4vw, 46px) clamp(40px, 6vw, 72px);
}

.ww-unsub__intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.ww-unsub__title {
  font-family: var(--ww-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

.ww-unsub__message {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.45;
  color: var(--ww-muted);
  margin: 10px auto 0;
  max-width: 480px;
  text-wrap: pretty;
}

.ww-unsub__message strong {
  font-weight: 600;
  color: var(--ww-ink);
  overflow-wrap: anywhere;
}

.ww-unsub__section {
  max-width: 1180px;
  margin: clamp(24px, 3.5vw, 44px) auto 0;
}

.ww-unsub__section-title {
  font-family: var(--ww-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(14px, 1.8vw, 20px);
  text-align: center;
  text-wrap: balance;
}

/* Desktop cards */
.ww-unsub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 1150px) {
  .ww-unsub__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ww-unsub__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ww-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 22px;
  background: var(--ww-card);
  border: 1px solid var(--ww-rule);
  transition: border-color .2s, transform .2s;
}

.ww-card:hover {
  border-color: var(--ww-ink);
  transform: translateY(-2px);
}

.ww-card__title {
  font-family: var(--ww-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.ww-card__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ww-body);
  margin: 0 0 8px;
  text-wrap: pretty;
}

.ww-card__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ww-ink);
  color: var(--ww-paper);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* Mobile rows */
.ww-unsub__list {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.ww-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ww-card);
  border: 1px solid var(--ww-rule);
  min-height: 76px;
}

.ww-row:active {
  border-color: var(--ww-ink);
}

.ww-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ww-row__eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ww-accent);
}

.ww-row__title {
  font-family: var(--ww-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.ww-row__arrow {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ww-ink);
  color: var(--ww-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

@media (max-width: 859.98px) {
  .ww-unsub__grid { display: none; }
  .ww-unsub__list { display: flex; }
}

/* Resubscribe */
.ww-unsub__resub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: clamp(20px, 3vw, 32px);
  text-align: center;
}

.ww-unsub__resub-prompt {
  font-size: 16px;
  color: var(--ww-muted);
  margin: 0;
}

.ww-unsub__resub-button {
  font-family: var(--ww-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ww-ink);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--ww-ink);
  border-radius: 0;
  padding: 4px 0;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.ww-unsub__resub-button:hover {
  background: var(--ww-ink);
  color: var(--ww-paper);
}

.ww-unsub__resub-button:disabled {
  opacity: .5;
  cursor: progress;
}

.ww-unsub__error {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--ww-error);
  margin: 4px 0 0;
}

/* Resubscribed state */
.ww-unsub__back {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.ww-unsub__eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ww-accent);
  margin: 0 0 18px;
}

.ww-unsub__back-title {
  font-family: var(--ww-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

.ww-unsub__back-title:focus {
  outline: none;
}

.ww-unsub__back-text {
  font-size: clamp(17px, 1.65vw, 19px);
  line-height: 1.5;
  margin: 24px auto 0;
  max-width: 460px;
  text-wrap: pretty;
}

.ww-unsub__back-text strong {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ww-unsub__back .ww-text-link {
  margin-top: 36px;
}
