/*---------------------------
 Unified Edge Analytics
 Components added for the analytics site. Loaded after master.css and built
 from its colors (#0050d8, #53d267, #152c5b, #f2f3fa, #eff2f7), radii and shadows.
------------------------------*/

/* Base contrast (WCAG AA on white and gray backgrounds)
----------------------------------*/
body {
  color: #5a6578;
}

.text-muted {
  color: #5a6578 !important;
}

.m-btn.m-btn-theme2nd,
.m-btn.m-btn-theme2nd.active,
.m-btn.m-btn-theme2nd:focus,
.m-btn.m-btn-theme2nd:hover {
  color: #152c5b;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #0050d8;
  outline-offset: 2px;
}

.footer a:focus-visible {
  outline-color: #53d267;
}

.skip-link.sr-only-focusable:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  background: #ffffff;
  color: #0050d8;
  font-weight: 700;
  border-radius: .375rem;
  box-shadow: 0 0.5rem 1rem rgba(22, 28, 45, 0.15);
}

/* Header and navigation
----------------------------------*/
.navbar-brand img {
  height: auto;
}

.navbar-main .dropdown-item {
  color: #384c74;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
}
.navbar-main .dropdown-item:hover,
.navbar-main .dropdown-item:focus,
.navbar-main .dropdown-item.active {
  color: #0050d8;
  background: rgba(0, 80, 216, 0.08);
}

