/* Umpteen design system. Add .up-theme to a page root to opt in. */
.up-theme {
  --up-navy: #0e223c;
  --up-navy-raised: #173553;
  --up-primary: #245c91;
  --up-primary-dark: #173e65;
  --up-sky: #b9e1ff;
  --up-on-dark: #dce9f7;
  --up-ink: #162b42;
  --up-muted: #455c72;
  --up-border: #d6e1ed;
  --up-soft: #f2f7fc;
  --up-surface: #fff;
  --up-radius: 1.25rem;
  --up-shadow: 0 18px 48px rgba(14, 34, 60, .08);
  --up-section-space: clamp(3rem, 7vw, 6rem);
  color: var(--up-ink);
  line-height: 1.65;
}

.up-theme .up-section { padding-block: var(--up-section-space); }
.up-theme .up-section-soft { background: var(--up-soft); }
.up-theme .up-intro { max-inline-size: 46rem; margin-inline: auto; }

.up-theme :is(.up-display, .up-heading, .up-panel-title) {
  color: inherit;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}
.up-theme .up-display { font-size: clamp(2.65rem, 6.2vw, 5.25rem); line-height: 1.03; }
.up-theme .up-heading { font-size: clamp(2rem, 4.2vw, 3.5rem); }
.up-theme .up-panel-title { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.up-theme .up-copy { color: var(--up-muted); }
.up-theme .up-lead { max-inline-size: 53ch; font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.65; }
.up-theme .up-eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-block-end: 1.15rem;
  color: var(--up-primary);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.up-theme .up-eyebrow::before { content: ''; flex: 0 0 1.5rem; height: 2px; background: currentColor; }

.up-theme .up-hero {
  padding-block: clamp(3.75rem, 9vw, 8rem);
  color: #fff;
  background-color: var(--up-navy);
  background-image: radial-gradient(ellipse at 90% 12%, rgba(59, 125, 181, .32), transparent 58%), linear-gradient(145deg, var(--up-navy), #102b47);
  border-bottom: 3px solid #3372a7;
  --up-cta-bg: var(--up-sky);
  --up-cta-ink: var(--up-navy);
  --up-cta-hover: #e0f2ff;
  --up-outline-bg: transparent;
  --up-outline-ink: #fff;
  --up-outline-border: #91b3d2;
  --up-outline-hover: var(--up-navy-raised);
  --up-focus: var(--up-sky);
}
.up-theme .up-hero .up-eyebrow { color: var(--up-sky); }
.up-theme .up-hero .up-lead { color: var(--up-on-dark); }

.up-theme .up-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-block-size: 3.25rem;
  padding: .75rem 1.25rem;
  border-radius: .7rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.up-theme .up-btn-primary {
  --bs-btn-color: var(--up-cta-ink, #fff);
  --bs-btn-bg: var(--up-cta-bg, var(--up-primary));
  --bs-btn-border-color: var(--bs-btn-bg);
  --bs-btn-hover-color: var(--bs-btn-color);
  --bs-btn-hover-bg: var(--up-cta-hover, var(--up-primary-dark));
  --bs-btn-hover-border-color: var(--bs-btn-hover-bg);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: var(--bs-btn-hover-bg);
  --bs-btn-active-border-color: var(--bs-btn-hover-border-color);
}
.up-theme .up-btn-outline {
  --bs-btn-color: var(--up-outline-ink, var(--up-primary-dark));
  --bs-btn-bg: var(--up-outline-bg, #fff);
  --bs-btn-border-color: var(--up-outline-border, #8da8c1);
  --bs-btn-hover-color: var(--bs-btn-color);
  --bs-btn-hover-bg: var(--up-outline-hover, #e5f1fc);
  --bs-btn-hover-border-color: var(--bs-btn-border-color);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: var(--bs-btn-hover-bg);
  --bs-btn-active-border-color: var(--bs-btn-hover-border-color);
}
.up-theme :is(.up-btn, .up-text-link):focus-visible {
  outline: 3px solid var(--up-focus, var(--up-primary));
  outline-offset: 4px;
  box-shadow: none;
}
.up-theme .up-text-link {
  color: var(--up-primary-dark);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.up-theme .up-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  background: var(--up-surface);
  box-shadow: var(--up-shadow);
}
.up-theme .up-hero .up-panel {
  color: #fff;
  background: var(--up-navy-raised);
  border-color: #4a6a8c;
  box-shadow: 0 22px 52px rgba(5, 17, 34, .23);
}
.up-theme .up-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .65rem;
  background: #e5f1fc;
  color: var(--up-primary-dark);
}
.up-theme .up-hero .up-icon { background: #244867; color: var(--up-sky); }
.up-theme .up-cta { background: var(--up-soft); border-inline-start: 4px solid var(--up-primary); box-shadow: none; }

/* Optional components. Use these classes inside .up-theme to adopt them on another page. */
.up-theme .up-subheading {
  color: inherit;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.up-theme .up-editorial-rule {
  border-inline-start: 3px solid #5b9ed5;
  padding-inline-start: clamp(1rem, 3vw, 2rem);
}
.up-theme .up-tile {
  height: 100%;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: var(--up-surface);
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
}
.up-theme .up-band-dark {
  color: #fff;
  background: var(--up-navy);
  --up-cta-bg: var(--up-sky);
  --up-cta-ink: var(--up-navy);
  --up-cta-hover: #e0f2ff;
  --up-focus: var(--up-sky);
}
.up-theme .up-band-dark .up-copy { color: var(--up-on-dark); }
.up-theme .up-band-dark .up-eyebrow { color: var(--up-sky); }
.up-theme .up-step {
  height: 100%;
  border-block-start: 2px solid #a1c5e3;
  padding-block-start: 1.1rem;
}
.up-theme .up-step-number {
  display: block;
  margin-block-end: .75rem;
  color: var(--up-primary);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.05em;
  line-height: 1;
}

/* Contact page only. */
#up-contact .up-display { max-inline-size: 16ch; }
#up-contact .up-expect { border-top: 3px solid #79b9eb; }
#up-contact .up-expect-list { color: var(--up-on-dark); }
#up-contact .up-expect-list li + li { margin-block-start: .65rem; }
#up-contact .up-expect-list li::marker { color: var(--up-sky); }
#up-contact #book-a-demo { scroll-margin-block-start: 6rem; }
#up-contact .calendly-wrap { max-inline-size: 70rem; margin-inline: auto; padding: .75rem; }
#up-contact .calendly-inline-widget { min-width: min(320px, 100%); height: 760px; }

@media (max-width: 767.98px) {
  #up-contact .calendly-inline-widget { height: 820px; }
}
@media (max-width: 575.98px) {
  #up-contact .calendly-wrap { padding: 0; border-inline: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .up-theme .up-btn { transition: none; }
}

/* Homepage only: illustration, layout details, and comparison. */
#umpteen-solutions section[id] { scroll-margin-block-start: 6rem; }
#umpteen-solutions .up-hero .up-display { font-size: clamp(2.4rem, 5.6vw, 5.25rem); max-inline-size: 18ch; }
#umpteen-solutions .up-home-hero-accent { display: block; color: var(--up-sky); }
#umpteen-solutions .up-home-hero-note { max-inline-size: 55ch; color: var(--up-on-dark); }
#umpteen-solutions .up-home-hero-panel { padding: clamp(1rem, 2.6vw, 2rem); }
#umpteen-solutions .up-home-network {
  position: relative;
  block-size: clamp(9rem, 20vw, 14rem);
  isolation: isolate;
  border: 1px solid #476989;
  border-radius: .95rem;
  background-color: #102b47;
  background-image: radial-gradient(circle, rgba(185, 225, 255, .28) 1px, transparent 1.3px);
  background-size: 1rem 1rem;
}
#umpteen-solutions .up-home-network svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
#umpteen-solutions .up-home-network svg path { fill: none; vector-effect: non-scaling-stroke; }
#umpteen-solutions .up-home-network-orbit { stroke: #507b9d; stroke-dasharray: 3 6; }
#umpteen-solutions .up-home-network-line { stroke: #78b4df; stroke-width: 2; }
#umpteen-solutions .up-home-node {
  position: absolute;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  inline-size: clamp(2.25rem, 5vw, 3.65rem);
  aspect-ratio: 1;
  border: 1px solid #699cc6;
  border-radius: .75rem;
  background: var(--up-navy-raised);
  color: var(--up-sky);
  font-size: clamp(.95rem, 2vw, 1.45rem);
  box-shadow: 0 5px 15px rgba(4, 17, 31, .24);
}
#umpteen-solutions .up-home-node-system { left: 16%; top: 50%; }
#umpteen-solutions .up-home-node-email { left: 50%; top: 27.5%; background: var(--up-sky); color: var(--up-navy); }
#umpteen-solutions .up-home-node-sms { left: 50%; top: 72.5%; background: var(--up-sky); color: var(--up-navy); }
#umpteen-solutions .up-home-node-people { left: 84%; top: 50%; }
#umpteen-solutions .up-home-pillar-list { margin-block-start: .4rem; }
#umpteen-solutions .up-home-pillar-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .6rem; padding-block: .9rem; }
#umpteen-solutions .up-home-pillar-list li + li { border-block-start: 1px solid #4a6a8c; }
#umpteen-solutions .up-home-pillar-list li:last-child { padding-block-end: 0; }
#umpteen-solutions .up-home-pillar-list strong { font-weight: 750; }
#umpteen-solutions .up-home-pillar-list p { margin: .15rem 0 0; color: var(--up-on-dark); font-size: .925rem; line-height: 1.5; }
#umpteen-solutions .up-home-index { color: var(--up-sky); font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; align-self: start; padding-block-start: .15rem; }

#umpteen-solutions .up-home-table-wrap {
  border: 1px solid var(--up-border);
  border-radius: var(--up-radius);
  box-shadow: var(--up-shadow);
}
#umpteen-solutions .up-home-table-wrap:focus-visible { outline: 3px solid var(--up-primary); outline-offset: 4px; }
#umpteen-solutions .up-home-table { min-inline-size: 41rem; --bs-table-border-color: var(--up-border); }
#umpteen-solutions .up-home-table :is(th, td) { padding: clamp(.85rem, 2vw, 1.35rem); vertical-align: middle; line-height: 1.5; }
#umpteen-solutions .up-home-table thead th { inline-size: 39%; --bs-table-bg: var(--up-navy); --bs-table-color: #fff; }
#umpteen-solutions .up-home-table thead th:first-child { inline-size: 22%; }
#umpteen-solutions .up-home-table tbody th { --bs-table-color: var(--up-ink); }
#umpteen-solutions .up-home-table tbody td { --bs-table-color: var(--up-muted); }
#umpteen-solutions .up-home-table tbody tr:nth-child(even) > * { --bs-table-bg: var(--up-soft); }
#umpteen-solutions .up-home-table tbody tr > .up-home-highlight { --bs-table-bg: #e9f4ff; --bs-table-color: var(--up-primary-dark); }
#umpteen-solutions .up-home-table tbody tr:nth-child(even) > .up-home-highlight { --bs-table-bg: #deefff; }
#umpteen-solutions .up-home-table thead .up-home-highlight { --bs-table-bg: var(--up-primary); }
#umpteen-solutions .up-home-table tbody tr:last-child > * { border-block-end: 0; }

#umpteen-solutions .up-home-feature { border-block-start: 1px solid #6283a3; padding-block-start: 1.15rem; }
#umpteen-solutions .up-home-feature-icon { display: inline-block; margin-block-end: .9rem; color: var(--up-sky); font-size: 1.35rem; }
#umpteen-solutions .up-home-industry { overflow: hidden; padding: 0; }
#umpteen-solutions .up-home-industry-art {
  display: grid;
  place-items: center;
  min-block-size: clamp(6rem, 10vw, 8.5rem);
  color: var(--up-art-ink);
  background-color: var(--up-art-bg);
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0 1.6rem, rgba(255, 255, 255, .18) 1.65rem 1.7rem);
  font-size: clamp(1.8rem, 3.3vw, 2.65rem);
}
#umpteen-solutions .up-home-industry-art i { display: grid; place-items: center; inline-size: 1.85em; aspect-ratio: 1; border-radius: .45em; background: var(--up-art-bg); }
#umpteen-solutions .up-home-art-software { --up-art-ink: #e7f5ff; --up-art-bg: #173e65; }
#umpteen-solutions .up-home-art-education { --up-art-ink: #153b59; --up-art-bg: #c8e5fb; }
#umpteen-solutions .up-home-art-commerce { --up-art-ink: #e3f8f4; --up-art-bg: #15544e; }
#umpteen-solutions .up-home-art-membership { --up-art-ink: #224763; --up-art-bg: #d9e7f3; }
#umpteen-solutions .up-home-industry-copy { padding: clamp(1rem, 1.8vw, 1.5rem); }
#umpteen-solutions .up-home-service-panel { border-block-start: 3px solid #5b9ed5; background: var(--up-soft); }
#umpteen-solutions .up-home-service-row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; }
#umpteen-solutions .up-home-service-row + .up-home-service-row { margin-block-start: 1.2rem; padding-block-start: 1.2rem; border-block-start: 1px solid var(--up-border); }
#umpteen-solutions .up-home-close {
  padding: clamp(2.5rem, 7vw, 5.25rem) clamp(1rem, 5vw, 3rem);
  border-radius: var(--up-radius);
  border-block-start: 3px solid #5b9ed5;
  background-image: radial-gradient(ellipse at 95% 0%, #24527c 0%, transparent 58%);
}
@media (max-width: 575.98px) {
  #umpteen-solutions .up-hero .up-btn { inline-size: 100%; }
}
