/* PawCard V6 site chrome — shared by the landing, created, recover and 404
   pages. Loads after v6.css and builds only on its tokens, so these pages
   share one look with /create, /edit and /p. */

body {
  background: var(--canvas);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: inherit; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 460px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 249, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.site-header--lined { border-bottom-color: var(--hairline); }
.site-header__inner {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Varela Round", system-ui, sans-serif;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 24px; height: 24px; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background-color .15s, color .15s;
}
.site-nav a:hover { color: var(--ink); background: var(--well); }

/* ---------- Type ---------- */
.display {
  font-family: "Varela Round", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.lede {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.eyebrow {
  font-family: "Varela Round", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fine { font-size: 13px; color: var(--ink-soft); margin: 0; }
.text-link {
  color: var(--accent-700);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  font-size: 12.5px; font-weight: 700;
  color: var(--ink);
}
.badge__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-700);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px; font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s, border-color .15s;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}
.btn--primary:hover:not(:disabled) {
  background: var(--accent-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.3);
}
.btn--primary:active:not(:disabled) { transform: translateY(0); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--ink-soft); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 13.5px; border-radius: 999px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover:not(:disabled) { background: #2b2724; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(63,58,54,0.04), 0 6px 16px rgba(63,58,54,0.05);
}
.card__pad { padding: 20px; }
.card__eyebrow {
  font-family: "Varela Round", system-ui, sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

/* ---------- Boxed form fields (site pages; the editor uses wells) ---------- */
.label {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.text-input {
  display: block; width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1.5px solid var(--hairline);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.text-input::placeholder { color: var(--placeholder); opacity: 1; }
.text-input:hover { border-color: #d6cfc5; }
.text-input:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px var(--accent-100);
}

/* ---------- Copyable link row ---------- */
.link-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  border-radius: 12px;
  padding: 6px 6px 6px 12px;
}
.link-row__text {
  flex: 1; min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding: 24px 0 28px;
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
}
.site-footer .brand { font-size: 15px; color: var(--ink-soft); }
.site-footer .brand img { width: 18px; height: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a {
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Motion ---------- */
@keyframes rise {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes pop {
  0%   { transform: scale(0.6); opacity: 0; }
  70%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.rise { animation: rise .45s cubic-bezier(.2,.7,.3,1) both; }
.rise-1 { animation-delay: .08s; }
.rise-2 { animation-delay: .16s; }
.rise-3 { animation-delay: .24s; }
.pop { animation: pop .5s cubic-bezier(.34,1.56,.64,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

[hidden] { display: none !important; }
