/* The studio identity continues into an open, grounded footer. */
.rzf-footer {
  --rzf-ink: #232323;
  --rzf-muted: #626262;
  background: #fff;
  color: var(--rzf-ink);
  font-family: Geist, Arial, sans-serif;
  line-height: 1.6;
  padding-top: 8px;
}
.rzf-footer *, .rzf-footer *::before, .rzf-footer *::after { box-sizing: border-box; }
.rzf-footer :is(p, h2, h3, figure) { margin: 0; }
.rzf-footer a { color: inherit; text-decoration: none; }
.rzf-footer :focus-visible { outline: 2px solid #1a76ff; outline-offset: 5px; }
.rzf-container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

/* Prose stays flat. The primary action shares the navbar's tactile finish. */
.rzf-invitation { padding: 42px 0 76px; text-align: center; }
.rzf-kicker { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--rzf-muted); }
.rzf-invitation h2 { margin-top: 21px; font-size: 36px; font-weight: 500; line-height: 1.18; letter-spacing: -1.25px; }
.rzf-invitation .rzf-invitation-copy { margin-top: 18px; font-size: 15px; line-height: 1.75; color: var(--rzf-muted); }
.rzf-invitation .rzf-cta { margin-top: 24px; color: #fff; font-size: 14px; min-height: 40px; padding: 8px 14px; gap: 6px; }
.rzf-invitation .rzf-trial-note { margin-top: 13px; font-size: 11px; color: #737373; }

.rzf-directory { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 32px 0 0; }
.rzf-brand { min-width: 0; }
.rzf-logo { display: inline-flex; align-items: center; gap: 8px; font-family: Inter, Arial, sans-serif; font-size: 23px; font-weight: 600; letter-spacing: -1px; line-height: 1.3; }
.rzf-logo img { display: block; flex-shrink: 0; width: 25px; height: 24px; object-fit: contain; }
.rzf-brand > p { margin-top: 17px; font-size: 13px; line-height: 1.8; color: var(--rzf-muted); }
.rzf-footer .rzf-product-hunt { display: inline-flex; align-items: center; gap: 6px; margin-top: 19px; color: var(--rzf-muted); font-size: 11px; }
.rzf-product-hunt .icon { width: 12px; height: 12px; stroke-width: 2; transform: rotate(-45deg); }
.rzf-links { display: flex; flex-direction: column; align-items: flex-start; }
.rzf-links h3 { font-size: 12px; font-weight: 500; line-height: 1.6; margin-bottom: 13px; }
.rzf-links > a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; line-height: 1.6; color: var(--rzf-muted); }
.rzf-back-top { gap: 6px; }
.rzf-back-top .icon { width: 12px; height: 12px; stroke-width: 2; transform: rotate(-90deg); }
.rzf-footer :is(.rzf-links a, .rzf-product-hunt, .rzf-legal a, .rzf-legal button, .rzf-colophon a) {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.rzf-footer :is(.rzf-links a, .rzf-product-hunt, .rzf-legal a, .rzf-legal button, .rzf-colophon a):hover { color: var(--rzf-ink); text-decoration-color: #a7a7a7; }

/* The same studio artwork as the identity study, with soft edges into the page. */
.rzf-footer .rzf-atelier { width: min(1440px, calc(100% - 40px)); margin: 38px auto 0; }
.rzf-atelier img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 89%, transparent);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 89%, transparent);
  -webkit-mask-composite: source-in;
}
.rzf-ground { background: #f7f7f7; margin-top: 8px; }
.rzf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 90px; padding-block: 22px; font-size: 10px; line-height: 1.8; color: var(--rzf-muted); }
.rzf-colophon > p + p { margin-top: 2px; }
.rzf-legal { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px; }
.rzf-legal :is(a, button) { display: inline-flex; align-items: center; min-height: 28px; }
.rzf-legal button { border: 0; background: none; color: inherit; margin: 0; padding: 0; font: inherit; cursor: pointer; }
.rzf-signoff { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rzf-swatches { display: inline-flex; gap: 3px; align-items: center; flex-shrink: 0; }
.rzf-swatches i { display: block; width: 7px; height: 7px; border-radius: 2px; background: #1a76ff; }
.rzf-swatches i:nth-child(2) { background: #8b5cff; }
.rzf-swatches i:nth-child(3) { background: #f03e16; }
.rzf-swatches i:nth-child(4) { background: #ffcf27; }

@media (max-width: 1000px) {
  .rzf-directory { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 30px; }
  .rzf-bottom { flex-wrap: wrap; gap: 16px 25px; }
  .rzf-signoff { margin-left: auto; }
}
@media (max-width: 760px) {
  .rzf-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .rzf-brand { grid-column: 1 / -1; }
  .rzf-brand > p { margin-top: 13px; }
  .rzf-footer .rzf-product-hunt { margin-top: 12px; }
  .rzf-invitation { padding-bottom: 54px; }
  .rzf-bottom { align-items: flex-start; }
  .rzf-legal { justify-content: flex-start; }
  .rzf-signoff { margin-left: 0; }
}
@media (max-width: 640px) {
  .rzf-container { width: calc(100% - 40px); }
  .rzf-invitation { padding-top: 22px; }
  .rzf-invitation h2 { font-size: 30px; letter-spacing: -.95px; }
  .rzf-invitation .rzf-invitation-copy { font-size: 14px; margin-top: 17px; }
  .rzf-invitation .rzf-cta { font-size: 13px; min-height: 38px; padding: 8px 12px; margin-top: 22px; }
  .rzf-invitation .rzf-trial-note { font-size: 10px; }
  .rzf-directory { padding-top: 22px; gap: 32px 20px; }
  .rzf-links h3 { font-size: 11px; margin-bottom: 9px; }
  .rzf-links > a { font-size: 12px; min-height: 34px; }
  .rzf-footer .rzf-atelier { width: 100%; margin-top: 30px; }
  .rzf-atelier img { height: 230px; object-fit: cover; object-position: 66% center; }
  .rzf-bottom { display: grid; grid-template-columns: 1fr; gap: 15px; padding-block: 23px; }
  .rzf-legal { gap: 6px 20px; }
  .rzf-ground { margin-top: 0; }
}
@media (max-width: 360px) {
  .rzf-container { width: calc(100% - 32px); }
  .rzf-directory { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .rzf-links:last-child { grid-column: 1 / -1; }
  .rzf-invitation h2 { font-size: 28px; }
  .rzf-atelier img { height: 215px; object-position: 69% center; }
  .rzf-legal { gap: 6px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rzf-footer *, .rzf-footer *::before, .rzf-footer *::after { animation: none !important; transition: none !important; }
}
