:root {
  --fo-blue: #007c8a;
  --fo-blue-deep: #00315f;
  --fo-blue-light: #edf6f8;
  --fo-ink: #0c2b52;
  --fo-muted: #5e7188;
  --fo-line: #d9e8ee;
  --fo-orange: #ff6b2c;
}

.fo-product-page {
  background: #fff;
  color: var(--fo-ink);
}

.fo-product-main {
  overflow: clip;
}

.fo-product-hero {
  position: relative;
  padding: 52px 0 76px;
  background: linear-gradient(180deg, #fff 0%, #f3fafc 100%);
  border-bottom: 1px solid var(--fo-line);
}

.fo-product-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 124, 138, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

.fo-product-breadcrumbs,
.fo-product-hero-grid {
  position: relative;
  z-index: 1;
}

.fo-product-breadcrumbs {
  margin-bottom: 42px;
}

.fo-product-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--fo-muted);
  font-size: .83rem;
  font-weight: 700;
  list-style: none;
}

.fo-product-breadcrumbs li + li::before {
  margin-right: 8px;
  color: #9aafbd;
  content: "/";
}

.fo-product-breadcrumbs a {
  color: var(--fo-blue);
}

.fo-product-hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, .88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 4vw, 64px);
}

.fo-product-page--patient .fo-product-hero-grid {
  grid-template-columns: minmax(470px, .98fr) minmax(520px, 1.02fr);
  gap: clamp(32px, 3vw, 48px);
}

.fo-product-label,
.fo-section-label {
  margin: 0 0 14px;
  color: var(--fo-orange);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.fo-product-hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--fo-ink);
  font-size: clamp(2.45rem, 4vw, 4.35rem);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.fo-product-page--patient .fo-product-hero-copy h1 {
  max-width: 590px;
  font-size: clamp(2.5rem, 4.25vw, 4.35rem);
  text-wrap: balance;
}

.fo-product-headline {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--fo-blue);
  font-size: clamp(1.2rem, 1.05rem + .45vw, 1.55rem);
  font-weight: 800;
  line-height: 1.28;
}

.fo-product-intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: #345572;
  font-size: clamp(1rem, .96rem + .24vw, 1.16rem);
  line-height: 1.65;
}

.fo-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fo-product-actions .btn {
  min-height: 48px;
}

.fo-workflow-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--fo-flow-count, 3), minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  min-height: 276px;
  padding: 26px 20px;
  border: 1px solid rgba(179, 211, 224, .8);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 42px rgba(0, 43, 92, .12), inset 0 1px 0 rgba(255, 255, 255, .92);
}

.fo-workflow-visual::before {
  position: absolute;
  top: 50%;
  right: 9%;
  left: 9%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 124, 138, .15), rgba(0, 124, 138, .75), rgba(0, 124, 138, .15));
  content: "";
}

.fo-workflow-node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 48px minmax(34px, 1fr);
  justify-items: center;
  gap: 12px;
  min-height: 142px;
  padding: 16px 12px;
  color: var(--fo-muted);
  border: 1px solid var(--fo-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 43, 92, .08);
  text-align: center;
}

.fo-workflow-node strong {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fo-ink);
  font-size: .84rem;
  line-height: 1.2;
  overflow-wrap: normal;
}

.fo-product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--fo-blue);
  border: 1px solid #c7e1ea;
  border-radius: 50%;
  background: #f8fcfd;
}

.fo-product-icon svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.fo-workflow-node--accent {
  color: #fff;
  border-color: transparent;
  background: var(--fo-blue-deep);
  box-shadow: 0 14px 30px rgba(0, 49, 95, .23);
}

.fo-workflow-node--accent strong {
  color: #fff;
}

.fo-workflow-node--accent .fo-product-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
}

.fo-workflow-visual--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(132px, 1fr));
  gap: 24px;
  min-height: 352px;
  padding: 28px;
}

.fo-workflow-visual--six::before {
  display: none;
}

.fo-workflow-visual--six .fo-workflow-node {
  min-height: 132px;
}

.fo-workflow-visual--six .fo-workflow-node:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.fo-workflow-visual--six .fo-workflow-node:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.fo-workflow-visual--six .fo-workflow-node:nth-child(6) {
  grid-column: 1;
  grid-row: 2;
}

.fo-workflow-visual--six .fo-workflow-node::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: rgba(0, 124, 138, .55);
  content: "";
}

.fo-workflow-visual--six .fo-workflow-node:nth-child(1)::after,
.fo-workflow-visual--six .fo-workflow-node:nth-child(2)::after {
  left: 100%;
}

.fo-workflow-visual--six .fo-workflow-node:nth-child(3)::after {
  top: 100%;
  left: 50%;
  width: 2px;
  height: 24px;
}

.fo-workflow-visual--six .fo-workflow-node:nth-child(4)::after,
.fo-workflow-visual--six .fo-workflow-node:nth-child(5)::after {
  right: 100%;
}

.fo-product-section {
  padding: 64px 0;
}

.fo-product-section--soft {
  background: var(--fo-blue-light);
}

.fo-product-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.fo-product-section-grid > div:first-child {
  position: relative;
  padding-left: 18px;
}

.fo-product-section-grid > div:first-child::before {
  position: absolute;
  top: .18em;
  bottom: .18em;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--fo-blue);
  content: "";
}

