/* /resignation-letter-template, v3 (2026-10-26): includes/site/v3/pages/resignation-template.php.
   Example letters on paper cards, a fan of real letter renders in the hero (assets/site/v3/resignation/),
   the UK guide in cards. Everything else reuses v3.css (bands, lockups, chips, ticks, FAQ, the closing card). */

.rz-hero { padding-bottom: clamp(20px, 3vw, 44px); }
.rz-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.rz-hero .v-sub__blob { top: -120px; width: min(48vw, 680px); }
.rz-h1 .v-lk__xl { font-size: clamp(54px, 6.4vw, 96px); }
.rz-hero .v-lede { margin-top: 22px; }
.rz-ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.rz-ticks li { gap: 10px; font-size: 16px; }
.rz-ticks .v-ic { width: 26px; height: 26px; padding: 5px; }
.rz-hero__actions { margin-top: 28px; }

.rz-fan { position: relative; min-height: 440px; }
.rz-fan__disc { position: absolute; inset: 6% 2% 2% 10%; }
.rz-fan__sheet { position: absolute; width: 44%; background: #fff; border-radius: 6px; box-shadow: 0 18px 36px rgba(30, 42, 90, .2); overflow: hidden; }
.rz-fan__sheet img { display: block; width: 100%; height: auto; }
.rz-fan__sheet:nth-of-type(1) { left: 6%; top: 12%; transform: rotate(-7deg); }
.rz-fan__sheet:nth-of-type(2) { left: 29%; top: 0; z-index: 2; transform: rotate(1.5deg); }
.rz-fan__sheet:nth-of-type(3) { right: 0; top: 20%; z-index: 3; transform: rotate(7deg); }
.rz-fan__badge { --bs: 118px; position: absolute; z-index: 4; left: 0; bottom: 0; transform: rotate(-10deg); }

/* Example letters */
.rz-intro { max-width: 760px; margin: 18px auto 0; font-size: 17px; line-height: 1.55; text-align: center; color: var(--text); }
.rz-jump .chips { justify-content: center; margin: 26px 0 clamp(28px, 3.4vw, 40px); }
.rz-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: start; }
.rz-ex { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border-radius: 24px; box-shadow: 0 0 0 1.5px rgba(30, 42, 90, .11), 0 12px 28px rgba(30, 42, 90, .09); scroll-margin-top: calc(var(--header-h) + 16px); }
.rz-ex:target { box-shadow: 0 0 0 3px var(--navy), 0 20px 40px rgba(30, 42, 90, .16); }
.rz-ex__head { padding: 22px 24px 18px; background: var(--sun-l); }
.rz-list > .rz-ex:nth-child(4n+2) .rz-ex__head { background: #FFD9BF; }
.rz-list > .rz-ex:nth-child(4n+3) .rz-ex__head { background: var(--mint); }
.rz-list > .rz-ex:nth-child(4n+4) .rz-ex__head { background: var(--sky); }
.rz-ex__title { margin: 0; font-family: var(--display); font-size: clamp(32px, 3vw, 40px); font-weight: 400; line-height: .95; text-transform: uppercase; color: var(--navy); -webkit-text-stroke: .02em currentColor; }
.rz-ex__when { margin: 8px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--text); }
.rz-ex__facts { margin: 8px 0 0; font-size: 12px; font-weight: 900; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--tang-t); }
.rz-letter { margin: 20px 20px 0; padding: 24px 26px; font-size: 15.5px; line-height: 1.6; color: #222; background: #fff; border-radius: 8px; box-shadow: 0 6px 18px rgba(30, 42, 90, .12); }
.rz-letter p { margin: 0 0 12px; }
.rz-letter p:last-child { margin-bottom: 0; }
.rz-ex__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 18px 24px 22px; }
.rz-copy[hidden] { display: none; }
.rz-copy { min-height: 44px; cursor: pointer; border: 0; }
.rz-ex__write, .rz-guide a, .rz-builder a:not(.btn) { font-weight: 800; color: var(--navy); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.rz-ex__write:hover, .rz-guide a:hover { text-decoration-color: var(--tang); }
.rz-copied { font-size: 14.5px; font-weight: 800; color: var(--teal-t); }
.rz-copied:empty { display: none; }

/* The builder */
.rz-builder__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rz-builder__copy .v-lk { text-align: left; }
.rz-builder__copy > p { margin: 18px 0 0; font-size: 17.5px; line-height: 1.55; color: var(--text); }
.rz-list-ticks { margin: 20px 0 26px; gap: 10px; font-size: 16.5px; }
.rz-builder__sheet { justify-self: center; width: min(100%, 380px); margin: 0; background: #fff; border-radius: 6px; box-shadow: 0 22px 44px rgba(30, 42, 90, .2); transform: rotate(2deg); overflow: hidden; }
.rz-builder__sheet img { display: block; width: 100%; height: auto; }

/* The guide */
.rz-guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: clamp(32px, 4vw, 48px); align-items: start; }
.rz-card { padding: clamp(22px, 2.6vw, 32px); background: var(--paper); border-radius: 24px; box-shadow: 0 0 0 1.5px rgba(30, 42, 90, .1), 0 12px 28px rgba(30, 42, 90, .08); }
.rz-card--warn { background: #fff; }
.rz-card h3 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(30px, 2.8vw, 38px); font-weight: 400; line-height: .95; text-transform: uppercase; color: var(--navy); -webkit-text-stroke: .02em currentColor; }
.rz-card p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: var(--text); }
.rz-card p:last-child { margin-bottom: 0; }
.rz-card .v-list { gap: 10px; font-size: 16px; line-height: 1.5; }
.rz-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: rz; }
.rz-steps li { position: relative; padding-left: 40px; font-size: 16px; line-height: 1.5; color: var(--text); counter-increment: rz; }
.rz-steps li::before { content: counter(rz); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; font-family: var(--display); font-size: 20px; line-height: 1; color: var(--navy); background: var(--sun); border-radius: 50%; }
.rz-guide__more { max-width: 900px; margin: 28px auto 0; font-size: 16px; line-height: 1.7; text-align: center; color: var(--text); }

