/* ForeverMicro design system
   Warmth · safety · love · trust · technology · optimism (spec §36)
   Clean type, generous whitespace, no corporate-SaaS or cartoon-paw clutter. */

:root {
    /* ForeverMicro brand system — one cohesive teal/forest identity.
       Teal = identity, trust, protection, success.  Coral = lost / found / action / urgency. */
    --forest:       #073F3A;   /* deep forest — header + the single dark CTA section */
    --brand:        #0F9386;   /* forever teal — primary */
    --brand-dark:   #0b6f66;   /* teal hover */
    --brand-soft:   #E9F7F4;   /* soft mint — atmospheric section backgrounds */
    --mint:         #E9F7F4;
    --teal-accent:  #4FD1C0;   /* light turquoise — wordmark accent on dark */
    --accent:       #FF6B5D;   /* coral — ACTION ONLY (lost/found/recovery/urgency) */
    --accent-dark:  #ea5748;
    --urgent:       #e5484d;   /* genuine danger (animal control / injured) */
    --urgent-soft:  #fdecec;
    --ink:          #16312D;
    --muted:        #5a6b66;
    --line:         #e6ece9;
    --bg:           #FCFBF8;   /* warm white */
    --card:         #ffffff;
    --gold:         #f4b740;
    /* Radius scale */
    --radius-sm:    8px;
    --radius:       14px;   /* default / cards */
    --radius-md:    14px;
    --radius-lg:    20px;   /* hero & demo panels */
    --radius-pill:  999px;
    /* Soft, restrained shadows */
    --shadow:       0 1px 2px rgba(7,63,58,.04), 0 6px 18px rgba(7,63,58,.05);
    --shadow-lg:    0 16px 40px rgba(7,63,58,.10);
    --ring:         0 0 0 4px var(--brand-soft);
    --maxw:         1200px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.section { padding: 56px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- Header / nav (deep forest, white logo) ---- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--forest);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .brand { color: #fff; }
.site-header .brand em { color: var(--teal-accent); }
.site-header .nav-links a { color: rgba(255,255,255,.8); }
.site-header .nav-links a:hover { color: #fff; }
.site-header .nav-signin { color: rgba(255,255,255,.82); }
.site-header .nav-signin:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark {
    width: 34px; height: 34px; border-radius: 11px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    display: grid; place-items: center; color: #fff;
    box-shadow: 0 4px 12px rgba(18,137,126,.35);
}
.brand .mark .lucide { width: 19px; height: 19px; }
/* New brand logo mark (cropped from the ForeverMicro tag artwork). */
.brand-logo { width: 38px; height: 38px; display: block; object-fit: contain; }
.brand em { color: var(--brand-dark); font-style: normal; }
.nav-links { display: flex; gap: 20px; margin-left: 14px; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 550; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem;
    border: 1.5px solid transparent; cursor: pointer; transition: transform .06s ease, box-shadow .2s ease, background .2s;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-urgent { background: var(--urgent); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 9px 15px; font-size: .9rem; }

/* ---- Hero ---- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--brand-dark); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin-bottom: 14px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-secondary { margin-top: 16px; }
.hero-art {
    aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--brand-soft), #fff);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 6px; }
.card-hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d5e6e3; }

/* Icon badge — a rounded, softly-tinted tile that holds a Lucide glyph. */
.icon-badge {
    width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 16px;
}
.icon-badge .lucide { width: 25px; height: 25px; }
.icon-badge.accent { background: #fff0ed; color: var(--accent-dark); }
.icon-badge.urgent { background: var(--urgent-soft); color: var(--urgent); }
.icon-badge.gold   { background: #fff5e0; color: #b9770a; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -.03em; }
.stat .label { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---- Forms ---- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
/* Style every text-like input (including type-less ones), excluding non-text controls. */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=range]):not([type=color]):not([type=hidden]),
select, textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px;
    font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
textarea { min-height: 96px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.check input { width: auto; margin-top: 4px; }
.check label { font-weight: 500; margin: 0; }
.validation-summary-errors, .field-validation-error, .text-danger { color: var(--urgent); font-size: .9rem; }

/* ---- Badges / pills ---- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 650; }
.badge-safe { background: var(--brand-soft); color: var(--brand-dark); }
.badge-lost { background: var(--urgent-soft); color: var(--urgent); }
.badge-reunited { background: #fff5e6; color: #b9770a; }
.badge-demo { background: #eef1ff; color: #3f4bb3; border: 1px dashed #9aa5e8; }
.pill { display:inline-flex; gap:6px; align-items:center; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight:600; font-size:.9rem;}

/* ---- Public pet profile ---- */
.profile { max-width: 560px; margin: 0 auto; }
.profile-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); background: var(--brand-soft); }
.profile h1 { margin-top: 20px; }
.traits { display:flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; }
.actions-stack { display: grid; gap: 12px; }

/* ---- Lost banner ---- */
.lost-banner {
    background: linear-gradient(135deg, var(--urgent), #b3231a); color: #fff;
    border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px;
}
.lost-banner h2 { color: #fff; margin-bottom: 4px; }
.lost-banner .strip { letter-spacing: .18em; font-weight: 800; font-size: .8rem; opacity: .9; }

/* ---- Timeline ---- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content:""; position:absolute; left:-7px; top:4px; width:12px; height:12px; border-radius:50%; background: var(--brand); border: 2px solid #fff; }
.timeline .t { font-weight: 700; color: var(--brand-dark); font-size: .9rem; }

/* ---- QR block ---- */
.qr-box { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align:center; }
.qr-box svg { width: 190px; height: 190px; }
.forever-id { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; color: var(--brand-dark); }

/* ---- Callouts ---- */
.callout { border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); background:#fff; }
.callout-info { background: var(--brand-soft); border-color: transparent; }
.callout-warn { background: #fff8e6; border-color: #f2dea0; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid a { color: var(--muted); }
.tagline-foot { font-weight: 700; color: var(--brand-dark); }

/* ---- Utility ---- */
.stack > * + * { margin-top: 14px; }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:36px}
.mb-0{margin-bottom:0}
.text-sm{font-size:.9rem}
.divider { height:1px; background: var(--line); border:0; margin: 22px 0; }
.list-reset { list-style: none; padding: 0; margin: 0; }

/* ---- Lucide icons ---- */
.lucide { width: 18px; height: 18px; stroke-width: 1.75; flex-shrink: 0; vertical-align: -.15em; }
.btn .lucide { width: 18px; height: 18px; }
.btn-lg .lucide { width: 20px; height: 20px; }
.pill .lucide, .badge .lucide { width: 15px; height: 15px; stroke-width: 2.25; }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; }
.inline-ico { display: inline-flex; align-items: center; gap: 8px; }

/* Icon-forward list rows (used for safety checks, feature bullets). */
.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; }
.icon-list .lucide { margin-top: 2px; }
.ok  { color: var(--brand-dark); }
.warn{ color: #b9770a; }

/* ---- Modern hero backdrop ---- */
.hero { position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 60% at 85% 0%, rgba(18,137,126,.10), transparent 60%),
        radial-gradient(50% 50% at 0% 100%, rgba(255,107,87,.08), transparent 60%);
}
.hero-art { position: relative; }
/* Glass "ID card" floating over the hero image — modern, on-brand. */
.hero-idcard {
    position: absolute; left: 18px; bottom: 18px; right: 18px;
    background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255,255,255,.6); border-radius: 16px;
    padding: 12px 16px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 30px rgba(16,30,28,.18);
}
.hero-idcard .chip { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg,var(--brand),var(--brand-dark)); color:#fff; display:grid; place-items:center; }
.hero-idcard .chip .lucide { width: 22px; height: 22px; }
.hero-idcard .fid { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .04em; color: var(--ink); }

/* ---- Stat cards (modern) ---- */
.stats { gap: 16px; }
.stat {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 16px; box-shadow: var(--shadow);
}
.stat .stat-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; margin: 0 auto 10px; }
.stat .stat-ico .lucide { width: 20px; height: 20px; }

/* ---- Section heading with eyebrow ---- */
.eyebrow-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
    background: #fff; border: 1px solid rgba(15,147,134,.22); color: var(--brand-dark); font-weight: 650; font-size: .82rem;
}
.eyebrow-chip .lucide { width: 15px; height: 15px; }

/* ---- Buttons: subtle depth (restrained) ---- */
.btn-primary { box-shadow: 0 4px 12px rgba(15,147,134,.18); }
.btn-accent  { box-shadow: 0 4px 12px rgba(255,107,93,.20); }
.btn-urgent  { box-shadow: 0 4px 12px rgba(229,72,77,.18); }
.btn-primary:hover, .btn-accent:hover, .btn-urgent:hover { box-shadow: var(--shadow-lg); }

/* ---- Traits row on the profile ---- */
.trait { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }

@media (max-width: 560px) { .hero-idcard { position: static; margin-top: 14px; } }

/* Screen-reader-only (keeps accessible headings while artwork carries the visible branding). */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Mission-first hero ---- */
.hero-lead {
    position: relative; overflow: hidden; text-align: center;
    padding: 48px 0 24px;
    /* Clean white hero band so Banner2's artwork stands out, fading into the page below. */
    background: linear-gradient(180deg, #fff 0%, #fff 66%, var(--bg) 100%);
}
.hero-lead h1 { max-width: 16ch; margin-inline: auto; }
.hero-lead .lead { max-width: 54ch; color: var(--muted); font-size: 1.2rem; }
.hero-lead .hero-actions { margin-top: 24px; }
.hero-lead .hero-secondary { display:flex; gap:8px; align-items:center; justify-content:center; }

/* The banner artwork has a white background and the top section is white, so we let it blend
   in with no frame chrome — the animals appear to float directly on the page. */
.hero-banner-frame {
    max-width: 980px; margin-inline: auto; background: transparent;
}
.hero-banner-img { width: 100%; height: auto; display: block; }

/* Mobile: the 3:1 banner would otherwise become a tiny sliver. Crop to a taller frame
   focused on the animal lineup so it stays legible and friendly on phones. */
@media (max-width: 680px) {
    .hero-banner-img {
        aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: 74% center;
    }
}

/* ---- Trust strip (species) ---- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; }
.species-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.species {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
    background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink);
}
.species .lucide { width: 17px; height: 17px; color: var(--brand-dark); }
.species-tagline { color: var(--muted); }
.species-tagline strong { color: var(--ink); }

/* ---- Section headings ---- */
.section-head { margin-bottom: 34px; }
.band-soft { background: linear-gradient(180deg, #fff, var(--brand-soft)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- Steps ---- */
.step { position: relative; }
.step-num {
    position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}

/* ---- Finder search band ---- */
.finder-band { }
.finder-card {
    background: linear-gradient(135deg, #0d6b62, #12897e); color: #fff;
    border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
}
.finder-copy h2 { color: #fff; }
.finder-copy .muted { color: rgba(255,255,255,.85); }
.finder-copy .muted strong { color: #fff; }
.finder-copy .accent-chip { background: rgba(255,255,255,.16); color: #fff; }
.finder-search { display: flex; flex-direction: column; gap: 12px; }
.finder-input { position: relative; }
.finder-input .lucide { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.finder-input input { padding-left: 42px; height: 54px; font-size: 1.05rem; border-radius: 14px; border: none; }
.finder-buttons { display: flex; gap: 10px; }
.finder-buttons .btn { flex: 1; height: 54px; }
.finder-buttons .scan-btn { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.finder-buttons .scan-btn:hover { background: rgba(255,255,255,.24); border-color: #fff; }
@media (max-width: 760px) { .finder-card { grid-template-columns: 1fr; } }

/* ---- Forever ID feature split ---- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.idcard-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.idcard-list li {
    display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 13px 15px; font-weight: 600; box-shadow: var(--shadow);
}
.idcard-list .lucide { color: var(--brand-dark); }
@media (max-width: 760px) { .feature-split { grid-template-columns: 1fr; } }

/* ---- Microchip explainer + flow ---- */
.explainer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 6px; margin-top: 26px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 96px; font-weight: 650; font-size: .86rem; text-align: center; color: var(--ink); }
.flow-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; }
.flow-ico .lucide { width: 24px; height: 24px; }
.flow-node.accent .flow-ico { background: var(--brand); color: #fff; }  /* Forever ID = teal (identity) */
.flow-arrow { color: var(--muted); opacity: .6; }
@media (max-width: 640px) { .flow-arrow { transform: rotate(90deg); } .flow { flex-direction: column; } }

/* ---- Value cards ---- */
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.value-card .stat-ico { margin: 0 auto 12px; }
.value-card h3 { font-size: 1.05rem; }

/* ---- Live demo ---- */
.demo-card {
    display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg);
}
.demo-steps { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.demo-steps li { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.demo-steps .lucide { color: var(--brand-dark); }
.demo-aside {
    background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px; text-align: center;
}
.demo-aside .chip { width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg,var(--brand),var(--brand-dark)); color:#fff; display:grid; place-items:center; margin: 0 auto 12px; }
.demo-aside .chip .lucide { width: 26px; height: 26px; }
.demo-aside .fid { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.15rem; font-weight: 700; color: var(--brand-dark); letter-spacing: .04em; }
@media (max-width: 760px) { .demo-card { grid-template-columns: 1fr; } }

/* ---- Partner row ---- */
.partner-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partner {
    display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); box-shadow: var(--shadow);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.partner:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #d5e6e3; }
.partner .lucide { color: var(--brand-dark); }

/* ---- Final CTA (the single dark section) ---- */
.final-cta { background: var(--forest); color: #fff; padding: 72px 0; text-align: center; }
.final-cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.final-sub { font-size: 1.7rem; font-weight: 800; color: var(--teal-accent); margin-top: -2px; }
.final-btn { background: #fff; color: var(--brand-dark); margin-top: 12px; }
.final-btn:hover { background: #f0fdfa; color: var(--brand-dark); }

@media (max-width: 640px) {
    .hero-lead { padding: 26px 0 22px; }
    .hero-lead .lead { font-size: 1.05rem; }
    .idcard-list { grid-template-columns: 1fr; }
}

/* ================= Accessibility ================= */
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* Visible, consistent focus ring for keyboard users only. */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 3px; }

/* Ensure comfortable touch targets. */
.btn, .nav-links a, .partner, .species, .footer-col a { min-height: 44px; }
.nav-links a, .footer-col a { display: inline-flex; align-items: center; }

/* Respect reduced-motion: neutralize transitions/animations and reveals. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================= Soft reveal (only when JS is present) ================= */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }

/* ================= Mobile sticky recovery bar ================= */
.mobile-cta { display: none; }
@media (max-width: 760px) {
    .mobile-cta {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    }
    .mobile-cta .btn { flex: 1; padding: 13px 10px; }
    body { padding-bottom: 78px; }
}

/* ================= QR scan modal ================= */
.scan-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(10,20,18,.72); display: grid; place-items: center; padding: 20px; }
.scan-modal { position: relative; width: min(420px, 92vw); background: #000; border-radius: var(--radius-lg); overflow: hidden; text-align: center; box-shadow: var(--shadow-lg); }
.scan-video { width: 100%; height: auto; display: block; aspect-ratio: 1/1; object-fit: cover; }
.scan-frame { position: absolute; top: 12%; left: 12%; right: 12%; bottom: 26%; border: 3px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.25); }
.scan-hint { color: #fff; margin: 12px; font-size: .95rem; }
.scan-close { margin: 0 12px 14px; }

/* ================= Expanded footer ================= */
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand .tagline-foot { font-weight: 700; color: var(--brand-dark); }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.footer-col a { display: block; color: var(--ink); font-size: .95rem; padding: 5px 0; }
.footer-col a:hover { color: var(--brand-dark); text-decoration: none; }
.footer-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    /* On mobile the footer stacks, so center the brand block (link lists stay left for scanning). */
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand .footer-lockup { margin-inline: auto; }
}
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ================= Urgent (lost pet) hero ================= */
.urgent-hero { background: linear-gradient(135deg, var(--urgent), #b3231a); color: #fff; padding: 48px 0; }
.urgent-hero h1 { color: #fff; }
.urgent-hero .lead { color: rgba(255,255,255,.92); }
.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.step-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow); }
.step-list li::before { counter-increment: step; content: counter(step); flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.badge-soon { background: #eef1ff; color: #3f4bb3; font-size: .72rem; padding: 2px 8px; border-radius: 999px; font-weight: 700; margin-left: 6px; }

/* ================= Recovery profile (found-pet action center) ================= */
.site-header--recovery .nav { justify-content: space-between; }
.secure-badge {
    margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,.9); font-weight: 650; font-size: .9rem;
}
.secure-badge .lucide { width: 17px; height: 17px; color: #7ff0e0; }

.recovery { padding: 22px 0 44px; }
.recovery .lucide { width: 18px; height: 18px; }

/* Status indicator */
.status-alert {
    display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius);
    margin-bottom: 18px; font-size: .98rem;
}
.status-alert strong { display: block; letter-spacing: .01em; }
.status-alert .status-sub { display: block; font-size: .86rem; opacity: .85; font-weight: 500; }
.status-ok   { background: var(--brand-soft); color: var(--brand-dark); }
.status-home { background: #fff5e6; color: #b9770a; }
.status-lost { background: var(--urgent-soft); color: var(--urgent); }
.status-lost strong { letter-spacing: .06em; }
.pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--urgent); flex: 0 0 auto; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--urgent); animation: pulsering 1.6s ease-out infinite; }
@keyframes pulsering { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; opacity: .4; } }

/* Hero */
.rec-hero { margin-bottom: 20px; }
.found-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; }
.found-eyebrow .lucide { width: 15px; height: 15px; color: var(--brand-dark); }
.rec-name { font-size: clamp(2.1rem, 7vw, 3rem); margin: 6px 0 2px; }
.rec-meta { color: var(--muted); margin: 0 0 18px; }
.rec-photo { width: 100%; max-width: 360px; aspect-ratio: 1/1; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); background: var(--brand-soft); margin: 0 auto; display: block; }
.rec-emotional { font-size: 1.18rem; font-weight: 750; color: var(--ink); max-width: 24ch; margin: 20px auto 14px; line-height: 1.25; }
.rec-assure { list-style: none; padding: 0; margin: 0 auto; max-width: 340px; text-align: left; display: grid; gap: 9px; }
.rec-assure li { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: .95rem; }
.rec-assure .lucide { color: var(--brand-dark); }

/* Medication alert */
.med-alert { background: #fff8e6; border: 1px solid #f2dea0; border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; margin: 20px 0; }
.med-head { display: flex; align-items: center; gap: 9px; font-size: 1.08rem; color: #9a6b00; margin-bottom: 6px; }
.med-head .lucide { width: 20px; height: 20px; }
.med-alert p { color: #5c4a1a; }
.med-warn { display: flex; align-items: center; gap: 8px; font-weight: 650; color: #9a3412; margin-top: 10px !important; font-size: .92rem; }
.med-time { display: flex; align-items: center; gap: 8px; color: #9a6b00; margin-top: 6px !important; font-size: .88rem; }
.med-warn .lucide, .med-time .lucide { width: 16px; height: 16px; }

/* Primary action */
.rec-primary { margin: 22px 0 8px; }

/* Unified help workflow */
.help-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; margin: 20px 0; }
.help-title { font-size: 1.35rem; margin-bottom: 16px; }
.help-label { display: flex; align-items: center; gap: 8px; font-weight: 650; margin-bottom: 8px; }
.help-label .lucide { width: 17px; height: 17px; color: var(--brand-dark); }

/* Pet details */
.section-mini { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }
.section-mini2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.detail-card, .whatdo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; margin: 20px 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.detail-item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.detail-item .lucide { color: var(--brand-dark); flex: 0 0 auto; }
.identifying { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

/* What to do */
.whatdo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.whatdo-item { display: flex; gap: 11px; align-items: flex-start; }
.whatdo-item .lucide { color: var(--brand-dark); margin-top: 2px; flex: 0 0 auto; }
.whatdo-item strong { display: block; }
.whatdo-item span { color: var(--muted); font-size: .9rem; }
@media (max-width: 520px) { .detail-grid, .whatdo-grid { grid-template-columns: 1fr; } }

/* Emergency pathways */
.emergency { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 20px 0; overflow: hidden; }
.emergency > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px; padding: 15px 18px; font-weight: 650; color: var(--ink); }
.emergency > summary::-webkit-details-marker { display: none; }
.emergency > summary .lucide { color: var(--urgent); }
.emergency-body { padding: 0 8px 8px; }
.emergency-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 12px; border-radius: var(--radius-sm); color: var(--ink); }
.emergency-row:hover { background: var(--bg); text-decoration: none; }
.emergency-row .lucide { color: var(--urgent); margin-top: 2px; flex: 0 0 auto; }
.emergency-row strong { display: block; }
.emergency-row span { color: var(--muted); font-size: .9rem; }

/* Forever ID card */
.fid-card { background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin: 20px 0; text-align: center; }
.fid-main { display: inline-flex; align-items: center; gap: 12px; }
.fid-main .lucide { width: 30px; height: 30px; color: var(--brand-dark); }
.fid-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; }
.fid-value { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; color: var(--brand-dark); text-align: left; }
.fid-verify { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.fid-verify .lucide { width: 15px; height: 15px; color: var(--brand-dark); }

/* ================= Homepage v2 — one narrative, calm rhythm ================= */
.bg-mint { background: var(--mint); }
.bg-forest { background: var(--forest); color: #fff; }
.section-lead { max-width: 60ch; margin: 0 auto; color: var(--muted); }

/* Animal universe (banner + species + statement), reduced whitespace */
.universe { padding-top: 8px; }
.universe-statement { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 4px; }
.universe-statement .teal { color: var(--brand); }
.universe .species-row { margin-top: 22px; }

/* Live recovery sequence — clean vertical stepper, no per-step cards */
.seq { list-style: none; padding: 0; margin: 26px auto 0; max-width: 520px; position: relative; }
.seq::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 40px; width: 2px; background: rgba(15,147,134,.22); }
.seq li { position: relative; display: flex; gap: 16px; align-items: center; padding: 11px 0; }
.seq .seq-ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-dark); flex: 0 0 auto; z-index: 1; }
.seq li.seq-final .seq-ico { background: var(--brand); border-color: var(--brand); color: #fff; }
.seq li.seq-final { font-weight: 700; color: var(--brand-dark); }
.seq .seq-txt { font-weight: 550; }

/* Central Forever ID product component */
.fid-hero { max-width: 440px; margin: 26px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); }
.fid-hero .fid-crest { width: 54px; height: 54px; border-radius: 16px; background: var(--mint); color: var(--brand-dark); display: grid; place-items: center; margin: 0 auto 14px; }
.fid-hero .fid-crest .lucide { width: 26px; height: 26px; }
.fid-hero .fid-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fid-hero .fid-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.6rem; font-weight: 700; letter-spacing: .06em; color: var(--brand-dark); margin: 2px 0; }
.fid-hero .fid-pet { font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.fid-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.fid-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-pill); background: var(--mint); color: var(--brand-dark); font-weight: 600; font-size: .84rem; }
.fid-chip .lucide { width: 15px; height: 15px; }

/* Microchip flow — breathes directly on the page (no enclosing card) */
.flow-plain { margin-top: 26px; }

/* Four benefits — borderless columns on mint */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 8px; }
.benefit .b-ico { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-dark); margin-bottom: 14px; }
.benefit h3 { font-size: 1.08rem; margin-bottom: 4px; }
.benefit p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }

/* Section heading block */
.head-center { max-width: 640px; margin: 0 auto 34px; text-align: center; }

/* ================= Homepage v3 — animals hero, digital ID, radial network ================= */
/* Animals-only hero lineup sits directly on the page (transparent PNG). */
.animals-lineup { max-width: 1000px; margin: 8px auto 0; }
.animals-lineup img { width: 100%; height: auto; display: block; }

/* Stronger microchip-flow arrows */
.flow-arrow { color: var(--brand); opacity: .9; width: 24px; height: 24px; stroke-width: 2.25; }

/* Category coverage pills reuse .species-row */

/* ---- Digital Forever ID card ---- */
.id-card { max-width: 430px; margin: 26px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.id-card__head { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.id-card__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.65); background: #fff; flex: 0 0 auto; }
.id-card__who { min-width: 0; }
.id-card__name { font-weight: 800; font-size: 1.25rem; line-height: 1.05; }
.id-card__breed { font-size: .82rem; opacity: .9; }
.id-card__id { margin-left: auto; text-align: right; }
.id-card__id .l { font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.id-card__id .v { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .03em; font-size: .95rem; }
.id-card__body { padding: 6px 20px 16px; }
.id-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.id-row:last-child { border-bottom: 0; }
.id-row > .lucide { color: var(--brand-dark); }
.id-k { color: var(--muted); font-size: .92rem; }
.id-v { margin-left: auto; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.id-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 700; }
.id-status.ok { background: var(--mint); color: var(--brand-dark); }
.id-status.ready { background: #fff0ed; color: var(--accent-dark); }
.id-status .lucide { width: 13px; height: 13px; }

/* ---- Benefit cards ---- */
.benefit-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.benefit-card .b-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--mint); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 16px; }
.benefit-card .b-ico .lucide { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.benefit-card p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .benefit-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .benefit-cards { grid-template-columns: 1fr; } }

/* ---- Radial network (ecosystem) ---- */
.orbit { position: relative; width: min(560px, 96vw); aspect-ratio: 1 / .82; margin: 12px auto 0; }
.orbit__ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 62%; aspect-ratio: 1; border: 2px dashed rgba(15,147,134,.30); border-radius: 50%; }
.orbit__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 104px; height: 104px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.orbit__hub img { width: 62px; height: 62px; }
.orbit__node { position: absolute; transform: translate(-50%,-50%); }
.orbit__node .partner { box-shadow: var(--shadow); white-space: nowrap; }
.orbit-fallback { display: none; }
@media (max-width: 720px) {
    .orbit { display: none; }
    .orbit-fallback { display: flex; }
}

/* ================= Try-an-example chip (finder / lookup search) ================= */
.example-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.example-line > .lucide { width: 16px; height: 16px; color: var(--brand); }
.example-chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700;
    letter-spacing: .03em; color: var(--brand-dark);
    background: var(--mint); border: 1px dashed rgba(15,147,134,.45);
    padding: 5px 12px; border-radius: var(--radius-pill); cursor: pointer; text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .06s ease;
}
.example-chip:hover { background: #d7f0ea; border-color: var(--brand); text-decoration: none; }
.example-chip:active { transform: translateY(1px); }

/* ================= Top brand-story banner (homepage hero) ================= */
.hero-lead { padding: 22px 0 30px; }
.hero-banner-art { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
/* Feathered edges blend into the page background — no frame or shadow needed. */
.hero-banner-art-img { width: 100%; height: auto; display: block; }
.hero-lead h1 { margin-top: 24px; }
@media (max-width: 640px) {
    .hero-lead { padding: 12px 0 22px; }
    .hero-banner-art { padding: 0 12px; }
}

/* ================= New brand logo + footer tagline lockup ================= */
.brand-logo { width: 40px; height: 40px; }
.footer-lockup { width: 100%; max-width: 300px; height: auto; display: block; margin-bottom: 4px; }

/* ================= Mobile hamburger menu ================= */
.nav-toggle {
    display: none; margin-left: auto; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: transparent; color: #fff;
    border-radius: 12px; cursor: pointer;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle .lucide { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

.mobile-menu {
    position: fixed; top: 66px; left: 0; right: 0; z-index: 39;
    background: var(--forest); border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px 20px 18px; display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: rgba(255,255,255,.9); padding: 14px 4px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a:not(.btn):hover { color: #fff; text-decoration: none; }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }
.mobile-menu .btn:hover { color: #fff; }

/* Below the desktop nav breakpoint: swap the inline nav-right for the hamburger. */
@media (max-width: 860px) {
    .site-header .nav-right { display: none; }
    .nav-toggle { display: inline-flex; }
}
@media (min-width: 861px) {
    .mobile-menu { display: none !important; }
}

/* ================= Hero: three emotional paths + elevated demo CTA ================= */
.hero-paths { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.hero-paths .btn { min-width: 190px; }
@media (max-width: 560px) {
    .hero-paths { flex-direction: column; align-items: stretch; }
    .hero-paths .btn { min-width: 0; width: 100%; }
}

.demo-cta {
    display: inline-flex; align-items: center; gap: 14px; margin: 22px auto 0; max-width: 520px;
    text-align: left; background: var(--mint); border: 1px solid rgba(15,147,134,.28);
    border-radius: var(--radius-lg); padding: 14px 18px; color: var(--ink);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.demo-cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand); }
.demo-cta__ico { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--brand-dark); display: grid; place-items: center; flex: 0 0 auto; }
.demo-cta__ico .lucide { width: 22px; height: 22px; }
.demo-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.demo-cta__text strong { color: var(--ink); }
.demo-cta__sub { color: var(--muted); font-size: .88rem; }
.demo-cta > .lucide { color: var(--brand-dark); margin-left: auto; flex: 0 0 auto; }

/* ================= Plans / pricing ================= */
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -.02em; }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-price.sm { font-size: 1.1rem; margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-featured { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.plan-flag { position: absolute; top: -12px; right: 18px; background: var(--brand); color: #fff; padding: 4px 12px; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.plan-featured .icon-list .lucide { color: var(--accent-dark); }

/* ================= Live recovery: incident stats + sightings map ================= */
.incident-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 16px;
}
.istat { background: #fff; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.istat-k { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; }
.istat-k .lucide { width: 14px; height: 14px; }
.istat-v { font-weight: 700; font-size: 1.02rem; }
.istat-v.urgent { color: var(--urgent); }

.recovery-map-wrap { margin-bottom: 8px; }
#recovery-map { height: 320px; width: 100%; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 10px; color: var(--muted); font-size: .85rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.dot-lastseen { background: var(--brand); }
.dot-reported { background: var(--accent); }
.dot-confirmed { background: var(--brand-dark); }

/* ================= Impact counter (real reunions) ================= */
.impact-stat { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.impact-stat > .lucide { width: 30px; height: 30px; color: var(--accent); margin-bottom: 6px; }
.impact-num { font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 800; color: var(--brand-dark); letter-spacing: -.03em; line-height: 1; }
.impact-label { color: var(--muted); font-weight: 600; }

/* ================= Public emergency information block ================= */
.emergency-info { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.emergency-info .section-mini { display: flex; align-items: center; gap: 8px; color: var(--brand-dark); }
.emerg-grid { margin: 0 0 10px; display: grid; gap: 2px; }
.emerg-row { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.emerg-row:last-child { border-bottom: 0; }
.emerg-row dt { flex: 0 0 130px; color: var(--muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 7px; }
.emerg-row dt .lucide { width: 15px; height: 15px; }
.emerg-row dd { margin: 0; font-weight: 650; }
.emerg-row.alert dd { color: var(--urgent); }
.emerg-row.alert dt { color: var(--urgent); }
@media (max-width: 460px) { .emerg-row { flex-direction: column; gap: 2px; } .emerg-row dt { flex-basis: auto; } }

/* ================= Found Pet Command Center (recovery /p/) ================= */
/* Reassurance line under the hero photo */
.rec-heart { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 700; color: var(--ink); max-width: 30ch; margin: 18px auto 6px; line-height: 1.3; }
.rec-heart .lucide { color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; }

/* Prominent injured / in-danger bar — sits at the top of the action zone */
.danger-bar { border: 1px solid #f3c7c4; background: var(--urgent-soft); border-radius: var(--radius); margin: 18px 0; overflow: hidden; }
.danger-bar > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 14px 16px; font-weight: 700; color: var(--urgent); }
.danger-bar > summary::-webkit-details-marker { display: none; }
.danger-face { display: inline-flex; align-items: center; gap: 9px; }
.danger-face .lucide { flex: 0 0 auto; }
.danger-cta { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--urgent); padding: 6px 12px; border-radius: var(--radius-pill); }
.danger-cta .lucide { width: 15px; height: 15px; transition: transform .18s ease; }
.danger-bar[open] .danger-cta .lucide { transform: rotate(180deg); }
.danger-body { padding: 2px 8px 8px; }

/* Primary CTA + secondary choice chips */
.choice-lead { text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem; margin: 18px 0 10px; }
.choice-row { display: grid; gap: 10px; margin-bottom: 22px; }
.choice-chip { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 650; box-shadow: var(--shadow); }
.choice-chip .lucide { color: var(--brand-dark); width: 18px; height: 18px; flex: 0 0 auto; }
.choice-chip:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.choice-chip:target { scroll-margin-top: 16px; }

/* Safety Information — PUBLIC high-level flags */
.safety-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.safety-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 0 0 12px; color: var(--ink); }
.safety-title .lucide { color: var(--gold); }
.safety-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 9px; }
.safety-list li { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.safety-list li .lucide { color: var(--brand-dark); width: 18px; height: 18px; flex: 0 0 auto; }
.safety-list li.alert { color: var(--urgent); }
.safety-list li.alert .lucide { color: var(--urgent); }
.safety-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* Connect / panel headers */
.help-sub { color: var(--muted); font-size: .92rem; margin: -6px 0 16px; }
.help-title { display: flex; align-items: center; gap: 9px; }
.help-title .lucide { color: var(--brand-dark); }
.help-label .lucide { width: 15px; height: 15px; vertical-align: -2px; margin-right: 2px; }

/* Collapsible action panels (safe location / sighting) */
.panel-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); margin: 14px 0; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 16px; }
.panel-card > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 650; color: var(--ink); }
.panel-card > summary::-webkit-details-marker { display: none; }
.panel-card > summary > .lucide:first-child { color: var(--brand-dark); flex: 0 0 auto; }
.panel-card > summary .chev { margin-left: auto; color: var(--muted); width: 18px; height: 18px; transition: transform .18s ease; }
.panel-card[open] > summary .chev { transform: rotate(180deg); }
.panel-body { padding: 0 18px 18px; }
.safe-links { display: grid; gap: 4px; margin: 12px 0; }

/* Emergency Veterinary Information — LOCKED */
.vetlock-card { position: relative; border: 1px dashed #cbd8d4; background: linear-gradient(180deg, #fff, var(--brand-soft)); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.vetlock-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.vetlock-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--ink); }
.vetlock-title .lucide { color: var(--brand-dark); }
.vetlock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-dark); background: var(--mint); padding: 5px 10px; border-radius: var(--radius-pill); }
.vetlock-badge .lucide { width: 14px; height: 14px; }
.vetlock-list { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 9px; }
.vetlock-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.vetlock-list li .lucide { color: var(--brand-dark); width: 17px; height: 17px; flex: 0 0 auto; }

/* ================= Register — "Create a Forever ID" wizard ================= */
.reg-section { padding-top: 30px; }
.reg-intro { margin-bottom: 26px; }
.reg-lede { max-width: 56ch; margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Split layout: form + sticky live preview */
.reg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; max-width: 1000px; margin: 0 auto; }
.reg-main { min-width: 0; }
@media (max-width: 900px) { .reg-layout { grid-template-columns: 1fr; } .reg-aside { order: -1; } }

/* Progress header */
.wiz-head { margin-bottom: 14px; }
.wiz-titles { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.wiz-title { font-weight: 750; font-size: 1.15rem; color: var(--ink); }
.wiz-progress-meta { color: var(--muted); font-size: .85rem; font-weight: 600; }
.wiz-progress-meta .dot { margin: 0 5px; }
.wiz-bar { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 10px; }
.wiz-bar-fill { display: block; height: 100%; width: 25%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); transition: width .3s ease; }

/* Steps */
.wizard .step-h { font-size: 1.3rem; margin: 0 0 4px; }
.wizard .step-sub { color: var(--muted); margin: 0 0 20px; }
.wizard .mini-h { font-size: 1.05rem; margin: 0 0 8px; }
.sub-label { display: block; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 16px 0 8px; }
.input-error { border-color: var(--urgent) !important; box-shadow: 0 0 0 3px var(--urgent-soft) !important; }

.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.wiz-nav .btn .lucide { width: 18px; height: 18px; }

/* Private contact block */
.private-block { background: var(--brand-soft); border: 1px solid #d5ebe6; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 4px; }
.private-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-dark); margin-bottom: 4px; }
.private-head .lucide { width: 17px; height: 17px; }
.private-note { color: var(--muted); font-size: .86rem; margin: 0 0 14px; }
.private-block .field:last-child { margin-bottom: 0; }

/* Photo drop zone */
.photo-drop { display: block; position: relative; border: 2px dashed #cbd8d4; border-radius: var(--radius); background: #fff; padding: 22px; cursor: pointer; text-align: center; transition: border-color .15s ease, background .15s ease; }
.photo-drop:hover, .photo-drop.drag { border-color: var(--brand); background: var(--brand-soft); }
.photo-drop-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); }
.photo-drop-empty .lucide { width: 30px; height: 30px; color: var(--brand-dark); margin-bottom: 4px; }
.photo-drop-primary { font-weight: 650; color: var(--ink); }
.photo-drop-hint { font-size: .82rem; }
.photo-drop-preview { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.photo-drop-preview img { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.photo-change { font-size: .85rem; font-weight: 650; color: var(--brand-dark); }
.hint .lucide { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; color: var(--brand-dark); }

/* Segmented (yes/no/unsure) */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt span { display: block; text-align: center; padding: 11px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 600; cursor: pointer; }
.seg-opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); box-shadow: var(--ring); }

/* Option grids (temperament / handling) */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 550; }
.opt input { width: auto; margin: 0; flex: 0 0 auto; }
.opt span { line-height: 1.2; }
.opt:hover { border-color: #cdddd8; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
@media (max-width: 560px) { .opt-grid, .seg { grid-template-columns: 1fr; } }

/* What-you-get card */
.next-card { border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--brand-soft)); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.next-head { display: flex; align-items: center; gap: 8px; font-weight: 750; color: var(--ink); margin-bottom: 12px; }
.next-head .lucide { color: var(--brand-dark); }
.next-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.next-list li { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.next-list li .lucide { width: 18px; height: 18px; color: var(--brand-dark); flex: 0 0 auto; }

/* Live profile preview */
.pv-sticky { position: sticky; top: 90px; }
.pv-cap { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.pv-cap .lucide { width: 15px; height: 15px; }
.pv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; text-align: center; }
.pv-photo { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 12px; background: var(--brand-soft) center/cover no-repeat; display: grid; place-items: center; color: var(--brand-dark); }
.pv-photo .lucide { width: 40px; height: 40px; }
.pv-photo.has-photo .lucide { display: none; }
.pv-name { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.pv-meta { color: var(--muted); font-size: .9rem; margin-top: 2px; min-height: 1.2em; }
.pv-flags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.pv-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 650; background: var(--mint); color: var(--brand-dark); }
.pv-chip .lucide { width: 13px; height: 13px; }
.pv-chip.warn { background: #fff8e6; color: #8a6d1a; }
.pv-chip.ok { background: var(--mint); color: var(--brand-dark); }
.pv-found { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pv-found-h { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.pv-found-btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem; }
.pv-found-btn .lucide { width: 16px; height: 16px; }
.pv-fid { margin-top: 14px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.pv-note { display: flex; align-items: center; gap: 7px; justify-content: center; color: var(--muted); font-size: .8rem; margin-top: 12px; }
.pv-note .lucide { width: 14px; height: 14px; }

/* ================= Safe Handoff pass + check-in ================= */
.status-safe { background: #e6f6ec; color: #0f7a3d; }
.status-safe .lucide { color: #0f9d55; }

.handoff-pass { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; margin: 8px 0 20px; }
.ho-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ho-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--accent); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.ho-badge .lucide { width: 15px; height: 15px; }
.ho-brand { font-weight: 800; color: var(--brand-dark); letter-spacing: -.01em; }
.ho-brand em { font-style: normal; color: var(--ink); }

.ho-hero { display: flex; gap: 16px; align-items: center; padding: 18px 0; }
.ho-photo { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; background: var(--brand-soft); flex: 0 0 auto; box-shadow: var(--shadow); }
.ho-name { font-size: 1.8rem; margin: 0; }
.ho-meta { color: var(--muted); margin: 2px 0 8px; }
.ho-family { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); margin: 0; }
.ho-family .lucide { color: var(--accent); width: 17px; height: 17px; }

.ho-idrow { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px; background: var(--brand-soft); border-radius: var(--radius); }
.ho-idlabel { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ho-idvalue { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.5rem; font-weight: 700; letter-spacing: .05em; color: var(--brand-dark); }
.ho-chip { display: inline-flex; align-items: center; gap: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; color: var(--ink); margin-top: 6px; }
.ho-chip .lucide { width: 15px; height: 15px; color: var(--brand-dark); }
.ho-scan-note { font-size: .82rem; color: var(--muted); margin-top: 8px; max-width: 34ch; }
.ho-qr { flex: 0 0 auto; width: 116px; height: 116px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: var(--shadow); }
.ho-qr svg { width: 100%; height: 100%; display: block; }

.ho-safety { margin-top: 16px; }
.ho-safety-h { display: flex; align-items: center; gap: 8px; font-weight: 750; color: var(--ink); margin-bottom: 10px; }
.ho-safety-h .lucide { color: var(--gold); }
.ho-safety-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ho-safety-list li { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.ho-safety-list li .lucide { width: 17px; height: 17px; color: var(--brand-dark); flex: 0 0 auto; }
.ho-safety-list li.alert { color: var(--urgent); }
.ho-safety-list li.alert .lucide { color: var(--urgent); }
.ho-instructions { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.ho-instructions .lucide { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.ho-foot { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.ho-foot .lucide { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: var(--brand-dark); }
@media (max-width: 460px) {
    .ho-hero { flex-direction: column; text-align: center; }
    .ho-idrow { flex-direction: column; text-align: center; }
    .ho-scan-note { max-width: none; }
}

.checkin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; margin: 20px 0; }
.checkin-card.safe { border-color: #bfe6cd; background: linear-gradient(180deg, #fff, #eefbf2); }
.checkin-title { display: flex; align-items: center; gap: 9px; font-size: 1.15rem; margin: 0 0 4px; }
.checkin-title .lucide { color: var(--brand-dark); }
.ho-facility { display: grid; gap: 8px; margin: 14px 0; }
.ho-facility > div { display: flex; gap: 12px; }
.ho-facility dt { flex: 0 0 96px; color: var(--muted); font-size: .85rem; margin: 0; }
.ho-facility dd { margin: 0; font-weight: 650; }
.ho-actions { display: grid; gap: 10px; margin: 16px 0 8px; }

/* Print: show only the pass, drop chrome/forms/buttons */
.no-print { }
@media print {
    header, footer, .no-print { display: none !important; }
    .recovery { padding: 0; }
    .handoff-pass { border: 1px solid #999; box-shadow: none; margin: 0; }
    .ho-qr { box-shadow: none; }
    a[href]:after { content: ""; }
}

/* ================= Recovery Partner console ================= */
.partner-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.partner-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); }
.partner-badge .lucide { width: 15px; height: 15px; }
.partner-name { font-size: 1.7rem; margin: 4px 0 2px; }
.verified-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--mint); color: var(--brand-dark); font-weight: 700; font-size: .82rem; white-space: nowrap; flex: 0 0 auto; }
.verified-chip .lucide { width: 15px; height: 15px; }

.scan-card, .result-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }
.scan-card .section-mini { display: flex; align-items: center; gap: 8px; color: var(--brand-dark); }
.scan-form { display: flex; gap: 10px; margin-bottom: 8px; }
.scan-form input { flex: 1 1 auto; margin: 0; }
.scan-form .btn { flex: 0 0 auto; }
@media (max-width: 480px) { .scan-form { flex-direction: column; } }

.result-top { display: flex; gap: 14px; align-items: center; }
.result-photo { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; background: var(--brand-soft); flex: 0 0 auto; }
.result-name { font-size: 1.35rem; margin: 0; }
.result-meta { color: var(--muted); margin: 2px 0 8px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.rtag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--bg); border: 1px solid var(--line); font-size: .82rem; font-weight: 650; }
.rtag .lucide { width: 13px; height: 13px; }
.rtag-ok { background: var(--mint); color: var(--brand-dark); border-color: transparent; }
.rtag-lost { background: var(--urgent-soft); color: var(--urgent); border-color: transparent; }
.rtag-safe { background: #e6f6ec; color: #0f7a3d; border-color: transparent; }

.result-alert { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--urgent-soft); color: var(--urgent); font-weight: 600; }
.result-alert .lucide { flex: 0 0 auto; }
.result-safe { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); background: #e6f6ec; color: #0f7a3d; font-weight: 600; }
.result-safe .lucide { flex: 0 0 auto; }

.passport { margin-top: 16px; border: 1px solid #cfe8e2; border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--brand-soft)); padding: 16px 18px; }
.passport-h { display: flex; align-items: center; gap: 8px; font-weight: 750; color: var(--brand-dark); margin-bottom: 10px; }
.passport-unlocked { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #0f7a3d; background: #e6f6ec; padding: 4px 9px; border-radius: var(--radius-pill); }
.passport-unlocked .lucide { width: 13px; height: 13px; }
.passport-grid { margin: 0; display: grid; gap: 2px; }
.passport-grid > div { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.passport-grid > div:last-child { border-bottom: 0; }
.passport-grid dt { flex: 0 0 120px; color: var(--muted); font-size: .85rem; margin: 0; }
.passport-grid dd { margin: 0; font-weight: 650; }
.passport-grid .alert dt, .passport-grid .alert dd { color: var(--urgent); }
@media (max-width: 460px) { .passport-grid > div { flex-direction: column; gap: 1px; } .passport-grid dt { flex-basis: auto; } }

.checkin-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.checkin-log li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkin-log li:last-child { border-bottom: 0; }
.checkin-log .lucide { width: 17px; height: 17px; color: #0f9d55; flex: 0 0 auto; }
.checkin-log .ci-name { font-weight: 700; }
.checkin-log .ci-when { color: var(--muted); font-size: .84rem; }
.checkin-log .ci-link { margin-left: auto; font-size: .82rem; color: var(--brand-dark); }

/* ================= Owner recovery center ================= */
.orc-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.orc-head-id { display: flex; align-items: center; gap: 14px; }
.orc-photo { width: 66px; height: 66px; border-radius: 16px; object-fit: cover; background: var(--brand-soft); flex: 0 0 auto; }
.orc-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); }
.orc-eyebrow .lucide { width: 15px; height: 15px; }
.orc-name { font-size: 1.7rem; margin: 3px 0 2px; }

.orc-hero { position: relative; border-radius: var(--radius-lg); padding: 26px 24px; text-align: center; margin-bottom: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.orc-hero h2 { font-size: 1.6rem; margin: 6px 0 4px; }
.orc-hero-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto; }
.orc-hero-ico .lucide { width: 28px; height: 28px; }
.orc-hero-sub { color: var(--ink); font-weight: 600; }
.orc-safe { background: linear-gradient(180deg, #fff, #eefbf2); border-color: #bfe6cd; }
.orc-safe .orc-hero-ico { background: #e6f6ec; color: #0f9d55; }
.orc-safe h2 { color: #0f7a3d; }
.orc-safe-dot { position: absolute; top: 18px; right: 18px; width: 12px; height: 12px; border-radius: 50%; background: #0f9d55; box-shadow: 0 0 0 rgba(15,157,85,.5); animation: orcpulse 2s infinite; }
@keyframes orcpulse { 0% { box-shadow: 0 0 0 0 rgba(15,157,85,.5); } 70% { box-shadow: 0 0 0 12px rgba(15,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(15,157,85,0); } }
.orc-home { background: linear-gradient(180deg, #fff, #fff5e6); border-color: #f2dea0; }
.orc-home .orc-hero-ico { background: #fff2d6; color: #c98a12; }
.orc-lost { background: linear-gradient(180deg, #fff, var(--urgent-soft)); border-color: #f3c7c4; }
.orc-lost .orc-hero-ico { background: var(--urgent-soft); color: var(--urgent); }
.orc-lost h2 { color: var(--urgent); }
.orc-calm .orc-hero-ico { background: var(--brand-soft); color: var(--brand-dark); }

.orc-facility { text-align: left; max-width: 380px; margin: 18px auto 4px; display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.orc-fac-row { display: flex; gap: 11px; align-items: center; }
.orc-fac-row .lucide { width: 18px; height: 18px; color: var(--brand-dark); flex: 0 0 auto; }
.orc-fac-row strong { display: block; font-size: .95rem; }
.orc-fac-row span { color: var(--muted); font-size: .85rem; }
.orc-actions { display: grid; gap: 10px; max-width: 380px; margin: 18px auto 0; }

.orc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 720px) { .orc-grid { grid-template-columns: 1fr; } }
.orc-grid .card { padding: 20px; }
.orc-grid .section-mini { display: flex; align-items: center; gap: 8px; }

.orc-timeline { list-style: none; padding: 0; margin: 0; }
.orc-timeline li { display: flex; gap: 12px; padding: 0 0 16px; position: relative; }
.orc-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.orc-tl-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; flex: 0 0 auto; z-index: 1; }
.orc-tl-ico .lucide { width: 16px; height: 16px; }
.orc-timeline li.hl .orc-tl-ico { background: #e6f6ec; color: #0f9d55; }
.orc-tl-text { font-weight: 600; }
.orc-tl-time { color: var(--muted); font-size: .82rem; margin-top: 1px; }

.orc-alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.orc-alerts li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.orc-alerts li:last-child { border-bottom: 0; }
.orc-al-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; flex: 0 0 auto; }
.orc-al-ico .lucide { width: 16px; height: 16px; }
.orc-alerts li.urgent .orc-al-ico { background: var(--urgent-soft); color: var(--urgent); }
.orc-al-title { font-weight: 700; }
.orc-al-text { color: var(--muted); font-size: .88rem; margin-top: 1px; }
.orc-al-time { color: var(--muted); font-size: .8rem; margin-top: 3px; }

/* ================= Account dashboard ================= */
.push-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    background: var(--brand-soft); border: 1px solid #d5ebe6; border-left: 5px solid var(--brand); border-radius: var(--radius); padding: 14px 16px; }
.push-bar .lucide { color: var(--brand-dark); flex: 0 0 auto; }
.push-bar strong { color: var(--ink); }
.push-bar .btn.is-on { background: var(--mint); color: var(--brand-dark); box-shadow: none; cursor: default; }
.verify-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    background: #fff8e6; border: 1px solid #f2dea0; border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 14px 16px; }
.verify-bar .lucide { color: #b9770a; flex: 0 0 auto; }
.verify-bar strong { color: var(--ink); }
.verify-bar form { flex: 0 0 auto; }
.acct-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.acct-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.acct-bar .section-mini { text-transform: uppercase; }
.pet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.pet-card { display: flex; flex-direction: column; gap: 14px; }
.pet-card__head { display: flex; gap: 13px; align-items: flex-start; }
.pet-card__head img, .pet-card__ph { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.pet-card__ph { background: var(--mint); color: var(--brand-dark); display: grid; place-items: center; }
.pet-card__ph .lucide { width: 26px; height: 26px; }
.pet-card .badge { margin-top: 6px; }
.pet-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ================= ForeverMicro+ launch waitlist ================= */
.waitlist-form { display: flex; gap: 8px; }
.waitlist-form input { flex: 1 1 auto; margin: 0; }
.waitlist-form .btn { flex: 0 0 auto; }
@media (max-width: 420px) { .waitlist-form { flex-direction: column; } }

/* ================= Owner perks / partner offers ================= */
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.offer-insurance { border-left: 5px solid var(--brand); background: linear-gradient(180deg, #fff, var(--brand-soft)); }
.offer-inline { box-shadow: none; }
.offer-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); }
.offer-badge .lucide { width: 15px; height: 15px; }
.offer-head { font-size: 1.3rem; margin: 8px 0 6px; }
.offer-desc { color: var(--muted); margin: 0 0 14px; }
.offer-bullets { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.offer-bullets li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.offer-bullets li .lucide { width: 18px; height: 18px; color: #0f9d55; flex: 0 0 auto; }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.offer-partner { color: var(--muted); font-size: .85rem; margin-top: 10px; }
.offer-inline .offer-partner { margin-top: 0; }
.offer-disclosure { color: var(--muted); font-size: .78rem; line-height: 1.5; margin: 12px 0 0; max-width: 60ch; }
.offer-soon { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--radius); background: var(--mint); color: var(--brand-dark); font-weight: 650; font-size: .9rem; }
.offer-soon .lucide { width: 17px; height: 17px; }
.offer-soon-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.offer-soon-inline .lucide { width: 15px; height: 15px; }

/* ================= Lost Pet flyer (printable) ================= */
.flyer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    background: var(--brand-soft); border: 1px solid #d5ebe6; border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }
.flyer-toolbar > div { display: flex; flex-direction: column; }

.flyer { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 26px 30px 20px; margin: 0 auto 30px; max-width: 760px; text-align: center; color: #111; }
.flyer-banner { background: #d81f2a; color: #fff; font-weight: 900; font-size: clamp(2.2rem, 8vw, 3.4rem); letter-spacing: .08em; padding: 8px 10px; border-radius: 6px; }
.flyer-banner.found { background: #0f7a3d; }
.flyer-name { font-size: clamp(2.4rem, 9vw, 3.8rem); font-weight: 900; margin: 12px 0 6px; line-height: 1; }
.flyer-photo { width: 100%; max-width: 420px; max-height: 380px; object-fit: cover; border: 3px solid #111; border-radius: 6px; margin: 6px auto 12px; display: block; }
.flyer-meta { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.flyer-details { text-align: left; max-width: 460px; margin: 0 auto 12px; font-size: 1.02rem; line-height: 1.7; }
.flyer-details strong { display: inline-block; min-width: 108px; }
.flyer-message { font-style: italic; font-size: 1.1rem; color: #333; margin: 6px auto 14px; max-width: 500px; }

.flyer-cta { display: flex; align-items: center; gap: 18px; justify-content: center; border-top: 3px solid #111; border-bottom: 3px solid #111; padding: 14px 6px; margin: 8px 0 6px; }
.flyer-cta-text { text-align: left; }
.flyer-cta-head { font-size: 1.5rem; font-weight: 900; }
.flyer-cta-sub { font-size: .98rem; color: #333; max-width: 34ch; margin: 2px 0 8px; }
.flyer-url { font-weight: 800; font-size: 1.15rem; color: #0b6f66; word-break: break-all; }
.flyer-fid { font-family: ui-monospace, Menlo, Consolas, monospace; margin-top: 4px; }
.flyer-qr { flex: 0 0 auto; width: 150px; height: 150px; }
.flyer-qr svg { width: 100%; height: 100%; display: block; }

.flyer-tabs { display: flex; border-top: 2px dashed #999; margin-top: 14px; }
.flyer-tab { flex: 1 1 0; border-left: 1px dashed #999; padding: 8px 2px; font-size: .62rem; color: #0b6f66; font-weight: 700;
    writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; min-height: 118px; word-break: break-all; letter-spacing: .02em; }
.flyer-tab:first-child { border-left: 0; }
.flyer-tab span { display: block; color: #111; font-weight: 900; font-size: .8rem; margin-bottom: 4px; }
.flyer-foot { font-size: .72rem; color: #666; margin-top: 12px; }

@media print {
    header, .site-header, footer, .site-footer, .no-print { display: none !important; }
    body { background: #fff; }
    .container { max-width: none; padding: 0; }
    .flyer { border: 0; box-shadow: none; border-radius: 0; margin: 0; max-width: none; padding: 0; }
    .flyer-photo { max-height: 340px; }
    @page { margin: 0.4in; }
}

/* ================= ForeverAlert (nearby fan-out) ================= */
.orc-alert-stat { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: var(--radius-pill);
    background: var(--brand-soft); color: var(--brand-dark); font-weight: 650; font-size: .9rem; }
.orc-alert-stat .lucide { width: 16px; height: 16px; }

.nearby-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 2px; }
.nearby-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nearby-list li:last-child { border-bottom: 0; }
.nearby-list img, .nearby-ph { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.nearby-ph { background: var(--urgent-soft); color: var(--urgent); display: grid; place-items: center; }
.nearby-ph .lucide { width: 22px; height: 22px; }
.nearby-body { display: flex; flex-direction: column; min-width: 0; }
.nearby-name { font-weight: 700; }
.nearby-meta { color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; }
.nearby-dist { margin-left: auto; font-weight: 700; color: var(--urgent); font-size: .85rem; white-space: nowrap; flex: 0 0 auto; }

/* ================= Breeder litter dashboard ================= */
.litter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.litter-card { padding: 18px; }
.litter-card__head { display: flex; gap: 12px; align-items: center; }
.litter-card__head img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.litter-card__ph { width: 56px; height: 56px; border-radius: 14px; background: var(--mint); color: var(--brand-dark); display: grid; place-items: center; flex: 0 0 auto; }
.litter-card__ph .lucide { width: 26px; height: 26px; }
.litter-card__name { font-weight: 800; }

/* ================= Developer docs ================= */
.api-meta { width: 100%; border-collapse: collapse; }
.api-meta td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.api-meta tr:last-child td { border-bottom: 0; }
.api-meta td:first-child { color: var(--muted); width: 38%; font-size: .9rem; }
.code-block { background: var(--forest); color: #d7f0ea; border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.5; margin: 0 0 14px; }
.code-block + .code-block { margin-top: -4px; }
