/* DentaBiome story bridge, version 2 */
:root {
  --ink: #172331;
  --muted: #56616a;
  --blue: #155984;
  --blue-dark: #0b3f69;
  --blue-soft: #eaf3f8;
  --orange: #f2a11d;
  --yellow: #ffd737;
  --yellow-hover: #ffe266;
  --line: #d7e0e5;
  --white: #ffffff;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f4f7f9;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  color: white;
  padding: .7rem 1rem;
}
.skip-link:focus { left: .75rem; top: .75rem; }

.page {
  width: min(1040px, 100%);
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 44px rgba(32, 57, 72, .08);
}

.hero {
  padding: clamp(2.6rem, 6vw, 5rem) clamp(1.2rem, 5vw, 4.2rem) 2.8rem;
  text-align: center;
}
.kicker {
  margin: 0 0 .8rem;
  color: var(--orange);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--blue-dark);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.subtitle {
  max-width: 880px;
  margin: 1.2rem auto 1rem;
  color: #344752;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 650;
  line-height: 1.46;
  text-wrap: pretty;
}
.story-image {
  width: min(470px, 86vw);
  margin: 0;
  border-radius: 2px;
  box-shadow: 0 18px 45px rgba(19, 47, 64, .16);
}
.story {
  padding: 1.5rem clamp(1.2rem, 6vw, 4.8rem) 5rem;
}
.story p {
  margin: 0 0 1.35rem;
}
.story strong { font-weight: 850; }
.opening {
  margin-top: 1.5rem !important;
  font-size: clamp(1.28rem, 2.3vw, 1.65rem);
  font-weight: 800;
}

.section-title {
  margin: 3.5rem 0 1.6rem;
  border-left: 5px solid var(--orange);
  padding: .15rem 0 .15rem 1rem;
  color: var(--blue-dark);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 850;
  line-height: 1.18;
  text-align: left;
  text-wrap: balance;
}

.inline-image {
  width: 100%;
  margin: 0;
  border-radius: 2px;
  box-shadow: 0 16px 38px rgba(19, 47, 64, .14);
}

.image-link {
  position: relative;
  display: block;
  overflow: hidden;
  color: white;
  text-decoration: none;
}
.story-image-link {
  width: min(470px, 86vw);
  margin: 1rem auto 0;
}
.inline-image-link {
  width: min(450px, 88vw);
  margin: 2.4rem auto 2.7rem;
}
.image-link-label {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(8, 30, 49, .88);
  padding: .42rem .72rem;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  transition: background .16s ease, transform .16s ease;
}
.image-link:hover .image-link-label,
.image-link:focus-visible .image-link-label {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.emphasis {
  margin: 2.4rem 0 !important;
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  padding: 1.35rem .4rem;
  color: var(--blue-dark);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 850;
  line-height: 1.4;
  text-align: center;
}

.cta-wrap {
  margin: 2.7rem auto;
  text-align: center;
}
.cta {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  width: min(850px, 100%);
  margin: 0 auto;
  border: 2px solid #e6bb11;
  border-radius: 8px;
  background: var(--yellow);
  padding: 1rem 1.2rem;
  color: #172331;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(170, 124, 0, .17);
  transition: transform .16s ease, background .16s ease;
}
.cta:hover { background: var(--yellow-hover); transform: translateY(-2px); }
.cta:focus-visible, a:focus-visible { outline: 4px solid #ffb33b; outline-offset: 4px; }

.chevrons {
  display: grid;
  justify-content: center;
  gap: 2px;
  margin: 2rem 0 1.3rem;
}
.chevrons span {
  display: block;
  width: 45px;
  height: 45px;
  border-right: 10px solid var(--orange);
  border-bottom: 10px solid var(--orange);
  transform: rotate(45deg);
}

.final-block {
  margin: 4rem calc(clamp(1.2rem, 6vw, 4.8rem) * -1) -5rem;
  background: var(--blue-dark);
  padding: clamp(3.3rem, 7vw, 5rem) clamp(1.2rem, 6vw, 4.8rem);
  color: white;
  text-align: center;
}
.final-block h2 {
  margin: 0 auto .9rem;
  color: white;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.final-block p { max-width: 760px; margin: 0 auto 1.7rem; color: #dceaf1; }

.floating-cta {
  position: fixed;
  z-index: 30;
  right: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  background: var(--orange);
  padding: .8rem 1.05rem;
  color: #172331;
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}


.site-footer {
  background: #081e31;
  color: #b9c7d0;
  font-size: .66rem;
  line-height: 1.55;
}
.footer-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 5vw, 3rem) 2.4rem;
}
.footer-brand {
  margin: 0;
  color: white;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem 1.2rem;
  margin: .8rem 0 1.5rem;
}
.footer-links a {
  color: white;
  font-weight: 700;
  text-underline-offset: 3px;
}
.footer-notices {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 1.3rem;
  text-align: left;
}
.footer-notices h2 {
  margin: 1rem 0 .3rem;
  color: white;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-notices p { margin: 0 0 .72rem; }
.footer-notices p:last-child { margin-bottom: 0; }
.footer-notices strong { color: white; }

@media (max-width: 680px) {
  body { background: white; font-size: 18px; padding-bottom: 66px; }
  .page { box-shadow: none; }
  .hero { padding-inline: 1rem; }
  h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .subtitle { font-size: 1rem; }
  .story { padding-inline: 1rem; }
  .section-title { padding-left: .8rem; }
  .final-block { margin-inline: -1rem; padding-inline: 1rem; }
  .floating-cta {
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    padding-bottom: calc(.8rem + env(safe-area-inset-bottom));
    font-size: .9rem;
  }
}

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