/* Links on */
.rz-on__title { text-align: center; }
.rz-on__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.rz-on__card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px; text-decoration: none; color: var(--text); background: var(--paper); border-radius: 22px; box-shadow: 0 0 0 1.5px rgba(30, 42, 90, .1), 0 10px 24px rgba(30, 42, 90, .08); transition: transform .2s ease; }
.rz-on__card:hover { transform: translateY(-3px) rotate(-.5deg); }
.rz-on__card b { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: .95; text-transform: uppercase; color: var(--navy); }
.rz-on__card span:last-child { font-size: 15.5px; line-height: 1.5; color: var(--grey); }
.rz-on__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; color: var(--navy); background: var(--sun); border-radius: 50%; }
.rz-on__ic .v-ic { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .rz-hero__grid, .rz-builder__grid { grid-template-columns: minmax(0, 1fr); }
  .rz-hero .v-sub__blob { top: -40px; right: -46vw; width: 100vw; }
  .rz-fan { display: none; }
  .rz-list, .rz-guide__grid { grid-template-columns: minmax(0, 1fr); }
  .rz-builder__sheet { width: min(80%, 340px); }
}
@media (max-width: 760px) {
  .rz-on__cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rz-h1 .v-lk__xl { font-size: clamp(44px, 12.5vw, 64px); }
  .rz-ticks { gap: 8px 16px; }
  .rz-ticks li { font-size: 15px; }
  .rz-jump .chips { flex-wrap: nowrap; justify-content: flex-start; margin: 22px -24px 24px; padding: 2px 24px 8px; overflow-x: auto; scrollbar-width: none; }
  .rz-jump .chips::-webkit-scrollbar { display: none; }
  .rz-jump .chip { white-space: nowrap; }
  .rz-ex { border-radius: 18px; }
  .rz-ex__head { padding: 18px 18px 14px; }
  .rz-letter { margin: 14px 12px 0; padding: 18px 16px; font-size: 15px; }
  .rz-ex__foot { padding: 14px 16px 18px; }
  .rz-card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .rz-on__card { transition: none; }
}
