@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

/* Tag2Home — public */
:root {
  --ink: #07111f;
  --ink-soft: #1a2740;
  --fog: #eef3f8;
  --paper: #f7fafc;
  --line: rgba(7, 17, 31, 0.1);
  --accent: #00c2a8;
  --accent-2: #3d7eff;
  --accent-dark: #009e89;
  --danger: #e11d48;
  --ok: #059669;
  --warn: #d97706;
  --shadow: 0 24px 60px rgba(7, 17, 31, 0.14);
  --radius: 22px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

/* Landing */
.home-page {
  color: #f4f8fc;
  background: #050b16;
  overflow-x: hidden;
}
.home-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.15rem, 4vw, 2.75rem);
  pointer-events: none;
}
.home-top-brand,
.home-top-nav a {
  pointer-events: auto;
}
.home-top-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: rgba(244, 248, 252, 0.7);
}
.home-top-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.home-top-link {
  color: rgba(244, 248, 252, 0.82) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
}
.home-top-cta {
  color: #04241f !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  background: linear-gradient(135deg, var(--accent), #16d9c0);
  border-radius: 999px;
  padding: 0.55rem 1rem;
}
.home-top-cta:hover { filter: brightness(1.05); }

.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  gap: 2rem;
  padding: 6rem clamp(1.15rem, 4vw, 2.75rem) 3rem;
  background:
    radial-gradient(ellipse 55% 45% at 90% 20%, rgba(61, 126, 255, 0.26), transparent 60%),
    radial-gradient(ellipse 50% 40% at 5% 85%, rgba(0, 194, 168, 0.2), transparent 55%),
    linear-gradient(165deg, #050b16 0%, #0d1a33 55%, #07111f 100%);
  overflow: visible;
}
.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  animation: brandIn 0.8s cubic-bezier(.2,.8,.2,1) both;
}
.home-hero .brand-mark {
  margin: 0 0 0.85rem;
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  background: none;
  -webkit-text-fill-color: unset;
  white-space: normal;
  overflow: visible;
  width: auto;
  max-width: none;
  text-shadow: none;
}
.home-hero .brand-mark::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 0.28rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #7af0d8);
}
.home-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 700;
  max-width: 18ch;
  margin: 0 0 0.8rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.home-lead {
  max-width: 30rem;
  color: rgba(244, 248, 252, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  margin: 0 0 1.6rem;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}
.home-hero .btn-secondary,
.home-cta .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #f4f8fc;
  border: 1px solid rgba(255,255,255,0.28);
}

