/* Final visual cleanup: image containment, page rhythm and focused page endings. */
body[data-refinement] .page-view[data-page="diabetes"] .care-inner > .care-block,
body[data-refinement] .page-view[data-page="diabetes"] .care-inner > .db-recorded-story,
body[data-refinement] .page-view[data-page="diabetes"] .care-inner > .video-testimonials,
body[data-refinement] .page-view[data-page="weight"] .care-inner > .db-recorded-story,
body[data-refinement] .page-view[data-page="weight"] .care-inner > .video-testimonials,
body[data-refinement] .page-view[data-page="academy"] .academy-stories { display: none; }

.clean-next-step {
  display: inline-flex;
  align-items: center;
  max-width: 48rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(31, 83, 64, .22);
  background: #f4f8f1;
  color: #1d543f;
  font-weight: 700;
  line-height: 1.65;
  text-decoration: none;
}

/* Academy: keep the first visual visible and stable at every viewport. */
body[data-refinement] [data-page="academy"] .academy-hero figure {
  display:block !important;
  width:min(100%, 34rem);
  max-width:none;
  margin:2rem auto 0;
  overflow:hidden;
  border-radius:12px;
  background:#edf2e9;
  filter:drop-shadow(0 18px 30px rgba(27,65,47,.14));
}
body[data-refinement] [data-page="academy"] .academy-hero figure img {
  display:block !important;
  width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  object-fit:cover;
  object-position:center;
}
body[data-refinement] [data-page="academy"] .academy-hero figcaption {
  padding:12px 16px;
  background:#f8faf4;
  color:#4a6258;
}
body[data-refinement] [data-page="academy"] .academy-hero h1 {
  color:#173d33;
  text-shadow:none;
}
body[data-refinement] [data-page="academy"] .academy-hero .academy-kicker {
  color:#8a6031;
}
body[data-refinement] [data-page="academy"] .academy-hero p:not(.academy-kicker) {
  color:#3f5b50;
}

