/* Editorial columns start together, including when a heading wraps. */
.service-section-heading,
.pricing-section-heading,
.pricing-return { align-items: start; }

/* Contact details follow the site's label typography without changing links. */
.site-footer .footer-contact { min-width: 0; }
.site-footer .footer-contact > a[href^="mailto:"],
.site-footer .footer-contact address {
  font: 400 12px/20px var(--mono, "Berkeley Mono", monospace);
  font-style: normal;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.site-footer .footer-contact > a[href^="mailto:"] {
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.site-footer .footer-contact > a[href^="mailto:"] > span { flex: none; }

/* Only the return-to-top action receives the outlined-button treatment. */
.site-footer .footer-bottom nav {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 14px;
}
.site-footer .footer-bottom nav a[href="#main"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 46px;
  padding: 13px 15px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  font: 400 12px/18px var(--mono, "Berkeley Mono", monospace);
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.site-footer .footer-bottom nav a[href="#main"]:hover { background: #ffffff08; }
.site-footer .footer-bottom nav a[href="#main"]:focus-visible {
  outline: 2px solid #f5f3f0;
  outline-offset: 4px;
}

@media (max-width: 520px) {
  /* Keep the complete email readable instead of forcing a narrow grid cell. */
  .site-footer .footer-top { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-bottom nav { column-gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-bottom nav a[href="#main"] { transition: none; }
}


/* Replay controls share one centered drawing without asymmetric padding. */
.scene.foundation-database .table-toolbar .table-update,
.scene .rq-replay {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  line-height: 0;
}
.scene.foundation-database .table-toolbar .table-update > .scene-replay-icon,
.scene .rq-replay > .scene-replay-icon {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  transform: none;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header and body cells use the same inset at every table breakpoint. */
.scene.foundation-database .playbook-table { --playbook-cell-inset: 20px; }
.scene.foundation-database .playbook-table th,
.scene.foundation-database .playbook-table td {
  padding-inline: var(--playbook-cell-inset);
  text-align: left;
}
@media (max-width: 600px) {
  .scene.foundation-database .playbook-table { --playbook-cell-inset: 10px; }
}

/* A quiet branded compliance link, placed beneath the footer identity. */
.site-footer .footer-identity .footer-compliance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-height: 36px;
  margin-top: 22px;
  padding: 8px 10px;
  border: 1px solid #e6d6cd3b;
  border-radius: 4px;
  background: #f5f3f006;
  color: #ddcfca;
  font: 400 12px/18px var(--mono, "Berkeley Mono", monospace);
  letter-spacing: .015em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background-color .2s;
}
.site-footer .footer-identity .footer-compliance svg {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer .footer-identity .footer-compliance:hover {
  color: #f5f3f0;
  border-color: #e6d6cd69;
  background: #f5f3f00c;
}
.site-footer .footer-identity .footer-compliance:focus-visible {
  outline: 2px solid #f5f3f0;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-identity .footer-compliance { transition: none; }
}
