/* Shared palette and proportions from the Pets Calm Down You Found Me product page. */
:root {
  --ink: #173e3b;
  --muted: #526561;
  --brand: #166e68;
  --mint: #eaf4ed;
  --cream: #faf7ef;
  --bg: #fffefa;
  --section: #fff;
  --border: #d8e2d9;
  --radius: 20px;
  --shadow: 0 16px 45px -28px #173e3b40;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { vertical-align: middle; }
.icon { flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; }
h1, h2 { font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.5vw, 62px); }
h2 { margin-bottom: 20px; font-size: clamp(30px, 3.4vw, 46px); }
h3 { margin-bottom: 12px; font-size: 20px; letter-spacing: -0.02em; }
p { margin-bottom: 16px; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 80px; }
.eyebrow { margin-bottom: 20px; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.6; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.75; }
.muted, .quiet-note { color: var(--muted); }
.quiet-note { margin: 18px 0 0; font-size: 13px; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 10; padding: 10px 20px; transform: translateY(-180%); background: #fff; border: 1px solid var(--brand); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 105px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 25px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.25; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 40px; height: 46px; color: #000; }
.brand-icon .icon { width: 40px; height: 40px; }
.brand-dot { color: var(--brand); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0.01em; }
.site-header .brand, .site-header .brand-dot, .site-header .brand small { color: #000; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--brand); text-decoration: underline; }
.site-nav .nav-shop { padding: 8px 16px; border: 1px solid #bacfc3; border-radius: 9px; }
.nav-shop .icon { width: 17px; height: 17px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 22px; border: 1px solid var(--brand); border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; transition: background 160ms, border-color 160ms; }
.btn .icon { width: 20px; height: 20px; }
.btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; text-decoration: none; }
.btn.secondary { border-color: #bacfc3; background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--mint); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 700; }
.text-link .icon { width: 19px; height: 19px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; padding-block: 64px 72px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--brand); }
.hero .lead { max-width: 480px; margin-bottom: 28px; font-size: 17px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 1; border-radius: 24px; object-fit: cover; object-position: center; }
.hero-photo figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.hero-photo figcaption .icon { width: 18px; height: 18px; color: var(--brand); }
.reassurance { background: var(--mint); }
.reassurance ul { display: flex; justify-content: space-between; gap: 24px; margin-block: 0; padding-block: 22px; padding-left: 0; list-style: none; }
.reassurance li { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.reassurance .icon { width: 21px; height: 21px; color: var(--brand); }
.section-heading { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section-heading p:last-child { max-width: 460px; margin: 0 auto; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 0; margin: 0; list-style: none; }
.steps li { border-top: 1px solid #b8cabe; padding-top: 22px; }
.step-number { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: var(--brand); font-size: 32px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.step-number > span { display: grid; place-items: center; width: 42px; height: 42px; background: var(--mint); border-radius: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.support-strip { display: flex; align-items: center; gap: 18px; margin-top: 42px; padding: 24px 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--cream); }
.icon-box { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--brand); }
.support-strip h3 { margin: 0 0 4px; font-size: 16px; }
.support-strip p { margin: 0; color: var(--muted); font-size: 14px; }
.support-strip > .text-link { flex-shrink: 0; margin-left: auto; }
.product-section { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.tag-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tag-photos figure { margin: 0; }
.tag-photos figure:nth-child(2) { padding-top: 54px; }
.tag-photos img { border-radius: 18px; }
.tag-photos figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; }
.product-copy .lead { font-size: 16px; }
.benefits { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.benefits .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.owner-photo { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: 22px; }
.owner-instructions { margin-block: 24px; }
.owner-instructions h3 { font-size: 17px; }
.owner-instructions p { color: var(--muted); font-size: 15px; }
.owner-instructions h3:not(:first-child) { margin-top: 24px; }
.inline-note { padding-left: 14px; border-left: 2px solid #b4cbb6; }
.site-footer { margin-top: auto; background: var(--mint); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; padding-block: 48px 36px; }
.footer-brand .brand { font-size: 23px; }
.footer-brand .brand .icon { color: var(--brand); }
.footer-brand p { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.footer-brand p + p { margin-top: 7px; max-width: 310px; }
.footer-main h2 { margin: 5px 0 14px; font-size: 14px; letter-spacing: 0; }
.footer-main ul { display: grid; gap: 4px; list-style: none; padding: 0; margin: 0; }
.footer-main li a { display: inline-flex; align-items: center; gap: 8px; padding-block: 5px; color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-main li a:hover { color: var(--brand); text-decoration: underline; }
.footer-main li .icon { width: 16px; height: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid #cdddcf; color: var(--muted); font-size: 11px; }
.footer-bottom .icon { width: 15px; height: 15px; margin-left: 6px; }
.messages { display: grid; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.msg { padding: 14px 18px; border: 1px solid #bacfc3; border-radius: 10px; background: var(--mint); }
.msg.error { border-color: #e5b9ad; background: #fff4ef; color: #873e2a; }

/* Finder profile: contact actions first, care notes close to hand. */
.profile-page { max-width: 880px; padding-block: 48px 64px; }
.profile-heading { margin-bottom: 30px; text-align: center; }
.profile-avatar { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px; border: 5px solid #fff; border-radius: 50%; background: #deebe0; color: var(--brand); box-shadow: 0 0 0 1px var(--border); }
.profile-avatar .icon { width: 32px; height: 32px; }
.profile-heading .eyebrow { margin-bottom: 8px; }
.profile-heading h1 { margin-bottom: 10px; font-size: clamp(38px, 5vw, 56px); overflow-wrap: anywhere; }
.profile-heading > p:last-child { max-width: 540px; margin: 0 auto; color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
.profile-card { min-width: 0; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.profile-card h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 20px; letter-spacing: -0.025em; }
.profile-card h2 .icon { color: var(--brand); width: 22px; height: 22px; }
.contact-card { border-top: 4px solid var(--brand); }
.contact-owner { margin-bottom: 22px; }
.contact-owner strong { display: block; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
.contact-owner span { color: var(--muted); font-size: 13px; }
.contact-actions { display: grid; gap: 10px; margin-bottom: 24px; }
.contact-actions .btn { width: 100%; }
.dl { display: grid; gap: 6px; margin: 0; }
.dl dt { margin-top: 14px; color: var(--muted); font-size: 13px; }
.dl dt:first-child { margin-top: 0; }
.dl dd { margin: 0; overflow-wrap: anywhere; line-height: 1.6; }
.dl dd a { font-weight: 600; }
.care-list dd { padding-bottom: 16px; border-bottom: 1px solid #e5ebe3; }
.care-list dd:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-help { margin-top: 24px; }
.profile-help .text-link { margin-top: 6px; }
.profile-manage { margin-top: 30px; text-align: center; }
.profile-manage p { margin: 0; color: var(--muted); font-size: 13px; }
.notice { margin-bottom: 24px; padding: 20px 24px; border: 1px solid #dacba7; border-radius: 14px; background: #fcf4e1; color: #625128; }
.notice h2 { margin-bottom: 8px; font-size: 18px; letter-spacing: -0.02em; }
.notice p { margin-bottom: 10px; font-size: 14px; }
.notice .text-link { color: #625128; }
.empty-state { max-width: 620px; margin: 0 auto; text-align: center; }
.empty-state > p { color: var(--muted); }
.empty-state .actions { justify-content: center; margin-block: 24px; }
.empty-state .quiet-note { border-top: 1px solid var(--border); padding-top: 20px; }

/* Shared editor, claim, and email sign-in forms. */
.form-page { padding-block: 48px 64px; }
.form-intro { max-width: 650px; margin: 0 auto 32px; text-align: center; }
.form-intro h1 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 44px); }
.form-intro .eyebrow { margin-bottom: 12px; }
.form-intro > p:last-child { margin-bottom: 0; color: var(--muted); }
.edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 32px; max-width: 1000px; margin: 0 auto; }
.form-card { min-width: 0; padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.form-card fieldset { min-width: 0; padding: 0; margin: 0 0 28px; border: 0; }
.form-card legend { width: 100%; margin-bottom: 20px; padding: 0 0 14px; border-bottom: 1px solid var(--border); font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }
.form-card legend .icon { width: 22px; height: 22px; margin-right: 8px; color: var(--brand); }
.form-section-note { margin-top: -8px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { min-width: 0; margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
input:not([type=checkbox]):not([type=hidden]):not([type=radio]):not([type=submit]), textarea, select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b6c8bd; border-radius: 8px; background: #fffefa; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; }
textarea { min-height: 100px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6c7f77; opacity: 1; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); }
input[type=checkbox] { flex: 0 0 auto; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); cursor: pointer; }
.helptext { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.errorlist { margin: 0 0 8px; padding: 0; list-style: none; color: #963c2e; font-size: 13px; }
.errorlist li { padding: 8px 12px; border-left: 3px solid #b55543; background: #fff4ef; }
.captcha-widget { margin: 16px 0 8px; }
.captcha-error { margin: 8px 0; color: #963c2e; font-size: 13px; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: #b55543 !important; }
.checkbox-field { display: flex; align-items: flex-start; gap: 12px; padding: 20px; border: 1px solid #c5d8c8; border-radius: 12px; background: var(--mint); }
.checkbox-field label { margin: 0; font-size: 15px; }
.checkbox-field .helptext { margin-top: 6px; font-size: 13px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.edit-aside { padding: 28px; border-radius: 18px; background: var(--mint); }
.edit-aside > .icon { width: 30px; height: 30px; margin-bottom: 18px; color: var(--brand); }
.edit-aside h2 { font-size: 24px; }
.edit-aside p { color: var(--muted); font-size: 14px; }
.edit-aside p:last-child { margin-bottom: 0; }
.edit-aside .aside-divider { margin-top: 24px; padding-top: 22px; border-top: 1px solid #c5d8c8; }
.auth-page { max-width: 620px; }
.auth-page .form-card { max-width: 500px; margin: 0 auto; }
.auth-page form > .btn { width: 100%; margin-top: 24px; }
.auth-help { margin: 24px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.auth-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 20px; background: var(--mint); color: var(--brand); }
.auth-icon .icon { width: 30px; height: 30px; }
.email-sent { text-align: center; }
.email-sent p { color: var(--muted); }

/* Existing legal copy shares the same typography and card treatment. */
.legal-page { max-width: 940px; padding-block: 48px 64px; }
.page-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.page-head h1 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 44px); }
.page-head p { color: var(--muted); }
.legal-page .card { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.legal-page .card h2 { margin-top: 32px; margin-bottom: 14px; font-size: 22px; }
.legal-page .card h2:first-child { margin-top: 0; }
.legal-page .card p, .legal-page .card li { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.legal-page .card li + li { margin-top: 10px; }
.legal-page .card strong { color: var(--ink); }
.legal-page .highlight { padding: 20px; border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--mint); }
.legal-page .muted-note { font-size: 13px; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .hero { gap: 32px; }
  .hero h1 { font-size: 45px; }
  .hero .actions { gap: 10px; }
  .hero .lead { font-size: 16px; }
  .site-nav { gap: 18px; }
  .product-grid, .owner-grid { gap: 36px; }
  .footer-main { gap: 28px; }
  .edit-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; }
  .form-card { padding: 24px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .section-space { padding-block: 52px; }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 16px; padding-block: 20px 14px; }
  .brand { font-size: 24px; }
  .site-nav { width: 100%; justify-content: center; gap: 24px; font-size: 13px; }
  .site-nav .nav-shop { padding: 5px 12px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .hero h1 { max-width: 510px; font-size: clamp(39px, 8vw, 54px); }
  .hero .lead { max-width: 540px; }
  .hero .actions { gap: 12px 20px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-photo img { border-radius: 18px; }
  .hero-photo figcaption { font-size: 12px; }
  .reassurance ul { flex-wrap: wrap; justify-content: center; gap: 14px 24px; padding-block: 20px; }
  .reassurance li { font-size: 12px; }
  .section-heading { margin-bottom: 30px; text-align: left; }
  .section-heading p:last-child { max-width: none; font-size: 15px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { position: relative; padding: 22px 0 0 60px; }
  .step-number { position: absolute; top: 21px; left: 0; font-size: 28px; }
  .step-number > span { display: none; }
  .steps h3 { margin-top: 2px; font-size: 19px; }
  .support-strip { flex-wrap: wrap; gap: 14px; padding: 22px; }
  .support-strip > div { flex: 1 1 200px; }
  .support-strip > .text-link { margin-left: 0; }
  .product-grid, .owner-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-copy { grid-row: 1; }
  .tag-photos { max-width: 520px; }
  .tag-photos figure:nth-child(2) { padding-top: 30px; }
  .owner-photo { aspect-ratio: 4 / 3; max-height: 420px; }
  .owner-grid > div { grid-row: 1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .profile-page, .form-page, .legal-page { padding-block: 32px 48px; }
  .profile-grid, .edit-layout { grid-template-columns: 1fr; }
  .profile-card { padding: 24px; }
  .profile-help { display: block; }
  .profile-help .icon-box { margin-bottom: 16px; }
  .profile-heading { text-align: left; }
  .profile-avatar { margin-left: 0; }
  .profile-heading > p:last-child { max-width: none; }
  .edit-aside { padding: 24px; }
  .form-intro { text-align: left; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .field:last-child { margin-bottom: 20px; }
  .form-card { padding: 24px 20px; }
  .form-actions .btn { flex: 1 1 160px; }
  .checkbox-field { padding: 16px; }
  .auth-page .form-intro { text-align: center; }
  .auth-page .form-card { padding: 26px 22px; }
}
@media (max-width: 380px) {
  .site-nav { gap: 16px; font-size: 12px; }
  .brand { font-size: 22px; }
  .hero h1 { font-size: 38px; }
  .hero .actions { align-items: stretch; flex-direction: column; }
  .hero .actions .text-link { justify-content: center; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