@media (min-width: 992px) {
  .navbar-main .navbar-nav > .nav-item > .nav-link {
    padding-left: 12px;
    padding-right: 12px;
  }
  .navbar-main .dropdown-menu {
    min-width: 230px;
    margin-top: 0;
    padding: 10px 0;
    border: 0;
    border-top: 3px solid #0050d8;
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 26px 21px 0 rgba(0, 0, 0, 0.1);
  }
  .navbar-main .nav-cta {
    margin-left: 12px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-main .navbar-nav > .nav-item > .nav-link {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 15px;
  }
  .navbar-brand img {
    max-height: 70px;
  }
}

/* The theme's sticky logo size (80px) outranks its phone sizes, so the
   logo grew on scroll on small screens. Keep the phone sizes when sticky. */
@media (max-width: 991px) {
  .fixed-header .navbar-brand img {
    max-height: 65px;
  }
}
@media (max-width: 767px) {
  .fixed-header .navbar-brand img {
    max-height: 55px;
  }
}

@media (max-width: 991px) {
  .navbar-main .navbar-nav > li > a.active {
    color: #0050d8;
  }
  .navbar-main .dropdown-menu {
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #e6e6e6;
    border-radius: 0;
    box-shadow: none;
    background: #f5f6fa;
  }
  .navbar-main .dropdown-item {
    padding: 0 30px;
    line-height: 40px;
    font-size: 13px;
    text-transform: uppercase;
  }
}

/* Page hero
----------------------------------*/
.page-hero {
  position: relative;
  padding-top: 165px;
  padding-bottom: 80px;
}
@media (max-width: 991px) {
  .page-hero {
    padding-top: 130px;
    padding-bottom: 60px;
  }
}
@media (max-width: 767px) {
  .page-hero {
    padding-top: 110px;
    padding-bottom: 45px;
  }
  .page-hero .display-4 {
    font-size: 2.1rem;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  font-size: .8rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0050d8;
  background: rgba(0, 80, 216, 0.1);
  border-radius: 5px;
}

.page-hero .lead {
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.hero-actions .m-btn {
  margin: 5px 24px 5px 0;
}

.text-link {
  font-weight: 700;
  color: #0050d8;
}
.text-link:after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.text-link:hover:after {
  transform: translateX(3px);
}

.hero-micro {
  margin: 14px 0 0;
  font-size: .9rem;
}

.small-print {
  font-size: .85rem;
  line-height: 1.5;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}
@media (max-width: 767px) {
  .section-intro {
    margin-bottom: 25px;
  }
}

/* Stat strip
----------------------------------*/
.stat-card {
  height: 100%;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid #eff2f7;
  border-radius: 15px;
  box-shadow: 0 0.5rem 1rem rgba(22, 28, 45, 0.05);
}
.stat-num {
  margin-bottom: 8px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0050d8;
}
.stat-label {
  margin-bottom: 12px;
  font-weight: 600;
  color: #152c5b;
}
.stat-source {
  margin: 0;
  font-size: .8rem;
  line-height: 1.4;
}

/* Tiles (card grid with a link)
----------------------------------*/
.tile {
  height: 100%;
}
.tile .media-body p {
  margin: 0;
}
.tile .tile-link {
  display: inline-block;
  margin-top: 8px;
  font-size: .9rem;
}

/* Question block
----------------------------------*/
.question-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.question-list li {
  position: relative;
  margin-bottom: 10px;
  padding: 15px 18px 15px 54px;
  font-weight: 600;
  color: #152c5b;
  background: #ffffff;
  border: 1px solid #eff2f7;
  border-radius: 10px;
}
.question-list li:before {
  content: "\f0c8";
  position: absolute;
  left: 20px;
  top: 14px;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-size: 1.1rem;
  color: #0050d8;
}
.question-close {
  margin: 22px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #152c5b;
}

/* Checklist (fit checks, inclusions)
----------------------------------*/
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}
.check-list li:before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #28a745;
}

/* Before and after example card
----------------------------------*/
.example-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eff2f7;
  border-radius: 15px;
  box-shadow: 0 0.5rem 1.5rem rgba(22, 28, 45, 0.06);
}
.example-side {
  height: 100%;
  padding: 30px;
}
.example-raw {
  background: #f2f3fa;
}
.example-label {
  margin-bottom: 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.example-raw blockquote {
  margin: 0;
  padding-left: 16px;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: #152c5b;
  border-left: 3px solid #0050d8;
}
.example-fields {
  margin: 0;
}
.example-fields > div {
  display: flex;
  padding: 9px 0;
  border-bottom: 1px solid #eff2f7;
}
.example-fields > div:last-child {
  border-bottom: 0;
}
.example-fields dt {
  flex: 0 0 38%;
  padding-right: 12px;
  font-weight: 700;
  color: #152c5b;
}
.example-fields dd {
  flex: 1;
  margin: 0;
}
.example-caption {
  margin: 14px 0 0;
  font-size: .9rem;
  text-align: center;
}
@media (max-width: 575px) {
  .example-side {
    padding: 22px;
  }
  .example-fields > div {
    display: block;
  }
}

/* Comments, report and handoffs example (home page)
   Three columns that start on one line, each a different real object:
   loose comment scraps, a cropped report page and a small inbox.
----------------------------------*/
.io-example {
  margin: 50px 0 0;
  padding: 30px;
  background: #f2f3fa;
  border-radius: 15px;
}
.io-intro {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3e7ef;
}
.io-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr;
  gap: 18px;
  align-items: start;
}
.io-title {
  margin: 0 0 14px;
  letter-spacing: 0;
}
.io-arrow {
  margin-top: 150px;
  font-size: 22px;
  color: #0050d8;
}
.io-notes,
.io-bars,
.io-routes {
  margin: 0;
  padding: 0;
  list-style: none;
}
.io-notes li {
  margin-bottom: 10px;
  padding: 8px 12px;
  font-size: .95rem;
  line-height: 1.45;
  color: #152c5b;
  background: #ffffff;
  border: 1px dashed #c9d1e1;
  border-radius: 10px;
}
.io-notes li:last-child {
  margin-bottom: 0;
}
.io-notes li:nth-child(1) {
  transform: rotate(-.8deg);
}
.io-notes li:nth-child(2) {
  margin-left: 14px;
  transform: rotate(.6deg);
}
.io-notes li:nth-child(3) {
  transform: rotate(-.3deg);
}
.io-notes li:nth-child(4) {
  margin-left: 8px;
  transform: rotate(.9deg);
}
.io-notes li:nth-child(5) {
  width: 90%;
  margin-left: 22px;
  transform: rotate(-1.2deg);
}
.io-meta {
  display: block;
  margin-bottom: 1px;
  font-size: .78rem;
  font-weight: 600;
  color: #5a6578;
}
.io-stars {
  margin-right: 4px;
  letter-spacing: 1px;
  color: #ffbe3d;
}
.io-star-off {
  color: #d5dbe6;
}
.io-sheet,
.io-routes {
  background: #ffffff;
  border: 1px solid #e3e7ef;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(22, 28, 45, 0.05), 0 6px 16px rgba(22, 28, 45, 0.05);
}
.io-sheet {
  padding: 26px 22px;
}
.io-chart-title {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: #152c5b;
}
.io-chart-sub {
  margin: 0 0 22px;
  font-size: .8rem;
}
.io-bars li {
  display: grid;
  grid-template-columns: 11em 1fr;
  column-gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  font-size: .85rem;
  color: #152c5b;
}
.io-bars li:last-child {
  margin-bottom: 0;
}
.io-bar-label {
  font-weight: 600;
  line-height: 1.3;
}
.io-bar {
  display: flex;
  align-items: center;
}
.io-bar-fill {
  height: 14px;
  margin-right: 7px;
  background: #a9c1ee;
  border-radius: 2px;
}
.io-bar-value {
  font-size: .8rem;
  font-weight: 700;
}
.io-flag .io-bar-fill {
  background: #0050d8;
}
.io-finding {
  margin: 24px 0 0;
  padding-top: 18px;
  font-size: .85rem;
  font-weight: 700;
  color: #0050d8;
  border-top: 1px solid #eff2f7;
}
.io-routes {
  overflow: hidden;
}
.io-routes li {
  padding: 13px 16px;
  line-height: 1.45;
  color: #152c5b;
  border-top: 1px solid #eff2f7;
}
.io-routes li:first-child {
  border-top: 0;
}
.io-team {
  display: block;
  margin-bottom: 2px;
  font-size: .85rem;
  font-weight: 800;
}
.io-done .io-team {
  color: #1d6f30;
}
@media (max-width: 1199px) {
  .io-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .io-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }
}
@media (max-width: 575px) {
  .io-example {
    padding: 15px;
  }
}