.home-hero-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 17.5rem);
  animation: phoneRise 1s 0.1s cubic-bezier(.2,.8,.2,1) both;
}
.home-phone {
  border-radius: 2rem;
  padding: 0.7rem;
  background: linear-gradient(160deg, #1a2d4d, #0a1528);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}
.home-phone-screen {
  background: linear-gradient(180deg, #f8fbfd, #e8f1f6);
  color: var(--ink);
  border-radius: 1.45rem;
  padding: 1.15rem 1rem 1.25rem;
}
.home-phone-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6d88;
}
.home-phone-name {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.home-phone-meta {
  margin: 0.3rem 0 0.9rem;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.88rem;
}
.home-phone-qr {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 0.95rem;
  border-radius: 0.65rem;
  background:
    linear-gradient(#0d1a33 0 0) 0 0 / 33% 33%,
    linear-gradient(#0d1a33 0 0) 100% 0 / 33% 33%,
    linear-gradient(#0d1a33 0 0) 0 100% / 33% 33%,
    linear-gradient(#0d1a33 0 0) 66% 33% / 16% 16%,
    linear-gradient(#0d1a33 0 0) 33% 66% / 16% 16%,
    linear-gradient(#0d1a33 0 0) 100% 66% / 16% 16%,
    #fff;
  background-repeat: no-repeat;
  border: 6px solid #fff;
  box-shadow: 0 0 0 2px #0d1a33;
}
.home-phone-note {
  margin: 0 0 0.95rem;
  color: #31425c;
  font-size: 0.9rem;
  text-align: center;
}
.home-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(135deg, var(--accent), #16d9c0);
  color: #04241f;
}
.home-phone-btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d5deea;
  margin-bottom: 0;
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes phoneRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-section {
  padding: clamp(3.25rem, 7vw, 5rem) clamp(1.15rem, 4vw, 2.75rem);
}
.home-section-inner {
  width: min(100%, 64rem);
  margin: 0 auto;
}
.home-section h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  line-height: 1.15;
}
.home-section-lead {
  margin: 0 0 1.85rem;
  max-width: 34rem;
  color: rgba(244, 248, 252, 0.7);
  font-size: 1.05rem;
}

.home-how {
  background: #07111f;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.home-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.25rem;
}
.home-step-num {
  grid-row: 1 / span 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: #04241f;
  background: linear-gradient(135deg, var(--accent), #7af0d8);
  align-self: start;
}
.home-steps h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0.2rem 0 0;
  letter-spacing: -0.02em;
}
.home-steps p {
  margin: 0;
  color: rgba(244, 248, 252, 0.7);
  grid-column: 2;
}

.home-examples {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(0, 194, 168, 0.1), transparent 55%),
    #0a1528;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.home-examples-grid {
  display: grid;
  gap: 1.5rem 2rem;
}
.home-examples-grid article {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.home-examples-grid h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: #9af5e2;
}
.home-examples-grid p {
  margin: 0;
  color: rgba(244, 248, 252, 0.72);
  max-width: 34rem;
}

.home-cta {
  background:
    radial-gradient(ellipse 70% 70% at 50% 100%, rgba(0, 194, 168, 0.16), transparent 55%),
    #050b16;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.home-cta-panel {
  text-align: center;
  max-width: 38rem;
}
.home-cta-panel h2 { margin-bottom: 0.45rem; }
.home-cta-panel > p {
  margin: 0 auto 1.4rem;
  color: rgba(244, 248, 252, 0.7);
}
.home-cta .home-actions { justify-content: center; }

.home-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem clamp(1.15rem, 4vw, 2.75rem) 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(244, 248, 252, 0.45);
  font-size: 0.92rem;
}
.home-footer a {
  color: rgba(244, 248, 252, 0.7);
  text-decoration: none;
  font-weight: 600;
}
.home-footer a:hover { color: #fff; }

@media (min-width: 880px) {
  .home-hero {
    grid-template-columns: minmax(18rem, 1.15fr) minmax(15rem, 0.75fr);
    column-gap: clamp(2rem, 5vw, 4rem);
    padding-left: clamp(2rem, 6vw, 5rem);
    padding-right: clamp(2rem, 6vw, 5rem);
  }
  .home-hero-visual {
    justify-self: end;
    width: min(100%, 18.5rem);
  }
  .home-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
  .home-steps li {
    display: block;
    padding-right: 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .home-steps li:last-child {
    border-right: 0;
    padding-right: 0;
  }
  .home-step-num { margin-bottom: 0.85rem; }
  .home-steps h3 { margin: 0 0 0.4rem; }
  .home-steps p { grid-column: auto; }
  .home-examples-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 879px) {
  .home-hero {
    min-height: auto;
    padding-top: 5.25rem;
  }
  .home-hero-visual {
    width: min(100%, 15rem);
  }
}

@media (max-width: 520px) {
  .home-top-brand { display: none; }
}

.btn-primary, .btn-action, .btn-secondary, button.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary, .btn-action {
  background: linear-gradient(135deg, var(--accent), #16d9c0);
  color: #04241f;
  box-shadow: 0 10px 30px rgba(0, 194, 168, 0.35);
}
.btn-primary:hover, .btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 194, 168, 0.45);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: inherit;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.pet-page .btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Public recovery / tag page */
.pet-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 194, 168, 0.16), transparent 55%),
    radial-gradient(circle at 100% 40%, rgba(61, 126, 255, 0.07), transparent 42%),
    #e8eef5;
  padding-bottom: 5.5rem;
}
.pet-page.has-sticky-actions { padding-bottom: 6.5rem; }
.pet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(232, 238, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.lang-toggle { display: flex; gap: 0.35rem; }
.lang-toggle a, .lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.lang-btn[aria-pressed="true"], .lang-toggle a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.lost-banner {
  margin: 0.85rem 1rem 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border: 1px solid rgba(225, 29, 72, 0.25);
  animation: pulseSoft 2.6s ease-in-out infinite;
}
.lost-banner strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--danger);
  letter-spacing: 0.02em;
}
.lost-banner .warn { font-weight: 700; }
@keyframes pulseSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.tag-main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

.tag-hero {
  margin: 0.85rem 0 1rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  animation: tagRise 0.55s ease both;
}
.pet-hero-photo {
  margin: 0;
  background: #d8e2ec;
  overflow: hidden;
}
.pet-hero-photo img {
  width: 100%;
  height: min(52vh, 420px);
  object-fit: cover;
  animation: fadeRise 0.75s ease both;
}
@keyframes fadeRise {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes tagRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.tag-identity {
  padding: 1.15rem 1.2rem 1.35rem;
}
.tag-found {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}
.tag-identity h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 2.75rem);
  margin: 0.4rem 0 0.15rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.type-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 194, 168, 0.14);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.name-translation {
  margin: 0.1rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #5a6d88;
}
.tagline {
  font-size: 1.05rem;
  color: #4b5d78;
  margin: 0.35rem 0 0;
  font-weight: 600;
}
.help {
  margin: 0.75rem 0 0;
  color: #31425c;
  font-size: 1.02rem;
}

.tag-panel {
  background: #fff;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 14px 36px rgba(7, 17, 31, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 1.15rem 1.2rem 1.25rem;
  margin: 0 0 0.85rem;
  animation: tagRise 0.55s ease both;
}
.tag-panel:nth-of-type(2) { animation-delay: 0.06s; }
.tag-panel:nth-of-type(3) { animation-delay: 0.12s; }
.tag-panel:nth-of-type(4) { animation-delay: 0.18s; }
.tag-step {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.tag-panel h2 {
  font-family: var(--display);
  font-size: 1.28rem;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}
.panel-lead {
  margin: 0 0 0.85rem;
  color: #445770;
}
.contact-name {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.contact-name .muted {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7c94;
  margin-bottom: 0.15rem;
}
.contact-grid,
.btn-stack {
  display: grid;
  gap: 0.65rem;
}
.btn-action-soft {
  background: linear-gradient(135deg, #e8fffa, #d4f7f0);
  color: var(--accent-dark);
  box-shadow: none;
  border: 1px solid rgba(0, 194, 168, 0.28);
}
.btn-action-soft:hover {
  background: linear-gradient(135deg, #d9fbf4, #c5f3ea);
}
.btn-text {
  appearance: none;
  background: none;
  border: 0;
  color: #5a6d88;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  min-height: auto;
  padding: 0.35rem;
  justify-self: start;
}
.location-status {
  min-height: 1.35rem;
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.location-status.is-ok { color: var(--ok); }
.location-status.is-warn { color: var(--warn); }

.tag-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}
.tag-facts > div {
  background: #f3f7fb;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
}
.tag-facts dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7c94;
  font-weight: 700;
}
.tag-facts dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}
.tag-copy {
  margin: 0 0 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}
.tag-copy:first-of-type { border-top: 0; padding-top: 0; }
.tag-copy h3 {
  font-family: var(--display);
  font-size: 0.98rem;
  margin: 0 0 0.3rem;
}
.tag-copy p {
  margin: 0;
  color: #31425c;
}

.finder-forms details {
  background: #f5f8fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 0.95rem 0.85rem;
  margin-bottom: 0.65rem;
}
.finder-forms summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 3rem;
  display: flex;
  align-items: center;
  list-style: none;
}
.finder-forms summary::-webkit-details-marker { display: none; }
.finder-forms summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.25rem;
  color: #6b7c94;
}
.finder-forms details[open] summary::after { content: "–"; }

.stack-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.field { display: grid; gap: 0.35rem; }
.field label, .stack-form > label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #31425c;
}
.stack-form input,
.stack-form textarea,
.stack-form select,
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid #d5deea;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fbfcfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.15);
}
.stack-form .check {
  font-weight: 500;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border-radius: 14px;
}
.stack-form .check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--accent-dark);
}
.form-status { min-height: 1.25rem; font-weight: 700; }
.privacy-note {
  font-size: 0.88rem;
  color: #5a6d88;
  padding: 0.5rem 0.25rem 1rem;
  max-width: 34rem;
  margin: 0 auto;
}

.tag-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(7, 17, 31, 0.1);
}
.tag-sticky .btn-action,
.tag-sticky .btn-secondary {
  min-height: 3.1rem;
  width: 100%;
}

.manual-dialog {
  border: 0;
  border-radius: 24px;
  padding: 0;
  width: min(96vw, 440px);
  box-shadow: var(--shadow);
}
.manual-dialog::backdrop { background: rgba(7, 17, 31, 0.55); backdrop-filter: blur(4px); }
.manual-dialog form { padding: 1.25rem; }
.manual-dialog h2 {
  font-family: var(--display);
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}
.manual-map {
  height: 220px;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 0.35rem;
}
.dialog-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.privacy-page, .error-page, .login-page-wrap { padding: 1.25rem; }
.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 42rem;
  margin: 0 auto 1rem;
}
.privacy-content, .error-card {
  max-width: 42rem;
  margin: 0 auto 2rem;
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.privacy-content h1, .error-card h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
.muted { color: #5a6d88; }

@media (min-width: 768px) {
  .pet-hero-photo img { height: 460px; }
  .tag-main { max-width: 36rem; }
}
