@font-face {
  font-family: Vazirmatn;
  src: url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Estedad;
  src: url('/assets/fonts/Estedad-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #132238;
  --navy-2: #233b58;
  --coral: #ff6b5e;
  --coral-dark: #e95145;
  --teal: #20c9b5;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --amber: #ffbe4f;
  --sky: #60bce9;
  --plum: #8e6bd8;
  --danger: #d63a4a;
  --ink-soft: #667283;
  --line: rgba(19, 34, 56, .1);
  --shadow: 0 18px 60px rgba(32, 43, 61, .1);
  --shadow-soft: 0 10px 30px rgba(32, 43, 61, .08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font: Vazirmatn, Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 88% 10%, rgba(255,107,94,.09), transparent 24rem),
    radial-gradient(circle at 5% 35%, rgba(32,201,181,.08), transparent 22rem),
    var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
h1, h2, h3, strong { font-family: Estedad, Vazirmatn, Tahoma, Arial, sans-serif; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(32,201,181,.5); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; right: 12px; padding: 10px 16px; background: var(--navy); color: white; border-radius: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.offline-bar { position: sticky; top: 0; z-index: 200; padding: 9px 20px; text-align: center; color: var(--navy); background: #ffd978; border-bottom: 1px solid rgba(19,34,56,.12); font-size: .86rem; }
.conn-strip {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 34px; padding: 6px 16px;
  color: #0a5c52;
  background: linear-gradient(90deg, #e8fff8, #f0fff6 40%, #e8f7ff);
  border-bottom: 1px solid color-mix(in srgb, #14b39f 22%, transparent);
  font: 700 .78rem/1.4 var(--font, inherit);
  letter-spacing: -.01em;
  transition: background .35s ease, color .35s ease, border-color .35s ease, opacity .25s ease;
}
.conn-strip[hidden] { display: none !important; }
.conn-strip__light {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: #14b39f;
  box-shadow: 0 0 0 0 color-mix(in srgb, #14b39f 55%, transparent);
  animation: conn-pulse 2.4s ease-out infinite;
}
.conn-strip.is-offline {
  color: #6b3a00;
  background: linear-gradient(90deg, #fff3cf, #ffe8b8 50%, #fff0d8);
  border-bottom-color: color-mix(in srgb, #e8a317 35%, transparent);
}
.conn-strip.is-offline .conn-strip__light {
  background: #e8a317;
  box-shadow: none;
  animation: none;
}
.conn-strip__label { font-weight: 800; }
.conn-strip__hint { color: inherit; opacity: .78; font-weight: 600; }
@keyframes conn-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, #14b39f 45%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .conn-strip__light { animation: none; }
}
.demo-bar { padding: 7px 20px; text-align: center; color: #5f3b00; background: #fff0c8; border-bottom: 1px solid rgba(95,59,0,.12); font-size: .78rem; }
.demo-bar strong { margin-inline-end: 6px; color: var(--navy); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,248,.86); border-bottom: 1px solid rgba(19,34,56,.06); backdrop-filter: blur(18px); }
.header-inner { width: min(1240px, calc(100% - 32px)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { border: 0; background: transparent; padding: 0; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(19,34,56,.15)); }
.brand span { display: grid; text-align: right; line-height: 1.05; }
.brand strong { font-size: 1.35rem; font-weight: 900; }
.brand small { margin-top: 4px; color: var(--ink-soft); font: 700 .62rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav-link { position: relative; border: 0; background: transparent; padding: 12px 11px; color: var(--ink-soft); cursor: pointer; font-size: .9rem; font-weight: 700; }
.nav-link::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; border-radius: 99px; background: var(--coral); transform: translateX(-50%) scale(0); transition: transform .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 7px; }
.icon-button, .login-button { position: relative; height: 43px; border: 1px solid var(--line); background: white; cursor: pointer; box-shadow: 0 5px 16px rgba(19,34,56,.05); }
.icon-button { width: 43px; border-radius: 15px; display: grid; place-items: center; }
.login-button { border-radius: 15px; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-weight: 800; }
.cart-count { position: absolute; top: -5px; left: -5px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; color: white; background: var(--coral); border: 2px solid white; border-radius: 99px; font-size: .65rem; font-weight: 900; }
.ping { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid white; background: var(--teal); border-radius: 50%; }

.page { display: none; min-height: calc(100vh - 78px); animation: fadeIn .32s ease both; }
.page.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } }
.home-grid { padding-block: 18px 120px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
.hero-card { grid-column: 1 / -1; min-height: 405px; position: relative; overflow: hidden; display: grid; grid-template-columns: .88fr 1.12fr; border: 1px solid rgba(19,34,56,.05); background: var(--cream); border-radius: 40px; box-shadow: var(--shadow); isolation: isolate; }
.hero-card::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; top: -90px; right: -60px; border-radius: 50%; background: rgba(255,107,94,.12); }
.hero-copy { padding: clamp(34px, 4vw, 50px); padding-inline-end: 26px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--coral-dark); font-size: .82rem; font-weight: 900; letter-spacing: -.01em; }
.eyebrow svg { width: 18px; }
.hero-copy h1, .page-title-row h1, .new-home-copy h1 { margin: 12px 0 16px; font-size: clamp(2.35rem, 4.45vw, 4rem); line-height: 1.14; letter-spacing: -.055em; font-weight: 950; }
.hero-copy h1 { font-size: clamp(2.35rem, 3.6vw, 3.25rem); }
.hero-copy h1 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 32rem; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.primary-button, .secondary-button, .add-button { border: 0; border-radius: 16px; cursor: pointer; font-weight: 900; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { min-height: 50px; padding: 0 22px; color: white; background: var(--coral); box-shadow: 0 12px 24px rgba(255,107,94,.25); }
.primary-button:hover, .add-button:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(255,107,94,.28); }
.primary-button:active, .add-button:active { transform: translateY(0); }
.primary-button.full { width: 100%; }
.secondary-button { min-height: 46px; padding: 0 20px; color: var(--navy); background: rgba(19,34,56,.07); }
.text-button { min-height: 48px; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 900; }
.text-button svg { width: 18px; transition: transform .2s; }
.text-button:hover svg { transform: translateX(-4px); }
.trust-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-soft); font-size: .82rem; }
.trust-row span { display: flex; align-items: center; gap: 5px; }
.trust-row svg { width: 17px; color: var(--teal); stroke-width: 2.4; }
.hero-art { position: relative; min-height: 405px; overflow: hidden; }
.hero-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.hero-art::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(to left, transparent, var(--cream)); }
.floating-note { position: absolute; z-index: 2; left: 24px; bottom: 26px; display: grid; gap: 1px; padding: 13px 17px; color: var(--navy); background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: 0 14px 35px rgba(19,34,56,.15); backdrop-filter: blur(12px); animation: float 4s ease-in-out infinite; }
.floating-note span { color: var(--coral-dark); font-size: .72rem; font-weight: 900; }
.floating-note strong { font-size: .86rem; }
@keyframes float { 50% { transform: translateY(-7px); } }

.quick-section { grid-column: 1 / -1; padding: 18px 4px 4px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading.compact { margin-bottom: 13px; }
.section-heading h2, .pet-summary h2, .birthday-card h2 { margin: 2px 0 0; font-size: 1.45rem; line-height: 1.35; letter-spacing: -.025em; }
.overline { color: var(--ink-soft); font-size: .72rem; font-weight: 900; letter-spacing: .02em; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.quick-card { min-height: 122px; border: 1px solid var(--line); background: white; border-radius: var(--radius-lg); padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .22s, box-shadow .22s; }
.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quick-card strong { margin-top: 8px; font-size: .95rem; }
.quick-card small { color: var(--ink-soft); font-size: .72rem; }
.quick-icon { width: 53px; height: 53px; display: grid; place-items: center; border-radius: 18px; color: white; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 18px rgba(19,34,56,.12); transform: rotate(-3deg); }
.quick-icon svg { width: 25px; height: 25px; }
.quick-card.coral .quick-icon { background: linear-gradient(145deg, #ff887e, var(--coral)); }
.quick-card.teal .quick-icon { background: linear-gradient(145deg, #55dccb, var(--teal)); }
.quick-card.navy .quick-icon { background: linear-gradient(145deg, #365779, var(--navy)); }
.quick-card.amber .quick-icon { background: linear-gradient(145deg, #ffd47d, var(--amber)); color: var(--navy); }
.quick-card.sky .quick-icon { background: linear-gradient(145deg, #8ad4f5, var(--sky)); }
.quick-card.plum .quick-icon { background: linear-gradient(145deg, #ad8ff0, var(--plum)); }

.today-card { padding: 25px; background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.pet-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; margin-bottom: 18px; }
.pet-summary > div:nth-child(2) > span { color: var(--coral-dark); font-size: .76rem; font-weight: 900; }
.pet-avatar, .big-pet-avatar { display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--coral), #ff9a7f); border: 4px solid #ffe5dd; border-radius: 50%; font-weight: 950; box-shadow: 0 9px 20px rgba(255,107,94,.22); }
.pet-avatar { width: 54px; height: 54px; font-size: 1.1rem; }
.tiny-link { border: 0; background: transparent; color: var(--coral-dark); padding: 8px; cursor: pointer; font-size: .8rem; font-weight: 900; }
.task-list { display: grid; gap: 8px; }
.task { width: 100%; border: 0; background: #f8f7f3; border-radius: 17px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; text-align: right; cursor: pointer; transition: background .2s; }
.task:hover { background: #f2f0e9; }
.task-check { width: 31px; height: 31px; display: grid; place-items: center; border: 2px solid rgba(19,34,56,.18); border-radius: 50%; color: transparent; }
.task-check svg { width: 16px; }
.task strong, .task small { display: block; }
.task strong { font-size: .9rem; }
.task small { color: var(--ink-soft); font-size: .73rem; }
.task em { color: var(--ink-soft); font-size: .72rem; font-style: normal; }
.task.is-done { opacity: .6; }
.task.is-done strong { text-decoration: line-through; }
.task.is-done .task-check { color: white; border-color: var(--teal); background: var(--teal); }
.birthday-card { position: relative; overflow: hidden; padding: 26px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--navy); background: linear-gradient(145deg, #ffd268, var(--amber)); border-radius: var(--radius-xl); box-shadow: 0 16px 36px rgba(255,190,79,.22); }
.birthday-icon { position: absolute; top: 22px; right: 24px; width: 59px; height: 59px; display: grid; place-items: center; color: var(--coral-dark); background: rgba(255,255,255,.76); border-radius: 21px; transform: rotate(7deg); }
.birthday-icon svg { width: 28px; height: 28px; }
.birthday-card p { margin: 4px 0 0; font-size: .86rem; opacity: .75; }
.circle-arrow { position: absolute; bottom: 25px; left: 24px; width: 44px; height: 44px; border: 0; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; cursor: pointer; }
.circle-arrow svg { width: 20px; }
.confetti { position: absolute; top: 18px; left: 25%; color: rgba(255,255,255,.8); font-size: 1.4rem; transform: rotate(18deg); }
.confetti.second { top: 36%; left: 11%; color: rgba(255,107,94,.55); font-size: .8rem; }

.recommendations { grid-column: 1 / -1; padding-top: 26px; }
.product-row, .shop-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); transition: transform .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-visual { position: relative; height: 165px; display: grid; place-items: center; overflow: hidden; }
.product-visual::before, .product-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.28); }
.product-visual::before { width: 120px; height: 120px; left: -30px; bottom: -45px; }
.product-visual::after { width: 66px; height: 66px; top: -20px; right: 18%; }
.product-visual > svg { width: 64px; height: 64px; color: rgba(19,34,56,.74); stroke-width: 1.25; filter: drop-shadow(0 12px 10px rgba(19,34,56,.1)); transform: rotate(-5deg); }
.coral-bg { background: linear-gradient(145deg, #ffe0d7, #ffc2b8); }
.teal-bg { background: linear-gradient(145deg, #d9fff8, #a8ebdf); }
.amber-bg { background: linear-gradient(145deg, #fff0c8, #ffdb83); }
.sky-bg { background: linear-gradient(145deg, #dff4ff, #b8def2); }
.product-label { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 9px; background: rgba(255,255,255,.78); border-radius: 99px; font-size: .65rem; font-weight: 900; backdrop-filter: blur(8px); }
.product-body { padding: 16px; }
.product-body > small { color: var(--ink-soft); font-size: .72rem; }
.product-body h3 { margin: 3px 0 12px; font-size: 1rem; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price strong { font-size: 1.05rem; }
.price span { color: var(--ink-soft); font-size: .67rem; }
.add-button { width: 100%; min-height: 42px; margin-top: 12px; color: white; background: var(--navy); box-shadow: 0 9px 18px rgba(19,34,56,.15); }
.add-button:hover { background: var(--coral); }
.article-strip { grid-column: 1 / -1; overflow: hidden; min-height: 270px; padding: clamp(28px, 5vw, 54px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 25px; color: white; background: var(--navy); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.article-main { max-width: 620px; }
.article-tag { display: inline-flex; padding: 6px 10px; color: var(--navy); background: var(--teal); border-radius: 99px; font-size: .7rem; font-weight: 900; }
.article-main h2 { margin: 14px 0 6px; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.3; }
.article-main p { margin: 0; color: rgba(255,255,255,.66); }
.text-button.light { color: white; margin-top: 15px; padding: 0; }
.article-fact { min-width: 170px; padding: 20px; display: grid; color: var(--navy); background: var(--cream); border-radius: 22px; transform: rotate(-2deg); }
.article-fact span { color: var(--coral-dark); font-size: .8rem; font-weight: 900; }
.article-fact strong { font-size: 1.15rem; }
.article-fact small { color: var(--ink-soft); font-size: .68rem; }
.home-footer { grid-column: 1 / -1; padding: 16px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: .78rem; }
.home-footer > div { display: grid; }
.home-footer strong { color: var(--navy); font-size: .9rem; }
.home-footer button { border: 1px solid var(--line); background: white; border-radius: 13px; padding: 10px 14px; cursor: pointer; font-weight: 800; }

.inner-page { padding-block: 48px 130px; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.page-title-row h1 { margin: 5px 0 8px; font-size: clamp(2.1rem, 4vw, 3.5rem); }
.page-title-row p { margin: 0; color: var(--ink-soft); }
.coral-text { color: var(--coral-dark); }.teal-text { color: #0f9b8a; }.navy-text { color: var(--navy); }.amber-text { color: #c78300; }.sky-text { color: #1878a6; }
.search-box { width: min(390px, 100%); min-height: 52px; padding: 0 15px; display: flex; align-items: center; gap: 9px; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-soft); }
.search-box svg { flex: 0 0 auto; color: var(--ink-soft); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--navy); }
.filter-row, .topic-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 16px; scrollbar-width: none; }
.filter-chip, .topic-row button { flex: 0 0 auto; border: 1px solid var(--line); background: white; border-radius: 99px; padding: 9px 16px; cursor: pointer; color: var(--ink-soft); font-weight: 800; }
.filter-chip.is-active, .topic-row button:first-child { color: white; background: var(--navy); border-color: var(--navy); }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.repeat-order { position: sticky; top: 105px; min-height: 310px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; background: var(--navy); color: white; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.repeat-order .mini-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--teal); color: var(--navy); border-radius: 18px; }
.repeat-order h2 { margin: 14px 0 6px; font-size: 1.4rem; line-height: 1.4; }
.repeat-order p, .repeat-order small { color: rgba(255,255,255,.65); }
.repeat-order p { margin: 0; font-size: .8rem; }
.repeat-order .primary-button { margin-top: auto; width: 100%; }
.shop-products { grid-template-columns: repeat(2, 1fr); }
.product-card[hidden] { display: none; }

.location-button { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: white; border-radius: 15px; display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 800; box-shadow: var(--shadow-soft); }
.location-button svg { color: var(--coral); }
.safety-banner { margin-bottom: 20px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #7c1826; background: #fff0f2; border: 1px solid rgba(214,58,74,.18); border-radius: var(--radius-md); }
.safety-banner strong { font-size: .85rem; }
.safety-banner button { flex: 0 0 auto; border: 0; color: white; background: var(--danger); border-radius: 12px; padding: 9px 13px; cursor: pointer; font-weight: 900; }
.vet-layout { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 20px; align-items: start; }
.intake-card, .timeline-card, .reminder-card { padding: 27px; background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.intake-card h2 { margin: 4px 0 20px; font-size: 1.5rem; }
.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.symptom-grid label { cursor: pointer; }
.symptom-grid input { position: absolute; opacity: 0; pointer-events: none; }
.symptom-grid span { min-height: 52px; display: grid; place-items: center; border: 1px solid var(--line); background: #faf9f6; border-radius: 14px; font-size: .82rem; font-weight: 800; }
.symptom-grid input:checked + span { color: #087a6d; background: rgba(32,201,181,.12); border-color: var(--teal); }
.field-label { margin-block: 18px; display: grid; gap: 7px; font-size: .8rem; font-weight: 900; }
.field-label select { min-height: 50px; padding-inline: 12px; border: 1px solid var(--line); color: var(--navy); background: white; border-radius: 14px; }
.medical-note { display: block; margin-top: 13px; color: var(--ink-soft); font-size: .7rem; line-height: 1.8; }
.vet-results { padding: 8px 0; }
.live-chip { padding: 6px 10px; color: #087a6d; background: rgba(32,201,181,.13); border-radius: 99px; font-size: .7rem; font-weight: 900; }
.vet-card { padding: 18px; margin-bottom: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.vet-avatar { width: 58px; height: 58px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--teal), #0e9f8e); border-radius: 19px; font-weight: 950; }
.vet-avatar.alt { background: linear-gradient(145deg, var(--coral), #e84f45); }
.vet-info > div:first-child { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.vet-info h3 { margin: 0; font-size: .95rem; }
.verified { color: #087a6d; font-size: .65rem; font-weight: 900; }
.vet-info p { margin: 2px 0 7px; color: var(--ink-soft); font-size: .76rem; }
.vet-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .68rem; font-weight: 800; }
.vet-card > button, .calendar-item > button { border: 0; background: rgba(19,34,56,.07); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: .76rem; font-weight: 900; }

.pet-dashboard { display: grid; grid-template-columns: 240px 1fr 1fr; gap: 18px; align-items: start; }
.pet-profile-card { padding: 27px 22px; text-align: center; color: white; background: var(--navy); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.big-pet-avatar { width: 94px; height: 94px; margin: 0 auto 12px; font-size: 2rem; border-width: 7px; }
.pet-profile-card h2 { margin: 0; font-size: 1.7rem; }
.pet-profile-card > p { margin: 1px 0 19px; color: rgba(255,255,255,.62); font-size: .76rem; }
.pet-profile-card dl { margin: 0 0 18px; display: grid; gap: 1px; overflow: hidden; background: rgba(255,255,255,.1); border-radius: 15px; }
.pet-profile-card dl div { padding: 9px 11px; display: flex; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.05); font-size: .72rem; }
.pet-profile-card dt { color: rgba(255,255,255,.58); }.pet-profile-card dd { margin: 0; font-weight: 900; }
.pet-profile-card .secondary-button { width: 100%; color: white; background: rgba(255,255,255,.12); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 28px 21px 0; }
.timeline li::before { content: ""; position: absolute; top: 13px; right: 6px; bottom: -3px; width: 1px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline-dot { position: absolute; top: 6px; right: 0; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 2px currentColor; }
.teal-dot { color: var(--teal); background: var(--teal); }.coral-dot { color: var(--coral); background: var(--coral); }.amber-dot { color: var(--amber); background: var(--amber); }
.timeline time { color: var(--ink-soft); font-size: .68rem; }
.timeline h3 { margin: 0; font-size: .9rem; }.timeline p { margin: 1px 0; color: var(--ink-soft); font-size: .73rem; }
.calendar-item { padding: 13px 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border-top: 1px solid var(--line); }
.calendar-item:first-of-type { border-top: 0; }
.date-tile { width: 53px; height: 58px; display: grid; place-content: center; text-align: center; background: rgba(255,107,94,.13); border-radius: 14px; }
.date-tile strong { color: var(--coral-dark); font-size: 1.12rem; line-height: 1; }.date-tile span { font-size: .58rem; }.date-tile.muted { background: rgba(32,201,181,.12); }.date-tile.muted strong { color: #087a6d; }
.calendar-item h3 { margin: 0; font-size: .84rem; }.calendar-item p { margin: 0; color: var(--ink-soft); font-size: .68rem; }

.new-home-hero { min-height: 490px; overflow: hidden; display: grid; grid-template-columns: .82fr 1.18fr; background: #fff2d8; border-radius: 40px; box-shadow: var(--shadow); }
.new-home-copy { z-index: 1; padding: clamp(34px, 5vw, 64px); padding-inline-end: 18px; align-self: center; }
.new-home-copy h1 { font-size: clamp(2rem, 4vw, 3.45rem); }
.new-home-copy p { max-width: 30rem; color: var(--ink-soft); }
.new-home-copy > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 23px; }
.new-home-copy > small { color: #9a6500; font-weight: 900; }
.new-home-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.safe-steps { padding-top: 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps-grid article { position: relative; padding: 23px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.steps-grid article > span { width: 37px; height: 37px; display: grid; place-items: center; color: white; background: var(--coral); border-radius: 13px; font-weight: 950; box-shadow: 0 8px 16px rgba(255,107,94,.2); }
.steps-grid h3 { margin: 14px 0 3px; font-size: 1rem; }.steps-grid p { margin: 0; color: var(--ink-soft); font-size: .78rem; }

.topic-row { margin-bottom: 8px; }
.knowledge-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 17px; }
.featured-article { min-height: 460px; padding: clamp(28px, 5vw, 52px); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: white; background: linear-gradient(145deg, var(--navy), #284c70); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.featured-article h2 { margin: 16px 0 9px; font-size: clamp(1.75rem, 3.5vw, 2.7rem); line-height: 1.35; }.featured-article p { margin: 0; color: rgba(255,255,255,.67); }
.review-line { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: rgba(255,255,255,.58); font-size: .7rem; }
.featured-article button { margin-top: 19px; border: 0; padding: 12px 16px; color: var(--navy); background: var(--teal); border-radius: 13px; cursor: pointer; font-weight: 900; }
.article-list { display: grid; gap: 10px; }
.article-list article { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.article-list span { color: var(--coral-dark); font-size: .68rem; font-weight: 900; }.article-list h3 { margin: 6px 0 3px; font-size: 1.05rem; }.article-list p { margin: 0; color: var(--ink-soft); font-size: .78rem; }.article-list button { margin-top: 10px; border: 0; padding: 0; color: var(--navy); background: transparent; cursor: pointer; font-size: .76rem; font-weight: 900; }
.medical-disclaimer { margin: 17px 0 0; padding: 14px 18px; color: var(--ink-soft); background: rgba(96,188,233,.1); border-radius: 14px; font-size: .75rem; }

.mobile-nav { display: none; }
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,22,37,.45); backdrop-filter: blur(4px); }
.modal { width: min(440px, calc(100% - 28px)); padding: 32px; color: var(--navy); background: white; border: 0; border-radius: 28px; box-shadow: 0 28px 90px rgba(10,22,37,.28); text-align: center; }
.modal::backdrop { background: rgba(10,22,37,.45); backdrop-filter: blur(4px); }
.modal-close { position: absolute; top: 15px; left: 15px; width: 39px; height: 39px; border: 0; display: grid; place-items: center; background: #f2f1ed; border-radius: 50%; cursor: pointer; }
.modal-brand { width: 80px; height: 80px; margin: 4px auto 10px; display: grid; place-items: center; }
.modal-brand img { width: 100%; height: 100%; object-fit: contain; }.modal-brand.coral-circle { width: 72px; height: 72px; color: white; background: var(--coral); border-radius: 24px; transform: rotate(-4deg); }.modal-brand.coral-circle svg { width: 34px; height: 34px; }
.modal h2 { margin: 5px 0 7px; font-size: 1.5rem; line-height: 1.45; }.modal > p { margin: 0 0 19px; color: var(--ink-soft); font-size: .86rem; }.modal > small { display: block; margin-top: 12px; color: var(--ink-soft); font-size: .65rem; }
.phone-field { height: 55px; margin-bottom: 10px; padding: 0 15px; display: flex; align-items: center; gap: 9px; direction: ltr; border: 1px solid var(--line); border-radius: 15px; }
.phone-field span { color: var(--ink-soft); font-weight: 800; }.phone-field input { width: 100%; border: 0; outline: 0; direction: ltr; text-align: left; }
.install-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: steps; display: grid; gap: 8px; text-align: right; }
.install-steps li { counter-increment: steps; padding: 10px 12px; background: #f7f6f2; border-radius: 12px; font-size: .8rem; }.install-steps li::before { content: counter(steps); width: 24px; height: 24px; margin-left: 8px; display: inline-grid; place-items: center; color: white; background: var(--navy); border-radius: 8px; font-size: .7rem; font-weight: 900; }
.cart-drawer { position: fixed; z-index: 300; top: 0; bottom: 0; left: 0; width: min(410px, 100%); padding: 24px; display: flex; flex-direction: column; background: var(--paper); box-shadow: 20px 0 70px rgba(19,34,56,.2); transform: translateX(-110%); transition: transform .28s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; }
.drawer-header h2 { margin: 0; }.drawer-header button { width: 40px; height: 40px; border: 0; display: grid; place-items: center; background: white; border-radius: 50%; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding-block: 18px; }
.empty-cart { min-height: 300px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--ink-soft); }.empty-cart svg { width: 50px; height: 50px; }.empty-cart h3 { margin: 12px 0 2px; color: var(--navy); }.empty-cart p { margin: 0; font-size: .8rem; }
.cart-line { padding: 14px; margin-bottom: 8px; display: grid; grid-template-columns: 1fr auto; gap: 8px; background: white; border: 1px solid var(--line); border-radius: 16px; }.cart-line strong, .cart-line small { display: block; }.cart-line small { color: var(--ink-soft); }.cart-line button { border: 0; background: transparent; color: var(--danger); cursor: pointer; font-size: .72rem; }
.cart-suggestion { padding: 14px; margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; background: rgba(32,201,181,.12); border-radius: 16px; }.cart-suggestion span { grid-column: 1 / -1; color: #087a6d; font-size: .65rem; font-weight: 900; }.cart-suggestion strong { font-size: .82rem; }.cart-suggestion button { border: 0; background: transparent; cursor: pointer; font-size: .75rem; font-weight: 900; }
.drawer-footer { padding-top: 14px; border-top: 1px solid var(--line); }.drawer-footer > div { margin-bottom: 11px; display: flex; justify-content: space-between; }.drawer-footer span { color: var(--ink-soft); }
.toast { position: fixed; z-index: 500; bottom: 28px; left: 50%; max-width: calc(100% - 32px); padding: 12px 18px; color: white; background: var(--navy); border-radius: 14px; box-shadow: 0 16px 40px rgba(19,34,56,.25); font-size: .82rem; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .22s, transform .22s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .home-grid { grid-template-columns: 1fr 300px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .pet-dashboard { grid-template-columns: 220px 1fr; }
  .reminder-card { grid-column: 2; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .container { width: min(100% - 24px, 620px); }
  .site-header { top: 0; }
  .header-inner { width: calc(100% - 24px); min-height: 66px; }
  .brand img { width: 43px; height: 43px; }.brand strong { font-size: 1.16rem; }.brand small { display: none; }
  .header-actions .icon-button:first-child { display: none; }.login-button { width: 43px; padding: 0; justify-content: center; }.login-button span { display: none; }
  .page { min-height: calc(100vh - 66px); }
  .home-grid { grid-template-columns: 1fr; gap: 15px; padding-top: 13px; }
  .hero-card { grid-column: 1; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto 145px; border-radius: 28px; }
  .hero-copy { padding: 22px 19px 10px; padding-inline-end: 19px; }
  .hero-copy h1 { margin: 7px 0 9px; font-size: clamp(1.9rem, 8vw, 2.15rem); }.hero-copy > p { font-size: .86rem; }.hero-actions { margin-top: 14px; }.hero-copy .trust-row { display: none; }
  .hero-art { min-height: 145px; }.hero-art::after { width: 100%; height: 18%; inset: 0 0 auto; background: linear-gradient(to bottom, var(--cream), transparent); }.floating-note { left: 11px; bottom: 10px; padding: 9px 12px; }
  .quick-section { grid-column: 1; padding-top: 14px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }.quick-card { min-height: 116px; padding: 12px 5px; border-radius: 19px; }.quick-icon { width: 45px; height: 45px; border-radius: 15px; }.quick-card strong { font-size: .82rem; }.quick-card small { display: none; }
  .today-card { padding: 18px; border-radius: 25px; }.pet-summary { grid-template-columns: auto 1fr; }.pet-summary .tiny-link { display: none; }.pet-summary h2 { font-size: 1.13rem; }.task { padding: 11px; }
  .birthday-card { min-height: 220px; border-radius: 25px; }.birthday-card h2 { max-width: 80%; }
  .recommendations { grid-column: 1; }.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 16px; }.product-row .product-card { scroll-snap-align: start; }
  .article-strip { grid-column: 1; min-height: 340px; padding: 28px; grid-template-columns: 1fr; }.article-fact { width: 160px; }
  .home-footer { grid-column: 1; flex-direction: column; align-items: flex-start; }.home-footer span { line-height: 1.8; }
  .inner-page { padding-block: 26px 96px; }.page-title-row { align-items: stretch; flex-direction: column; gap: 18px; margin-bottom: 22px; }.page-title-row h1 { font-size: 2.15rem; }.search-box { width: 100%; }
  .shop-layout, .vet-layout, .pet-dashboard, .knowledge-grid { grid-template-columns: 1fr; }.repeat-order { position: relative; top: auto; min-height: 220px; }.shop-products { grid-template-columns: repeat(2, minmax(0,1fr)); }.shop-products .product-visual { height: 135px; }.shop-products .product-body { padding: 13px; }
  .safety-banner { align-items: flex-start; flex-direction: column; }.vet-card { grid-template-columns: auto 1fr; }.vet-card > button { grid-column: 1 / -1; }
  .reminder-card { grid-column: auto; }.pet-profile-card { display: grid; grid-template-columns: auto 1fr; text-align: right; align-items: center; gap: 0 14px; }.big-pet-avatar { grid-row: 1 / 3; width: 76px; height: 76px; margin: 0; }.pet-profile-card > p { margin: 0; }.pet-profile-card dl, .pet-profile-card .secondary-button { grid-column: 1 / -1; margin-top: 16px; }
  .new-home-hero { min-height: 650px; grid-template-columns: 1fr; grid-template-rows: auto 290px; border-radius: 28px; }.new-home-copy { padding: 32px 24px; }.new-home-copy h1 { font-size: 2.1rem; }.new-home-hero > img { object-position: 18% center; }.steps-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-article { min-height: 410px; }
  .mobile-nav { position: fixed; z-index: 150; right: 10px; bottom: max(8px, env(safe-area-inset-bottom)); left: 10px; min-height: 66px; padding: 7px; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(19,34,56,.94); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; box-shadow: 0 16px 40px rgba(19,34,56,.25); backdrop-filter: blur(16px); }
  .mobile-nav button { border: 0; display: grid; place-items: center; gap: 1px; color: rgba(255,255,255,.5); background: transparent; border-radius: 15px; cursor: pointer; font-size: .61rem; }.mobile-nav svg { width: 21px; height: 21px; }.mobile-nav button.is-active { color: white; background: rgba(255,255,255,.1); }
  .toast { bottom: 91px; }
}

@media (max-width: 420px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }.quick-card { min-height: 108px; }.quick-card strong { font-size: .76rem; }
  .shop-products { grid-template-columns: 1fr; }.shop-products .product-visual { height: 160px; }
  .symptom-grid { grid-template-columns: 1fr; }.steps-grid { grid-template-columns: 1fr; }
  .calendar-item { grid-template-columns: auto 1fr; }.calendar-item > button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Meeow visual system — 1405 refresh */
@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("/assets/fonts/Estedad-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #12233b;
  --navy-2: #253c58;
  --coral: #ff6b5f;
  --coral-dark: #dc4f46;
  --teal: #1db9a7;
  --cream: #fff5e7;
  --paper: #f8f7f2;
  --surface: #ffffff;
  --amber: #ffc55c;
  --sky: #67bce5;
  --plum: #9276d8;
  --danger: #c92f42;
  --ink-soft: #647083;
  --ink-faint: #687181;
  --line: rgba(18, 35, 59, .09);
  --line-strong: rgba(18, 35, 59, .14);
  --shadow: 0 28px 80px rgba(18, 35, 59, .12);
  --shadow-soft: 0 12px 36px rgba(18, 35, 59, .07);
  --shadow-lift: 0 22px 44px rgba(18, 35, 59, .12);
  --radius-xl: 32px;
  --radius-lg: 23px;
  --radius-md: 16px;
  --font: "Vazirmatn", Tahoma, Arial, sans-serif;
  --font-display: "Estedad", "Vazirmatn", Tahoma, Arial, sans-serif;
}

html { scroll-padding-top: 112px; }

body {
  min-width: 320px;
  color: var(--navy);
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 107, 95, .12), transparent 28rem),
    radial-gradient(circle at 2% 28%, rgba(29, 185, 167, .09), transparent 30rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 48%, #fbfaf7 100%);
  font-size: 16px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: radial-gradient(rgba(18, 35, 59, .22) .45px, transparent .45px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

h1, h2, h3, .brand strong {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

button, input, select { letter-spacing: -.012em; }
button { transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; }
button:disabled { cursor: not-allowed; opacity: .58; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(29,185,167,.42); outline-offset: 3px; }
.container { width: min(1220px, calc(100% - 48px)); }

.site-header {
  top: 0;
  padding: 12px 0 0;
  border: 0;
  background: linear-gradient(to bottom, rgba(248,247,242,.96) 0 72%, rgba(248,247,242,0));
  backdrop-filter: none;
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 70px;
  padding: 8px 10px 8px 14px;
  gap: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 23px;
  box-shadow: 0 10px 32px rgba(18,35,59,.08), inset 0 0 0 1px rgba(18,35,59,.035);
  backdrop-filter: blur(20px) saturate(1.25);
}

.brand { min-width: 126px; gap: 10px; }
.brand img { width: 45px; height: 45px; filter: drop-shadow(0 7px 10px rgba(18,35,59,.14)); }
.brand strong { font-size: 1.38rem; letter-spacing: -.045em; }
.brand small { margin-top: 3px; color: var(--ink-faint); font-size: .58rem; letter-spacing: .18em; }
.desktop-nav { gap: 2px; margin-inline-start: 0; }
.nav-link { padding: 11px 12px; border-radius: 12px; font-size: .86rem; font-weight: 670; }
.nav-link::after { bottom: 3px; width: 16px; height: 2px; }
.nav-link:hover { background: rgba(18,35,59,.035); }
.nav-link.is-active { color: var(--navy); font-weight: 850; }
.header-actions { gap: 8px; }
.icon-button, .login-button { height: 42px; border-color: var(--line); border-radius: 13px; box-shadow: none; }
.icon-button { width: 42px; }
.icon-button:hover, .login-button:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: 0 8px 20px rgba(18,35,59,.08); }
.login-button { padding: 0 17px; color: white; background: var(--navy); border-color: var(--navy); }
.login-button:hover { background: var(--navy-2); }
.cart-count { top: -6px; left: -6px; border-width: 3px; }

.page { min-height: calc(100vh - 94px); }
.home-grid { padding-block: 18px 120px; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; }

.hero-card {
  min-height: 492px;
  grid-template-columns: .92fr 1.08fr;
  padding: 14px;
  border: 1px solid rgba(18,35,59,.07);
  background:
    radial-gradient(circle at 98% 0, rgba(255,107,95,.14), transparent 18rem),
    linear-gradient(135deg, #fffaf2, #fff4e5 70%);
  border-radius: 38px;
  box-shadow: 0 28px 90px rgba(18,35,59,.105);
}

.hero-card::before {
  width: 260px;
  height: 260px;
  top: -130px;
  right: 24%;
  border: 1px solid rgba(255,107,95,.18);
  background: transparent;
  box-shadow: 0 0 0 36px rgba(255,107,95,.035), 0 0 0 72px rgba(255,107,95,.02);
}

.hero-copy { padding: clamp(38px, 4.5vw, 64px); padding-inline-end: 34px; }
.eyebrow {
  min-height: 31px;
  padding: 3px 11px;
  color: var(--coral-dark);
  background: rgba(255,107,95,.1);
  border: 1px solid rgba(255,107,95,.12);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}
.page-title-row .eyebrow, .new-home-copy .eyebrow { background: transparent; border: 0; padding: 0; }
.hero-copy h1, .page-title-row h1, .new-home-copy h1 {
  font-weight: 800;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-copy h1 { margin: 15px 0 16px; font-size: clamp(2.65rem, 4vw, 3.75rem); line-height: 1.23; }
.hero-copy h1 em { position: relative; color: var(--coral); }
.hero-copy h1 em { white-space: nowrap; font-size: .94em; }
.hero-copy h1 em::after { content: ""; position: absolute; right: 0; bottom: -3px; width: 68%; height: 7px; border-radius: 99px; background: rgba(255,107,95,.16); }
.hero-copy > p { max-width: 30rem; color: #5f6c7d; font-size: 1.02rem; line-height: 1.95; }
.hero-actions { margin-top: 27px; gap: 12px; }
.primary-button, .secondary-button, .add-button { border-radius: 14px; font-weight: 820; }
.primary-button { min-height: 52px; padding: 0 24px; background: var(--navy); box-shadow: 0 12px 24px rgba(18,35,59,.16); }
.primary-button:hover { background: var(--coral); box-shadow: 0 15px 30px rgba(255,107,95,.22); }
.text-button { min-height: 50px; padding-inline: 12px; font-weight: 780; }
.trust-row { margin-top: 27px; gap: 8px; }
.trust-row span { min-height: 30px; padding: 3px 8px; color: #647083; background: rgba(255,255,255,.58); border: 1px solid rgba(18,35,59,.065); border-radius: 999px; font-size: .72rem; }
.trust-row svg { width: 15px; }
.hero-art { min-height: 462px; border-radius: 29px; box-shadow: inset 0 0 0 1px rgba(18,35,59,.06); }
.hero-art > img { object-position: 28% center; transform: scale(1.015); }
.hero-art::after { right: 0; left: auto; width: 15%; background: linear-gradient(to right, transparent, rgba(255,246,232,.9)); }
.floating-note { left: 20px; bottom: 20px; padding: 12px 16px; border-radius: 15px; box-shadow: 0 18px 45px rgba(18,35,59,.17); }

.quick-section { padding: 25px 3px 3px; }
.section-heading { margin-bottom: 16px; }
.section-heading h2, .pet-summary h2, .birthday-card h2 { font-size: 1.48rem; font-weight: 760; letter-spacing: -.035em; }
.overline { color: var(--ink-faint); font-size: .69rem; font-weight: 780; }
.quick-grid { gap: 11px; }
.quick-card {
  min-height: 132px;
  align-items: flex-start;
  padding: 16px;
  text-align: right;
  border-color: rgba(18,35,59,.075);
  border-radius: 21px;
  box-shadow: 0 8px 24px rgba(18,35,59,.055);
}
.quick-card:nth-child(1) { background: linear-gradient(150deg, #fff, #fff4f1); }
.quick-card:nth-child(2) { background: linear-gradient(150deg, #fff, #edfbf8); }
.quick-card:nth-child(3) { background: linear-gradient(150deg, #fff, #eff3f7); }
.quick-card:nth-child(4) { background: linear-gradient(150deg, #fff, #fff8e8); }
.quick-card:nth-child(5) { background: linear-gradient(150deg, #fff, #eef8fd); }
.quick-card:nth-child(6) { background: linear-gradient(150deg, #fff, #f5f1ff); }
.quick-card:hover { transform: translateY(-4px); border-color: rgba(18,35,59,.13); box-shadow: var(--shadow-lift); }
.quick-card strong { margin-top: 10px; font-family: var(--font-display); font-size: .95rem; }
.quick-card small { color: var(--ink-soft); font-size: .7rem; }
.quick-icon { width: 45px; height: 45px; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 18px rgba(18,35,59,.11); }
.quick-icon svg { width: 22px; height: 22px; }

.today-card, .product-card, .intake-card, .timeline-card, .reminder-card, .vet-card, .article-list article, .steps-grid article {
  border-color: rgba(18,35,59,.075);
  box-shadow: 0 10px 32px rgba(18,35,59,.06);
}
.today-card { padding: 28px; border-radius: 28px; }
.pet-avatar { width: 56px; height: 56px; }
.tiny-link { min-height: 36px; padding-inline: 12px; border-radius: 10px; }
.tiny-link:hover { background: rgba(255,107,95,.08); }
.task-list { gap: 9px; }
.task { padding: 13px 14px; border: 1px solid transparent; background: #f7f7f4; }
.task:hover { border-color: var(--line); background: #fff; box-shadow: 0 8px 22px rgba(18,35,59,.06); transform: translateY(-1px); }
.task em { padding: 3px 8px; background: white; border-radius: 999px; }
.birthday-card { min-height: 255px; border-radius: 28px; background: linear-gradient(145deg, #ffd985, var(--amber) 72%); box-shadow: 0 18px 42px rgba(255,190,79,.2); }
.birthday-card::after { content: ""; position: absolute; width: 180px; height: 180px; top: -85px; left: -60px; border-radius: 50%; border: 30px solid rgba(255,255,255,.2); }
.birthday-icon { border-radius: 18px; box-shadow: 0 10px 22px rgba(18,35,59,.09); }

.recommendations { padding-top: 34px; }
.product-row, .shop-products { gap: 18px; }
.product-card { border-radius: 22px; box-shadow: 0 8px 26px rgba(18,35,59,.055); }
.product-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.product-visual { height: 182px; }
.product-visual::before { width: 150px; height: 150px; }
.product-visual::after { width: 84px; height: 84px; }
.product-visual > svg { width: 68px; height: 68px; stroke-width: 1.4; filter: drop-shadow(0 15px 12px rgba(18,35,59,.14)); }
.product-label { top: 14px; right: 14px; padding: 5px 10px; background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.65); }
.product-body { padding: 18px; }
.product-body h3 { font-size: 1.03rem; font-weight: 700; }
.price strong { font-family: var(--font-display); font-size: 1.15rem; }
.add-button { min-height: 44px; background: #f1f3f5; color: var(--navy); box-shadow: none; }
.add-button:hover { color: white; background: var(--navy); box-shadow: 0 10px 20px rgba(18,35,59,.15); }

.article-strip {
  min-height: 310px;
  position: relative;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 20%, rgba(29,185,167,.22), transparent 14rem),
    linear-gradient(135deg, #12233b, #1d3654);
}
.article-strip::before { content: ""; position: absolute; left: 12%; top: -70px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.015); }
.article-main { z-index: 1; }
.article-main h2 { font-weight: 760; }
.article-fact { position: relative; z-index: 1; padding: 23px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.home-footer { padding: 22px 4px 4px; }

.inner-page { padding-block: 52px 130px; }
.page-title-row { margin-bottom: 34px; }
.page-title-row h1 { margin: 7px 0 8px; font-size: clamp(2.25rem, 4vw, 3.65rem); font-weight: 780; line-height: 1.25; }
.page-title-row p { color: var(--ink-soft); }
.search-box { min-height: 54px; padding: 0 17px; border-radius: 16px; box-shadow: 0 8px 24px rgba(18,35,59,.055); }
.search-box:focus-within { border-color: rgba(29,185,167,.55); box-shadow: 0 0 0 4px rgba(29,185,167,.08); }
.filter-row, .topic-row { gap: 9px; padding-bottom: 18px; }
.filter-chip, .topic-row button { min-height: 41px; padding: 8px 18px; border-radius: 12px; }
.filter-chip:hover, .topic-row button:hover { border-color: var(--line-strong); color: var(--navy); }
.filter-chip.is-active, .topic-row button:first-child { background: var(--navy); box-shadow: 0 8px 18px rgba(18,35,59,.13); }
.shop-layout { grid-template-columns: 270px 1fr; gap: 24px; }
.repeat-order { top: 108px; min-height: 330px; padding: 26px; border-radius: 28px; background: linear-gradient(155deg, #12233b, #233f60); }
.repeat-order .mini-icon { border-radius: 15px; }
.repeat-order h2 { font-family: var(--font-display); font-weight: 730; }

.location-button { min-height: 50px; border-radius: 14px; box-shadow: 0 8px 24px rgba(18,35,59,.055); }
.location-button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.safety-banner { margin-bottom: 24px; padding: 17px 20px; border-radius: 16px; box-shadow: 0 8px 22px rgba(201,47,66,.05); }
.vet-layout { gap: 24px; }
.intake-card, .timeline-card, .reminder-card { padding: 29px; border-radius: 27px; }
.symptom-grid { gap: 10px; }
.symptom-grid span { min-height: 54px; border-radius: 13px; }
.symptom-grid label:hover span { border-color: rgba(29,185,167,.35); background: #fff; }
.vet-card { padding: 20px; margin-bottom: 12px; border-radius: 21px; }
.vet-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(18,35,59,.085); }
.vet-avatar { border-radius: 17px; }
.vet-card > button:hover, .calendar-item > button:hover { color: white; background: var(--navy); }

.pet-dashboard { grid-template-columns: 255px 1fr 1fr; gap: 20px; }
.pet-profile-card { padding: 30px 23px; border-radius: 29px; background: linear-gradient(155deg, #12233b, #243f60); }
.pet-profile-card h2 { font-family: var(--font-display); }
.pet-profile-card dl { border-radius: 14px; }
.calendar-item { padding: 15px 0; }
.new-home-hero { min-height: 520px; padding: 14px; gap: 12px; border: 1px solid rgba(18,35,59,.07); border-radius: 38px; background: linear-gradient(135deg, #fff8e9, #fff0ce); box-shadow: 0 28px 80px rgba(18,35,59,.1); }
.new-home-copy { padding-inline-end: 38px; }
.new-home-hero > img { border-radius: 28px; }
.steps-grid { gap: 14px; }
.steps-grid article { min-height: 185px; padding: 24px; border-radius: 21px; }
.steps-grid article::after { content: ""; position: absolute; width: 80px; height: 80px; left: -32px; bottom: -35px; border-radius: 50%; background: rgba(255,107,95,.055); }
.steps-grid article > span { border-radius: 11px; }

.knowledge-grid { gap: 20px; }
.featured-article { min-height: 480px; position: relative; overflow: hidden; border-radius: 29px; background: radial-gradient(circle at 15% 15%, rgba(29,185,167,.22), transparent 16rem), linear-gradient(145deg, #12233b, #284968); }
.featured-article::before { content: ""; position: absolute; top: -80px; left: -80px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025); }
.featured-article > * { position: relative; z-index: 1; }
.featured-article h2 { font-weight: 740; }
.article-list { gap: 12px; }
.article-list article { padding: 26px; border-radius: 21px; }
.article-list article:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(18,35,59,.08); }
.medical-disclaimer { padding: 15px 18px; border: 1px solid rgba(103,188,229,.14); }

.modal { padding: 36px; border-radius: 26px; }
.cart-drawer { padding: 26px; background: #fbfaf6; box-shadow: 24px 0 80px rgba(18,35,59,.22); }
.cart-line { border-radius: 14px; }
.toast { padding: 13px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; box-shadow: 0 18px 44px rgba(18,35,59,.24); }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-card { min-height: 115px; }
  .pet-dashboard { grid-template-columns: 230px 1fr; }
  .reminder-card { grid-column: 2; }
}

@media (max-width: 760px) {
  body { padding-bottom: 86px; background: linear-gradient(180deg, #fbfaf6, #f7f6f1); }
  body::before { display: none; }
  .container { width: min(100% - 24px, 620px); }
  .site-header { padding: 8px 0 0; background: linear-gradient(to bottom, rgba(248,247,242,.97) 0 80%, transparent); }
  .header-inner { width: calc(100% - 20px); min-height: 60px; padding: 6px 8px 6px 10px; border-radius: 18px; }
  .brand { min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 1.14rem; }
  .header-actions { margin-inline-start: auto; }
  .icon-button, .login-button { width: 40px; height: 40px; border-radius: 12px; }
  .login-button svg { width: 20px; height: 20px; }
  .page { min-height: calc(100vh - 76px); }
  .home-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 10px; }
  .hero-card { min-height: 0; padding: 8px; grid-template-columns: 1fr; grid-template-rows: auto 172px; border-radius: 27px; }
  .hero-copy { padding: 19px 14px 11px; }
  .eyebrow { min-height: 28px; font-size: .7rem; }
  .hero-copy h1 { margin: 8px 0 7px; font-size: clamp(1.76rem, 8vw, 2.12rem); line-height: 1.28; }
  .hero-copy h1 em { white-space: normal; font-size: 1em; }
  .hero-copy > p { font-size: .8rem; line-height: 1.76; }
  .hero-actions { margin-top: 13px; gap: 4px; }
  .primary-button { min-height: 46px; padding-inline: 16px; }
  .text-button { min-height: 42px; padding-inline: 8px; }
  .hero-copy .trust-row { display: none; }
  .hero-art { min-height: 172px; border-radius: 21px; }
  .hero-art::after { width: 100%; height: 18%; inset: 0 0 auto; background: linear-gradient(to bottom, rgba(255,246,232,.85), transparent); }
  .floating-note { left: 12px; bottom: 12px; }
  .quick-section { padding-top: 17px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quick-card { min-height: 112px; align-items: center; padding: 12px 6px; text-align: center; border-radius: 18px; }
  .quick-icon { width: 43px; height: 43px; }
  .quick-card strong { margin-top: 7px; font-size: .8rem; }
  .quick-card small { display: none; }
  .today-card { padding: 19px; border-radius: 23px; }
  .pet-summary h2 { font-size: 1.12rem; }
  .birthday-card { min-height: 218px; border-radius: 23px; }
  .recommendations { padding-top: 22px; }
  .product-row { grid-auto-columns: 82%; gap: 12px; }
  .product-visual { height: 170px; }
  .article-strip { min-height: 360px; padding: 30px 25px; border-radius: 25px; }
  .article-main h2 { font-size: 2rem; }
  .article-fact { width: 165px; }
  .home-footer { padding-bottom: 4px; }
  .inner-page { padding-block: 30px 98px; }
  .page-title-row { gap: 17px; margin-bottom: 24px; }
  .page-title-row h1 { margin-top: 5px; font-size: 2.2rem; line-height: 1.3; }
  .shop-layout, .vet-layout, .pet-dashboard, .knowledge-grid { grid-template-columns: 1fr; }
  .repeat-order { min-height: 230px; border-radius: 24px; }
  .shop-products { gap: 12px; }
  .shop-products .product-visual { height: 140px; }
  .shop-products .product-body { padding: 14px; }
  .intake-card, .timeline-card, .reminder-card { padding: 22px; border-radius: 23px; }
  .reminder-card { grid-column: auto; }
  .pet-profile-card { border-radius: 24px; }
  .new-home-hero { min-height: 670px; padding: 8px; grid-template-columns: 1fr; grid-template-rows: auto 300px; border-radius: 27px; }
  .new-home-copy { padding: 29px 20px 24px; }
  .new-home-copy h1 { font-size: 2.08rem; }
  .new-home-hero > img { border-radius: 21px; }
  .steps-grid article { min-height: 160px; }
  .featured-article { min-height: 420px; border-radius: 24px; }
  .mobile-nav { right: 8px; left: 8px; min-height: 70px; padding: 6px; grid-template-columns: repeat(6, 1fr); background: rgba(18,35,59,.96); border-radius: 20px; box-shadow: 0 18px 45px rgba(18,35,59,.28); }
  .mobile-nav button { min-width: 0; padding: 5px 1px; border-radius: 14px; font-size: .68rem; line-height: 1.35; }
  .mobile-nav svg { width: 20px; height: 20px; }
  .mobile-nav button.is-active { background: rgba(255,255,255,.12); }
  .toast { bottom: 96px; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: 1.78rem; }
  .hero-actions .primary-button { width: 100%; }
  .hero-actions .text-button { margin-inline: auto; }
  .quick-card { min-height: 104px; }
  .shop-products { grid-template-columns: 1fr; }
  .shop-products .product-visual { height: 170px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { min-height: 0; }
  .mobile-nav button { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-note { animation: none; }
}

/* Brand evolution: unified cat–dog mark and softer glass surfaces */
:root {
  --glass: rgba(255, 255, 255, .64);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-line: rgba(255, 255, 255, .84);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
}

body {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 107, 95, .15), transparent 27rem),
    radial-gradient(circle at 4% 32%, rgba(29, 185, 167, .12), transparent 30rem),
    radial-gradient(circle at 74% 72%, rgba(103, 188, 229, .08), transparent 25rem),
    linear-gradient(180deg, #fcfbf8 0%, #f5f7f4 48%, #fbfaf7 100%);
}

.brand img {
  filter: drop-shadow(0 8px 14px rgba(18,35,59,.18));
  transition: transform .45s var(--ease-smooth), filter .45s var(--ease-smooth);
}
.brand:hover img { transform: translateY(-2px) rotate(-3deg) scale(1.04); filter: drop-shadow(0 12px 18px rgba(18,35,59,.22)); }

.header-inner {
  background: rgba(255, 255, 255, .68);
  border-color: var(--glass-line);
  box-shadow: 0 14px 42px rgba(18,35,59,.08), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.hero-card {
  overflow: visible;
  background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,245,229,.72));
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 30px 90px rgba(18,35,59,.11), inset 0 1px 0 white;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.hero-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 29px;
  mask-image: linear-gradient(135deg, black, transparent 40%, black);
}

.hero-copy, .hero-art { position: relative; z-index: 1; }
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15%;
  right: 5%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,107,95,.12);
  filter: blur(42px);
}

.hero-art {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 55px rgba(18,35,59,.13), inset 0 1px 0 rgba(255,255,255,.9);
}
.hero-art > img { transition: transform 1.1s var(--ease-smooth); }
.hero-card:hover .hero-art > img { transform: scale(1.035); }

.floating-note,
.hero-glass-metric {
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.64);
  box-shadow: 0 18px 42px rgba(18,35,59,.14), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.hero-glass-metric {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  min-width: 168px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 17px;
  animation: metricFloat 5.5s ease-in-out infinite;
}
.hero-glass-metric .metric-ring {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--teal), #4cd7c5);
  border-radius: 14px;
  box-shadow: 0 9px 18px rgba(29,185,167,.23);
}
.hero-glass-metric .metric-ring svg { width: 20px; height: 20px; }
.hero-glass-metric div { display: grid; line-height: 1.35; }
.hero-glass-metric strong { font-size: .92rem; }
.hero-glass-metric small { color: var(--ink-soft); font-size: .64rem; }
@keyframes metricFloat { 50% { transform: translateY(6px); } }

.quick-section {
  position: relative;
  padding: 24px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 30px;
  box-shadow: 0 20px 58px rgba(18,35,59,.075), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}
.quick-section .section-heading { min-height: 58px; margin-bottom: 14px; }
.care-orbit-wrap {
  position: absolute;
  z-index: 2;
  top: -58px;
  left: 18px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 18px 25px rgba(18,35,59,.14));
  animation: careOrbit 7s ease-in-out infinite;
}
.care-orbit-wrap::before {
  content: "";
  position: absolute;
  inset: 19px;
  z-index: -1;
  border-radius: 32px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  transform: rotate(8deg);
}
.care-orbit-wrap img { width: 100%; height: 100%; object-fit: contain; }
@keyframes careOrbit { 50% { transform: translateY(-7px) rotate(2deg); } }

.quick-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.86), rgba(255,255,255,.52)) !important;
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 10px 28px rgba(18,35,59,.07), inset 0 1px 0 white;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .45s var(--ease-smooth), box-shadow .45s var(--ease-smooth), border-color .45s var(--ease-smooth);
}
.quick-card::after {
  content: "";
  position: absolute;
  top: -42px;
  left: -34px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--glow, rgba(255,107,95,.13));
  filter: blur(3px);
  pointer-events: none;
}
.quick-card.teal { --glow: rgba(29,185,167,.14); }
.quick-card.navy { --glow: rgba(18,35,59,.1); }
.quick-card.amber { --glow: rgba(255,197,92,.18); }
.quick-card.sky { --glow: rgba(103,188,229,.15); }
.quick-card.plum { --glow: rgba(146,118,216,.14); }
.quick-card:hover { transform: translateY(-7px) scale(1.015); box-shadow: 0 24px 48px rgba(18,35,59,.12), inset 0 1px 0 white; }
.quick-icon { position: relative; z-index: 1; }

.today-card {
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.6));
  border-color: rgba(255,255,255,.94);
  box-shadow: 0 20px 54px rgba(18,35,59,.075), inset 0 1px 0 rgba(255,255,255,.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.task {
  background: rgba(255,255,255,.54);
  border-color: rgba(18,35,59,.055);
  backdrop-filter: blur(8px);
}
.birthday-card {
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 24px 52px rgba(255,190,79,.22), inset 0 1px 0 rgba(255,255,255,.6);
}

.product-card,
.article-list article,
.steps-grid article,
.intake-card,
.timeline-card,
.reminder-card,
.vet-card {
  background: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.94);
  box-shadow: 0 16px 42px rgba(18,35,59,.065), inset 0 1px 0 white;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .4s var(--ease-smooth), box-shadow .4s var(--ease-smooth);
}

@media (max-width: 760px) {
  .hero-card { overflow: hidden; }
  .hero-glass-metric { top: auto; right: 12px; bottom: 12px; min-width: 0; padding: 8px 10px; }
  .hero-glass-metric .metric-ring { width: 34px; height: 34px; border-radius: 11px; }
  .hero-glass-metric small { display: none; }
  .floating-note { display: none; }
  .quick-section { padding: 18px 12px 14px; border-radius: 24px; }
  .quick-section .section-heading { min-height: 48px; padding-inline: 5px; }
  .care-orbit-wrap { top: -36px; left: 2px; width: 92px; height: 92px; }
  .care-orbit-wrap::before { inset: 15px; border-radius: 24px; }
  .quick-card:hover { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glass-metric, .care-orbit-wrap { animation: none; }
  .hero-art > img, .brand img { transition: none; }
}

/* 3D glass icon family */
.quick-icon {
  isolation: isolate;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 23px;
  background-color: rgba(255,255,255,.56) !important;
  background-image: url('/assets/service-icons-glass-v1.png'), linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.28)) !important;
  background-repeat: no-repeat !important;
  background-size: 300% 200%, 100% 100% !important;
  box-shadow: inset 0 1px 0 white, inset 0 -8px 18px rgba(18,35,59,.035), 0 13px 25px rgba(18,35,59,.13);
  transform: translateZ(0) rotate(-2deg);
  transition: transform .48s var(--ease-smooth), filter .48s var(--ease-smooth), box-shadow .48s var(--ease-smooth);
  filter: saturate(1.04);
  backdrop-filter: blur(13px) saturate(1.3);
  -webkit-backdrop-filter: blur(13px) saturate(1.3);
}
.quick-icon::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 9px;
  width: 17px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.7);
  filter: blur(.25px);
  transform: rotate(-24deg);
  pointer-events: none;
}
.quick-icon svg { opacity: 0; }
.quick-card:nth-child(1) .quick-icon { background-position: 0 0, center !important; }
.quick-card:nth-child(2) .quick-icon { background-position: 50% 0, center !important; }
.quick-card:nth-child(3) .quick-icon { background-position: 100% 0, center !important; }
.quick-card:nth-child(4) .quick-icon { background-position: 0 100%, center !important; }
.quick-card:nth-child(5) .quick-icon { background-position: 50% 100%, center !important; }
.quick-card:nth-child(6) .quick-icon { background-position: 100% 100%, center !important; }
.quick-card:hover .quick-icon {
  transform: translateY(-5px) rotate(2deg) scale(1.07);
  filter: saturate(1.12) drop-shadow(0 12px 10px rgba(18,35,59,.12));
  box-shadow: inset 0 1px 0 white, inset 0 -8px 18px rgba(18,35,59,.045), 0 20px 34px rgba(18,35,59,.16);
}

.icon-button,
.login-button,
.birthday-icon,
.repeat-order .mini-icon,
.hero-glass-metric .metric-ring,
.circle-arrow {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), inset 0 -7px 16px rgba(18,35,59,.09), 0 10px 24px rgba(18,35,59,.11);
  transform: translateZ(0);
}
.icon-button::before,
.login-button::before,
.birthday-icon::before,
.repeat-order .mini-icon::before,
.hero-glass-metric .metric-ring::before,
.circle-arrow::before {
  content: "";
  position: absolute;
  inset: 1px 2px auto 2px;
  height: 43%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent);
  pointer-events: none;
}
.icon-button { background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(241,246,248,.58)); }
.icon-button svg,
.login-button svg,
.birthday-icon svg,
.repeat-order .mini-icon svg,
.hero-glass-metric .metric-ring svg,
.circle-arrow svg,
.mobile-nav svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 3px rgba(18,35,59,.16));
}
.icon-button:hover { transform: translateY(-3px) rotate(-2deg); }
.login-button { background: linear-gradient(145deg, #2d4b6d, var(--navy)); }
.birthday-icon { background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,244,222,.62)); }
.repeat-order .mini-icon { position: relative; background: linear-gradient(145deg, #5adfce, var(--teal)); }
.circle-arrow { background: linear-gradient(145deg, #304f72, var(--navy)); }

.product-visual > svg {
  z-index: 1;
  width: 82px;
  height: 82px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.24));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -10px 18px rgba(18,35,59,.035), 0 17px 30px rgba(18,35,59,.12);
  backdrop-filter: blur(10px) saturate(1.25);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  transition: transform .48s var(--ease-smooth), box-shadow .48s var(--ease-smooth);
}
.product-card:hover .product-visual > svg { transform: translateY(-5px) rotate(2deg) scale(1.05); box-shadow: inset 0 1px 0 white, 0 24px 34px rgba(18,35,59,.16); }

.task-check {
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.34));
  border-color: rgba(255,255,255,.92);
  box-shadow: inset 0 1px 0 white, 0 7px 16px rgba(18,35,59,.1);
}
.task.is-done .task-check { background: linear-gradient(145deg, #55ddcb, var(--teal)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 9px 18px rgba(29,185,167,.22); }

@media (max-width: 760px) {
  .quick-icon { width: 57px; height: 57px; border-radius: 19px; }
  .quick-icon::after { top: 6px; right: 7px; width: 14px; height: 7px; }
  .mobile-nav button { transition: transform .3s var(--ease-smooth), background .3s ease, color .3s ease; }
  .mobile-nav button.is-active {
    transform: translateY(-3px);
    background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 8px 15px rgba(0,0,0,.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-icon, .product-visual > svg, .mobile-nav button { transition: none; }
  .quick-card:hover .quick-icon, .product-card:hover .product-visual > svg { transform: none; }
}

/* Compact single-row glass service rail */
.quick-section {
  padding: 20px 20px 18px;
  overflow: hidden;
}
.quick-section .section-heading {
  min-height: 50px;
  margin-bottom: 10px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  padding: 3px;
  border-radius: 20px;
}
.quick-grid:focus-visible {
  outline: 3px solid rgba(29,185,167,.38);
  outline-offset: 4px;
}
.quick-card {
  min-height: 103px;
  align-items: center;
  justify-content: center;
  padding: 11px 7px 9px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,255,255,.42)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 20px rgba(18,35,59,.065);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.quick-card::after {
  width: 66px;
  height: 66px;
  top: -36px;
  left: -30px;
  opacity: .62;
}
.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,1);
  box-shadow: inset 0 1px 0 white, 0 14px 28px rgba(18,35,59,.1);
}
.quick-icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.98);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 white, inset 0 -6px 14px rgba(18,35,59,.03), 0 8px 16px rgba(18,35,59,.105);
  transform: translateZ(0);
  filter: saturate(1.02);
}
.quick-icon::after {
  top: 5px;
  right: 7px;
  width: 12px;
  height: 6px;
  opacity: .78;
}
.quick-card:hover .quick-icon {
  transform: translateY(-2px) scale(1.035);
  filter: saturate(1.08);
  box-shadow: inset 0 1px 0 white, inset 0 -6px 14px rgba(18,35,59,.035), 0 11px 20px rgba(18,35,59,.13);
}
.quick-card strong {
  margin-top: 7px;
  font-size: .86rem;
  line-height: 1.35;
}
.quick-card small {
  margin-top: 1px;
  font-size: .75rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .quick-section {
    padding: 15px 11px 12px;
    overflow: hidden;
  }
  .quick-section .section-heading {
    min-height: 44px;
    margin-bottom: 6px;
  }
  .quick-grid {
    grid-template-columns: repeat(6, 78px);
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    padding: 4px 3px 8px;
  }
  .quick-grid::-webkit-scrollbar { display: none; }
  .quick-card {
    min-height: 86px;
    padding: 8px 4px 7px;
    border-radius: 15px;
    scroll-snap-align: start;
  }
  .quick-icon {
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }
  .quick-icon::after {
    top: 4px;
    right: 6px;
    width: 10px;
    height: 5px;
  }
  .quick-card strong {
    margin-top: 6px;
    font-size: .78rem;
  }
  .quick-card small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .quick-grid { scroll-behavior: auto; }
  .quick-card, .quick-icon { transition: none; }
}

/* Pet-yar as the bright, living home experience */
.pet-home-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(66, 214, 193, .14), transparent 30rem),
    radial-gradient(circle at 5% 38%, rgba(255, 182, 91, .12), transparent 27rem),
    linear-gradient(180deg, #f9fffd 0%, #fffef9 52%, #f8fbff 100%);
}
.pet-home-page::before,
.pet-home-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  animation: petAmbientDrift 13s ease-in-out infinite alternate;
}
.pet-home-page::before {
  width: 300px;
  height: 300px;
  top: 110px;
  right: -150px;
  border: 1px solid rgba(29,185,167,.12);
  box-shadow: 0 0 0 44px rgba(29,185,167,.025), 0 0 0 92px rgba(29,185,167,.018);
}
.pet-home-page::after {
  width: 210px;
  height: 210px;
  left: -105px;
  top: 660px;
  background: rgba(255,190,79,.065);
  animation-delay: -5s;
}
.pet-home-shell {
  position: relative;
  z-index: 1;
  padding-block: 24px 92px;
}
.pet-home-hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 38px;
  background:
    radial-gradient(circle at 65% -10%, rgba(255,255,255,.95), transparent 25rem),
    linear-gradient(135deg, rgba(234,255,250,.96), rgba(255,255,255,.92) 54%, rgba(255,246,228,.9));
  box-shadow: 0 30px 85px rgba(24,77,79,.1), inset 0 1px 0 white;
  animation: petHeroReveal .88s var(--ease-smooth) both;
}
.pet-home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -220px;
  border-radius: 50%;
  background: conic-gradient(from 130deg, rgba(29,185,167,.2), rgba(255,190,79,.12), rgba(255,107,95,.15), rgba(29,185,167,.2));
  filter: blur(6px);
  animation: petHaloTurn 20s linear infinite;
}
.pet-home-copy {
  z-index: 2;
  align-self: center;
  padding: clamp(22px, 3.8vw, 48px);
  padding-inline-end: clamp(12px, 2vw, 28px);
}
.pet-live {
  color: #087b70;
  background: rgba(255,255,255,.7);
  border-color: rgba(29,185,167,.18);
  box-shadow: 0 8px 22px rgba(29,185,167,.08);
}
.pet-live > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(29,185,167,.12);
  animation: petLivePulse 2.1s ease-out infinite;
}
.pet-home-copy h1 {
  margin: 13px 0 10px;
  max-width: 11ch;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  font-weight: 790;
  line-height: 1.16;
  letter-spacing: -.045em;
}
.pet-home-copy h1 em {
  color: transparent;
  background: linear-gradient(90deg, #0b8f81, #23b9a8 55%, #f49c45);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}
.pet-home-copy > p {
  max-width: 34rem;
  margin: 0;
  color: #516276;
  font-size: 1rem;
  line-height: 1.9;
}
.pet-mood-checkin {
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(18,35,59,.07);
  border-radius: 17px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 30px rgba(18,35,59,.06), inset 0 1px 0 white;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pet-mood-checkin > span {
  padding-inline: 9px 5px;
  color: #58687a;
  font-size: .82rem;
  font-weight: 850;
  white-space: nowrap;
}
.pet-mood-checkin button {
  min-height: 38px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  color: #5c6877;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: .79rem;
  font-weight: 850;
  transition: color .3s ease, background .3s ease, transform .3s var(--ease-smooth), box-shadow .3s ease;
}
.pet-mood-checkin button:hover { transform: translateY(-2px); color: var(--navy); }
.pet-mood-checkin button.is-selected {
  color: #08766b;
  background: #e8fbf7;
  box-shadow: inset 0 0 0 1px rgba(29,185,167,.14), 0 7px 16px rgba(29,185,167,.1);
}
.mood-dot { width: 8px; height: 8px; border-radius: 50%; }
.mood-dot.great { background: #1db9a7; box-shadow: 0 0 0 4px rgba(29,185,167,.1); }
.mood-dot.calm { background: #71a8dc; box-shadow: 0 0 0 4px rgba(113,168,220,.1); }
.mood-dot.low { background: #f0a65a; box-shadow: 0 0 0 4px rgba(240,166,90,.11); }
.pet-hero-actions { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.pet-hero-actions .primary-button { box-shadow: 0 14px 30px rgba(18,35,59,.18); }
.pet-hero-actions .primary-button svg { width: 18px; height: 18px; margin-inline-end: 6px; }
.pet-hero-actions .secondary-button {
  min-height: 48px;
  padding-inline: 18px;
  border-color: rgba(18,35,59,.08);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 20px rgba(18,35,59,.045);
}
.pet-home-copy > * {
  animation: petCopyRise .72s var(--ease-smooth) both;
}
.pet-home-copy > *:nth-child(2) { animation-delay: .08s; }
.pet-home-copy > *:nth-child(3) { animation-delay: .14s; }
.pet-home-copy > *:nth-child(4) { animation-delay: .2s; }
.pet-home-copy > *:nth-child(5) { animation-delay: .26s; }
.pet-hero-visual {
  position: relative;
  min-height: 382px;
  overflow: hidden;
  border-radius: 30px;
  background: #e5f8f2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.pet-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(242,255,251,.38), transparent 30%, transparent 68%, rgba(255,249,235,.24));
}
.pet-hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
  filter: brightness(1.08) saturate(.98) contrast(.98);
  transform: scale(1.025);
  animation: petPortraitBreathe 8s ease-in-out infinite alternate;
}
.pet-care-score,
.pet-next-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 38px rgba(18,35,59,.12), inset 0 1px 0 white;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.pet-care-score {
  top: 18px;
  right: 18px;
  gap: 11px;
  padding: 10px 12px 10px 15px;
  border-radius: 19px;
  animation: petScoreFloat 4.8s ease-in-out infinite;
}
.score-ring {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 86%, rgba(29,185,167,.14) 86% 100%);
  box-shadow: 0 9px 20px rgba(29,185,167,.18);
  transform: rotate(-28deg);
  animation: petRingIn 1.25s .35s var(--ease-smooth) both;
}
.score-ring::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
}
.score-ring > span { position: relative; z-index: 1; display: grid; text-align: center; transform: rotate(28deg); }
.score-ring strong { color: var(--navy); font-size: 1.05rem; line-height: 1; }
.score-ring small { margin-top: 2px; color: #6c7988; font-size: .56rem; }
.pet-care-score > div:last-child { display: grid; gap: 2px; }
.pet-care-score > div:last-child small { color: #718090; font-size: .67rem; }
.pet-care-score > div:last-child strong { color: var(--navy); font-size: .8rem; }
.pet-next-note {
  left: 18px;
  bottom: 18px;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 17px;
  animation: petNoteFloat 5.2s .5s ease-in-out infinite;
}
.pet-next-note svg { width: 25px; height: 25px; padding: 5px; color: #e87057; background: #fff2ec; border-radius: 9px; }
.pet-next-note span { display: grid; gap: 2px; }
.pet-next-note small { color: #778390; font-size: .65rem; }
.pet-next-note strong { color: var(--navy); font-size: .76rem; }

.pet-home-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.pet-home-grid > section,
.pet-home-grid > aside {
  border: 1px solid rgba(255,255,255,.96);
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 50px rgba(18,35,59,.065), inset 0 1px 0 white;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  animation: petPanelRise .78s var(--ease-smooth) both;
}
.pet-today-board { grid-column: span 8; padding: 27px; border-radius: 28px; }
.pet-profile-bright { grid-column: span 4; min-height: 100%; padding: 25px; border-radius: 28px; }
.pet-reminder-card { grid-column: span 7; }
.pet-timeline-card { grid-column: span 5; }
.pet-week-card { grid-column: 1 / -1; padding: 27px; border-radius: 28px; }
.pet-home-grid > :nth-child(2) { animation-delay: .08s; }
.pet-home-grid > :nth-child(3) { animation-delay: .13s; }
.pet-home-grid > :nth-child(4) { animation-delay: .18s; }
.pet-home-grid > :nth-child(5) { animation-delay: .23s; }
.pet-home-grid > section:hover,
.pet-home-grid > aside:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 58px rgba(18,35,59,.09), inset 0 1px 0 white;
}
.pet-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pet-panel-heading h2 { margin: 4px 0 0; color: var(--navy); font-family: var(--font-display); font-size: 1.55rem; }
.pet-progress-copy { display: grid; text-align: left; }
.pet-progress-copy strong { color: #0d8d7e; font-size: 1rem; }
.pet-progress-copy span { color: #81909f; font-size: .68rem; }
.pet-progress-track { height: 7px; margin-bottom: 17px; overflow: hidden; border-radius: 99px; background: rgba(18,35,59,.065); }
.pet-progress-track span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #17a995, #4bd3c2); box-shadow: 0 4px 12px rgba(29,185,167,.28); transition: width .55s var(--ease-smooth); }
.pet-task-list { display: grid; gap: 8px; }
.pet-task {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(18,35,59,.055);
  border-radius: 17px;
  color: var(--navy);
  background: rgba(248,251,252,.78);
  cursor: pointer;
  text-align: right;
  transition: transform .3s var(--ease-smooth), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.pet-task:hover { transform: translateX(-3px); border-color: rgba(29,185,167,.2); background: white; box-shadow: 0 10px 25px rgba(18,35,59,.055); }
.pet-task-check { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(18,35,59,.1); border-radius: 11px; color: transparent; background: white; transition: .32s var(--ease-smooth); }
.pet-task-check svg { width: 18px; height: 18px; }
.pet-task > span:nth-child(2) { display: grid; gap: 2px; }
.pet-task strong { font-family: inherit; font-size: .88rem; }
.pet-task small { color: #738191; font-size: .72rem; }
.pet-task em { padding: 6px 9px; border-radius: 9px; color: #718090; background: rgba(18,35,59,.045); font-size: .66rem; font-style: normal; font-weight: 850; }
.pet-task.is-done { border-color: rgba(29,185,167,.14); background: rgba(234,251,247,.74); }
.pet-task.is-done .pet-task-check { color: white; border-color: var(--teal); background: var(--teal); box-shadow: 0 7px 16px rgba(29,185,167,.24); transform: rotate(-4deg) scale(1.04); }
.pet-task.is-done strong { text-decoration: line-through; text-decoration-color: rgba(18,35,59,.28); }

.pet-profile-bright {
  color: var(--navy);
  text-align: right;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,190,79,.18), transparent 9rem),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(234,252,248,.83));
}
.pet-profile-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.pet-profile-bright .big-pet-avatar {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 7px solid white;
  border-radius: 27px;
  color: white;
  background: linear-gradient(145deg, #ff9b7b, #f06a5f);
  box-shadow: 0 15px 30px rgba(240,106,95,.22);
  transform: rotate(3deg);
  animation: petAvatarBob 5s ease-in-out infinite;
}
.pet-profile-bright .big-pet-avatar::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 18px;
}
.pet-profile-bright .big-pet-avatar span { position: relative; z-index: 1; font-size: 2rem; font-weight: 900; }
.pet-profile-bright h2 { margin: 3px 0 0; color: var(--navy); font-size: 1.65rem; }
.pet-profile-bright .pet-profile-top p { margin: 0; color: #768494; font-size: .76rem; }
.pet-status { display: inline-flex; align-items: center; gap: 6px; color: #087b70; font-size: .68rem; font-weight: 850; }
.pet-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(29,185,167,.1); }
.pet-profile-bright dl { margin: 20px 0 15px; gap: 7px; overflow: visible; background: transparent; border-radius: 0; }
.pet-profile-bright dl div { padding: 10px 12px; border: 1px solid rgba(18,35,59,.055); border-radius: 12px; background: rgba(255,255,255,.58); font-size: .76rem; }
.pet-profile-bright dt { color: #7a8796; }
.pet-profile-bright dd { color: var(--navy); }
.pet-profile-bright .secondary-button { width: 100%; min-height: 45px; color: var(--navy); border-color: rgba(18,35,59,.08); background: rgba(255,255,255,.72); }
.pet-reminder-card,
.pet-timeline-card { padding: 27px; border-radius: 28px; }
.pet-reminder-card .calendar-item { min-height: 78px; padding: 11px 0; }
.pet-reminder-card .date-tile { width: 56px; height: 61px; border-radius: 16px; }
.pet-timeline-card .timeline li { padding-bottom: 24px; }
.pet-timeline-card .timeline-dot { animation: petDotPulse 3s ease-in-out infinite; }
.pet-timeline-card .timeline li:nth-child(2) .timeline-dot { animation-delay: .6s; }
.pet-timeline-card .timeline li:nth-child(3) .timeline-dot { animation-delay: 1.2s; }
.demo-chip { padding: 6px 10px; border-radius: 99px; color: #687888; background: rgba(18,35,59,.05); font-size: .66rem; font-weight: 850; }
.care-week { height: 172px; display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(7px, 2.4vw, 26px); align-items: end; }
.care-week > div { height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 9px; align-items: end; text-align: center; }
.care-week > div > span { width: min(48px, 100%); height: var(--level); justify-self: center; border-radius: 15px 15px 7px 7px; background: linear-gradient(180deg, rgba(29,185,167,.86), rgba(29,185,167,.24)); box-shadow: 0 10px 22px rgba(29,185,167,.14); transform-origin: bottom; animation: petBarGrow .85s var(--ease-smooth) both; }
.care-week > div:nth-child(2) > span { animation-delay: .06s; }
.care-week > div:nth-child(3) > span { animation-delay: .12s; }
.care-week > div:nth-child(4) > span { animation-delay: .18s; }
.care-week > div:nth-child(5) > span { animation-delay: .24s; }
.care-week > div:nth-child(6) > span { animation-delay: .3s; }
.care-week > div:nth-child(7) > span { animation-delay: .36s; }
.care-week .is-today > span { background: linear-gradient(180deg, #ffaf6a, #ffcf90); box-shadow: 0 12px 24px rgba(255,171,101,.2); }
.care-week small { color: #71808f; font-size: .68rem; }
.care-week .is-today small { color: #df7358; font-weight: 900; }

@keyframes petHeroReveal { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes petCopyRise { from { opacity: 0; transform: translateY(18px); } }
@keyframes petPanelRise { from { opacity: 0; transform: translateY(24px); } }
@keyframes petPortraitBreathe { from { transform: scale(1.025); } to { transform: scale(1.07) translateX(-4px); } }
@keyframes petScoreFloat { 50% { transform: translateY(7px) rotate(.5deg); } }
@keyframes petNoteFloat { 50% { transform: translateY(-6px) rotate(-.5deg); } }
@keyframes petAvatarBob { 50% { transform: translateY(-5px) rotate(-2deg); } }
@keyframes petLivePulse { 70% { box-shadow: 0 0 0 9px rgba(29,185,167,0); } 100% { box-shadow: 0 0 0 0 rgba(29,185,167,0); } }
@keyframes petDotPulse { 50% { box-shadow: 0 0 0 2px currentColor, 0 0 0 8px transparent; transform: scale(1.12); } }
@keyframes petRingIn { from { opacity: 0; transform: rotate(-28deg) scale(.55); } }
@keyframes petBarGrow { from { transform: scaleY(.08); opacity: .35; } }
@keyframes petHaloTurn { to { transform: rotate(360deg); } }
@keyframes petAmbientDrift { to { transform: translate3d(18px, 28px, 0) scale(1.05); } }

@media (max-width: 1120px) {
  .pet-home-hero { grid-template-columns: 1.08fr .92fr; }
  .pet-home-copy h1 { font-size: clamp(2.45rem, 5.7vw, 3.8rem); }
  .pet-today-board { grid-column: span 7; }
  .pet-profile-bright { grid-column: span 5; }
  .pet-reminder-card,
  .pet-timeline-card { grid-column: span 6; }
}

@media (max-width: 760px) {
  .pet-home-shell { width: min(100% - 16px, 620px); padding-block: 8px 108px; }
  .pet-home-hero {
    min-height: 0;
    padding: 8px;
    grid-template-columns: 1fr;
    gap: 7px;
    border-radius: 28px;
  }
  .pet-home-copy { padding: 20px 15px 13px; }
  .pet-home-copy h1 { margin-top: 10px; max-width: none; font-size: clamp(2.05rem, 10vw, 2.75rem); line-height: 1.2; }
  .pet-home-copy > p { font-size: .88rem; line-height: 1.78; }
  .pet-mood-checkin { width: 100%; margin-top: 17px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .pet-mood-checkin > span { grid-column: 1 / -1; padding: 4px 7px 2px; }
  .pet-mood-checkin button { justify-content: center; padding-inline: 5px; }
  .pet-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pet-hero-actions .primary-button,
  .pet-hero-actions .secondary-button { width: 100%; min-height: 46px; padding-inline: 10px; font-size: .76rem; }
  .pet-hero-visual { min-height: 235px; border-radius: 22px; }
  .pet-hero-visual > img { object-position: 25% center; }
  .pet-care-score { top: 11px; right: 11px; padding: 7px 8px 7px 10px; border-radius: 15px; }
  .score-ring { width: 47px; height: 47px; }
  .score-ring::before { width: 37px; height: 37px; }
  .score-ring strong { font-size: .86rem; }
  .pet-care-score > div:last-child small { font-size: .58rem; }
  .pet-care-score > div:last-child strong { font-size: .68rem; }
  .pet-next-note { left: 11px; bottom: 11px; padding: 8px 10px; border-radius: 14px; }
  .pet-home-grid { margin-top: 12px; grid-template-columns: 1fr; gap: 12px; }
  .pet-today-board,
  .pet-profile-bright,
  .pet-reminder-card,
  .pet-timeline-card,
  .pet-week-card { grid-column: 1; padding: 19px; border-radius: 23px; }
  .pet-profile-bright { order: 2; }
  .pet-reminder-card { order: 3; }
  .pet-timeline-card { order: 4; }
  .pet-week-card { order: 5; }
  .pet-panel-heading { margin-bottom: 14px; }
  .pet-panel-heading h2 { font-size: 1.26rem; }
  .pet-task { min-height: 65px; padding: 10px; gap: 9px; }
  .pet-task em { display: none; }
  .pet-profile-top { gap: 12px; }
  .pet-profile-bright .big-pet-avatar { width: 72px; height: 72px; border-radius: 23px; }
  .pet-profile-bright dl { grid-template-columns: 1fr; }
  .care-week { height: 142px; gap: 7px; }
  .care-week > div > span { border-radius: 11px 11px 5px 5px; }
  .care-week small { font-size: .59rem; }
  .mobile-nav { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 420px) {
  .pet-home-copy h1 { font-size: 2rem; }
  .pet-home-copy > p { font-size: .82rem; }
  .pet-mood-checkin button { font-size: .72rem; }
  .pet-hero-actions { grid-template-columns: 1fr; }
  .pet-hero-visual { min-height: 215px; }
  .pet-next-note > span { display: none; }
  .pet-profile-bright dl div { font-size: .71rem; }
  .care-week { height: 125px; gap: 5px; }
  .care-week small { font-size: .54rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pet-home-page::before,
  .pet-home-page::after,
  .pet-home-hero,
  .pet-home-hero::before,
  .pet-home-copy > *,
  .pet-hero-visual > img,
  .pet-care-score,
  .pet-next-note,
  .score-ring,
  .pet-home-grid > section,
  .pet-home-grid > aside,
  .pet-profile-bright .big-pet-avatar,
  .pet-live > span,
  .pet-timeline-card .timeline-dot,
  .care-week > div > span { animation: none !important; }
  .pet-task,
  .pet-mood-checkin button,
  .pet-progress-track span { transition: none !important; }
}

/* Site-wide public information */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(19, 34, 56, .08);
  background: rgba(255, 253, 248, .82);
}
.site-footer-inner {
  min-height: 112px;
  padding-block: 22px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.site-footer-brand { display: flex; align-items: center; gap: 10px; }
.site-footer-brand img { width: 46px; height: 46px; filter: drop-shadow(0 8px 10px rgba(19,34,56,.13)); }
.site-footer-brand span { display: grid; line-height: 1.35; }
.site-footer-brand strong { font-size: 1rem; }
.site-footer-brand small,
.site-footer address span { color: var(--ink-soft); font-size: .76rem; }
.site-footer address { display: grid; font-style: normal; line-height: 1.7; }
.site-footer address strong { font-size: .78rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.site-footer nav a {
  min-height: 42px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 850;
}
.site-footer nav a:last-child { color: white; background: var(--navy); border-color: var(--navy); }

@media (max-width: 760px) {
  .site-footer { margin-bottom: 8px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 14px; padding-block: 22px 104px; }
  .site-footer nav { justify-content: stretch; }
  .site-footer nav a { flex: 1; justify-content: center; text-align: center; }
}

/* Meeow Shop — Royal Canin curated collection */
.shop-page {
  background:
    radial-gradient(circle at 86% 2%, rgba(255,107,95,.13), transparent 25rem),
    radial-gradient(circle at 8% 45%, rgba(32,201,181,.09), transparent 28rem),
    linear-gradient(180deg, rgba(255,253,248,.55), #f7f7f2 72%);
}
.shop-page .inner-page { padding-top: 28px; }
.shop-title-row {
  position: relative;
  overflow: hidden;
  align-items: center;
  min-height: 294px;
  padding: clamp(28px, 4.4vw, 54px);
  color: white;
  background:
    radial-gradient(circle at 10% 14%, rgba(32,201,181,.24), transparent 18rem),
    linear-gradient(128deg, #101f34 0%, #19304c 58%, #263f5e 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  box-shadow: 0 28px 75px rgba(18,35,59,.2);
}
.shop-title-row::before,
.shop-title-row::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
}
.shop-title-row::before { width: 290px; height: 290px; left: -95px; top: -145px; box-shadow: 0 0 0 42px rgba(255,255,255,.022); }
.shop-title-row::after { width: 150px; height: 150px; right: 43%; bottom: -118px; box-shadow: 0 0 0 30px rgba(255,107,95,.035); }
.shop-title-row > * { position: relative; z-index: 1; }
.shop-title-row .eyebrow { color: #85e7da; }
.shop-title-row h1 { max-width: 620px; margin-block: 8px 10px; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1.13; }
.shop-title-row > div:first-child > p { max-width: 620px; color: rgba(255,255,255,.7); font-size: .98rem; }
.shop-trust-line { margin-top: 19px; display: flex; flex-wrap: wrap; gap: 8px; }
.shop-trust-line span { min-height: 32px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.shop-trust-line svg { width: 15px; color: var(--teal); }
.shop-search-panel { width: min(380px, 100%); padding: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 21px; backdrop-filter: blur(12px); }
.shop-search-panel .search-box { width: 100%; box-shadow: none; }
.shop-search-panel p { margin: 8px 8px 1px; color: rgba(255,255,255,.62); font-size: .66rem; }
.shop-search-panel p strong { color: rgba(255,255,255,.86); }

.shop-brand-strip {
  margin: -12px 24px 24px;
  position: relative;
  z-index: 2;
  min-height: 96px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, auto) minmax(260px, 1.2fr);
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(18,35,59,.11);
  backdrop-filter: blur(20px);
}
.brand-strip-mark { display: flex; align-items: center; gap: 11px; }
.brand-strip-mark img { width: 56px; height: 56px; filter: drop-shadow(0 8px 12px rgba(18,35,59,.15)); }
.brand-strip-mark span { display: grid; line-height: 1.3; }
.brand-strip-mark small { color: var(--coral-dark); font-size: .65rem; font-weight: 900; }
.brand-strip-mark strong { font: 800 .96rem/1.3 Arial, sans-serif; letter-spacing: .02em; }
.brand-strip-stat { min-width: 76px; padding-inline: 14px; display: grid; border-inline-start: 1px solid var(--line); }
.brand-strip-stat strong { font-size: 1.25rem; }
.brand-strip-stat span { color: var(--ink-soft); font-size: .63rem; }
.shop-brand-strip > p { margin: 0; color: var(--ink-soft); font-size: .68rem; line-height: 1.75; }
.shop-page .filter-row { margin-bottom: 5px; }
.shop-page .filter-chip { min-height: 44px; border-radius: 14px; }
.shop-page .filter-chip.is-active { background: var(--coral); border-color: var(--coral); box-shadow: 0 9px 20px rgba(255,107,95,.2); }

.shop-page .shop-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 22px; }
.shop-page .repeat-order {
  top: 100px;
  min-height: 390px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 4%, rgba(32,201,181,.26), transparent 10rem),
    linear-gradient(155deg, #12233b, #203b59);
}
.shop-page .repeat-order::after { content: ""; position: absolute; width: 190px; height: 190px; left: -100px; bottom: -100px; border: 28px solid rgba(255,255,255,.035); border-radius: 50%; }
.repeat-brand { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.repeat-brand img { width: 45px; height: 45px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.22)); }
.repeat-price { width: 100%; margin-top: auto; padding: 13px 0 15px; display: grid; border-top: 1px solid rgba(255,255,255,.12); }
.repeat-price span { color: rgba(255,255,255,.55); font-size: .66rem; }
.repeat-price strong { font-size: .92rem; }
.shop-page .repeat-order .primary-button { position: relative; z-index: 1; margin-top: 0; background: var(--coral); }
.shop-page .shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.royal-card { min-width: 0; display: flex; flex-direction: column; border-radius: 24px; box-shadow: 0 10px 32px rgba(18,35,59,.07); }
.royal-card .product-visual,
.featured-product .product-visual { height: auto; aspect-ratio: 4 / 3; background: #f7ead7; }
.product-visual.has-image::before,
.product-visual.has-image::after { display: none; }
.product-visual.has-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.product-card:hover .product-visual.has-image img { transform: scale(1.035); }
.product-visual.has-image .product-label { color: var(--navy); background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.94); box-shadow: 0 5px 16px rgba(18,35,59,.08); }
.royal-card .product-body { flex: 1; padding: 16px; display: flex; flex-direction: column; }
.product-kicker { min-height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.product-kicker small { overflow: hidden; color: var(--coral-dark); font: 800 .57rem/1.4 Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.product-kicker span { flex: 0 0 auto; color: var(--ink-soft); font-size: .53rem; }
.royal-card .product-body h3 { margin: 7px 0 4px; font-size: 1.01rem; line-height: 1.5; }
.product-description { min-height: 48px; margin: 0 0 10px; color: var(--ink-soft); font-size: .68rem; line-height: 1.8; }
.product-specs { display: flex; flex-wrap: wrap; gap: 5px; }
.product-specs span { padding: 3px 7px; color: #536174; background: #f3f4f4; border-radius: 999px; font-size: .58rem; font-weight: 800; }
.product-price { margin-top: auto; padding-top: 13px; flex-wrap: wrap; }
.product-price strong { font-size: 1.11rem; }
.product-price small { margin-inline-start: auto; padding: 3px 6px; color: #087a6d; background: rgba(32,201,181,.1); border-radius: 6px; font-size: .54rem; font-weight: 850; }
.royal-card .add-button { min-height: 45px; color: white; border: 1px solid rgba(18,35,59,.08); background: var(--navy); }
.price-disclaimer { margin: 22px 0 0 302px; padding: 15px 18px; display: flex; align-items: flex-start; gap: 10px; color: #5d6674; background: #fff9ec; border: 1px solid rgba(255,190,79,.3); border-radius: 17px; font-size: .7rem; }
.price-disclaimer svg { flex: 0 0 auto; margin-top: 3px; color: #b87300; }
.price-disclaimer p { margin: 0; }
.price-disclaimer strong { color: var(--navy); }

@media (max-width: 1180px) {
  .shop-brand-strip { grid-template-columns: minmax(210px, 1fr) repeat(3, auto); }
  .shop-brand-strip > p { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
  .shop-page .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shop-page .inner-page { padding-top: 14px; }
  .shop-title-row { min-height: 0; padding: 25px 20px; align-items: stretch; border-radius: 27px; }
  .shop-title-row h1 { font-size: 2.45rem; }
  .shop-title-row > div:first-child > p { font-size: .78rem; }
  .shop-search-panel { width: 100%; }
  .shop-brand-strip { margin: -8px 10px 18px; grid-template-columns: 1fr 1fr 1fr; gap: 10px; border-radius: 20px; }
  .brand-strip-mark { grid-column: 1 / -1; }
  .brand-strip-stat { min-width: 0; padding-inline: 8px; border-inline-start: 0; border-inline-end: 1px solid var(--line); }
  .brand-strip-stat:nth-of-type(2) { border-inline-end: 0; }
  .shop-brand-strip > p { font-size: .62rem; }
  .shop-page .shop-layout { grid-template-columns: 1fr; }
  .shop-page .repeat-order { min-height: 260px; position: relative; top: auto; }
  .shop-page .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .royal-card .product-body { padding: 12px; }
  .royal-card .product-body h3 { font-size: .86rem; }
  .product-description { min-height: 60px; font-size: .62rem; }
  .product-kicker span { display: none; }
  .product-price strong { font-size: .96rem; }
  .product-price small { display: none; }
  .price-disclaimer { margin-inline-start: 0; }
}

@media (max-width: 430px) {
  .shop-title-row h1 { font-size: 2.15rem; }
  .shop-trust-line span { font-size: .62rem; }
  .shop-page .shop-products { grid-template-columns: 1fr; }
  .royal-card .product-body { padding: 15px; }
  .royal-card .product-body h3 { font-size: 1rem; }
  .product-description { min-height: 0; }
  .product-kicker span { display: inline; }
}

/* ==========================================================================
   Meeow 0.1.8 — Luxe minimal homepage (slideshow, service rail, product rail)
   ========================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.lx-home {
  --lx-ink: #0f1c2e;
  --lx-ivory: #f7f1e7;
  --lx-sand: #efe6d7;
  --lx-champagne: #c8a577;
  --lx-muted: #6b7482;
  --lx-hair: rgba(15,28,46,.08);
  --lx-ease: cubic-bezier(.22, 1, .36, 1);
  --lx-duration: 7s;
}
.lx-shell { padding-block: 18px 72px; display: grid; gap: 14px; }

/* ---------- Slideshow ---------- */
.lx-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 34px;
  background: var(--lx-ivory);
  box-shadow: 0 0 0 1px rgba(15,28,46,.05), 0 40px 80px -48px rgba(15,28,46,.55);
  touch-action: pan-y;
}
.lx-stage { display: grid; height: clamp(460px, calc(100svh - 300px), 590px); }
.lx-slide {
  --slide-bg: var(--lx-ivory);
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas: "copy media";
  min-height: 0;
  background: var(--slide-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.lx-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .9s ease; }
.lx-slide--shop { --slide-bg: radial-gradient(120% 90% at 20% 50%, #fbf4e8 0%, #f3e8d7 62%, #ecdfca 100%); }
.lx-slide--pet { --slide-bg: #fbf1e3; }
.lx-slide--home { --slide-bg: #fbf3ea; }
.lx-slide--dark {
  --slide-bg: radial-gradient(90% 110% at 25% 45%, #213a5c 0%, #142640 48%, #0c1727 100%);
  color: #f7f1e7;
}

.lx-media { grid-area: media; position: relative; min-height: 0; overflow: hidden; }
.lx-media img { transform: scale(1.06); transition: transform calc(var(--lx-duration) + 1.5s) linear; will-change: transform; }
.lx-slide.is-active .lx-media img { transform: scale(1); }

.lx-slide--bleed .lx-media { position: absolute; inset: 0; }
.lx-slide--bleed .lx-media img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 40%; }
.lx-slide--bleed .lx-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, var(--slide-bg) 0%, color-mix(in srgb, var(--slide-bg) 88%, transparent) 30%, transparent 58%);
}
.lx-slide--home .lx-media img { object-position: 0% 55%; }

.lx-media--framed { display: grid; place-items: center; }
.lx-media--framed img {
  width: min(96%, 640px); height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mix-blend-mode: multiply;
}
.lx-halo { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 68%); }

.lx-media--orbit { display: grid; place-items: center; }
.lx-media--orbit img { position: relative; z-index: 1; width: min(76%, 430px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.lx-slide--vet.is-active .lx-media--orbit img { animation: lxDrift 9s ease-in-out infinite; }
.lx-ring { position: absolute; width: min(82%, 470px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(200,165,119,.28); box-shadow: 0 0 0 42px rgba(255,255,255,.018), 0 0 0 84px rgba(255,255,255,.012); }
@keyframes lxDrift { 50% { transform: translateY(-10px) rotate(3deg); } }

.lx-float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  color: var(--lx-ink);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  box-shadow: 0 18px 40px -18px rgba(15,28,46,.35);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s var(--lx-ease) .55s, transform .8s var(--lx-ease) .55s;
}
.lx-slide.is-active .lx-float { opacity: 1; transform: none; }
.lx-float--price { left: 7%; top: 13%; flex-direction: column; align-items: flex-start; gap: 0; }
.lx-float small { color: var(--lx-muted); font-size: .7rem; font-weight: 700; }
.lx-float strong { font-size: 1.05rem; font-weight: 900; letter-spacing: -.02em; }
.lx-float strong span { font-size: .72rem; font-weight: 600; color: var(--lx-muted); }
.lx-float--score { left: 4%; top: 8%; }
.lx-float--score > span:last-child { display: grid; line-height: 1.35; }
.lx-mini-ring { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--teal) 0 86%, rgba(15,28,46,.08) 0); }
.lx-mini-ring b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: white; font-size: .78rem; }

.lx-copy {
  grid-area: copy;
  position: relative; z-index: 2;
  align-self: center;
  max-width: 560px;
  padding: clamp(28px, 4.4vw, 68px);
  padding-bottom: 96px;
}
.lx-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--lx-ease), transform .8s var(--lx-ease); }
.lx-slide.is-active .lx-copy > * { opacity: 1; transform: none; }
.lx-slide.is-active .lx-copy > :nth-child(2) { transition-delay: .08s; }
.lx-slide.is-active .lx-copy > :nth-child(3) { transition-delay: .16s; }
.lx-slide.is-active .lx-copy > :nth-child(4) { transition-delay: .24s; }

.lx-kicker { display: inline-flex; align-items: center; gap: 10px; color: #9b7a4c; font-size: .8rem; font-weight: 800; letter-spacing: .01em; }
.lx-kicker i { width: 26px; height: 1px; background: currentColor; }
.lx-slide--dark .lx-kicker { color: var(--lx-champagne); }
.lx-copy h2 { margin: 14px 0 14px; font-size: clamp(2.1rem, 3.7vw, 3.45rem); line-height: 1.16; letter-spacing: -.045em; font-weight: 900; color: inherit; }
.lx-copy h2 em { font-style: normal; font-weight: 400; color: #b24a3f; }
.lx-slide--dark .lx-copy h2 em { color: var(--lx-champagne); }
.lx-copy p { max-width: 29rem; margin: 0; color: var(--lx-muted); font-size: 1rem; line-height: 1.9; }
.lx-slide--dark .lx-copy p { color: rgba(247,241,231,.7); }
.lx-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.lx-btn {
  min-height: 50px; padding: 0 24px;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px;
  font: 800 .92rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--lx-ease), background .35s ease, box-shadow .35s ease, color .35s ease, border-color .35s ease;
}
.lx-btn svg { width: 18px; height: 18px; transition: transform .35s var(--lx-ease); }
.lx-btn:hover svg { transform: translateX(-4px); }
.lx-btn--solid { color: #fbf6ee; background: var(--lx-ink); box-shadow: 0 16px 30px -16px rgba(15,28,46,.7); }
.lx-btn--solid:hover { transform: translateY(-2px); background: #1d3352; }
.lx-btn--ghost { color: var(--lx-ink); background: rgba(255,255,255,.45); border-color: rgba(15,28,46,.14); }
.lx-btn--ghost:hover { background: white; border-color: rgba(15,28,46,.22); }
.lx-slide--dark .lx-btn--solid { color: var(--lx-ink); background: #f7f1e7; box-shadow: 0 16px 34px -16px rgba(0,0,0,.6); }
.lx-slide--dark .lx-btn--solid:hover { background: white; }
.lx-slide--dark .lx-btn--ghost { color: #f7f1e7; background: rgba(255,255,255,.06); border-color: rgba(247,241,231,.22); }
.lx-slide--dark .lx-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Controls */
.lx-controls {
  position: absolute; z-index: 5;
  inset-inline: clamp(28px, 4.4vw, 68px); bottom: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--lx-ink);
  transition: color .6s ease;
  pointer-events: none;
}
.lx-controls > * { pointer-events: auto; }
.lx-hero[data-tone="dark"] .lx-controls { color: #f7f1e7; }
.lx-pager { display: flex; gap: 18px; }
.lx-dot {
  width: 104px; padding: 8px 0; border: 0; background: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; row-gap: 8px;
  color: inherit; text-align: right; opacity: .5;
  transition: opacity .3s ease;
}
.lx-dot:hover, .lx-dot.is-active { opacity: 1; }
.lx-dot b { font-size: .72rem; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.lx-dot span { font-size: .78rem; font-weight: 700; white-space: nowrap; }
.lx-dot i { grid-column: 1 / -1; height: 2px; border-radius: 2px; overflow: hidden; background: currentColor; opacity: .9; background: color-mix(in srgb, currentColor 18%, transparent); }
.lx-dot em { display: block; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: right center; }
.lx-dot.is-active em { animation: lxFill var(--lx-duration) linear forwards; }
.lx-hero.is-paused .lx-dot.is-active em { animation-play-state: paused; }
.lx-hero.is-static .lx-dot.is-active em { animation: none; transform: scaleX(1); }
@keyframes lxFill { to { transform: scaleX(1); } }

.lx-arrows { display: flex; gap: 8px; }
.lx-round {
  width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center;
  color: inherit; cursor: pointer;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 4%, rgba(255,255,255,.62));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--lx-ease), background .3s ease, border-color .3s ease, opacity .3s ease;
}
.lx-round:hover { transform: translateY(-2px); border-color: color-mix(in srgb, currentColor 32%, transparent); }
.lx-round:disabled { opacity: .3; cursor: default; transform: none; }
.lx-round svg { width: 18px; height: 18px; }
.lx-hero[data-tone="dark"] .lx-round { background: rgba(255,255,255,.06); }
svg.flip { transform: scaleX(-1); }
#lxToggle .i-play { display: none; }
.lx-hero.is-held #lxToggle .i-play { display: block; }
.lx-hero.is-held #lxToggle .i-pause { display: none; }

/* ---------- Service rail ---------- */
.lx-services { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 14px; }
.lx-pet-status {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 0; border-radius: 24px; cursor: pointer; text-align: right;
  color: #f7f1e7;
  background: radial-gradient(120% 140% at 90% 0%, #264267 0%, var(--lx-ink) 70%);
  box-shadow: 0 20px 40px -26px rgba(15,28,46,.8);
  transition: transform .35s var(--lx-ease);
}
.lx-pet-status:hover { transform: translateY(-2px); }
.lx-avatar { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font: 900 1.1rem Estedad, var(--font); color: white; background: linear-gradient(145deg, #ff8f84, var(--coral)); box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.lx-pet-status > span:nth-child(2) { display: grid; flex: 1; line-height: 1.5; }
.lx-pet-status small { color: var(--lx-champagne); font-size: .72rem; font-weight: 800; }
.lx-pet-status strong { font-size: .92rem; font-weight: 800; }
.lx-pet-status > svg { width: 18px; opacity: .7; }

.lx-service-list {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px;
  padding: 6px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--lx-hair);
  border-radius: 24px;
  box-shadow: 0 14px 34px -26px rgba(15,28,46,.4);
}
.lx-service {
  min-width: 0; padding: 8px 10px; border: 0; border-radius: 18px; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 8px; text-align: right;
  transition: background .3s ease;
}
.lx-service:hover { background: var(--lx-ivory); }
.lx-glyph { flex: 0 0 auto; width: 40px; height: 42px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(15,28,46,.14)); transition: transform .45s var(--lx-ease); }
.lx-service:hover .lx-glyph { transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.lx-service > span { display: grid; min-width: 0; line-height: 1.45; }
.lx-service strong { font-size: .84rem; font-weight: 800; white-space: nowrap; }
.lx-service small { color: var(--lx-muted); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Product rail ---------- */
.lx-products { margin-top: 18px; }
.lx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.lx-overline { color: #9b7a4c; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.lx-section-head h2 { margin: 4px 0 0; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 900; }
.lx-head-tools { display: flex; align-items: center; gap: 14px; }
.lx-tabs { display: flex; padding: 4px; gap: 2px; background: rgba(15,28,46,.05); border-radius: 999px; }
.lx-tabs button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--lx-muted); font-size: .82rem; font-weight: 800; cursor: pointer; transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.lx-tabs button.is-active { color: var(--lx-ink); background: white; box-shadow: 0 6px 14px -8px rgba(15,28,46,.4); }
.lx-rail-nav { display: flex; gap: 8px; color: var(--lx-ink); }
.lx-round--light { width: 42px; height: 42px; background: white; }

.lx-rail {
  --gap: 14px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap) * 3) / 4);
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 18px;
  margin: -4px -2px 0;
}
.lx-rail::-webkit-scrollbar { display: none; }
.lx-rail:focus-visible { outline: 3px solid rgba(32,201,181,.45); outline-offset: 4px; border-radius: 24px; }
.lx-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid var(--lx-hair);
  border-radius: 24px;
  transition: transform .5s var(--lx-ease), box-shadow .5s var(--lx-ease), opacity .4s ease;
}
.lx-card[hidden] { display: none; }
.lx-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(15,28,46,.45); }
.lx-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lx-sand); }
.lx-card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .9s var(--lx-ease); }
.lx-card:hover .lx-card-media img { transform: scale(1.07); }
.lx-tag { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 4px 10px; color: var(--lx-ink); background: rgba(255,255,255,.82); border-radius: 999px; font-size: .68rem; font-weight: 800; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lx-card-body { padding: 14px 16px 16px; display: grid; gap: 2px; }
.lx-card-body small { color: var(--lx-muted); font-size: .64rem; font-weight: 700; letter-spacing: .02em; }
.lx-card-body h3 { margin: 0; font-size: 1.02rem; font-weight: 900; letter-spacing: -.02em; }
.lx-card-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lx-card-foot p { margin: 0; display: grid; line-height: 1.4; }
.lx-card-foot strong { font-size: 1.02rem; font-weight: 900; letter-spacing: -.02em; }
.lx-card-foot span { color: var(--lx-muted); font-size: .68rem; }
.lx-add {
  position: relative; flex: 0 0 auto;
  width: 42px; height: 42px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  color: #fbf6ee; background: var(--lx-ink);
  transition: transform .35s var(--lx-ease), background .3s ease;
}
.lx-add:hover { transform: rotate(90deg); background: #1d3352; }
.lx-add svg { grid-area: 1 / 1; width: 18px; height: 18px; stroke-width: 2.2; transition: opacity .25s ease, transform .35s var(--lx-ease); }
.lx-add .i-done { opacity: 0; transform: scale(.4); }
.lx-add.is-added { background: var(--teal); transform: none; }
.lx-add.is-added .i-plus { opacity: 0; transform: scale(.4); }
.lx-add.is-added .i-done { opacity: 1; transform: none; }

.lx-assure {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding-top: 14px; border-top: 1px solid var(--lx-hair);
  color: var(--lx-muted); font-size: .74rem;
}
.lx-assure > span { display: inline-flex; align-items: center; gap: 6px; }
.lx-assure svg { width: 16px; height: 16px; color: #9b7a4c; }
.lx-link { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: var(--lx-ink); font-size: .84rem; font-weight: 800; cursor: pointer; }
.lx-link svg { width: 16px; height: 16px; transition: transform .35s var(--lx-ease); }
.lx-link:hover svg { transform: translateX(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .lx-services { grid-template-columns: 1fr; }
  .lx-rail { grid-auto-columns: calc((100% - var(--gap) * 2) / 3); }
  .lx-dot { width: 84px; }
}
@media (max-width: 860px) {
  .lx-service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .lx-shell { padding-block: 10px 110px; gap: 12px; }
  .lx-hero { border-radius: 26px; }
  .lx-stage { height: auto; }
  .lx-slide { grid-template-columns: 1fr; grid-template-rows: 224px auto; grid-template-areas: "media" "copy"; }
  .lx-slide--bleed .lx-media { position: relative; inset: auto; }
  .lx-slide--bleed .lx-media::after { background: linear-gradient(to top, var(--slide-bg) 0%, transparent 38%); }
  .lx-slide--pet .lx-media img { object-position: 30% 40%; }
  .lx-slide--home .lx-media img { object-position: 22% 45%; }
  .lx-media--framed img { width: 100%; }
  .lx-media--orbit img { width: 210px; }
  .lx-ring { width: 240px; }
  .lx-float { padding: 9px 12px; border-radius: 14px; }
  .lx-float--price { left: 14px; top: 14px; }
  .lx-float--score { left: 14px; top: 14px; }
  .lx-copy { align-self: start; max-width: none; padding: 4px 22px 84px; }
  .mobile-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mobile-nav button span { white-space: nowrap; }
  .lx-copy h2 { margin: 10px 0; font-size: 1.95rem; }
  .lx-copy p { font-size: .88rem; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .lx-actions { margin-top: 18px; }
  .lx-btn { min-height: 46px; padding: 0 18px; font-size: .86rem; }
  .lx-controls { inset-inline: 22px; bottom: 18px; }
  .lx-pager { gap: 8px; }
  .lx-dot { width: 34px; grid-template-columns: 1fr; }
  .lx-dot span { display: none; }
  .lx-dot b { display: none; }
  .lx-round { width: 42px; height: 42px; }
  .lx-pet-status { padding: 12px 14px; border-radius: 20px; }
  .lx-service-list {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    padding: 6px; border-radius: 20px;
  }
  .lx-service-list::-webkit-scrollbar { display: none; }
  .lx-service { flex: 0 0 auto; scroll-snap-align: start; flex-direction: column; gap: 4px; width: 84px; padding: 8px 4px; text-align: center; }
  .lx-service > span { justify-items: center; }
  .lx-service small { display: none; }
  .lx-glyph { width: 38px; height: 40px; }
  .lx-products { margin-top: 10px; }
  .lx-section-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .lx-rail-nav { display: none; }
  .lx-rail { grid-auto-columns: 62%; --gap: 12px; }
  .lx-assure { font-size: .7rem; }
  .lx-link { margin-inline-start: 0; }
}
@media (max-width: 420px) {
  .lx-slide { grid-template-rows: 196px auto; }
  .lx-copy h2 { font-size: 1.7rem; }
  .lx-rail { grid-auto-columns: 74%; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-slide, .lx-copy > *, .lx-float, .lx-media img, .lx-card, .lx-card-media img { transition: none !important; }
  .lx-media img { transform: none !important; }
  .lx-slide--vet.is-active .lx-media--orbit img { animation: none; }
  .lx-rail { scroll-behavior: auto; }
}

/* ==========================================================================
   Meeow 0.1.8 — Storefront homepage, header search, web-app entry
   ========================================================================== */

/* Header search */
.header-search {
  flex: 0 1 280px; min-width: 0; height: 42px;
  margin-inline-start: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  color: var(--ink-soft);
  background: rgba(18,35,59,.045);
  border: 1px solid transparent;
  border-radius: 13px;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.header-search:focus-within { background: white; border-color: rgba(18,35,59,.14); box-shadow: 0 8px 22px -12px rgba(18,35,59,.35); }
.header-search svg { flex: 0 0 auto; width: 18px; height: 18px; }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: .84rem; }
.header-search input::placeholder { color: #8a93a0; }
.header-search + .header-actions { margin-inline-start: 0; }
@media (max-width: 1240px) { .header-search { flex-basis: 200px; } }
@media (max-width: 1120px) { .header-search { display: none; } .header-search + .header-actions { margin-inline-start: auto; } }

/* Top: slider + promo banners */
.lx-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; }
.lx-top .lx-stage { height: clamp(430px, calc(100svh - 330px), 520px); }
.lx-top .lx-copy { padding: clamp(26px, 3.4vw, 52px); padding-bottom: 92px; }
.lx-top .lx-copy h2 { font-size: clamp(1.9rem, 2.9vw, 2.85rem); }
.lx-top .lx-copy p { font-size: .94rem; }
.lx-top .lx-controls { inset-inline: clamp(26px, 3.4vw, 52px); }
.lx-top .lx-dot { width: 84px; }
.lx-top .lx-pager { gap: 12px; }
.lx-slide--kitten { --slide-bg: radial-gradient(120% 90% at 20% 50%, #fbf5ea 0%, #f4eadb 62%, #ede1cd 100%); }

.lx-promos { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.lx-promo {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: stretch;
  padding: 0; border: 0; border-radius: 28px; cursor: pointer; text-align: right;
  color: var(--lx-ink);
  background: linear-gradient(160deg, #f6eee1, #ecdfca);
  box-shadow: 0 0 0 1px rgba(15,28,46,.05), 0 24px 50px -40px rgba(15,28,46,.6);
  transition: transform .45s var(--lx-ease), box-shadow .45s var(--lx-ease);
}
.lx-promo--dog { background: linear-gradient(160deg, #eaf0f2, #dbe5e9); }
.lx-promo:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(15,28,46,.06), 0 30px 60px -36px rgba(15,28,46,.6); }
.lx-promo img {
  position: absolute; z-index: -1; left: -18%; bottom: -8%;
  width: 78%; height: auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mix-blend-mode: multiply;
  transition: transform .8s var(--lx-ease);
}
.lx-promo:hover img { transform: scale(1.06) rotate(-2deg); }
.lx-promo-copy { position: relative; display: grid; align-content: start; gap: 2px; width: 62%; padding: 22px 22px 20px; height: 100%; }
.lx-promo-copy small { color: #9b7a4c; font-size: .72rem; font-weight: 800; }
.lx-promo--dog .lx-promo-copy small { color: #3e7f8c; }
.lx-promo-copy strong { font-size: 1.05rem; line-height: 1.5; font-weight: 900; letter-spacing: -.02em; }
.lx-promo-copy em { color: var(--lx-muted); font-size: .76rem; font-style: normal; }
.lx-promo-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; }
.lx-promo-link svg { width: 16px; height: 16px; transition: transform .35s var(--lx-ease); }
.lx-promo:hover .lx-promo-link svg { transform: translateX(-4px); }

.lx-home .lx-service-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Web-app band */
.lx-appband {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 26px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px;
  padding: clamp(28px, 4vw, 52px);
  color: #f7f1e7;
  background: radial-gradient(80% 120% at 15% 50%, #24416a 0%, #142640 50%, #0c1727 100%);
  border-radius: 32px;
  box-shadow: 0 40px 80px -50px rgba(15,28,46,.8);
}
.lx-appband::before { content: ""; position: absolute; z-index: -1; width: 420px; aspect-ratio: 1; left: 6%; top: 50%; translate: 0 -50%; border-radius: 50%; border: 1px solid rgba(200,165,119,.22); box-shadow: 0 0 0 44px rgba(255,255,255,.02), 0 0 0 88px rgba(255,255,255,.012); }
.lx-appband .lx-kicker { color: var(--lx-champagne); }
.lx-appband h2 { margin: 12px 0 18px; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.25; letter-spacing: -.04em; font-weight: 900; }
.lx-appband h2 em { font-style: normal; font-weight: 400; color: var(--lx-champagne); }
.lx-app-features { margin: 0 0 22px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lx-app-features li { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid rgba(247,241,231,.1); border-radius: 18px; background: rgba(255,255,255,.04); }
.lx-app-features svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--lx-champagne); }
.lx-app-features span { display: grid; line-height: 1.5; }
.lx-app-features strong { font-size: .86rem; font-weight: 800; }
.lx-app-features small { color: rgba(247,241,231,.62); font-size: .72rem; }
.lx-btn--light { color: var(--lx-ink); background: #f7f1e7; }
.lx-btn--light:hover { background: white; transform: translateY(-2px); }
.lx-btn--outline { color: #f7f1e7; background: transparent; border-color: rgba(247,241,231,.26); }
.lx-btn--outline:hover { background: rgba(255,255,255,.08); }

.lx-appband-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.lx-device, .am-device {
  width: 250px; padding: 18px 14px 14px;
  display: grid; gap: 8px;
  color: var(--lx-ink, #0f1c2e);
  background: linear-gradient(180deg, #fffdf8, #f5efe4);
  border: 7px solid #0a1422;
  border-radius: 38px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 70px -30px rgba(0,0,0,.7);
  transform: rotate(-4deg);
}
.lx-device-top { display: grid; line-height: 1.4; padding: 4px 6px 2px; }
.lx-device-top span { color: #6b7482; font-size: .66rem; font-weight: 700; }
.lx-device-top b { font: 900 1.05rem Estedad, Vazirmatn, sans-serif; letter-spacing: -.02em; }
.lx-device-score { display: flex; align-items: center; gap: 10px; padding: 10px; background: white; border-radius: 16px; box-shadow: 0 8px 18px -12px rgba(15,28,46,.4); }
.lx-device-score > span:last-child { display: grid; line-height: 1.4; }
.lx-device-score small, .lx-device-row small { color: #6b7482; font-size: .62rem; }
.lx-device-score strong, .lx-device-row strong { font-size: .76rem; font-weight: 800; }
.lx-device-row { display: flex; align-items: center; gap: 9px; padding: 9px 10px; background: rgba(255,255,255,.7); border: 1px solid rgba(15,28,46,.06); border-radius: 14px; }
.lx-device-row > span { display: grid; line-height: 1.4; }
.lx-device-row i { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(15,28,46,.18); }
.lx-device-row.is-done i { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lx-device-row.is-alert i { border-color: var(--coral); background: rgba(255,107,94,.14); }
.lx-device-tabs { display: flex; justify-content: space-around; padding: 8px 6px 2px; }
.lx-device-tabs span { width: 22px; height: 4px; border-radius: 4px; background: rgba(15,28,46,.12); }
.lx-device-tabs span.is-on { background: var(--lx-ink, #0f1c2e); }
.lx-device-chip { position: absolute; right: 2%; bottom: 14%; display: flex; align-items: center; gap: 9px; padding: 10px 14px 10px 12px; color: var(--lx-ink); background: rgba(255,255,255,.9); border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); backdrop-filter: blur(10px); }
.lx-device-chip img { width: 36px; height: 36px; border-radius: 10px; }
.lx-device-chip span { display: grid; line-height: 1.35; }
.lx-device-chip strong { font-size: .8rem; font-weight: 900; }
.lx-device-chip small { color: var(--lx-muted); font-size: .64rem; }

/* In-app bar (Petyar) */
.app-bar {
  margin: 14px 0 4px;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 16px;
  background: white;
  border: 1px solid rgba(18,35,59,.08);
  border-radius: 20px;
  box-shadow: 0 16px 34px -28px rgba(18,35,59,.5);
}
.app-bar-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; color: #f7f1e7; background: #0f1c2e; border-radius: 999px; font-size: .78rem; font-weight: 900; white-space: nowrap; }
.app-bar-badge img { width: 28px; height: 28px; border-radius: 50%; background: white; }
.app-bar-text { flex: 1; margin: 0; min-width: 0; color: var(--ink-soft); font-size: .8rem; }
.app-bar-actions { display: flex; gap: 6px; }
.app-bar-actions button { min-height: 38px; padding: 0 14px; border: 1px solid rgba(18,35,59,.12); border-radius: 12px; background: transparent; color: var(--navy); font-size: .78rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.app-bar-actions .app-bar-primary { color: white; background: #0f1c2e; border-color: #0f1c2e; }
.is-signed-in .app-bar-actions .app-bar-primary { color: var(--navy); background: transparent; border-color: rgba(18,35,59,.12); }
.app-bar-actions button[hidden] { display: none; }
.is-signed-in .login-button { background: linear-gradient(145deg, #2d4b6d, var(--navy)); }

/* Web-app modal */
.app-modal {
  width: min(900px, calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px);
  padding: 0; border: 0; border-radius: 30px; overflow: hidden;
  color: #0f1c2e; background: #fffdf8;
  box-shadow: 0 50px 120px -30px rgba(6,14,25,.6);
}
.app-modal[open] { animation: amIn .5s cubic-bezier(.22,1,.36,1) both; }
.app-modal::backdrop { background: rgba(8,16,28,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes amIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.am-shell { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 560px; }
.am-visual {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-content: space-between; justify-items: center; gap: 22px;
  padding: 30px 28px;
  color: #f7f1e7;
  background: radial-gradient(100% 90% at 50% 40%, #24416a 0%, #142640 55%, #0c1727 100%);
}
.am-visual::before { content: ""; position: absolute; z-index: -1; width: 340px; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(200,165,119,.24); box-shadow: 0 0 0 40px rgba(255,255,255,.02), 0 0 0 80px rgba(255,255,255,.012); }
.am-brand { justify-self: start; display: flex; align-items: center; gap: 10px; }
.am-brand img { width: 44px; height: 44px; border-radius: 12px; background: white; }
.am-brand span { display: grid; line-height: 1.2; }
.am-brand strong { font-size: 1.05rem; font-weight: 900; }
.am-brand small { color: var(--lx-champagne, #c8a577); font: 700 .58rem Arial, sans-serif; letter-spacing: .2em; }
.am-device { width: 232px; transform: rotate(-3deg); }
.am-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.am-chips li { padding: 5px 12px; border: 1px solid rgba(247,241,231,.16); border-radius: 999px; background: rgba(255,255,255,.05); color: rgba(247,241,231,.85); font-size: .7rem; font-weight: 700; }

.am-panel { position: relative; display: grid; align-content: start; padding: 26px 34px 30px; overflow-y: auto; }
.am-close { position: absolute; top: 18px; left: 18px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f2eee6; color: #0f1c2e; cursor: pointer; transition: background .2s ease; }
.am-close:hover { background: #e8e2d6; }
.am-close svg { width: 18px; height: 18px; }
.am-progress { margin: 4px 0 26px; padding: 0 0 0 50px; list-style: none; display: flex; gap: 6px; }
.am-progress li { flex: 1; display: grid; gap: 6px; color: #9aa1ab; font-size: .68rem; font-weight: 800; }
.am-progress li::before { content: ""; height: 3px; border-radius: 3px; background: rgba(15,28,46,.1); transition: background .4s ease; }
.am-progress li.is-current, .am-progress li.is-done { color: #0f1c2e; }
.am-progress li.is-current::before { background: #0f1c2e; }
.am-progress li.is-done::before { background: var(--teal); }
.am-step { display: grid; align-content: start; animation: amStep .45s cubic-bezier(.22,1,.36,1) both; }
.am-step[hidden] { display: none; }
@keyframes amStep { from { opacity: 0; transform: translateX(-12px); } }
.am-overline { color: #9b7a4c; font-size: .74rem; font-weight: 800; }
.am-step h2 { margin: 4px 0 8px; font-size: 1.65rem; line-height: 1.35; letter-spacing: -.035em; font-weight: 900; outline: none; }
.am-step > p { margin: 0 0 16px; color: #6b7482; font-size: .86rem; line-height: 1.85; }
.am-step > p b { color: #0f1c2e; }
.am-features { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.am-features li { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; }
.am-features svg { width: 30px; height: 30px; padding: 6px; color: #0f1c2e; background: #f3ede2; border-radius: 10px; }
.am-label { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 800; }
.am-field { height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 16px; direction: ltr; background: white; border: 1px solid rgba(15,28,46,.14); border-radius: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.am-field:focus-within { border-color: #0f1c2e; box-shadow: 0 0 0 4px rgba(15,28,46,.08); }
.am-field span { color: #6b7482; font-weight: 800; }
.am-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; text-align: left; }
.am-field:has(input[aria-invalid="true"]) { border-color: var(--danger); }
.am-error { margin: 8px 0 0; color: var(--danger); font-size: .76rem; font-weight: 700; }
.am-error[hidden] { display: none; }
.am-primary, .am-secondary {
  width: 100%; min-height: 54px; margin-top: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 16px; cursor: pointer;
  font: 800 .95rem/1 var(--font);
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s ease;
}
.am-primary { color: #fbf6ee; background: #0f1c2e; box-shadow: 0 18px 30px -18px rgba(15,28,46,.8); }
.am-primary:hover { background: #1d3352; transform: translateY(-1px); }
.am-primary svg { width: 18px; height: 18px; }
.am-primary[hidden] { display: none; }
.am-secondary { margin-top: 8px; color: #0f1c2e; background: #f2eee6; }
.am-secondary:hover { background: #e8e2d6; }
.am-legal { margin-top: 12px; color: #8a93a0; font-size: .68rem; text-align: center; }
.am-back { justify-self: start; margin: -6px 0 10px; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: #6b7482; font-size: .78rem; font-weight: 800; cursor: pointer; }
.am-back svg { width: 16px; height: 16px; }
.am-demo { margin: -6px 0 16px !important; padding: 10px 12px; color: #6b4a12 !important; background: #fff4da; border-radius: 12px; font-size: .74rem !important; line-height: 1.7 !important; }
.am-otp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.am-otp input { height: 62px; min-width: 0; text-align: center; font: 900 1.5rem Estedad, var(--font); color: #0f1c2e; background: white; border: 1px solid rgba(15,28,46,.14); border-radius: 16px; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.am-otp input:focus { border-color: #0f1c2e; box-shadow: 0 0 0 4px rgba(15,28,46,.08); }
.am-text { margin-top: 10px; padding: 8px; border: 0; background: none; color: #6b7482; font-size: .76rem; font-weight: 700; cursor: pointer; }
.am-text:hover { color: #0f1c2e; }
.am-success { width: 58px; height: 58px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, #55ddcb, var(--teal)); box-shadow: 0 16px 30px -14px rgba(29,185,167,.7); animation: amPop .6s cubic-bezier(.34,1.56,.64,1) both; }
.am-success svg { width: 28px; height: 28px; stroke-width: 2.6; }
@keyframes amPop { from { transform: scale(.4); opacity: 0; } }
.am-install-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: white; border: 1px solid rgba(15,28,46,.08); border-radius: 20px; box-shadow: 0 16px 30px -24px rgba(15,28,46,.5); }
.am-install-card img { width: 56px; height: 56px; border-radius: 16px; background: #f7f1e7; }
.am-install-card span { flex: 1; display: grid; line-height: 1.45; }
.am-install-card strong { font-size: 1rem; font-weight: 900; }
.am-install-card small { color: #6b7482; font-size: .74rem; text-align: right; }
.am-install-card em { padding: 4px 10px; color: #3e7f8c; background: #e6f4f2; border-radius: 999px; font-size: .66rem; font-style: normal; font-weight: 800; }
.am-guide { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: g; display: grid; gap: 8px; }
.am-guide[hidden] { display: none; }
.am-guide li { counter-increment: g; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f7f3ec; border-radius: 12px; font-size: .8rem; }
.am-guide li::before { content: counter(g); flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; color: white; background: #0f1c2e; border-radius: 8px; font-size: .72rem; font-weight: 900; }

/* Responsive */
@media (max-width: 1120px) {
  .lx-top { grid-template-columns: 1fr; }
  .lx-promos { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .lx-promo { min-height: 180px; }
  .lx-app-features { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .lx-appband { grid-template-columns: 1fr; }
  .lx-appband-visual { min-height: 0; padding-top: 10px; }
  .am-shell { grid-template-columns: 1fr; min-height: 0; }
  .am-visual { grid-auto-flow: column; align-content: center; justify-content: space-between; padding: 18px 22px; }
  .am-visual::before, .am-device { display: none; }
  .am-chips { justify-content: flex-end; }
}
@media (max-width: 760px) {
  .lx-top { gap: 12px; }
  .lx-top .lx-stage { height: auto; }
  .lx-top .lx-copy { padding: 4px 22px 84px; }
  .lx-top .lx-copy h2 { font-size: 1.9rem; }
  .lx-top .lx-controls { inset-inline: 22px; }
  .lx-top .lx-dot { width: 34px; }
  .lx-promo { min-height: 150px; border-radius: 22px; }
  .lx-promo-copy { width: 100%; padding: 16px; }
  .lx-promo-copy strong { font-size: .86rem; }
  .lx-promo-copy em { display: none; }
  .lx-promo img { width: 70%; left: -22%; bottom: -14%; opacity: .95; }
  .lx-appband { margin-top: 16px; padding: 26px 20px; border-radius: 26px; }
  .lx-appband-visual { display: none; }
  .app-bar { flex-wrap: wrap; gap: 10px; }
  .app-bar-text { flex-basis: 100%; order: 3; }
  .app-bar-actions { margin-inline-start: auto; }
  .app-modal { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .am-shell { height: 100%; grid-template-rows: auto 1fr; }
  .am-chips { display: none; }
  .am-panel { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); }
  .am-close { top: 16px; left: 16px; background: rgba(255,255,255,.12); color: white; position: fixed; }
  .am-progress { padding-left: 0; }
  .am-step h2 { font-size: 1.4rem; }
  .header-actions .login-button { width: auto; min-width: 40px; padding: 0 12px; gap: 6px; color: white; }
  .header-actions .login-button span { display: inline; font-size: .8rem; font-weight: 800; white-space: nowrap; }
  .header-actions .login-button svg { width: 18px; height: 18px; color: white; stroke: white; }
}
@media (prefers-reduced-motion: reduce) {
  .app-modal[open], .am-step, .am-success { animation: none; }
  .lx-promo, .lx-promo img { transition: none; }
}

/* ==========================================================================
   Meeow 0.1.9 — Private panel gate and storefront footer
   ========================================================================== */
[data-private][hidden], .pet-gate[hidden] { display: none !important; }

.pet-gate {
  --lx-ink: #0f1c2e; --lx-champagne: #c8a577; --lx-muted: #6b7482; --lx-ease: cubic-bezier(.22, 1, .36, 1);
  margin: 18px 0 40px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 32px;
  padding: clamp(28px, 4.5vw, 64px);
  background: radial-gradient(120% 90% at 20% 50%, #fbf4e8 0%, #f3e8d7 62%, #ecdfca 100%);
  border-radius: 34px;
  box-shadow: 0 0 0 1px rgba(15,28,46,.05), 0 40px 80px -48px rgba(15,28,46,.55);
}
.pet-gate h1 { margin: 10px 0 14px; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.18; letter-spacing: -.045em; font-weight: 900; }
.pet-gate h1 em { font-style: normal; font-weight: 400; color: #b24a3f; }
.pet-gate-copy > p { max-width: 32rem; margin: 0 0 18px; color: var(--lx-muted); line-height: 1.9; }
.pet-gate-list { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.pet-gate-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; }
.pet-gate-list svg { width: 32px; height: 32px; padding: 7px; color: var(--lx-ink); background: rgba(255,255,255,.7); border-radius: 11px; }
.pet-gate-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.pet-gate-visual .lx-device { filter: blur(.4px) saturate(.7); opacity: .88; }
.pet-gate-lock { position: absolute; width: 72px; height: 72px; display: grid; place-items: center; color: #f7f1e7; background: #0f1c2e; border-radius: 24px; box-shadow: 0 24px 40px -18px rgba(15,28,46,.8); }
.pet-gate-lock svg { width: 32px; height: 32px; }

/* Storefront footer */
.site-footer { margin-top: 40px; background: #0f1c2e; color: rgba(247,241,231,.72); border-top: 0; }
.sf-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 32px; padding-block: 48px 36px; }
.sf-brand p { margin: 14px 0 18px; max-width: 22rem; font-size: .82rem; line-height: 1.9; }
.site-footer .site-footer-brand strong { color: #f7f1e7; }
.site-footer .site-footer-brand small { color: #c8a577; }
.sf-phone { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; color: #f7f1e7; text-decoration: none; border: 1px solid rgba(247,241,231,.16); border-radius: 16px; transition: background .25s ease; }
.sf-phone:hover { background: rgba(255,255,255,.06); }
.sf-phone svg { width: 20px; height: 20px; color: #c8a577; }
.sf-phone span { display: grid; line-height: 1.4; }
.sf-phone small { color: rgba(247,241,231,.6); font-size: .68rem; }
.sf-phone strong { font-size: .98rem; letter-spacing: .02em; }
.site-footer .sf-col { display: grid; justify-content: stretch; align-content: start; gap: 4px; font-style: normal; }
.site-footer .sf-col a, .site-footer .sf-col a:last-child { min-height: 0; padding: 5px 0; display: inline; color: rgba(247,241,231,.72); background: none; border: 0; border-radius: 0; font-weight: 600; }
.sf-col > strong { margin-bottom: 8px; color: #f7f1e7; font-size: .86rem; font-weight: 900; }
.sf-col a, .sf-col button { justify-self: start; padding: 5px 0; border: 0; background: none; color: rgba(247,241,231,.72); font: 600 .82rem/1.6 var(--font); text-decoration: none; text-align: right; cursor: pointer; transition: color .2s ease; }
.site-footer .sf-col a:hover, .sf-col button:hover { color: #f7f1e7; }
.sf-col > span { font-size: .8rem; line-height: 1.9; }
.sf-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-block: 18px 22px; border-top: 1px solid rgba(247,241,231,.1); font-size: .74rem; }
.sf-env { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; color: #ffd98a; background: rgba(255,190,79,.1); border: 1px solid rgba(255,190,79,.22); border-radius: 999px; font-weight: 700; }
.sf-env i { width: 7px; height: 7px; border-radius: 50%; background: #ffbe4f; box-shadow: 0 0 0 3px rgba(255,190,79,.2); }

@media (max-width: 1050px) {
  .sf-grid { grid-template-columns: repeat(3, 1fr); }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .pet-gate { grid-template-columns: 1fr; margin-top: 12px; border-radius: 26px; }
  .pet-gate-visual { min-height: 0; order: -1; }
  .pet-gate-visual .lx-device { width: 210px; }
  .site-footer { margin-bottom: 0; }
  .sf-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-block: 36px 24px; }
  .sf-grid > address { grid-column: 1 / -1; }
  .sf-bottom { padding-bottom: 104px; }
}


/* Mio — living mascot: hero slot, dock and chat sheet */
.lx-slide--mio { --slide-bg: radial-gradient(110% 90% at 20% 45%, #fffaf1 0%, #f4e9da 67%, #e8d8c3 100%); }
.lx-media--mio { display: grid; place-items: center; }
.mio-motion-status { margin-top: 14px !important; font-size: .76rem !important; opacity: .76; }
.mio-app-poster { position: absolute; z-index: 3; left: -5%; bottom: -5%; width: 190px; height: auto; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0,0,0,.32)); pointer-events: none; }

.mio-slot { position: relative; display: grid; place-items: center; }
.mio-slot--hero { z-index: 1; width: 100%; height: 100%; min-height: 320px; max-width: 600px; }
.mio-slot--hero > .mio-poster { width: min(62%, 300px); height: auto; filter: drop-shadow(0 22px 22px rgba(15,28,46,.18)); transition: opacity .35s ease; }
.mio-slot--hero[data-away] > .mio-poster { opacity: .4; }
.mio-slot--hero:has(> .mio-stage) > .mio-poster { display: none; }
.mio-stage { position: relative; width: 100%; height: 100%; min-height: inherit; touch-action: pan-y; }
.mio-stage > .mio-poster { position: absolute; inset: 0; margin: auto; width: auto; max-width: 78%; height: 86%; object-fit: contain; transition: opacity .35s ease; pointer-events: none; }
.mio-stage > canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
.mio-stage.is-live > .mio-poster { opacity: 0; }
.mio-stage canvas:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; border-radius: 18px; }
.mio-bubble {
  --tail-x: 0px;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  width: max-content;
  max-width: min(250px, 78%);
  margin: 0;
  padding: 9px 15px 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  color: #13243a;
  font: 800 .95rem/1.65 Estedad, Vazirmatn, Tahoma, sans-serif;
  text-align: right;
  background: linear-gradient(165deg, rgba(255,255,255,.94), rgba(255,248,236,.84));
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 30px rgba(8,14,24,.24);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% + 10px)) scale(.9);
  transform-origin: 50% 100%;
  transition: opacity .2s ease, transform .34s cubic-bezier(.22,1.45,.36,1);
}
.mio-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: calc(50% + var(--tail-x) - 7px);
  width: 14px;
  height: 14px;
  background: rgba(255,249,240,.92);
  border-right: 1px solid rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.72);
  border-radius: 0 0 4px 0;
  transform: rotate(45deg);
}
.mio-bubble.is-on { opacity: 1; transform: translate(-50%, -100%) scale(1); }
.mio-bubble.is-lead { padding-block: 6px 7px; }
.mio-bubble .mio-typing { padding: 4px 2px; }
.mio-word { opacity: 0; animation: mio-word .34s ease-out forwards; }
@keyframes mio-word { from { opacity: 0; } to { opacity: 1; } }

/* Sound toggle beside the live Mio on the home, pet and panel stages. */
.pv1-stage-wrap { position: relative; }
.mio-stage-mute {
  position: absolute; z-index: 3; top: 20px; right: 20px;
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.86); color: var(--navy);
  box-shadow: 0 4px 14px rgba(18,35,59,.14);
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.mio-stage-mute[hidden] { display: none; }
.mio-stage-mute:hover { background: #fff; transform: scale(1.05); }
.mio-stage-mute:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.mio-stage-mute[aria-pressed="false"] { color: rgba(18,35,59,.62); }
.mio-stage-mute svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv3-hero__media > .mio-stage-mute { top: 26px; right: 12px; }
@media (max-width: 760px) { .hv3-hero__media > .mio-stage-mute { top: 12px; right: 12px; width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .mio-stage-mute { transition: none; } .mio-stage-mute:hover { transform: none; } }

/* The live 3D Mio is on its way (html.mio-3d-wait, in the page markup): the stills stay hidden,
   so the stage never shows a picture that then flips into the live cat. If the script never runs,
   the stills come back on their own. */
.mio-stage > canvas { opacity: 0; transition: opacity .7s ease; }
.mio-stage.is-live > canvas { opacity: 1; }
.mio-3d-wait [data-mio-slot] > img,
.mio-3d-wait .mio-stage > .mio-poster,
.mio-3d-wait .hv3-bubble { opacity: 0; animation: mio-still-late .4s 12s ease forwards; }
@keyframes mio-still-late { to { opacity: 1; } }
.mio-3d-wait .hv3-stage { background: linear-gradient(180deg, #ffeadb 0%, #ffe1d0 56%, #ffd3be 100%); }
.mio-3d-wait .hv3-hero__media .hv3-price { top: 30px; bottom: auto; }
.mio-3d-wait .pv1-stage { background: #ffeedb url("/assets/mio-scenes/mio-pet-stage-640.webp") center bottom / cover no-repeat; }
.mio-3d-wait [data-mio-slot]::after {
  --mio-wait: rgba(120, 72, 40, .2);
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 16%;
  width: min(34%, 200px);
  aspect-ratio: 4 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--mio-wait), transparent);
  transform: translateX(-50%);
  pointer-events: none;
  animation: mio-wait 1.8s ease-in-out infinite;
}
.mio-3d-wait .mw-stage::after { --mio-wait: rgba(18, 35, 59, .1); }
@keyframes mio-wait { 50% { opacity: .4; transform: translateX(-50%) scaleX(.82); } }

/* Dock: a small companion in the start corner, above the mobile nav */
.mio-dock { position: fixed; z-index: 140; left: max(16px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); pointer-events: none; }
.mio-dock[hidden] { display: none; }
.mio-dock__body { pointer-events: auto; transition: transform .45s var(--ease-smooth, ease), opacity .3s ease; }
.mio-dock[data-placement="tucked"] .mio-dock__body { transform: translateX(calc(-100% + 30px)); opacity: .92; }
.mio-dock__launcher { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--navy); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mio-dock__stage { position: relative; display: block; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: radial-gradient(80% 80% at 50% 38%, #fffaf1 0%, #f1e6d6 68%, #e4d3bc 100%); border: 1px solid rgba(255,255,255,.92); box-shadow: 0 14px 36px rgba(18,35,59,.16), 0 2px 0 rgba(255,255,255,.7) inset; transition: transform .25s var(--ease-smooth, ease), box-shadow .25s ease; }
.mio-dock__stage > .mio-stage { position: absolute; inset: -6% -10% -14%; width: auto; height: auto; }
.mio-dock__label { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 999px; background: rgba(255,253,248,.96); border: 1px solid rgba(18,35,59,.08); box-shadow: 0 12px 28px rgba(18,35,59,.1); font-size: .8rem; font-weight: 800; white-space: nowrap; backdrop-filter: blur(10px); transition: opacity .25s ease, transform .25s ease; }
.mio-dock__label svg { width: 16px; height: 16px; color: var(--teal); }
.mio-dock[data-placement="tucked"] .mio-dock__label { opacity: 0; transform: translateX(-8px); pointer-events: none; }
.mio-dock__launcher:hover .mio-dock__stage { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 42px rgba(18,35,59,.2); }
.mio-dock__launcher:focus-visible { outline: none; }
.mio-dock__launcher:focus-visible .mio-dock__stage { outline: 3px solid var(--teal); outline-offset: 3px; }
.mio-dock[data-state="SPEAKING"] .mio-dock__stage { box-shadow: 0 0 0 4px rgba(29,185,167,.28), 0 14px 36px rgba(18,35,59,.16); }
.mio-dock[data-state="GENTLE_CONCERN"] .mio-dock__stage { box-shadow: 0 0 0 4px rgba(255,107,95,.28), 0 14px 36px rgba(18,35,59,.16); }

.mio-backdrop { position: fixed; inset: 0; z-index: 440; background: rgba(12, 22, 36, .28); backdrop-filter: blur(2px); opacity: 0; transition: opacity .28s ease; pointer-events: none; }
.mio-backdrop[hidden] { display: none; }
.mio-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* Chat sheet: side panel on desktop, bottom sheet on mobile */
.mio-sheet { position: fixed; z-index: 450; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 40px)); height: min(680px, calc(100dvh - 96px)); display: flex; flex-direction: column; color: var(--navy); background: linear-gradient(180deg, #fffdf9 0%, #fff 42%); border: 1px solid rgba(18,35,59,.08); border-radius: 28px; box-shadow: 0 28px 90px rgba(18,35,59,.22), 0 1px 0 rgba(255,255,255,.9) inset; overflow: hidden; opacity: 0; transform: translateY(18px) scale(.985); transform-origin: 0 100%; transition: opacity .25s ease, transform .35s var(--ease-smooth, ease); }
.mio-sheet[hidden] { display: none; }
.mio-sheet.is-open { opacity: 1; transform: none; }
.mio-sheet__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: linear-gradient(180deg, #fff8ee 0%, rgba(255,253,248,.92) 100%); border-bottom: 1px solid rgba(18,35,59,.06); }
.mio-sheet__stage { position: relative; flex: 0 0 auto; width: 72px; height: 72px; border-radius: 22px; overflow: hidden; background: radial-gradient(80% 80% at 50% 38%, #fffaf1 0%, #f1e6d6 72%, #e4d3bc 100%); box-shadow: 0 8px 18px rgba(18,35,59,.08) inset; }
.mio-sheet__stage > .mio-stage { position: absolute; inset: -4% -12% -16%; width: auto; height: auto; }
.mio-sheet__title { flex: 1; min-width: 0; }
.mio-sheet__title h2 { margin: 0; font-family: var(--font-display, inherit); font-size: 1.08rem; font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.mio-sheet__subtitle { margin: 1px 0 0; color: var(--ink-soft); font-size: .74rem; font-weight: 700; }
.mio-sheet__status { display: flex; align-items: center; gap: 7px; margin: 5px 0 0; color: var(--ink-soft); font-size: .74rem; font-weight: 700; }
.mio-sheet__status::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(29,185,167,.15); }
.mio-sheet[data-state="THINKING"] .mio-sheet__status::before { background: var(--amber); animation: mio-pulse 1s ease-in-out infinite; }
.mio-sheet[data-state="SPEAKING"] .mio-sheet__status::before { background: var(--teal); animation: mio-pulse .6s ease-in-out infinite; }
.mio-sheet[data-state="GENTLE_CONCERN"] .mio-sheet__status::before { background: var(--coral); box-shadow: 0 0 0 3px rgba(255,107,95,.16); }
.mio-sheet[data-state="SLEEPING"] .mio-sheet__status::before, .mio-sheet[data-state="OFFLINE"] .mio-sheet__status::before { background: var(--ink-faint, #687181); box-shadow: none; }
.mio-sheet[data-state="SOFT_ERROR"] .mio-sheet__status::before { background: var(--danger); box-shadow: 0 0 0 3px rgba(201,47,66,.14); }
.mio-sheet__tools { display: flex; gap: 4px; align-self: flex-start; }
.mio-lang-btn__label {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.mio-icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 13px; background: transparent; color: var(--navy); cursor: pointer; transition: background .2s ease, color .2s ease; }
.mio-icon-btn:hover { background: rgba(18,35,59,.06); }
.mio-icon-btn[hidden] { display: none; }
.mio-icon-btn svg, .mio-send svg, .mio-action svg, .mio-dock__label svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mio-icon-btn svg { width: 19px; height: 19px; }
.mio-icon-btn[aria-pressed="true"] { color: #fff; background: var(--coral); }
.mio-mic[aria-pressed="true"] { animation: mio-ring 1.4s ease-out infinite; }

.mio-sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; scroll-behavior: smooth; }
.mio-empty { padding: 4px 2px 2px; }
.mio-empty[hidden] { display: none; }
.mio-empty__title { margin: 0 0 6px; font-family: var(--font-display, inherit); font-weight: 900; font-size: 1.05rem; letter-spacing: -.01em; }
.mio-empty__text { margin: 0 0 16px; color: var(--ink-soft); font-size: .84rem; line-height: 1.95; max-width: 34ch; }
.mio-chips { display: grid; gap: 8px; }
.mio-chip { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1px solid rgba(18,35,59,.08); border-radius: 16px; background: #fff; color: var(--navy); text-align: right; font: inherit; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.mio-chip:hover { background: #fffaf1; border-color: rgba(200,165,119,.45); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(18,35,59,.06); }
.mio-chip__label { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; padding: 4px 8px; border-radius: 999px; background: rgba(18,35,59,.05); color: var(--ink-soft); font-size: .68rem; font-weight: 800; }
.mio-chip__text { font-size: .82rem; font-weight: 700; line-height: 1.55; }

.mio-log { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mio-msg { position: relative; max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: .88rem; line-height: 1.95; overflow-wrap: anywhere; animation: mio-in .28s var(--ease-smooth, ease) both; }
.mio-msg__text { margin: 0; white-space: pre-wrap; }
.mio-msg--mio { align-self: flex-start; background: #fff7eb; border: 1px solid rgba(200,165,119,.18); border-start-start-radius: 6px; }
.mio-msg--user { align-self: flex-end; color: #fff; background: linear-gradient(160deg, #1a2f4a 0%, #12233b 100%); border-start-end-radius: 6px; }
.mio-msg[data-safety="concern"] { background: #fff5ec; border-color: rgba(255,190,79,.35); box-shadow: inset -3px 0 0 var(--amber); }
.mio-msg[data-safety="emergency"] { background: #fff1f2; border-color: rgba(217,58,74,.2); box-shadow: inset -3px 0 0 var(--danger); }
.mio-msg__tag { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; color: #fff; background: var(--danger); font-size: .7rem; font-weight: 900; letter-spacing: .02em; }
.mio-msg.is-error { background: #f6f7f9; color: var(--ink-soft); border: 1px solid rgba(18,35,59,.06); }
.mio-msg.is-error .mio-btn { margin-top: 8px; }
.mio-typing { display: inline-flex; gap: 4px; padding: 6px 2px; vertical-align: middle; }
.mio-typing i { width: 7px; height: 7px; border-radius: 50%; background: #c8a577; animation: mio-dot 1.1s ease-in-out infinite; }
.mio-typing i:nth-child(2) { animation-delay: .15s; }
.mio-typing i:nth-child(3) { animation-delay: .3s; }
.mio-action { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; margin-top: 10px; padding: 8px 14px; border: 0; border-radius: 12px; color: #fff; background: var(--navy); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.mio-action svg { width: 15px; height: 15px; }
.mio-action:hover { background: #1c3150; }

.mio-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-strong, rgba(18,35,59,.14)); border-radius: 12px; background: #fff; color: var(--navy); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.mio-btn:hover { background: #f7f5f0; }
.mio-btn--solid { color: #fff; background: var(--navy); border-color: var(--navy); }
.mio-btn--solid:hover { background: #1c3150; }
.mio-btn--small { min-height: 36px; padding: 6px 12px; font-size: .78rem; }

.mio-consent { margin: 0 16px 10px; padding: 12px 14px; border-radius: 16px; background: #f1fbf9; border: 1px solid rgba(29,185,167,.25); font-size: .8rem; line-height: 1.9; }
.mio-consent[hidden] { display: none; }
.mio-consent__title { margin: 0 0 2px; font-weight: 900; }
.mio-consent p { margin: 0 0 8px; }
.mio-consent__actions { display: flex; gap: 8px; }
.mio-notice { margin: 0 16px 8px; padding: 8px 12px; border-radius: 12px; background: #fff4ec; color: #8a4a12; font-size: .78rem; font-weight: 700; }
.mio-notice[hidden] { display: none; }

.mio-compose { display: flex; align-items: flex-end; gap: 6px; margin: 0 14px; padding: 7px; border: 1px solid rgba(18,35,59,.1); border-radius: 20px; background: #fff; box-shadow: 0 8px 22px rgba(18,35,59,.04); transition: border-color .2s ease, box-shadow .2s ease; }
.mio-compose:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,185,167,.16); }
.mio-compose textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 120px; padding: 10px 8px; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: 16px; line-height: 1.6; resize: none; outline: none; }
.mio-compose textarea::placeholder { color: var(--ink-faint, #687181); }
.mio-send { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; color: #fff; background: var(--coral); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.mio-send:hover { background: var(--coral-dark); }
.mio-send:active { transform: scale(.95); }
.mio-send[hidden] { display: none; }
.mio-send svg { width: 20px; height: 20px; }
.mio-sheet .mio-compose:not(.has-text) .mio-send:not(.mio-send--stop) { opacity: .55; cursor: default; }
.mio-send--stop { background: var(--navy); }
.mio-send--stop:hover { background: #1c3150; }
.mio-sheet__foot { display: grid; gap: 4px; margin: 8px 16px 14px; }
.mio-char { justify-self: start; color: var(--ink-soft); font-size: .68rem; font-weight: 700; }
.mio-char.is-tight { color: var(--coral-dark); }
.mio-char[hidden] { display: none; }
.mio-disclaimer { margin: 0; color: var(--ink-soft); font-size: .68rem; line-height: 1.8; text-align: center; }

.mio-sheet :is(button, textarea):focus-visible, .mio-chip:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.mio-compose textarea:focus-visible { outline: none; }

@keyframes mio-pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes mio-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@keyframes mio-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes mio-ring { 0% { box-shadow: 0 0 0 0 rgba(255,107,95,.45); } 100% { box-shadow: 0 0 0 12px rgba(255,107,95,0); } }

@media (max-width: 760px) {
  .mio-slot--hero { min-height: 224px; }
  .mio-dock { left: max(10px, env(safe-area-inset-left)); bottom: calc(max(8px, env(safe-area-inset-bottom)) + 84px); }
  .mio-dock__stage { width: 74px; height: 74px; }
  .mio-dock__label { display: none; }
  .mio-backdrop { background: rgba(12, 22, 36, .34); }
  .mio-sheet { left: 0; right: 0; bottom: 0; width: 100%; height: min(88dvh, 720px); border-radius: 26px 26px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); transform-origin: 50% 100%; }
  .mio-sheet.is-open { transform: none; }
  .mio-sheet__head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 4px; background: rgba(18,35,59,.14); }
  .mio-sheet__head { position: relative; padding-top: 20px; }
  .mio-sheet__stage { width: 62px; height: 62px; border-radius: 18px; }
  .mio-msg { max-width: 94%; }
}
@media (max-width: 520px) {
  .lx-slide--mio { grid-template-rows: 258px auto; }
  .mio-slot--hero { min-height: 258px; }
}
@media (prefers-reduced-motion: reduce) {
  .mio-dock__body, .mio-dock__stage, .mio-dock__label, .mio-sheet, .mio-backdrop, .mio-stage > .mio-poster, .mio-chip, .mio-send { transition: none; }
  .mio-msg, .mio-typing i, .mio-sheet__status::before, .mio-mic[aria-pressed="true"] { animation: none !important; }
  .mio-sheet__body { scroll-behavior: auto; }
  .mio-stage > canvas { transition: none; }
  .mio-word { opacity: 1; animation: none; }
  .mio-3d-wait [data-mio-slot]::after { animation: none; }
}
@media (forced-colors: active) {
  .mio-msg, .mio-dock__stage, .mio-compose, .mio-chip { border: 1px solid CanvasText; }
}

/* Landing: a bright white-room studio (ADR-0032). An infinity cove lit softly
   from above, a pool of light on the floor where Mio plays, and clear glass
   controls that never compete with him. */
body.is-landing {
  --st-ink: #12233b;
  --st-ink-2: #4f5a68;
  --st-ink-3: #8a919c;
  --st-line: rgba(18,35,59,.1);
  --st-glass: rgba(255,255,255,.62);
  --st-coral: #ff7a6e;
  --st-ease: cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  color: var(--st-ink);
  background:
    radial-gradient(ellipse 58% 46% at 50% 32%, #ffffff 0%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 40% 28% at 50% 78%, rgba(255,235,228,.35), transparent 70%),
    linear-gradient(180deg, #e9e8e4 0%, #f2f1ee 28%, #f9f8f6 54%, #f5f4f1 72%, #ebeae6 100%);
}
body.is-landing .demo-bar,
body.is-landing .site-header,
body.is-landing .site-footer,
body.is-landing .mobile-nav { display: none; }
body.is-landing .page[data-page="landing"] {
  min-height: 100dvh;
  animation: none;
}
body.is-landing .mio-dock { display: none; }

.mw-world {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  min-height: 100svh;
  color: var(--st-ink);
  overflow: hidden;
}
/* Two soft gel lights, warm and cool, as in a photo studio. */
.mw-glow {
  position: absolute;
  inset: -10% -5% 30% -5%;
  z-index: 0;
  background:
    radial-gradient(ellipse 36% 48% at 16% 34%, rgba(255,210,188,.38), transparent 72%),
    radial-gradient(ellipse 34% 46% at 84% 34%, rgba(196,220,255,.28), transparent 72%),
    radial-gradient(ellipse 28% 22% at 50% 42%, rgba(255,122,110,.06), transparent 70%);
  pointer-events: none;
  animation: mwBreathe 10s ease-in-out infinite;
}
/* The floor: a pool of light where he stands, fading into the cove. */
.mw-floor {
  position: absolute;
  inset: 44% 0 0 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 44% 28% at 50% 14%, rgba(255,255,255,.98), rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 30% 18% at 50% 22%, rgba(255,214,200,.22), transparent 70%),
    linear-gradient(180deg, rgba(18,35,59,0) 0%, rgba(18,35,59,.03) 14%, rgba(18,35,59,0) 36%);
  pointer-events: none;
}
.mw-brand {
  position: absolute;
  z-index: 2;
  top: max(18px, env(safe-area-inset-top));
  right: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: mwFade .8s ease both;
}
.mw-brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  filter: drop-shadow(0 10px 18px rgba(18,35,59,.14));
}
.mw-brand span { display: grid; line-height: 1.05; }
.mw-brand strong {
  font-family: Estedad, Vazirmatn, Tahoma, sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.05rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--st-ink);
}
.mw-brand small {
  margin-top: 5px;
  color: var(--st-ink-3);
  font: 600 .56rem/1 Arial, sans-serif;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.mw-stage {
  position: absolute;
  z-index: 1;
  /* Low enough that his speech bubble clears the brand. */
  top: max(96px, calc(env(safe-area-inset-top) + 76px));
  bottom: 236px;
  left: 0;
  right: 0;
  /* Wide on desktop so Mio can walk over to the pointer; his size follows the height. */
  width: min(94vw, 1080px);
  height: min(54dvh, calc(100dvh - 420px), 500px);
  min-height: 210px;
  max-width: 1080px;
  margin-inline: auto;
  animation: mwFade 1s .05s ease both;
}
.mw-stage > .mio-poster,
.mw-stage .mio-stage > .mio-poster {
  filter: drop-shadow(0 22px 26px rgba(18,35,59,.14));
}
/* Room (ADR-0033): once Mio is live his room fills the screen and the controls float over its floor. */
.mw-world.is-room .mw-stage {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  max-width: none;
  margin: 0;
}
.mw-world.is-room .mw-glow,
.mw-world.is-room .mw-floor { display: none; }
.mw-world.is-room::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2;
  height: min(38dvh, 320px);
  background: linear-gradient(180deg, rgba(243,241,237,0) 0%, rgba(243,241,237,.35) 42%, rgba(243,241,237,.72) 100%);
  pointer-events: none;
}
body.is-landing .mio-bubble {
  border-color: rgba(18,35,59,.07);
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(18,35,59,.06), 0 14px 30px -12px rgba(18,35,59,.24);
}
body.is-landing .mio-bubble::after {
  background: rgba(255,255,255,.9);
  border-color: rgba(18,35,59,.07);
}
.mw-bottom {
  position: absolute;
  z-index: 3;
  right: max(16px, env(safe-area-inset-right));
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--mio-kb, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: bottom .25s ease;
}
/* Compact glass console: short copy, RGB CTAs, voice mic. */
.mw-panel {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
  padding: 12px 12px 10px;
  border: 1px solid rgba(18,35,59,.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.74) 100%);
  backdrop-filter: blur(28px) saturate(1.55);
  -webkit-backdrop-filter: blur(28px) saturate(1.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 1px 0 rgba(18,35,59,.04),
    0 18px 40px -26px rgba(18,35,59,.42);
  pointer-events: auto;
  animation: mwUp .7s .12s var(--st-ease) both;
}
.mw-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28%;
  left: 28%;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, #ff6b9d, #5ecbff, #8d7bff, transparent);
  background-size: 200% 100%;
  animation: mwRgbSlide 3.6s linear infinite;
  pointer-events: none;
}
.mw-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}
.mw-intro { display: grid; justify-items: center; gap: 2px; }
.mw-eyebrow { display: none; }
.mw-copy h1 {
  margin: 0;
  font-family: Estedad, Vazirmatn, Tahoma, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--st-ink);
}
.mw-copy .mw-lead,
.mw-copy p {
  margin: 0;
  max-width: 28ch;
  color: #7a8492;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  text-wrap: pretty;
}
.mw-world.is-chatting .mw-intro,
.mw-world.is-chatting .mw-actions,
.mw-world.is-chatting .mw-voice { display: none; }
.mw-world.is-chatting .mw-panel { gap: 8px; padding-block: 10px; }

.mw-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.mw-btn {
  --rgb-a: #ff5a8a;
  --rgb-b: #ffc14d;
  --rgb-c: #5dffb0;
  --rgb-d: #5ab0ff;
  --rgb-e: #b56bff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: Estedad, Vazirmatn, Tahoma, sans-serif;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--st-ease), box-shadow .35s ease, filter .35s ease;
}
.mw-btn__label,
.mw-btn__icon { position: relative; z-index: 2; }
.mw-btn__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw-btn__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  opacity: .88;
  transition: transform .35s var(--st-ease), opacity .25s ease;
}
.mw-btn__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mw-btn__glow,
.mw-btn__wave {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.mw-btn__glow {
  z-index: 0;
  padding: 1.5px;
  background: conic-gradient(from 0deg, var(--rgb-a), var(--rgb-b), var(--rgb-c), var(--rgb-d), var(--rgb-e), var(--rgb-a));
  background-size: 100% 100%;
  animation: mwRgbSpin 3.2s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .95;
}
.mw-btn__wave {
  z-index: 1;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%);
  background-size: 220% 100%;
  background-position: 120% 0;
  animation: mwLightWave 2.6s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
.mw-btn--rgb.mw-btn--solid {
  color: #fff;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255,90,138,.28), transparent 55%),
    radial-gradient(120% 80% at 80% 100%, rgba(90,176,255,.28), transparent 55%),
    linear-gradient(180deg, #1a2f4d 0%, #0f1d33 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 18px rgba(255,90,138,.28),
    0 0 28px rgba(90,176,255,.22),
    0 12px 28px -16px rgba(18,35,59,.7);
}
.mw-btn--rgb.mw-btn--solid .mw-btn__icon { color: rgba(255,255,255,.86); }
.mw-btn--rgb.mw-btn--solid:hover {
  transform: translateY(-2px) scale(1.015);
  filter: saturate(1.15) brightness(1.04);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 0 24px rgba(255,90,138,.42),
    0 0 36px rgba(90,176,255,.32),
    0 16px 34px -16px rgba(18,35,59,.75);
}
.mw-btn--rgb.mw-btn--solid:hover .mw-btn__icon { transform: translateX(-2px); opacity: 1; }
.mw-btn--rgb.mw-btn--ghost {
  color: var(--st-ink);
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(181,107,255,.12), transparent 55%),
    radial-gradient(120% 90% at 85% 100%, rgba(94,203,255,.14), transparent 55%),
    rgba(255,255,255,.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 0 16px rgba(181,107,255,.18),
    0 0 22px rgba(94,203,255,.16),
    0 8px 18px -14px rgba(18,35,59,.35);
}
.mw-btn--rgb.mw-btn--ghost .mw-btn__icon { color: var(--st-ink-2); }
.mw-btn--rgb.mw-btn--ghost .mw-btn__wave { opacity: .55; }
.mw-btn--rgb.mw-btn--ghost:hover {
  transform: translateY(-2px) scale(1.015);
  background-color: #fff;
  filter: saturate(1.1);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 22px rgba(181,107,255,.28),
    0 0 30px rgba(94,203,255,.24),
    0 12px 22px -14px rgba(18,35,59,.4);
}
.mw-btn--rgb.mw-btn--ghost:hover .mw-btn__icon { opacity: 1; }
.mw-btn:active { transform: scale(.98); transition-duration: .1s; }
.mw-btn:focus-visible { outline: 2px solid var(--st-ink); outline-offset: 3px; }

/* Minimal landing voice mic — opens STT → GPT → feminine TTS. */
.mw-voice {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding-block: 2px 4px;
}
.mw-voice__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.28), transparent 42%),
    linear-gradient(160deg, #2a3f62 0%, #12233b 70%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1) inset,
    0 0 18px rgba(255,90,138,.35),
    0 0 28px rgba(90,176,255,.28),
    0 10px 22px -12px rgba(18,35,59,.55);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .3s var(--st-ease), box-shadow .3s ease, filter .3s ease;
}
.mw-voice__btn svg {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mw-voice__bloom,
.mw-voice__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mw-voice__bloom {
  inset: -4px;
  background: conic-gradient(from 0deg, #ff5a8a, #ffc14d, #5dffb0, #5ab0ff, #b56bff, #ff5a8a);
  opacity: .55;
  filter: blur(8px);
  animation: mwRgbSpin 4s linear infinite;
  z-index: 0;
}
.mw-voice__ring {
  inset: 0;
  z-index: 1;
  padding: 1.5px;
  background: conic-gradient(from 0deg, #ff5a8a, #ffc14d, #5dffb0, #5ab0ff, #b56bff, #ff5a8a);
  animation: mwRgbSpin 3.4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .95;
}
.mw-voice__btn:hover {
  transform: translateY(-2px) scale(1.04);
  filter: saturate(1.15) brightness(1.05);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.14) inset,
    0 0 26px rgba(255,90,138,.48),
    0 0 36px rgba(90,176,255,.36),
    0 14px 26px -12px rgba(18,35,59,.6);
}
.mw-voice__btn:active { transform: scale(.96); }
.mw-voice__btn:focus-visible { outline: 2px solid var(--st-ink); outline-offset: 4px; }
.mw-voice__btn[aria-pressed="true"],
.mw-voice__btn.is-listening {
  color: #fff;
  background: linear-gradient(160deg, #ff7a6e 0%, #e24b5a 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 0 22px rgba(255,90,138,.55),
    0 0 34px rgba(255,193,77,.35);
}
.mw-voice__btn[aria-pressed="true"] .mw-voice__bloom,
.mw-voice__btn.is-listening .mw-voice__bloom {
  animation: mwRgbSpin 1.2s linear infinite, mwVoicePulse 1.1s ease-in-out infinite;
  opacity: .85;
}
.mw-voice__hint {
  margin: 0;
  color: #7a8492;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.mw-dock {
  display: grid;
  gap: 8px;
  width: 100%;
}
.mw-reply {
  display: grid;
  gap: 10px;
  max-height: min(30dvh, 240px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 12px 14px;
  border: 1px solid rgba(18,35,59,.08);
  border-radius: 16px;
  color: var(--st-ink);
  background: rgba(248,247,244,.92);
  box-shadow: inset 0 1px 0 #fff;
  animation: mwPop .38s var(--st-ease) both;
}
.mw-reply[hidden] { display: none; }
.mw-reply.is-pending { justify-self: center; padding: 8px 18px; border-radius: 999px; }
.mw-reply[data-safety="concern"] { box-shadow: inset -3px 0 0 var(--amber), inset 0 1px 0 #fff, 0 18px 40px -22px rgba(18,35,59,.32); }
.mw-reply[data-safety="emergency"] { background: #fff1f2; box-shadow: inset -3px 0 0 var(--danger), 0 18px 40px -22px rgba(18,35,59,.32); }
.mw-reply__text { margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.mw-reply__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mw-reply__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #56606e;
  background: rgba(18,35,59,.06);
  font-size: .7rem;
  font-weight: 800;
}
.mw-reply__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.mw-reply__tag--urgent { color: #fff; background: var(--danger); }
.mw-next, .mio-next { display: flex; flex-wrap: wrap; gap: 8px; }
.mio-next { margin-top: 10px; }
.mio-next .mio-action { margin-top: 0; }
.mw-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #223858, var(--navy));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 18px -10px rgba(18,35,59,.6);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--st-ease), box-shadow .25s ease;
}
.mw-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--st-ease); }
.mw-go:hover { transform: translateY(-1px); }
.mw-go:hover svg { transform: translateX(-3px); }
.mio-quick {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(18,35,59,.14);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.mio-quick:hover { border-color: rgba(18,35,59,.3); background: #fafafa; transform: translateY(-1px); }
.mw-go:focus-visible, .mio-quick:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.mio-msg__tag--quiet { margin-inline-end: 6px; color: var(--ink-soft); background: rgba(18,35,59,.07); }

/* Landing: voice mic is primary; keep a slim type field as secondary. */
body.is-landing .mw-compose .mio-mic { display: none; }
body.is-landing:not(:has(.mw-world.is-chatting)) .mw-compose .mio-compose {
  min-height: 44px;
  padding: 3px;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
}
body.is-landing:not(:has(.mw-world.is-chatting)) .mw-compose .mio-compose textarea {
  min-height: 36px;
  padding: 8px 6px;
  font-size: .82rem;
}
body.is-landing:not(:has(.mw-world.is-chatting)) .mw-compose .mio-compose textarea::placeholder {
  font-size: .8rem;
}

.mw-compose { display: grid; gap: 8px; }
.mw-compose .mio-compose {
  align-items: flex-end;
  gap: 4px;
  min-height: 54px;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(18,35,59,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(18,35,59,.04);
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.mw-compose .mio-compose:focus-within {
  border-color: rgba(18,35,59,.32);
  background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 3px rgba(18,35,59,.08);
}
.mw-compose .mio-compose textarea { min-height: 44px; padding: 11px 8px; color: var(--st-ink); caret-color: var(--st-ink); }
/* The whole pill shows focus (below); a box around the text alone would cut through it.
   !important lets this legacy-layer rule win over the design system's global ring. */
.mw-compose .mio-compose textarea:focus-visible { outline: none !important; }
.mw-compose .mio-compose textarea::placeholder { color: var(--st-ink-3); }
.mw-compose .mio-icon-btn { width: 44px; height: 44px; border-radius: 50%; color: var(--st-ink-2); }
.mw-compose .mio-icon-btn:hover { color: var(--st-ink); background: rgba(18,35,59,.06); }
.mw-compose [data-mio="mute"][aria-pressed="true"] { color: var(--st-ink); background: rgba(18,35,59,.08); }
.mw-compose .mio-mic[aria-pressed="true"] { color: #fff; background: var(--coral); }
.mw-compose .mio-send {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--st-ink-3);
  background: rgba(18,35,59,.06);
  box-shadow: none;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s var(--st-ease);
}
.mw-compose .mio-send[aria-disabled="true"] { cursor: default; }
.mw-compose .mio-compose.has-text .mio-send:not(.mio-send--stop) {
  color: #fff;
  background: linear-gradient(180deg, #223858, #12233b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 18px -8px rgba(18,35,59,.6);
}
.mw-compose .mio-compose.has-text .mio-send:not(.mio-send--stop):hover { transform: translateX(-2px); }
.mw-compose .mio-send--stop { color: #fff; background: var(--coral); box-shadow: 0 8px 18px -8px rgba(255,107,95,.6); }
.mw-compose :is(.mio-icon-btn, .mio-send):focus-visible { outline: 2px solid var(--st-ink); outline-offset: 2px; }
.mw-compose .mio-consent {
  margin: 0;
  color: var(--st-ink);
  background: rgba(255,255,255,.88);
  border-color: var(--st-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px -22px rgba(18,35,59,.35);
}
.mw-compose .mio-notice {
  justify-self: center;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid rgba(201,135,20,.22);
  border-radius: 999px;
  color: #7a4a06;
  background: rgba(255,250,240,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}

@keyframes mwIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes mwFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes mwUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes mwPop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes mwBreathe {
  50% { opacity: .7; }
}
@keyframes mwRgbSpin {
  to { transform: rotate(360deg); }
}
@keyframes mwRgbSlide {
  to { background-position: 200% 0; }
}
@keyframes mwLightWave {
  0% { background-position: 120% 0; opacity: .15; }
  45% { opacity: .7; }
  100% { background-position: -120% 0; opacity: .15; }
}
@keyframes mwVoicePulse {
  0%, 100% { transform: scale(.92); opacity: .55; }
  50% { transform: scale(1.12); opacity: .95; }
}

@media (max-width: 760px) {
  .mw-stage {
    /* Leaves room above his ears for a speech bubble below the brand. */
    top: max(108px, calc(env(safe-area-inset-top) + 88px));
    width: min(90vw, 400px);
    height: min(48dvh, calc(100dvh - 440px), 420px);
    min-height: 180px;
    bottom: 250px;
  }
  .mw-floor { inset-block-start: 46%; }
  .mw-bottom {
    right: max(12px, env(safe-area-inset-right));
    left: max(12px, env(safe-area-inset-left));
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--mio-kb, 0px));
  }
  .mw-panel {
    gap: 8px;
    width: min(100%, 380px);
    padding: 10px 10px 8px;
    border-radius: 20px;
  }
  .mw-copy { gap: 7px; width: 100%; }
  .mw-intro { gap: 2px; }
  .mw-copy h1 { font-size: 1.28rem; }
  .mw-copy .mw-lead { font-size: .72rem; }
  .mw-actions { width: 100%; gap: 6px; }
  .mw-btn { min-height: 42px; gap: 5px; padding-inline: 10px; font-size: .78rem; border-radius: 12px; }
  .mw-btn__icon, .mw-btn__icon svg { width: 13px; height: 13px; }
  .mw-voice__btn { width: 52px; height: 52px; }
  .mw-voice__btn svg { width: 20px; height: 20px; }
  .mw-voice__hint { font-size: .68rem; }
  .mw-world.is-typing .mw-copy { display: none; }
  .mw-reply { max-height: min(22dvh, 180px); }
}
@media (max-width: 760px) and (max-height: 740px) {
  .mw-copy .mw-lead { display: none; }
  .mw-panel { gap: 7px; padding: 8px; }
  .mw-voice__hint { display: none; }
}
@media (max-width: 350px) {
  .mw-btn { padding-inline: 12px; font-size: .82rem; }
  .mw-btn__icon { display: none; }
  .mw-copy .mw-lead { font-size: .84rem; }
}
@media (hover: none) {
  .mw-btn:hover, .mw-btn:hover .mw-btn__icon, .mw-go:hover, .mw-go:hover svg, .mio-quick:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mw-brand, .mw-stage, .mw-panel, .mw-glow, .mw-reply { animation: none; }
  .mw-panel::before, .mw-btn__glow, .mw-btn__wave, .mw-voice__bloom, .mw-voice__ring { animation: none; }
  .mw-btn, .mw-btn__icon, .mw-voice__btn, .mw-go, .mw-go svg, .mio-quick, .mw-bottom, .mw-compose .mio-compose, .mw-compose .mio-send, .mio-bubble { transition: none; }
  .mw-btn:hover, .mw-btn:hover .mw-btn__icon, .mw-voice__btn:hover, .mw-go:hover svg { transform: none; filter: none; }
}
@media (forced-colors: active) {
  .mw-panel, .mw-btn, .mw-voice__btn, .mw-reply, .mw-compose .mio-compose { border: 1px solid CanvasText; }
  .mw-btn__glow, .mw-btn__wave, .mw-voice__bloom { display: none; }
}