/* Feedback loop (home page)
   Five steps on a ring on wider screens, a plain list on phones.
----------------------------------*/
.loop {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.loop-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.loop-ring circle {
  fill: none;
  stroke: rgba(0, 80, 216, 0.35);
  stroke-width: .6;
}
.loop-ring path {
  fill: #0050d8;
}
.loop-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: loop;
}
.loop-steps li {
  position: absolute;
  width: 28%;
  padding: 12px 10px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #152c5b;
  background: #ffffff;
  border: 1px solid #eff2f7;
  border-radius: 15px;
  box-shadow: 0 0.5rem 1.5rem rgba(22, 28, 45, 0.06);
  transform: translate(-50%, -50%);
}
.loop-sub {
  display: block;
  margin-top: 3px;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
  color: #5a6578;
}
.loop-steps .icon-30 {
  display: block;
  margin: 0 auto 6px;
  font-size: 13px;
}
.loop-steps li:nth-child(1) {
  left: 50.0%;
  top: 14.0%;
}
.loop-steps li:nth-child(2) {
  left: 84.2%;
  top: 38.9%;
}
.loop-steps li:nth-child(3) {
  left: 71.2%;
  top: 79.1%;
}
.loop-steps li:nth-child(4) {
  left: 28.8%;
  top: 79.1%;
}
.loop-steps li:nth-child(5) {
  left: 15.8%;
  top: 38.9%;
}
.loop-center {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  font-weight: 700;
  text-align: center;
  color: #0050d8;
  transform: translate(-50%, -50%);
}
.loop-center i {
  display: block;
  margin-bottom: 6px;
  font-size: 1.6rem;
}
@media (max-width: 575px) {
  .loop {
    aspect-ratio: auto;
  }
  .loop-ring {
    display: none;
  }
  .loop-steps li {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto;
    transform: none;
  }
  .loop-steps li + li {
    margin-top: 34px;
  }
  .loop-steps li + li:before {
    content: "\f063";
    position: absolute;
    top: -27px;
    left: 50%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #0050d8;
    transform: translateX(-50%);
  }
  .loop-center {
    position: static;
    margin-top: 18px;
    transform: none;
  }
  .loop-center i {
    display: inline-block;
    margin: 0 8px 0 0;
    font-size: 1rem;
  }
}

