/* PAWDUX marketing layer — scoped to body.mk. Loaded after style.css. */
body.mk {
  --mk-cream: #f8f5f0;
  --mk-sand: #efe8df;
  --mk-paper: #f8f5f0;
  --mk-ink: #24201c;
  --mk-muted: #5e5146;
  --mk-brown: #755637;
  --mk-brown-d: #5f3f20;
  --mk-gold: #a7835d;
  --mk-line: #ded6cc;
  --mk-serif: "Cormorant Garamond", Georgia, serif;
  --mk-sans: "DM Sans", system-ui, sans-serif;
  background: var(--mk-paper);
  color: var(--mk-ink);
  font-family: var(--mk-sans);
}
body.mk h1, body.mk h2, body.mk h3 { font-family: var(--mk-serif); font-weight: 500; letter-spacing: -0.01em; color: var(--mk-ink); }
body.mk :focus-visible { outline: 3px solid var(--mk-brown); outline-offset: 3px; border-radius: 6px; }
.mk-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--mk-ink); color: var(--mk-cream); padding: 10px 16px; border-radius: 8px; }
.mk-skip:focus { left: 8px; }

/* Header */
body.mk .mk-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 56px); background: rgba(251, 248, 243, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--mk-line); box-shadow: none; }
.mk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mk-ink); min-height: 44px; }
.mk-brand .header-logo-img { width: 40px; height: 40px; }
.mk-brand-name { font-family: var(--mk-sans); font-weight: 500; letter-spacing: 0.22em; font-size: 1.05rem; }
.mk-nav { display: flex; gap: 4px; margin-left: auto; }
.mk-nav a { color: var(--mk-ink); text-decoration: none; font-size: 0.92rem; padding: 12px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.mk-nav a:hover { color: var(--mk-brown); background: var(--mk-sand); }
.mk-account { display: flex; align-items: center; gap: 10px; }
body.mk .mk-account .header-session-link, body.mk .mk-account .header-ambassador-link { font-size: 0.85rem; min-height: 44px; display: inline-flex; align-items: center; }
.mk-account [hidden] { display: none !important; }
.header.has-owner-session [data-get-started] { display: none !important; }
@media (max-width: 1200px) {
  .mk-nav, .mk-account { display: none; }
  body.mk .nav-hamburger { display: flex; margin-left: auto; width: 44px; height: 44px; }
  body.mk .header .nav-menu { display: block !important; }
  body.mk .header .nav-menu:not(.open) { display: none !important; }
  body.mk .header .nav-menu.open { max-height: calc(100dvh - 64px); overflow-y: auto; }
  body.mk .nav-menu-item { min-height: 44px; display: flex; align-items: center; }
  body.mk .nav-menu-item.mk-getstarted { background: var(--mk-brown); color: var(--mk-cream); justify-content: center; margin-top: 6px; border-radius: 999px; }
}
@media (min-width: 1201px) { body.mk .nav-hamburger, body.mk .nav-menu { display: none !important; } }

/* Buttons */
.mk-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 500 0.95rem var(--mk-sans); text-decoration: none; cursor: pointer; border: 1.5px solid var(--mk-brown); transition: transform .2s ease, background-color .2s ease; }
body.mk a.mk-btn--solid, body.mk a.mk-btn--solid:visited, .mk-btn--solid { background: var(--mk-brown); color: #fbf6ee; }
body.mk a.mk-btn--solid:hover, body.mk a.mk-btn--solid:focus-visible, .mk-btn--solid:hover { background: var(--mk-brown-d); color: #fbf6ee; transform: translateY(-1px); }
body.mk a.mk-btn--ghost:visited { color: var(--mk-ink); }
.mk-btn--ghost { background: transparent; color: var(--mk-ink); border-color: var(--mk-ink); }
.mk-btn--ghost:hover { background: var(--mk-ink); color: var(--mk-cream); }
.mk-getstarted { min-height: 44px; padding: 10px 22px; }
.mk-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.mk-kicker { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 600; color: var(--mk-muted); margin: 0 0 12px; }

/* Hero */
.mk-hero { position: relative; min-height: min(86dvh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--mk-cream); }
.mk-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.mk-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,242,233,.92) 0%, rgba(248,242,233,.80) 34%, rgba(248,242,233,0) 62%); }
.mk-hero-copy { position: relative; z-index: 1; max-width: 600px; padding: 64px clamp(20px, 5vw, 72px); }
.mk-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 0.98; margin: 0 0 24px; }
.mk-hero h1 em { display: block; font-style: normal; color: var(--mk-brown); }
.mk-hero p { font-size: 1.12rem; line-height: 1.6; color: var(--mk-ink); max-width: 470px; margin: 0; }
.mk-reveal > * { animation: mkUp .9s cubic-bezier(.2,.7,.2,1) both; }
.mk-reveal > *:nth-child(2) { animation-delay: .12s; }
.mk-reveal > *:nth-child(3) { animation-delay: .24s; }
@keyframes mkUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 768px) {
  .mk-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .mk-hero-img { position: relative; height: 54vw; min-height: 240px; order: 2; }
  .mk-hero::after { display: none; }
  .mk-hero-copy { padding: 40px 20px 32px; }
}

