.home-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--purple);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.home-link:hover { border-color: #bba9ce; background: #f5effa; }
.home-link:focus-visible { outline: 3px solid #ef7d6855; outline-offset: 2px; }
.prose { max-width: 900px; }
.page-card {
  padding: clamp(24px, 5vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 40px #292b350b;
}
.prose h1 { margin: 12px 0 28px; letter-spacing: -.035em; }
.prose p, .prose li { color: var(--muted); }
.prose code { padding: 2px 5px; border-radius: 5px; background: #f0e9f7; color: var(--ink); }
.footer-brand { font-size: 17px; }
.footer-brand .logo { width: 36px; height: 36px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }
@media (max-width: 650px) {
  header { display: flex; gap: 14px; }
  .home-link { padding: 9px 12px; }
  footer { display: block; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-content: center; }
}
.contact-form { display: grid; gap: 18px; margin-top: 24px; }
.contact-form label span { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #d9d2dd; border-radius: 10px; background: #fff; color: var(--ink); font: 16px Inter, system-ui, sans-serif; }
.contact-form input { height: 46px; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form button { justify-self: start; padding: 12px 20px; border: 0; border-radius: 9px; background: var(--purple); color: #fff; font-weight: 800; cursor: pointer; }
.contact-form button:hover { filter: brightness(.94); }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: 9px; }
.form-status.success { background: #e6f3e9; border-left: 4px solid #39734f; }
.form-status.error { background: #f9e5e2; border-left: 4px solid #ad4c42; }