/* Impact and comparison tables
----------------------------------*/
.table-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eff2f7;
  border-radius: 10px;
  box-shadow: 0 0.5rem 1rem rgba(22, 28, 45, 0.05);
}
.table-card .table-responsive {
  position: relative;
  margin: 0;
}
.impact-table {
  min-width: 600px;
  margin: 0;
  color: #384c74;
}
.impact-table th,
.impact-table td {
  padding: 14px 16px;
  vertical-align: middle;
}
.impact-table thead th {
  border-bottom: 0;
  font-weight: 700;
}
.impact-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.impact-table tbody .num,
.impact-table tbody th {
  white-space: nowrap;
}
.impact-table tbody tr:nth-child(even) {
  background: #fafbfe;
}
.impact-table .total-row td {
  font-weight: 800;
  color: #152c5b;
  background: rgba(0, 80, 216, 0.06);
}
.impact-table .group-row td {
  font-weight: 700;
  color: #152c5b;
  background: rgba(0, 80, 216, 0.1);
}
.impact-table .fa-check {
  color: #1e7e34;
}
.impact-table .fa-times {
  color: #c82333;
}
.table-note {
  margin: 12px 0 0;
  font-size: .85rem;
}

/* Feature blocks (text plus a visual slot)
----------------------------------*/
.feature-block + .feature-block {
  margin-top: 70px;
}
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: rgba(0, 80, 216, 0.06);
  border-radius: 15px;
}
.feature-visual i {
  font-size: 4.5rem;
  color: #0050d8;
}
.feature-source {
  margin: 12px 0 0;
  font-size: .85rem;
}
@media (max-width: 991px) {
  .feature-block + .feature-block {
    margin-top: 45px;
  }
  .feature-visual {
    min-height: 150px;
    margin-bottom: 20px;
  }
  .feature-visual i {
    font-size: 3.2rem;
  }
}

/* Numbered steps: six step variant
----------------------------------*/
.step-card {
  height: 100%;
}

