/* DBC / BIOTEN V7.1.0
 * Page-family narrative, evidence and responsive refinement layer.
 * Homepage composition remains governed by the locked V7.0.16 styles.
 */

html[data-v710-release="page-family-closure-v7.1.0"] {
  --v710-ink: #102b3c;
  --v710-muted: #526a77;
  --v710-line: rgba(20, 63, 82, .14);
  --v710-paper: #f7faf9;
  --v710-accent: #167d78;
  --v710-accent-rgb: 22, 125, 120;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body[data-v710-family="group"] {
  --v710-accent: #176fa4;
  --v710-accent-rgb: 23, 111, 164;
}

body[data-v710-family="bioten"] {
  --v710-accent: #168f82;
  --v710-accent-rgb: 22, 143, 130;
}

body[data-v710-family="packaging"] {
  --v710-accent: #527c54;
  --v710-accent-rgb: 82, 124, 84;
}

body[data-v710-family="developer"] {
  --v710-accent: #118c67;
  --v710-accent-rgb: 17, 140, 103;
}

body[data-v710-family="evidence"] {
  --v710-accent: #087e8b;
  --v710-accent-rgb: 8, 126, 139;
}

body[data-v710-family="news"] {
  --v710-accent: #1675b8;
  --v710-accent-rgb: 22, 117, 184;
}

body[data-v710-family="conversion"] {
  --v710-accent: #0d8777;
  --v710-accent-rgb: 13, 135, 119;
}

body[data-v710-family]:not([data-v710-family="home"]) main {
  isolation: isolate;
}

body[data-v710-family]:not([data-v710-family="home"]) main :is(h1, h2, h3) {
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

body[data-v710-family]:not([data-v710-family="home"]) main :is(p, li, dd) {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

body[data-v710-family]:not([data-v710-family="home"]) main > section,
body[data-v710-family]:not([data-v710-family="home"]) main [id] {
  scroll-margin-top: 96px;
}

/* Page-family scope and evidence modules */
.v710-scope-note,
.v710-news-evidence-note,
.v710-route-status {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: clamp(38px, 5vw, 72px) auto;
  border: 1px solid rgba(var(--v710-accent-rgb), .2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--v710-accent-rgb), .11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(244, 249, 248, .96));
  box-shadow: 0 24px 58px rgba(19, 55, 70, .09);
  color: var(--v710-ink);
  overflow: hidden;
}

.v710-scope-note::before,
.v710-news-evidence-note::before,
.v710-route-status::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--v710-accent), rgba(var(--v710-accent-rgb), .28));
}