.fo-product-section h2 {
  max-width: 620px;
  margin: 0;
  color: var(--fo-ink);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
}

.fo-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fo-product-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 104px;
  padding: 16px;
  color: #345572;
  border: 1px solid var(--fo-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(0, 43, 92, .07);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
}

.fo-product-section--soft .fo-product-section-grid > div:first-child::before {
  background: var(--fo-orange);
}

.fo-product-list .fo-product-icon {
  width: 38px;
  height: 38px;
}

.fo-product-list .fo-product-icon svg {
  width: 20px;
  height: 20px;
}

.fo-product-copy {
  color: #345572;
  font-size: 1.08rem;
  line-height: 1.7;
}

.fo-product-copy p {
  margin: 0;
}

.fo-product-copy--wide {
  max-width: 830px;
}

.fo-product-models {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.fo-product-models span {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 14px;
  color: var(--fo-ink);
  border: 1px solid var(--fo-line);
  border-radius: 7px;
  background: #fff;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.3;
}

.fo-overview-section .container {
  position: relative;
}

.fo-overview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.fo-overview-heading h2 {
  max-width: none;
}

.fo-overview-list {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fo-overview-list::before {
  position: absolute;
  top: 48px;
  right: 13%;
  left: 13%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 124, 138, .35), transparent);
  content: "";
}

.fo-overview-list li {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 164px;
  gap: 15px;
  padding: 21px;
}

.fo-overview-list .fo-product-icon {
  width: 44px;
  height: 44px;
}

.fo-overview-list--workflow li {
  border-color: #c9e2ea;
  background: linear-gradient(180deg, #fff, #f7fcfd);
}

.fo-overview-section--models {
  padding-top: 46px;
  padding-bottom: 46px;
}

.fo-overview-section .fo-product-models {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.fo-overview-section .fo-product-models span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 12px 16px;
  overflow: hidden;
  box-shadow: 0 7px 16px rgba(0, 43, 92, .05);
  font-size: .88rem;
  font-weight: 750;
}

.fo-overview-section .fo-product-models span::before {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--fo-blue);
  content: "";
}

.fo-overview-section .fo-product-models--organizations span::before {
  background: var(--fo-orange);
}

.fo-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.fo-product-grid a {
  display: block;
}

.fo-product-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 20px;
  color: var(--fo-ink);
  border: 1px solid var(--fo-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(0, 43, 92, .07);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fo-product-grid a:hover article,
.fo-product-grid a:focus-visible article {
  border-color: rgba(0, 124, 138, .55);
  box-shadow: 0 14px 28px rgba(0, 43, 92, .12);
  transform: translateY(-3px);
}

.fo-product-grid h3 {
  margin: 0;
  color: var(--fo-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.fo-product-callout {
  padding: 0 0 64px;
  background: var(--fo-blue-light);
}

.fo-product-callout-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 36px 40px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: linear-gradient(110deg, #00315f, #007c8a);
  box-shadow: 0 20px 44px rgba(0, 49, 95, .21);
}

.fo-product-callout-inner::after {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .06), 0 0 0 68px rgba(255, 255, 255, .04);
  content: "";
}

.fo-product-callout h2 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  line-height: 1.14;
}

.fo-product-callout .btn {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.fo-product-page .products-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
}

@media (max-width: 1080px) {
  .fo-product-hero-grid,
  .fo-product-section-grid {
    grid-template-columns: 1fr;
  }

  .fo-product-page--patient .fo-product-hero-grid {
    grid-template-columns: 1fr;
  }

  .fo-workflow-visual {
    max-width: 760px;
  }

  .fo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fo-product-models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fo-overview-section .fo-product-models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .fo-product-hero,
  .fo-product-section {
    padding: 44px 0;
  }

  .fo-product-breadcrumbs {
    margin-bottom: 30px;
  }

  .fo-product-hero-grid {
    gap: 34px;
  }

  .fo-workflow-visual {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }

  .fo-workflow-visual::before {
    top: 8%;
    bottom: 8%;
    left: 50%;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }

  .fo-workflow-node,
  .fo-workflow-node:nth-child(even) {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: none;
    justify-items: start;
    min-height: 74px;
    transform: none;
    text-align: left;
  }

  .fo-workflow-node strong {
    align-self: center;
  }

  .fo-workflow-visual--six {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
    min-height: 0;
  }

  .fo-workflow-visual--six .fo-workflow-node:nth-child(4),
  .fo-workflow-visual--six .fo-workflow-node:nth-child(5),
  .fo-workflow-visual--six .fo-workflow-node:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .fo-workflow-visual--six .fo-workflow-node::after {
    display: none;
  }

  .fo-product-models,
  .fo-product-grid {
    grid-template-columns: 1fr;
  }

  .fo-overview-heading {
    margin-bottom: 24px;
  }

  .fo-overview-list,
  .fo-overview-section .fo-product-models {
    grid-template-columns: 1fr;
  }

  .fo-overview-section--models {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .fo-overview-list::before {
    top: 13%;
    bottom: 13%;
    left: 43px;
    width: 1px;
    height: auto;
  }

  .fo-overview-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    min-height: 0;
  }

  .fo-overview-list li span:last-child {
    align-self: center;
  }

  .fo-product-callout {
    padding-bottom: 48px;
  }

  .fo-product-callout-inner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .fo-product-callout .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fo-product-grid article {
    transition: none;
  }
}