/* Quality cost calculator
----------------------------------*/
.calc-card {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #eff2f7;
  border-radius: 15px;
  box-shadow: 0 0.5rem 1.5rem rgba(22, 28, 45, 0.06);
}
.calc-card .form-group {
  margin-bottom: 18px;
}
.calc-card label {
  font-weight: 700;
  color: #152c5b;
}
.calc-help {
  display: block;
  margin-top: 5px;
  font-size: .8rem;
  line-height: 1.4;
}
.calc-mode {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.calc-mode .m-btn {
  margin: 0 8px 8px 0;
}
.calc-mode .m-btn[aria-pressed="false"] {
  border: 1px solid #0050d8;
  background: transparent;
  color: #0050d8;
}
.calc-results {
  height: 100%;
  padding: 30px;
  color: #ffffff;
  background: #152c5b;
  border-radius: 15px;
}
.calc-results h2 {
  color: #ffffff;
}
.calc-results dl {
  margin: 0;
}
.calc-results dt {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.calc-results dd {
  margin: 2px 0 18px;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}
.calc-results dd small {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.calc-results .calc-note {
  margin: 0 0 20px;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.82);
}
.calc-results .is-hidden,
.calc-card .is-hidden {
  display: none;
}

/* Sample report preview
----------------------------------*/
.report-thumb {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  aspect-ratio: 8.5 / 11;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1rem 2rem rgba(22, 28, 45, 0.08);
}
.rt-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 3px 8px;
  font-size: .68rem;
  font-weight: 700;
  color: #0050d8;
  background: rgba(0, 80, 216, 0.1);
  border-radius: 20px;
}
.rt-title {
  margin-bottom: 4px;
  font-size: .95rem;
  font-weight: 800;
  color: #152c5b;
}
.rt-sub {
  margin-bottom: 16px;
  font-size: .72rem;
}
.rt-bar {
  display: flex;
  align-items: center;
  margin: 7px 0;
  font-size: .68rem;
  color: #384c74;
}
.rt-bar span {
  display: block;
  height: 12px;
  margin-right: 8px;
  background: #0050d8;
  border-radius: 2px;
}
.rt-line {
  height: 8px;
  margin: 8px 0;
  background: #e2e8f0;
  border-radius: 2px;
}
.rt-line.short {
  width: 60%;
}
.rt-total {
  margin-top: auto;
  padding-top: 10px;
  font-size: .8rem;
  font-weight: 800;
  color: #152c5b;
  border-top: 2px solid #152c5b;
}
.rt-action {
  display: flex;
  margin: 6px 0;
  font-size: .7rem;
  color: #384c74;
}
.rt-action b {
  flex: 0 0 18px;
  color: #0050d8;
}
.report-caption {
  margin: 14px 0 0;
  font-weight: 700;
  color: #152c5b;
  text-align: center;
}

/* Pricing
----------------------------------*/
.plan-card {
  position: relative;
  height: 100%;
}
.plan-featured {
  border: 2px solid #53d267 !important;
}
.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  color: #152c5b;
  background: #53d267;
  border-radius: 30px;
}
.plan-price {
  margin-bottom: 4px;
}
.plan-unit {
  margin: 0;
  font-weight: 600;
  color: #152c5b;
}

/* Closing CTA band
----------------------------------*/
.cta-band {
  color: #ffffff;
  background: #0050d8;
}
.cta-band h2,
.cta-band .lead {
  color: #ffffff;
}
.cta-band .m-btn {
  border: 1px solid #ffffff;
}
.cta-band a:focus-visible {
  outline-color: #ffffff;
}

/* Contact form
----------------------------------*/
.form-control-label {
  font-weight: 600;
  color: #152c5b;
}
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
}
.checkbox-grid .custom-control {
  flex: 0 0 50%;
  margin-bottom: 8px;
}
@media (max-width: 575px) {
  .checkbox-grid .custom-control {
    flex-basis: 100%;
  }
}
.field-error {
  display: none;
  margin-top: .25rem;
  font-size: 80%;
  color: #c82333;
}
.was-validated .field-error.is-shown,
.field-error.is-shown {
  display: block;
}

/* Footer
----------------------------------*/
.footer .footer-title {
  font-size: 1rem;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-tagline {
  font-style: italic;
}

.page-hero > .container {
  position: relative;
}

.table-hint {
  margin: 0 0 8px;
  font-size: .8rem;
}
@media (min-width: 768px) {
  .table-hint {
    display: none;
  }
}

.example-fields.stacked > div {
  display: block;
  padding: 8px 0;
}
.example-fields.stacked dt {
  margin-bottom: 2px;
  font-size: .8rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.privacy-copy h2 {
  margin: 30px 0 10px;
}
.privacy-copy h2:first-child {
  margin-top: 0;
}

/* Links inside running text need more than color to stand out */
main p a:not(.m-btn):not(.text-link),
main li a:not(.m-btn),
main dd a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
