/* PetChapter: the emerald and mint palette from src/OnboardingLayout.tsx. */
:root {
  color-scheme: dark;
  --paper: #062426;
  --surface: #103335;
  --soft: #123638;
  --ink: #f4f8f5;
  --muted: #b8ceca;
  --mint: #9eddd0;
  --line: #355756;
  --warm: #edc5a5;
  --radius: 22px;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--mint); text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; border-radius: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.09; }
h1 { font-size: clamp(3.7rem, 6.8vw, 6.15rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); margin-bottom: 22px; }
h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.22; letter-spacing: -.025em; margin-bottom: 16px; }
p { margin-bottom: 18px; }
em { font-style: italic; color: var(--mint); }
.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: 8px; left: 12px; padding: 10px 16px; background: var(--mint); color: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.preview-notice { text-align: center; padding: 8px 16px; background: var(--soft); color: var(--mint); font-size: .74rem; letter-spacing: .08em; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 104px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.brand { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font: 1.85rem/1.05 var(--serif); letter-spacing: -.045em; }
.brand img { border-radius: 12px; flex-shrink: 0; }
.brand-caption { display: block; font: 9px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: .17em; margin-top: 7px; color: var(--muted); }
.site-header nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .87rem; font-weight: 500; padding-block: 12px; min-height: 44px; }
.site-header nav a:hover, .site-header nav a[aria-current=page] { color: var(--mint); }
.site-header nav a[aria-current=page] { box-shadow: inset 0 -2px var(--mint); }
.eyebrow { font-size: .69rem; font-weight: 650; line-height: 1.5; letter-spacing: .17em; color: var(--mint); margin-bottom: 24px; }
.small-paw { font-size: 1rem; margin-right: 7px; color: var(--warm); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 58px; align-items: center; min-height: 720px; padding-block: 76px 88px; }
.hero-copy .intro { max-width: 490px; }
.intro { font-size: 1.06rem; line-height: 1.8; color: var(--muted); max-width: 650px; }
.actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 15px 24px; border: 1px solid transparent; border-radius: 15px; text-decoration: none; font-size: .9rem; font-weight: 650; min-height: 52px; line-height: 1.45; text-align: center; transition: transform 180ms ease, background 180ms ease; }
.button.primary { background: var(--mint); color: var(--paper); }
.button.light { background: var(--paper); color: var(--ink); }
.text-link { font-size: .9rem; font-weight: 550; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.availability { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: .74rem; margin-top: 25px; margin-bottom: 0; color: var(--muted); }
.status-dot { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; display: inline-block; box-shadow: 0 0 0 4px #9eddd012; }
.story-art { height: 540px; position: relative; display: flex; align-items: center; justify-content: center; border-radius: 48% 48% 24px 24px; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.orbit { position: absolute; border: 1px solid #9eddd018; border-radius: 50%; z-index: -1; }
.orbit-one { width: 350px; height: 350px; }
.orbit-two { width: 435px; height: 435px; }
.keepsake { background: #174c4f; color: #faf7f2; width: 265px; height: 375px; border: 1px solid #5b7b73; border-radius: 8px 20px 20px 8px; box-shadow: 8px 9px 0 -3px #cbd5c6, 13px 15px 0 -6px #78968a, 20px 25px 35px #00141670; transform: rotate(-7deg); position: relative; text-align: center; padding: 27px 18px 20px; overflow: hidden; }
.keepsake:after { content: ""; position: absolute; right: 26px; top: 0; width: 25px; height: 59px; background: var(--warm); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 83%, 0 100%); }
.book-spine { position: absolute; left: 12px; top: 0; bottom: 0; border-left: 1px solid #ffffff25; }
.book-label { font-size: 8px; letter-spacing: .16em; text-align: left; margin: 8px 0 0 13px; }
.keepsake img { width: 185px; height: 185px; margin: 5px auto -6px; }
.book-title { font: 2.1rem/1.2 var(--serif); letter-spacing: -.05em; }
.book-caption { font-size: .66rem; letter-spacing: .04em; line-height: 1.7; margin-top: 10px; color: #dce9de; }
.story-tag { position: absolute; z-index: 2; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 28px #00141635; border-radius: 16px; padding: 16px 20px; display: flex; gap: 13px; align-items: center; font-size: .76rem; line-height: 1.65; color: var(--muted); }
.story-tag strong { color: var(--ink); font-weight: 550; }
.tag-symbol { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--mint); font-size: 1.5rem; }
.tag-top { right: -16px; top: 58px; transform: rotate(3deg); }
.tag-bottom { left: -22px; bottom: 67px; transform: rotate(2deg); }
.tag-bottom .tag-symbol { font-size: 1rem; }
.art-note { position: absolute; bottom: 22px; left: 12px; right: 12px; text-align: center; color: var(--muted); font-size: .65rem; letter-spacing: .03em; }
.chapter-strip { border-block: 1px solid var(--line); background: #0a2b2d; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; font-size: .65rem; font-weight: 550; letter-spacing: .15em; color: var(--muted); }
.strip-inner span[aria-hidden] { font-size: 1rem; color: var(--mint); }
.section { padding-block: 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 45px; margin-bottom: 36px; }
.section-heading > p { max-width: 330px; color: var(--muted); margin-bottom: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 31px 28px 27px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.feature-number { font-size: .64rem; font-weight: 600; letter-spacing: .13em; margin-bottom: 34px; color: var(--mint); }
.feature p { font-size: .92rem; color: var(--muted); }
.feature-detail { font-size: .67rem; line-height: 1.6; font-weight: 500; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mint); }
.emergency-section { background: var(--mint); color: var(--paper); }
.emergency-inner { display: grid; grid-template-columns: 66px 1fr auto; gap: 32px; align-items: center; padding-block: 53px; }
.emergency-inner h2 { font-size: 2.15rem; letter-spacing: -.035em; }
.emergency-inner .eyebrow { color: #214c46; margin-bottom: 13px; }
.emergency-inner p { max-width: 610px; font-size: .91rem; color: #214c46; }
.emergency-inner .small { font-size: .79rem; margin-bottom: 0; }
.emergency-inner .button { font-size: .79rem; max-width: 206px; padding-inline: 16px; }
.emergency-symbol { border: 1px solid #365e54; color: var(--paper); width: 66px; height: 66px; border-radius: 20px; font-size: 2.8rem; line-height: 1; display: grid; place-items: center; font-weight: 200; align-self: start; margin-top: 14px; }
.emergency-section a:focus-visible { outline-color: var(--paper); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 105px; align-items: center; }
.note-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; background: var(--surface); }
.note-panel .eyebrow { display: block; }
.note-panel p { color: var(--muted); font-size: .94rem; }
.contact-band { border-top: 1px solid var(--line); padding-block: 52px 65px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.contact-band .eyebrow { margin-bottom: 15px; }
.contact-band h2 { font-size: 2.65rem; margin-bottom: 12px; }
.contact-band p:last-child { color: var(--muted); margin-bottom: 0; }
.site-footer { background: #041d1f; border-top: 1px solid var(--line); padding-top: 46px; }
.footer-top { display: grid; grid-template-columns: 1.25fr 1fr .6fr; gap: 40px; padding-bottom: 35px; }
.footer-top .brand { font-size: 1.65rem; }
.footer-top p { font-size: .84rem; color: var(--muted); margin-top: 17px; }
.footer-top .eyebrow { margin: 0; font-size: .7rem; color: var(--mint); }
.footer-top .eyebrow + p { margin-top: 15px; margin-bottom: 4px; }
.footer-top div > a:not(.brand) { font-size: .9rem; display: inline-block; padding-block: 7px; overflow-wrap: anywhere; }
.footer-top nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-top nav a { font-size: .85rem; text-decoration: none; min-height: 44px; display: flex; align-items: center; color: var(--muted); }
.footer-top nav a:hover { color: var(--mint); }
.footer-bottom { padding-block: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.page-heading { padding-block: 72px 50px; border-bottom: 1px solid var(--line); }
.page-heading h1 { font-size: clamp(3.2rem, 5.8vw, 5rem); }
.page-heading .intro { max-width: 750px; }
.page-heading .eyebrow { margin-bottom: 18px; }
.page-heading .button { margin-top: 10px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 72px; padding-block: 60px 85px; align-items: start; }
.prose h2 { font-size: 2.15rem; margin-top: 40px; margin-bottom: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: 1.45rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 23px; margin-bottom: 24px; }
.prose li { padding-left: 5px; margin-bottom: 10px; }
.company-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 28px; overflow-wrap: anywhere; }
.company-card dl { margin: 0; }
.company-card dt { font-size: .69rem; letter-spacing: .08em; font-weight: 600; color: var(--muted); text-transform: uppercase; margin-top: 23px; }
.company-card dd { margin: 7px 0 0; }
.company-card .eyebrow { margin-bottom: 8px; }
.principle { padding-block: 23px; border-top: 1px solid var(--line); }
.principle h3 { margin-top: 0; }
.principle p { margin-bottom: 0; }
.wide-prose { width: min(790px, calc(100% - 80px)); margin-inline: auto; padding-block: 52px 90px; }
.privacy-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 38px; }
.privacy-summary p:last-child { margin-bottom: 0; }
.contact-card { border: 1px solid #6caaa0; border-radius: var(--radius); padding: 30px; background: var(--surface); margin-bottom: 38px; }
.contact-card h2 { font-size: 1.9rem; margin-top: 0; }
.contact-card .email { font-size: 1.12rem; font-weight: 550; overflow-wrap: anywhere; display: inline-block; padding-block: 5px; }
.contact-card p { font-size: .91rem; margin-bottom: 12px; }
.contact-card p:last-child { margin-bottom: 0; }
.support-nav { background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.support-nav ul { padding: 0; list-style: none; margin: 0; }
.support-nav a { font-size: .9rem; display: inline-flex; align-items: center; min-height: 44px; }
.faq { border-block: 1px solid var(--line); padding-block: 18px; margin-top: 30px; }
.faq summary { font-size: 1.04rem; font-weight: 550; cursor: pointer; padding-block: 8px; }
.faq p { margin-top: 15px; }
.small { font-size: .85rem; }
.privacy-date { color: var(--muted); font-size: .82rem; }
@media (hover: hover) {
  .button:hover { transform: translateY(-2px); }
  .button.primary:hover { background: #b4e7dd; }
}
@media (min-width: 1450px) { .hero { gap: 70px; } .story-art { height: 560px; } }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 35px; min-height: 600px; padding-block: 60px; }
  .hero h1 { font-size: 4.5rem; }
  .story-art { height: 465px; }
  .keepsake { width: 230px; height: 340px; }
  .keepsake img { width: 160px; height: 160px; }
  .story-tag { padding: 12px; font-size: .66rem; gap: 9px; }
  .tag-top { right: -6px; top: 40px; } .tag-bottom { left: -9px; bottom: 55px; }
  .orbit-one { width: 280px; height: 280px; } .orbit-two { width: 340px; height: 340px; }
  .site-header nav { gap: 20px; }
  .emergency-inner { grid-template-columns: 50px 1fr; gap: 25px; }
  .emergency-symbol { width: 50px; height: 50px; border-radius: 16px; }
  .emergency-inner .button { grid-column: 2; max-width: none; justify-self: start; }
  .split-section { gap: 45px; } .feature { padding: 25px 22px; } .content-layout { gap: 40px; }
}
@media (max-width: 740px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 0; padding-block: 20px 10px; flex-direction: column; align-items: flex-start; gap: 13px; }
  .brand { font-size: 1.65rem; } .brand-caption { font-size: 8px; }
  .site-header nav { gap: 0 20px; width: 100%; justify-content: flex-start; }
  .site-header nav a { font-size: .8rem; padding-block: 10px; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 42px; gap: 44px; }
  .hero h1 { font-size: clamp(3.65rem, 11vw, 5rem); }
  .hero .eyebrow { font-size: .65rem; }
  .intro { font-size: 1rem; line-height: 1.75; } .hero-copy .intro { max-width: 100%; }
  .actions { gap: 20px; margin-top: 26px; } .button { font-size: .86rem; gap: 18px; padding-inline: 20px; }
  .text-link { font-size: .85rem; } .availability { font-size: .71rem; }
  .story-art { height: 425px; max-width: 480px; width: 100%; margin-inline: auto; }
  .keepsake { height: 325px; width: 225px; padding-top: 20px; } .keepsake img { width: 156px; height: 156px; }
  .book-title { font-size: 1.9rem; } .tag-top { right: 4px; top: 34px; } .tag-bottom { left: 2px; bottom: 42px; }
  .story-tag { font-size: .65rem; padding: 10px 12px; } .tag-symbol { width: 29px; height: 29px; flex-shrink: 0; }
  .art-note { bottom: 12px; font-size: .62rem; }
  .orbit-one { width: 270px; height: 270px; } .orbit-two { width: 315px; height: 315px; }
  .strip-inner { justify-content: center; flex-wrap: wrap; gap: 10px 15px; padding-block: 19px; font-size: .57rem; }
  .strip-inner span:last-child, .strip-inner span:nth-child(4) { display: none; }
  .section { padding-block: 55px; } .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { max-width: none; font-size: .94rem; margin-top: 24px; }
  .section-heading h2 { font-size: 2.75rem; } .eyebrow { font-size: .67rem; margin-bottom: 17px; }
  .feature-grid { grid-template-columns: 1fr; gap: 15px; } .feature { padding: 26px; }
  .feature-number { margin-bottom: 20px; } .feature-detail { padding-top: 16px; }
  .emergency-inner { grid-template-columns: 1fr; padding-block: 35px; gap: 23px; }
  .emergency-symbol { margin-top: 0; width: 44px; height: 44px; font-size: 2.2rem; }
  .emergency-inner .button { grid-column: 1; } .emergency-inner h2 { font-size: 2rem; }
  .split-section { grid-template-columns: 1fr; gap: 30px; } .note-panel { padding: 27px; }
  .contact-band { align-items: flex-start; flex-direction: column; padding-block: 37px 45px; gap: 25px; }
  .contact-band h2 { font-size: 2.3rem; } .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top nav { flex-direction: row; flex-wrap: wrap; gap: 0 23px; } .footer-top p { margin-bottom: 0; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .page-heading { padding-block: 45px 32px; } .page-heading h1 { font-size: 3.35rem; }
  .page-heading .intro { margin-bottom: 0; }
  .content-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 35px 55px; }
  .prose h2 { font-size: 1.9rem; }
  .wide-prose { width: calc(100% - 40px); padding-block: 35px 55px; }
  .privacy-summary, .company-card, .contact-card { padding: 25px; }
  .preview-notice { font-size: .6rem; letter-spacing: .065em; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 3.4rem; } .site-header nav { gap: 0 14px; }
  .story-art { height: 400px; } .orbit-two { width: 270px; height: 270px; }
  .actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .tag-top { right: 0; } .tag-bottom { left: 0; }
  .availability { font-size: .69rem; gap: 6px; } .strip-inner { font-size: .55rem; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print {
  :root { color-scheme: light; --ink: #203b3c; --muted: #344c48; --mint: #174c4f; --paper: #fff; --surface: #fff; --line: #b8ceca; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .preview-notice { color: #000; background: #fff; } .site-header nav, .site-footer, .story-art, .skip { display: none; }
  .shell, .wide-prose { width: 100%; } .hero, .content-layout, .split-section, .feature-grid { display: block; }
  .hero { min-height: 0; } .section, .page-heading, .content-layout { padding-block: 20px; }
  .feature, .contact-card, .note-panel { break-inside: avoid; background: none; }
  .button { background: none !important; color: #000 !important; }
  .emergency-section { background: none; color: #000; } .hero h1 { font-size: 36pt; }
}
