:root {
  --ink: #10231f;
  --muted: #55645e;
  --paper: #f5f2e9;
  --surface: #fffdfa;
  --line: #d7ddd4;
  --blue: #183daf;
  --blue-dark: #0c287e;
  --green: #05cf82;
  --green-dark: #08754b;
  --yellow: #f6c94d;
  --coral: #f58a70;
  --sky: #a9c5ff;
  --milk: #fff9eb;
  --max: 1240px;
  --reading: 72ch;
  --shadow: 0 28px 70px rgba(16, 35, 31, 0.12);
  --shadow-soft: 0 12px 35px rgba(16, 35, 31, 0.08);
}

* { box-sizing: border-box; }

.sr-only {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  position: absolute !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.reading { max-width: var(--reading); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-top: 4px solid var(--green);
  border-bottom: 1px solid rgba(16, 35, 31, 0.1);
  background: rgba(245, 242, 233, 0.94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 118px;
  height: 52px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: #34434b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: color 160ms ease-out;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--blue); }

.main-nav .nav-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 19px;
  background: var(--ink);
  color: #fff;
  box-shadow: 5px 5px 0 var(--green);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}

.main-nav .nav-cta:hover {
  color: #fff;
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--green);
}

.language-switcher {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.main-nav .language-switcher a,
.main-nav .language-switcher span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.main-nav .language-switcher [aria-current="true"] {
  background: var(--blue);
  color: #fff;
}

html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  letter-spacing: -0.025em;
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 22px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  content: "";
}

.menu-button span::before { position: absolute; top: -7px; }
.menu-button span::after { position: absolute; top: 7px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", Avenir, sans-serif;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 { font-size: clamp(3rem, 7.5vw, 7.2rem); }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.7rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -0.025em; }

p { margin: 0 0 1.15em; }

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 64px 0 60px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero::before {
  width: 520px;
  height: 520px;
  position: absolute;
  left: -360px;
  bottom: -390px;
  border: 110px solid rgba(5, 207, 130, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(440px, 0.88fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  max-width: 11.25ch;
  margin-bottom: 26px;
  font-size: clamp(3.7rem, 5.2vw, 5.6rem);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--blue); }

.hero-lead {
  max-width: 57ch;
  color: #3f5058;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero-lead strong { color: var(--ink); }

.hero-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 24px 0 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.hero-principles li::before { margin-right: 8px; color: var(--green-dark); content: "●"; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 5px 5px 0 rgba(16, 35, 31, 0.17);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, background 180ms ease-out, color 180ms ease-out;
}

.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 rgba(16, 35, 31, 0.17); }
.button:active { transform: translate(5px, 5px); box-shadow: none; }
.button-primary { background: var(--ink); color: #fff; }
.button-secondary { background: transparent; color: var(--ink); }
.button-green { border-color: var(--green); background: var(--green); color: var(--ink); }
.section-blue .button-secondary { border-color: #fff; color: #fff; }

.product-orbit {
  min-height: 570px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(12, 40, 126, 0.55);
  border-radius: 48% 48% 10px 10px;
  background: var(--blue);
  box-shadow: 18px 20px 0 var(--green);
}

.product-orbit::before {
  position: absolute;
  z-index: -1;
  inset: 54% -20% -30%;
  border-radius: 50% 50% 0 0;
  background: var(--milk);
  content: "";
}

.product-orbit::after {
  width: 210px;
  height: 210px;
  position: absolute;
  z-index: -2;
  top: 22%;
  right: -60px;
  border: 38px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.product-orbit img {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 28px 25px rgba(13,27,33,0.22));
}

.product-orbit .p1 { width: 42%; left: 3%; top: 23%; transform: rotate(-5deg); }
.product-orbit .p2 { width: 47%; right: 0; top: 24%; transform: rotate(5deg); }
.product-orbit .p3 { width: 46%; left: 28%; bottom: -3%; transform: rotate(1deg); }

.product-orbit .pet-line {
  z-index: 0;
  opacity: 0.45;
  filter: none;
}

.product-orbit .pet-cat { width: 43%; top: 12%; right: -2%; transform: rotate(-8deg); }
.product-orbit .pet-dog { width: 38%; bottom: 2%; left: -8%; transform: rotate(8deg); }

.stage-note {
  max-width: 25ch;
  position: absolute;
  z-index: 3;
  top: 72px;
  left: 72px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.stage-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-seal {
  width: 96px;
  height: 96px;
  display: grid;
  place-content: center;
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  transform: rotate(7deg);
}

.stage-seal strong { display: block; font-size: 17px; line-height: 1; }
.stage-seal span { display: block; margin-top: 5px; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.proof-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  border-right: 1px solid rgba(16, 35, 31, 0.28);
}

.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", sans-serif; font-size: 1.35rem; }
.proof-item span { color: #3e4c42; font-size: 13px; }

.section { padding: clamp(88px, 10vw, 132px) 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: var(--ink); color: #f4f7f4; }
.section-blue { background: var(--blue); color: #fff; }
.section-white { background: var(--surface); }
.section-dark .eyebrow { color: #45e6a4; }
.section-blue .eyebrow { color: #ffffff; }
.cta-band .eyebrow { color: #063f2a; }
.section-dark .answer-box .eyebrow,
.section-blue .answer-box .eyebrow { color: var(--green-dark); }

.section-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 64px;
}

.section-head p {
  max-width: 47ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head h2 { max-width: 14ch; margin-bottom: 0; }

.section-dark .section-head p,
.section-blue .section-head p { color: rgba(255,255,255,0.72); }

.science-feature {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(16, 35, 31, 0.98), rgba(16, 35, 31, 0.92)),
    var(--ink);
}

.science-feature::after {
  width: 390px;
  height: 250px;
  position: absolute;
  right: -70px;
  bottom: -30px;
  background: url('/pets/cat2.webp') center / contain no-repeat;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.science-feature .container { position: relative; z-index: 1; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  min-height: 580px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.16);
  border-radius: 26px 26px 4px 4px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}

.product-card[data-formula]::before {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 20px;
  padding: 5px 9px;
  border: 1px solid rgba(16, 35, 31, 0.55);
  background: rgba(255, 253, 250, 0.86);
  color: var(--ink);
  content: attr(data-formula);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }

.product-card-media {
  --media-grid: rgba(24, 61, 175, 0.085);
  height: 360px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  background-color: #e8eee8;
  background-image:
    linear-gradient(var(--media-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--media-grid) 1px, transparent 1px);
  background-size: 32px 32px;
}

.product-card-media.duoweili { background-color: #dfe7ff; }
.product-card-media.yueli {
  --media-grid: rgba(177, 73, 45, 0.09);
  background-color: #ffe2d7;
}
.product-card-media.changqing { background-color: #d9e7ff; }

.product-card-media img {
  width: calc(100% - 48px);
  max-width: none;
  height: calc(100% - 48px);
  max-height: none;
  display: block;
  position: absolute;
  z-index: 1;
  inset: 24px;
  object-fit: contain;
  transition: transform 220ms ease-out;
}

.product-card:hover img { transform: translateY(-5px) rotate(-1deg) scale(1.025); }

.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-top: 1px solid rgba(16, 35, 31, 0.12);
}

.product-card h2,
.product-card h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
.product-card p { color: var(--muted); }
.product-card .text-link { margin-top: auto; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid rgba(24, 61, 175, 0.34);
  border-radius: 999px;
  background: rgba(24, 61, 175, 0.04);
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after { content: "→"; transition: transform 160ms ease-out; }
.text-link:hover::after { transform: translateX(4px); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.answer-box {
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid rgba(16, 35, 31, 0.2);
  border-left: 8px solid var(--green);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.answer-box p:last-child { margin-bottom: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  min-height: 190px;
  padding: 28px;
  background: var(--surface);
}

.stat strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.stat span { color: var(--muted); }

.ai-feature {
  position: relative;
  overflow: hidden;
}

.ai-feature::before {
  width: 420px;
  height: 280px;
  position: absolute;
  left: -100px;
  bottom: -55px;
  background: url('/pets/dog1.webp') center / contain no-repeat;
  content: "";
  opacity: 0.08;
  pointer-events: none;
}

.ai-feature .container { position: relative; z-index: 1; }

.ai-feature .stat-grid {
  counter-reset: operating-model;
  display: block;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.ai-feature .stat {
  counter-increment: operating-model;
  min-height: 0;
  display: grid;
  grid-template-columns: 52px minmax(150px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.ai-feature .stat::before {
  color: var(--green);
  content: "0" counter(operating-model);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.ai-feature .stat strong {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
}

.ai-feature .stat span { color: rgba(255, 255, 255, 0.72); }

.trust-list {
  counter-reset: trust;
  display: block;
  border-top: 1px solid var(--ink);
}

.trust-item {
  counter-increment: trust;
  display: grid;
  grid-template-columns: 84px minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.trust-item::before {
  color: var(--green-dark);
  content: "0" counter(trust);
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.trust-item h3 { margin-bottom: 12px; }
.trust-item p { max-width: 60ch; color: var(--muted); }

.section-white .trust-item,
.section .trust-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.section-white .trust-item p,
.section .trust-item p { color: var(--muted); }

.page-hero {
  padding: clamp(72px, 8vw, 110px) 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.88), rgba(255, 253, 250, 0.25)),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(16, 35, 31, 0.045) 25%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: 54px;
}

.page-hero-grid > *,
.content-grid > * { min-width: 0; }

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.4vw, 6.8rem);
  overflow-wrap: break-word;
}

.page-hero .lead {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.16rem;
}

.title-line { display: block; }
.nag-hero h1 { max-width: none; font-size: clamp(2.5rem, 4.6vw, 4.7rem); }

.product-portrait {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 48% 48% 8px 8px;
  background: #e9efe7;
  position: relative;
  box-shadow: 14px 16px 0 var(--green);
}

.product-portrait::before {
  position: absolute;
  inset: auto -15% -40% -15%;
  height: 62%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.65);
  content: "";
}

.product-portrait img {
  position: relative;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(13,27,33,0.16));
}

.breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after { margin-left: 8px; content: "/"; }
.breadcrumb a { color: var(--blue); text-decoration: none; }

.toc {
  padding: 25px 27px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.toc strong { display: block; margin-bottom: 10px; }
.toc ul { margin: 0; padding-left: 18px; }
.toc a { color: var(--blue); }

.content-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.content-grid .toc { position: sticky; top: 110px; }

.prose h2 {
  margin-top: 72px;
  margin-bottom: 22px;
  max-width: 18ch;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.prose h3 { margin-top: 38px; margin-bottom: 14px; }
.prose p, .prose li { max-width: var(--reading); }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 10px; }

.data-table-wrap { overflow-x: auto; margin: 30px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
}

th, td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th { background: #edf1eb; }

.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.evidence-card {
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.evidence-card .tier {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note, .warning {
  margin: 30px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--blue);
  background: #eef3ff;
}

.warning { border-left-color: #d89900; background: #fff7dc; }
.note p:last-child, .warning p:last-child { margin-bottom: 0; }

.certificate-hero {
  background:
    radial-gradient(circle at 83% 18%, rgba(14, 148, 136, .16), transparent 34%),
    linear-gradient(135deg, #f4fbff 0%, #f8fffb 52%, #fff 100%);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 38px;
}

.scope-grid .note,
.scope-grid .warning { margin: 0; }

.certificate-figure {
  max-width: 720px;
  margin: 28px 0 22px;
}

.certificate-figure a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(13, 47, 70, .16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(25, 63, 86, .13);
}

.certificate-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .9rem;
}

.document-meta { margin: 22px 0; }

.prose code {
  overflow-wrap: anywhere;
  font-size: .82em;
}

.faq-list { border-top: 1px solid var(--line); }

details {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 800;
}

summary::after { content: "+"; color: var(--green-dark); font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details > div,
details > p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease-out, border-color 180ms ease-out;
}

.related-card:hover { border-color: var(--blue); transform: translateY(-4px); }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: var(--green);
}

.cta-band::after {
  width: 250px;
  height: 170px;
  position: absolute;
  right: 5%;
  bottom: -20px;
  background: url('/pets/dog2.webp') center / contain no-repeat;
  content: "";
  opacity: 0.3;
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.cta-grid h2 { max-width: 14ch; margin-bottom: 0; }

.site-footer {
  padding: 64px 0 30px;
  background: var(--ink);
  color: #f3f6f3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 48px;
}

.footer-grid h2 { font-size: 2rem; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid p { color: rgba(255,255,255,0.63); }
.footer-grid ul { padding: 0; margin: 0; list-style: none; }
.footer-grid li { margin: 8px 0; }
.footer-grid a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer-grid a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 35px;
  margin-top: 45px;
  border-top: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.48);
  font-size: 13px;
}

.citation-list { font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .menu-button { display: inline-flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav[data-open="true"] { display: grid; }
  .main-nav a { min-height: 48px; display: flex; align-items: center; }
  .main-nav .nav-cta { justify-content: center; }
  .main-nav .language-switcher { width: max-content; }
  .main-nav .language-switcher a,
  .main-nav .language-switcher span { min-height: 40px; }

  .hero-grid,
  .page-hero-grid,
  .split,
  .content-grid,
  .section-head { grid-template-columns: 1fr; }

  .hero { min-height: auto; }
  .hero-copy { max-width: 760px; }
  .product-orbit { min-height: 600px; max-width: 620px; width: 100%; margin-inline: auto; }
  .content-grid .toc { position: static; order: -1; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid, .trust-list, .evidence, .related-grid, .scope-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .trust-item { grid-template-columns: 64px minmax(0, 1fr); }
  .trust-item p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 961px) and (max-height: 860px) {
  .hero {
    min-height: 680px;
    padding-block: 48px;
  }

  .hero h1 { font-size: clamp(3.65rem, 4.8vw, 5rem); }
  .product-orbit { min-height: 520px; }
  .hero-principles { margin-top: 26px; padding-top: 18px; }
  .actions { margin-top: 28px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { border-top-width: 3px; }
  .nav-wrap { min-height: 69px; }
  .brand img { width: 104px; height: 46px; }
  .brand small { display: none; }
  .main-nav { top: 69px; }
  .hero { padding: 54px 0 58px; }
  .hero h1 { font-size: clamp(3.05rem, 15.5vw, 4.65rem); }
  .hero-principles { gap: 8px 14px; margin-top: 28px; padding-top: 20px; }
  .product-orbit { min-height: 440px; border-radius: 46% 46% 8px 8px; box-shadow: 10px 12px 0 var(--green); }
  .product-orbit .p1 { width: 41%; left: 2%; top: 26%; }
  .product-orbit .p2 { width: 48%; right: -2%; top: 26%; }
  .product-orbit .p3 { width: 47%; left: 27%; bottom: -2%; }
  .product-orbit .pet-cat { top: 13%; }
  .stage-note { top: 66px; left: 27px; }
  .stage-seal { width: 78px; height: 78px; right: 14px; bottom: 12px; }
  .stage-seal strong { font-size: 14px; }
  .section { padding: 76px 0; }
  .section-tight { padding: 56px 0; }
  .page-hero { padding: 58px 0 44px; }
  .page-hero h1 { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .product-portrait { min-height: 390px; }
  .proof-grid, .stat-grid { grid-template-columns: 1fr; }
  .proof-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .stat { min-height: 0; }
  .trust-item { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .trust-item::before { font-size: 1.25rem; }
  .ai-feature .stat { grid-template-columns: 38px minmax(0, 1fr); }
  .ai-feature .stat span { grid-column: 2; }
  .cta-band::after { right: -90px; opacity: 0.17; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin: 6px 0; }
}

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

/* Product range hero: reuse the approved homepage product stage. */
.product-range-hero .page-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr); gap: clamp(46px, 5vw, 76px); }
.product-range-hero .product-orbit { width: 100%; }
.product-range-hero .selection-note { max-width: 62ch; padding-top: 18px; margin: 26px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.product-range-hero .selection-note strong { color: var(--ink); }

@media (max-width: 960px) {
  .product-range-hero .page-hero-grid { grid-template-columns: 1fr; }
}

/* AI-native operating-system narrative */
.ai-native-page [id] { scroll-margin-top: 112px; }
.ai-native-page .toc li + li { margin-top: 8px; }
.ai-native-page .toc a { text-underline-offset: 3px; }

.ai-native-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background: var(--ink);
  color: #fff;
}

.ai-native-page .page-hero::after {
  width: 520px;
  height: 520px;
  position: absolute;
  right: -170px;
  bottom: -310px;
  border: 70px solid var(--blue);
  border-radius: 50%;
  content: "";
  opacity: 0.72;
}

.ai-native-page .page-hero-grid { position: relative; z-index: 1; }
.ai-native-page .page-hero h1 { max-width: 13ch; color: #fff; font-size: clamp(3.5rem, 6vw, 6.8rem); line-height: 0.94; }
.ai-native-page .page-hero .lead { max-width: 68ch; color: rgba(255,255,255,0.72); }
.ai-native-page .page-hero .eyebrow { color: var(--green); }
.ai-native-page .page-hero .answer-box { border-color: rgba(255,255,255,0.22); background: #fffdf8; color: var(--ink); box-shadow: 12px 12px 0 var(--green); }
.ai-native-page .page-hero .answer-box .eyebrow { color: var(--green-dark); }

.ai-section-head { max-width: 900px; margin-bottom: 48px; }
.ai-section-head h2 { max-width: 17ch; margin-bottom: 18px; font-size: clamp(2.4rem, 4.5vw, 5rem); line-height: 1.02; }
.ai-section-head > p:last-child { max-width: 72ch; margin: 0; color: var(--muted); font-size: 1.05rem; }
.ai-section-head-light h2 { color: #fff; }
.ai-section-head-light > p:last-child { color: rgba(255,255,255,0.66); }

.ai-snapshot { padding: 72px 0 78px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ai-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--blue); }
.ai-metrics > div { min-height: 210px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--ink); background: var(--milk); }
.ai-metrics > div:last-child { border-right: 0; }
.ai-metrics span { color: var(--green-dark); font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.ai-metrics strong { margin: auto 0 14px; color: var(--blue); font-size: clamp(1.7rem, 2.5vw, 2.8rem); line-height: 1.05; letter-spacing: -0.05em; }
.ai-metrics del { color: #718078; font-weight: 600; }
.ai-metrics small { color: var(--muted); line-height: 1.45; }

.ai-os-section { background: #e8eeff; }
.ai-os-flow { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0; list-style: none; border-top: 2px solid var(--blue); }
.ai-os-flow li { min-height: 255px; position: relative; padding: 28px 22px 24px; border-right: 1px solid rgba(24,61,175,0.25); }
.ai-os-flow li:last-child { border-right: 0; }
.ai-os-flow li::after { position: absolute; right: -11px; top: -12px; z-index: 1; color: var(--blue); content: "→"; font-weight: 900; }
.ai-os-flow li:last-child::after { display: none; }
.ai-os-flow span { display: block; margin-bottom: 75px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; }
.ai-os-flow strong { display: block; margin-bottom: 10px; font-size: 1.15rem; line-height: 1.2; }
.ai-os-flow small { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.ai-pullquote { max-width: 20ch; margin: 70px 0 0 auto; color: var(--blue); font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.04em; }

.ai-workstreams { background: var(--blue-dark); color: #fff; }
.ai-workstream-list { border-top: 1px solid rgba(255,255,255,0.24); }
.ai-workstream-list article { display: grid; grid-template-columns: 155px minmax(0, 1fr) auto; align-items: start; gap: 34px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,0.22); }
.ai-workstream-list article > span { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: 0.12em; }
.ai-workstream-list h3 { margin: 0 0 8px; color: #fff; font-size: clamp(1.35rem, 2.2vw, 2.2rem); }
.ai-workstream-list p { max-width: 66ch; margin: 0; color: rgba(255,255,255,0.66); }
.ai-workstream-list article > strong { align-self: center; color: var(--yellow); font-size: 10px; letter-spacing: 0.08em; white-space: nowrap; }

.ai-roster { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.ai-roster article { min-height: 125px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--ink); }
.ai-roster article:nth-child(odd) { border-right: 1px solid var(--ink); }
.ai-roster article:nth-child(even) { padding-left: 24px; }
.ai-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 1.15rem; font-weight: 900; }
.ai-avatar-pink { background: var(--coral); }
.ai-avatar-dark { background: var(--ink); color: var(--green); }
.ai-roster h3 { margin: 0; font-size: 1.25rem; }
.ai-roster p { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }
.ai-roster small { max-width: 180px; color: var(--green-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-align: right; text-transform: uppercase; }
.ai-caption { max-width: 72ch; margin: 26px 0 0; color: var(--muted); font-size: 0.84rem; }

.ai-runtime { background: #e8eeff; }
.ai-runtime-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.ai-stack-list { border-top: 1px solid var(--blue); }
.ai-stack-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(24,61,175,0.28); }
.ai-stack-list span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: 0.1em; }
.ai-stack-list strong { font-size: 1.05rem; }
.ai-stack-list small { grid-column: 2; color: var(--muted); }
.ai-video-loop { margin-top: 44px; padding: clamp(30px, 4vw, 52px); border: 1px solid var(--ink); background: var(--surface); box-shadow: 11px 11px 0 var(--green); }
.ai-video-loop h3 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.03; }
.ai-video-loop ol { padding-left: 1.25em; margin: 32px 0; }
.ai-video-loop li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.ai-video-loop > p:last-child { color: var(--muted); font-size: 0.9rem; }

.ai-protocol { background: var(--ink); color: #fff; }
.ai-protocol-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,0.26); }
.ai-protocol-grid article { padding: clamp(30px, 5vw, 66px); }
.ai-protocol-grid article:first-child { border-right: 1px solid rgba(255,255,255,0.26); background: rgba(5,207,130,0.08); }
.ai-protocol-grid article:last-child { background: rgba(24,61,175,0.24); }
.ai-protocol-grid h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 3.3rem); }
.ai-protocol-grid ul { padding-left: 1.2em; margin: 28px 0 0; color: rgba(255,255,255,0.74); }
.ai-protocol-grid li { margin: 12px 0; }

.ai-step-rail { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0; list-style: none; counter-reset: none; }
.ai-step-rail li { min-height: 260px; padding: 25px 24px 30px; border: 1px solid var(--line); border-right: 0; background: var(--surface); }
.ai-step-rail li:last-child { border-right: 1px solid var(--line); background: var(--green); }
.ai-step-rail span { display: block; margin-bottom: 68px; color: var(--blue); font-size: 2.6rem; font-weight: 900; letter-spacing: -0.06em; }
.ai-step-rail h3 { margin: 0 0 10px; font-size: 1.05rem; }
.ai-step-rail p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.ai-step-rail li:last-child p { color: #23443a; }

.ai-faq { background: #edf1ec; }
.ai-faq .content-grid { align-items: start; }
.ai-faq .ai-section-head { position: sticky; top: 118px; }
.ai-faq .faq-list { background: var(--surface); box-shadow: var(--shadow-soft); }

@media (max-width: 960px) {
  .ai-native-page .page-hero h1 { max-width: 14ch; }
  .ai-metrics { grid-template-columns: 1fr 1fr; }
  .ai-metrics > div:nth-child(2) { border-right: 0; }
  .ai-metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .ai-os-flow, .ai-step-rail { grid-template-columns: 1fr; border-top: 0; }
  .ai-os-flow li { min-height: 0; padding: 26px 24px; border-top: 1px solid rgba(24,61,175,0.3); border-right: 0; }
  .ai-os-flow li::after { right: 20px; top: auto; bottom: -16px; transform: rotate(90deg); }
  .ai-os-flow span { margin-bottom: 24px; }
  .ai-workstream-list article { grid-template-columns: 120px minmax(0, 1fr); }
  .ai-workstream-list article > strong { grid-column: 2; justify-self: start; }
  .ai-roster { grid-template-columns: 1fr; }
  .ai-roster article:nth-child(odd) { border-right: 0; }
  .ai-roster article:nth-child(even) { padding-left: 0; }
  .ai-runtime-grid { grid-template-columns: 1fr; }
  .ai-video-loop { margin-top: 0; }
  .ai-step-rail li { min-height: 0; display: grid; grid-template-columns: 64px 1fr; gap: 22px; border-right: 1px solid var(--line); border-bottom: 0; }
  .ai-step-rail li:last-child { border-bottom: 1px solid var(--line); }
  .ai-step-rail span { margin: 0; font-size: 1.8rem; }
  .ai-faq .ai-section-head { position: static; }
}

@media (max-width: 620px) {
  .ai-native-page .page-hero { padding: 64px 0 70px; }
  .ai-native-page .page-hero::after { opacity: 0.35; }
  .ai-native-page .page-hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .ai-section-head h2 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .ai-metrics { grid-template-columns: 1fr; box-shadow: 7px 7px 0 var(--blue); }
  .ai-metrics > div { min-height: 170px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .ai-metrics > div:nth-child(2) { border-bottom: 1px solid var(--ink); }
  .ai-metrics > div:last-child { border-bottom: 0; }
  .ai-workstream-list article { grid-template-columns: 1fr; gap: 12px; }
  .ai-workstream-list article > strong { grid-column: 1; }
  .ai-roster article { grid-template-columns: 52px minmax(0, 1fr); padding-right: 0; }
  .ai-roster small { grid-column: 2; max-width: none; text-align: left; }
  .ai-stack-list > div { grid-template-columns: 1fr; gap: 6px; }
  .ai-stack-list small { grid-column: 1; }
  .ai-protocol-grid { grid-template-columns: 1fr; }
  .ai-protocol-grid article:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.26); }
  .ai-pullquote { margin-top: 52px; }
}

.share-panel {
  margin: 48px 0;
  padding: clamp(24px, 5vw, 44px);
  color: #fff;
  background: var(--ink);
  border-radius: 24px;
}

.share-panel .eyebrow { color: var(--green); }
.share-panel h2 { max-width: 18ch; color: #fff; margin-bottom: 14px; }
.share-panel p { color: rgba(255, 255, 255, 0.78); }
.share-panel__quote {
  padding: 20px 22px;
  margin: 24px 0;
  color: #163b25;
  background: var(--green);
  border-radius: 14px;
  font-weight: 800;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-actions a,
.share-actions button {
  min-height: 44px;
  padding: 11px 16px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.share-actions a:hover,
.share-actions button:hover {
  color: var(--ink);
  background: #fff;
}

.evidence-steps {
  padding: 0;
  margin: 24px 0;
  list-style: none;
  counter-reset: evidence-step;
}

.evidence-steps li {
  position: relative;
  padding: 18px 18px 18px 68px;
  border-top: 1px solid var(--line);
  counter-increment: evidence-step;
}

.evidence-steps li::before {
  position: absolute;
  left: 12px;
  top: 16px;
  content: counter(evidence-step, decimal-leading-zero);
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 900;
}

.evidence-steps strong { display: block; color: var(--ink); }
.evidence-steps span { color: var(--muted); }

.share-preview {
  overflow: hidden;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.share-preview img { display: block; width: 100%; height: auto; }