.v710-scope-note,
.v710-route-status {
  display: grid;
  grid-template-columns: minmax(210px, .78fr) minmax(0, 1.45fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
}

.v710-scope-note__label,
.v710-news-evidence-note__eyebrow,
.v710-route-status__label {
  display: block;
  margin: 0 0 12px;
  color: var(--v710-accent);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.v710-scope-note h2,
.v710-news-evidence-note h2,
.v710-route-status strong {
  display: block;
  margin: 0;
  color: var(--v710-ink);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 660;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.v710-scope-note__body > p,
.v710-route-status__body > p,
.v710-news-evidence-note__copy > p {
  margin: 0;
  color: var(--v710-muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.82;
}

.v710-scope-note__body ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.v710-scope-note__body li {
  position: relative;
  padding-left: 18px;
  color: #334f5f;
  font-size: 14px;
  line-height: 1.65;
}

.v710-scope-note__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v710-accent);
  box-shadow: 0 0 0 4px rgba(var(--v710-accent-rgb), .1);
}

.v710-news-evidence-note {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(30px, 4.5vw, 58px);
}

.v710-news-evidence-note__copy {
  display: grid;
  gap: 16px;
}

.v710-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.v710-note-actions a,
.v710-route-status a,
.v710-faq-more {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(var(--v710-accent-rgb), .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: var(--v710-accent);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.v710-note-actions a:first-child,
.v710-route-status a {
  border-color: transparent;
  background: var(--v710-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(var(--v710-accent-rgb), .2);
}

.v710-note-actions a:hover,
.v710-route-status a:hover,
.v710-faq-more:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--v710-accent-rgb), .48);
  box-shadow: 0 12px 26px rgba(var(--v710-accent-rgb), .14);
}

.v710-route-status {
  margin-top: clamp(24px, 4vw, 44px);
}

.v710-route-status strong {
  font-size: clamp(21px, 2vw, 31px);
}

.v710-route-status__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 28px;
  align-items: center;
}

.v710-route-status__body p {
  grid-column: 1 / -1;
}

.v710-faq-more-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

/* Reading density and interaction quality */
body[data-v710-family]:not([data-v710-family="home"]) :is(
  .v500-actions a,
  .v520-action,
  .v520-hero__actions a,
  .dv2-action,
  .formal-button,
  .button,
  .news-card a,
  .v450-news-card a,
  .knowledge-topic-card a,
  .entry-card a,
  .knowledge-feature a,
  .v281-decision__action
) {
  min-height: 42px;
}

body[data-v710-family]:not([data-v710-family="home"]) :is(
  .v500-route__copy p,
  .v520-route__copy p,
  .v520-application-card p,
  .v520-pkg-route p,
  .dv21-problem-grid p,
  .dv21-deep-links p,
  .knowledge-topic-card p,
  .knowledge-feature p,
  .entry-card p,
  .faq-card p
) {
  color: #506875;
  line-height: 1.72;
}

body[data-v710-family="news"] .news-article-content > p,
body[data-v710-family="news"] .news-article-body > p,
body[data-v710-family="news"] .news-article__body > p {
  color: #314b5b;
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.9;
}

body[data-v710-family="evidence"] :is(.knowledge-lead, .page-section > p) {
  max-width: 850px;
  color: #455f6d;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
}

body[data-v710-family]:not([data-v710-family="home"]) :is(.site-header, .formal-site-footer) a:focus-visible,
.v710-note-actions a:focus-visible,
.v710-route-status a:focus-visible,
.v710-faq-more:focus-visible {
  outline: 3px solid rgba(var(--v710-accent-rgb), .35);
  outline-offset: 3px;
}

/* Motion must never hide information when the user requests less animation. */
@media (prefers-reduced-motion: reduce) {
  body[data-v710-family] [class*="reveal"],
  body[data-v710-family] [data-v270-reveal],
  body[data-v710-family] [data-reveal] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .v710-note-actions a,
  .v710-route-status a,
  .v710-faq-more {
    transition: none;
  }
}

@media (max-width: 760px) {
  .v710-scope-note,
  .v710-news-evidence-note,
  .v710-route-status {
    width: min(100% - 28px, 680px);
    margin-block: 32px;
    border-radius: 18px;
  }

  .v710-scope-note,
  .v710-news-evidence-note,
  .v710-route-status {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px 24px 25px;
  }

  .v710-scope-note h2,
  .v710-news-evidence-note h2,
  .v710-route-status strong {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.2;
  }

  .v710-route-status__body {
    grid-template-columns: 1fr;
  }

  .v710-route-status__body p {
    grid-column: auto;
  }

  .v710-note-actions,
  .v710-faq-more-wrap {
    justify-content: stretch;
  }

  .v710-note-actions a,
  .v710-route-status a,
  .v710-faq-more {
    min-height: 44px;
  }

  .v710-note-actions a {
    flex: 1 1 145px;
  }

  .v710-route-status a,
  .v710-faq-more {
    width: 100%;
  }

  body[data-v710-family]:not([data-v710-family="home"]) :is(
    .v500-actions a,
    .v520-action,
    .v520-hero__actions a,
    .dv2-action,
    .formal-button,
    .button,
    .news-card a,
    .v450-news-card a,
    .knowledge-topic-card a,
    .entry-card a,
    .knowledge-feature a,
    .v281-decision__action
  ) {
    min-height: 44px;
  }

  html[data-v710-release] body[class][class][class][class][class][class][class][data-v710-family][data-v710-level]:not([data-v710-family="home"])
    footer.formal-site-footer.formal-site-footer .footer-column.footer-column a,
  html[data-v710-release] body[class][class][class][class][class][class][class][data-v710-family][data-v710-level]:not([data-v710-family="home"])
    footer.formal-site-footer.formal-site-footer .footer-legal.footer-legal a {
    display: inline-flex !important;
    min-height: 40px !important;
    align-items: center !important;
    padding-block: 7px !important;
  }

  /* Compact text links still need a dependable touch target on phones. */
  body[data-v710-family]:not([data-v710-family="home"]) :is(
    .v500-route__copy a,
    .brand510-story__copy a,
    .v410-newsroom-return
  ) {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding-block: 8px;
  }

  body[data-v710-family]:not([data-v710-family="home"]) .v430-article-toc a {
    min-height: 40px;
    align-items: center;
    padding-block: 7px;
  }

  body[data-v710-family]:not([data-v710-family="home"]) :is(
    .v410-article-breadcrumb a,
    .dv2-breadcrumb a,
    .privacy-consent a
  ) {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding-block: 7px;
  }

  /* Homepage is composition-locked; only touch ergonomics are refined here. */
  body[data-v710-family="home"] :is(
    .v704-bioten__cta,
    .v715-news-card__links a
  ) {
    display: inline-flex !important;
    min-height: 40px !important;
    align-items: center !important;
  }

  body[data-v710-family="home"] .v715-news-card__links a {
    padding: 7px 2px;
  }

  html[data-v710-release] body[data-v710-family="home"].home-v716.home-v716
    footer.v410-home-footer.v410-home-footer :is(
    .v410-home-footer__official a,
    .v570-footer-group__links a,
    .v410-home-footer__legal a
  ) {
    display: inline-flex !important;
    min-height: 40px !important;
    align-items: center !important;
    padding-block: 7px !important;
  }

  body[data-v710-family]:not([data-v710-family="home"]) :is(
    .v500-route__copy p,
    .v520-route__copy p,
    .v520-application-card p,
    .v520-pkg-route p,
    .dv21-problem-grid p,
    .dv21-deep-links p,
    .knowledge-topic-card p,
    .knowledge-feature p,
    .entry-card p,
    .faq-card p
  ) {
    font-size: 14px;
    line-height: 1.72;
  }
}

@media (max-width: 390px) {
  .v710-scope-note,
  .v710-news-evidence-note,
  .v710-route-status {
    width: calc(100% - 20px);
    padding-inline: 19px 17px;
  }
}