/* Overview */
.mk-overview { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--mk-cream); border-bottom: 1px solid var(--mk-line); }
.mk-ov { padding: 40px 28px; text-align: center; border-right: 1px solid var(--mk-line); display: flex; flex-direction: column; align-items: center; }
.mk-ov:last-child { border-right: 0; }
.mk-ov-icon { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--mk-line); background: var(--mk-paper); display: grid; place-items: center; color: var(--mk-brown); margin-bottom: 16px; }
.mk-ov h2 { font-size: 1.6rem; margin: 0 0 8px; }
.mk-ov p { color: var(--mk-muted); font-size: 0.93rem; line-height: 1.55; margin: 0 0 14px; max-width: 240px; flex: 1; }
.mk-ov a { color: var(--mk-brown); font-weight: 500; font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
@media (max-width: 1024px) { .mk-overview { grid-template-columns: repeat(2, 1fr); } .mk-ov:nth-child(2) { border-right: 0; } .mk-ov:nth-child(-n+2) { border-bottom: 1px solid var(--mk-line); } }
@media (max-width: 560px) { .mk-overview { grid-template-columns: 1fr; } .mk-ov { border-right: 0; border-bottom: 1px solid var(--mk-line); } }

/* AI band */
.mk-ai { display: grid; grid-template-columns: 1.1fr 0.8fr 0.6fr; gap: 40px; align-items: center; padding: 80px clamp(20px, 5vw, 72px); background: linear-gradient(100deg, var(--mk-sand), var(--mk-cream)); }
.mk-ai h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.02; margin: 0 0 18px; }
.mk-ai-copy p:not(.mk-kicker) { color: var(--mk-muted); line-height: 1.6; max-width: 460px; }
.mk-ai-copy .mk-btn { margin-top: 12px; }
.mk-phone { margin: 0; justify-self: center; width: 100%; max-width: 290px; }
.mk-phone-screen { position: relative; background: var(--mk-paper); border: 9px solid #231b14; border-radius: 38px; padding: 34px 16px 22px; box-shadow: 0 30px 60px -28px rgba(60, 38, 18, .45); }
.mk-example { position: absolute; top: 10px; right: 14px; font-size: 0.68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: var(--mk-sand); color: var(--mk-brown-d); padding: 3px 9px; border-radius: 999px; }
.mk-phone-top { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 0.72rem; letter-spacing: .18em; font-weight: 600; margin-bottom: 14px; }
.mk-bub { font-size: 0.82rem; line-height: 1.45; border-radius: 14px; padding: 10px 12px; margin: 0 0 10px; }
.mk-bub--me { background: var(--mk-sand); margin-left: 28px; }
.mk-bub--ai { background: #fff9f1; border: 1px solid var(--mk-line); }
.mk-bub--ai p { margin: 0 0 6px; }
.mk-bub--ai ul { margin: 0 0 8px; padding-left: 18px; }
.mk-vet { font-weight: 600; color: var(--mk-brown-d); }
.mk-phone figcaption { font-size: 0.78rem; color: var(--mk-muted); text-align: center; margin-top: 14px; line-height: 1.45; }
.mk-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mk-topics li { background: rgba(251,248,243,.85); border: 1px solid var(--mk-line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.mk-topics strong { font-family: var(--mk-serif); font-size: 1.25rem; font-weight: 600; }
.mk-topics span { color: var(--mk-muted); font-size: 0.85rem; }
@media (max-width: 1024px) { .mk-ai { grid-template-columns: 1fr 1fr; } .mk-topics { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .mk-ai { grid-template-columns: 1fr; padding: 56px 20px; } .mk-topics { grid-template-columns: 1fr; } }

/* Care tiles */
.mk-care { padding: 80px clamp(20px, 5vw, 72px); background: var(--mk-paper); }
.mk-care-head { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: end; margin-bottom: 36px; }
.mk-care-head h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.02; margin: 0; }
.mk-care-head > p { color: var(--mk-muted); line-height: 1.6; margin: 0; }
.mk-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
body.mk .mk-tile { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; padding: 0; border: 0; cursor: pointer; background: var(--mk-sand); display: block; box-shadow: none; }
.mk-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mk-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,28,21,0) 50%, rgba(36,28,21,.72)); }
body.mk .mk-tile .cat-label { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fbf6ee; font-family: var(--mk-serif); font-size: 1.45rem; font-weight: 500; text-align: left; }
.mk-tile:hover img { transform: scale(1.05); }
@media (max-width: 1024px) { .mk-care-head { grid-template-columns: 1fr 1fr; } .mk-care-head .mk-btn { justify-self: start; } .mk-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .mk-care { padding: 56px 20px; } .mk-care-head { grid-template-columns: 1fr; gap: 16px; } .mk-tiles { grid-template-columns: repeat(2, 1fr); } }

/* FAQ teaser + pages */
.mk-faq-teaser { max-width: 820px; margin: 0 auto; padding: 72px 20px; }
.mk-faq-teaser h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); text-align: center; margin: 0 0 28px; }
.mk-faq-teaser .mk-btn { margin-top: 24px; }
body.mk .faq-item { background: var(--mk-cream); border: 1px solid var(--mk-line); border-radius: 12px; margin-bottom: 10px; }
body.mk .faq-question { min-height: 44px; padding: 18px 20px; font-family: var(--mk-sans); font-weight: 500; cursor: pointer; }
body.mk .faq-answer { padding: 0 20px 18px; color: var(--mk-muted); line-height: 1.6; }
body.mk .faq-answer p { margin: 0; }
body.mk .faq-answer a:not(.mk-btn), body.mk .mk-prose a:not(.mk-btn) { color: var(--mk-brown); text-underline-offset: 3px; }
body.mk .faq-answer a:not(.mk-btn):hover, body.mk .mk-prose a:not(.mk-btn):hover { color: var(--mk-brown-d); }
.mk-final { text-align: center; padding: 80px 20px; background: var(--mk-brown-d); }
body.mk .mk-final h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; color: #fbf6ee; }
body.mk .mk-final .mk-btn--solid, body.mk .mk-final .mk-btn--solid:visited { background: #fbf6ee; color: var(--mk-brown-d); border-color: #fbf6ee; }
body.mk .mk-final .mk-btn--solid:hover { background: var(--mk-sand); border-color: var(--mk-sand); color: var(--mk-ink); }
body.mk .mk-final .mk-btn--ghost, body.mk .mk-final .mk-btn--ghost:visited { background: transparent; color: #fbf6ee; border-color: #fbf6ee; }
body.mk .mk-final .mk-btn--ghost:hover { background: #fbf6ee; color: var(--mk-brown-d); }
body.mk .mk-final :focus-visible { outline-color: #fbf6ee; }
.mk-final .mk-actions { justify-content: center; }

.mk-page { max-width: 860px; margin: 0 auto; padding: 64px 20px 80px; }
.mk-page-head h1 { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; margin: 0 0 16px; }
.mk-lede { font-size: 1.15rem; color: var(--mk-muted); line-height: 1.6; }
.mk-prose h2, .mk-faq-group h2 { font-size: 1.8rem; margin: 40px 0 12px; }
.mk-prose p, .mk-prose li { line-height: 1.7; color: var(--mk-muted); }
.mk-prose li { margin-bottom: 8px; }
.mk-table { overflow-x: auto; border: 1px solid var(--mk-line); border-radius: 12px; }
.mk-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.mk-table th, .mk-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--mk-line); vertical-align: top; }
.mk-table th { background: var(--mk-cream); font-weight: 600; }
.mk-table tr:last-child td { border-bottom: 0; }

/* About */
.mk-hero--about .mk-hero-img { object-position: 65% center; }
.mk-hero--about .mk-lede { color: var(--mk-muted); }
.mk-about-does { background: var(--mk-cream); border-top: 1px solid var(--mk-line); }
.mk-about-title { font-size: clamp(2rem, 3.6vw, 2.8rem); text-align: center; margin: 0; padding: 56px 20px 8px; }
.mk-overview--list { list-style: none; margin: 0; padding: 0; }
.mk-ov h3 { font-size: 1.6rem; margin: 0 0 8px; }
.mk-about-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1080px; margin: 0 auto; padding: 72px 20px; }
.mk-about-note { background: var(--mk-cream); border: 1px solid var(--mk-line); border-radius: 14px; padding: 8px 28px 24px; }
.mk-about-note h2 { margin-top: 24px; }
@media (max-width: 768px) { .mk-about-notes { grid-template-columns: 1fr; padding: 48px 20px; } }

/* Footer */
body.mk .mk-footer { background: var(--mk-ink); color: #d9cbb7; padding: 48px 20px; text-align: center; }
body.mk .mk-footer a { color: #f3e8d8; }
body.mk .mk-footer .pawdux-cookie-links { color: #f3e8d8; }
.mk-footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px; }
.mk-footer-tag { font-family: var(--mk-serif); font-size: 1.4rem; font-style: italic; color: #f3e8d8; margin: 0; }
body.mk .mk-footer .footer-links a, .mk-linkbtn { display: inline-flex; align-items: center; min-height: 44px; }
.mk-linkbtn { background: none; border: 0; color: #f3e8d8; font: inherit; text-decoration: underline; cursor: pointer; padding: 0 4px; }

/* Native chat sections stay styled by style.css; align headings */
body.mk .wellbeing-section-wrap, body.mk .chat-section-wrap { scroll-margin-top: 80px; }

.mk-fade { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.mk-fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mk-fade, .mk-reveal > * { opacity: 1; transform: none; animation: none; transition: none; } }