/* A visual 442 plate that can be understood before reading the explanation. */
.academy-portion-visual { max-width: 1080px; margin: 0 auto 3.5rem; padding: clamp(2.5rem, 5vw, 5rem); background: #fbf9f2; border: 1px solid #d9e1d2; }
.academy-portion-visual > header { max-width: 43rem; }
.academy-portion-visual > header > p { margin: 0 0 .9rem; color: #9d7040; font-size: .76rem !important; font-weight: 750; letter-spacing: .14em; }
.academy-portion-visual h3 { margin: 0 0 1rem; color: #163f32; font: 500 clamp(2rem, 3.8vw, 3.8rem)/1.16 Georgia, "Noto Serif TC", "Songti TC", serif; }
.academy-portion-visual > header > span { display: block; color: #52695e; font-size: 1.06rem; line-height: 1.85; }
.academy-portion-layout { display: grid; grid-template-columns: minmax(18rem, .9fr) minmax(21rem, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; margin-top: clamp(2rem, 5vw, 4.5rem); }
.academy-portion-plate { width: min(100%, 30rem); margin: 0 auto; text-align: center; }
.academy-portion-plate svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 17px 20px rgba(40, 70, 48, .13)); }
.academy-portion-plate .plate-rim { fill: #fffdf8; stroke: #d4dfd3; stroke-width: 7; }
.academy-portion-plate .plate-protein-area { fill: #e7c89d; stroke: #fffdf8; stroke-width: 5; }
.academy-portion-plate .plate-fibre-area { fill: #bcd7b5; stroke: #fffdf8; stroke-width: 5; }
.academy-portion-plate .plate-fat-area { fill: #eadf9c; stroke: #fffdf8; stroke-width: 5; }
.academy-portion-plate .plate-centre { fill: #fffdf8; stroke: #d2ddd1; stroke-width: 2; }
.academy-portion-plate text { text-anchor: middle; dominant-baseline: middle; font-family: Georgia, "Noto Serif TC", serif; }
.academy-portion-plate .plate-centre-top { fill: #9d7040; font-size: 8px; font-family: Arial, sans-serif; letter-spacing: 1.3px; }
.academy-portion-plate .plate-centre-bottom { fill: #1d503e; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.academy-portion-plate .plate-icon, .academy-portion-plate .plate-icon-small { font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }
.academy-portion-plate .plate-icon { font-size: 25px; }.academy-portion-plate .plate-icon-small { font-size: 18px; }
.academy-portion-plate .plate-percent { fill: #1a4a3a; font-size: 21px; font-weight: 700; }
.academy-portion-plate .plate-name { fill: #315b4b; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.academy-portion-plate figcaption { margin-top: 1rem; color: #586e61; font-size: .84rem; font-weight: 700; letter-spacing: .04em; }
.academy-portion-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #cbd8c9; }
.academy-portion-steps li { display: grid; grid-template-columns: 3.1rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid #cbd8c9; }
.academy-portion-steps b { color: #a5743f; font: 500 1rem Georgia, serif; padding-top: .2rem; }
.academy-portion-steps h4 { margin: 0 0 .4rem; color: #1b4b3b; font: 500 1.32rem/1.35 Georgia, "Noto Serif TC", serif; }
.academy-portion-steps p { margin: 0; color: #586f63; line-height: 1.75; }
@media (max-width: 720px) {
  .academy-portion-visual { margin-bottom: 2.5rem; padding: 2.25rem 1.4rem; }
  .academy-portion-layout { grid-template-columns: 1fr; gap: 2.2rem; margin-top: 2.2rem; }
  .academy-portion-plate { max-width: 23rem; }
  .academy-portion-steps h4 { font-size: 1.22rem; }
}
@media (max-width:900px) {
  body[data-refinement] [data-page="academy"] .academy-hero {
    padding-top:4.5rem;
    padding-bottom:4.5rem;
  }
  body[data-refinement] [data-page="academy"] .academy-hero figure {
    width:100%;
    max-width:34rem;
    margin-top:1.75rem;
  }
}
.clean-next-step:hover { background: #e7f0e3; }

/* GLP-1 and insulin literacy: visual hierarchy for the glucose page. */
.glp-treatment-guide { margin: 2.8rem 0 3.2rem; border-top: 1px solid #c7d7ca; }
.glp-treatment-guide > header { max-width: 52rem; padding: 3.2rem 0 2.1rem; }
.glp-treatment-guide header > p, .glp-brand-reference p, .glp-label-notes header p { margin: 0 0 .9rem; color: #9a6c3d; font-size: .76rem !important; font-weight: 750; letter-spacing: .14em; }
.glp-treatment-guide h3, .glp-label-notes h3 { margin: 0 0 1rem; color: #173e32; font: 500 clamp(2rem, 3.6vw, 3.55rem)/1.18 Georgia, "Noto Serif TC", "Songti TC", serif; }
.glp-treatment-guide > header > span, .glp-brand-reference > div > span { display: block; max-width: 48rem; color: #4e675b; font-size: 1.06rem; line-height: 1.9; }
.glp-treatment-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #c8d8cc; border-bottom: 1px solid #c8d8cc; }
.glp-treatment-paths article { min-height: 19rem; padding: 2rem; background: #f8faf5; }
.glp-treatment-paths article + article { border-left: 1px solid #c8d8cc; }
.glp-treatment-paths article:nth-child(2) { background: #eef4e9; }
.glp-treatment-paths article:nth-child(3) { background: #f7f0e5; }
.glp-treatment-paths b { color: #a2723e; font: 500 1rem Georgia, serif; }
.glp-treatment-paths h4 { margin: 1.45rem 0 .85rem; color: #193f33; font: 500 1.55rem/1.3 Georgia, "Noto Serif TC", serif; }
.glp-treatment-paths p { margin: 0; color: #50685c; line-height: 1.84; }
.glp-brand-reference { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: 3.4rem; padding: clamp(2.5rem, 5vw, 5rem); background: #1d4d3e; color: #f6f5ec; }
.glp-brand-reference p { color: #dbb575; }
.glp-brand-reference h3 { margin: 0 0 1rem; color: #fffdf5; font: 500 clamp(2rem, 3.7vw, 3.7rem)/1.16 Georgia, "Noto Serif TC", serif; }
.glp-brand-reference > div > span { color: #dce8dd; }
.glp-brand-reference ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(240, 245, 234, .32); }
.glp-brand-reference li { display: grid; gap: .32rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(240, 245, 234, .32); }
.glp-brand-reference li b { color: #f7f2e5; font-size: 1rem; }
.glp-brand-reference li span { color: #d3e1d4; line-height: 1.55; }
.glp-label-notes { margin-top: 3.5rem; padding: clamp(2.5rem, 5vw, 5rem); background: #edf2e8; }
.glp-label-notes > header { max-width: 37rem; }
.glp-label-notes > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border-top: 1px solid #bfd0c1; }
.glp-label-notes article { padding: 1.75rem 2rem 0 0; }
.glp-label-notes article + article { padding-left: 2rem; border-left: 1px solid #bfd0c1; }
.glp-label-notes h4 { margin: 0 0 .8rem; color: #1d503d; font: 500 1.38rem/1.35 Georgia, "Noto Serif TC", serif; }
.glp-label-notes article p { margin: 0; color: #536a5f; line-height: 1.82; }
.glp-label-notes footer { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: 2.6rem; padding-top: 1.25rem; border-top: 1px solid #bfd0c1; }
.glp-label-notes footer a { color: #35634e; font-size: .84rem; font-weight: 700; line-height: 1.65; text-underline-offset: .25rem; }
body[data-refinement] [data-page="diabetes"] .db-page-hero h1 { color: #123f32 !important; text-shadow: none; }
body[data-refinement] [data-page="diabetes"] .db-page-hero p { color: #395c4e !important; }
body[data-refinement] [data-page="diabetes"] .db-page-hero .db-kicker { color: #94693a !important; }
@media (max-width: 780px) {
  .glp-treatment-guide > header { padding-top: 2.5rem; }
  .glp-treatment-paths, .glp-brand-reference, .glp-label-notes > div { grid-template-columns: 1fr; }
  .glp-treatment-paths article { min-height: 0; padding: 1.65rem 1.45rem; }
  .glp-treatment-paths article + article { border-top: 1px solid #c8d8cc; border-left: 0; }
  .glp-brand-reference, .glp-label-notes { padding: 2.25rem 1.45rem; }
  .glp-label-notes article { padding: 1.45rem 0 0; }
  .glp-label-notes article + article { margin-top: 1.45rem; padding-left: 0; border-top: 1px solid #bfd0c1; border-left: 0; }
}

/* Weight management: a distinct, editorial GLP-1 guide with clear brand and care boundaries. */
.weight-glp-guide { margin: 2.8rem 0 3.6rem; border-top: 1px solid #c7d7ca; }
.weight-glp-guide > header { max-width: 55rem; padding: 3.25rem 0 2.2rem; }
.weight-glp-guide header > p, .weight-oral-copy > p, .weight-label-notes header > p { margin: 0 0 .9rem; color: #9a6c3d; font-size: .76rem !important; font-weight: 750; letter-spacing: .14em; }
.weight-glp-guide h3, .weight-label-notes h3 { margin: 0 0 1rem; color: #173e32; font: 500 clamp(2rem, 3.6vw, 3.55rem)/1.18 Georgia, "Noto Serif TC", "Songti TC", serif; }
.weight-glp-guide > header > span { display: block; max-width: 52rem; color: #4e675b; font-size: 1.06rem; line-height: 1.9; }
.weight-glp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #c8d8cc; border-bottom: 1px solid #c8d8cc; }
.weight-glp-pillars article { min-height: 19rem; padding: 2rem; background: #f8faf5; }
.weight-glp-pillars article + article { border-left: 1px solid #c8d8cc; }
.weight-glp-pillars article:nth-child(2) { background: #eef4e9; }
.weight-glp-pillars article:nth-child(3) { background: #f7f0e5; }
.weight-glp-pillars b { color: #a2723e; font: 500 1rem Georgia, serif; }
.weight-glp-pillars h4 { margin: 1.45rem 0 .85rem; color: #193f33; font: 500 1.55rem/1.3 Georgia, "Noto Serif TC", serif; }
.weight-glp-pillars p { margin: 0; color: #50685c; line-height: 1.84; }
.weight-oral-reference { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 3.4rem; padding: clamp(2.5rem, 5vw, 5rem); background: #1d4d3e; color: #f6f5ec; }
.weight-oral-copy > p { color: #dbb575; }
.weight-oral-copy h3 { margin: 0 0 1rem; color: #fffdf5; font: 500 clamp(2rem, 3.7vw, 3.7rem)/1.16 Georgia, "Noto Serif TC", serif; }
.weight-oral-copy > span { display: block; color: #dce8dd; font-size: 1.04rem; line-height: 1.88; }
.weight-oral-cards { display: grid; gap: 1rem; }
.weight-oral-cards article { padding: 1.55rem 1.5rem; border: 1px solid rgba(240, 245, 234, .3); background: rgba(255, 255, 255, .06); }
.weight-oral-cards p { margin: 0 0 .5rem; color: #dbb575; font-size: .72rem; font-weight: 750; letter-spacing: .14em; }
.weight-oral-cards h4 { margin: 0 0 1rem; color: #fffdf5; font: 500 1.55rem/1.25 Georgia, "Noto Serif TC", serif; }
.weight-oral-cards strong { display: block; margin-bottom: .72rem; color: #edf3e9; font-size: .95rem; line-height: 1.58; }
.weight-oral-cards span { display: block; color: #d4e1d5; font-size: .92rem; line-height: 1.72; }
.weight-label-notes { margin-top: 3.5rem; padding: clamp(2.5rem, 5vw, 5rem); background: #edf2e8; }
.weight-label-notes > header { max-width: 40rem; }
.weight-label-notes > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border-top: 1px solid #bfd0c1; }
.weight-label-notes article { padding: 1.75rem 2rem 0 0; }
.weight-label-notes article + article { padding-left: 2rem; border-left: 1px solid #bfd0c1; }
.weight-label-notes h4 { margin: 0 0 .8rem; color: #1d503d; font: 500 1.38rem/1.35 Georgia, "Noto Serif TC", serif; }
.weight-label-notes article p { margin: 0; color: #536a5f; line-height: 1.82; }
.weight-label-notes footer { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: 2.6rem; padding-top: 1.25rem; border-top: 1px solid #bfd0c1; }
.weight-label-notes footer a { color: #35634e; font-size: .84rem; font-weight: 700; line-height: 1.65; text-underline-offset: .25rem; }
@media (max-width: 780px) {
  .weight-glp-guide > header { padding-top: 2.5rem; }
  .weight-glp-pillars, .weight-oral-reference, .weight-label-notes > div { grid-template-columns: 1fr; }
  .weight-glp-pillars article { min-height: 0; padding: 1.65rem 1.45rem; }
  .weight-glp-pillars article + article { border-top: 1px solid #c8d8cc; border-left: 0; }
  .weight-oral-reference, .weight-label-notes { padding: 2.25rem 1.45rem; }
  .weight-label-notes article { padding: 1.45rem 0 0; }
  .weight-label-notes article + article { margin-top: 1.45rem; padding-left: 0; border-top: 1px solid #bfd0c1; border-left: 0; }
}

/* The company narrative now belongs to the home page. */
.company-home-section {
  margin-top: clamp(3.5rem, 8vw, 8rem);
  border-top: 1px solid rgba(26, 73, 56, .15);
  scroll-margin-top: 7rem;
}
.company-home-section > header {
  max-width: 74rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 7% clamp(2rem, 4vw, 3.5rem);
}
.company-home-section > header p {
  margin: 0 0 1rem;
  color: #9d7040;
  font-size: .78rem !important;
  font-weight: 700;
  letter-spacing: .14em;
}
.company-home-section > header h2 {
  margin: 0 0 1rem;
  color: #173e32;
  font-family: Georgia, "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  font-weight: 500;
  line-height: 1.16;
}
.company-home-section > header span {
  display: block;
  max-width: 42rem;
  color: #53695f;
  font-size: 1.08rem;
  line-height: 1.85;
}
.company-home-section .company-body { padding-top: clamp(2rem, 4vw, 4rem); }

/* Concise homepage company story. */
.brand-home-overview { background: #fbfcf8; scroll-margin-top: 7rem; }
.brand-home-heading { max-width: 70rem; margin: 0 auto; padding: clamp(4.5rem, 9vw, 9rem) 7% clamp(2.5rem, 5vw, 4rem); }
.brand-home-heading > p, .brand-home-product > div > p { margin: 0 0 1rem; color: #9b7040; font-size: .78rem !important; font-weight: 700; letter-spacing: .15em; }
.brand-home-heading h2, .brand-home-product h2 { max-width: 16ch; margin: 0 0 1.2rem; color: #173e32; font-family: Georgia, "Noto Serif TC", "Songti TC", serif; font-size: clamp(2.4rem, 4.5vw, 4.8rem); font-weight: 500; line-height: 1.15; }
.brand-home-heading > span, .brand-home-product > div > span { display: block; max-width: 45rem; color: #52695e; font-size: 1.1rem; line-height: 1.9; }
.brand-home-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 86rem; margin: 0 auto; padding: 0 7% clamp(5rem, 9vw, 9rem); }
.brand-home-principles article { min-height: 15rem; padding: 2rem 2.2rem 2rem 0; border-top: 1px solid #c9d8ce; }
.brand-home-principles article + article { padding-left: 2.2rem; border-left: 1px solid #c9d8ce; }
.brand-home-principles b { color: #a6753e; font: 500 1rem Georgia, serif; }
.brand-home-principles h3 { margin: 1.4rem 0 .65rem; color: #173e32; font: 500 1.65rem/1.3 Georgia, "Noto Serif TC", serif; }
.brand-home-principles p { max-width: 22rem; margin: 0; color: #5b7066; line-height: 1.8; }
.brand-home-product { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); padding: clamp(4rem, 8vw, 8rem) 7%; background: linear-gradient(120deg, #edf3e8, #f9f6ed); }
.brand-home-product > div { max-width: 35rem; }
.brand-home-product h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.brand-home-product a { display: inline-flex; gap: 1rem; margin-top: 2rem; color: #1b533e; font-weight: 750; text-decoration: none; }
.brand-home-product a b { font-size: 1.25rem; }
.brand-home-product-board { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(15rem, .88fr); width: min(100%, 48rem); justify-self: end; background: #fff; box-shadow: 0 24px 65px rgba(26, 67, 48, .13); }
.brand-home-product figure { margin: 0; background: #d9eff0; }
.brand-home-product figure img { display: block; width: 100%; height: 100%; min-height: 24rem; object-fit: cover; object-position: center; }
.brand-home-product figcaption { padding: 1rem 1.2rem; color: #61776c; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.brand-home-product-board aside { padding: 1.7rem 1.5rem; border-left: 1px solid #d4e0d8; }
.brand-home-product-board aside > p { margin: 0 0 1rem; color: #1c4c3c; font-size: .9rem !important; font-weight: 750; }
.brand-home-product-board aside h3 { margin: 0 0 1rem; color: #173e32; font: 500 clamp(1.6rem, 2.4vw, 2.3rem)/1.16 Georgia, "Noto Serif TC", serif; }
.brand-home-product-board aside span { display: block; color: #587064; font-size: .92rem; line-height: 1.75; }
.brand-home-product-board aside a { display: inline-block; margin-top: 1.3rem; color: #9a6c3d; font-size: .86rem; font-weight: 750; text-decoration: none; }
@media (max-width: 700px) {
  .academy-home-card img {
    display: block !important;
    width: min(100%, 12rem) !important;
    max-width: 12rem !important;
    height: auto !important;
    margin: 1.25rem auto 0 !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .company-home-section > header { padding-inline: 6%; }
  .brand-home-heading { padding-inline: 6%; }
  .brand-home-principles { grid-template-columns: 1fr; padding-inline: 6%; }
  .brand-home-principles article, .brand-home-principles article + article { min-height: 0; padding: 1.7rem 0; border-left: 0; }
  .brand-home-product { grid-template-columns: 1fr; gap: 2.5rem; padding-inline: 6%; }
  .brand-home-product-board { grid-template-columns: 1fr; justify-self: stretch; width: 100%; }
  .brand-home-product figure img { min-height: 0; height: auto; object-fit: contain; }
  .brand-home-product-board aside { border-top: 1px solid #d4e0d8; border-left: 0; }
}

/* The evidence cover must remain whole on a narrow phone screen. */
@media (max-width: 700px) {
  body[data-refinement] .page-view[data-page="science"] .science-hero .exhibit-journal {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: min(100%, 34rem) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 1.5rem auto 3rem !important;
    transform: none !important;
  }
  body[data-refinement] .page-view[data-page="science"] .science-hero .exhibit-journal .exhibit-crop-evidence {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }
  body[data-refinement] .page-view[data-page="science"] .science-hero .exhibit-journal img {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
  }
}

/* Global commercial pass: one visual voice, clear actions and direct partnership paths. */
body[data-refinement] .commercial-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-top: 2rem;
}
body[data-refinement] .commercial-action {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 3rem;
  padding: .78rem 1.05rem;
  border: 1px solid #1c503d;
  color: #1b4d3b;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
body[data-refinement] .commercial-action:hover { transform: translateY(-2px); }
body[data-refinement] .commercial-action.primary { background: #1b4d3b; color: #fffdf7; }
body[data-refinement] .commercial-action.primary:hover { background: #123e2e; }
body[data-refinement] .commercial-action.secondary { background: rgba(255,255,255,.58); }
body[data-refinement] .commercial-action b { font-size: 1.1rem; line-height: 1; }

body[data-refinement] [data-page="diabetes"] .db-page-hero h1,
body[data-refinement] [data-page="weight"] .db-page-hero h1,
body[data-refinement] [data-page="science"] .science-hero h1,
body[data-refinement] [data-page="genetics"] .genetics-hero h1,
body[data-refinement] [data-page="partners"] .partners-hero h1,
body[data-refinement] [data-page="academy"] .academy-hero h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.85rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em;
}
body[data-refinement] [data-page="diabetes"] .db-page-hero .lang-en h1,
body[data-refinement] [data-page="weight"] .db-page-hero .lang-en h1,
body[data-refinement] [data-page="science"] .science-hero .lang-en h1,
body[data-refinement] [data-page="genetics"] .genetics-hero .lang-en h1,
body[data-refinement] [data-page="partners"] .partners-hero .lang-en h1,
body[data-refinement] [data-page="academy"] .academy-hero .lang-en h1 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 4.2vw, 4.5rem) !important;
  letter-spacing: -.055em;
}
body[data-refinement] [data-page="weight"] .db-page-hero > img {
  object-fit: cover !important;
  object-position: 60% center !important;
}
body[data-refinement] [data-page="science"] .science-hero .exhibit-journal img {
  object-fit: cover !important;
  object-position: center !important;
}

body[data-refinement] .product-commercial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
  margin-top: 2rem;
}
body[data-refinement] .product-commercial-actions a {
  margin-top: 0;
}
body[data-refinement] .product-commercial-actions .secondary {
  color: #9a6c3d;
}

body[data-refinement] .partner-commercial-hub {
  padding: clamp(4.5rem, 9vw, 8rem) max(6vw, calc((100vw - 1280px) / 2));
  background: #f6f5ee;
  border-top: 1px solid #d8e0d3;
  border-bottom: 1px solid #d8e0d3;
}
body[data-refinement] .partner-commercial-hub > header {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
body[data-refinement] .partner-commercial-hub > header > p,
body[data-refinement] .partner-commercial-grid article > p {
  margin: 0 0 .9rem;
  color: #9a6c3d;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}
body[data-refinement] .partner-commercial-hub h2 {
  margin: 0 0 1rem;
  color: #173f31;
  font: 500 clamp(2.2rem, 4vw, 4.5rem)/1.1 Georgia, "Noto Serif TC", "Songti TC", serif;
  letter-spacing: -.04em;
}
body[data-refinement] .partner-commercial-hub > header > span {
  display: block;
  color: #4f695d;
  font-size: 1.07rem;
  line-height: 1.9;
}
body[data-refinement] .partner-commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cbd8c9;
  border-bottom: 1px solid #cbd8c9;
}
body[data-refinement] .partner-commercial-grid article {
  display: flex;
  flex-direction: column;
  min-height: 28rem;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.8rem);
  background: rgba(255,255,255,.46);
}
body[data-refinement] .partner-commercial-grid article:nth-child(2) { background: #eaf2e8; }
body[data-refinement] .partner-commercial-grid article:nth-child(3) { background: #f5ede2; }
body[data-refinement] .partner-commercial-grid article + article { border-left: 1px solid #cbd8c9; }
body[data-refinement] .partner-commercial-grid h3 {
  margin: 0 0 1rem;
  color: #174635;
  font: 500 clamp(1.7rem, 2.4vw, 2.55rem)/1.18 Georgia, "Noto Serif TC", "Songti TC", serif;
  letter-spacing: -.025em;
}
body[data-refinement] .partner-commercial-grid article > span {
  display: block;
  color: #526b5e;
  line-height: 1.85;
}
body[data-refinement] .partner-commercial-grid a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: auto;
  padding-top: 2.2rem;
  color: #1b513d;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}
body[data-refinement] .partner-commercial-grid a b { font-size: 1.15rem; }

@media (max-width: 800px) {
  body[data-refinement] .commercial-hero-actions { margin-top: 1.5rem; }
  body[data-refinement] .commercial-action { width: 100%; justify-content: space-between; }
  body[data-refinement] .product-commercial-actions { display: grid; }
  body[data-refinement] .partner-commercial-hub { padding: 4rem 6%; }
  body[data-refinement] .partner-commercial-grid { grid-template-columns: 1fr; }
  body[data-refinement] .partner-commercial-grid article { min-height: 0; }
  body[data-refinement] .partner-commercial-grid article + article { border-top: 1px solid #cbd8c9; border-left: 0; }
  body[data-refinement] .partner-commercial-grid a { margin-top: 2rem; padding-top: 0; }
}
@media (max-width: 800px) {
  body[data-refinement] [data-page="partners"] .commercial-hero-actions .commercial-action {
    width: auto;
    max-width: 16rem;
    justify-content: space-between;
  }
}
/* Some legacy hero rules made every anchor full width; commercial actions remain compact by design. */
body[data-refinement] .commercial-hero-actions .commercial-action {
  width: auto !important;
  flex: 0 0 auto;
}
@media (max-width: 800px) {
  body[data-refinement] .commercial-hero-actions { max-width: calc(100% - 10rem); }
}
/* AI care now uses the same hero rhythm as the other primary destinations. */
body[data-refinement] [data-page="ai-care"] .chapter-heading {
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7rem) 6% 0;
}
body[data-refinement] [data-page="ai-care"] .chapter-heading h2 {
  margin: 0;
  color: #173f31;
  font: 500 clamp(2.5rem, 4.4vw, 4.85rem)/1.1 Georgia, "Noto Serif TC", "Songti TC", serif;
  letter-spacing: -.04em;
}
body[data-refinement] .ai-commercial-hero {
  max-width: 54rem;
  margin: 0 auto;
  padding: 1.5rem 6% 3rem;
}
body[data-refinement] .ai-commercial-hero > p {
  margin: 0 0 .8rem;
  color: #9a6c3d;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
}
body[data-refinement] .ai-commercial-hero > span {
  display: block;
  max-width: 42rem;
  color: #4e675b;
  font-size: 1.07rem;
  line-height: 1.85;
}
/* Genomics gets a single decision-oriented service hub after its hero. */
body[data-refinement] .genomics-commercial-hub {
  padding: clamp(4.5rem, 9vw, 8rem) max(6vw, calc((100vw - 1280px) / 2));
  background: #f5f7f3;
  border-top: 1px solid #d6dfd6;
  border-bottom: 1px solid #d6dfd6;
}
body[data-refinement] .genomics-commercial-hub > header { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
body[data-refinement] .genomics-commercial-hub header > p,
body[data-refinement] .genomics-commercial-grid p { margin: 0 0 .85rem; color: #9a6c3d; font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
body[data-refinement] .genomics-commercial-hub h2 { margin: 0 0 1rem; color: #173f31; font: 500 clamp(2.2rem, 4vw, 4.4rem)/1.1 Georgia, "Noto Serif TC", "Songti TC", serif; letter-spacing: -.04em; }
body[data-refinement] .genomics-commercial-hub > header > span { display: block; color: #526b5e; font-size: 1.07rem; line-height: 1.9; }
body[data-refinement] .genomics-commercial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cbd8c9; border-bottom: 1px solid #cbd8c9; }
body[data-refinement] .genomics-commercial-grid a { display: flex; min-height: 25rem; flex-direction: column; padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.8rem); background: rgba(255,255,255,.52); color: inherit; text-decoration: none; }
body[data-refinement] .genomics-commercial-grid a:nth-child(2) { background: #ebf2e8; }
body[data-refinement] .genomics-commercial-grid a:nth-child(3) { background: #f5ede2; }
body[data-refinement] .genomics-commercial-grid a + a { border-left: 1px solid #cbd8c9; }
body[data-refinement] .genomics-commercial-grid h3 { margin: 0 0 1rem; color: #174635; font: 500 clamp(1.6rem, 2.4vw, 2.45rem)/1.18 Georgia, "Noto Serif TC", "Songti TC", serif; letter-spacing: -.025em; }
body[data-refinement] .genomics-commercial-grid a > span { display:block; color:#526b5e; line-height:1.85; }
body[data-refinement] .genomics-commercial-grid b { margin-top:auto; padding-top:2.1rem; color:#1b513d; font-size:1.15rem; }
body[data-refinement] .genomics-commercial-close { display:flex; align-items:end; justify-content:space-between; gap:3rem; padding:clamp(4rem, 8vw, 7rem) max(6vw, calc((100vw - 1280px) / 2)); background:#173f31; color:#f7f4ed; }
body[data-refinement] .genomics-commercial-close > div { max-width:48rem; }
body[data-refinement] .genomics-commercial-close p { margin:0 0 1rem; color:#d8ad74; font-size:.75rem; font-weight:800; letter-spacing:.14em; }
body[data-refinement] .genomics-commercial-close h2 { margin:0 0 1.25rem; color:#fffdf7; font:500 clamp(2.2rem, 4.2vw, 4.6rem)/1.08 Georgia, "Noto Serif TC", "Songti TC", serif; letter-spacing:-.04em; }
body[data-refinement] .genomics-commercial-close > div > span { display:block; max-width:42rem; color:#d9e2d8; font-size:1.05rem; line-height:1.9; }
body[data-refinement] .genomics-commercial-close .commercial-action { margin:0; flex:0 0 auto; white-space:nowrap; }
@media (max-width:800px) {
  body[data-refinement] .genomics-commercial-hub { padding:4rem 6%; }
  body[data-refinement] .genomics-commercial-grid { grid-template-columns:1fr; }
  body[data-refinement] .genomics-commercial-grid a { min-height:0; }
  body[data-refinement] .genomics-commercial-grid a + a { border-top:1px solid #cbd8c9; border-left:0; }
  body[data-refinement] .genomics-commercial-grid b { margin-top:1.5rem; padding-top:0; }
  body[data-refinement] .genomics-commercial-close { align-items:flex-start; flex-direction:column; gap:2rem; padding:4rem 6%; }
}

/* Mobile containment repair: keep every care-page surface within the viewport. */
@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  body[data-refinement] .site-header,
  body[data-refinement] .page-view,
  body[data-refinement] .care-page,
  body[data-refinement] .care-inner,
  body[data-refinement] [data-page="ai-care"] .ai-care-top,
  body[data-refinement] [data-page="ai-care"] .ai-commercial-hero,
  body[data-refinement] [data-page="ai-care"] .ai-care-intro,
  body[data-refinement] [data-page="ai-care"] .ai-care-features,
  body[data-refinement] [data-page="ai-care"] .ai-care-local,
  body[data-refinement] [data-page="ai-care"] .ai-care-markets,
  body[data-refinement] [data-page="ai-care"] .ai-care-onboarding,
  body[data-refinement] [data-page="ai-care"] .ai-care-evidence,
  body[data-refinement] [data-page="ai-care"] .journey-line,
  body[data-refinement] [data-page="ai-care"] .photo-pair {
    min-width: 0;
    max-width: 100%;
  }
  body[data-refinement] [data-page="ai-care"] .care-inner {
    width: 100%;
    padding-inline: 6%;
  }
  body[data-refinement] [data-page="ai-care"] :is(h1, h2, h3, h4, p, span, a) {
    overflow-wrap: anywhere;
  }
  body[data-refinement] .site-header .page-nav {
    max-width: 100%;
    overscroll-behavior-inline: contain;
  }
  body[data-refinement] .floating-contact {
    right: max(1rem, env(safe-area-inset-right));
    left: auto;
    max-width: calc(100vw - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right));
  }
}

/* AI care mobile editorial grid: the six service cards and 180-day timeline share one safe edge. */
@media (max-width: 760px) {
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-features,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .food-heading,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .food-ratio,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-review-title,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-timeline,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-timeline + .small-note,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-onboarding,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > details,
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .chapter-link {
    box-sizing: border-box;
    width: 100%;
    padding-inline: 6%;
  }
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-features article {
    padding-inline: 0;
  }
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-timeline {
    padding-left: calc(6% + 9px);
    padding-right: 6%;
  }
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .ai-care-timeline + .small-note {
    margin-top: 0;
  }
  body[data-refinement] [data-page="ai-care"] .chapter-inner > .chapter-link {
    display: inline-flex;
    width: auto;
    margin-left: 6%;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
