@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --petcann-ink: #173c34;
  --petcann-ink-deep: #102e28;
  --petcann-sage: #a9d49a;
  --petcann-sage-dark: #4f8b68;
  --petcann-mint: #e6f1e6;
  --petcann-coral: #f47f68;
  --petcann-coral-soft: #ffe5dc;
  --petcann-lilac: #e7e0f2;
  --petcann-cream: #f6f2e9;
  --petcann-paper: #fffdf8;
  --petcann-line: rgba(23, 60, 52, .13);
  --petcann-muted: #6b7772;
  --petcann-shadow: 0 20px 55px rgba(22, 60, 51, .1);
  --petcann-shadow-small: 0 10px 26px rgba(22, 60, 51, .08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--petcann-ink); font-family: var(--font-body); background: var(--petcann-paper); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-page { background: var(--petcann-paper); }
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1240px; margin: 0 auto; padding: 24px 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--petcann-ink); text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-grid; width: 37px; height: 37px; place-items: center; border-radius: 12px; background: var(--petcann-sage); color: var(--petcann-ink); transform: rotate(-8deg); }
.brand-mark svg { width: 28px; height: 28px; fill: currentColor; }
.brand-mark__leaf { fill: var(--petcann-paper) !important; }
.brand-word { font-size: 1.2rem; font-weight: 800; letter-spacing: .035em; }
.brand-word span { color: var(--petcann-coral); letter-spacing: -.025em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .84rem; font-weight: 700; color: #53605b; }
.main-nav a { text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: var(--petcann-ink); }
.nav-login { border: 0; padding: 11px 18px; border-radius: 999px; background: var(--petcann-ink); color: #fff; text-decoration: none; font-size: .8rem; font-weight: 800; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--petcann-line); border-radius: 50%; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 17px; height: 2px; margin: 4px auto; background: var(--petcann-ink); }

.hero-shell { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); gap: clamp(30px, 5vw, 82px); align-items: center; max-width: 1240px; min-height: 675px; margin: 0 auto; padding: 55px 32px 90px; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero-glow--one { top: 4%; right: -8%; width: 490px; height: 490px; background: #e9f2dc; opacity: .8; }
.hero-glow--two { bottom: 4%; left: -16%; width: 350px; height: 350px; background: #fff0e4; opacity: .9; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--petcann-sage-dark); font-family: var(--font-mono); font-size: .69rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--petcann-coral); box-shadow: 0 0 0 5px var(--petcann-coral-soft); }
.hero-copy h1 { max-width: 700px; margin: 0; color: var(--petcann-ink); font-size: clamp(2.65rem, 5.7vw, 5.25rem); font-weight: 800; letter-spacing: -.075em; line-height: .99; }
h1 em, h2 em { color: var(--petcann-coral); font-style: normal; }
.hero-lead { max-width: 535px; margin: 28px 0 0; color: #68746f; font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font-size: .82rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--petcann-coral); color: #fff; box-shadow: 0 13px 25px rgba(244, 127, 104, .25); }
.button--primary:hover { background: #e96b54; box-shadow: 0 17px 30px rgba(244, 127, 104, .3); }
.button--dark { background: var(--petcann-ink); color: #fff; box-shadow: var(--petcann-shadow-small); }
.button--dark:hover { background: var(--petcann-ink-deep); }
.button--light { background: #fff; color: var(--petcann-ink); }
.button--small { min-height: 40px; padding: 0 17px; font-size: .75rem; }
.button--full { width: 100%; }
.text-link, .light-link { display: inline-flex; align-items: center; gap: 8px; color: var(--petcann-ink); font-size: .8rem; font-weight: 800; text-decoration: none; }
.text-link:hover, .light-link:hover { gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 38px; color: #83908a; font-size: .7rem; }
.mini-paw { color: var(--petcann-coral); font-size: 1rem; }

.hero-visual { display: grid; min-height: 510px; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid rgba(79, 139, 104, .18); border-radius: 50%; transform: rotate(-28deg); }
.visual-orbit--one { width: 510px; height: 370px; }
.visual-orbit--two { width: 590px; height: 460px; transform: rotate(38deg); border-color: rgba(244, 127, 104, .15); }
.pet-card { position: relative; width: min(100%, 370px); border: 1px solid rgba(23, 60, 52, .08); border-radius: 25px; background: rgba(255, 253, 248, .95); box-shadow: 0 24px 70px rgba(23, 60, 52, .16); }
.pet-card--main { z-index: 2; padding: 24px; }
.pet-card--back { position: absolute; z-index: 1; top: 25px; right: 4%; width: 170px; padding: 18px; transform: rotate(9deg); background: var(--petcann-ink); color: #fff; box-shadow: none; }
.pet-card--back strong { display: block; margin: 14px 0 2px; color: var(--petcann-sage); font-family: var(--font-mono); font-size: 1.3rem; }
.pet-card--back small { color: rgba(255, 255, 255, .65); font-size: .6rem; }
.pet-card__label, .card-eyebrow { color: #8b9992; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; }
.pet-card__topline, .progress-label { display: flex; align-items: center; justify-content: space-between; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: var(--petcann-mint); color: var(--petcann-sage-dark); font-size: .62rem; font-weight: 800; }
.status-pill span { width: 6px; height: 6px; border-radius: 50%; background: #67aa68; }
.more-dots { color: #a1aaa5; letter-spacing: 2px; }
.pet-profile { display: flex; align-items: center; gap: 12px; margin: 25px 0 27px; }
.pet-avatar { position: relative; display: grid; width: 54px; height: 54px; place-items: center; overflow: hidden; border-radius: 20px; background: #e9cfc2; color: #7f5547; font-size: 2rem; font-weight: 800; }
.pet-avatar::before, .pet-avatar::after { position: absolute; top: 8px; width: 19px; height: 28px; border-radius: 60% 30% 60% 30%; background: #aa735e; content: ''; transform: rotate(-23deg); }
.pet-avatar::before { left: 4px; }
.pet-avatar::after { right: 4px; transform: rotate(23deg); }
.pet-avatar span { position: relative; z-index: 1; margin-top: 15px; }
.pet-profile strong { display: block; font-size: 1.05rem; letter-spacing: -.03em; }
.pet-profile small { display: block; margin-top: 4px; color: #8a9690; font-size: .67rem; }
.pet-profile__heart { margin-left: auto; color: var(--petcann-coral); font-size: 1.5rem; }
.progress-label { color: #78857f; font-size: .67rem; font-weight: 700; }
.progress-label strong { color: var(--petcann-ink); font-family: var(--font-mono); font-size: .65rem; }
.progress-track { height: 7px; margin: 10px 0 22px; overflow: hidden; border-radius: 99px; background: #edf0eb; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--petcann-coral), #f2bb7c); }
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mini-step { color: #9ba59f; text-align: center; }
.mini-step span { display: grid; width: 24px; height: 24px; margin: 0 auto 6px; place-items: center; border: 1px solid #dfe6dd; border-radius: 50%; font-family: var(--font-mono); font-size: .6rem; }
.mini-step small { font-size: .56rem; }
.mini-step.is-done, .mini-step.is-current { color: var(--petcann-sage-dark); }
.mini-step.is-done span { border-color: var(--petcann-sage); background: var(--petcann-sage); color: var(--petcann-ink); }
.mini-step.is-current span { border-color: var(--petcann-coral); color: var(--petcann-coral); }
.pet-card__insight { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px; border-radius: 13px; background: #fff4ed; }
.insight-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #ffd1bf; color: #b65a45; }
.pet-card__insight b, .pet-card__insight small { display: block; }
.pet-card__insight b { font-size: .66rem; }
.pet-card__insight small { margin-top: 3px; color: #a77c6e; font-size: .57rem; }
.insight-arrow { margin-left: auto; color: var(--petcann-coral); }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 12px 14px 12px 11px; border: 1px solid rgba(23, 60, 52, .08); border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--petcann-shadow-small); }
.floating-note--top { top: 110px; left: 1%; transform: rotate(-5deg); }
.floating-note--bottom { right: 3%; bottom: 58px; transform: rotate(4deg); }
.floating-note__icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--petcann-coral-soft); color: var(--petcann-coral); }
.floating-note__icon--green { background: var(--petcann-mint); color: var(--petcann-sage-dark); }
.floating-note b, .floating-note small { display: block; }
.floating-note b { font-size: .62rem; }
.floating-note small { margin-top: 3px; color: #95a09a; font-size: .55rem; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1240px; margin: 0 auto; padding: 18px 32px 70px; border-top: 1px solid var(--petcann-line); }
.trust-strip > div { display: flex; align-items: center; gap: 13px; }
.trust-icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--petcann-mint); color: var(--petcann-sage-dark); font-size: 1.1rem; }
.trust-strip b, .trust-strip small { display: block; }
.trust-strip b { font-size: .73rem; }
.trust-strip small { margin-top: 3px; color: #9aa49e; font-size: .61rem; }

.section { max-width: 1240px; margin: 0 auto; padding: 100px 32px; }
.section-heading { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .section-heading--split h2, .journey-intro h2, .safety-copy h2, .final-cta h2 { margin: 0; font-size: clamp(2.05rem, 4vw, 3.7rem); letter-spacing: -.07em; line-height: 1.03; }
.section-heading > p:last-child { margin: 19px auto 0; color: var(--petcann-muted); line-height: 1.75; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .65fr); gap: 50px; max-width: none; margin-bottom: 50px; text-align: left; }
.section-heading--split .eyebrow { justify-content: flex-start; }
.section-heading--split > p { align-self: end; margin: 0; color: var(--petcann-muted); font-size: .91rem; line-height: 1.85; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 325px; padding: 29px; overflow: hidden; border-radius: var(--radius-lg); }
.feature-card--coral { background: var(--petcann-coral-soft); color: #6e3a31; }
.feature-card--sage { background: var(--petcann-sage); color: var(--petcann-ink); }
.feature-card--lilac { background: var(--petcann-lilac); color: #494360; }
.feature-number { color: currentColor; font-family: var(--font-mono); font-size: .65rem; opacity: .6; }
.feature-symbol { position: absolute; top: 16px; right: 24px; color: rgba(255, 255, 255, .45); font-size: 4rem; font-weight: 200; line-height: 1; }
.feature-card--sage .feature-symbol { color: rgba(255, 255, 255, .62); }
.feature-card h3 { margin: 63px 0 12px; font-size: 1.35rem; letter-spacing: -.05em; }
.feature-card p { max-width: 31ch; margin: 0; font-size: .78rem; line-height: 1.75; opacity: .78; }
.feature-card a { position: absolute; bottom: 28px; left: 29px; display: inline-flex; gap: 8px; align-items: center; color: inherit; font-size: .7rem; font-weight: 800; text-decoration: none; }

.journey-section { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 90px; align-items: start; }
.journey-intro { position: sticky; top: 100px; }
.journey-intro .eyebrow { margin-bottom: 19px; }
.journey-intro > p:not(.eyebrow) { max-width: 410px; margin: 24px 0 28px; color: var(--petcann-muted); font-size: .9rem; line-height: 1.85; }
.journey-rail { position: relative; display: grid; gap: 19px; }
.journey-rail::before { position: absolute; top: 25px; bottom: 25px; left: 24px; width: 1px; background: var(--petcann-line); content: ''; }
.journey-step { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 24px; border: 1px solid transparent; border-radius: 18px; transition: background .2s ease, border-color .2s ease; }
.journey-step:hover, .journey-step--active { border-color: var(--petcann-line); background: #fff; box-shadow: var(--petcann-shadow-small); }
.journey-step__number { position: relative; z-index: 1; display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid var(--petcann-line); border-radius: 50%; background: var(--petcann-paper); color: #a0aaa4; font-family: var(--font-mono); font-size: .65rem; }
.journey-step--active .journey-step__number { border-color: var(--petcann-coral); background: var(--petcann-coral); color: #fff; }
.journey-step__tag { color: var(--petcann-sage-dark); font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; }
.journey-step h3 { margin: 7px 0; font-size: 1.12rem; letter-spacing: -.04em; }
.journey-step p { max-width: 47ch; margin: 0; color: var(--petcann-muted); font-size: .76rem; line-height: 1.7; }

.safety-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; max-width: none; padding-right: max(32px, calc((100vw - 1176px) / 2)); padding-left: max(32px, calc((100vw - 1176px) / 2)); background: var(--petcann-ink); color: #fff; }
.safety-art { position: relative; display: grid; min-height: 420px; place-items: center; overflow: hidden; }
.safety-circle { position: absolute; border: 1px solid rgba(169, 212, 154, .25); border-radius: 50%; }
.safety-circle--outer { width: min(390px, 80vw); height: min(390px, 80vw); }
.safety-circle--inner { width: 260px; height: 260px; border-color: rgba(244, 127, 104, .35); }
.safety-paw { position: relative; z-index: 1; display: grid; width: 135px; height: 135px; place-items: center; border-radius: 44% 56% 48% 52%; background: var(--petcann-sage); color: var(--petcann-ink); font-size: 3.1rem; transform: rotate(-18deg); box-shadow: 0 22px 55px rgba(0, 0, 0, .2); }
.safety-leaf { position: absolute; width: 90px; height: 45px; border-radius: 100% 0; background: var(--petcann-coral); opacity: .8; }
.safety-leaf--one { top: 35px; right: 21%; transform: rotate(-25deg); }
.safety-leaf--two { bottom: 50px; left: 12%; background: #f4bf77; transform: rotate(52deg); }
.safety-copy { max-width: 645px; }
.safety-copy .eyebrow { color: var(--petcann-sage); }
.safety-copy h2 { color: #fff; }
.safety-copy h2 em { color: var(--petcann-sage); }
.safety-copy > p:not(.eyebrow) { max-width: 570px; margin: 25px 0 34px; color: rgba(255, 255, 255, .68); font-size: .88rem; line-height: 1.85; }
.safety-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety-list > div { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }
.safety-list > div > span { color: var(--petcann-coral); font-family: var(--font-mono); font-size: .64rem; }
.safety-list p { margin: 14px 0 0; }
.safety-list b, .safety-list small { display: block; }
.safety-list b { font-size: .74rem; }
.safety-list small { margin-top: 8px; color: rgba(255, 255, 255, .48); font-size: .64rem; line-height: 1.6; }

.faq-section { max-width: 920px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-bottom: 1px solid var(--petcann-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; list-style: none; cursor: pointer; font-size: .88rem; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--petcann-coral); font-size: 1.5rem; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; margin: -4px 0 22px; color: var(--petcann-muted); font-size: .8rem; line-height: 1.8; }
.final-cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; max-width: 1176px; margin: 20px auto 100px; padding: 48px 52px; border-radius: var(--radius-lg); background: var(--petcann-coral); color: #fff; }
.final-cta .eyebrow { color: #fff; opacity: .75; }
.final-cta h2 { max-width: 700px; }
.final-cta h2 em { color: var(--petcann-ink); }
.final-cta__actions { display: grid; justify-items: start; gap: 16px; }
.light-link { color: #fff; font-size: .75rem; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding: 60px max(32px, calc((100vw - 1176px) / 2)) 25px; background: var(--petcann-ink-deep); color: #fff; }
.brand--light { color: #fff; }
.brand--light .brand-mark { background: var(--petcann-sage); }
.footer-brand p { max-width: 270px; margin: 19px 0 0; color: rgba(255, 255, 255, .5); font-size: .72rem; line-height: 1.7; }
.footer-links { display: flex; gap: 75px; }
.footer-links div { display: grid; align-content: start; gap: 11px; min-width: 100px; }
.footer-links b { margin-bottom: 4px; color: var(--petcann-sage); font-size: .65rem; font-family: var(--font-mono); text-transform: uppercase; }
.footer-links a { color: rgba(255, 255, 255, .64); font-size: .7rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .36); font-family: var(--font-mono); font-size: .58rem; }

.auth-dialog, .pet-dialog, .person-dialog { width: min(100% - 30px, 450px); padding: 35px; border: 0; border-radius: 25px; background: var(--petcann-paper); color: var(--petcann-ink); box-shadow: 0 30px 100px rgba(0, 0, 0, .25); }
.auth-dialog::backdrop, .pet-dialog::backdrop, .person-dialog::backdrop { background: rgba(16, 46, 40, .56); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 16px; right: 17px; display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 50%; background: var(--petcann-mint); color: var(--petcann-ink); font-size: 1.3rem; line-height: 1; }
.auth-heading { padding-right: 20px; }
.auth-kicker { color: var(--petcann-sage-dark); font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; }
.auth-heading h2 { margin: 10px 0 7px; font-size: 1.75rem; letter-spacing: -.06em; }
.auth-heading p { margin: 0; color: var(--petcann-muted); font-size: .76rem; line-height: 1.6; }
.auth-tabs { display: flex; gap: 25px; margin: 28px 0 18px; border-bottom: 1px solid var(--petcann-line); }
.auth-tabs button { position: relative; padding: 0 0 12px; border: 0; background: transparent; color: #9ba59f; font-size: .75rem; font-weight: 800; }
.auth-tabs button.is-active { color: var(--petcann-ink); }
.auth-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--petcann-coral); content: ''; }
.auth-form, .pet-form, .person-form, .quick-log, .document-form { display: none; gap: 15px; }
.auth-form.is-active { display: grid; }
.person-form { display: grid; }
label { display: grid; gap: 7px; color: var(--petcann-ink); font-size: .69rem; font-weight: 800; }
label small { color: #9aa49e; font-size: .6rem; font-weight: 500; }
input, select, textarea { width: 100%; border: 1px solid var(--petcann-line); border-radius: 11px; outline: none; background: #fff; color: var(--petcann-ink); font-size: .78rem; transition: border-color .2s ease, box-shadow .2s ease; }
input, select { height: 44px; padding: 0 12px; }
textarea { min-height: 90px; padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--petcann-sage-dark); box-shadow: 0 0 0 3px rgba(79, 139, 104, .14); }
.auth-legal { margin: 20px 0 0; color: #9aa49e; font-size: .59rem; line-height: 1.6; }
.form-feedback { min-height: 16px; margin: 0; color: var(--petcann-coral); font-size: .65rem; line-height: 1.5; }
.form-feedback.is-success { color: var(--petcann-sage-dark); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; max-width: 340px; padding: 14px 17px; border-radius: 13px; background: var(--petcann-ink); color: #fff; box-shadow: var(--petcann-shadow); font-size: .72rem; opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* App */
.app-page { min-height: 100vh; background: #f7f8f4; }
.app-layout { display: flex; min-height: 100vh; }
.app-sidebar { position: fixed; z-index: 30; display: flex; width: 260px; height: 100vh; flex-direction: column; padding: 31px 22px 23px; background: var(--petcann-ink); color: #fff; }
.brand--sidebar { color: #fff; }
.brand--sidebar .brand-mark { background: var(--petcann-sage); }
.sidebar-caption { margin: 42px 11px 15px; color: rgba(255, 255, 255, .42); font-family: var(--font-mono); font-size: .58rem; text-transform: uppercase; }
.app-nav { display: grid; gap: 5px; }
.app-nav__item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 12px; border: 0; border-radius: 11px; background: transparent; color: rgba(255, 255, 255, .58); text-align: left; font-size: .72rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.app-nav__item span { width: 20px; color: var(--petcann-sage); font-size: 1rem; text-align: center; }
.app-nav__item:hover, .app-nav__item.is-active { background: rgba(169, 212, 154, .14); color: #fff; }
.app-nav__item.is-active { box-shadow: inset 3px 0 var(--petcann-sage); }
.sidebar-bottom { margin-top: auto; }
.sidebar-safety { display: flex; gap: 10px; padding: 13px; border: 1px solid rgba(169, 212, 154, .18); border-radius: 13px; background: rgba(169, 212, 154, .07); }
.sidebar-safety > span { color: var(--petcann-sage); }
.sidebar-safety p { margin: 0; }
.sidebar-safety b, .sidebar-safety small { display: block; }
.sidebar-safety b { font-size: .65rem; }
.sidebar-safety small { margin-top: 5px; color: rgba(255, 255, 255, .45); font-size: .57rem; line-height: 1.5; }
.sidebar-logout { display: flex; justify-content: space-between; width: 100%; margin-top: 23px; padding: 10px 12px; border: 0; background: transparent; color: rgba(255, 255, 255, .45); font-size: .66rem; text-align: left; }
.sidebar-logout:hover { color: #fff; }
.app-main { width: calc(100% - 260px); margin-left: 260px; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 18px clamp(24px, 4vw, 55px); border-bottom: 1px solid rgba(23, 60, 52, .07); background: rgba(255, 253, 248, .75); backdrop-filter: blur(10px); }
.app-breadcrumb { display: flex; align-items: center; gap: 10px; color: #a2ada7; font-family: var(--font-mono); font-size: .62rem; }
.app-breadcrumb strong { color: var(--petcann-ink); font-family: var(--font-body); font-size: .72rem; }
.app-top-actions { display: flex; align-items: center; gap: 19px; }
.icon-button, .app-mobile-menu { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid var(--petcann-line); border-radius: 50%; background: transparent; color: var(--petcann-ink); font-size: .75rem; font-weight: 800; }
.app-mobile-menu { display: none; border: 0; font-size: 1.1rem; }
.user-chip { display: flex; align-items: center; gap: 9px; }
.user-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--petcann-coral-soft); color: #bd624f; font-family: var(--font-mono); font-size: .63rem; }
.user-chip b, .user-chip small { display: block; }
.user-chip b { font-size: .67rem; }
.user-chip small { margin-top: 3px; color: #9da8a2; font-size: .57rem; }
.app-content { max-width: 1280px; margin: 0 auto; padding: clamp(30px, 5vw, 62px) clamp(24px, 4vw, 55px) 80px; }
.app-view { display: none; animation: panelIn .3s ease both; }
.app-view.is-active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app-welcome, .view-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.app-welcome .eyebrow, .view-heading .eyebrow { margin-bottom: 13px; }
.app-welcome h1, .view-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.07em; line-height: 1; }
.app-welcome h1 em { color: var(--petcann-coral); font-style: normal; }
.app-welcome p:not(.eyebrow), .view-heading p:not(.eyebrow) { margin: 12px 0 0; color: #8b9690; font-size: .8rem; }
.date-badge { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--petcann-line); border-radius: 12px; background: #fff; }
.date-badge > span:first-child { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: var(--petcann-mint); color: var(--petcann-sage-dark); }
.date-badge small, .date-badge b { display: block; }
.date-badge small { color: #a3aca7; font-size: .55rem; }
.date-badge b { margin-top: 3px; font-family: var(--font-mono); font-size: .64rem; }
.app-alert { display: flex; align-items: center; gap: 12px; margin: -12px 0 24px; padding: 13px 15px; border: 1px solid #ecd9b9; border-radius: 13px; background: #fff6df; color: #765b2d; }
.app-alert[hidden] { display: none; }
.app-alert__icon { font-size: 1.15rem; }
.app-alert b, .app-alert p { display: block; }
.app-alert b { font-size: .67rem; }
.app-alert p { margin: 4px 0 0; font-size: .61rem; }
.app-alert button { margin-left: auto; border: 0; background: transparent; color: inherit; font-size: 1.1rem; }
.overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 21px; }
.overview-card { min-height: 170px; padding: 22px; border-radius: 17px; }
.overview-card--people { background: var(--petcann-lilac); color: #4b4765; }
.overview-card--pets { background: var(--petcann-sage); color: var(--petcann-ink); }
.overview-card--journal { background: var(--petcann-coral-soft); color: #713f36; }
.overview-card--journey { background: var(--petcann-lilac); color: #4b4765; }
.overview-card__head { display: flex; justify-content: space-between; }
.overview-card .card-eyebrow { color: currentColor; opacity: .63; }
.card-icon { font-size: 1.3rem; opacity: .6; }
.metric { display: block; margin-top: 24px; font-size: 2.15rem; letter-spacing: -.08em; line-height: 1; }
.metric--text { max-width: 13ch; font-size: 1.55rem; }
.overview-card p { margin: 6px 0 15px; color: currentColor; font-size: .66rem; opacity: .65; }
.inline-action { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: currentColor; font-size: .64rem; font-weight: 800; text-decoration: none; }
.inline-action:hover { gap: 11px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(290px, .68fr); gap: 15px; }
.panel-card { padding: 24px; border: 1px solid rgba(23, 60, 52, .08); border-radius: 17px; background: #fff; box-shadow: 0 8px 23px rgba(23, 60, 52, .04); }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.panel-heading h2 { margin: 7px 0 0; font-size: 1.08rem; letter-spacing: -.05em; }
.panel-heading__mark { color: var(--petcann-coral); font-size: 1.3rem; }
.small-button { min-height: 33px; padding: 0 12px; border: 1px solid var(--petcann-line); border-radius: 999px; background: #fff; color: var(--petcann-ink); font-size: .6rem; font-weight: 800; }
.small-button:hover { border-color: var(--petcann-sage-dark); }
.pets-list { display: grid; gap: 10px; }
.full-pets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.person-row { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 16px; border: 1px solid rgba(23, 60, 52, .08); border-radius: 14px; background: #fff; }
.person-row__avatar { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--petcann-lilac); color: #4b4765; font-size: 1.1rem; font-weight: 800; }
.person-row__body { min-width: 0; flex: 1 1 auto; }
.person-row__body strong, .person-row__body small { display: block; }
.person-row__body strong { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.person-row__body small { margin-top: 4px; color: #8f9994; font-size: .61rem; }
.person-row__actions { display: flex; flex: 0 0 auto; gap: 6px; }
.person-row__actions button { padding: 6px 8px; border: 1px solid var(--petcann-line); border-radius: 8px; background: #fff; color: var(--petcann-ink); font-size: .58rem; font-weight: 800; }
.person-row__actions button:hover { border-color: var(--petcann-sage-dark); }
.profile-scope-note { margin: 16px 0 0; color: #8b9690; font-size: .68rem; line-height: 1.6; }
.pet-row { display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px solid rgba(23, 60, 52, .08); border-radius: 13px; background: #fdfefb; }
.pet-row__avatar { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--petcann-coral-soft); color: #b86552; font-size: 1.25rem; }
.pet-row__body { min-width: 0; }
.pet-row__body strong, .pet-row__body small { display: block; }
.pet-row__body strong { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.pet-row__body small { margin-top: 4px; color: #98a19c; font-size: .61rem; }
.pet-row__meta { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.pet-row__journey { padding: 5px 8px; border-radius: 999px; background: var(--petcann-mint); color: var(--petcann-sage-dark); font-size: .54rem; font-weight: 800; }
.pet-row__open { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--petcann-line); border-radius: 50%; background: transparent; color: var(--petcann-ink); }
.empty-state { display: grid; min-height: 190px; place-items: center; align-content: center; padding: 24px; border: 1px dashed var(--petcann-line); border-radius: 14px; text-align: center; }
.empty-state__icon { display: grid; width: 43px; height: 43px; margin-bottom: 12px; place-items: center; border-radius: 15px; background: var(--petcann-mint); color: var(--petcann-sage-dark); font-size: 1.3rem; }
.empty-state b { font-size: .75rem; }
.empty-state p { max-width: 260px; margin: 7px 0 16px; color: #9ba59f; font-size: .63rem; line-height: 1.6; }
.empty-inline { padding: 19px 0; color: #a1aaa5; font-size: .65rem; text-align: center; }
.quick-log { display: grid; }
.range-wrap { display: flex; align-items: center; gap: 9px; }
.range-wrap input { height: auto; padding: 0; accent-color: var(--petcann-coral); }
.range-wrap output { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; background: var(--petcann-coral-soft); color: var(--petcann-coral); font-family: var(--font-mono); font-size: .62rem; }
.recent-panel { margin-top: 15px; }
.recent-list { display: grid; gap: 9px; }
.recent-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(23, 60, 52, .07); }
.recent-item__dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--petcann-coral); }
.recent-item__body { min-width: 0; }
.recent-item__body b, .recent-item__body small { display: block; }
.recent-item__body b { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.recent-item__body small { margin-top: 4px; color: #9ca7a0; font-size: .58rem; }
.recent-item__date { margin-left: auto; color: #a7b0aa; font-family: var(--font-mono); font-size: .55rem; }
.app-view > .view-heading { align-items: center; }
.view-heading { max-width: 800px; }
.view-heading .button { flex: 0 0 auto; }
.journal-layout, .documents-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: 15px; }
.journal-list, .document-list { display: grid; gap: 8px; }
.journal-item, .document-item { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid rgba(23, 60, 52, .08); }
.journal-item__icon, .document-item__icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--petcann-coral-soft); color: var(--petcann-coral); }
.journal-item__body, .document-item__body { min-width: 0; }
.journal-item__body b, .journal-item__body small, .document-item__body b, .document-item__body small { display: block; }
.journal-item__body b, .document-item__body b { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.journal-item__body small, .document-item__body small { margin-top: 4px; color: #9ca6a0; font-size: .58rem; }
.journal-item__level { margin-left: auto; color: var(--petcann-sage-dark); font-family: var(--font-mono); font-size: .6rem; }
.journal-side { display: grid; align-content: start; gap: 15px; }
.quote-card { position: relative; overflow: hidden; padding: 27px; border-radius: 17px; background: var(--petcann-ink); color: #fff; }
.quote-card > span { position: absolute; top: 12px; right: 20px; color: var(--petcann-sage); font-family: Georgia, serif; font-size: 4rem; opacity: .7; }
.quote-card p { max-width: 200px; margin: 0 0 20px; font-size: 1rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.35; }
.quote-card small { color: rgba(255, 255, 255, .52); font-size: .6rem; }
.mini-reminder h3 { margin: 11px 0 8px; font-size: .85rem; letter-spacing: -.03em; }
.mini-reminder p { margin: 0; color: #8f9a94; font-size: .65rem; line-height: 1.65; }
.journey-dashboard { display: grid; gap: 13px; }
.journey-pet-block { padding: 25px; border-radius: 17px; background: #fff; box-shadow: 0 8px 23px rgba(23, 60, 52, .04); }
.journey-pet-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.journey-pet-heading h2 { margin: 0; font-size: 1rem; }
.journey-pet-heading small { color: #9ba59f; font-size: .62rem; }
.journey-progress { height: 7px; margin-bottom: 25px; overflow: hidden; border-radius: 99px; background: #edf0eb; }
.journey-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--petcann-coral), #f2bf85); }
.journey-dashboard-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.journey-dashboard-step { position: relative; padding-top: 14px; border-top: 2px solid #e5eae3; }
.journey-dashboard-step.is-done { border-color: var(--petcann-sage); }
.journey-dashboard-step.is-current { border-color: var(--petcann-coral); }
.journey-dashboard-step b, .journey-dashboard-step small { display: block; }
.journey-dashboard-step b { font-size: .64rem; }
.journey-dashboard-step small { margin-top: 4px; color: #9ca69f; font-size: .57rem; line-height: 1.45; }
.document-form { display: grid; }
.file-field input { height: auto; padding: 11px; }
.document-item__download { display: grid; width: 29px; height: 29px; margin-left: auto; place-items: center; border: 1px solid var(--petcann-line); border-radius: 50%; color: var(--petcann-ink); font-size: .75rem; text-decoration: none; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.support-card { display: flex; align-items: center; gap: 14px; min-height: 105px; padding: 20px; border: 1px solid var(--petcann-line); border-radius: 16px; background: #fff; color: var(--petcann-ink); text-align: left; text-decoration: none; }
.support-card:hover { transform: translateY(-2px); box-shadow: var(--petcann-shadow-small); }
.support-card--green { border-color: transparent; background: var(--petcann-sage); }
.support-card__icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--petcann-mint); color: var(--petcann-sage-dark); font-weight: 800; }
.support-card b, .support-card small { display: block; }
.support-card b { font-size: .7rem; }
.support-card small { margin-top: 5px; color: #8f9a94; font-size: .58rem; }
.support-disclaimer { margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--petcann-coral-soft); color: #714237; }
.support-disclaimer b { font-size: .7rem; }
.support-disclaimer p { margin: 7px 0 0; font-size: .65rem; line-height: 1.6; }
.pet-form { display: grid; }
.person-form { display: grid; }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 1020px) {
  .hero-shell { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 520px; }
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-section { gap: 45px; }
  .safety-section { gap: 50px; }
}
@media (max-width: 820px) {
  .site-header { padding: 17px 20px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 72px; right: 20px; left: 20px; display: none; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--petcann-line); border-radius: 17px; background: rgba(255, 253, 248, .97); box-shadow: var(--petcann-shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav a, .nav-login { padding: 12px; text-align: left; }
  .nav-login { text-align: center; }
  .trust-strip { grid-template-columns: 1fr; gap: 14px; padding-right: 20px; padding-left: 20px; }
  .section { padding: 75px 20px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 260px; }
  .journey-section, .safety-section { grid-template-columns: 1fr; }
  .journey-intro { position: static; }
  .safety-section { padding: 75px 20px; }
  .safety-art { min-height: 280px; }
  .safety-list { grid-template-columns: 1fr; gap: 13px; }
  .safety-list > div { display: grid; grid-template-columns: 32px 1fr; gap: 8px; }
  .safety-list p { margin: 0; }
  .final-cta { grid-template-columns: 1fr; margin: 10px 20px 70px; padding: 32px 25px; }
  .site-footer { grid-template-columns: 1fr; gap: 35px; padding: 50px 20px 22px; }
  .footer-links { gap: 40px; }
  .footer-bottom { display: grid; gap: 7px; }
  .app-sidebar { left: -270px; transition: left .25s ease; box-shadow: 15px 0 40px rgba(0,0,0,.15); }
  .app-sidebar.is-open { left: 0; }
  .app-main { width: 100%; margin-left: 0; }
  .app-mobile-menu { display: grid; }
  .app-breadcrumb { margin-left: 0; }
  .dashboard-grid, .journal-layout, .documents-layout { grid-template-columns: 1fr; }
  .people-list { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
  .hero-shell { min-height: 0; padding: 35px 20px 65px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .hero-lead { font-size: .88rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-visual { min-height: 440px; transform: scale(.88); transform-origin: center top; }
  .floating-note--top { left: -3%; }
  .floating-note--bottom { right: -4%; }
  .pet-card--back { right: -2%; }
  .visual-orbit--two { width: 480px; }
  .section-heading h2, .section-heading--split h2, .journey-intro h2, .safety-copy h2, .final-cta h2 { font-size: 2.25rem; }
  .journey-step { grid-template-columns: 42px 1fr; gap: 15px; padding: 17px 0; }
  .journey-step__number { width: 42px; height: 42px; }
  .final-cta__actions { justify-items: stretch; }
  .final-cta__actions .button, .final-cta__actions .light-link { justify-content: center; }
  .auth-dialog, .pet-dialog, .person-dialog { padding: 29px 21px 23px; }
  .app-topbar { padding: 14px 18px; }
  .app-top-actions .icon-button { display: none; }
  .user-chip span:last-child { display: none; }
  .app-content { padding: 31px 17px 60px; }
  .app-welcome, .view-heading { align-items: start; flex-direction: column; }
  .date-badge { align-self: stretch; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-card { min-height: 145px; }
  .full-pets-grid { grid-template-columns: 1fr; }
  .pet-row__meta { gap: 4px; }
  .journey-dashboard-steps { grid-template-columns: repeat(2, 1fr); row-gap: 19px; }
  .form-grid-two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
